Human first: the automation ladder
Nothing is automated before a person has run it by hand and understood it. Agents design the steps; zuki runs them. Since D27, writing docs, tests and code is delegated to agents and reviewed by zuki before it merges; running anything still climbs this ladder.
| Level | Who runs it | Moves up when |
|---|---|---|
| L0 By hand | zuki, one step at a time, from a runbook step | zuki has logged a clean run and understands each command |
| L1 Scripted | zuki, running one pnpm script that wraps the L0 steps | zuki has logged a clean run of the script |
| L2 Automated | CI or a scheduled job |
- A step climbs one level at a time. An agent may propose a promotion; zuki decides.
- Some steps stay at L0 for good: pushing to production, the cutover run, writing to v1 production, rotating keys and deleting production data.
- Two steps may climb to L2 once zuki has logged clean L0 and L1 runs: reading v1 production through the read-only user for the nightly snapshot, and wiping and rebuilding staging (D36).
- Agents never hold credentials for staging or production, and never run anything against staging, production or v1. They reach the repository on branches and pull requests and never merge: through the Claude GitHub app (D28), or in a team session through a token scoped to this repository that can't merge, approve or change protection (D77). Pushing a branch, opening a pull request or commenting is not a run on this ladder.
- A step is done when zuki has logged a clean run, not when an agent has written it.