Repository navigation
Closed as not planned
Description
Background
Postmortem #2125 on PR #2105 — 5+ of GHA's 14 blockers were doc/code mismatches the in-pipeline review missed entirely:
docs/guides/repo-config.md:300-305claims the loader "infers"watch_files/checks— the merge layer never calls theinfer_*helpersdocs/guides/repo-config.md:312claims stalerepo_settings:blocks "replace" defaults —_merge_repo_blockactually leaf-mergesdocs/guides/repo-config.md:347-355rollbacksedsnippet has placeholders that aren't valid YAMLdocs/guides/repo-config.md:120-128YAML template haswatch_files:nested insidebuild_commands:— copy-paste produces a schema error on firstegg validate-config
Nothing in the lens roster checks docs. reviewer_code's scope-preamble explicitly excludes them on the documenter slice; reviewer_security / reviewer_concurrency don't cover docs either.
Proposal
Add a reviewer_docs role (or a directive in reviewer_code's criteria for the docs slice) that grep-checks:
- Every code reference in docs resolves to current code
- Every documented YAML parses against the schema
- Every documented shell snippet runs cleanly in a dry-run
- Every "inferred" / "auto-derived" / "the loader will X" claim has a callgraph hit
Acceptance
- New role or scoped directive wired into BRC implement consensus
- Catches doc/code drift in the docs slice of a PR before it reaches GHA
Activity
jwbron commentedon Jun 10, 2026
Triage close (2026-06-10): counter to the current direction — #3066 is actively working to reduce unconditional specialist lens fan-out because it's one of the largest recurring token multipliers; adding a doc-correctness lens to every cycle goes the other way. If doc-correctness review is wanted, it should enter as a domain-gated lens under the #3066 model (only on diffs touching docs).