moves: Task 8 copy approved; usage line names run (OR66)
Luna approved OR50 to OR66 under Paul's delegation, changing OR50, OR62 and OR63; applied verbatim to the deck, docs/site/cli.md and the copy record. moveOfflineUsage is now OR66 and MV-O181 is withdrawn; the clireg golden follows. Census overlay omr-run re-pins the root envelope.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 files changed,
+58
−58
approved_moves_copy_test.go+2 −2docs/drafts/offline-move-run/copy-review/strings-task8.json+20 −20docs/site/cli.md+3 −3docs/superpowers/plans/2026-10-06-moves-phase1-copy.md+20 −21internal/provision/testdata/plan14-root-reads-omr-run.tsv+1 −1move.go+4 −3move_test.go+1 −1testdata/clireg-golden.jsonl+7 −7
CI failed — run details
Intent
diff --git a/approved_moves_copy_test.go b/approved_moves_copy_test.go| index 6aa0c7c42..71c669fe6 100644 |
| --- a/approved_moves_copy_test.go |
| +++ b/approved_moves_copy_test.go |
| @@ -107,7 +107,7 @@ var movesCopyIDs = []string{ |
| "MV-O158", "MV-O159", "MV-O160", "MV-O161", "MV-O162", "MV-O163", "MV-O164", "MV-O165", "MV-O166", "MV-O167", "MV-O168", "MV-O169", "MV-O170", "MV-O171", |
| "MV-O172", "MV-O173", "MV-O174", "MV-O175", "MV-O176", "MV-O177", |
| "MV-O178", |
| - "MV-O179", "MV-O180", "MV-O181", "MV-O182", "MV-O183", "MV-O184", "MV-O185", "MV-O186", "MV-O187", "MV-O188", "MV-O189", |
| + "MV-O179", "MV-O180", "MV-O182", "MV-O183", "MV-O184", "MV-O185", "MV-O186", "MV-O187", "MV-O188", "MV-O189", |
| "MV-O190", "MV-O191", "MV-O192", |
| "MV-O193", |
| "MV-O194", |
| @@ -124,7 +124,7 @@ var movesCopyIDs = []string{ |
| "OR30", "OR31", "OR32", "OR33", "OR34", "OR35", "OR36", "OR37", "OR38", |
| "OR41", "OR42", "OR43", "OR44", |
| // The CLI page and the usage line (the same plan, Task 8; deck |
| - // strings-task8.json beside strings.json), pending. |
| + // strings-task8.json beside strings.json). OR66 replaced MV-O181. |
| "OR50", "OR51", "OR53", "OR54", "OR55", "OR56", "OR57", "OR58", "OR59", |
| "OR60", "OR61", "OR62", "OR63", "OR65", "OR66", |
| } |
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 777b109a8..b3396d9c3 100644 |
| --- a/docs/drafts/offline-move-run/copy-review/strings-task8.json |
| +++ b/docs/drafts/offline-move-run/copy-review/strings-task8.json |
| @@ -3,9 +3,9 @@ |
| "id": "OR50", |
| "section": "CLI page", |
| "label": "What carlos move offline is", |
| - "text": "`carlos move offline` moves one instance with planned downtime. It is for operators and works with host claims and Phase 1 moves off. `run` carries a move through every step on its own. Each of the other verbs does one step and says which verb comes next.", |
| + "text": "`carlos move offline` moves one instance with planned downtime. It is for operators. `run` carries a move through every step. Each other verb does one step and says which verb comes next.", |
| "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. First paragraph, above the block of commands. Replaces the approved MV-O32, which said the verbs “never act on their own”; that stopped being true with run. Approving OR50 withdraws MV-O32.", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR51", |
| @@ -13,7 +13,7 @@ |
| "label": "What run does", |
| "text": "`run` copies the instance’s data while it still serves, then takes it offline and runs `start`, `seal`, `flip` and `open` in turn. Once the instance answers in the new region, it runs `finish`. It prints one line per step with the time, and an indented line when the console starts waiting on a box:", |
| "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. After the block of commands and the approved MV-O33 (offline from start until open). Introduces the example below it.", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR52", |
| @@ -21,7 +21,7 @@ |
| "label": "run example", |
| "text": "$ carlos move offline run --host shop.example.com --to uk\n06:12:03Z stage sent, accepted\nMoving shop.example.com from Dublin (IE) to London (UK). Move mv_7kq2xw5rbt3yfn6hd4jm2pcsea.\n06:12:31Z stage 1204 of 1204 objects (48.2 of 48.2 MB)\n06:12:31Z stage sent, accepted\n06:12:38Z stage 1204 of 1204 objects (48.3 of 48.3 MB)\n06:12:38Z start sent, accepted. Offline from now.\n Waiting for box-1 in Dublin (IE) to confirm it has stopped shop.example.com. shop.example.com is offline.\n06:12:58Z seal sent, accepted\n06:13:40Z flip sent, accepted\n06:13:52Z open sent, accepted\n06:13:55Z check https://shop.example.com/ answered 200\n06:13:56Z finish sent, accepted\n06:14:31Z finish sent, accepted\nMoved. shop.example.com is served from London (UK). It was offline for 74 seconds.", |
| "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. A text fence under OR51. Every output line is already approved (M-C1 + OR10, OR11/OR12, OR15, OR16, OR18, MovedLine) or is the console’s own waiting sentence; what is new here is the example itself: the host, the times, two stage rounds, a 74-second window. Matches the order run really prints in (the move line comes after the first stage answers, and finish is sent twice: once to start finishing, once to end the move). Region labels as a current console sends them.", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR53", |
| @@ -29,7 +29,7 @@ |
| "label": "When run moves it back", |
| "text": "Before `open`, if a step fails or takes too long, `run` moves the instance back and exits 3. `--max-offline` sets how long the instance may stay offline before that happens (15 minutes by default). After `open`, `run` never moves it back. If the instance does not answer within 2 minutes of `open`, `run` stops with exit 4 and leaves `finish` to you.", |
| "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. After the example. The step budgets (stop 3 min, seal 10 min, landing 5 min, open check 2 min) are not named: they are drafts the dev rehearsal sets.", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR54", |
| @@ -37,7 +37,7 @@ |
| "label": "run's other flags", |
| "text": "`--no-finish` stops once the instance is served from the new region, so you can check it before `finish` cleans up the old one. `--probe-path` is the path `run` checks after `open` (`/` by default). `--log` also writes every line to a file.", |
| "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. Echoes the approved flag help OR04, OR06, OR07.", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR55", |
| @@ -45,7 +45,7 @@ |
| "label": "Ctrl-C", |
| "text": "The first Ctrl-C before `open` moves the instance back. A second one stops watching and leaves the move running. After `open`, Ctrl-C only stops watching.", |
| "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. Paul’s decision 3 (#1005). What the terminal says is OR28, OR29, OR40.", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR56", |
| @@ -53,7 +53,7 @@ |
| "label": "When run stops partway", |
| "text": "On Linux and macOS a dropped SSH connection does not stop `run`. If `run` stops for any other reason, the move waits where it is, even while the instance is offline. Run `status` first. Then use `run --resume <move-id>` to carry the move on from where it stands, or, before `open`, `abort` and then `finish` to move it back. Without `--resume`, `run` refuses a host that already has a move.", |
| "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. run ignores SIGHUP on unix only, hence “On Linux and macOS”. The refusal it names is OR27.", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR57", |
| @@ -61,7 +61,7 @@ |
| "label": "Exit codes, lead-in", |
| "text": "`run` ends with one of these exit codes:", |
| "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. Above a two-column table with the page’s existing header (exit code | meaning). OR58 to OR62 are its rows, in this order.", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR58", |
| @@ -69,7 +69,7 @@ |
| "label": "Exit 0", |
| "text": "the move finished, or is open with `--no-finish`", |
| "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. Exit table, row `0`.", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR59", |
| @@ -77,7 +77,7 @@ |
| "label": "Exit 3", |
| "text": "the instance was moved back", |
| "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. Exit table, row `3`.", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR60", |
| @@ -85,7 +85,7 @@ |
| "label": "Exit 4", |
| "text": "`run` stopped, and you decide what comes next", |
| "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. Exit table, row `4`. Its last lines say which command to run (OR24, OR25, OR27).", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR61", |
| @@ -93,23 +93,23 @@ |
| "label": "Exit 5", |
| "text": "the console refused the first stage, and nothing was written", |
| "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. Exit table, row `5`.", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR62", |
| "section": "CLI page", |
| "label": "Exit 1", |
| - "text": "the console could not be reached, or the `--log` file could not be written", |
| + "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).", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR63", |
| "section": "CLI page", |
| "label": "What status shows", |
| - "text": "`status` leads with the state, then the move, how long the instance has been offline, how long it has been in this step, and the one command forward and the one back:", |
| + "text": "`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:", |
| "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. Introduces the status example. Follows the UX pass in docs/drafts/offline-move-run/README.md.", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR64", |
| @@ -117,7 +117,7 @@ |
| "label": "status example", |
| "text": "$ carlos move offline status --host shop.example.com\nReady to open\n move mv_7kq2xw5rbt3yfn6hd4jm2pcsea, Dublin (IE) to London (UK)\n offline 1 min 2 s, since 06:12:38Z\n this step 4 s\n forward carlos move offline open --host shop.example.com\n back carlos move offline abort --host shop.example.com", |
| "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. A text fence under OR63. The words are approved (OR35, OR41, OR42, OR43); new here is the example. A landed move: next is open, so there is no waiting row and no “, when ready”. Item and report lines follow in real output; OR65 says so rather than listing twenty items.", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR65", |
| @@ -125,7 +125,7 @@ |
| "label": "After the status block", |
| "text": "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.", |
| "context": "docs/site/cli.md, under ### carlos move, the offline-moves part. After the status example.", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| }, |
| { |
| "id": "OR66", |
| @@ -133,6 +133,6 @@ |
| "label": "Usage line for carlos move offline", |
| "text": "carlos move offline needs run, stage, start, seal, flip, open, finish, abort or status.", |
| "context": "move.go, moveOfflineUsage: said when carlos move offline gets no verb or one it does not have (exit 2). Replaces the approved MV-O181, which lacks run. run is first because it is the usual way. Not applied yet: the code keeps MV-O181 until this is approved.", |
| - "status": "pending" |
| + "status": "approved (Luna, by Paul's delegation)" |
| } |
| ] |
diff --git a/docs/site/cli.md b/docs/site/cli.md| index 52ad866ca..a46d1ede4 100644 |
| --- a/docs/site/cli.md |
| +++ b/docs/site/cli.md |
| @@ -3451,7 +3451,7 @@ to confirm. |
| Operators who are members of the instance's account. |
| -`carlos move offline` moves one instance with planned downtime. It is for operators and works with host claims and Phase 1 moves off. `run` carries a move through every step on its own. Each of the other verbs does one step and says which verb comes next. |
| +`carlos move offline` moves one instance with planned downtime. It is for operators. `run` carries a move through every step. Each other verb does one step and says which verb comes next. |
| ```sh |
| carlos move offline run --host <host> --to <region> |
| @@ -3505,9 +3505,9 @@ 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` | the console refused the first stage, and nothing was written | |
| -| `1` | the console could not be reached, 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 written | |
| -`status` leads with the state, then the move, how long the instance has been offline, how long it has been in this step, and the one command forward and the one back: |
| +`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: |
| ```text |
| $ carlos move offline status --host shop.example.com |
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 e2426f27e..6fad467ce 100644 |
| --- a/docs/superpowers/plans/2026-10-06-moves-phase1-copy.md |
| +++ b/docs/superpowers/plans/2026-10-06-moves-phase1-copy.md |
| @@ -693,13 +693,12 @@ A door's answer to a box report it cannot believe for its age (harness Run 9, fi |
| MV-O179 and MV-O180 are console door refusals (`internal/console/apiinstancemove_offline.go`), lower case like the other door sentences. MV-O179 answers a `stage` or `start` that names another region than the one the instance is staged for (`<to>` is that region's name). MV-O180 is the stage door's own box rule: every box in both regions must publish `offline-stage-1`. |
| -MV-O181 is the usage line with `stage` added. It replaces MV-O56, whose withdrawal Luna approved with it. MV-O182 to MV-O188 are `carlos move offline` output (`move.go`): what `stage` says when it posts and when its round has run, what `status` says while the move is staging, and what `abort` says for a move that was staged and never started (nothing is moved back, only the staged copy is removed). In MV-O183, `<staged>` and `<total>` are object counts, `<staged_mb>` and `<total_mb>` are megabytes with one decimal, and `<time>` is the round's end as `2006-01-02 15:04 UTC`. In MV-O185, `<reason>` is the stager box's own diagnostic, not copy. MV-O189 is the CLI page's paragraph for `stage`. |
| +MV-O181 is the usage line with `stage` added. It replaces MV-O56, whose withdrawal Luna approved with it. MV-O181 was withdrawn in turn when `run` came: OR66 replaces it (offline move run, Task 8). MV-O182 to MV-O188 are `carlos move offline` output (`move.go`): what `stage` says when it posts and when its round has run, what `status` says while the move is staging, and what `abort` says for a move that was staged and never started (nothing is moved back, only the staged copy is removed). In MV-O183, `<staged>` and `<total>` are object counts, `<staged_mb>` and `<total_mb>` are megabytes with one decimal, and `<time>` is the round's end as `2006-01-02 15:04 UTC`. In MV-O185, `<reason>` is the stager box's own diagnostic, not copy. MV-O189 is the CLI page's paragraph for `stage`. |
| | id | file | text | status | |
| |---|---|---|---| |
| | MV-O179 | internal/console/apiinstancemove_offline.go | <host> is staged for <to>. abort the move to move it to another region | approved | |
| | MV-O180 | internal/console/apiinstancemove_offline.go | <box> cannot stage an offline move. it runs an older release | approved | |
| -| MV-O181 | move.go | carlos move offline needs stage, start, seal, flip, open, finish, abort or status. | approved | |
| | MV-O182 | move.go | Staging <host> in <to>. <host> keeps serving while the data is copied. | approved | |
| | MV-O183 | move.go | Staged <staged> of <total> objects for <host> in <to> (<staged_mb> of <total_mb> MB) at <time>. | approved | |
| | MV-O184 | move.go | <host> keeps serving. Run carlos move offline start --host <host> --to <to> when you are ready to take it offline. | approved | |
| @@ -793,22 +792,22 @@ 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) |
| -Drafted for Task 8 of the offline move run plan (deck `docs/drafts/offline-move-run/copy-review/strings-task8.json`), pending approval. OR50 replaces MV-O32, whose “never acts on its own” stopped being true with `run`; MV-O32 is withdrawn with OR50's approval. 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`. OR66 is `moveOfflineUsage` with `run` added. It replaces MV-O181 once approved; until then `move.go` keeps MV-O181, so OR66 is not applied. |
| - |
| -| id | file | text | status | |
| -|---|---|---|---| |
| -| OR50 | docs/site/cli.md | `carlos move offline` moves one instance with planned downtime. It is for operators and works with host claims and Phase 1 moves off. `run` carries a move through every step on its own. Each of the other verbs does one step and says which verb comes next. | pending | |
| -| OR51 | docs/site/cli.md | `run` copies the instance’s data while it still serves, then takes it offline and runs `start`, `seal`, `flip` and `open` in turn. Once the instance answers in the new region, it runs `finish`. It prints one line per step with the time, and an indented line when the console starts waiting on a box: | pending | |
| -| OR53 | docs/site/cli.md | Before `open`, if a step fails or takes too long, `run` moves the instance back and exits 3. `--max-offline` sets how long the instance may stay offline before that happens (15 minutes by default). After `open`, `run` never moves it back. If the instance does not answer within 2 minutes of `open`, `run` stops with exit 4 and leaves `finish` to you. | pending | |
| -| OR54 | docs/site/cli.md | `--no-finish` stops once the instance is served from the new region, so you can check it before `finish` cleans up the old one. `--probe-path` is the path `run` checks after `open` (`/` by default). `--log` also writes every line to a file. | pending | |
| -| OR55 | docs/site/cli.md | The first Ctrl-C before `open` moves the instance back. A second one stops watching and leaves the move running. After `open`, Ctrl-C only stops watching. | pending | |
| -| OR56 | docs/site/cli.md | On Linux and macOS a dropped SSH connection does not stop `run`. If `run` stops for any other reason, the move waits where it is, even while the instance is offline. Run `status` first. Then use `run --resume <move-id>` to carry the move on from where it stands, or, before `open`, `abort` and then `finish` to move it back. Without `--resume`, `run` refuses a host that already has a move. | pending | |
| -| OR57 | docs/site/cli.md | `run` ends with one of these exit codes: | pending | |
| -| OR58 | docs/site/cli.md | the move finished, or is open with `--no-finish` | pending | |
| -| OR59 | docs/site/cli.md | the instance was moved back | pending | |
| -| OR60 | docs/site/cli.md | `run` stopped, and you decide what comes next | pending | |
| -| OR61 | docs/site/cli.md | the console refused the first stage, and nothing was written | pending | |
| -| OR62 | docs/site/cli.md | the console could not be reached, or the `--log` file could not be written | pending | |
| -| OR63 | docs/site/cli.md | `status` leads with the state, then the move, how long the instance has been offline, how long it has been in this step, and the one command forward and the one back: | pending | |
| -| 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. | pending | |
| -| OR66 | move.go | carlos move offline needs run, stage, start, seal, flip, open, finish, abort or status. | pending | |
| +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`. OR66 is `moveOfflineUsage` with `run` added. It replaces MV-O181, which is withdrawn. |
| + |
| +| id | file | text | status | |
| +|---|---|---|---| |
| +| OR50 | docs/site/cli.md | `carlos move offline` moves one instance with planned downtime. It is for operators. `run` carries a move through every step. Each other verb does one step and says which verb comes next. | approved | |
| +| OR51 | docs/site/cli.md | `run` copies the instance’s data while it still serves, then takes it offline and runs `start`, `seal`, `flip` and `open` in turn. Once the instance answers in the new region, it runs `finish`. It prints one line per step with the time, and an indented line when the console starts waiting on a box: | approved | |
| +| OR53 | docs/site/cli.md | Before `open`, if a step fails or takes too long, `run` moves the instance back and exits 3. `--max-offline` sets how long the instance may stay offline before that happens (15 minutes by default). After `open`, `run` never moves it back. If the instance does not answer within 2 minutes of `open`, `run` stops with exit 4 and leaves `finish` to you. | approved | |
| +| OR54 | docs/site/cli.md | `--no-finish` stops once the instance is served from the new region, so you can check it before `finish` cleans up the old one. `--probe-path` is the path `run` checks after `open` (`/` by default). `--log` also writes every line to a file. | approved | |
| +| OR55 | docs/site/cli.md | The first Ctrl-C before `open` moves the instance back. A second one stops watching and leaves the move running. After `open`, Ctrl-C only stops watching. | approved | |
| +| OR56 | docs/site/cli.md | On Linux and macOS a dropped SSH connection does not stop `run`. If `run` stops for any other reason, the move waits where it is, even while the instance is offline. Run `status` first. Then use `run --resume <move-id>` to carry the move on from where it stands, or, before `open`, `abort` and then `finish` to move it back. Without `--resume`, `run` refuses a host that already has a move. | approved | |
| +| OR57 | docs/site/cli.md | `run` ends with one of these exit codes: | approved | |
| +| 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 | |
| +| OR61 | docs/site/cli.md | the console refused the first stage, and nothing was 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 written | 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 | |
diff --git a/internal/provision/testdata/plan14-root-reads-omr-run.tsv b/internal/provision/testdata/plan14-root-reads-omr-run.tsv| index d2a4024e9..3895d74e8 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 96caba3ca7e3572ea76608ad566ce3ffc57f45eacdc8434a1e3292968c852e37 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@112 685caad00fcc6041ece9f4658a2b2356096247ead6537b6018bb09c565dafc8d |
| 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@112 685caad00fcc6041ece9f4658a2b2356096247ead6537b6018bb09c565dafc8d |
| -@coverage . 62cf01f89c0e7d04d80f621b7dc91a4e0c0f5b52c9f6841527c30659d3803699 |
| +@coverage . 770cbab7722a8837ba0e15c2603e0dad7ac2a64519a7d00aefbbe35a6a162ebd |
| @coverage internal/moves/offlinerun d7126c127296a9490621fd5119ca3bb4951f9c295266b2bacfe7d9d60f10b4d8 |
diff --git a/move.go b/move.go| index 50bf51e47..3bdd4ed46 100644 |
| --- a/move.go |
| +++ b/move.go |
| @@ -84,9 +84,10 @@ const ( |
| moveNoFlipTime = "The move's flip time could not be read, so its target cannot be declared lost from here." |
| moveOtherLoss = "The console asks to confirm a loss carlos move does not know. Use carlos ops host resolve." |
| moveLossChanged = "The move changed since it was read. Nothing was declared. Run the command again." |
| - // The offline subcommand named no verb, or one it does not have (MV-O181, |
| - // which replaced MV-O56 when stage became a verb). |
| - moveOfflineUsage = "carlos move offline needs stage, start, seal, flip, open, finish, abort or status." |
| + // The offline subcommand named no verb, or one it does not have (OR66, |
| + // which replaced MV-O181 when run became a verb, as MV-O181 replaced |
| + // MV-O56 when stage did). |
| + moveOfflineUsage = "carlos move offline needs run, stage, start, seal, flip, open, finish, abort or status." |
| ) |
| func moveSay(out io.Writer, line string) { |
diff --git a/move_test.go b/move_test.go| index d5d1c453e..501b289f8 100644 |
| --- a/move_test.go |
| +++ b/move_test.go |
| @@ -1315,7 +1315,7 @@ func TestParseMoveArgsOffline(t *testing.T) { |
| if _, err := parseMoveArgs([]string{"offline", "cut", "--host", oHost}, &out); err == nil { |
| t.Fatal("an unknown offline verb parsed") |
| } |
| - wantLines(t, out.String(), "carlos move offline needs stage, start, seal, flip, open, finish, abort or status.") |
| + wantLines(t, out.String(), "carlos move offline needs run, stage, start, seal, flip, open, finish, abort or status.") |
| out.Reset() |
| _, _ = parseMoveArgs([]string{"offline", "start", "--host", oHost}, &out) |
| wantLines(t, out.String(), "carlos move needs --to <region>.") |
diff --git a/testdata/clireg-golden.jsonl b/testdata/clireg-golden.jsonl| index f1107a104..c1c1e9039 100644 |
| --- a/testdata/clireg-golden.jsonl |
| +++ b/testdata/clireg-golden.jsonl |
| @@ -539,13 +539,13 @@ |
| {"case":"move offline start | -h","argv":["move","offline","start","-h"],"exit":0,"stdout":" -a string\n \tshorthand for --app\n -account string\n \tthe account the app belongs to (default: your default account)\n -account-id string\n \tthe account, by its id\n -app string\n \tthe app the instance belongs to\n -console string\n \tthe console to work through (default: the only logged-in one)\n -host string\n \tthe instance's host name\n -to string\n \tthe region to move the instance to\n","stderr":""} |
| {"case":"move offline status | --zz-unknown-flag","argv":["move","offline","status","--zz-unknown-flag"],"exit":2,"stdout":"flag provided but not defined: -zz-unknown-flag\n -a string\n \tshorthand for --app\n -account string\n \tthe account the app belongs to (default: your default account)\n -account-id string\n \tthe account, by its id\n -app string\n \tthe app the instance belongs to\n -console string\n \tthe console to work through (default: the only logged-in one)\n -host string\n \tthe instance's host name\n","stderr":""} |
| {"case":"move offline status | -h","argv":["move","offline","status","-h"],"exit":0,"stdout":" -a string\n \tshorthand for --app\n -account string\n \tthe account the app belongs to (default: your default account)\n -account-id string\n \tthe account, by its id\n -app string\n \tthe app the instance belongs to\n -console string\n \tthe console to work through (default: the only logged-in one)\n -host string\n \tthe instance's host name\n","stderr":""} |
| -{"case":"move offline zz | extra","argv":["move","offline","zz"],"exit":2,"stdout":"carlos move offline needs stage, start, seal, flip, open, finish, abort or status.\n","stderr":""} |
| -{"case":"move offline | --help","argv":["move","offline","--help"],"exit":2,"stdout":"carlos move offline needs stage, start, seal, flip, open, finish, abort or status.\n","stderr":""} |
| -{"case":"move offline | --zz-unknown-flag","argv":["move","offline","--zz-unknown-flag"],"exit":2,"stdout":"carlos move offline needs stage, start, seal, flip, open, finish, abort or status.\n","stderr":""} |
| -{"case":"move offline | -h","argv":["move","offline","-h"],"exit":2,"stdout":"carlos move offline needs stage, start, seal, flip, open, finish, abort or status.\n","stderr":""} |
| -{"case":"move offline | bare","argv":["move","offline"],"exit":2,"stdout":"carlos move offline needs stage, start, seal, flip, open, finish, abort or status.\n","stderr":""} |
| -{"case":"move offline | help","argv":["move","offline","help"],"exit":2,"stdout":"carlos move offline needs stage, start, seal, flip, open, finish, abort or status.\n","stderr":""} |
| -{"case":"move offline | zz-unknown","argv":["move","offline","zz-unknown"],"exit":2,"stdout":"carlos move offline needs stage, start, seal, flip, open, finish, abort or status.\n","stderr":""} |
| +{"case":"move offline zz | extra","argv":["move","offline","zz"],"exit":2,"stdout":"carlos move offline needs run, stage, start, seal, flip, open, finish, abort or status.\n","stderr":""} |
| +{"case":"move offline | --help","argv":["move","offline","--help"],"exit":2,"stdout":"carlos move offline needs run, stage, start, seal, flip, open, finish, abort or status.\n","stderr":""} |
| +{"case":"move offline | --zz-unknown-flag","argv":["move","offline","--zz-unknown-flag"],"exit":2,"stdout":"carlos move offline needs run, stage, start, seal, flip, open, finish, abort or status.\n","stderr":""} |
| +{"case":"move offline | -h","argv":["move","offline","-h"],"exit":2,"stdout":"carlos move offline needs run, stage, start, seal, flip, open, finish, abort or status.\n","stderr":""} |
| +{"case":"move offline | bare","argv":["move","offline"],"exit":2,"stdout":"carlos move offline needs run, stage, start, seal, flip, open, finish, abort or status.\n","stderr":""} |
| +{"case":"move offline | help","argv":["move","offline","help"],"exit":2,"stdout":"carlos move offline needs run, stage, start, seal, flip, open, finish, abort or status.\n","stderr":""} |
| +{"case":"move offline | zz-unknown","argv":["move","offline","zz-unknown"],"exit":2,"stdout":"carlos move offline needs run, stage, start, seal, flip, open, finish, abort or status.\n","stderr":""} |
| {"case":"move resolve | --zz-unknown-flag","argv":["move","resolve","--zz-unknown-flag"],"exit":2,"stdout":"flag provided but not defined: -zz-unknown-flag\n -a string\n \tshorthand for --app\n -account string\n \tthe account the app belongs to (default: your default account)\n -account-id string\n \tthe account, by its id\n -app string\n \tthe app the instance belongs to\n -console string\n \tthe console to work through (default: the only logged-in one)\n -declare-lost string\n \tdeclare the move's target box lost, once AWS shows it stopped or terminated\n -host string\n \tthe instance's host name\n -no-wait\n \treturn once the console has accepted it\n -retry\n \tretry a stuck move once its cause is fixed\n","stderr":""} |
| {"case":"move resolve | -h","argv":["move","resolve","-h"],"exit":0,"stdout":" -a string\n \tshorthand for --app\n -account string\n \tthe account the app belongs to (default: your default account)\n -account-id string\n \tthe account, by its id\n -app string\n \tthe app the instance belongs to\n -console string\n \tthe console to work through (default: the only logged-in one)\n -declare-lost string\n \tdeclare the move's target box lost, once AWS shows it stopped or terminated\n -host string\n \tthe instance's host name\n -no-wait\n \treturn once the console has accepted it\n -retry\n \tretry a stuck move once its cause is fixed\n","stderr":""} |
| {"case":"move status | --zz-unknown-flag","argv":["move","status","--zz-unknown-flag"],"exit":2,"stdout":"flag provided but not defined: -zz-unknown-flag\n -a string\n \tshorthand for --app\n -account string\n \tthe account the app belongs to (default: your default account)\n -account-id string\n \tthe account, by its id\n -app string\n \tthe app the instance belongs to\n -console string\n \tthe console to work through (default: the only logged-in one)\n -host string\n \tthe instance's host name\n -wait\n \twait for the move in flight, or the last one, to finish\n","stderr":""} |