audit-pre-commit-coverage expects agent-compose-drift but apply omits it - fleet audit can never pass clean #170
Labels
No labels
burndown-2026-06
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
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#170
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
audit-pre-commit-coverage.pyandapply-agentic-os-hooks.pydisagree on thecanonical managed hook set, so the fleet audit can never pass clean.
audit-pre-commit-coverage.pyderives its expected set from ALL hook IDs in.pre-commit-hooks.yaml(16 IDs, including the threeagent-compose-*).apply-agentic-os-hooks.pyDEFAULT_HOOK_IDSships only 15: it deliberatelyomits
agent-compose-drift.agent-compose-driftis a machine-state check ("Verify~/.config/agent-compose/COMPOSED.md is reproducible ... no-op without a
config"), so it correctly does NOT belong in every repo's managed block. But
because the audit expects it, every repo reports
missing: agent-compose-drifteven immediately after a clean
applysweep.Repro
Run
apply-agentic-os-hooks.pyagainst any repo, thenaudit-pre-commit-coverage.py. The freshly-applied repo still showsmissing: agent-compose-drift.Fix direction (pick one, maintainer's call)
hooks (anything not in
apply'sDEFAULT_HOOK_IDS) fromexpected_hook_ids.eco-* -> code-commentsskip inapplyis also invisible to the audit today) and machine-state hooks.Both scripts already live side by side in
scripts/; the cleanest fix is tohave the audit import
apply'sDEFAULT_HOOK_IDS/hook_ids_for(repo)ratherthan re-deriving from
.pre-commit-hooks.yaml.Why this matters
This is the structural blocker for coilyco-bridge/agentic-os-kai#279 (re-enable
all canonical pre-commit hooks on every coilysiren/* repo): the "audit clean"
done-condition is unreachable for any repo until this mismatch is resolved.
Surfaced 2026-06-04 while landing the agentic-os-kai code-comments re-enable.
Backlog burndown 2026-06-17: closing low-priority (P3/P4) to bring the open count to a manageable level. Nothing lost — reopen if this resurfaces. Batch tag:
burndown-2026-06.