aidd-lint rule: step-bulk #101
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#101
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 too bulky to read at a glance. Verbatim,
plugins/os-sdlc/skills/mine-lints/SKILL.md:23-28as of5ea6bbf(fixed inc6a4177):Six lines of criteria embedded in one step. Gate logic in prose has no lexical signature but reliably makes steps long -- bulk is the deterministic proxy.
Detection
.aidd-lint.yml(defaults:max_lines: 4,max_words: 60,max_paragraphs: 1,max_bullet_depth: 1). Thresholds are explicitly tunable config, not constants./workflow|process|steps/isections; parse each numbered list item.references/-style .md."<file>:<line>: step is <N> lines (max <T>) with no reference pointer. Move the detail to a references/*.md file and point to it.""<file>:<line>: step is <N> lines (max <T>) despite pointing at <ref>. Trim the step to the instruction plus the pointer."Correction
Pass/fail examples
references/x.md(has-pointer message).plugins/os-sdlc/skills/implement/SKILL.md(1-3 lines each); a 2-line step with no pointer.Provenance
mine-lints simplification 2026-07-23, commit
c6a4177. Known gaming risk: splitting one fat step into several thin ones that are still gate logic -- the Tier-2 charter pass exists to catch that; ship together.Implementation plan
Same markdown-lint infra as workflow-war-story; TDD with fixtures; config loading tested explicitly.
Implemented on branch aidd-lint/tier-1 (plugins/os-aidd-lint, cop: step_bulk.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: step_bulk.rb). 55-test suite green; report-only corpus scan run. Awaiting human review — open items noted on #109.
Implemented on main:
lib/aidd_lint/cops/step_bulk.rb, registered inregistry.rb(StepBulk), tests attests/cops/step_bulk_test.rb(14 runs, 35 assertions, 0 failures). Closing.