refactor(review): take the reviewer's hooks from the installer, leave hooks.go alone

Commit

peyton-alt1w ago

The review launch needs Entire's lifecycle hooks in its own settings file, and this PR got them by refactoring the installer into a shared hook list. That changed code every user runs on entire enable for a review-only fix.

installHookEntries only transforms the map it is given, so the review launch now runs it against an empty document and uses the result. The reviewer's hooks are what the installer writes by construction, and hooks.go and hooks_test.go are back to main. The inventory test now compares against a real install on disk.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com Entire-Checkpoint: 01M3QAKAJXBQNJ8DMAZ0T5TFGK

Checkpoints

Fix Claude Code Hook Installation and Review Launch

Claude CodeOpus 5.5
View session
Checkpoint 1