How much can the agent do without a human? That answer should be a written setting with promotion criteria and rollback triggers per rung — never a drift. This playbook defines a four-rung autonomy ladder, risk-tiers it against your codebase, and wires each rung to the permission models your agent tools already expose.
Workflow area: Policy & Governance · Tier: Advanced · Hands-on time: ~45 minutes
Autonomy creep is the default. An agent starts drafting PRs, someone enables auto-approve for tests, then for lint fixes, then a Friday deploy goes wrong and nobody can say who decided the agent could do that. The ladder exists so that every increase in autonomy is a decision with a name, a date, and evidence attached — and every incident has a pre-agreed rung to fall back to.
The agent reads code, logs, and tickets; it produces analysis, plans, and diffs as text. Nothing it emits executes. Humans copy what they trust.
The agent edits branches, runs tests in isolated environments, and opens draft PRs. Every artifact passes the pb-27 review bar plus pb-28 gates before merge. No production access of any kind.
A written allowlist of reversible operations — scoped deploys behind flags, dependency bumps, config changes with rollback — executes after a human approves each run. The allowlist is versioned; additions require the same sign-off as this ladder.
Only the lowest-risk allowlist entries run without pre-approval, with post-hoc review of every action and the pb-30 guardrails fully in place. Most teams should live at rung 3 for a long time; rung 4 is earned per action class, not per agent.
Write the rung definitions into a one-page governance doc. Adapt the four rungs above, then add the two tables that make it real: which code areas cap at which rung (your pb-27 risk tiers map directly — CRITICAL paths cap at rung 2, no-AI zones at rung 0), and which named person can approve a promotion (you, or an EM per team with your review).
Define rollback triggers per rung — before you need them. Automatic demotion one rung, no meeting required, when any trigger fires: an agent action causes a Sev-2 or worse; any action outside the allowlist; revert rate exceeding baseline for two consecutive weeks; an audit-log gap (pb-30). Write the re-promotion condition next to each trigger so demotion is a reset, not a punishment.
Map rungs to tool enforcement. Ladders enforced by memory fail. Claude Code permission modes, allowed-tools lists, and hooks; Copilot and Cursor workspace and policy settings; branch protection and environment-scoped credentials — configure each so the tool physically cannot exceed its rung. Have Claude draft the mapping:
Here is our four-rung agent autonomy ladder: [PASTE DOC].
Tools in use: [Claude Code / Copilot / Cursor / CI system].
For each rung, list the concrete settings that enforce it in each
tool: permission modes, allowed tools, branch protections, env
scoping. Mark [GAP] where a rung cannot be technically enforced
and only process enforces it. Do not invent settings that do not
exist in these tools.
The [GAP] lines are your risk register — every gap needs a compensating check, usually an audit-log review.
Run promotions as written decisions. A promotion request is five lines: agent and scope, current rung, evidence against exit criteria, requested rung, approver. Keep them in the governance doc's history. Thirty seconds of writing buys you a complete autonomy audit trail.
Revisit the ladder monthly for the first two quarters. Agents and their tooling change fast; a ladder written in January governs different capabilities by June. The review is 15 minutes: any triggers fired, any promotions granted, any rung definitions that no longer match reality.
Promotion records and demotion triggers name the humans who approved and operated agents — keep them as governance records for learning and audit, never as individual performance evidence, or the next incident will be the last one anyone reports accurately (pb-31 depends on this).
Autonomy is a setting, not a tendency — four written rungs, promotion by evidence, demotion by trigger, enforcement in the tools — and any agent whose rung you cannot name is running at the rung of nobody-decided, which is where incidents come from.