plans: Plan 4 R15, replica floor as the third root protocol floor
Paul chose option A at the round limit: the replica floor joins the moves and seeds root floor framework, so its exclusion, crash ordering, boot selector and recovery unit enforce it. Closes Astra round 3's two P1s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/superpowers/plans/2026-11-01-stateless-replicas-4-deploy-and-drill.md+9 −0
CI passed — run details
Intent
<task-notification> <task-id>bngtj5qoi</task-id> <tool-use-id>toolu_018f9NH7JrKihCNk1hQrp46f</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/72128d15-58b8-452f-9f7e-8e864e8854d2/tasks/bngtj5qoi.output</output-file> <status>completed</status> <summary>Background command "Run Astra plan review round 3" completed (exit code 0)</summary> </task-notification>
Fable 5.2 might be able to offer a steer too to break any deadlock.
A
Attributed to this commit: 47.0 g CO₂e (5,588,301 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on stateless-replicas-4, 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/2026-11-01-stateless-replicas-4-deploy-and-drill.md b/docs/superpowers/plans/2026-11-01-stateless-replicas-4-deploy-and-drill.md| index 66e0808fc..8b3cdc5be 100644 |
| --- a/docs/superpowers/plans/2026-11-01-stateless-replicas-4-deploy-and-drill.md |
| +++ b/docs/superpowers/plans/2026-11-01-stateless-replicas-4-deploy-and-drill.md |
| @@ -138,6 +138,15 @@ Round 2 found the same fault families again. Under stopping rule 2, these ruling |
| - Tests: legacy released, then upgrade, then failure, then failure, then a returning box joins A; a legacy failed record refuses copies 2. |
| - **R14 (D2), parity.** `/deploy` is added to the coordinator row at `parity/parity.tsv:249`, and the parity docs and `internal/console/parity_test.go` stay green. |
| +- **R15 (Paul, 2026-11-11, option A; replaces R10's separate marker): the replica floor is the third root protocol floor.** |
| + - It lives on the framework the moves and seeds floors already use (`internal/host/rootmovesfloor*.go`, `readRootProtocolBound`). Its exclusion, crash ordering, boot selector (`rootFloorBootCandidate`, `guardexec.go`) and recovery unit (`units/carlos-system-recover.service`) therefore enforce it, and nothing new is invented. |
| + - Arming is a single transaction under that exclusion. It checks that the installed executable is at or above StatelessReplicasFloor, writes the bound durably, and only then authorises the first projection that needs the floor: copies above 1, a retiring assignment or a fleet tier. |
| + - Tests: |
| + - starting unarmed, concurrent activation and arming, in both orders; |
| + - an armed bound, an unfinished journal and a below-floor `carlos.prev`, run through executable selection; that `.prev` is refused; |
| + - the existing `testRootProtocolFloorCrashes` extended to the third floor. |
| + - This closes Astra round 3's two P1s. Task 5 runs a root-scope census and a Fable review. |
| + |
| **Round limit.** This is the third and final plan round. If Astra's round 3 still finds a P1, the next step is to cut scope or ask Paul, not a fourth round. |
| - **Test patterns.** Each task's red run names only its new tests, because `TestReplica(Release.*|Deploy.*|OnlyOne.*)$` already matches about 20 passing Plan 1 tests. |