hooks¶
Agent lifecycle hooks (stdin-driven)
| Task | Description |
|---|---|
pre-bash |
Refuse the Bash commands that succeed while creating a silently broken |
post-edit |
Format and lint a Python file the agent just edited. |
stop |
Refuse to let a session end on a red gate. |