Skip to content

AGENTS.md in two tiers: the invariants up front, the detail moved verbatim to docs/agents (#2374) - #3465

Merged
ehartford merged 2 commits into
mainfrom
agents-two-tiers
Nov 19, 2026
Merged

ehartford merged 2 commits into
mainfrom
agents-two-tiers

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Closes #2374. Docs only. For Eric to read and merge: the tier-one words are his.

Tier one (AGENTS.md and CLAUDE.md, 197 lines, was 1,177): the mission, a table saying which annex file to read for which situation, D172's principle as the test to apply before bringing a brief, and the invariants.

Annex (docs/agents/, seven files): every other section of the old file, moved verbatim by heading from current main. The tool that moved them refuses a section with no home; nothing was reworded or dropped.

File Sections
debugging.md Core Principles, Stage Debugging, AST Node Layouts
language-rulings.md Language Design Philosophy, Ceremony is a design defect
conduct.md No Silent Fallbacks, "Done", Verify by Running, Anti-Patterns, Common Mistakes, Success Checklist
runtime-and-toolchain.md Runtime Architecture, Whose action is it?, Self-Contained Toolchain
build-seed-release.md Other hosts, Build System, Seed Compiler, Releases, Bootstrap Rules
spec-and-decisions.md The Specification Leads, Filing Bugs, Decision Log
workflow.md Editing Protocol

The check you asked for. A fresh plan-only session, in a clean clone with tier one and no annex and no saved notes, planned a routine bug fix. It broke no invariant and listed twelve places where it had to guess. Tier one gained from that: a short "commands every task uses" section (where worktrees go, which of the three compilers when, how tests are run, how results are read), "a green battery is the authority to push, open the PR and merge", and "a bug you find is fixed, not filed".

Two sentences that restate your rules and are worth your eye:

  • the D98 paragraph: "That is the one case in which an agent lands normative words; Eric vetoes by revert."
  • "Other hosts are for platform-specific issues only. No routine build runs on eric-5090 or the Windows VM; leave nothing running there." (The old file said to build and test there as here.)

spec-inventory-check green.

Eric Hartford added 2 commits November 19, 2026 07:10
… the build rules; a posted green battery merges and does not replace a ruling
@ehartford
ehartford merged commit a775533 into main Nov 19, 2026
@ehartford
ehartford deleted the agents-two-tiers branch November 19, 2026 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AGENTS.md: tier the rules — core invariants up front, incident-derived rules in a referenced annex

1 participant