docs: record the plan 3 build rulings and deferred minors
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+71
−0
docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md+64 −0scripts/runner-reference-allowlist.json+7 −0
CI failed — run details
Intent
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md| index a1f42d0c..d08588f0 100644 |
| --- a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md |
| +++ b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md |
| @@ -5544,3 +5544,67 @@ The controller measured team at 45.985s against 45s and containment at 10.817s a |
| Inspected Plan 3-added tests before changing allowances. Team's period backfill took 0.73s and its 100,000-row bounded-history test 0.56s in the baseline. Containment's coordinator mount test performs one mount-plan inspection with no repeated launches. No substantial redundant work could be removed without reducing coverage; no test code, assertions, row counts or timeouts changed. |
| Updated team to 60s (30 percent above loaded CI) and added containment at 15s (38 percent above loaded CI), with both observed local measurements and the loaded CI measurements in the records. The final budget-enforced package run and `make budget` passed. No screen, boot or size budget changed in this timing commit. No new guard or app-owned copy was introduced. |
| + |
| +## Controller rulings (build of plan 3, 2026-11-03/04) |
| + |
| +Every decision the build controller made on Paul's behalf, in order, with what it costs if wrong. Discussions 7 and 8 on the plan-3 branch hold the two product rulings. |
| + |
| +- - Ruling: implementers are Astra via codex exec (gpt-6-astra, effort high), one run per task, sandbox off; fix rounds are fresh Codex runs given brief+report+findings; per controller brief (Paul approved); cost if wrong: none beyond the brief's own choice. |
| +- - Ruling: per-task Opus review only for Tasks 5, 6, 7, 10, 15, 16, 17, 20; other tasks get no per-task review and rely on the final whole-branch Opus review; per controller brief; cost if wrong: defects in unreviewed tasks surface only at final review, so one larger fix wave. |
| +- - Ruling: implementers do not run `make ci`; Tasks 11 and 21 run the build, `make migration-check`, `make budget` and targeted tests; the controller runs `make ci` once before the final review; the brief says once, not in a loop, and the plan's Task 11/21 "make ci once" would make it twice; cost if wrong: a 3a-only CI break is found after 3b is built, so a later fix. |
| +- - Ruling: Task 16 does not edit docs/mockups/onboarding.html; it lists the proposed wording with the copy inventory; the plan says "only after the later copy pass" and no copy pass happens overnight; cost if wrong: the mockup lags the product until the copy pass. |
| +- - Ruling: docs/api/equipo-v1.md (Task 20) and docs/plan-3-acceptance.md (Tasks 11/21) are written as drafts headed "Draft: pending copy review"; no README change; the plan requires reviewed prose and no copy review can happen overnight; cost if wrong: Paul re-edits draft prose. |
| +- - Ruling: new provider/coordinator policy hashes go into the release manifest as uncertified; release-eligibility tests must refuse them until Paul's live certification; the plan forbids fake fixtures certifying a production tuple; cost if wrong: none; release stays blocked until Paul certifies. |
| +- - Ruling: the "Usable acceptance" live steps of Tasks 11 and 21 are prepared as a script and checklist (docs/superpowers/plans/LIVE-GATE-plan-3.md) and not run; the brief forbids live provider sessions, enrolment and sign-in; cost if wrong: none; Paul runs them. |
| +- - Ruling: each implementer writes its full report to the workspace report file AND appends the plan-required guard/mutation record to docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md; the plan's global constraint requires that controller report in-repo; cost if wrong: duplicated text. |
| +- - Ruling: Plan 2b interface comparison ("Before Task 1, compare completed Plan 2b interfaces ...") is done by the Task 1 implementer and recorded in CONTROLLER-REPORT-plan-3.md; it needs code reading, not controller judgment; cost if wrong: Task 1 run is longer. |
| +- - Ruling: copy strings are added to copy.go as individually pending entries and each report lists them; controller collects the list for Paul's later copy review; no copy-review server; per brief; cost if wrong: none. |
| +- Ruling: Task 5 ⚠ "retry creates a queued turn admitted at next claim" is acceptable; admission happens at claim for every coordinator turn, and the brief's "new admitted turn" is satisfied when it is claimed after containment is recorded; cost if wrong: retry is admitted one poll later than intended. |
| +- Ruling: Task 5 minors 3 (unknown->waiting), 5 (missing audit), 1, 9 folded into fix round 1 because they touch global constraints; cost if wrong: slightly larger fix round. |
| +- Ruling: Task 6 minors 2 (test breaks at Task 8), 3, 4, 5, 8 (certification evidence honesty) folded into fix round 1; they are load-bearing for Tasks 8/9 or certification truth; cost if wrong: larger fix round. |
| +- Ruling: Task 6 ⚠ items (Codex 0.165.0 honouring catalog/config keys; production receipt before delivery check; Task 7 supervisor wiring) resolved as: Codex behaviour is a live-certification item for Paul; receipt and supervisor wiring are Task 7's scope and carried into its dispatch; cost if wrong: Task 7 misses wiring and the final review catches it. |
| +- Ruling: Codex coordinator profile may contain exactly list_mcp_resources, list_mcp_resource_templates, read_mcp_resource (Codex 0.165.0 always registers them with any MCP server; no config key), only when Equipo is the sole MCP server and it advertises no resources and returns empty/error; these tools can only read the Equipo server, which serves nothing, so they grant no shell/file/search/browser reach; cost if wrong: Paul wants a strictly empty Codex inventory, and the Codex coordinator stays uncertifiable until an upstream control or a pin change. |
| +- Ruling: Task 7 "required confirmed decisions" = decisions bound to open (non-terminal) work + team rules + confirmed preferences; decisions on finished/cancelled work are optional retrieved context trimmed before recent messages; the plan requires confirmed decisions retained but also requires long conversations to keep producing turns; only open work needs binding decisions; cost if wrong: coordinator forgets an old finished-task decision the person expected it to keep. |
| +- Ruling: Task 7 minors 1, 2, 4, 5, 6, 8, 9 folded into fix round 1 (test truth, person-visible state, instance write load); cost if wrong: larger fix round. |
| +- Ruling: Task 7 round 3 written as an invariant (definitive vs transient refusal classification, table-driven over refusal kind x call x turn state) rather than another example fix; two rounds have each moved the recovery-refusal fault; cost if wrong: one more round. |
| +- Ruling: Task 10 unverified items (rewritten TestPreferencesAtomicInvalidation, replay-before-stale for 4 ops, GET /tasks parity) sent to the implementer to prove with evidence rather than checked by the controller; cost if wrong: none. |
| +- Ruling: Task 10 minors 1 (audience test proves only default-deny), 3 (replay after lost response), 5 (encoded-path lane classification skips CSRF), 10 folded into fix round 1; security or contract; cost if wrong: larger fix round. |
| +- Ruling: Task 15 invitation secret must be crypto-random with only a keyed hash stored (code derived it from the public ID with the instance key); the brief says random single-use secret; a derived secret is recoverable by anyone holding the key and from the ID; cost if wrong: none, strictly safer. |
| +- Ruling: Task 15 share-link secret stays in the query string for scriptless use but is exchanged on first GET for a short-lived invitation cookie and redirected to a clean URL; limits exposure to one logged request; fragment-only links would need JavaScript; cost if wrong: one access-log line per invitation holds a single-use, 7-day, revocable secret. |
| +- Ruling: Task 15 restore the owner's direct "Add a person" form; the brief adds invitations, it does not remove direct adds; cost if wrong: Paul wanted invitations only; remove the form later. |
| +- Ruling: Task 15 minors 2, 3, 7, 10 folded into fix round 1 (UX dead-ends and test truth); 4, 5, 6, 9 deferred; 8 resolved by restoring the form. |
| +- Ruling: Task 16 runner source ceiling raise 9300->9400 accepted; measured, reason recorded, within plan's ~8,500-9,500 estimate; cost if wrong: none. |
| +- Ruling: Task 16 minors 1, 3 (upgrade impossible), 4 (embedded digest check), 6 (truncated curl|sh), 8 folded into fix round 1; unverified 403->401 change and service crash-loop sent to implementer with evidence required; cost if wrong: larger fix round. |
| +- Ruling: Task 16 xattr ownership markers accepted for the Linux/amd64 lane; fail closed without overwrite where unsupported; cost if wrong: a person on an unusual home filesystem gets an unhelpful diagnostic. |
| +- Ruling: Task 17 production login runs the official CLI attached to the person's runner terminal in the dedicated home (passthrough), then probes identity and saves; Equipo never parses or forwards codes, so no unverified output contract is needed and the live gate only confirms behaviour; the plan already makes the runner terminal the only place codes are entered; cost if wrong: Paul wanted the instance to display device codes; that remains an optional later addition. |
| +- Ruling: Task 17 minors 1-5, 7-10 folded into fix round 1; minor 6 (library link on every stage) deferred; budget raise allowed with measured reasons. |
| +- Ruling: Task 20 web device list/revoke page is in scope now; a web-only person who loses a phone must be able to revoke its 30-day bearer; the plan requires immediate revocation; cost if wrong: small extra page. |
| +- Ruling: Task 20 minors 1, 2, 3, 4, 6, 7, 8 (runner projection lacked instance filter), 11, 12 folded into fix round 1; security/tenancy/test truth; cost if wrong: larger fix round. |
| +- Ruling: controller added the six plan3test fixture-key fingerprints to .gitleaksignore itself (f49b41f) instead of a Codex run; the values are literal fixture strings like "plan3-fixture", and this follows the existing .gitleaksignore pattern; cost if wrong: none; the final review sees it. |
| +- Ruling: one more make ci after the CI-fix run (third invocation, second full pass); the brief's "once" means not in a loop; a gate that failed must be shown passing before the final review; cost if wrong: ~10 extra minutes of shared-machine CPU, niced. |
| +- Ruling: I1; only the requesting person approves their task's plan; mode resolves from the requester's override; spec: tasks use only the person's connections, so only that person consents; cost if wrong: owners wanted to approve for others; add later. |
| +- Ruling: I2; in Plan 3 only the requester edits plan steps/connections or corrects the project; others read and discuss in the thread; spec: "another person's active task cannot receive new execution instructions in Plan 3"; cost if wrong: teammates lose plan editing on others' tasks until Plan 4 routing. |
| +- Ruling: final fix wave includes all 5 Important (I5 handled by make -k ci after the wave) and minors M1-M8 plus the two deferred items; reviewer's disagreement accepted: use `make -k ci` so every step runs; cost if wrong: larger wave. |
| +- Ruling: gitleaks allowlist is value-scoped (exact fixture line), not path-scoped; a path+AND allowlist in gitleaks 8.30 suppressed a probe secret in the same directory; cost if wrong: none. |
| +- Final: parked; TestMigrationModels normalises 0032's single-quoted defaults in memory because the pinned Rastrillo v0.30.1 gormlite parser keeps the quotes; Ruling: accept; the executable migration, schema snapshot and TestFinalFixSQLDefaults still check the real SQL; Rastrillo should be asked to fix its default parsing rather than us carrying the shim; cost if wrong: model-comparison gate is blind to 0032 default drift until Rastrillo is fixed. |
| +- Final: parked; ack revision read back outside the write transaction (final-rereview Minor 1) and 3 other re-review minors; Ruling: acceptable to merge; listed for the next plan. |
| + |
| +## Deferred minors (accepted for merge) |
| + |
| +- Task 5: minor (deferred) 7: Claude coordinator profile has Bash/Read/Glob/Grep; carried into Task 6 dispatch (Task 6 mandates empty built-in inventory). |
| +- Task 5: minor (deferred): 2 recovery_charges project_id=0 counts every person's charges (fails closed); 4 poll queues pre-existing messages after upgrade; 6 coordinatorAudit uses time.Now; 8 dead code (decodeCoordinator, TurnRecord.SessionID dup, mustCoordinatorJSON drops errors); 10 single-writer race test not symmetric; 11 Intend conversation guard has no mutation; 12 delivery validator inside write txn must stay bounded. |
| +- Task 5: minor (deferred): poll now errors on every call for revoked authority/revision mismatch instead of parking; delivery with no prior session.bound binds its own session. |
| +- Task 6: minor (deferred): 1 audit_ids selects historic audits LIMIT 128; 6 schema minimum 0 vs project_id>0; 7 readToolTask twice; 9 ClarificationQuestion lacks JSON tags; 10 runnerproto imports runner/provider for tool names. |
| +- Task 6: minor (deferred): failed/uncertain undelivered turns keep journal rows (bounded by failures); pruning relies on Task 7 acking delivery via Journal.Ack; one extra read per event ack. |
| +- Task 6: minor (deferred): no direct BuildPolicy test for Claude + native declaration; inventory check can't see a toolless MCP server (config readback covers it). |
| +- Task 7: minor (deferred): 3 identity subtest hits AccountID precheck not preflight comparison; 7 Config.Tools unused, AdmissionID conflated with turn ID. |
| +- Task 7: minor (deferred, final review should check): instance may fence an uncertain contained turn on any refusal, releasing its blocker without the person's choice (hedged; plan says uncertain turns wait for the person); containment withheld during transient delivery failure briefly holds turns after reset; stale retry-map entry adds up to 15s; unknown-containment reports retry every 15s unbounded. |
| +- Task 10: minor (deferred): 2 ack revisions computed as m.Revision+1; 4 nulls rejected inside opaque updated_input; 6 personapi reads query tables directly; 7 cancel/answer now go through s.write (behaviour change); 8 GET routes don't answer HEAD; 9 layering drift (runnerproto HTML helpers, GORM-tagged kernel.Project). |
| +- Task 10: minor (deferred -> carried into Task 11): API list order now random-id ascending (loses recency across pages); read transaction does not recheck session epoch; no API test that a conversation/thread cursor is rejected for another principal or wrong stream; HTML conversation cursors still write unswept rows; 0023 edited in place (fine pre-release, no deployed DB has it). |
| +- Task 15: minor (deferred): 4 invitation key set as NewAuth side effect; 5 joinInvitation re-implements SetMember activation; 6 setup.Dependencies naming mixes roster/invitation; 9 Referrer-Policy no-referrer makes Origin: null on POSTs (SameOrigin checks Sec-Fetch-Site first). Task 20 must give API invite acceptance its own lane for pending recipients (carried). |
| +- Task 15: minor (deferred): invite cookie set before sign-in, so a sign-in link opened in another browser lands on a generic 422 until the share link is reopened (+3 minors in task-15-rereview1.md). |
| +- Task 16: minor (deferred): 2 runnerInstance error discarded; 5 no success-path CLI flow test; 7 privateDirectory rejects system symlinks above $HOME (fails closed); 9 runner.install.label is a %s format string in copy (note for copy pass). |
| +- Task 16: minor (deferred): CachedAvailable never re-verifies late-deployed release files; runner.waiting_accounts logged every 5s; identical-content unmarked file refused; typed label ignored when valid saved pairing exists; xattr-unsupported home gives generic destination diagnostic (fails closed; ext4/xfs/btrfs fine). |
| +- Task 17: minor (deferred, final review should triage): account login polls instance every 100ms and one transient network error cancels the login and removes the home; version pins in three places with no tying test; every RefusalError shows the setup-ID message even for 401/403; docs/live-gate.md:96 runner.env path disagrees with installer default (~/.local/share/equipo-runner). Codex `login --device-auth` argv has no repo fixture (from plan text; fail-closed behind --help probe); live-gate item. |
| +- Task 20: minor (deferred): 5 expires_at zero for approved-unexchanged rows; 9 project rules reachable only through the API (no HTML surface); 10 OpenAPI uses one response set for every operation. |
| +- Task 20: minor (deferred): every bearer request writes last_used_at and a failed write fails auth; schema.sql has a trailing ALTER TABLE rather than an edited CREATE. HKDF change invalidates pre-fix device credentials/cursors (none deployed). |
diff --git a/scripts/runner-reference-allowlist.json b/scripts/runner-reference-allowlist.json| index 62aa4184..3665d20a 100644 |
| --- a/scripts/runner-reference-allowlist.json |
| +++ b/scripts/runner-reference-allowlist.json |
| @@ -7096,5 +7096,12 @@ |
| "match": "equipo-runner", |
| "count": 2, |
| "reason": "Plan 3 final-review test of the direct runner's install path and runner.env location, not historical daemon orchestration." |
| + }, |
| + { |
| + "path": "docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md", |
| + "line_sha256": "1604c3b3f3b11746a11f5c7b2a7c6b7dc74061f919beb85a7570551bbe83afa4", |
| + "match": "equipo-runner", |
| + "count": 1, |
| + "reason": "Plan 3 controller ruling quoting the direct runner's account login subcommand, not historical daemon orchestration." |
| } |
| ] |