lockdown-deny.sh template trips agentic-os v0.2.8 code-comments hook #93

Closed
opened 2026-05-26 05:22:50 +00:00 by coilysiren · 1 comment
Owner

Problem

coily lockdown --apply --replace writes a 4-line comment header to .claude/lockdown-deny.sh:

#!/bin/sh
# Auto-generated by coily. Do not edit; regenerate via coily lockdown --apply --replace.
#
# Delegates to coily hook pre-tool-use, which calls the shared
# cli-guard/hook engine with coily's integrity rules + route
# table. See coilysiren/coily#248 + cli-guard#74.
exec coily hook pre-tool-use

This violates the agentic-os v0.2.8 code-comments hook (MAX_CONTIGUOUS=2). Every repo that adopts both coily lockdown and agentic-os v0.2.8 pre-commit fails out of the gate on this auto-generated file.

Fix

Shorten the auto-generated header to <=2 contiguous comment lines, e.g.:

#!/bin/sh
# Auto-generated by coily; regenerate via coily lockdown --apply --replace.
exec coily hook pre-tool-use

Surfaced from

coilysiren/galaxy-gen#76 - blocked landing the v0.2.8 bump because lockdown-deny.sh is the last 3 of 247 first-party violations.


Ported from coilysiren/coily#337.

**Problem** `coily lockdown --apply --replace` writes a 4-line comment header to `.claude/lockdown-deny.sh`: ```sh #!/bin/sh # Auto-generated by coily. Do not edit; regenerate via coily lockdown --apply --replace. # # Delegates to coily hook pre-tool-use, which calls the shared # cli-guard/hook engine with coily's integrity rules + route # table. See coilysiren/coily#248 + cli-guard#74. exec coily hook pre-tool-use ``` This violates the agentic-os v0.2.8 `code-comments` hook (MAX_CONTIGUOUS=2). Every repo that adopts both coily lockdown and agentic-os v0.2.8 pre-commit fails out of the gate on this auto-generated file. **Fix** Shorten the auto-generated header to <=2 contiguous comment lines, e.g.: ```sh #!/bin/sh # Auto-generated by coily; regenerate via coily lockdown --apply --replace. exec coily hook pre-tool-use ``` **Surfaced from** coilysiren/galaxy-gen#76 - blocked landing the v0.2.8 bump because lockdown-deny.sh is the last 3 of 247 first-party violations. --- _Ported from coilysiren/coily#337._
Author
Owner

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.

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.
Sign in to join this conversation.
No labels
P0
P1
P2
P3
P4
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
coilyco-bridge/coily#93
No description provided.