docs: agent-start-demo plan 1 controller rulings and follow-ups
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/superpowers/notes/agent-start-demo-1-rulings.md+90 −0
CI failed — run details
Intent
<task-notification> <task-id>b04h4eq8d</task-id> <tool-use-id>toolu_01SGsqicJhda46PnTHieTiAD</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/cd1b6de2-ac77-426f-a77d-fc5436969c88/tasks/b04h4eq8d.output</output-file> <status>completed</status> <summary>Background command "Wait for P3 fix and check CI" completed (exit code 0)</summary> </task-notification>
<task-notification> <task-id>acfff640a1c48b8f7</task-id> <tool-use-id>toolu_017ZgUAnHMK5Dduo4wSpn5s6</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/cd1b6de2-ac77-426f-a77d-fc5436969c88/tasks/acfff640a1c48b8f7.output</output-file> <status>completed</status> <summary>Agent "Final scoped check of R26 fix" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>- **P3-1: ADDRESSED** (`internal/instancectl/demo_policy.go:26`, `internal/host/egress_source.go:262`, `internal/instancectl/egress.go:222`, `internal/host/claimstop_run.go:194`). - **No extra read:** on a box never in demo mode, `/start` makes no `HostDemo` read and spawns no registry child. - **No new refusal:** ordinary rows carry no demo markers, so their egress and runtime answers are unchanged. - **Read failures:** a failed read falls back exactly as before the branch, because the new refusal needs `err == nil`. - **Marker:** none. The fix keeps no flag and writes no file; it reads the row's demo columns from the registry snapshot root already reads for egress. So there is nothing to create, protect or remove when demo mode is uninstalled. - **Former-demo box:** a successful read of a marked row still gets `DEMO-POLICY` before systemctl start, on the legacy, sidecar, gen and `/cmd` paths. Rootfs is refused through `instanceRegistryHostRuntime`. - **P3-3: ADDRESSED** (`internal/console/apidemo.go:345`, `:420`, `:437`). Create and update both return the stored `life.ExpiresAt`. - **New in the fix diff:** no P1 and no P2. Three P3s, none needing a fix now: - **P3-5** (former-demo containment): a former-demo start that hits a registry read failure is not refused by root. R26 requires this. The agent's `demoDisabledFor` still blocks that wake first. - **P3-6** (refuse before acting): the refusal now comes after `setTier`, which already wrote the slice's CPU and IO settings. Nothing harmful follows: the unit never starts, and the gen path still cleans up. - **P3-7** (clarity): a start-path refusal skips `remember` and `record`, so GET /egress shows the host's previous report until the next sweep. - **Census:** APPROVE for every changed root unit and envelope: - `Server.demoHandler` (demo_policy.go:19-38): reads less, one fewer `whole:Route` site. - `instanceRegistryHostRuntime` (claimstop_run.go:181-198): adds a refusal only, still 2 read sites. - `registrySource.policyFrom` (egress_source.go:245-266): adds a refusal only, still 12 read sites. - The `instancectl` envelope (egress.go:209-233) and the `host` envelope. Seal ccf8a0e5…2fa8. I ran `TestPlan14RootReadCensus` and `TestCensusScopeIsTheRootBinary` at 6bafbb33: both pass (ok, 7.0 s). - **Verdict: READY.** CI at 6bafbb33 is the one thing I couldn't verify. The review is in `/home/paulca/amadan.net/carlos/platform/.claude/worktrees/agent-start-demo-1/.superpowers/sdd/2026-11-02-agent-start-demo-1-anonymous-apps/branch-review-r3.md`.</result> <usage><subagent_tokens>109969</subagent_tokens><tool_uses>17</tool_uses><duration_ms>206996</duration_ms></usage> </task-notification>
Attributed to this commit: 50.1 g CO₂e (6,428,034 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-1, 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/notes/agent-start-demo-1-rulings.md b/docs/superpowers/notes/agent-start-demo-1-rulings.md| new file mode 100644 |
| index 000000000..ad9cc6705 |
| --- /dev/null |
| +++ b/docs/superpowers/notes/agent-start-demo-1-rulings.md |
| @@ -0,0 +1,90 @@ |
| +# agent-start-demo Plan 1: controller rulings and follow-ups |
| + |
| +Build controller: Claude (Opus), 2026-11-03. Implementers Astra via Codex; reviewers Opus. Every ruling below was made on Paul's behalf under the subagent-driven-development rules; each says what it costs if wrong. |
| + |
| +## Rulings |
| + |
| +- Ruling R1: per-task Opus review for Tasks 1-8, Task 9 covered by the whole-branch review — controller brief §2 and plan risk marks — costs a missed task-level finding in T9 test wiring if wrong. |
| +- Ruling R2: Task 5 wires the create/update handler to demobuild.ValidateSource -> ReserveDemo -> enqueueDemo (may modify apidemo.go); Task 7 adds the live/url status transitions. Until Task 5, an enabled handler spends admission budget, reads the bounded body, then refuses with 503 before reserving anything (T1 step 3: refuse rather than accept unusable jobs). — costs a small rework if wrong. |
| +- Ruling R3: Task 1 ReserveDemo writes app/lifetime, demo row, token hash, host reservation and live-ceiling state in one tx; Task 5 extends that same transaction to write the first demo_jobs row + outbox entry. — the job table is Task 5's — costs nothing if wrong beyond moving code. |
| +- Ruling R4: attempt rows (per-IP/global) are spent in their own transaction before the body is read (so invalid archives still cost an attempt; budget refusals spend nothing). The live ceiling is checked and reserved inside ReserveDemo's transaction. — matches T1 step 3 wording and Review Focus 1 — costs a budget-accounting change if Paul wanted only accepted creates to count. |
| +- Ruling R5: dependency lock pins amadan.net/rastrillo/rastrillo v0.30.2 (latest tag on 2026-11-03, present in the local module cache) plus its full module closure as resolved by go mod; generated by a checked-in generator or documented command, reviewed as data. Fiesta is embedded assets, not a module (plan OQ1). — costs a lock regeneration if the Fiesta lightness work (Rastrillo #158) wants a later tag. |
| +- Ruling R6: kernel/systemd witnesses (T3 TestDemoDenyAllKernel, T6 unit isolation, T9 dev) are written as linux tests gated on an explicit env var naming a designated sandbox; without it they t.Skip with a message saying the witness is outstanding. They are recorded here and in the handoff as NOT evidence; Paul's go is needed. — costs nothing; the gap is reported plainly. |
| +- Ruling R7: the census overlay (make census-propose NAME=agent-start-demo-1) is produced once at Task 9 over the whole branch and rerun after the fix wave, with one Opus census review; per-task reviewers still check new root reads in their diff. CI's TestPlan14RootReadCensus is expected red on interim pushes. — costs interim red CI and possibly a larger single census review. |
| +- Ruling R8: copy strings live in one Go copy map per surface keyed by plan copy IDs, marked draft; Task 9's README prose is drafted and goes through the Luna copy pass with the rest before the whole-branch review. — per controller brief. |
| +- Ruling R9: task reviews use the repo's P1/P2/P3 severities (REVIEW-BRIEF-TEMPLATE) and AGENTS.md stopping rules, which override the SDD skill's five-round loop: at most 3 rounds per task; stop at the first round with no P1; that round's P2s are fixed by the implementer and get one scoped re-review only where they change security/root/termination/storage behaviour (all Tasks 1-8 qualify, so in practice yes); P3s go to the deferred list; two rounds in one fault family -> stop and offer Paul the choice. — costs fewer review rounds than the skill default if wrong. |
| +- Ruling R10: Task 1 fix run waits until Task 2's Codex run finishes (one worktree, one committer at a time). — costs wall-clock only. |
| +- Ruling R11: the dependency lock and the toolchain/cache bundle are separate digests. Task 2 Lock carries the Go version (1.26.10), the Rastrillo pin, the full module closure with h1 sums, the import allowlist prefixes and the entry package; it exposes Lock.ModulesDigest() = SHA-256 of a canonical, sorted serialization of exactly those fields (document the format in lock.go). Task 2 has NO bundle digest. Task 6 owns the bundle: an operator-built directory whose root holds a manifest (sorted lines of relative path, mode, size, sha256 for every file, plus the Go version and the ModulesDigest it was built from); bundle digest = SHA-256 of that manifest file; host.CheckDemoToolchain verifies every file against it and that its ModulesDigest equals the lock. Task 5 Job.BundleSHA256 is the assigned worker's reported, verified bundle digest. — costs a field move between Tasks 2 and 6 if wrong. |
| +- Ruling R12: Task 1 round 3 had no P1, so per the stopping rules its P2-R3-1 fix (run the check on context.WithoutCancel with the 10 s timeout, or never cache the caller's own cancellation; plus a test) is applied by a Codex run after Task 3's run finishes, with no fourth task round; the whole-branch review checks it as newly changed admission behaviour. — costs a whole-branch finding if the fix is wrong. |
| +- Ruling R13: demo network/size enforcement is box-wide from root-owned box config (every instance on a demo-fleet box is a demo), not a root-read signed policy (none exists; deferred to claims). Full text: ruling-R13.md. — costs a root policy reader later if demos ever share boxes with ordinary apps. |
| +- Ruling R14: box mode needs an explicit root-side switch CARLOS_DEMO_BOX=1 plus the fleet/account/domain tuple, so a console host's admission settings never turn a box into a demo box (Task 3 review cannot-verify item + P3-4). — costs one extra operator setting. |
| +- Ruling R15: Task 4 N-1 parked, no further round. A demo app that plants the pending file and deletes its own database gets an empty database, which it could equally produce by dropping its own tables; the invariant "an established demo is never silently reseeded" protects against box loss and agent error, and still holds (a lost disk loses the pending file; the agent never writes it after init). Same fault family as P2-2 (demo DB init), so the two-rounds rule also argues against a third fix. — costs a confusing empty-DB state in a self-inflicted case only; revisit if Plan 3's claim data copy relies on the pending file. |
| +- Ruling R16: box-mode keys (CARLOS_DEMO_BOX and the tuple) stay out of hostenv.Optional, like CARLOS_FLEET; the operator sets them per box in the root-owned host.env (Task 9 operator docs say how). — costs a manual per-box step on dev. |
| +- Ruling R17: a dedicated Codex gate-repair run fixes every non-root-read-census guard failure before Task 8, running the four affected packages' full tests once (niced); census inventories it updates (B8 record-write, claim authority, SQL seal, claimSQLTables) are reviewed in the whole-branch review with the root-read census. The fingerprint regression is fixed by making Demo* fields zero-value-invisible to fingerprints, never by re-pinning expected hashes. — costs one extra run; re-pinning would have hidden a compatibility break. |
| +- Ruling R18: post-promotion settlement. gen>=2: readiness failure or deadline after promotion rolls the channel back to the previous version through the existing adoption rollback and reports failed ("previous version still running"). First publication (no rollback target): report failed with no url; the record stays as promoted (nothing older to protect); the agent's next update replaces it. Status never says live without a ready GET, and never says failed while claiming the old version runs when it does not. — costs a possibly-serving-but-reported-failed first version until the next update or expiry. |
| +- Ruling R19: demo retirement: the agent observes (verifies the console-signed receipt against its own row/config) and calls a root purge verb; root, in demo box mode only, stops-before-delete and removes only paths derived from the named instance/job IDs, which are unique per incarnation so replays cannot hit a later lifetime. Full text ruling-R19.md. — costs: an agent bug could purge another demo's data on the same demo-only box. |
| +- Ruling R20 (refines R18): roll back only to the last generation that passed readiness; if none, report failed with no url and release the slot. The restore wait is bounded by the same 60 s starting bound; on timeout report a plain failure and release the slot. — costs a possibly-broken version left serving when no good version exists, as R18 already accepted for first publication. |
| +- Ruling R19b (amends R19 §3): public demo hosts are NEVER reused. The console keeps a permanent minimal host tombstone (host, demo_id, purged_at) after purge; name generation treats it as taken. With 128x128x100 = 1.6M names and a 100/day global budget, exhaustion is decades away and the 16-try collision retry stays adequate (add a test for retry under a dense tombstone set and a clear DEMO-LIVE-LIMIT-style refusal if all 16 collide). Host-derived instance IDs, paths and unit names are therefore unique per incarnation, and R19's replay argument holds. Root additionally refuses a purge for a host whose current registry row is a live, non-retiring demo with a different demo ID. — costs a slowly growing tombstone table; a name-space change later if volume grows 100x. |
| +- Ruling R20a: R20's "same 60 s bound" is read as a separate 60 s settlement window after the starting window (worst case about 120 s); sharing one deadline would make timeout-triggered rollback impossible. — costs up to 60 s longer slot hold. |
| +- Ruling R21: status may answer 404 once the 7-day abuse-history prune removes a retired job (Task 8 P3-8); 410 holds for the retention window. — costs a less specific answer to agents polling a week-old job. |
| +- Ruling R22: Luna flag 1 (60 s readiness timeout) is correct per the plan (starting bound 60 s); flag 2 ("removed permanently" vs host tombstones) is fine: the demo and its data are removed; the tombstone holds only the retired name. Apply Luna's result verbatim; strings added after the deck (Task 8 fix) get a delta Luna pass. — costs nothing. |
| +- Ruling R23: e2e fixture. When the locked Rastrillo closure is not in the local module cache (CI), the fake builder compiles a stdlib-only fixture that persists its value to the CARLOS_DB path as a plain file, logging loudly; the submitted archive is still the locked starter and still passes ValidateSource. The platform property under test (data survives update on the assigned box) does not depend on SQLite internals. With the closure present, the real starter is used. — costs SQLite-specific coverage in CI only. |
| +- Ruling R24: guard test beats delegated copy: DEMO-CHECK-FAILED must say the check itself failed; use the closest wording to Luna's ("The check for this demo failed. Try again shortly." or whatever minimal change the guard's rule needs), noted in the deck. — costs one string deviating from the Luna pass. |
| +- Ruling R25: P2-4 create/update reply follows the plan exactly (jobId, name, statusUrl, expiresAt; status field `state`; create adds claimToken, claimUrl, claimAvailable:false) and the abuse log stores X-Carlos-Client (trimmed to 100 bytes), per spec §4.1; keep User-Agent only if already stored separately. — costs nothing; the plan is the contract Plan 2's /start text will document. |
| +- Ruling R23b (from the design session, supersedes R23; R23's premise was wrong: Rastrillo is public, proxy.golang.org and sum.golang.org serve v0.30.2 and money/v0.1.0): TestDemoSourceToLiveAndUpdate populates the module cache from the locked closure with a normal online `go mod download` (default proxy and sumdb, verifying the lock's sums) before the offline build, then builds the real starter offline as in production. Download failure fails the test loudly; no substitute fixture. Applied as a follow-up commit after the running fix wave (which implemented R23). — costs CI a network dependency on the Go proxy for one test. |
| +- Ruling R26: P3-1 and P3-3 are fixed before handoff despite being P3s, because P3-1 changes every ordinary box's start path (Global Constraint: ordinary behaviour unchanged) and P3-3 is a one-liner. P3-1 fix: root's ordinary-mode demo refusal must reuse a registry read the start path already performs, and a read failure must behave exactly as before the branch (no new refusal). Census rerun; one scoped check (whole-branch round 3, the last). P3-2 and P3-4 go to the follow-up list. — costs one more small round. |
| + |
| +## R13 in full |
| + |
| +Context: Task 3 run 1 found (correctly) that root has no signed-policy reader: instance control reads only the agent-written registry (RegistryView, registryEgressSource), and the instance-sizes-and-egress design defers root policy verification, revision floors and durable verified state to claims. Building that reader for demos would be a new root input with replay-protection design of its own. |
| + |
| +Decision. The invariant "a demo never has network access or more than the small size" is enforced by root from ROOT-OWNED BOX CONFIGURATION, for every instance on the box, with no per-app input from the agent: |
| + |
| +1. Demo box mode. Root's own environment (the root-owned host env it already reads at start; never a file the agent or an app can write) carries the demo settings named in plan-context (CARLOS_DEMO_FLEET, CARLOS_DEMO_ACCOUNT, CARLOS_DEMO_DOMAIN; CARLOS_DEMO_BUILD_WORKER is Task 6's). When root's config marks this box as a demo-fleet box, EVERY instance start on it is a demo start. The fleet is quarantined (no ordinary apps on it; Task 1 already refuses normal apps on the demo fleet at the console), so there is no per-app demo/ordinary decision for root to get wrong. |
| +2. In demo box mode root, for every start: |
| + - refuses rootfs, sidecar, seed, worker and every command/probe/tty variant it cannot cover; allows only the binary run/gen variants it covers; |
| + - forces the small tier from internal/cgroup/sizes.go whatever the request's tier says, and reads back the effective cgroup values (MemoryMax, CPUWeight, CPUQuota, IOWeight) before reporting started, stopping the unit and failing if they differ; |
| + - requires the unit's effective PrivateNetwork=yes, RestrictAddressFamilies=AF_UNIX, IPAddressDeny=any and empty IPAddressAllow, read back with `systemctl show` before start; failure to prove them is a refusal, never a start. Deliver those properties with a root-owned drop-in that root installs from embedded bytes for the covered instance templates (for example carlos-instance@.service.d and carlos-instance-gen@.service.d demo.conf) only in demo box mode, through the existing bootstrap/unit-install path, so slice-level DNS allows cannot reach the unit's empty network namespace; |
| + - refuses all starts while claims mode is enabled. |
| + Ordinary boxes (no demo config) behave byte-for-byte as today; the drop-ins are not installed there. |
| +3. Agent side (defence in depth and identity, not the network guarantee): the console writes the signed app policy with EgressMode "deny-all" and Demo descriptor through the existing writer/lease/revision machinery; the agent's existing policy cache verifies it (apppolicy.Get). On a demo box the agent refuses to start any route lacking a verified demo policy whose descriptor passes binding checks against the agent's own demo config; on a non-demo box the agent refuses any route carrying a demo descriptor (a box that cannot enforce the contract refuses demos). Neither refusal ever falls back to ordinary behaviour. |
| +4. demo.ValidateBinding(d, account, app, host, lifetime, fleet) is a structural check: app == "tmp-demo-"+publicName, host's single first label == publicName, d.Host == host, d.Lifetime == lifetime and non-empty, ExpiresAt > 0, fleet non-empty. Each caller then checks host's suffix == its configured demo domain, fleet == configured fleet and account == configured holding account (a helper taking demo.Config is fine). Document this split in the function comment. |
| +5. The kernel witness (TestDemoDenyAllKernel) proves the drop-in + readback on a real systemd box; it stays gated per R6. |
| + |
| +Cost if wrong: if Paul later wants demos on mixed boxes, the root contract needs the deferred signed-policy reader after all; the quarantined-fleet design makes that unlikely. The plan text "Root reads the signed descriptor through the existing policy read gate" is superseded by this ruling. |
| + |
| +## R19 in full |
| + |
| +Follows R13: root acts on root-owned box configuration and on the agent's verbs, exactly as it already does for ordinary teardown (/stop, /reset, /sweep). Root reads no per-app signed input. |
| + |
| +1. Observer. The console is the only expiry authority. It writes the signed retirement receipt (apps/<account>/<app>/demo-retire.json) and pushes a retirement notification on the Task 5 build stream to the assigned box. The AGENT verifies the receipt (console key it already trusts for signed app policy), checks it against its own registry row (demo ID, host, lifetime, assigned box == itself) and its own demo box config, and only then drives root. This is option 2 in the Task 8 report; root does not independently re-observe the bucket. |
| +2. Root's verb. instancectl purgeDemoLocal is a root verb the agent calls with the host, the instance ID(s) and the demo ID. Root, in demo box mode only (refuse otherwise): |
| + - stops the host's units and proves the cgroup empty before removing anything (stop-before-delete), refusing if any unit for that host is active afterwards; |
| + - removes only paths it derives itself from the instance ID(s) (instance data dir with DB/WAL/SHM, pending file, assignment state, per-instance runtime dirs), plus build scratch derived from job IDs the agent names that match root's own build-job markers; no-follow, directory-relative, never globbing; |
| + - never touches the shared toolchain/bundle or another instance's paths. |
| +3. Replay and lifetime reuse. Instance IDs and job IDs are unique per incarnation and never reused, so a stale or replayed purge can only name paths of the incarnation it was issued for; a later demo reusing the same public host gets a new instance ID and is untouched. Root therefore needs no durable lifetime fence. Root refuses a purge naming an instance ID that its current registry view shows as the live instance of a non-retiring route (belt and braces against an agent bug). |
| +4. Never placed. If the demo has no assigned box or the assigned box has no local state for it, the agent acknowledges "nothing present" from its own registry; the console accepts an acknowledgment only from the assigned box (or none needed when assigned_box is empty). Absence never authorises deletion of anything; it only completes the acknowledgment. |
| +5. Acknowledgment and release. The agent sends the cleanup acknowledgment to the console over the existing authenticated box door; the console marks the retirement row acknowledged and only then releases the host reservation and the live-ceiling slot. A disconnected box catches up on reconnect (stream replays outstanding retirements, like queued jobs) and does not serve or start the demo before completing it. |
| +6. Initialisation evidence (Task 4 remote marker) is removed only after the database is deleted and the box has acknowledged. |
| + |
| +Cost if wrong: an agent bug could ask root to purge the wrong live demo's data on the same demo-only box; the live-instance refusal in 3 and demo box mode bound that to demo data, which has no backups by design. |
| + |
| +## Follow-up list (P3s, none blocks merge) |
| + |
| +- - Ruling R9: task reviews use the repo's P1/P2/P3 severities (REVIEW-BRIEF-TEMPLATE) and AGENTS.md stopping rules, which override the SDD skill's five-round loop: at most 3 rounds per task; stop at the first round with no P1; that round's P2s are fixed by the implementer and get one scoped re-review only where they change security/root/termination/storage behaviour (all Tasks 1-8 qualify, so in practice yes); P3s go to the deferred list; two rounds in one fault family -> stop and offer Paul the choice. — costs fewer review rounds than the skill default if wrong. |
| +- Task 2: deferred P3s: unicode case-fold dup keys in lock.go; source contract strict (starter docs must say so); .hh/.hpp/.hxx not listed; case-fold path collisions; TrimDiagnostics has no truncated signal (carry to Task 6: DEMO-BUILD truncation notice); generator GOSUMDB=off comment |
| +- Task 1: deferred P3s (r3): lock waiters cannot give up early; duplicate-failure detection by error text. |
| +- - Ruling R13: demo network/size enforcement is box-wide from root-owned box config (every instance on a demo-fleet box is a demo), not a root-read signed policy (none exists; deferred to claims). Full text: ruling-R13.md. — costs a root policy reader later if demos ever share boxes with ordinary apps. |
| +- Task 4: deferred P3s: spy excludes marker keys from counts; bare DEMO-DATA error for every cause; relabel baseline test thin; N-2 garbage pending file blocks own wakes. |
| +- Task 3: fix round 1/3 re-review: all r1 findings addressed; NOT READY on new P1-A (TemporaryFileSystem=/run hides /run/carlos-control, which the templates list in InaccessiblePaths without '-': every demo unit likely fails 226/NAMESPACE [family: demo unit startability, fails closed — not the r1 isolation family]); P2-A box-mode keys in hostenv.Optional let region/shared scope flip every box into a demo box [family: box authority keys]; P3-A..D deferred except P3-A. Fix round 2 queued behind Task 5. |
| +- Task 3: deferred P3s: witness lacks abstract-socket/fd/other-path cases (P3-B); readback misses later BindPaths remounting /run/dbus (P3-C); stale drop-in on ordinary box only logs. Task 9 docs: per-box demo keys must survive host.env rewrites (like CARLOS_FLEET). Kernel witness NOT run (needs Paul): one run settles P1-A for real. |
| +- Task 6: deferred P3s: init never retries after a transient probe failure (box silently stops building until restart) [worth fixing in whole-branch wave]; CheckBundle ignores ctx; /demo-build routes 503 on worker-less demo boxes; property-readback completeness; unused host wrapper; overlay sizing; strict mount verification. Kernel witness NOT run (needs Paul). |
| +- Task 5: deferred P3s: non-writer console makes one S3 lease attempt per admitted create under the lease lock; spool path logged raw. Operator docs (Task 9): CARLOS_DEMO_CONSOLE_URL per box in host.env, survives rewrites (R16). |
| +- Task 7: deferred P3s: status says "failed, submit another update" during settlement while updates are still refused (fix in whole-branch wave: status should say "finishing, retry shortly"); late rollback reported as plain failure; doomed rollback retried each tick for 60 s; gen1 vs gen2 timeout copy differs; publishReadyDemos serial 5 s probes per tick. |
| +- Task 9: committed 21cb71e1 (integration tests, census overlay, README draft, copy deck, two deferred fixes). Task 8: fix t8f1 dispatched (FIX_BASE 21cb71e1) |
| +- Task 8: deferred P3s: stale readiness advertised on reconnect (P3-10: clear w.ready at Connect start/end); retirements on stream read loop with 30 s budget (P3-11: separate serial goroutine); wrong-bucket finalize; P3-5..P3-7 from r1. Feed P3-10/P3-11 to the whole-branch fix wave. |
| +- Whole-branch review r3 (scoped, last): READY; census APPROVE every changed unit/envelope (seal ccf8a0e5...2fa8). Follow-up P3s: P3-5..P3-7 (r3), P3-2/P3-4 (r2). |
| + |
| +## Not evidence yet |
| + |
| +The gated kernel and dev witnesses (TestDemoDenyAllKernel, the Task 6 build-unit isolation tests, TestDemoDevKernelAndPurge) have not run. They need a designated systemd sandbox and Paul's go (discussion 527). |