workflow-war-story: #\d+ matches cross-references, not incident history (13 of 15 remaining offenses) #168
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#168
Loading…
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?
Discovered while working #165, 2026-07-27. Not one of #165's three filed defects.
Problem
After #165's defects 2 and 3 landed, WorkflowWarStory emits 15 unique offenses over the 99 in-scope files. 13 of those 15 are the
#\d+pattern matching a cross-reference, not incident history.Every one of them:
The remaining 2 are the word "shipped" used as ordinary vocabulary ("a plan doc that should be archived once shipped").
So the corpus currently contains zero true positives.
Why this is a distinct defect
#\d+is a decent proxy for "cites a ticket" but it does not distinguish:A numbered invariant or a numbered pass is a name, not a war story.
pass #1andinvariant #7are especially clear: there is no ticket anywhere in the sentence.Candidate directions (not yet decided)
#\d+when the line also carries one of the tense/outcome words (fixed in,shipped,regressed,last time,went wrong).invariant #N,pass #N,step #N,rule #N,phase #N.#Npreceded byticket/issue/PR, or bare at clause start.(1) is the smallest and is the same shape as the existing
last time|fixed in|shipped|regressedlist; (2) is the most surgical but is an open-ended noun list. Needs a measurement pass before choosing.Scope note
#165 also invites auditing whether other section-scanning cops share its defects 1 and 2. Deliberately not done there and not covered here.
Measured the 3 candidates against the 13 listed
#\d+false positives (offline, since none contain an incident verb):#N) clears 8/13 — misses bare refs like "the #41 seed candidates", "map #49, #56/#59", "#39" (no qualifying noun).Recommend candidate 1: full clearance, no new keyword list to maintain, smallest diff.
Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.