carlos / platform Public

copy: apply Luna pass to SR-6-C01..C06 (#1061, #1060)

Apply Luna's approved text for C01, C03, C04, C05 and C06 (C02 unchanged),
update the copy table rows to approved, and the tests that assert the text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev c2921e9c7cc7452baa007990e746c7dc1d4c4a23 parent 1fd231a
10 files changed, +16 −16
  • docs/superpowers/plans/2026-11-01-stateless-replicas-copy.md +6 −6
  • instances_cli.go +1 −1
  • instances_cli_label_test.go +2 −2
  • internal/activator/replicadeploy.go +1 −1
  • internal/console/apiinstances_test.go +1 −1
  • internal/console/appcopies.go +1 −1
  • internal/console/fleetcreate.go +1 −1
  • internal/console/notreleasebuild.go +1 −1
  • internal/console/notreleasebuild_test.go +1 −1
  • internal/console/replicafloor_test.go +1 −1

Intent

Human

<task-notification> <task-id>a9b3e2da465980c28</task-id> <tool-use-id>toolu_01J52xxzGvUMCnFKZ5i2y3A7</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/2b517942-2259-467d-a8d0-994fd28c9e84/tasks/a9b3e2da465980c28.output</output-file> <status>completed</status> <summary>Agent "Implement #966 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>Status: DONE. Both review findings are fixed and committed. Commits: 923537b1 (task 1), 1fd231a4 (fix round 1: `fleets: take ack fleet from the registry; read ack ETags unbuffered`). - **P1:** the fleet an ack may come from is now taken only from the console's registry row for the host. That row must belong to this account and app, name a fleet, and match the record's region. If any of that fails, the ack is ignored and the host shows as awaiting delivery. A test covers registry on another fleet, no registry row, another account, another account's fleet, record and registry disagreeing, and another app. Removing any one of the checks makes it fail. - **P2:** writing an ack no longer loads the existing object's body. When the store returns an ETag with the read (S3, the door), the body is closed without reading it. When it doesn't (a local directory store), at most 64 KiB is read and an object over that is refused. - **Census:** on a door box, root now sends one GET per changed route to `fleets/&lt;F&gt;/control/config-ack/&lt;label&gt;/&lt;host&gt;.json`. It uses only the status and the ETag header, and the body is never read or parsed. Tests: the new tests failed before each fix and pass now. Targeted runs pass for appconfig, rollout, internal/host (the ack, door, alias-pass, rollout and adopt tests), and console `-run 'Relay|ConfigAck|Fleet|Seal'`. I skipped the full host package as instructed. Concerns: - The local directory store re-reads the ETag after the size check, so a file swapped in between could slip past the cap. That store is only ever the box's own disk, never the door. - The two scratch directories under `/tmp/g` from the task and this round are both gone. The task-1 one had already disappeared before this round, so the full-host-run log mentioned in the first report no longer exists. Report (with the fix round appended): /home/paulca/amadan.net/carlos/platform/.claude/worktrees/sr-followups/.superpowers/sdd/plan-966/task-1-report.md</result> <usage><subagent_tokens>188365</subagent_tokens><tool_uses>25</tool_uses><duration_ms>706791</duration_ms></usage> </task-notification>

Human

<task-notification> <task-id>b0oo3lq02</task-id> <tool-use-id>toolu_01S7SkHLbNVKKi9fxHJk2avV</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/2b517942-2259-467d-a8d0-994fd28c9e84/tasks/b0oo3lq02.output</output-file> <status>completed</status> <summary>Background command "S=/home/paulca/.paseo/zerosub/homes/claude-37fe90ef3f56/plugins/cache/claude-plugins-official/superpowers/7.0.2/skills/subagent-driven-development; bash $S/scripts/review-package $PWD/.superpowers/sdd/2026-11-14-sr-followups/plan-966.md 923537b1 1fd231a4 &amp;&amp; echo "#966: fix round 1 1fd231a4 (registry-only placement; ETag read unbuffered/64KiB cap). Astra re-review running. Copy apply dispatched." &gt;&gt; .superpowers/sdd/2026-11-14-sr-followups/progress.md &amp;&amp; P=.superpowers/sdd/pla ... [703 characters truncated] ... e scenario (tenancy, root reads, the 64 KiB local-store cap and its TOCTOU note). Minors separately. Concise." &lt;/dev/null &gt; $P/task-1-astra-rereview-1.txt 2&gt;&amp;1; f=$P/task-1-astra-rereview-1.txt; n=$(grep -n '^codex$' $f | tail -1 | cut -d: -f1); sed -n "$n,\$p" $f | head -30" completed (exit code 0)</summary> </task-notification>

Attributed to this commit: 17.2 g CO₂e (2,089,566 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on sr-followups, 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 c95a1b36c..561389df5 100644
--- a/docs/superpowers/plans/2026-11-01-stateless-replicas-copy.md
+++ b/docs/superpowers/plans/2026-11-01-stateless-replicas-copy.md
@@ -168,9 +168,9 @@ copy too. Internal wire enums are not an excuse to expose unreviewed text.
| SR-4-C94 | docs/site/stateless-replicas.md | When a copy switches, its old build stops once the new one serves. A response still streaming from the old build when it stops is cut, as when a box stops. Websockets on the old build disconnect and their clients reconnect to a healthy copy. | approved (controller; Luna house rules) (drill 3, H4) |
| SR-4-C95 | internal/console/appcopies.go | <host> is not tied to one box of fleet <fleet>, and that fleet has more than one box. a release without a local database needs that first, so keep this app on a release with a local database for now | pending (superseded 2026-11-14 by fleet record labels C41, which points at carlos instances label; this text was approved by Paul as SR-5-C01 in copy review u4k4cyxedlsfh72a7vpq3sn2uu; the new text goes to Paul's copy review in docs/drafts/fleet-record-labels/copy-review) |
| SR-4-C96 | internal/console/appcopies.go | <host> runs a release without a local database and is not tied to a box of fleet <fleet>, so a second active box would stop it. move it to a release with a local database before adding a box | pending (superseded 2026-11-14 by fleet record labels C40, which points at carlos instances label; this text was approved by Paul as SR-5-C02 in copy review u4k4cyxedlsfh72a7vpq3sn2uu; the new text goes to Paul's copy review in docs/drafts/fleet-record-labels/copy-review) |
-| SR-6-C01 | internal/activator/replicadeploy.go | the new copy's build was not installed on its box in time, so it did not start. existing copies keep serving | pending (Paul review, #1061) |
-| SR-6-C02 | instances_copies.go | Starting | pending (Paul review, #1061) |
-| SR-6-C03 | internal/console/appcopies.go | copies above 1 need the console on a release build at <floor> or later. this console runs <build>, which is not a release build | pending (Paul review, #1060) |
-| SR-6-C04 | instances_cli.go | <who> runs <build>, which is not a release build. tying instances to boxes needs a release at <floor> or later on the console and every active box of fleet <fleet> | pending (Paul review, #1060) |
-| SR-6-C05 | internal/console/notreleasebuild.go | console: this console's build <build> is not a release version, so features that need a minimum release stay off. run a release build | pending (Paul review, #1060) |
-| SR-6-C06 | internal/console/fleetcreate.go | this console runs <build>, which is not a release build, so it cannot tie new instances to a box of fleet <fleet>. run a release build of the console | pending (Paul review, #1060) |
+| SR-6-C01 | internal/activator/replicadeploy.go | the new copy's build was not installed on its box within 10 minutes, so it did not start. existing copies keep serving | approved (Luna pass 2026-11-14, delegated by Paul 2026-10-25) |
+| SR-6-C02 | instances_copies.go | Starting | approved (Luna pass 2026-11-14, delegated by Paul 2026-10-25) |
+| SR-6-C03 | internal/console/appcopies.go | copies above 1 need the console on release <floor> or later. this console runs <build>, which is not a release version | approved (Luna pass 2026-11-14, delegated by Paul 2026-10-25) |
+| SR-6-C04 | instances_cli.go | <who> runs <build>, which is not a release version. tying instances to boxes needs release <floor> or later on the console and every active box of fleet <fleet> | approved (Luna pass 2026-11-14, delegated by Paul 2026-10-25) |
+| SR-6-C05 | internal/console/notreleasebuild.go | console: build <build> is not a release version. features that need a minimum release stay off. run a release build | approved (Luna pass 2026-11-14, delegated by Paul 2026-10-25) |
+| SR-6-C06 | internal/console/fleetcreate.go | this console runs <build>, which is not a release build. it cannot tie new instances to a box of fleet <fleet>. run a release build | approved (Luna pass 2026-11-14, delegated by Paul 2026-10-25) |
diff --git a/instances_cli.go b/instances_cli.go
index 8875cb355..faa60138d 100644
--- a/instances_cli.go
+++ b/instances_cli.go
@@ -1321,7 +1321,7 @@ const labelFloorConsole = "the console" // approved copy (C49), Luna review by P
// labelFloorNotRelease is the floor refusal when the build that failed it is
// not a release version (#1060), so it cannot be ordered against the floor:
// who, build, floor, fleet. A release never reported keeps C29. copy SR-6-C04
-const labelFloorNotRelease = "%s runs %s, which is not a release build. tying instances to boxes needs a release at %s or later on the console and every active box of fleet %s"
+const labelFloorNotRelease = "%s runs %s, which is not a release version. tying instances to boxes needs release %s or later on the console and every active box of fleet %s"
// instanceLabelBinding mirrors the door's labelBinding.
type instanceLabelBinding struct {
diff --git a/instances_cli_label_test.go b/instances_cli_label_test.go
index 36c49db4e..29ae8a056 100644
--- a/instances_cli_label_test.go
+++ b/instances_cli_label_test.go
@@ -262,9 +262,9 @@ func TestInstancesLabelRefusalExitsNonZero(t *testing.T) {
{"floor: unknown", refused("floor", map[string]any{"floor_box": "box-2", "floor_release": "unknown", "floor": "v9.9.9"}), nil,
"box-2 runs unknown. tying instances to boxes needs v9.9.9 or later on the console and every active box of fleet pi"},
{"floor: a box not on a release build", refused("floor", map[string]any{"floor_box": "box-2", "floor_release": "ac9ee36", "floor": "v9.9.9"}), nil,
- "box-2 runs ac9ee36, which is not a release build. tying instances to boxes needs a release at v9.9.9 or later on the console and every active box of fleet pi"},
+ "box-2 runs ac9ee36, which is not a release version. tying instances to boxes needs release v9.9.9 or later on the console and every active box of fleet pi"},
{"floor: the console not on a release build", refused("floor", map[string]any{"floor_box": "console", "floor_release": "ac9ee36", "floor": "v9.9.9"}), nil,
- "the console runs ac9ee36, which is not a release build. tying instances to boxes needs a release at v9.9.9 or later on the console and every active box of fleet pi"},
+ "the console runs ac9ee36, which is not a release version. tying instances to boxes needs release v9.9.9 or later on the console and every active box of fleet pi"},
{"not_serving", refused("not_serving", map[string]any{"box": "box-2"}), []string{"--box", "box-2"},
"box-2 is not the box serving it now. only that box can be named for now"},
{"disagree", refused("disagree", map[string]any{"hub_box": "box-2", "agree": false, "serving_box": "", "box": ""}), nil,
diff --git a/internal/activator/replicadeploy.go b/internal/activator/replicadeploy.go
index 26b9f7c5b..ed27dc151 100644
--- a/internal/activator/replicadeploy.go
+++ b/internal/activator/replicadeploy.go
@@ -631,7 +631,7 @@ const replicaConfigRefusal = "the new copy's configuration was not written on it
// replicaInstallRefusal is the kept answer of a copy that never started
// because no build was installed for it on its box within
// releaseInstallBound (#1061). copy SR-6-C01
-const replicaInstallRefusal = "the new copy's build was not installed on its box in time, so it did not start. existing copies keep serving"
+const replicaInstallRefusal = "the new copy's build was not installed on its box within 10 minutes, so it did not start. existing copies keep serving"
// replicaSecretsRefusal is the answer of a copy that never started for
// want of the instance's shared secrets: its permitted step's, which halts
diff --git a/internal/console/apiinstances_test.go b/internal/console/apiinstances_test.go
index 4cfc0013a..7630a3f66 100644
--- a/internal/console/apiinstances_test.go
+++ b/internal/console/apiinstances_test.go
@@ -3137,7 +3137,7 @@ func TestCreateRefusesBelowLabelFloor(t *testing.T) {
fx, token, reg := d1World(t, "code-d1-floor-notrelease", "pi-1", "pi-2")
fx.srv.consoleBuild = "ac9ee36"
code, hdr, raw := rawReq(t, http.MethodPost, instancesURL(fx, fx.sqid, "shop"), token, `{"host":"a.example.com"}`)
- want := "this console runs ac9ee36, which is not a release build, so it cannot tie new instances to a box of fleet pi. run a release build of the console"
+ want := "this console runs ac9ee36, which is not a release build. it cannot tie new instances to a box of fleet pi. run a release build"
if code != http.StatusServiceUnavailable || hdr.Get("Retry-After") != "" || errorOf(t, raw) != want {
t.Fatalf("create = %d (Retry-After %q) %s; want 503, no Retry-After and SR-6-C06", code, hdr.Get("Retry-After"), raw)
}
diff --git a/internal/console/appcopies.go b/internal/console/appcopies.go
index 516c48989..0e197cce8 100644
--- a/internal/console/appcopies.go
+++ b/internal/console/appcopies.go
@@ -32,7 +32,7 @@ const (
copiesRelease = "more than one copy requires a stateless, always-on release. set --copies 1 before selecting this release"
copiesFloor = "copies above 1 need every fleet box and the console on %s or later. update them and try again"
// copiesNotRelease (#1060): floor, the console's build. copy SR-6-C03
- copiesNotRelease = "copies above 1 need the console on a release build at %s or later. this console runs %s, which is not a release build"
+ copiesNotRelease = "copies above 1 need the console on release %s or later. this console runs %s, which is not a release version"
copiesUnread = "could not check every instance, release and fleet box, so the copy count was left unchanged. try again"
copiesManaged = "more than one copy is available for platform-managed instances on an owned fleet only"
copiesMoving = "this instance has an import or move in progress. finish it before changing the copy count"
diff --git a/internal/console/fleetcreate.go b/internal/console/fleetcreate.go
index 45cdb6b75..13db06ba2 100644
--- a/internal/console/fleetcreate.go
+++ b/internal/console/fleetcreate.go
@@ -26,7 +26,7 @@ const fleetCreateRetryAfter = "30"
// msgFleetCreateNotRelease is D1's floor refusal when this console's build is
// not a release version (#1060): build, fleet. copy SR-6-C06
func msgFleetCreateNotRelease(build, fleet string) string {
- return fmt.Sprintf("this console runs %s, which is not a release build, so it cannot tie new instances to a box of fleet %s. run a release build of the console", build, fleet)
+ return fmt.Sprintf("this console runs %s, which is not a release build. it cannot tie new instances to a box of fleet %s. run a release build", build, fleet)
}
// msgFleetCreateUnavailable is C39: no box of the fleet can take the new
diff --git a/internal/console/notreleasebuild.go b/internal/console/notreleasebuild.go
index 26c6e436b..951314f74 100644
--- a/internal/console/notreleasebuild.go
+++ b/internal/console/notreleasebuild.go
@@ -8,7 +8,7 @@ import (
// consoleNotReleaseBuild is the startup warning for a console whose build is
// not a release version (#1060): build. copy SR-6-C05
-const consoleNotReleaseBuild = "console: this console's build %s is not a release version, so features that need a minimum release stay off. run a release build"
+const consoleNotReleaseBuild = "console: build %s is not a release version. features that need a minimum release stay off. run a release build"
// NotReleaseBuildWarning is the warning cmd/console logs once at start when
// this console's build is set but is not a release version, such as a
diff --git a/internal/console/notreleasebuild_test.go b/internal/console/notreleasebuild_test.go
index 54d3e2ebf..9a04f6dba 100644
--- a/internal/console/notreleasebuild_test.go
+++ b/internal/console/notreleasebuild_test.go
@@ -29,7 +29,7 @@ func TestNotReleaseBuildWarning(t *testing.T) {
}
want := ""
if tc.warn {
- want = fmt.Sprintf("console: this console's build %s is not a release version, so features that need a minimum release stay off. run a release build", tc.build)
+ want = fmt.Sprintf("console: build %s is not a release version. features that need a minimum release stay off. run a release build", tc.build)
}
if msg != want {
t.Errorf("%q: message %q, want %q", tc.build, msg, want)
diff --git a/internal/console/replicafloor_test.go b/internal/console/replicafloor_test.go
index 8c3b40ecd..4d757ec13 100644
--- a/internal/console/replicafloor_test.go
+++ b/internal/console/replicafloor_test.go
@@ -143,7 +143,7 @@ func TestReplicaFloorEnablesOnlyCompleteFleet(t *testing.T) {
// floor, and the refusal says why (SR-6-C03) instead of asking for
// an update.
{"non-release-console", func(t *testing.T, fx *consoleFixture) { fx.srv.consoleBuild = "ac9ee36" }, 409,
- fmt.Sprintf("copies above 1 need the console on a release build at %s or later. this console runs ac9ee36, which is not a release build", release.StatelessReplicasFloor)},
+ fmt.Sprintf("copies above 1 need the console on release %s or later. this console runs ac9ee36, which is not a release version", release.StatelessReplicasFloor)},
{"channel-at-floor", func(t *testing.T, fx *consoleFixture) {
rfPublish(t, fx, "stable", replicaBelow)
rfPublish(t, fx, "stable", release.StatelessReplicasFloor)