plan: controller brief for static-markdown-twins
1 file changed,
+33
−0
docs/superpowers/plans/CONTROLLER-BRIEF-static-markdown-twins.md+33 −0
CI passed — run details
diff --git a/docs/superpowers/plans/CONTROLLER-BRIEF-static-markdown-twins.md b/docs/superpowers/plans/CONTROLLER-BRIEF-static-markdown-twins.md| new file mode 100644 |
| index 000000000..54115fc8a |
| --- /dev/null |
| +++ b/docs/superpowers/plans/CONTROLLER-BRIEF-static-markdown-twins.md |
| @@ -0,0 +1,33 @@ |
| +# Controller brief: build static-markdown-twins |
| + |
| +You are the build controller for `docs/superpowers/plans/2026-11-04-static-markdown-twins.md` in carlos/platform. Paul approved the design (`docs/superpowers/specs/2026-11-02-agent-start-demo-design.md`), this plan and its rulings on 2026-11-04, and chose subagent-driven execution. Worktree: `/home/paulca/amadan.net/carlos/platform/.claude/worktrees/static-markdown-twins`, branch `static-markdown-twins` (cut from `agent-start-demo-plans` at 3e466eb3, which is main plus the plan documents). Read AGENTS.md (stopping rules, census, Build & test) and, for demo work, `docs/superpowers/notes/agent-start-demo-1-rulings.md`. |
| + |
| +Push the branch (`git push origin static-markdown-twins`, no `-u`) and describe it (`amadan branch describe carlos/platform static-markdown-twins -summary ...`) before Task 1. Commit as `git -c user.name=claude -c user.email='claude~paul@keymail.dev' commit` (Codex: `--author "codex <codex~paul@keymail.dev>"`). Subjects under 80 characters. "packed-refs.lock" / "credential storage lock" messages on push are the sandbox; check `git ls-remote`. |
| + |
| +## How to run it |
| + |
| +Use `superpowers:subagent-driven-development`, adapted: |
| +1. **Implementers are Astra via Codex.** One run per task: extract the brief with the skill's `scripts/task-brief` plus Global Constraints and that task's Review Focus lines; launch a script with the sandbox off via `setsid nohup`: `codex exec -m gpt-6-astra -c model_reasoning_effort="high" --dangerously-bypass-approvals-and-sandbox -o <final.md> - < <prompt> > <log> 2>&1; touch <done>`. Within 20 s check the log says `model: gpt-6-astra` and `reasoning effort: high` and grows. Wait on the `.done` marker with a background until-loop, never on pgrep. Scratch under `/home/paulca/.cache/tmp/claude-1001/static-markdown-twins/`, deleted at the end. The Codex prompt says: commit with the codex author; spawn no agents; no copy-review skill or review server; no `.claude/HANDOFF.md`; leave Go caches at defaults; targeted tests only; bind servers to 127.0.0.1 and stop them; never touch AWS, DNS or real boxes. |
| +2. **Reviews:** an **Opus** subagent (model `opus`) reviews each task the plan marks for independent review, briefed from `docs/superpowers/reviews/REVIEW-BRIEF-TEMPLATE.md`; one whole-branch Opus review at the end, one fix wave, one scoped re-review. AGENTS.md stopping rules apply: stop at the first round with no P1, three rounds max, two rounds in one fault family means stop and offer Paul the choice. |
| +3. **Census:** follow the plan and `make census-card` / `census-propose`; Opus is the cross-model reviewer for Codex-authored census changes; record verdicts on #280. Never ask Paul for a census ruling. |
| +4. **Copy:** human-facing strings in the plan's copy table go through a Luna copy pass (pattern: `docs/superpowers/specs/LUNA-COPY-*`), applied verbatim, unless the plan says Paul reviews them himself; then collect them and post on the branch for Paul. |
| +5. CI on amadan is the full gate; targeted tests locally, niced and serial. |
| + |
| +## Landing |
| + |
| +When the whole-branch review is clean and CI is green on the exact tip, you may merge: re-merge main if it moved and wait for CI again, then run exactly `amadan branch merge carlos/platform static-markdown-twins -squash -expect <full 40-char sha>` with a subject under 80 characters and a short body. **`-squash` is mandatory** (an earlier controller forgot it). Keep the worktree until the merge succeeds. Never cut a release. |
| + |
| +## Scope note |
| + |
| +This is a general platform feature, not demo work. Merging is allowed; no dev roll is needed (it ships with the next release). Its docs page copy goes to a Luna pass, then post the final strings on the branch for Paul. |
| + |
| +## Never |
| + |
| +- Release, roll to flagship, or touch flagship boxes, its console or trycarlos.com. |
| +- Touch AWS, DNS, Openprovider or a real box except as this brief allows. |
| +- `git worktree prune`, `git clean -fdx` outside scratch, `sudo`, `GOCACHE` changes, bare `amadan branch merge`, deleting lock files you did not create, chaining setup commands with `;`. |
| +- Name a tenant in code, tests or docs (use shop, example.com). |
| + |
| +## Keep the branch page true |
| + |
| +One amadan task per plan task (plus copy pass, whole-branch review, landing); Started at dispatch, Done at review clean. Push after each task. Questions only Paul can answer go in a discussion on the branch; keep going on everything else. When you finish or stop, write the branch handoff and end with: what was built, test and review results, every ruling (with what it costs if wrong), the merge sha or tip. Clean up scratch and processes. |