coily lockdown emits 5-line comment header that fails agentic-os code-comments TOL=2 #92
Loading…
Add table
Add a link
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
coily lockdown --apply --replacewrites.claude/lockdown-deny.shwhose header is a 5-line contiguous comment block (lines 2-6 below the shebang):The agentic-os
code-commentspre-commit hook (since v0.2.8) enforces MAX_CONTIGUOUS=2. Every consumer repo that runs the suite v0.2.8+ now fails on the file the moment they re-apply lockdown. Caught while cleaning up coilysiren/otel-a2a-relay#135.Fix
Trim the generated header to <=2 contiguous comment lines, e.g.:
The blank-comment line on line 3 is what visually splits the block but counts as contiguous to the hook.
Repro
coily v2.37.1:
Rule shape
TOL=2 softened from TOL=1 in coilysiren/agentic-os#24.
Ported from coilysiren/coily#336.
Merged into #85 in the 2026-05-29 backlog burn-down. Duplicate lockdown-deny.sh comment-header TOL=2 bug Reopen if it should stand alone.