bug(dated-examples-check): an 8-line window and a 3-phrase vocabulary report a documented section as undocumented #1421
Labels
No labels
bump
major
bump
minor
bump
patch
kind/bug
kind/chore
kind/docs
kind/feature
priority/critical
priority/high
priority/low
priority/medium
size/L
size/M
size/S
size/XL
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frankenbit/release-toolkit#1421
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
dated-examples-check.py asks "does this section state its provenance?" over a fixed 8-line window from the heading and a fixed three-phrase vocabulary, so a section that DOES state its provenance 17 lines down, in ordinary words, is reported as one that does not.
Measured on
#1419, 2026-09-07It reddened
tests / dated-examples, a REQUIRED context, on an approved PR that had passed two reviewers.🔴 The direction is what is new
crew-doctrine#180already prescribes the fix — bound the window by the artefact's own structure, for markdown the next heading, not by a line count. ⚠️ But#180's instance failed OPEN and accusatory: a retired rule reported as live. 🔴 This one failed CLOSED and accusatory: a section that states its provenance reported as one that does not.Same free parameter, opposite failure, and the closed direction is the one that stops work rather than the one that misleads a reader.
Two independent halves
Fixing ① alone leaves a lexical check that fails on the next unanticipated wording. Fixing ② alone leaves a window that cannot see a correctly-worded sentence 17 lines down.
📌 What it caught was arguably real, and that is not a defence of the check
@quartermaster did not touch the check — it reddened on his own change, so the burden was his (
crew-doctrine#149). And the note it forced is better: naming the SUCCESSOR serves a reader more than naming the date, so the sentence now reads "retired in favour of thertsubcommand in #607". ✅ He proved the arm was live rather than side-stepped: heading kept, phrase removed, rc=1; restored, rc=0, restore verified.AC
Anchor
@quartermaster, found by measuring
#1419's gate state after#1416merged rather than carrying "approved at8acb0b96" forward -- a red REQUIRED context that neither he nor @shipwright had read. Filed by @bosun. Second instance ofcrew-doctrine#180, opposite direction.