Files
Defame1297andClaude Opus 5.5 64b52ab37c fix(lock): regenerate hook config in apm's from-empty order
Why: apm-audit-ci replays the install into an empty tree, where packages
integrate in lockfile order and delivery's PreToolUse lands before
kyberforge's SessionStart. The session-start install merged into the
existing settings.json instead and appended PreToolUse after it. Same
hooks, different key order, so the byte-for-byte drift check failed.

Implementation Notes: deleted both files and reran apm install; the result
is byte-identical to the replay scratch and stable across reinstalls.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-23 18:38:31 +00:00

30 lines
670 B
JSON

{
"PreToolUse": [
{
"matcher": "*",
"hooks": [
{
"onFailure": "block",
"type": "command",
"command": "\"${CLAUDE_PROJECT_DIR}/.claude/hooks/delivery/.apm/hooks/guard.py\"",
"timeout": 10
}
],
"_apm_source": "Mortis/Holocron/plugins/delivery"
}
],
"SessionStart": [
{
"matcher": "startup",
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PROJECT_DIR}/.claude/hooks/kyberforge/.apm/hooks/check-apm-current.sh\"",
"timeout": 380
}
],
"_apm_source": "Mortis/Holocron/plugins/kyberforge"
}
]
}