You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AGENTS.md: tier the rules — core invariants up front, incident-derived rules in a referenced annex #2374
AGENTS.md is 1,035 lines in which load-bearing invariants (D65 one owner per fact, spec leads implementation, no silent fallbacks, root-cause discipline) sit interleaved with rules that each encode one historical incident (a specific date, a specific bug). Each incident rule is defensible, but in aggregate they dilute the invariants an agent must never trade away, and a reader cannot tell which rules are constitution and which are case law. #2368 already cut the file to three quarters of the words; this proposes structure, not more cutting:
Tier 1 (front, short): the invariants that settle new questions — mission tests, D65, spec-leads, no silent fallbacks, root cause with tool evidence, bootstrap/battery discipline, safety bars (D51 inference test, D22/D44 projections).
Tier 2 (annex, same file after a clear boundary or a linked docs file): incident-derived specifics — exact flags, dated traps, per-area check lists — each keeping its date/issue provenance, which is what makes them trustworthy.
Nothing is dropped; the change is ordering and labeling so an agent (or human) can weight a conflict: tier 1 wins, tier 2 explains how tier 1 was applied once. This is Eric's editorial call — the words are his — so this issue proposes the split rather than performing it inside an unrelated stack. Raised from the d119-step3 session retrospective (2026-10-12), where the invariants were what I actually reasoned from and the incident rules were looked up on demand.
Triage 2026-10-25, with v0.15.3.0 (main a261b65): unchanged, and the next step is Eric's editorial call, as the issue itself says ("the words are his"). AGENTS.md is 1,100 lines today, with invariants and incident rules still interleaved.
The question: which rules are tier 1 (the invariants that win a conflict) and which move to an annex as case law?
Ruled, 2026-11-18: draft it. Put D172's principle in tier one (declare the guarantees that must stay stable, infer the rest: the test to apply before bringing a brief). Check the split with a fresh agent session that reads tier one only and does a routine task; a rule it breaks that lives in the annex belongs in tier one.
Activity
ehartford commentedon Oct 25, 2026
Triage 2026-10-25,
with v0.15.3.0(main a261b65): unchanged, and the next step is Eric's editorial call, as the issue itself says ("the words are his").AGENTS.mdis 1,100 lines today, with invariants and incident rules still interleaved.The question: which rules are tier 1 (the invariants that win a conflict) and which move to an annex as case law?
ehartford commentedon Nov 19, 2026
Ruled, 2026-11-18: draft it. Put D172's principle in tier one (declare the guarantees that must stay stable, infer the rest: the test to apply before bringing a brief). Check the split with a fresh agent session that reads tier one only and does a routine task; a rule it breaks that lives in the annex belongs in tier one.
AGENTS.md in two tiers: the invariants up front, the detail moved ver…