.tembo.json at your repository root.
Available hooks
postClone - Runs after Tembo clones your repo, before it starts working.
prePush - Runs after Tembo makes changes, before pushing and opening a PR.
Example
Auto-fix
Set"autoFix": true to let Tembo analyze hook failures and attempt to fix issues before retrying.
Branch-aware config loading
Tembo checks out the task branch before loading.tembo.json and running postClone.
This ensures hooks and config are read from the same branch context the agent will edit, including changes that exist only on your selected base branch.
Details
- Commands run sequentially in the repository root
- If a command fails, the hook stops
- Hooks run in the same sandbox as the task
- Shell features (piping, redirects,
&&) are supported