ADR 0204 — Automatic mode releases push and PR
Status
Accepted. 2026-10-02 (AT-385; owner decision on 02/10: "yes, allow
auto-promotion of any and every agent if the agent is in auto mode", confirmed
as applying also to the dev agents' git push and PR opening). Revises, without
editing them, ADR 0102
(the absolute ceiling on external effects, RN-418) and RN-689 (the same ceiling
through the typed door), only in the push and PR half. Preserves
ADR 0167 and
ADR 0189.
Context
Since RN-418, git push, PR opening, deploy and sudo/doas were
unconditional require_approval in decide(), even with automatic mode on;
RN-689 extended the ceiling to the typed actions git_push and pr_open. With
the autopilot (ADR 0189) the dev agent already runs free inside the container,
and the only point where the execution flow still stopped for a human decision
in automatic mode was each task's push and PR.
Decision
- With the agent's AUTOMATIC MODE — the
agent_autonomywildcardactionType: "*"resolved toauto_approve(origincuringa) —, typedgit_pushandpr_open, and the same effect through the terminal command (git push,git remote add/set-url,gh pr create,glab mr create), come outauto_approve, with the reasonmodo automático (RN-713)inproposed_action.created(RN-567). - ONLY the wildcard releases. A specific
auto_approverule without the wildcard, "Always allow" (still refused at the source for push/PR) andallowinpermissions.jsonstill fall into the ceiling. Activation still seeds onlygit_commit(RN-689). - Still an absolute ceiling, even in automatic mode: merge (into a protected
branch, through the typed action; and
git merge/gh pr mergethrough the terminal), deploy,sudo/doas,container_remove,instruction_patchand parallelism. open_adr_pr/open_infra_pralready followed automatic mode and still do.- Switching the toggle back to manual restores approval for push and PR.
Consequences
- The dev agent in automatic mode pushes and opens PRs without stopping; the
merge into
devstays manual, so code only reaches a permanent branch through a human click. - The guarantee becomes the explicit consent of automatic mode, per agent, and no longer the ceiling. The price is declared: a PR opened by mistake does not ask for confirmation before existing in the provider.