task-completed-gate
Block task completion when modified files have syntax errors, incomplete markers, or failing tests.
hook
Stop
claude-code
mode: enforce
config/hook-registry.json (entry)
Block task completion when modified files have syntax errors, incomplete markers, or failing tests.
Registry Entry
Section titled “Registry Entry”| Field | Value |
|---|---|
| id | task-completed-gate |
| mode | enforce |
| logical_event | Stop |
| command | {repo_root}/hooks/task-completed-gate.sh |
| timeout | 120 |
| harnesses | ["claude-code"] |
Full hook config
{ "id": "task-completed-gate", "description": "Block task completion when modified files have syntax errors, incomplete markers, or failing tests.", "mode": "enforce", "logical_event": "Stop", "command": "{repo_root}/hooks/task-completed-gate.sh", "timeout": 120, "harnesses": [ "claude-code" ]}Command: .../hooks/task-completed-gate.sh
Resources
Section titled “Resources”Hooks HubAll repo-managed lifecycle hooks.
wagents hooksInspect and validate hooks via CLI.
