aidd-lint rule: workflow-war-story #100
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#100
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?
Problem
Workflow steps carrying incident history instead of instruction. Verbatim, from
plugins/os-sdlc/skills/mine-lints/SKILL.md:32-34as of commit5ea6bbf(fixed inc6a4177):"fixed in commit
632f1ea" is provenance, not instruction: it justifies the step but costs hot-path tokens on every execution and dates the file. Same file, lines 54-57, cited "tickets #87 and #89" the same way.Detection
/workflow|process|steps/i./\b[0-9a-f]{7,40}\b/, issue ref/#\d+/, ISO date/\b\d{4}-\d{2}-\d{2}\b/, or incident phrases: "last time", "last batch", "fixed in", "shipped", "regressed", "went wrong"."<file>:<line>: Workflow step cites incident history ('<match>'). Provenance belongs in a reference file or the artifact the rule justifies -- keep only the instruction in the step."Correction
Full rationale relocated to
skills/mine-lints/references/reconcile-gate.md(the fix pattern: relocate, don't delete).Pass/fail examples
## Workflownumbered step containing "fixed in commit632f1ea"; a step containing "tickets #87 and #89 shipped self-contradictions".references/reconcile-gate.mdor under a## Provenanceheading; a SHA inside a fenced code block in a Workflow section.Provenance
mine-lints simplification session 2026-07-23; simplifier + implementer perspective critique; commit
c6a4177is the exemplar fix. Part of the aidd-lint system (see mapping ticket).Implementation plan
Ruby markdown-lint infra (home decided by the mapping ticket's ADR); TDD with fixture .md files; same validation discipline as the
Sdlc/*cops.Implemented on branch aidd-lint/tier-1 (plugins/os-aidd-lint, cop: workflow_war_story.rb). 55-test suite green; report-only corpus scan run. Awaiting human review — open items noted on #109.
Implemented on branch aidd-lint/tier-1 (plugins/os-aidd-lint, cop: workflow_war_story.rb). 55-test suite green; report-only corpus scan run. Awaiting human review — open items noted on #109.
Implemented:
plugins/os-aidd-lint/lib/aidd_lint/cops/workflow_war_story.rb(WorkflowWarStory cop, TDD'd, tests intests/cops/workflow_war_story_test.rb), matching this ticket's detection spec and message contract. Corpus scan ran and surfaced a follow-up defect in the#\d+pattern, tracked separately as #168. Closing #100 as implemented; #168 is the live successor.