Conversation
README, CLAUDE.md and web/app/CLAUDE.md quoted 99 API routes and 110 components; the tree has 104 routes and 118 components. The API reference was missing the network-path check routes and the SG rule inventory, refresh and flow-source routes. README also still described v1 as being decommissioned. A new vitest derives the counts from the tree and checks every route has an API reference row, so the numbers can't drift again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🤖 AI Code Review (two independent reviewers)_Reviewer responses: codex/ALL claude/ALL _ Status: BLOCKED — CRITICAL/MAJOR issues must be resolved before merge All verification is done. The counts (104 routes / 41 pages / 118 components) match the tree, all 7 newly documented routes exist and their described semantics (admin gate, 503 gates, bound parameters) match the implementations, and the AUTO-MANAGED marker violation in Chair Review — PR #147: docs: correct route counts and document network-path and SG rule APIs1. SummaryThe PR corrects long-drifted stats (99→104 API routes, 110→118 components) across 2. Issues per lensL2 — Code correctness (new test file only)
L3 — Security / AWS mutation safety
L4 — Observability / data-integration correctness
L5 — Docs/ADR consistency
3. Suggestions
4. VerdictThe content corrections are accurate and now test-enforced — good change overall — but the hand-edit inside the do-not-hand-edit AUTO-MANAGED region, compounded by the new CI test pinning that value, is a verified MAJOR convention violation that must be resolved (trivially fixable) before merge. IMAGE_COVERAGE: NOT_REQUIRED Triggered by commit |
Summary
find web/app/api -name route.ts | wc -l).docs/api-reference.mdgains rows for the 7 undocumented routes:/api/network-paths(+[id],[id]/runs),/api/network-path-runs/[runId],/api/sg/rules,/api/sg/rules/refresh,/api/sg/flow-sources. Auth/gate columns were taken from each route file.web/lib/docs-stats.test.tsderives page/route/component counts from the tree and asserts every route has an API reference row.AGENTS.md's
claude-md-shastamp is now stale (it doesn't quote the route count); regenerate with/co-agent sync-context.Test plan
npx vitest run lib/docs-stats.test.ts— 3 passed🤖 Generated with Claude Code