copy: add SR-1-C13 repeat-safe release commands (Luna text)
Plan 1 Task 1 documents that release commands must be safe to repeat. Reuse Luna's delegated text for SR-4-C26 as SR-1-C13 in docs/site/cli.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/superpowers/plans/2026-11-01-stateless-replicas-copy.md+2 −1
Intent
<task-notification> <task-id>bf5xruxti</task-id> <tool-use-id>toolu_01Nup5hUcEMmJRjGKNmYRpjt</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/412bbef6-9468-4e8d-b9fe-5343bad21de8/tasks/bf5xruxti.output</output-file> <status>completed</status> <summary>Background command "Wait for Task 1 implementer to finish" completed (exit code 0)</summary> </task-notification>
Attributed to this commit: 10.1 g CO₂e (1,157,862 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on stateless-replicas-1-runtime, 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-copy.md b/docs/superpowers/plans/2026-11-01-stateless-replicas-copy.md| index 2b3e1ea40..841036018 100644 |
| --- a/docs/superpowers/plans/2026-11-01-stateless-replicas-copy.md |
| +++ b/docs/superpowers/plans/2026-11-01-stateless-replicas-copy.md |
| @@ -29,6 +29,7 @@ copy too. Internal wire enums are not an excuse to expose unreviewed text. |
| | SR-1-C10 | docs/site/cli.md | Ship with --stateless when your app keeps its data outside its box. The release gets no local database, CARLOS_DB or Litestream. You provide and operate its database and other data services. | approved by delegation (Luna pass, 2026-11-01); was: Add --stateless when your app keeps its data outside its box. The release gets no local database, CARLOS_DB or Litestream. You provide and operate its database and other data services. | |
| | SR-1-C11 | docs/site/cli.md | A stateless release can run more than one copy on a fleet after every fleet box and the console support replicas. Apps keep one copy until you set --copies. | approved by delegation (Luna pass, 2026-11-01) | |
| | SR-1-C12 | internal/console/replicacoordinator.go | this instance changed before the coordination update finished. try again | approved by delegation (Luna pass, 2026-11-01); was: this instance changed while coordination was being updated. try again | |
| +| SR-1-C13 | docs/site/cli.md | If the box running the release command disappears, its result may be unknown. The deploy stops and the previous build keeps serving. Deploying again runs the command again, so release commands must be safe to repeat. Rails migrations record completed migrations in schema_migrations. | approved by delegation (Luna pass, 2026-11-01); Luna's text for SR-4-C26, reused here because Plan 1 documents repeat-safe release commands | |
| ## Plan 2: count and placement |
| @@ -95,7 +96,7 @@ copy too. Internal wire enums are not an excuse to expose unreviewed text. |
| | SR-4-C23 | internal/console/rootfsfloor.go | copies above 1 are in use, so the platform cannot move below <floor>. reduce the copy count and wait for other copies to stop first | pending | |
| | SR-4-C24 | docs/site/stateless-replicas.md | Copies survive the loss of a fleet box. Traffic still enters through one hub, so this version does not survive losing that hub. | pending | |
| | SR-4-C25 | docs/site/stateless-replicas.md | A deploy runs the release command once per instance, then switches its copies one box at a time. Your migrations must allow old and new code to serve together. Each copy runs every declared worker. | pending | |
| -| SR-4-C26 | docs/site/stateless-replicas.md | If the coordinator disappears during the release command, its result may be unknown. The deploy stops and the previous build keeps serving. Deploying again runs the command again, so release commands must be safe to repeat. Rails migrations record completed migrations in schema_migrations. | pending | |
| +| SR-4-C26 | docs/site/stateless-replicas.md | If the coordinator disappears during the release command, its result may be unknown. The deploy stops and the previous build keeps serving. Deploying again runs the command again, so release commands must be safe to repeat. Rails migrations record completed migrations in schema_migrations. | pending (built first as SR-1-C13 in docs/site/cli.md; Plan 4 reuses that text if it needs the sentence elsewhere) | |
| | SR-4-C27 | docs/site/stateless-replicas.md | Reads can retry on another copy before a response starts. A response already streaming when its box dies is cut. Websockets disconnect and their clients reconnect to a healthy copy. | pending | |
| | SR-4-C28 | docs/site/stateless-replicas.md | carlos instances list prints one row per copy with its box, build, state, health and workers. carlos run and carlos console choose a healthy copy; add --box <label> to choose one. An accepted command is not repeated on another box after a lost connection. | pending | |
| | SR-4-C29 | docs/site/stateless-replicas.md | Fleet sizes add 6g, 12g, 24g, 48g, 96g and 192g, measured in GiB. Each copy leaves at least 1 GiB or one eighth of its box's memory for the box, whichever is larger. An overlap also needs room for the new generation. | pending | |