fix(caps-reference): the band line caps count blank lines, so stop calling them non-blank #1331
No reviewers
Labels
No labels
burndown-2026-06
burndown-2026-08
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/advocate
role/director
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/science
role/sysadmin
state
ambient
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/agentic-os!1331
Loading…
Reference in a new issue
No description provided.
Delete branch "ops/caps-reference-line-semantics"
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?
The numbers never drifted. The unit did.
docs/catalog-caps-reference.mdis the fleet's single source of truth for the validator caps, generated from the validator constants precisely so that code and prose cannot drift apart. It described three caps as counting non-blank lines.check_markdown_sizesmeasureslen(text.splitlines())-- every line, blanks included -- for both bands and for the root README overview.On
agentic-os-kai/docs/FEATURES.mdthe difference is 73 against an actual 122. Anyone budgeting a doc from the reference lands 40 percent over cap and only finds out at commit time, which is exactly the failure a generated reference exists to prevent.What changed
docs/catalog-caps-reference.mdregenerated throughjust gen-caps-reference, never hand-edited.docs/documentation-bands.mdstates that outright and blank lines are free there. Three of the four were wrong, not all four.A test rather than more prose
The wording could revert on the next edit and nothing would catch it, since
check-caps-reference-driftonly proves the doc matches the generator, not that either matches the validator. So the semantics are pinned executably: a 62-line file with 2 non-blank lines must fail a 40-line cap.Provenance
Found while migrating
agentic-os-kaionto the bands for coilysiren/inbox#374, when a file measured 73 by hand and 122 by the hook.747 tests pass and
pre-commit run --all-filesexits 0.