teammate-idle-gate
Block a subagent from going idle with broken syntax, critical lint, type, or test failures.
hook
SubagentStop
claude-code
mode: enforce
config/hook-registry.json (entry)
Block a subagent from going idle with broken syntax, critical lint, type, or test failures.
Registry Entry
Section titled “Registry Entry”| Field | Value |
|---|---|
| id | teammate-idle-gate |
| mode | enforce |
| logical_event | SubagentStop |
| command | {repo_root}/hooks/teammate-idle-gate.sh |
| timeout | 120 |
| harnesses | ["claude-code"] |
Full hook config
{ "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
Resources
Section titled “Resources”Hooks HubAll repo-managed lifecycle hooks.
wagents hooksInspect and validate hooks via CLI.
