Startup hooks nudge Deacon for GUPP backstop (gt-vdprb.3)

- Add special handling for 'deacon' target in gt nudge command
- Maps 'deacon' to gt-deacon session, gracefully handles if not running
- Add gt nudge deacon session-started to SessionStart hooks
- Updated settings-autonomous.json, settings-interactive.json, and
  ensurePatrolHooks() template

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-12-29 18:01:09 -08:00
parent 73f829bebd
commit 03775c6fc7
5 changed files with 39 additions and 8 deletions

View File

@@ -410,6 +410,7 @@ func ensurePatrolHooks(workspacePath string) error {
}
// Standard patrol hooks
// Note: SessionStart nudges Deacon for GUPP backstop (agent wake notification)
hooksJSON := `{
"hooks": {
"SessionStart": [
@@ -418,7 +419,7 @@ func ensurePatrolHooks(workspacePath string) error {
"hooks": [
{
"type": "command",
"command": "gt prime && gt mail check --inject"
"command": "gt prime && gt mail check --inject && gt nudge deacon session-started"
}
]
}