summaryrefslogtreecommitdiff
path: root/plugins/security-guidance/hooks
diff options
context:
space:
mode:
authorMohamed Hegazy <mhegazy@anthropic.com>2026-10-08 22:46:16 +0000
committerOctavian Guzu <oct@anthropic.com>2026-10-09 10:25:25 +0000
commit3752f0e092cb0fec08e68f80aa4d54849423a8b0 (patch)
tree8c14b9343a31baac772c76a44dfde961bf1a5d47 /plugins/security-guidance/hooks
parent315c4e48967d9541c29c3c656441dded353ca7aa (diff)
security-guidance: stop reviewing on every subagent finishmhegazy/sg-drop-subagent-review
Each subagent finish re-reviewed the whole diff since the last prompt, so a turn with N subagents sent N growing reviews. The end-of-turn review already covers what subagents changed, so drop the SubagentStop registration.
Diffstat (limited to 'plugins/security-guidance/hooks')
-rw-r--r--plugins/security-guidance/hooks/hooks.json13
1 files changed, 0 insertions, 13 deletions
diff --git a/plugins/security-guidance/hooks/hooks.json b/plugins/security-guidance/hooks/hooks.json
index 22734270..a4723026 100644
--- a/plugins/security-guidance/hooks/hooks.json
+++ b/plugins/security-guidance/hooks/hooks.json
@@ -106,19 +106,6 @@
}
]
}
- ],
- "SubagentStop": [
- {
- "hooks": [
- {
- "type": "command",
- "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/sg-python.sh\" \"${CLAUDE_PLUGIN_ROOT}/hooks/security_reminder_hook.py\"",
- "asyncRewake": true,
- "rewakeMessage": "Background security review feedback — address or acknowledge the findings below, then continue with the user's original request or continue waiting for their reply. This is supplementary, not a replacement for your previous response:",
- "rewakeSummary": "Background security review found issues"
- }
- ]
- }
]
}
}