carlos / platform Public

copy: apply Luna's approval of the offline run review-fix strings

Luna approved strings-fix.json under Paul's 2026-10-25 delegation:
OR70 to OR75 and OR77 as written, OR76 as she changed it ("tries
without starting a round"). She also amended the approved OR62 (the
exit 1 cell of the CLI page) to "the --log file could not be opened",
which settles Astra's round 2 R2-5. Applied verbatim to the decks, the
code, cli.md and the copy record. No behaviour changes; the census
envelope for . is re-pinned with the unchanged claim.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev cc65171e0d4aa31868f580e0e628a065f046544a parent 79e3ae6
7 files changed, +27 −27
  • docs/drafts/offline-move-run/copy-review/strings-fix.json +10 −10
  • docs/drafts/offline-move-run/copy-review/strings-task8.json +2 −2
  • docs/site/cli.md +1 −1
  • docs/superpowers/plans/2026-10-06-moves-phase1-copy.md +11 −11
  • internal/provision/testdata/plan14-root-reads-omr-run.tsv +1 −1
  • move_offline_run.go +1 −1
  • move_offline_run_test.go +1 −1
diff --git a/docs/drafts/offline-move-run/copy-review/strings-fix.json b/docs/drafts/offline-move-run/copy-review/strings-fix.json
index 028b565aa..ee0fbf656 100644
--- a/docs/drafts/offline-move-run/copy-review/strings-fix.json
+++ b/docs/drafts/offline-move-run/copy-review/strings-fix.json
@@ -5,7 +5,7 @@
"label": "Ctrl-C before anything was sent",
"text": "Stopped. Nothing was sent.",
"context": "carlos move offline run, a Ctrl-C before run has sent anything: during its first status read, or while a rate limit holds up its first stage (no door took it). No move was staged. Exit 4. Astra branch review round 1, finding 2.",
- "status": "pending"
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "OR71",
@@ -13,7 +13,7 @@
"label": "No status for a while",
"text": "No status from the console for %s. run keeps asking. To see where the move is, run:",
"context": "carlos move offline run, once the move is under way: the status reads have failed in a way that may pass (no answer, a 5xx, the rate limit) for 2 minutes. Said once per outage; the next line is the status command (carlos move offline status --host <host>). %s is '2 min'. run sends nothing while it has no status, and goes on when the console answers. A refusal that will not pass (401, 403, 404) ends run instead, with exit 1: the console's own sentence, then OR29 and the status command. Astra branch review round 1, finding 6.",
- "status": "pending"
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "OR72",
@@ -21,7 +21,7 @@
"label": "A step failed (run moves it back)",
"text": "The move could not finish a step: %s.",
"context": "carlos move offline run, before open, when the sealer (stop or copy) reports a failure. %s is the box's own reason. The next line is '<time> abort Moving it back to <from>.' (OR22), and run aborts by itself. MV-O9's opening words without its tail ('Run carlos move offline status ... for each item'), which read as if the operator had to act. A target's failure says the approved M-C8 instead ('<to> could not start <host>: <reason>. Moving it back to <from>.'). Astra branch review round 1, finding 7.",
- "status": "pending"
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "OR73",
@@ -29,7 +29,7 @@
"label": "A staging round failed (run abandons the stage)",
"text": "The last staging round failed: %s. %s keeps serving and nothing went offline.",
"context": "carlos move offline run, on the 'abort' step line, when a staging round reports a failure: run abandons the stage by itself (abort, then finish; exit 3). %s the stager box's own reason, %s the host. MV-O185's opening words without its advice to stage again, with OR23's ending. Replaces OR22 here: the instance never left, so nothing moves back. Astra branch review round 1, finding 7.",
- "status": "pending"
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "OR74",
@@ -37,7 +37,7 @@
"label": "State: landed, still being checked",
"text": "Checking the copy",
"context": "First line of carlos move offline status for a landed move whose open the console has not cleared yet (no 'next', nothing failed): the target is still reporting, or a check is stale. OR35 ('Ready to open') is now only for a landed move whose next step is open. Astra branch review round 1, finding 8.",
- "status": "pending"
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "OR75",
@@ -45,15 +45,15 @@
"label": "State: landed, a box failed",
"text": "Copy failed",
"context": "First line of carlos move offline status for a landed move a box reports failed (the landing's checks did not pass). The failure sentence and the abort command follow under the block. Astra branch review round 1, finding 8.",
- "status": "pending"
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "OR76",
"section": "run lines",
"label": "Staging gave up for other reasons",
- "text": "Stopped staging after %d tries that left no round ready to start. %s keeps serving and nothing went offline.",
- "context": "carlos move offline run, step column 'limit'. %d is 10, %s the host. Said when run has asked for 10 more staging rounds for reasons other than a round over 1 MB: each small round went stale before start could be sent, or the console refused the request or it wrote nothing. run then abandons the stage (abort, then finish; exit 3). OR23 stays for five rounds that each copied over 1 MB, which are now the only ones it counts. Astra branch review round 1, finding 9.",
- "status": "pending"
+ "text": "Stopped staging after %d tries without starting a round. %s keeps serving and nothing went offline.",
+ "context": "carlos move offline run, step column 'limit'. %d is 10, %s the host. Said when run has asked for 10 more staging rounds for reasons other than a round over 1 MB: each small round went stale before start could be sent, or the console refused the request or it wrote nothing. run then abandons the stage (abort, then finish; exit 3). OR23 stays for five rounds that each copied over 1 MB, which are now the only ones it counts. Astra branch review round 1, finding 9. Luna changed the wording on review (was: 'tries that left no round ready to start').",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "OR77",
@@ -61,6 +61,6 @@
"label": "Exit 5",
"text": "refused before anything was written: by the console, at the first status read or the first stage (`--resume` included), or by `carlos` itself (run as root, or with no console)",
"context": "docs/site/cli.md, under ### carlos move, the offline-moves part. Exit table, row `5`. Replaces OR61 ('the console refused the first stage, and nothing was written'), which named only one of the ways run exits 5: the console also answers the first status read with a refusal (a 4xx, --resume included), and carlos refuses by itself when run as root or with no console. Approving OR77 withdraws OR61. Astra branch review round 1, finding 10.",
- "status": "pending"
+ "status": "approved (Luna, by Paul's delegation)"
}
]
diff --git a/docs/drafts/offline-move-run/copy-review/strings-task8.json b/docs/drafts/offline-move-run/copy-review/strings-task8.json
index b3396d9c3..46fd86273 100644
--- a/docs/drafts/offline-move-run/copy-review/strings-task8.json
+++ b/docs/drafts/offline-move-run/copy-review/strings-task8.json
@@ -99,8 +99,8 @@
"id": "OR62",
"section": "CLI page",
"label": "Exit 1",
- "text": "the console could not be reached or answered with an error, or the `--log` file could not be written",
- "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. Exit table, row `1`. Close to the carlos move table above it; run also exits 1 when it cannot open its --log file (OR45).",
+ "text": "the console could not be reached or answered with an error, or the `--log` file could not be opened",
+ "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. Exit table, row `1`. Close to the carlos move table above it; run also exits 1 when it cannot open its --log file (OR45). Amended by Luna on the branch review's fixes: 'opened', not 'written', since a log write that fails once run is under way is said on standard error and does not end the run (Astra round 2, R2-5).",
"status": "approved (Luna, by Paul's delegation)"
},
{
diff --git a/docs/site/cli.md b/docs/site/cli.md
index 1723fb05f..6e71592cb 100644
--- a/docs/site/cli.md
+++ b/docs/site/cli.md
@@ -3505,7 +3505,7 @@ On Linux and macOS a dropped SSH connection does not stop `run`. If `run` stops
| `3` | the instance was moved back |
| `4` | `run` stopped, and you decide what comes next |
| `5` | refused before anything was written: by the console, at the first status read or the first stage (`--resume` included), or by `carlos` itself (run as root, or with no console) |
-| `1` | the console could not be reached or answered with an error, or the `--log` file could not be written |
+| `1` | the console could not be reached or answered with an error, or the `--log` file could not be opened |
`status` leads with the state, then shows the move, how long the instance has been offline when that applies, how long it has been in this step, and the one command forward and the one back:
diff --git a/docs/superpowers/plans/2026-10-06-moves-phase1-copy.md b/docs/superpowers/plans/2026-10-06-moves-phase1-copy.md
index f75df897d..6333b4509 100644
--- a/docs/superpowers/plans/2026-10-06-moves-phase1-copy.md
+++ b/docs/superpowers/plans/2026-10-06-moves-phase1-copy.md
@@ -792,7 +792,7 @@ Approved by Luna on 2026-11-15 under Paul's 2026-10-25 delegation (deck `docs/dr
## Offline move run: the CLI page and the usage line (Task 8)
-Task 8 of the offline move run plan (deck `docs/drafts/offline-move-run/copy-review/strings-task8.json`). Approved by Luna on 2026-11-15 under Paul's 2026-10-25 delegation; OR50, OR62 and OR63 as Luna changed them. OR50 replaces MV-O32, whose “never acts on its own” stopped being true with `run`; MV-O32 is withdrawn. The page's two examples are deck rows OR52 (`run`) and OR64 (`status`) and have no rows here: they are fenced output whose lines are approved rows already (M-C1, OR10 to OR18, OR35, OR41 to OR43, MovedLine) and the console's own waiting sentence. OR58 to OR62 are the meaning cells of `run`'s exit-code table, for `0`, `3`, `4`, `5` and `1`; OR61, the `5` cell, was withdrawn for OR77 (the branch review's fixes, below). OR66 is `moveOfflineUsage` with `run` added. It replaces MV-O181, which is withdrawn.
+Task 8 of the offline move run plan (deck `docs/drafts/offline-move-run/copy-review/strings-task8.json`). Approved by Luna on 2026-11-15 under Paul's 2026-10-25 delegation; OR50, OR62 and OR63 as Luna changed them. OR50 replaces MV-O32, whose “never acts on its own” stopped being true with `run`; MV-O32 is withdrawn. The page's two examples are deck rows OR52 (`run`) and OR64 (`status`) and have no rows here: they are fenced output whose lines are approved rows already (M-C1, OR10 to OR18, OR35, OR41 to OR43, MovedLine) and the console's own waiting sentence. OR58 to OR62 are the meaning cells of `run`'s exit-code table, for `0`, `3`, `4`, `5` and `1`; OR61, the `5` cell, was withdrawn for OR77 (the branch review's fixes, below), and Luna amended OR62 with those fixes ("opened" for "written": a log write that fails mid-run does not end the run). OR66 is `moveOfflineUsage` with `run` added. It replaces MV-O181, which is withdrawn.
| id | file | text | status |
|---|---|---|---|
@@ -806,22 +806,22 @@ Task 8 of the offline move run plan (deck `docs/drafts/offline-move-run/copy-rev
| OR58 | docs/site/cli.md | the move finished, or is open with `--no-finish` | approved |
| OR59 | docs/site/cli.md | the instance was moved back | approved |
| OR60 | docs/site/cli.md | `run` stopped, and you decide what comes next | approved |
-| OR62 | docs/site/cli.md | the console could not be reached or answered with an error, or the `--log` file could not be written | approved |
+| OR62 | docs/site/cli.md | the console could not be reached or answered with an error, or the `--log` file could not be opened | approved |
| OR63 | docs/site/cli.md | `status` leads with the state, then shows the move, how long the instance has been offline when that applies, how long it has been in this step, and the one command forward and the one back: | approved |
| OR65 | docs/site/cli.md | While the console waits on a box, a `waiting` row says what for, and the forward command ends with “when ready”. Under the block, `status` lists each item the move checks and each box’s report. | approved |
| OR66 | move.go | carlos move offline needs run, stage, start, seal, flip, open, finish, abort or status. | approved |
## Offline move run: the branch review's fixes (Astra round 1)
-Sentences the fixes for Astra's whole-branch review of `offline-move-run` (round 1) need. OR77 is the CLI page's exit-5 cell; it replaces OR61, withdrawn here (the page carries OR77's draft). Pending: deck `docs/drafts/offline-move-run/copy-review/strings-fix.json`, for Luna under Paul's 2026-10-25 delegation. The code is written against the deck's text; an approval that changes a row is applied verbatim.
+Sentences the fixes for Astra's whole-branch review of `offline-move-run` (round 1) need. OR77 is the CLI page's exit-5 cell; it replaces OR61, withdrawn here (the page carries OR77). Deck `docs/drafts/offline-move-run/copy-review/strings-fix.json`, approved by Luna on 2026-11-15 under Paul's 2026-10-25 delegation; OR76 as Luna changed it.
| id | file | text | status |
|---|---|---|---|
-| OR70 | move_offline_run.go | Stopped. Nothing was sent. | pending |
-| OR71 | move_offline_run.go | No status from the console for <duration>. run keeps asking. To see where the move is, run: | pending |
-| OR72 | move_offline_run.go | The move could not finish a step: <reason>. | pending |
-| OR73 | move_offline_run.go | The last staging round failed: <reason>. <host> keeps serving and nothing went offline. | pending |
-| OR74 | move.go | Checking the copy | pending |
-| OR75 | move.go | Copy failed | pending |
-| OR76 | move_offline_run.go | Stopped staging after <tries> tries that left no round ready to start. <host> keeps serving and nothing went offline. | pending |
-| OR77 | docs/site/cli.md | refused before anything was written: by the console, at the first status read or the first stage (`--resume` included), or by `carlos` itself (run as root, or with no console) | pending |
+| OR70 | move_offline_run.go | Stopped. Nothing was sent. | approved |
+| OR71 | move_offline_run.go | No status from the console for <duration>. run keeps asking. To see where the move is, run: | approved |
+| OR72 | move_offline_run.go | The move could not finish a step: <reason>. | approved |
+| OR73 | move_offline_run.go | The last staging round failed: <reason>. <host> keeps serving and nothing went offline. | approved |
+| OR74 | move.go | Checking the copy | approved |
+| OR75 | move.go | Copy failed | approved |
+| OR76 | move_offline_run.go | Stopped staging after <tries> tries without starting a round. <host> keeps serving and nothing went offline. | approved |
+| OR77 | docs/site/cli.md | refused before anything was written: by the console, at the first status read or the first stage (`--resume` included), or by `carlos` itself (run as root, or with no console) | approved |
diff --git a/internal/provision/testdata/plan14-root-reads-omr-run.tsv b/internal/provision/testdata/plan14-root-reads-omr-run.tsv
index b56769613..c741c8e0b 100644
--- a/internal/provision/testdata/plan14-root-reads-omr-run.tsv
+++ b/internal/provision/testdata/plan14-root-reads-omr-run.tsv
@@ -3,5 +3,5 @@
# 1 new dispositions: 0 reads re-frozen at their disposition with the claim, 1 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other.
@legacy 2f0662b82bce7e8e135cbe76c5026e922a7c1b821ce3178dccdb3959500360fb move_offline_run.go mover.offlineRun legacy accepted-legacy accepted-legacy;rev3=census-ruling-omr-run;basis=new: carlos move offline run (offline move run plan, Task 5). Opens the operator's own --log path to append the run's output (os.OpenFile, O_APPEND|O_CREATE|O_WRONLY, 0600); reads nothing from it. The verb refuses root (moveMain, L25) before it gets here, so this is never a root read. file:OpenFile@224 ebbf022f056d3956dffa51fcbf17ca16cbebc8fa934904eacdf87368eda3f61e
move_offline_run.go mover.offlineRun legacy accepted-legacy accepted-legacy;rev3=census-ruling-omr-run;basis=new: carlos move offline run (offline move run plan, Task 5). Opens the operator's own --log path to append the run's output (os.OpenFile, O_APPEND|O_CREATE|O_WRONLY, 0600); reads nothing from it. The verb refuses root (moveMain, L25) before it gets here, so this is never a root read. file:OpenFile@224 ebbf022f056d3956dffa51fcbf17ca16cbebc8fa934904eacdf87368eda3f61e
-@coverage . 16c047e4342b93943dec21d7c1f97324da9404d512e66619b55fa73ffdad1947
+@coverage . 5bb989f3cae7cfe23cdbbf4e0c55c0d3d3d9e9c17457c18446aed3971bc975d9
@coverage internal/moves/offlinerun dfbc21aa5c17a4e99e7f6a1e9b28b17e06cab8e14575ab7e85df55e59a8f6341
diff --git a/move_offline_run.go b/move_offline_run.go
index cd55de89c..c0d0088e0 100644
--- a/move_offline_run.go
+++ b/move_offline_run.go
@@ -596,7 +596,7 @@ func (rw *runWatcher) sayWhy(reason string) {
moveSay(rw.out(), fmt.Sprintf("Stopped staging after %d rounds: each still copied over 1 MB. %s keeps serving and nothing went offline.", p.MaxStageRounds, host))
case offlinerun.ReasonStageAttempts:
rw.column("limit")
- moveSay(rw.out(), fmt.Sprintf("Stopped staging after %d tries that left no round ready to start. %s keeps serving and nothing went offline.", p.MaxStageAttempts, host))
+ moveSay(rw.out(), fmt.Sprintf("Stopped staging after %d tries without starting a round. %s keeps serving and nothing went offline.", p.MaxStageAttempts, host))
case offlinerun.ReasonBudgetOffline:
rw.column("limit")
moveSay(rw.out(), fmt.Sprintf("offline for %s, over the limit. Moving it back to %s.", runDuration(p.Offline), from))
diff --git a/move_offline_run_test.go b/move_offline_run_test.go
index 27f710d2d..3b40bc02b 100644
--- a/move_offline_run_test.go
+++ b/move_offline_run_test.go
@@ -1098,7 +1098,7 @@ func TestMoveOfflineRunStagingCaps(t *testing.T) {
if got := doorsOf(c.postsSent()); got != "stage,"+strings.Repeat("stage,", 11)+"abort,finish" {
t.Fatalf("doors %s:\n%s", got, out)
}
- wantLines(t, out, "limit Stopped staging after 10 tries that left no round ready to start. acme.shop.example.com keeps serving and nothing went offline.")
+ wantLines(t, out, "limit Stopped staging after 10 tries without starting a round. acme.shop.example.com keeps serving and nothing went offline.")
if strings.Contains(out, "each still copied over 1 MB") {
t.Fatalf("said OR23 for refused restages:\n%s", out)
}