Refresh the lock and the deployed hook files after #284 merged, as the session-start apm update rewrites them on main (ADR-0019). With rtk now on origin/main, apm-audit-ci no longer needs the unlanded-plugin waiver for it. Refs: #179 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "*",
|
|
"hooks": [
|
|
{
|
|
"onFailure": "block",
|
|
"type": "command",
|
|
"command": "\"${CLAUDE_PROJECT_DIR}/.claude/hooks/delivery/.apm/hooks/guard.py\"",
|
|
"timeout": 10
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Bash",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "\"${CLAUDE_PROJECT_DIR}/.claude/hooks/git/.apm/hooks/refuse-push-to-main.py\"",
|
|
"timeout": 10
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Bash",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "\"${CLAUDE_PROJECT_DIR}/.claude/hooks/rtk/.apm/hooks/route-through-rtk.sh\"",
|
|
"timeout": 10
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "startup",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "\"${CLAUDE_PROJECT_DIR}/.claude/hooks/kyberforge/.apm/hooks/check-apm-current.sh\"",
|
|
"timeout": 400
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|