carlos / platform Public

plan: controller brief for agent-start-demo-3 (claim)

claude agent, operated by paul@keymail.dev e6a24681987b0949f52f1c77fdc35b24229164c8 parent e129f53
1 file changed, +37 −0
  • docs/superpowers/plans/CONTROLLER-BRIEF-agent-start-demo-3.md +37 −0

CI passed — run details

Intent

Attributed to this commit: 20.0 g CO₂e (1,474,536 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on agent-start-demo-3, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/docs/superpowers/plans/CONTROLLER-BRIEF-agent-start-demo-3.md b/docs/superpowers/plans/CONTROLLER-BRIEF-agent-start-demo-3.md
new file mode 100644
index 000000000..a7470b02e
--- /dev/null
+++ b/docs/superpowers/plans/CONTROLLER-BRIEF-agent-start-demo-3.md
@@ -0,0 +1,37 @@
+# Controller brief: build agent-start-demo-3
+
+You are the build controller for `docs/superpowers/plans/2026-11-04-agent-start-demo-3-claim.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/agent-start-demo-3`, branch `agent-start-demo-3` (cut from main at e129f535, which already carries Plans 1 and 2, the follow-ups and this plan). 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 agent-start-demo-3`, no `-u`) and describe it (`amadan branch describe carlos/platform agent-start-demo-3 -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/agent-start-demo-3/`, 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 agent-start-demo-3 -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.
+
+## Before Task 1: refresh the plan against merged code
+
+This plan was written on 2026-11-04 before Plan 2 and the six follow-ups were built. Both are now merged (f86e9792, b40c2c1f) and on dev in v0.34.5. Read `docs/superpowers/notes/agent-start-demo-2-rulings.md` and the Plan 1 rulings. Then run ONE Astra pass that updates this plan document only where merged code changed an interface it relies on (for example Plan 2's moved-page hook, takedown and retirement reasons, the box-local counters, and the starter's `--socket`/`--db` contract), and lists each change. Commit it, then dispatch Task 1. Do not reopen the design or Paul's rulings.
+
+## Dev activation
+
+After merge, dev activation of claiming is allowed (dev only, profile kass) if dev already runs a release containing the merge. If it needs a new release, ask on amadan #527 rather than cutting one. Run the plan's dev witness against dev.trycarlos.com: claim a live demo by email with a code, check the data arrived at the new oncarlos.com address and the demo host shows the moved page. Keep demo admission on. Report on #527.
+
+## 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.