oficina / equipo Public

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

Plain git — no account needed to clone.

Download

Download this file

Controller brief: build Equipo plan 2b (direct launch)

You are the controller for building plan 2b on branch plan-2b in /home/paulca/amadan.net/oficina/equipo-plan-2b. Paul approved the plan and the execution approach on 2026-11-03 ("yes"). You did not take part in the design conversation; everything you need is in these files:

  • Spec: docs/superpowers/specs/2026-11-01-equipo-design.md
  • Plan: docs/superpowers/plans/2026-11-03-equipo-plan-2b-direct.md (READY AFTER FIXES at Opus round 1; fixes applied; see its dispositions)
  • Its brief and fix brief: CODEX-BRIEF-plan-2b.md, CODEX-BRIEF-plan-2b-fixes-R1.md beside it
  • Evidence: docs/superpowers/specs/2026-11-03-direct-cli-probe.md and docs/superpowers/specs/2026-11-03-bwrap-nesting.md
  • Plan 2 as built (this branch's history) and its plan docs/superpowers/plans/2026-11-02-equipo-plan-2-runner.md
  • Plan 1 carries and rulings: amadan discuss show oficina/equipo 2
  • Roadmap: docs/superpowers/plans/2026-11-01-equipo-roadmap.md
  • Repo rules: this repo's AGENTS.md.
  • How plan 1 was built (ledger pattern, Codex launch scripts, review packages): plan 1's controller brief in git history, git show e5c58ab:docs/superpowers/plans/CONTROLLER-BRIEF-plan-1-build.md.

How to run it

Use superpowers:subagent-driven-development, with these adaptations that Paul approved:

  1. Implementers are Astra via Codex, not Claude subagents (Anthropic weekly usage is the scarce resource). One Codex run per task: - Extract the task brief with the skill's scripts/task-brief. - Write a launch script and run it with the sandbox off: setsid nohup <script> &, where the script cds into this worktree and runs codex exec -m gpt-6-astra -c model_reasoning_effort="high" --dangerously-bypass-approvals-and-sandbox -o <final.md> "<prompt>" </dev/null > <log> 2>&1; touch <done-marker>. - Within 20 seconds, check the log exists and is growing. Wait on the .done marker with a background until loop, never pgrep -f. - The Codex prompt names the brief file and the report file, and says: commit with --author "codex <codex~paul@keymail.dev>"; do not spawn Anthropic-model reviewers or any other agents; do not create .claude/HANDOFF.md; scratch under $TMPDIR; leave Go caches at their defaults; run targeted tests only (go test ./pkg/... -run TestX); bind any server to 127.0.0.1; stop what it starts. - Fix rounds are a new Codex run given the brief, the report file and the findings.
  2. Per-task review by risk. Tasks 2 (PID namespace containment), 3 (egress), 4 (account binding and attestation), 7 (journal and recovery), 8 (tool, permission and question relay) and 10 (readback and publication) each get a task review by an Opus subagent (model opus), using the skill's task-reviewer template and review package. The other tasks get no per-task review; the final whole-branch review covers them. Record this as a ruling in the ledger at the start.
  3. Final whole-branch review by Opus, one fix wave, one scoped re-review, as the skill says.
  4. Run the repo's full make ci once before the final review, not in a loop.

Never

  • Merge, deploy, or push to main.
  • Enrol a machine, sign in to a provider, create credential homes, or run Task 11b's live certification. Those need Paul's dedicated Equipo credential homes. The one exception: Task 5's authorised recording run (at most two tiny Claude runs on /home/paulca/.paseo/zerosub/homes/claude-2b21c7944303, which has allowance), inside the plan's bubblewrap where possible. Build and test everything else offline (network allowed), prepare 11b's live steps as a script and checklist, and stop there with a handoff saying exactly what Paul must do.
  • Touch another session's Paseo agents, workspaces or daemon configuration.
  • git worktree prune, git clean -fdx outside $TMPDIR, sudo, or changes to GOCACHE/GOMODCACHE.
  • Chain setup commands with ; (use &&).

Keep the branch page true

  • Push after each completed task.
  • Advance the branch's Amadan tasks as you go: amadan task list oficina/equipo -branch plan-2b, then amadan task set oficina/equipo <id> -branch plan-2b -status Done.
  • Rulings that need Paul go in a discussion on the branch (amadan discuss new oficina/equipo -branch plan-2b ...); keep going on everything that does not depend on the answer.
  • When you finish or stop, write the branch handoff (amadan branch handoff ... -state - -next ...) and end your final message with: what was built, test and review results, every ruling you 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.

UI rule from Paul

No coloured left-border accents on cards, notes or list items; hairline border and tint instead (docs/mockups/README.md).

Briefs to Codex

Say in every Codex prompt itself (not only the brief file): do not start a copy-review server; list user-facing strings instead. Say "network allowed"; never "offline", which made an earlier run set GOPROXY=off.