Commit 42ded2e
fix(hooks): route Stop/PreCompact through palace-daemon/clients/hook.py
Promotes the staged `hooks.json.layer2-staged` to active. The
previous active config invoked `${CLAUDE_PLUGIN_ROOT}/hooks/mempal-stop-hook.sh`
and `mempal-precompact-hook.sh` directly; the new shape routes both
through `python3 /home/jp/Projects/palace-daemon/clients/hook.py` with
explicit `--hook stop --harness claude-code` / `--hook precompact
--harness claude-code` arguments and a 30 s timeout.
Description on the manifest names this the 'post-2026-05-11 split-brain
fix' — the daemon's hook client now owns the routing decision (daemon
vs local) instead of forking it across the bash scripts. Hooks weren't
firing reliably under the previous shape; the staged file has been
ready since 2026-05-11 06:01 and just needed the rename to take effect.
Stage/backup files removed: prior `hooks.json` content is preserved
in git history via this commit's parent (no separate backup file
needed once the new shape is committed).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 592842f commit 42ded2e
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
0 commit comments