agentleFS
midagedevmidagedev/gadak/AGENTS.md

gadak

AGENTS.md43 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 checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 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.

  • In this repository2 other files it gives its agents.

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
  1. Distinctive:

    No network call on a keystroke path.

    line 36
  2. Very specific:

    Run make hooks once per clone.

    line 44
  3. Distinctive:

    Add a test with any non-trivial logic — parsing, derived fields, sync cursors, or anything touching the schema.

    line 59
  4. Very specific:

    Stop it first (pkill -f 'e2e/.tmp/gadak') or run npm run build by hand.

    line 70

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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

  1. 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.
  2. .specify/memory/constitution.md
  3. specs/000-product/spec.md
  4. specs/000-product/tasks.md — the honest state of every piece
  5. specs/000-product/data-model.md — the schema, and how much of it is promised
  6. specs/000-product/contracts/ — HTTP, sync, and agent contracts
  7. docs/ARCHITECTURE.md and docs/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 ignores Accept-Language.
  • internal/store must not import Jira-shaped code; internal/jira must 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 in CHANGELOG.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 build

Add 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 step

Download now (ZIP)

Does 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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.