Repository navigation
Description
Pattern (untrusted assumption below marked as such where relevant)
#612 fixes one instance of this: docs/windows-skip-triage.md states four counts (total module count x3, unclear-verdict count x1) as free prose, duplicating numbers a table further down in the same file already carries as structured data (the table's own total and unclear row counts). tests/test_windows_skip_triage_prose_totals_595.py catches a mismatch between the two -- but only on a CI leg whose own run actually reaches that test file, and only after the fact.
This has now drifted three times in quick succession, each time because a PR that adds one new table row (a new blanket win32-skip test module) was reviewed and merged green against its own stale base, before a sibling PR's own prose-total fix landed:
- PR Fix stale prose totals in docs/windows-skip-triage.md (#595) #605 (docs/windows-skip-triage.md states 98 modules / 78 unclear; the live set is 101 / 81, and the new stale-total guard reads only the sibling doc #595) set the prose to match the table at that time.
- PR Fix: suppress the cross-plugin promo on the Antigravity delegation path (#596) #606 (The promo throttle marker is written on an Antigravity session start whose stdout is discarded, burning the whole cooldown window on a promo nobody saw #596), based on an older
main, added a new table row without updating prose -- first drift, not caught locally because Fix stale prose totals in docs/windows-skip-triage.md (#595) #605's own consistency test wasn't in its base yet. - The post-tool-hook.sh: STDIN_SESSION_ID guard gap lets a flag-shaped session_id reach save-session.sh's argv (same class as #576/#600) #610 fix (PR Reject a leading dash in post-tool-hook.sh's session_id guard (#610) #611) added a further table row the same way -- second drift, this time caught by CI (windows-latest, py3.11) because the base already included the consistency test, fixed as a follow-up commit on the same PR (see main is red: docs/windows-skip-triage.md prose totals disagree with its own table (test_windows_skip_triage_prose_totals_595.py) #612 and this PR's own history).
The actual proposal
The consistency test is a reactive backstop for a design that keeps producing the defect it backstops. Consider one of:
- Generate the four prose citations from the table at doc-render/lint time (a small script computes them,
assemble_changelog.py-adjacent tooling already exists in this repo to model it on), so there is nothing to keep in sync by hand; or - Drop the redundant prose sentences entirely and let the table be the only stated count, if the prose's narrative value doesn't justify the drift cost.
Either removes the class of bug rather than the next instance of it -- this issue is filed because the fix that compounds outranks the next one-line prose edit, per this project's own dispatch judgement.
Provenance
Flagged by the developer agent for issue #610's own follow-up fix (report-for-filing, out-of-blast-radius for that fix), surfaced during a maintainer tick after main went red for the second instance of this same pattern (tracked as #612).
[AI-generated]
Activity
Remove docs/windows-skip-triage.md's hand-maintained prose counts (#613…
Fix stale changelog claim (#617) and comma-splitting lane undercount (#…