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 1 (Foundation)
2
3You are the controller for building plan 1 on branch `foundation` in
4`/home/paulca/amadan.net/oficina/equipo-foundation`. Paul approved the plan
5and the execution approach on 2026-11-01 ("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-01-equipo-plan-1-foundation.md`
10 (READY AFTER FIXES at Opus round 2; fixes applied; see its dispositions)
11- Roadmap: `docs/superpowers/plans/2026-11-01-equipo-roadmap.md`
12- Repo rules: `/home/paulca/amadan.net/oficina/memoria/AGENTS.md` is the
13 closest template until this repo's own AGENTS.md exists (Task 1 writes it).
14
15## How to run it
16
17Use `superpowers:subagent-driven-development`, with these adaptations that
18Paul approved:
19
201. **Implementers are Astra via Codex, not Claude subagents** (Anthropic
21 weekly usage is the scarce resource). One Codex run per task:
22 - Extract the task brief with the skill's `scripts/task-brief`.
23 - Write a launch script and run it **with the sandbox off**:
24 `setsid nohup <script> &`, where the script `cd`s into this worktree and
25 runs `codex exec -m gpt-6-astra -c model_reasoning_effort="high"
26 --dangerously-bypass-approvals-and-sandbox -o <final.md> "<prompt>"
27 </dev/null > <log> 2>&1; touch <done-marker>`.
28 - Within 20 seconds, check the log exists and is growing. Wait on the
29 `.done` marker with a background `until` loop, never `pgrep -f`.
30 - The Codex prompt names the brief file and the report file, and says:
31 commit with `--author "codex <codex~paul@keymail.dev>"`; do not spawn
32 Anthropic-model reviewers or any other agents; do not create
33 `.claude/HANDOFF.md`; scratch under `$TMPDIR`; leave Go caches at their
34 defaults; run targeted tests only (`go test ./pkg/... -run TestX`); bind
35 any server to `127.0.0.1`; stop what it starts.
36 - Fix rounds are a new Codex run given the brief, the report file and the
37 findings.
382. **Per-task review by risk.** Tasks 3 (sign-in), 5 (limits) and 6
39 (Authority) each get a task review by an **Opus** subagent (model
40 `opus`), using the skill's task-reviewer template and review package.
41 The other tasks get no per-task review; the final whole-branch review
42 covers them. Record this as a ruling in the ledger at the start.
433. **Final whole-branch review by Opus**, one fix wave, one scoped
44 re-review, as the skill says.
454. Run the repo's full `make ci` once before the final review, not in a loop.
46
47## Never
48
49- Merge, deploy, or push to `main`. Task 10 prepares the release and
50 writes the human deployment steps (under the `oficina` CARLOS account on
51 the flagship console); a person runs them.
52- `git worktree prune`, `git clean -fdx` outside `$TMPDIR`, `sudo`, or
53 changes to `GOCACHE`/`GOMODCACHE`.
54- Chain setup commands with `;` (use `&&`).
55
56## Keep the branch page true
57
58- Push after each completed task.
59- Advance the branch's Amadan tasks as you go:
60 `amadan task list oficina/equipo -branch foundation`, then
61 `amadan task set oficina/equipo <id> -branch foundation -status Done`.
62- Rulings that need Paul go in a discussion on the branch
63 (`amadan discuss new oficina/equipo -branch foundation ...`); keep going on
64 everything that does not depend on the answer.
65- When you finish or stop, write the branch handoff
66 (`amadan branch handoff ... -state - -next ...`) and end your final
67 message with: what was built, test and review results, every ruling you
68 made (with what it costs if wrong), and the exact deployment steps for a
69 human. Clean up scratch and any processes you started.
70