Repository navigation
Source AGENTS md
The open format behind this repo's root AGENTS.md, from
agents.md. Read 2026-10-04 from the site's source in
agentsmd/agents.md (README.md and
components/*.tsx). The page renders client-side, so an HTML fetch returns only
the example file.
-
"A README for agents."
README.mdis for humans: quick starts, descriptions and contribution guidelines.AGENTS.mdholds "the extra, sometimes detailed context coding agents need: build steps, tests, and conventions that might clutter a README". - Plain Markdown, no required fields. Its suggested sections are a project overview, build and test commands, code style, testing instructions and security considerations. It also lists commit and PR guidelines, "security gotchas" and deployment steps: "anything you'd tell a new teammate".
- Commands get run. If the file lists test commands, the agent "will attempt to execute relevant programmatic checks and fix failures before finishing".
-
Nested files for monorepos. Each package may have its own
AGENTS.md, and "the closest one takes precedence". - Precedence. "The closest AGENTS.md to the edited file wins; explicit user chat prompts override everything."
- Living documentation. Update it as the project changes.
| The format | Here |
|---|---|
| Build and test commands belong in it | Yes. AGENTS.md § Setup and core commands, and pnpm run validate as the completion gate |
| Conventions, PR and commit rules, security gotchas | Yes, stated as rules |
| The story behind each rule |
Not in AGENTS.md. Incidents live on the owning wiki page with a Gotchas row, per Wiki-Conventions. This is our own rule, not the format's |
| Nested per-package files | Not adopted. There is one root AGENTS.md
|
| Living documentation |
AGENTS.md § Keep this file current
|
So build information in AGENTS.md is intended. The test for a paragraph is
whether it states a rule or tells a story. A rule belongs there; a story belongs
here, linked.
Copilot CLI 1.0.91's /help lists the instruction files it reads. AGENTS.md
is read only "in git root & cwd", and the same goes for
.github/copilot-instructions.md and .github/instructions/**/*.instructions.md.
It does not walk up from the file being edited.
As a result, a nested packages/infra/AGENTS.md would load only in a session
started inside packages/infra, not in one started at the repo root. Other
agents may behave differently.
The format's precedence rule also sits beside, not above, this project's own: Source-Constitution is supreme, and a user may decline a methodology only explicitly and with a recorded reason. A chat instruction can direct the work. It does not amend the constitution.
Should package-specific rules move out of the root file? Candidates include the
infra budgetAlertEmail context and the MCP-config parity rule. Given the
behavior above, nested AGENTS.md files would be the wrong tool for Copilot
sessions started at the root. Path-scoped .github/instructions/*.instructions.md
files are the Copilot-native alternative, but their scoping is unverified
here. Nothing is decided yet.
See also: Source-LLM-Wiki-Pattern, Wiki-Conventions, Log.
- Concept-Cloud-Only-Inference
- Concept-Budget-Ceiling
- Concept-Personality-Gate
- Concept-IP-And-Legal-Posture
- Concept-Supply-Chain-Discipline
- Concept-Graceful-Degradation
- Concept-Observability
- Concept-Testing-And-TDD
- Concept-Credential-Hygiene
Editing in the browser? Wiki edits are live and bypass wiki:lint. Read
Guide-Wiki-Contributing first.