teammate-idle-gate

Block a subagent from going idle with broken syntax, critical lint, type, or test failures.

hook SubagentStop claude-code mode: enforce

Block a subagent from going idle with broken syntax, critical lint, type, or test failures.

FieldValue
idteammate-idle-gate
modeenforce
logical_eventSubagentStop
command{repo_root}/hooks/teammate-idle-gate.sh
timeout120
harnesses["claude-code"]
Full hook config
config/hook-registry.json (entry)
{
"id": "teammate-idle-gate",
"description": "Block a subagent from going idle with broken syntax, critical lint, type, or test failures.",
"mode": "enforce",
"logical_event": "SubagentStop",
"command": "{repo_root}/hooks/teammate-idle-gate.sh",
"timeout": 120,
"harnesses": [
"claude-code"
]
}

Command: .../hooks/teammate-idle-gate.sh


View source on GitHub