Why: apm install resolved every first-party package to cbd6033, which brings
delivery from 0.1.0 to 0.3.0. That release ships the ADR-0032 guard as a
PreToolUse hook, so apm merged it into .claude/settings.json and
.claude/apm-hooks.json. These are apm's own output; leaving them uncommitted
is drift that fails the apm-audit-ci pre-push hook (ADR-0019).
Impact: every tool call in this repo now runs the delivery guard. It fails
closed via onFailure: block (Claude Code >= 2.1.295).
ADR: 0032
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
30 lines
621 B
JSON
30 lines
621 B
JSON
{
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "startup",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "\"${CLAUDE_PROJECT_DIR}/.claude/hooks/kyberforge/.apm/hooks/check-apm-current.sh\"",
|
|
"timeout": 380
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "*",
|
|
"hooks": [
|
|
{
|
|
"onFailure": "block",
|
|
"type": "command",
|
|
"command": "\"${CLAUDE_PROJECT_DIR}/.claude/hooks/delivery/.apm/hooks/guard.py\"",
|
|
"timeout": 10
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|