Repository navigation
Description
Decision needed (backlog burndown, round 5, group 2, away mode, 2026-11-13)
Question: How should a missing or wrong shared git hook, found while preparing a linked worktree, be repaired? Who repairs it, how does the question reach you, and what does the task do while it waits?
repo-worktree "Preparing Git Hooks" says only that such a hook "is reported to the maintainer, not repaired from the worktree". #3869 asks the skill to name who repairs it, how the question reaches you, and that one base-clone install covers its linked worktrees.
Why it was not settled in the pull request. The pull request drafted #3869's own proposal: ask through the prompt, and on your yes the agent runs the documented install against the base clone. Seven local review rounds each found a new cost in the drafted text:
- An install over a non-framework hook moves it to
pre-commit.legacyand chains to it. dotnet husky installin the base clone sets the sharedcore.hooksPath. Every other worktree then lacks.husky/_/husky.shand fails every commit.- A framework hook installed without
--allow-missing-configfails every commit on a branch whose tree has no.pre-commit-config.yaml. - A dispatched worker that stops for the answer stalls every worker in its round. One that continues never parks, so in an away run the question never reaches you.
The routing text was taken back out of the pull request. Its other fixes go ahead without it, including the header check that stops any executable counting as the gate.
Options, recommended first:
- You repair by hand, and the task continues without the hook (recommended). The skill says the hook is put to you per
GOVERNANCE.md"Communicating with the User". A dispatched worker hands it to its dispatcher. In an away run, the orchestrator lists it in its end-of-run report under what needs you. The task does not wait, and CI stays the gate meanwhile. No agent runs an installer against the shared hooks directory or setting. This avoids every install cost above, and it needs one line added tobacklog-burndown"Ending an Away Run". - Say Who Repairs a Missing Shared Git Hook, and How the Question Reaches the Maintainer #3869's proposal: the agent installs on your yes. For a missing pre-commit framework hook only, the question names the install command and its costs. On your yes, the agent runs it against the base clone by absolute path, and one install covers every linked worktree where
core.hooksPathis unset. Every other case is yours by hand. This is faster to clear, but each question has to name costs the asking agent cannot always know, such as branches without the config. - Move it to a machine check.
check-this-repoorupdate-hostreports a declared hook framework with no installed hook, and you repair it there. Worktree setup only notes the gap and continues. This fits the hook being per machine rather than per repository, but it is a larger change across more skills.
What each option does to the parked work. #3869 stays open until this is answered. Pull request #4166 does not wait on it, because the routing text was removed from it and #3869 is not in its closing line. Any option lands as its own feature -> develop change to .agents/skills/repo-worktree/SKILL.md and its generated copies. Option 1 also touches .agents/skills/backlog-burndown/SKILL.md. Option 3 touches check-this-repo or update-host.
Issue this blocks: #3869. Related pull request: #4166, which carries #3620 item 5's header check, not blocked.
🤖 Generated with Claude Code
Activity
Close Five Review Gaps in repo-worktree, drive-pr, pr-review-conduct,…
ptr727 commentedon Nov 16, 2026
Answered by the maintainer, 2026-11-16: option 1, you repair by hand, and the task continues without the hook.
repo-worktree"Preparing Git Hooks" says a missing or wrong shared hook is put to the maintainer perGOVERNANCE.md"Communicating with the User". A dispatched worker hands it to its dispatcher, and an away run lists it in its end-of-run report under what needs the maintainer. The task does not wait, CI stays the gate, and no agent runs an installer against the shared hooks directory or setting. The work lands on #3869, which this decision unblocks.Name the Registration Grace Refusal, and Route a Missing Shared Hook …
ptr727 commentedon Nov 20, 2026
Maintainer's confirmation, 2026-11-20. #4323 applied this answer to
repo-worktree"Preparing Git Hooks". It also covered one case this answer did not name: a wrong shared hook that refuses every commit. Continuing there would mean bypassing the hook, which is forbidden, so the task stops at its first commit and is reported to the maintainer the same way. The maintainer confirmed that reading.