Repository navigation
Conversation
The doc restated four of its own table's counts (total module count, three times; convertible/not-convertible/unclear verdict counts, once each) as free prose next to the table that already carries them as structured data. A reactive test (#595) caught a mismatch after the fact, but the numbers still drifted three times in quick succession (#595, #596, a follow-up on #611) -- each time because a PR adding one table row was reviewed and merged green against its own stale base, before a sibling PR's prose fix had landed. A same-PR test cannot see a drift introduced by a different PR's base. This removes the class rather than the next instance: the prose numbers are deleted, so the table is the only place any of these counts live and there is nothing left for a PR to leave out of sync. The old reactive test (tests/test_windows_skip_triage_prose_totals_595.py) is replaced by tests/test_windows_skip_triage_no_stale_prose_counts_613.py, which guards against one of these numbers creeping back into the prose by hand, with a positive control proving the detector still fires on #595's own original sentences. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01P9WexZb39yUjQgJ53Zmf1c
fdaviddpt
added a commit
that referenced
this pull request
Sep 7, 2026
…622) (#623) #617: the changelog.d/595.fixed.md fragment this issue named was already folded into CHANGELOG.md and deleted by PR #605's release (0.29.1, cut today). Verified with the two greps the issue itself suggests: no numeric prose totals remain in docs/windows-skip-triage.md, and tests/test_windows_skip_triage_prose_totals_595.py does not exist -- both removed three commits later, in the same release, by #613 (PR #615). There is nothing left under changelog.d/ to amend, so this adds a new fragment (changelog.d/617.fixed.md) documenting the correction instead of hand-editing the already-released CHANGELOG.md entry: read the #595 entry as history of what PR #605 did, and the #613 entry a little further down the same release section as the current description. #622: _gh_unlabelled_issue_counts in .oss/statusline.py joined each issue's label names with "," in a gh api --jq call and split the line back apart in Python. A GitHub label name may legally contain a comma, so a label like "blocked,lane-storage" split into two names, one of which could collide with a real declared lane -- undercounting no_lane/no_priority, the opposite of this function's documented convention. Switched the wire format to one JSON array of label names per line (tojson server-side, json.loads in Python), a delimiter no label name can contain. .oss/statusline.py had zero test coverage before this change; added a first, narrow test file covering this one function by stubbing _run, rather than broader module coverage -- the smallest fix proportionate to what was reported. TDD: both tests written and shown red against the old comma-joined format before the fix, green after. Claude-Session: https://claude.ai/code/session_01P9WexZb39yUjQgJ53Zmf1c Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #613.
What
docs/windows-skip-triage.mdrestated four of its own table's counts ashand-maintained prose (the total module count, three times, plus the
convertible/not-convertible/unclearverdict counts, once each) rightnext to a table that already carries all four as structured, countable
data. A reactive consistency test
(
tests/test_windows_skip_triage_prose_totals_595.py) checked the twoagainst each other and still let the numbers drift out of sync three times
in quick succession (#595, #596, and a follow-up commit on #611) -- every
time because a PR adding one new table row was reviewed and merged green
against its own stale base, before a sibling PR's prose-sync fix had
landed. A same-PR test structurally cannot see a drift introduced by a
different, concurrently-developed PR's base.
Why deletion, not a generator
The issue named two options: generate the prose from the table, or delete
the redundant prose numbers. I chose deletion. A generator still needs
someone to remember to run it when a table row changes -- the exact
discipline gap that produced all three drifts for the hand-written
numbers. It would also need its own CI
--checkleg to catch a forgotteninvocation, which just relocates the reactive backstop rather than
removing it. Deleting removes the state entirely: the table becomes the
only place any of these four counts live, so there is nothing left for a
PR, however based, to leave out of sync.
What changed
docs/windows-skip-triage.md: the six hardcoded-count fragments areremoved from the heading, the "finds N modules" sentence, the three
verdict bullets, and the "bulk of these N reasons" sentence. A new
paragraph explains the removal and points at the new guard test.
tests/test_windows_skip_triage_prose_totals_595.pyis deleted -- itswhole premise (checking a hand-written number against the table) no
longer applies once the numbers are gone.
tests/test_windows_skip_triage_no_stale_prose_counts_613.pyis added:asserts the doc's prose never again matches any of the six patterns that
would indicate a hardcoded count crept back in, with positive controls
proving the detector still fires on reconstructed instances of the
original 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 sentences (so this cannot pass merely because the patterns
stopped matching anything at all).
scripts/windows_skip_triage_497.pyandtests/test_windows_skip_triage_497.pythat referenced the now-deletedtest file are updated to explain why it is gone.
changelog.d/613.fixed.mdadded.TDD
Wrote the new test first and ran it before touching the doc: 1 failed (the
negative assertion, since the doc still had all six stale patterns), 2
passed (the positive controls, proving the detector works before the fix
existed). After removing the numbers from the doc, re-ran: 3 passed.
Also ran the full windows-skip-triage test group
(
test_windows_skip_triage_497.py,test_windows_skip_triage_no_stale_prose_counts_613.py,test_report_windows_skip_floor_507.py): 17 passed. Did not run therepo's whole
test_command-- CI is the merge gate for that (perCLAUDE.md's own note on this).
Self-review
Two independent reviewers (
Exploreandoss:auditor) ran against thecommitted diff, both
FINDINGS: 0, classifiedno-findingsbyscripts/review_return.py. A tree snapshot taken before both spawns andcompared after confirms
clean -- the tree's status and HEAD are unchanged.Full transcripts are in the run's note file
(
notes/fix-613-20260907T010607Z.md), not repeated here.Docs / diagnostic
docs_targets(README.md) does not mention this doc or its counts --no-change-needed. No repo-specific diagnostic references this convention(checked
.claude/jit-context/tools/00-manual/win32-skip-triage-entry.mdand
CONTRIBUTING.md; both only require adding a table row in the samecommit, never a prose-count sync step, so nothing there implied a
hand-sync duty that needed removing).
Below-bar note
No below-bar findings from either reviewer or my own reading; nothing to
anchor here.
🤖 Generated with Claude Code
[AI-generated]