gadak
AGENTS.md47 starsChanged 3 months agoApache-2.0View on GitHub
Two audiences. Pick your half: - Using the mirror — you want answers about issues, or you want to comment, transition, or assign one. Most agents stop here. - Developing gadak — you are changing this repository. The wiki is agent memory too: pages share the mirror's one search index, and gadak page create leaves one a later gadak search finds — the loop lives in skills/gadak/SKILL.md. 0. docs/project/STATE_OF_PLAY.md — what actually exists right now, the next task, and the…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,266 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
No network call on a keystroke path.
- Very specific: line 44
Run make hooks once per clone.
- Distinctive: line 59
Add a test with any non-trivial logic — parsing, derived fields, sync cursors, or anything touching the schema.
- Very specific: line 70
Stop it first (pkill -f 'e2e/.tmp/gadak') or run npm run build by hand.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Two audiences. Pick your half:
- Using the mirror — you want answers about issues, or you want to comment, transition, or assign one. Most agents stop here.
- Developing gadak — you are changing this repository.
The wiki is agent memory too: pages share the mirror's one search index, and
gadak page create leaves one a later gadak search finds — the loop lives in
skills/gadak/SKILL.md.
Developing gadak
Required reading order
docs/project/STATE_OF_PLAY.md— what actually exists right now, the next task, and the Jira behaviors that already cost debugging time. Start here..specify/memory/constitution.mdspecs/000-product/spec.mdspecs/000-product/tasks.md— the honest state of every piecespecs/000-product/data-model.md— the schema, and how much of it is promisedspecs/000-product/contracts/— HTTP, sync, and agent contractsdocs/ARCHITECTURE.mdanddocs/project/EXTRACTION.md
Development rules
- The mirror is disposable and Jira is the record. Never add state that only lives in gadak, except local personal data, which must stay exportable.
- Nothing installation-specific goes in code or in a built artifact. No site URL, project key, custom field id, status name, team label, or person.
- Logic keys on ids and
statusCategory, never on localized display names. Jira translates type and status names per account and ignoresAccept-Language. internal/storemust not import Jira-shaped code;internal/jiramust not write SQL.- No network call on a keystroke path. Filtering stays in memory.
- Schema changes are contract changes: update
data-model.md, add a migration, note it inCHANGELOG.md, and keep the documented example queries working. - Credentials never reach SQLite, a log, or a snapshot.
- Derived fields are recomputed from the changelog, never carried forward.
Before sending changes
Run make hooks once per clone. It points core.hooksPath at the repo's
.githooks/, whose pre-push runs tools/doc-checks.sh at the sha you are
pushing whenever the outgoing commits add a GDK-nnn citation. That check is
in CI, and it went red four times from a step somebody was supposed to
remember; the last two of those had a hook installed and passing, because the
hook was reading the working tree while CI read the commit (GDK-1952). The
hook is versioned now, and it checks out the commit.
go build ./... && go vet ./... && gofmt -l .
go test ./...
npm run typecheck
npm run buildAdd a test with any non-trivial logic — parsing, derived fields, sync cursors, or anything touching the schema.
The E2E fixture server (e2e/serve.sh) serves the built UI from dist/app,
not your source tree. After editing anything under web/, rebuild before you
run the suite or screenshot it — otherwise you are testing the last build and
will draw conclusions from a screen the code no longer produces.
npx playwright test only rebuilds when it has to start the server itself. The
config sets reuseExistingServer, so a server left running from an earlier run
is reused as-is, serve.sh never re-runs, and your edits are simply absent.
Stop it first (pkill -f 'e2e/.tmp/gadak') or run npm run build by hand.
Handoff format
Summary
- What changed
Files changed
- path
Verification
- command or evidence
Open risks
- risk and next stepDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

