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:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user