Brief: owner mode, default budgets, connection fallback
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+48
−0
docs/superpowers/plans/CODEX-BRIEF-owner-mode.md+48 −0
Intent
diff --git a/docs/superpowers/plans/CODEX-BRIEF-owner-mode.md b/docs/superpowers/plans/CODEX-BRIEF-owner-mode.md| new file mode 100644 |
| index 00000000..c6248a63 |
| --- /dev/null |
| +++ b/docs/superpowers/plans/CODEX-BRIEF-owner-mode.md |
| @@ -0,0 +1,48 @@ |
| +# Brief: owner mode (Paul's ruling, 2026-11-06) |
| + |
| +"Owner mode (Recommended)": on a runner owned by the person whose task it |
| +is, working on repos that runner's forge credential reaches, agents launch |
| +SANDBOXED with the production policy (bwrap namespaces, deny rules, egress |
| +relay, protected paths, branch-only publishing; merging stays with the |
| +person) but WITHOUT the exact-certificate gate (no certified policy-hash |
| +match, no binary-path match, no recertification after policy changes). |
| +Launches, connections, turns and task steps are labelled "owner mode" in |
| +the UI, journal and evidence. Certification remains REQUIRED for any |
| +runner whose owner differs from the task's requester (teammates), and the |
| +release/install manifest keeps certifications as they are. |
| +- Connections on an owner-mode runner report Available when the pinned |
| + binaries verify and the account preflight passes (no certificate |
| + needed); UnavailableReason only for real faults. |
| +- Coordinator auto-bind prefers the person's own runner connections. |
| +- Dispatch: allow owner-mode routes only when runner.person == requester |
| + and the specialist/action exists; everything else unchanged. |
| +- Policy/launch guards that compare certificates are skipped ONLY in |
| + owner mode; every sandbox/containment/isolation guard still runs. |
| +- `make e2e-live` covers owner mode (coordinator reply, propose_project, |
| + one implement step producing a branch on a scratch repo the harness |
| + creates locally — no pushes to amadan.net). |
| +- Copy: "owner mode" label and a one-line explanation in Connections, |
| + `// COPY REVIEW PENDING`. |
| + |
| +## Also (from CONTROLLER-REPORT-e2e-coordinator.md diagnosis) |
| +- Coordinator connection: if the bound connection can't run (unavailable, |
| + uncertified outside owner mode), fall back automatically to an |
| + available connection on the person's own runner and post the |
| + auto-bound note; never leave turns waiting silently. |
| +- Budgets: when the team budget or the person's coordinator limits are |
| + unset, Equipo applies generous defaults automatically for owner-mode |
| + runners (subscription: calls/tokens/time bounds; state the numbers in |
| + the report) and records them as editable settings; teammates' runners |
| + still require configured budgets. Any remaining admission denial posts |
| + a plain note in the conversation. |
| +- `waiting_connection` and every other blocked turn state must surface |
| + in the conversation within seconds. |
| + |
| +Branch `owner-mode` from main (after e2e-coordinator). Prove with |
| +`make e2e-live` in owner mode (twice), plus unit/contract tests; ONE |
| +full `make -k ci` (rerun at most twice). AUTHORISATION for live model use |
| +as before (claude-a only, <= 25 turns, harness only; do not touch |
| +production data). Commit subject < 80, body `Co-Authored-By: Astra |
| +<noreply@openai.com>`; commit only, the controller pushes. |
| +CONTROLLER-REPORT-owner-mode.md. Loopback only; stop servers; scratch |
| +removed; no copy-review server. Print a five-line summary. |