docs: move SubagentStop hook config to claude-runner CT

The hook belongs on the instance running long-running subagents,
not in the claude-home repo settings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Cal Corum 2026-03-12 07:40:37 -05:00
parent e2ec022a33
commit 2897d1f037
2 changed files with 3 additions and 11 deletions

View File

@ -6,14 +6,5 @@
"allowed_working_directories": [
"/mnt/NV2/Development/claude-home",
"/mnt/media"
],
"hooks": {
"SubagentStop": [
{
"type": "http",
"url": "http://localhost:5678/webhook/claude-agent-done",
"async": true
}
]
}
}

View File

@ -294,7 +294,8 @@ ssh root@10.10.0.210 "docker stats --no-stream n8n n8n-postgres"
**Related Files:**
- `workflows/claude-agent-notifications.md` - Setup guide
- `workflows/claude-agent-done.json` - Importable n8n workflow
- `.claude/settings.json` (repo root) - Claude Code hook config
**Hook Config:** The `SubagentStop` HTTP hook should be configured in the `.claude/settings.json` of whichever Claude Code instance runs long-running subagents (e.g. `claude-runner` CT 302), not in `claude-home`.
**Custom Variables:**
- `DISCORD_CLAUDE_ALERTS_WEBHOOK` - Discord webhook URL for the target channel