os-aidd-lint tier1 gap: lettered sub-items invisible to both ListItems and StepBlocks #147

Open
opened 2026-07-26 21:53:27 +00:00 by jared · 1 comment
Owner

Context

Found by /os-aidd-lint:mine-blindspots (f7c52e1) on 2026-07-26 — causal bucket (a): "rule exists, logic gap" — tier-1 cop bug, not new rule.

Summary

Both ListItems and StepBlocks regexes admit only digits or bullet symbols (-, *, +, \d+.). Lettered markers (a., b., d.) match neither regex, so lettered sub-items are invisible from their FIRST line — not merely their continuations (distinct from issue #2). This is a structural gap affecting two files.

Root cause

Code: plugins/os-aidd-lint/lib/aidd_lint/list_items.rb:7 and plugins/os-aidd-lint/lib/aidd_lint/step_blocks.rb:9

  • ListItems MARKER requires [-*+]|\d+\.
  • StepBlocks TOP_LEVEL_MARKER requires \A\d+\.\s+

Neither admits letters. Lettered markers like a., b., d. match neither and are completely invisible.

Observed missed instances

  • os-status/skills/fix/SKILL.md lines 52-60 (the "d." sub-step)
  • Downstream trailing-prohibition misses at lines 59-60 and 65 that follow from this root cause

Fix direction

Admit lettered markers in both regexes. This is one fix spanning two files.

## Context Found by `/os-aidd-lint:mine-blindspots` (f7c52e1) on 2026-07-26 — causal bucket (a): "rule exists, logic gap" — tier-1 cop bug, not new rule. ## Summary Both `ListItems` and `StepBlocks` regexes admit only digits or bullet symbols (`-`, `*`, `+`, `\d+.`). Lettered markers (`a.`, `b.`, `d.`) match neither regex, so lettered sub-items are invisible from their FIRST line — not merely their continuations (distinct from issue #2). This is a structural gap affecting two files. ## Root cause Code: `plugins/os-aidd-lint/lib/aidd_lint/list_items.rb:7` and `plugins/os-aidd-lint/lib/aidd_lint/step_blocks.rb:9` - `ListItems` MARKER requires `[-*+]|\d+\.` - `StepBlocks` TOP_LEVEL_MARKER requires `\A\d+\.\s+` Neither admits letters. Lettered markers like `a.`, `b.`, `d.` match neither and are completely invisible. ## Observed missed instances - os-status/skills/fix/SKILL.md lines 52-60 (the "d." sub-step) - Downstream trailing-prohibition misses at lines 59-60 and 65 that follow from this root cause ## Fix direction Admit lettered markers in both regexes. This is one fix spanning two files.
Author
Owner

Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.

Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#147
No description provided.