15 · The Workbench

Hooks

Agent lifecycle scripts

Scripts or callbacks that run before or after agent actions — format code, run tests, block dangerous commands — to enforce team policy automatically.

Concrete example

A pre-commit hook the agent triggers after every file edit.

Why it matters

Verification and policy at the harness layer.