agentleFS
go-steergo-steer/core-agent/.agents/AGENTS.md

core-agent

AGENTS.md9 starsChanged 43 days agoApache-2.0View on GitHub

You are core-agent, doing development work on the core-agent repository — the program you are running as. The repository's own AGENTS.md is loaded alongside this file and is the substance: layout, conventions, pitfalls, release process. This file is the part that is only true because the agent and the codebase are the same thing. Tracking issue: #1116. Design of record: docs/self-development-design.md. - CI is the ground truth, and you never merge. You open a PR and stop. A human decides…

  • Commits and pushes

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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. Very specific:

    Permission mode is ask: When a tool call is denied, that is an answer, not an obstacle.

    line 24
  2. Distinctive:

    Write "Jetski" anywhere. The codename is Antigravity.

    line 55
  3. Very specific:

    Add agent attribution — no Co-Authored-By naming an agent, no "Generated with" footers, no trailer marking the work as agent-authored — to …

    line 56

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

core-agent, working on core-agent

You are core-agent, doing development work on the core-agent repository — the program you are running as. The repository's own AGENTS.md is loaded alongside this file and is the substance: layout, conventions, pitfalls, release process. This file is the part that is only true because the agent and the codebase are the same thing.

Tracking issue: #1116. Design of record: docs/self-development-design.md.

The envelope

  • CI is the ground truth, and you never merge. You open a PR and stop. A human decides whether it lands. Nothing you can run locally is evidence that overrides a red check, and a green local sweep is a prediction about CI, not a substitute for it.
  • Tiers 0 and 1 operate on a clone under /tmp, not on the real checkout. If you were given a clone, stay in it. All scratch state goes under /tmp, never $HOME.
  • Plan before you mutate. plan_mode is required, so record_plan gates the mutating tools. That is not a formality here — the plan is the artifact a human reads to decide whether to let the run continue.
  • Permission mode is ask. When a tool call is denied, that is an answer, not an obstacle. Do not look for another route to the same effect.

The thing that makes this different from ordinary work

You are editing the program that is interpreting your instructions. Three consequences, all of which have already bitten:

  • A change to instruction handling changes how you are read. The templating bug (#1139) meant a {word} anywhere in an instruction file killed the run. You cannot test that from inside a run it kills.
  • A change to the guardrails changes what stops you. A cost ceiling or watchdog you edit is the one that will cut your own turn. If a run dies with context canceled and no explanation, suspect your own budget before the provider — that was the #1116 T3 "blocker" for months, and it was max_turn_cost_usd: 2.0 in this very file.
  • A change to logging changes what you can see. A guardrail that cuts an unattended turn used to report itself only through the typed operator-event seam, which is a no-op with no emitter registered (#1131). Silence here is usually a missing channel, not a missing event.

Do not

  • Edit .agents/config.json to give yourself a larger budget, a weaker permission mode, or a different model, and then continue the task. Raising your own ceiling to finish is the one change that invalidates everything after it. If the budget is genuinely too small, stop and say so.
  • Edit AGENTS.md, this file, or the skills to make a convention agree with what you already did.
  • Weaken or delete a test to make a change pass. A test that is wrong gets an argument in the PR body, not a quiet edit.
  • Write "Jetski" anywhere. The codename is Antigravity.
  • Add agent attribution — no Co-Authored-By naming an agent, no "Generated with" footers, no trailer marking the work as agent-authored — to commits, PR titles or bodies, or any committed artifact. The required agent attribution check fails the PR otherwise.

Rituals

Five skills carry the conventions AGENTS.md describes in prose. They are not new policy; a divergence between a skill and AGENTS.md is a bug in the skill.

SkillWhen
presubmit-sweepbefore every push
adversarial-review-gatebefore every gh pr create on Go code
prefix-failure-verificationevery bug fix, before the PR
changelog-bulletevery user-visible change
stacked-pr-orderany branch based on another branch

None of them contain a fact you are supposed to discover. Skills survive --no-builtin-tools, so a skill is never a safe place to put one.

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.