Fix: exclude - [x] done items from plain-bullet outstanding count #10
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/10/head"
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?
Summary
_parse_heading_sectioninapi.pynow subtracts- [x]/- [X]items from the outstanding count when parsing plain-bullet files (e.g.security-audit.md).IntentHeading.open_count=Nonecontract is preserved;total_countnow reflects open-only bullet count.test_api.py.docs/usage/intent-files.mdandSpecifications.mdupdated to document that prose paragraphs, blockquotes, sub-headings, and indented bullets are silently ignored by the parser — authors may use them freely for context and notes.Root cause
_PLAIN_BULLET_RE = re.compile(r"^- .+")matches- [x] done itemas well as plain bullets, so marking an audit item as- [x]had no effect on the rendered count.Test plan
uv run tryke test— 109 passeduv run nox— all 8 sessions green