oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1# Controller brief: build Equipo plan 2 (Runner)
2
3You are the controller for building plan 2 on branch `runner` in
4`/home/paulca/amadan.net/oficina/equipo-runner`. Paul approved the plan and
5the execution approach on 2026-11-02 ("Go ahead"). You did not take part
6in the design conversation; everything you need is in these files:
7
8- Spec: `docs/superpowers/specs/2026-11-01-equipo-design.md`
9- Plan: `docs/superpowers/plans/2026-11-02-equipo-plan-2-runner.md`
10 (READY AFTER FIXES at Opus round 2; fixes applied; see its dispositions,
11 including Paul's ruling on unconfined Codex and the tainted-runner rule)
12- Paseo probe: `docs/superpowers/specs/2026-11-01-paseo-probe.md`
13- Plan 1 carries and rulings: `amadan discuss show oficina/equipo 2`
14- Roadmap: `docs/superpowers/plans/2026-11-01-equipo-roadmap.md`
15- Repo rules: this repo's `AGENTS.md`.
16- How plan 1 was built (ledger pattern, Codex launch scripts, review
17 packages): plan 1's controller brief in git history,
18 `git show e5c58ab:docs/superpowers/plans/CONTROLLER-BRIEF-plan-1-build.md`.
19
20## How to run it
21
22Use `superpowers:subagent-driven-development`, with these adaptations that
23Paul approved:
24
251. **Implementers are Astra via Codex, not Claude subagents** (Anthropic
26 weekly usage is the scarce resource). One Codex run per task:
27 - Extract the task brief with the skill's `scripts/task-brief`.
28 - Write a launch script and run it **with the sandbox off**:
29 `setsid nohup <script> &`, where the script `cd`s into this worktree and
30 runs `codex exec -m gpt-6-astra -c model_reasoning_effort="high"
31 --dangerously-bypass-approvals-and-sandbox -o <final.md> "<prompt>"
32 </dev/null > <log> 2>&1; touch <done-marker>`.
33 - Within 20 seconds, check the log exists and is growing. Wait on the
34 `.done` marker with a background `until` loop, never `pgrep -f`.
35 - The Codex prompt names the brief file and the report file, and says:
36 commit with `--author "codex <codex~paul@keymail.dev>"`; do not spawn
37 Anthropic-model reviewers or any other agents; do not create
38 `.claude/HANDOFF.md`; scratch under `$TMPDIR`; leave Go caches at their
39 defaults; run targeted tests only (`go test ./pkg/... -run TestX`); bind
40 any server to `127.0.0.1`; stop what it starts.
41 - Fix rounds are a new Codex run given the brief, the report file and the
42 findings.
432. **Per-task review by risk.** Tasks 5 (enrolment and credentials), 11
44 (frozen reproductions and the trusted executor), 13 (tool channel and
45 relayed permissions), 14 (publishing) and 15 (containment) each get a task review by an **Opus** subagent (model
46 `opus`), using the skill's task-reviewer template and review package.
47 The other tasks get no per-task review; the final whole-branch review
48 covers them. Record this as a ruling in the ledger at the start.
493. **Final whole-branch review by Opus**, one fix wave, one scoped
50 re-review, as the skill says.
514. Run the repo's full `make ci` once before the final review, not in a loop.
52
53## Never
54
55- Merge, deploy, or push to `main`.
56- Start real Paseo agents, enrol a machine, sign in to a provider, or record a
57 Codex acknowledgement. Task 18's live gate needs Paul (enrolment and the
58 owner acknowledgement are his). Build and test everything offline, prepare
59 the live gate as a script and checklist, and stop there with a handoff
60 saying exactly what Paul must do.
61- Touch another session's Paseo agents, workspaces or daemon configuration.
62- `git worktree prune`, `git clean -fdx` outside `$TMPDIR`, `sudo`, or
63 changes to `GOCACHE`/`GOMODCACHE`.
64- Chain setup commands with `;` (use `&&`).
65
66## Keep the branch page true
67
68- Push after each completed task.
69- Advance the branch's Amadan tasks as you go:
70 `amadan task list oficina/equipo -branch runner`, then
71 `amadan task set oficina/equipo <id> -branch runner -status Done`.
72- Rulings that need Paul go in a discussion on the branch
73 (`amadan discuss new oficina/equipo -branch runner ...`); keep going on
74 everything that does not depend on the answer.
75- When you finish or stop, write the branch handoff
76 (`amadan branch handoff ... -state - -next ...`) and end your final
77 message with: what was built, test and review results, every ruling you
78 made (with what it costs if wrong), and the exact steps Paul runs for the live gate. Clean up scratch and any processes you started.
79
80## UI rule from Paul
81
82No coloured left-border accents on cards, notes or list items; hairline border
83and tint instead (`docs/mockups/README.md`).
84