A branch waiting for review every morning
When the repo goes quiet for the night…
- 1A daily schedule at 02:00 runs a Git step that pulls the latest main.
- 2Only if the pull succeeded, a Claude (CLI) step runs Claude Code in the repo with your instructions: take the top issue labelled for the agent, implement it on a branch, run the tests.
- 3On success, a Git step pushes the branch, and the agent’s final answer, what it changed and why, goes to Slack.
- 4If the agent fails or hits its timeout, its whole process group is stopped, the push never runs, and a failure handler posts the error.
You review a branch over coffee instead of babysitting a terminal.