Repository navigation
Backlog
Labels
epic:preflightPreflight answer: make every AI agent want Charter's governancepriority:p1Should ship this cycletype:featureNew capability or extension point
Description
Question
Do AI coding agents choose Charter voluntarily, and do they code better when they do? Context-size savings (58.1% mean estimated reduction, reproduced by both 2026-11 reviewers) don't answer that. The evidence register already marks "improves instruction adherence" as not supported.
Design (smallest credible pilot)
- Repos: Charter at a frozen commit; add one independently maintained repo with owner-reviewed rules when available.
- Tasks: 12 frozen tasks:
- 4 touching a file near its ceiling
- 4 touching a file a module rule governs
- 4 maintenance controls where skipping Charter is correct (dependency bump, CI triage, branch cleanup)
- Agents: at least two different coding agents or vendors, since Charter is cross-agent. Fresh sessions, identical repo state, task wording, model settings and tool budgets.
- Arms:
- Native: the repo's normal instructions, Git, search, reads and tests.
- Flat: the same plus owner-reviewed rules (with current ceilings) compiled into one native instruction file.
- Optional Charter: the same as Flat, plus the preflight answer and the first-contact pointer line. No hook and no "must call first". Equal neutral exposure to one demo on an unrelated task.
Measures
- Success: first commit attempt passes live
adf evidence --auto-measure --ci, typecheck and hidden tests, with no ceiling raised; plus first correct file, test and version-bump choice. - Voluntary reuse: unprompted Charter calls on eligible tasks after first exposure ÷ all eligible runs. Count skips and failures. Read from
.charter/telemetry/events.ndjson, excluding hook-origin events. Also record "called Charter, ignored the answer, went back to search". - Guardrail: no run acts on a wrong or stale Charter answer; Charter calls on control tasks stay at noise level.
Thresholds
- Fund a larger trial: voluntary reuse ≥ 5/8 eligible follow-ups, ≥ 20% fewer discovery calls than the better baseline, and no extra rule violations or failed tasks.
- Reverse: Optional Charter is within noise of Flat on first-attempt pass, or reuse is under ~30%. Then move the answer to the gate-failure output only, and narrow Charter to the evidence gate.
Raw paired outcomes are reported; borderline results are repeated before any public claim.
Run after #447 (preflight) and #448 (first contact) are done. Part of #437.
Coordination with existing issues
- Release needed: published 2.1.0 still overwrites a hardened governance workflow (docs on main say it won't) #397 (release gap): run the pilot either on a published release that contains the preflight work, or on a stated source commit with the CLI built locally (with Hook can answer with the wrong Charter CLI, and a fresh clone has no local gate #450's version reporting confirming which CLI answered). Never on an npm install that predates the features being tested.
Metadata
Metadata
Assignees
Labels
epic:preflightPreflight answer: make every AI agent want Charter's governancepriority:p1Should ship this cycletype:featureNew capability or extension point
Activity