Skip to content

Autonomy and the delivery engine

The Autonomous Delivery Engine turns a single per-scope number — the autonomy level, an integer from 0 to 100 — into a complete behaviour policy for how independently SupaCloud may pick up work, ask you questions, and merge results. One slider governs every axis at once, so you reason about a single dial instead of a panel of disconnected toggles.

This page explains what the level means, what each named stop unlocks, and how the level you set is resolved into the policy a run actually acts on.

The autonomy level maps — by a fixed, pure rule — onto four behaviours that together form the policy for a run:

Dispatch

Whether the engine may pick up work on its own. Below the Supervised stop the engine never dispatches by itself — work only starts when you press Dispatch now on the backlog board, which works at every level.

Tool prompts (tool-permission gate)

How readily an agent pauses to ask your permission before a tool call: before every flagged tool, before risky tools only, or never. Design questions an agent asks you are separate — the slider never silences them.

Effort

A nudge to the model-effort router — economical, balanced, or generous — so higher autonomy can also spend more freely on harder work. This axis is a preview today: it is resolved and recorded, but not yet consumed by the router (routing effort is currently derived from item severity).

Merge ceiling

The furthest the engine is allowed to take a change: open a pull request and stop, merge once the independent audit and the repository’s required checks pass, or full auto-merge. This is a ceiling — it can only restrict a project’s own merge setting, never escalate it. stop**, auto-merge once the backlog gates pass, or full auto-merge. This is a ceiling — it can only restrict a project’s own merge setting, never escalate it. The backlog gates are SupaCloud’s own: the independent audit and, for web changes, the visual check. Your repository’s required CI checks are not read yet — see Spec-driven delivery.

The mapping is monotonic: as you raise the level, dispatch turns on and stays on, the tool-permission gate only relaxes, the effort bias only rises, and the merge ceiling only loosens. You never get a surprising mix where raising autonomy tightens something.

The slider snaps to five labelled stops. Each stop is a level, and the policy is what that level resolves to.

Stop Level Dispatch Tool prompts Effort Merge ceiling
Manual 0 Manual only Every flagged tool Economical Pull request only
Assisted 25 Manual trigger only Risky tools only Economical Pull request only
Supervised 50 On Risky tools only Balanced Auto-merge on green
Autonomous 75 On Risky tools only Generous Auto-merge on green
Unleashed 100 On Never Generous Full auto-merge
  • Manual — Nothing dispatches automatically; the agent asks before every flagged tool. You stay in full control.
  • Assisted — Nothing dispatches automatically; you start work with Dispatch now. The agent asks only before risky tools, and changes stop at a pull request.
  • Supervised — The engine dispatches on its own and asks only before risky tools; it merges once the independent audit and the repository’s required checks pass. tools, auto-merging once the backlog gates pass.
  • Autonomous — The engine dispatches and works generously, asking only before risky tools; it merges once the independent audit and the repository’s required checks pass.
  • Unleashed — Full autonomy: no tool-permission prompts from the slider, and full auto-merge. Agents can still ask you design questions.

From Supervised up, the default number of items a project works on at once also rises with the level (three up to Supervised, four at Autonomous, six at Unleashed) unless the project sets its own concurrency limit.

You don’t set autonomy in one global place. It is set per scope, and a task resolves its level by walking the scope chain, taking the first level that is explicitly set:

agent profile → backlog automation → project → workspace

The workspace level always has a concrete value (it defaults to 0), so the chain always terminates — there is no implicit fallback below it. A project or agent profile that leaves its level unset simply inherits the next scope up. When you set a level on a narrower scope, it overrides the broader ones for tasks in that scope.

The backlog automation step counts only for work the backlog dispatcher launches. A backlog automation can carry its own level. It is set through the API, in the project’s automations or the workspace state, not with a slider. A task you launch yourself skips that step. There is no per-task level: a task always takes its level from this chain, and a run keeps the policy it resolved at launch even if a slider moves afterwards.

Each scope’s slider shows you exactly where its effective value comes from — for example “Inherits from workspace = 50” when the scope itself is unset, or “Set here: 75” when it has its own value.

After the chain picks a level, two hard ceilings can only ever lower it — the effective level is the minimum of the set level and both ceilings.

The plan ceiling. Autonomy is an entitlement, gated by your plan and deployment edition exactly like any other feature (the autonomy.level_max entitlement). A plan that grants, say, level 50 means the slider cannot select a stop above Supervised, no matter what any scope requests. The gate is fail-closed: a plan that grants nothing resolves to 0. An Enterprise-edition instance resolves to the full ceiling automatically.

The onboarding cap. While a workspace is in onboarding mode, the effective level is capped at 25 (the Assisted band). This gives a new workspace a deliberately cautious start — the engine will not auto-dispatch and merges stay at pull-request-only — until the workspace graduates out of onboarding.

When either ceiling actually bites, the slider says so: “Capped by plan: 50” or “Capped during onboarding: 25”, alongside the resolved “Effective” level.

For fine control, each scope’s slider has an Advanced panel. The level override there sets an explicit number that wins over the slider’s snap point — useful when you want a value between two named stops — but it is still clamped by both ceilings. Per-axis overrides (for the individual dispatch, ask, effort, or merge behaviours) compose most-specific-wins down the same scope chain, and the merge axis remains a ceiling: an override can only restrict a project’s own merge policy, never escalate it.

The level you set is a promise about how much you trust the engine. The trust ledger checks that promise against what the engine actually delivered, per project, and holds merges for review when the quality drops. It can only take autonomy away on its own; giving autonomy back always needs the owner.

Every hour the engine looks at a project’s most recent backlog items that ended in Done or Blocked (the window) and writes a snapshot, once for the project as a whole and once per model tier. A snapshot records:

Signal Meaning
First-pass rate Share of merged items that needed no return-to-sender round
Regression rate Share of merged items later found to have broken something
Mean rework Average number of return-to-sender rounds per merged item
Human rejection rate Share of merged items a person turned down
Blocked rate Share of the window that ended blocked
Cost per merge Spend divided by the number of merged items

A merged item counts as a regression when a required check fails on its merge commit within 24 hours of the merge, or when a revert pull request appears for it (a title that starts with Revert ", or a body that references its pull request number). A human rejection is a pull request closed without merging, or an item in review that a person blocks. Rework is the item’s return-to-sender round count; a person who re-queues an item resets that count, so rework can read low for such an item — the first-pass rate is still measured.

A signal that was not measured stays empty rather than reading as zero. Snapshots are kept for 90 days.

When the window holds at least min_items items and either the regression rate rises above max_regression_rate or the first-pass rate falls below min_first_pass, the project is clamped: its merge ceiling drops to Pull request only. The level itself, dispatch, tool prompts and effort stay as they were — the engine keeps working, but a person merges.

The clamp is one more ceiling, applied last. It narrows the merge ceiling the rest of the policy resolved and never widens it, and it also narrows a run that was already in flight when it engaged, even though that run’s policy was snapshotted at launch. The next green item therefore stays in review instead of merging.

Each time the clamp engages, the workspace gets one trust_clamp notification that names the reason and the evidence. The project’s autonomy row in its Configuration tab shows a Merges held for review badge with the reason, and the same state is readable from GET /api/projects/{id}/trust, the MCP tool project.trust.get, and the project’s entry in the loop digest.

The clamp stays until the project has delivered recovery_items clean items in a row — merged, no rework, no regression, not rejected. Even then it lifts only when the workspace owner acknowledges it (the Acknowledge button on the badge, or POST /api/projects/{id}/trust/acknowledge); until then the badge reads Recovered, waiting for owner acknowledgement. An owner may acknowledge early: the acknowledgement is stored and the clamp lifts on the first hourly pass after the project has recovered. Setting auto_lift: true in the trust policy lets a recovered project lift without the acknowledgement.

The ledger also files proposals, and a proposal changes nothing until the workspace owner approves it:

  • Autonomy raise — after at least 50 merged items that meet both thresholds with room to spare, the engine proposes the next wider merge ceiling for the project. Approving it writes the project’s merge-ceiling override.
  • Routing change — when one model tier averages more than 1.5 rework rounds over at least min_items items, the engine proposes moving the project’s implement stage to the next stronger tier. With auto_apply_routing: true the change is applied at once, and only ever to a stronger tier.

Each proposal carries the snapshot it was based on, and a project has at most one open proposal of each kind.

The clamp narrows one project’s merge ceiling. The workspace level itself is watched too: every hourly pass looks at the finished backlog items of all the workspace’s projects over the last 7 days and judges them with the same rule as the clamp, against the workspace’s trust_policy (or the built-in defaults). When the regression rate is above max_regression_rate or the first-pass rate below min_first_pass over at least min_items items, the stored workspace level moves one named stop down (for example from Unleashed to Autonomous). The owner gets a notification, and the audit log records autonomy.auto_lowered with the old and new level and the numbers behind it.

This step only ever lowers, and it does not wait for the trust_clamp switch. The next step needs fresh evidence: its window starts no earlier than the previous automatic lowering, so one bad week cannot walk the level down to Manual hour by hour. Nothing measured ever raises the level again; a person does that, on the slider or by approving a proposal.

A project’s trust_policy wins; without one the workspace’s trust_policy applies; without either the built-in defaults apply. The policy is a JSON object with these keys — an unknown key or a value out of range is refused with the key named:

Key Default Allowed Meaning
window 30 10–200 Most recent finished items the snapshot looks at
min_items 10 — Fewer finished items than this never engage the clamp
max_regression_rate 0.10 0–1 Regression rate above which the clamp engages
min_first_pass 0.40 0–1 First-pass rate below which the clamp engages
recovery_items 10 1–100 Clean items in a row before the clamp may lift
auto_lift false true / false Lift a recovered clamp without the owner’s acknowledgement
auto_apply_routing false true / false Apply a stronger-tier routing proposal without approval

A workspace admin sets a project’s policy with PUT /api/projects/{id}/trust/policy (body { "trust_policy": { … } }, or null to fall back to the workspace policy).

Whether a clamp actually holds merges is governed by the system switch trust_clamp, which is off unless an operator enables it — instance-wide or for a single workspace (see Operate the delivery engine). While it is off, the ledger still writes snapshots, records the clamp state and files proposals, so you can watch the numbers before they take effect — but merges are not held and no trust_clamp notification is sent. Enable the switch once the snapshots look right for your projects.

Every default points away from surprise:

  • A brand-new workspace starts at level 0 — nothing dispatches on its own.
  • Onboarding caps the effective level at 25, so even an eager configuration can’t run unattended before you’re ready.
  • The plan ceiling is fail-closed: absent or unparseable entitlements resolve to 0, not to full autonomy.
  • The merge axis is a ceiling. Raising autonomy can never make the engine merge more aggressively than a project’s own merge setting already allows.
  • The hard deploy confirmation is independent of the slider and always applies.
  • The trust ledger can only lower the merge ceiling on its own; raising it back needs the workspace owner.

The policy a run uses is snapshotted at launch, so a task always acts on the autonomy you had configured when it started — later changes to the slider don’t retroactively change a run in flight. The one exception only narrows: a trust clamp that engages while a run is in flight also holds that run’s merge for review.