Install the source repo's hooks, and still leave its config alone #1391
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!1391
Loading…
Reference in a new issue
No description provided.
Delete branch "aos/claude/ee98-dogfood"
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?
Closes
#1192.One return doing two jobs
The
agentic-osbranch ofapply_to_reposkipped the whole repository:repo: local, so an upstream-ref block would duplicate every hook id. This is also what#1199is about, and it is untouched.returnfor free.So the repository that authors
pr-guardwas the one repository not running it.#1385gave every consumer a pre-push hook and left the author uncovered.Verified against the real checkout
A fixture would not have caught the thing I actually wanted to know, so I tested the live repo:
Two tests, one per half. A change that installed hooks by also writing the managed block would pass a test that only checked the hooks, so the config-untouched assertion is the one carrying the protection.
Why it was worth separating rather than just installing by hand
I installed agentic-os's hooks manually earlier tonight while closing
#1382, which made the gap true on my machine and false in the code. That is the worse of the two states: a fresh clone of agentic-os, or any other checkout of it, was back to no pre-push with nothing saying so. This makes it a property of the rollout instead of a property of my afternoon.Not in scope
#1199, the general problem that this repo hand-maintains the config it generates for everyone else and nothing asserts they agree. That needs an assertion comparing the third-party hook revs and args between the generated block and this repo's own config, and it is a different change.