docs(agents): prune docs that failed the ablation prune rule
Summary
Deletes five agent docs that failed a pre-registered ablation prune rule: docs/agents/testing.md, test-authoring.md, cli-flags.md, selector-capture.md, and code-ownership.md. CONTEXT.md also failed the rule but stays until a second round with ADR and vocabulary tasks decides it. Evidence: agent-text-ablation-2026-12-05.md. The "Worker handoff" and "Worktree setup" sections stay, because the evidence shows the setup sentence changes behavior.
Every reference is removed or reworded: AGENTS.md routing rows, links in CONTRIBUTING.md and other docs, code-comment citations, the AGENT_GUIDANCE set, and the tests that named these files. No behavior change.
#5405 and #5406 edit cli-flags.md and test-authoring.md. Whichever of them merges second resolves the conflict by keeping the deletion.
Before / after
No observable change. Only agent-facing text, comments, and path filters change.
Value
- Agent-facing text removed: 15,979 bytes across five files.
CONTEXT.mdand its guidance contracts stay. - 606 lines deleted.
Validation
Docs and comments only, so runtime tests do not apply. Tested head 3a975b4b45:
agent-guidance-contract,check-affected/model, andmutation/{modules,ownership,selection}node tests: 69 pass, 0 fail.test/ci/root-docs-paths-ignore.test.ts(vitest): 5 pass.- CI runs the full gates. Not run locally:
check-doc-links(needs a website build).