Files
gastown/internal/claude/config/settings-interactive.json
Dustin Smith 64c6a0d45f fix: use gt prime --hook in session hooks
SessionStart and PreCompact hooks must use --hook flag to avoid
gt doctor warnings about bare gt prime invocations.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 13:36:21 -08:00

81 lines
1.8 KiB
JSON

{
"enabledPlugins": {
"beads@beads-marketplace": false
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash(gh pr create*)",
"hooks": [
{
"type": "command",
"command": "export PATH=\"$HOME/go/bin:$HOME/.local/bin:$PATH\" && gt tap guard pr-workflow"
}
]
},
{
"matcher": "Bash(git checkout -b*)",
"hooks": [
{
"type": "command",
"command": "export PATH=\"$HOME/go/bin:$HOME/.local/bin:$PATH\" && gt tap guard pr-workflow"
}
]
},
{
"matcher": "Bash(git switch -c*)",
"hooks": [
{
"type": "command",
"command": "export PATH=\"$HOME/go/bin:$HOME/.local/bin:$PATH\" && gt tap guard pr-workflow"
}
]
}
],
"SessionStart": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt prime --hook && gt nudge deacon session-started"
}
]
}
],
"PreCompact": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt prime --hook"
}
]
}
],
"UserPromptSubmit": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt mail check --inject"
}
]
}
],
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt costs record"
}
]
}
]
}
}