carlos / platform Public

copy: apply Luna's review of the fleet record label strings

Paul delegated plan copy review to Luna; the release manager (8a3d302)
applied that delegation to this deck on 2026-11-14. Luna changed C08, C09,
C15, C24, C29, C36, C37 and C45 and three docs.cli.label entries, with no
flags. Every C key is now marked approved copy; the docs entries are applied
to docs/site/cli.md but still go to Paul (paul-review/strings.json). The
README gains a Review section and two captured refusals for the UX pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev e461aa48f0c86af5bdf44559749d3ed5fe5bd076 parent 98ffd5b
10 files changed, +357 −153
  • docs/drafts/fleet-record-labels/README.md +67 −6
  • docs/drafts/fleet-record-labels/paul-review/strings.json +77 −0
  • docs/drafts/fleet-record-labels/strings.json +143 −77
  • docs/site/cli.md +5 −5
  • instances_cli.go +48 −48
  • internal/activator/activator.go +3 −3
  • internal/activator/startrule.go +1 −1
  • internal/console/appcopies.go +2 −2
  • internal/console/fleetcreate.go +7 −7
  • internal/console/instancelabel.go +4 −4
diff --git a/docs/drafts/fleet-record-labels/README.md b/docs/drafts/fleet-record-labels/README.md
index 75135ba82..bbbb4b345 100644
--- a/docs/drafts/fleet-record-labels/README.md
+++ b/docs/drafts/fleet-record-labels/README.md
@@ -3,12 +3,41 @@
The strings for `carlos instances label` and the refusals around it (#1008
option B), drafted from spec §9 of
`docs/superpowers/specs/2026-11-14-fleet-record-labels-design.md`, after a UX
-pass on the real CLI output. The deck for Paul's copy review is
-`copy-review/strings.json` (66 strings). Each string is marked in the code
-with `// draft for copy review (Cnn)`, and `TestInstancesLabelCopyKeysPresent`
-fails if any key from C01 to C50 loses its marker.
-
-Approved text is applied verbatim before release B.
+pass on the real CLI output. The deck is `strings.json` (66 strings). Each
+C key is marked in the code with
+`// approved copy (Cnn), Luna review by Paul's delegation 2026-11-14`.
+`TestInstancesLabelCopyKeysPresent` fails if any key from C01 to C50 loses
+its marker, and `TestFleetRecordLabelsApprovedCopyApplied` fails if the
+approved text of any C key is not in the code. The `docs.cli.label.*`
+entries wait for Paul's own review: `paul-review/strings.json`.
+
+## Review
+
+Paul delegated copy review of platform CLI, UI and docs copy inside a plan
+to Luna. The release manager (8a3d302) applied that delegation to this deck
+on 2026-11-14. Luna reviewed it against `LUNA-COPY-BRIEF.md` and raised no
+flags. Rows Luna did not change are approved as they stand.
+
+Every C key is approved (`"status": "approved (Luna, by Paul's delegation)"`
+in `strings.json`). The `docs.cli.label.*` entries are applied to
+`docs/site/cli.md` as Luna wrote them but still go to Paul
+(`"status": "pending Paul's review"`).
+
+Luna's changes, applied verbatim:
+
+| key | new | why |
+|---|---|---|
+| C08 | `last report from %s (%s ago)` | Replaces internal “binding” with plain wording. |
+| C09 | `no box has reported running it since it was created` | Removes internal “binding” and states the missing evidence directly. |
+| C15 | `if the report is wrong, tying it moves the instance. it stops on the serving box and starts on %s from its last saved copy` | Splits the long CLI line and clarifies the consequence. |
+| C24 | `%s is being handled by %s right now. try again in a few minutes` | Replaces internal “coordinated” with plain wording. |
+| C29 | `%s runs %s. tying instances to boxes needs %s or later on the console and every active box of fleet %s` | Matches the code, which checks active fleet boxes. |
+| C36 | `could not record that %s holds this instance, so it was not tied. try again` | “Record” is clearer than the internal operation “mark”. |
+| C37 | `could not read the instance or its fleet, so it was not tied. try again` | Either read can fail; “or” matches the code. |
+| C45 | `%s%s: its final checkpoint failed. its lease stays held until it expires` | Fixes the grammar and states the lease behavior directly. |
+| docs.cli.label.when | `Use it when a refusal tells you to tie an instance first, or before you add a second box to a fleet that already runs instances. New process instances on a fleet with more than one box are tied when they are created. Older process instances are the ones that need it.` | Avoids incorrectly claiming that static and externally addressed instances are tied at creation. |
+| docs.cli.label.notproof | `The reports are not proof. If they are wrong, tying the instance moves it. It stops on the serving box and starts on the box you named from its last saved copy.` | Splits the long explanation and matches the CLI wording. |
+| docs.cli.label.dryrun-output | `shop.example.com is not tied to a box of fleet pi`<br>` last report from box-1 (3m05s ago)`<br>` the hub sends its requests to box-1`<br>` these agree: box-1 looks like the box serving it`<br>` this is what the boxes reported, not proof of which box runs it now`<br>`box-1 can take it`<br>`if the report is wrong, tying it moves the instance. it stops on the serving box and starts on box-1 from its last saved copy`<br>`to tie it, run:`<br>` carlos instances label --app shop shop.example.com --box box-1`<br>`dry run. nothing changed` | Keeps the documented example in sync with the revised CLI copy and uses the neutral fleet name `pi`. |
## UX pass
@@ -45,6 +74,38 @@ to tie it, run:
dry run. nothing changed
```
+Refusals, captured from the built CLI after Luna's review, against a
+scratch stub console on 127.0.0.1 (the console address is shown as
+`<console>` here). The date and time on the last line come from the CLI's
+standard `log.Fatal`; see "Looked at and left".
+
+No evidence (`no_evidence`):
+
+```text
+$ carlos instances label --account bab --app shop shop.example.com
+using <console> as owner@example.com
+shop.example.com is not tied to a box of fleet pi
+ no box has reported running it since it was created
+ the hub sends its requests to box-1
+ this is what the boxes reported, not proof of which box runs it now
+2026/11/14 13:41:04 nothing shows which box serves it yet. open it once, then try again in about 10 minutes
+```
+
+Not the serving box (`not_serving`):
+
+```text
+$ carlos instances label --account bab --app shop --box box-2 shop.example.com
+using <console> as owner@example.com
+shop.example.com is not tied to a box of fleet pi
+ last report from box-1 (3m05s ago)
+ the hub sends its requests to box-1
+ these agree: box-1 looks like the box serving it
+ this is what the boxes reported, not proof of which box runs it now
+2026/11/14 13:41:04 box-2 is not the box serving it now. only that box can be named for now
+```
+
+Both exit with status 1.
+
### Changes
1. **C14, the command to run, and new C48.**
diff --git a/docs/drafts/fleet-record-labels/paul-review/strings.json b/docs/drafts/fleet-record-labels/paul-review/strings.json
new file mode 100644
index 000000000..4dd65af6e
--- /dev/null
+++ b/docs/drafts/fleet-record-labels/paul-review/strings.json
@@ -0,0 +1,77 @@
+[
+ {
+ "id": "docs.cli.label.intro",
+ "section": "Docs: carlos instances label",
+ "label": "What it does",
+ "text": "Ties an instance on a fleet to the box serving it now. An instance that is not tied to a box is carried by every box of its fleet. That is fine while the fleet has one box. With more than one, the platform will not add a box, run more than one copy, or switch it to a release without a local database until the instance is tied to one box.",
+ "context": "The first paragraph under the command's heading on the CLI reference page. It says what tying is and why a multi-box fleet needs it.",
+ "status": "pending Paul's review"
+ },
+ {
+ "id": "docs.cli.label.when",
+ "section": "Docs: carlos instances label",
+ "label": "When to use it",
+ "text": "Use it when a refusal tells you to tie an instance first, or before you add a second box to a fleet that already runs instances. New process instances on a fleet with more than one box are tied when they are created. Older process instances are the ones that need it.",
+ "context": "Second paragraph: when an operator reaches for the command.",
+ "status": "pending Paul's review"
+ },
+ {
+ "id": "docs.cli.label.dryrun",
+ "section": "Docs: carlos instances label",
+ "label": "The dry run",
+ "text": "Run it without `--box` first. This is a dry run and changes nothing. It shows two reports: the box that last reported running the instance, and the box the hub sends its requests to. When they agree, it names that box and gives you the command that ties it.",
+ "context": "Third paragraph: what the safe first run shows.",
+ "status": "pending Paul's review"
+ },
+ {
+ "id": "docs.cli.label.dryrun-command",
+ "section": "Docs: carlos instances label",
+ "label": "Example: the dry-run command",
+ "text": "```sh\ncarlos instances label --app shop shop.example.com\n```",
+ "context": "A code block with the command to type.",
+ "notes": "Neutral example names: shop, shop.example.com, box-1, fleet main",
+ "status": "pending Paul's review"
+ },
+ {
+ "id": "docs.cli.label.dryrun-output",
+ "section": "Docs: carlos instances label",
+ "label": "Example: dry-run output",
+ "text": "```text\nshop.example.com is not tied to a box of fleet pi\n last report from box-1 (3m05s ago)\n the hub sends its requests to box-1\n these agree: box-1 looks like the box serving it\n this is what the boxes reported, not proof of which box runs it now\nbox-1 can take it\nif the report is wrong, tying it moves the instance. it stops on the serving box and starts on box-1 from its last saved copy\nto tie it, run:\n carlos instances label --app shop shop.example.com --box box-1\ndry run. nothing changed\n```",
+ "context": "A code block with what the command prints. It must match the command's own lines (C06 to C16), so edit those keys rather than this block.",
+ "notes": "Neutral example names: shop, shop.example.com, box-1, fleet pi (Luna's review moved the fleet from main to pi)",
+ "status": "pending Paul's review"
+ },
+ {
+ "id": "docs.cli.label.notproof",
+ "section": "Docs: carlos instances label",
+ "label": "Not proof",
+ "text": "The reports are not proof. If they are wrong, tying the instance moves it. It stops on the serving box and starts on the box you named from its last saved copy.",
+ "context": "The paragraph after the example: what happens if the evidence is wrong.",
+ "status": "pending Paul's review"
+ },
+ {
+ "id": "docs.cli.label.serving-box",
+ "section": "Docs: carlos instances label",
+ "label": "Only the serving box",
+ "text": "You can only tie an instance to the box serving it now. Naming any other box is refused. To move an instance off a box, drain that box with `carlos fleets drain`. If the two reports disagree, or one is missing, wait for the instance to settle, or open it once, then try again in about 10 minutes.",
+ "context": "Says the command only ties to the serving box, how to move an instance instead, and what to do when the reports disagree.",
+ "status": "pending Paul's review"
+ },
+ {
+ "id": "docs.cli.label.tie",
+ "section": "Docs: carlos instances label",
+ "label": "Tying it",
+ "text": "To tie it, run the command the dry run gave you. Only an account owner can tie an instance to a box. The other boxes stop carrying it once they update, usually within seconds. If the command cannot tell whether the change landed, run it again without `--box` to see.",
+ "context": "The paragraph about the real run: who may run it, how soon it takes effect, and what to do when the outcome is unknown.",
+ "status": "pending Paul's review"
+ },
+ {
+ "id": "docs.cli.label.tie-command",
+ "section": "Docs: carlos instances label",
+ "label": "Example: the command that ties",
+ "text": "```sh\ncarlos instances label --app shop shop.example.com --box box-1\n```",
+ "context": "A code block with the command to type.",
+ "notes": "Neutral example names: shop, shop.example.com, box-1, fleet main",
+ "status": "pending Paul's review"
+ }
+]
diff --git a/docs/drafts/fleet-record-labels/strings.json b/docs/drafts/fleet-record-labels/strings.json
index db0d79c91..a3135990d 100644
--- a/docs/drafts/fleet-record-labels/strings.json
+++ b/docs/drafts/fleet-record-labels/strings.json
@@ -5,28 +5,32 @@
"label": "Usage line",
"text": "carlos instances label --app <a> <host> [--box <b>] [--dry-run]",
"context": "The one-line synopsis of the command. It shows in the list of instance commands and under any mistake in how the command was typed.",
- "notes": "<a> is the app name, <host> the instance's hostname, <b> a box label. Command syntax: only the words in angle brackets are copy"
+ "notes": "<a> is the app name, <host> the instance's hostname, <b> a box label. Command syntax: only the words in angle brackets are copy",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C02",
"section": "Help and usage",
"label": "What the command does",
"text": "label ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing",
- "context": "The paragraph about this command in the help for carlos instances. It has to say what tying does and that the default run is safe."
+ "context": "The paragraph about this command in the help for carlos instances. It has to say what tying does and that the default run is safe.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C03",
"section": "Help and usage",
"label": "Help for --box",
"text": "the box to tie it to. it must be the box serving it now",
- "context": "Shown next to the --box flag in the command's flag list."
+ "context": "Shown next to the --box flag in the command's flag list.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C04",
"section": "Help and usage",
"label": "Help for --dry-run",
"text": "show what would happen and change nothing",
- "context": "Shown next to the --dry-run flag in the command's flag list."
+ "context": "Shown next to the --dry-run flag in the command's flag list.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C50",
@@ -34,14 +38,16 @@
"label": "Help for --account-id",
"text": "account sqid, matched as a sqid only. it supersedes --account",
"context": "Shown next to the --account-id flag in this command's flag list. Other commands still say this with capitals and a dash, so this is this command's own wording.",
- "notes": "New key from the UX pass: this help was rewritten in an earlier review round and had no key"
+ "notes": "New key from the UX pass: this help was rewritten in an earlier review round and had no key",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C05",
"section": "Help and usage",
"label": "No host, or more than one",
"text": "name one instance host",
- "context": "Printed when the command is run with no instance hostname, or with two. The usage line follows it on the next line. Nothing is sent to the console."
+ "context": "Printed when the command is run with no instance hostname, or with two. The usage line follows it on the next line. Nothing is sent to the console.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C06",
@@ -49,22 +55,25 @@
"label": "First line: the state",
"text": "%s is not tied to a box of fleet %s",
"context": "The first line of the answer, for an instance that is not tied yet. Everything after it explains what the platform knows and what it would do.",
- "notes": "first %s: the instance hostname (shop.example.com). second %s: the fleet name"
+ "notes": "first %s: the instance hostname (shop.example.com). second %s: the fleet name",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C08",
"section": "Dry run: what it found",
"label": "Evidence: the last binding",
- "text": "last binding reported: %s (%s ago)",
+ "text": "last report from %s (%s ago)",
"context": "Indented under the first line. Names the box that last reported running the instance, and how long ago.",
- "notes": "first %s: a box label (box-1). second %s: a duration such as 3m05s"
+ "notes": "first %s: a box label (box-1). second %s: a duration such as 3m05s",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C09",
"section": "Dry run: what it found",
"label": "Evidence: no binding",
- "text": "no box has reported a binding for it since it was created",
- "context": "Indented under the first line, in place of the last binding, when no box has reported running the instance since it was created."
+ "text": "no box has reported running it since it was created",
+ "context": "Indented under the first line, in place of the last binding, when no box has reported running the instance since it was created.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C10",
@@ -72,14 +81,16 @@
"label": "Evidence: where the hub sends requests",
"text": "the hub sends its requests to %s",
"context": "Indented, the second piece of evidence: the box the fleet's hub sends the instance's requests to.",
- "notes": "%s: a box label"
+ "notes": "%s: a box label",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C10.none",
"section": "Dry run: what it found",
"label": "Evidence: the hub has no box",
"text": "the hub has no box for it yet",
- "context": "Indented, in place of the line above, when the hub has not yet picked a box for the instance."
+ "context": "Indented, in place of the line above, when the hub has not yet picked a box for the instance.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C11",
@@ -87,14 +98,16 @@
"label": "Evidence: they agree",
"text": "these agree: %s looks like the box serving it",
"context": "Indented, shown only when both pieces of evidence name the same box.",
- "notes": "%s: a box label"
+ "notes": "%s: a box label",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C13",
"section": "Dry run: what it found",
"label": "What the evidence is not",
"text": "this is what the boxes reported, not proof of which box runs it now",
- "context": "The last indented line of the evidence, shown dimmed. It warns that the boxes' own reports are evidence, not proof."
+ "context": "The last indented line of the evidence, shown dimmed. It warns that the boxes' own reports are evidence, not proof.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C14",
@@ -102,15 +115,17 @@
"label": "The box can take it",
"text": "%s can take it",
"context": "Follows the evidence when the box it names is allowed to take the instance. The next lines say what tying does if the evidence is wrong, then give the command.",
- "notes": "%s: a box label. Changed in the UX pass: the command moved to its own line (C48)"
+ "notes": "%s: a box label. Changed in the UX pass: the command moved to its own line (C48)",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C15",
"section": "Dry run: the answer",
"label": "If the report is wrong",
- "text": "if the report is wrong, tying it moves it: it stops on the box that runs it and starts on %s from its last saved copy",
+ "text": "if the report is wrong, tying it moves the instance. it stops on the serving box and starts on %s from its last saved copy",
"context": "Directly under the line above, before the command. It tells the owner the worst case of tying on wrong evidence.",
- "notes": "%s: a box label"
+ "notes": "%s: a box label",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C48",
@@ -118,14 +133,16 @@
"label": "Lead-in to the command",
"text": "to tie it, run:",
"context": "Introduces the command to run, which follows on its own indented line so it can be copied: carlos instances label --app shop shop.example.com --box box-1, with the --console and --account the person typed.",
- "notes": "New key from the UX pass"
+ "notes": "New key from the UX pass",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C16",
"section": "Dry run: the answer",
"label": "Nothing changed",
"text": "dry run. nothing changed",
- "context": "The last line of every dry run that is not refused."
+ "context": "The last line of every dry run that is not refused.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C17",
@@ -133,7 +150,8 @@
"label": "Tied",
"text": "tied %s to %s. the other boxes stop carrying it once they update, usually within seconds",
"context": "The whole answer when the instance was tied. It is printed only once the change is saved.",
- "notes": "first %s: the instance hostname. second %s: a box label"
+ "notes": "first %s: the instance hostname. second %s: a box label",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C07",
@@ -141,7 +159,8 @@
"label": "Already tied, nothing to do",
"text": "%s is already tied to %s. nothing to do",
"context": "Shown, as a success, when the instance is already tied to the box asked about, or no box was named. It is what a person sees when they check again after an unknown result.",
- "notes": "first %s: the instance hostname. second %s: a box label"
+ "notes": "first %s: the instance hostname. second %s: a box label",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C19",
@@ -149,7 +168,8 @@
"label": "Not on a fleet",
"text": "%s is not on a fleet",
"context": "The command was run for an instance that does not run on a fleet. Tying only applies to fleets.",
- "notes": "%s: the instance hostname"
+ "notes": "%s: the instance hostname",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C20",
@@ -157,7 +177,8 @@
"label": "Tied to another box",
"text": "%s is already tied to %s. to move it, drain that box with carlos fleets drain",
"context": "The instance is already tied to a different box from the one named. This command does not move instances.",
- "notes": "first %s: the instance hostname. second %s: the box it is tied to"
+ "notes": "first %s: the instance hostname. second %s: the box it is tied to",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C21",
@@ -165,7 +186,8 @@
"label": "Runs as copies",
"text": "%s runs as copies, so placement chooses its boxes",
"context": "The instance runs as several copies, and the platform places those itself.",
- "notes": "%s: the instance hostname"
+ "notes": "%s: the instance hostname",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C22",
@@ -173,7 +195,8 @@
"label": "Move in progress",
"text": "%s has a move in progress. finish it before tying it to a box",
"context": "The instance is being moved between regions or boxes.",
- "notes": "%s: the instance hostname"
+ "notes": "%s: the instance hostname",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C23",
@@ -181,15 +204,17 @@
"label": "Import in progress",
"text": "%s has an import in progress. finish it before tying it to a box",
"context": "The instance is being imported.",
- "notes": "%s: the instance hostname"
+ "notes": "%s: the instance hostname",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C24",
"section": "Refusals: the instance",
"label": "Coordinated right now",
- "text": "%s is coordinated by %s right now. try again in a few minutes",
+ "text": "%s is being handled by %s right now. try again in a few minutes",
"context": "Another box is coordinating the instance at this moment, for example while it switches releases.",
- "notes": "first %s: the instance hostname. second %s: the coordinating box's label"
+ "notes": "first %s: the instance hostname. second %s: the coordinating box's label",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C31",
@@ -197,56 +222,64 @@
"label": "Cannot be tied to one box",
"text": "%s cannot be tied to one box: %s",
"context": "The instance is a kind the platform cannot place on one box. One of the reasons below completes the line.",
- "notes": "first %s: the instance hostname. second %s: one of the six reasons that follow. The console keeps the same reasons for C42 (C46) and a test holds them to the same words"
+ "notes": "first %s: the instance hostname. second %s: one of the six reasons that follow. The console keeps the same reasons for C42 (C46) and a test holds them to the same words",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C31.static",
"section": "Refusals: the instance",
"label": "Reason: static site",
"text": "every box serves a static site",
- "context": "Completes C31 for a static site, which every box serves. Create on a fleet never refuses a static site, so C42 does not use it."
+ "context": "Completes C31 for a static site, which every box serves. Create on a fleet never refuses a static site, so C42 does not use it.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C31.addr",
"section": "Refusals: the instance",
"label": "Reason: outside address",
"text": "it is served from an address the platform does not manage",
- "context": "Completes C31 (and C42) for an instance served from an address the platform does not run."
+ "context": "Completes C31 (and C42) for an instance served from an address the platform does not run.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C31.always_on",
"section": "Refusals: the instance",
"label": "Reason: never sleeps, local database",
"text": "it never sleeps and keeps a local database",
- "context": "Completes C31 (and C42) for an instance that never sleeps and keeps its database on its box."
+ "context": "Completes C31 (and C42) for an instance that never sleeps and keeps its database on its box.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C31.unit",
"section": "Refusals: the instance",
"label": "Reason: system unit",
"text": "it runs as a system unit",
- "context": "Completes C31 (and C42) for an instance run as a system unit."
+ "context": "Completes C31 (and C42) for an instance run as a system unit.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C31.ha",
"section": "Refusals: the instance",
"label": "Reason: high availability",
"text": "it is a high availability instance",
- "context": "Completes C31 (and C42) for a high availability instance."
+ "context": "Completes C31 (and C42) for a high availability instance.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C31.demo",
"section": "Refusals: the instance",
"label": "Reason: demo",
"text": "it is a demo",
- "context": "Completes C31 (and C42) for a demo instance."
+ "context": "Completes C31 (and C42) for a demo instance.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C12",
"section": "Refusals: the evidence",
"label": "The reports disagree",
"text": "these disagree. wait for it to settle, or open it once, then try again in about 10 minutes",
- "context": "Printed under the evidence when the two reports name different boxes. Nothing is tied."
+ "context": "Printed under the evidence when the two reports name different boxes. Nothing is tied.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C47",
@@ -254,7 +287,8 @@
"label": "A report is missing",
"text": "nothing shows which box serves it yet. open it once, then try again in about 10 minutes",
"context": "Printed under the evidence when one of the two reports is missing. The evidence above already says which one, so this line says what to do.",
- "notes": "New key from the UX pass: it replaces repeating C09 or C10's second form"
+ "notes": "New key from the UX pass: it replaces repeating C09 or C10's second form",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C30",
@@ -262,7 +296,8 @@
"label": "Not the serving box",
"text": "%s is not the box serving it now. only that box can be named for now",
"context": "The --box named a box the evidence does not point to. For now only the serving box can be named.",
- "notes": "%s: the box label that was named"
+ "notes": "%s: the box label that was named",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C25",
@@ -270,7 +305,8 @@
"label": "Not an active box",
"text": "%s is not an active box of fleet %s",
"context": "The named box is not an active member of the fleet.",
- "notes": "first %s: a box label. second %s: the fleet name"
+ "notes": "first %s: a box label. second %s: the fleet name",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C26",
@@ -278,7 +314,8 @@
"label": "Draining",
"text": "%s is draining. it cannot take an instance",
"context": "The named box is being emptied.",
- "notes": "%s: a box label"
+ "notes": "%s: a box label",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C27",
@@ -286,7 +323,8 @@
"label": "Not reported in",
"text": "%s has not reported in recently",
"context": "The named box has not checked in with the console recently.",
- "notes": "%s: a box label"
+ "notes": "%s: a box label",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C28",
@@ -294,15 +332,17 @@
"label": "Cannot run the runtime",
"text": "%s cannot run this app's runtime yet",
"context": "The named box cannot run the kind of release this app ships.",
- "notes": "%s: a box label"
+ "notes": "%s: a box label",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C29",
"section": "Refusals: the box",
"label": "Below the release floor",
- "text": "%s runs %s. tying instances to boxes needs %s or later on the console and on every box of fleet %s",
+ "text": "%s runs %s. tying instances to boxes needs %s or later on the console and every active box of fleet %s",
"context": "A box, or the console itself, runs a release too old for tying. The line names which one, so the owner knows what to update.",
- "notes": "first %s: a box label, or C49 (the console). second %s: its release, such as v0.34.0, or unknown. third %s: the release needed. fourth %s: the fleet name. Changed in the UX pass"
+ "notes": "first %s: a box label, or C49 (the console). second %s: its release, such as v0.34.0, or unknown. third %s: the release needed. fourth %s: the fleet name. Changed in the UX pass",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C49",
@@ -310,7 +350,8 @@
"label": "The console, as C29's subject",
"text": "the console",
"context": "Fills C29's first blank when the console, not a box, is the one below the floor: the console runs v0.34.0. tying instances to boxes needs ...",
- "notes": "New key: added with the floor answer, before this pass, under C29's marker"
+ "notes": "New key: added with the floor answer, before this pass, under C29's marker",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C32",
@@ -318,7 +359,8 @@
"label": "Fleet has sidecars",
"text": "fleet %s has sidecars, so its instances cannot be tied to boxes yet",
"context": "The fleet runs sidecars, which this first version does not handle.",
- "notes": "%s: the fleet name"
+ "notes": "%s: the fleet name",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C18",
@@ -326,14 +368,16 @@
"label": "Owners only",
"text": "tie an instance to a box",
"context": "Completes the console's shared owner-only refusal, so a member who is not an owner reads: only an account owner can tie an instance to a box.",
- "notes": "Only these words are new. The start, only an account owner can, is shared"
+ "notes": "Only these words are new. The start, only an account owner can, is shared",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C33",
"section": "Refusals: the fleet and the console",
"label": "Not on this console",
"text": "tying instances to boxes is not available on this console",
- "context": "Shown on consoles that run their own box-claim protocol, where tying is switched off."
+ "context": "Shown on consoles that run their own box-claim protocol, where tying is switched off.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C34",
@@ -341,7 +385,8 @@
"label": "Another change won",
"text": "another change tied %s to %s first. nothing more changed",
"context": "Two people or processes tied the instance at the same moment, and the other one landed first.",
- "notes": "first %s: the instance hostname. second %s: a box label"
+ "notes": "first %s: the instance hostname. second %s: a box label",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C35",
@@ -349,22 +394,25 @@
"label": "It changed underneath",
"text": "%s changed while it was being tied, so it was not tied. try again",
"context": "The instance changed between the console's check and its write.",
- "notes": "%s: the instance hostname"
+ "notes": "%s: the instance hostname",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C36",
"section": "When the change does not go through",
"label": "Could not mark the box",
- "text": "could not mark %s for this instance, so it was not tied. try again",
+ "text": "could not record that %s holds this instance, so it was not tied. try again",
"context": "The console could not record the box as holding tied instances, so it stopped before tying.",
- "notes": "%s: a box label"
+ "notes": "%s: a box label",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C37",
"section": "When the change does not go through",
"label": "Could not read",
- "text": "could not read the instance and its fleet, so it was not tied. try again",
- "context": "The console could not read what it needs to judge the request. The console sends the same words."
+ "text": "could not read the instance or its fleet, so it was not tied. try again",
+ "context": "The console could not read what it needs to judge the request. The console sends the same words.",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C38",
@@ -372,7 +420,8 @@
"label": "Result unknown",
"text": "the result is unknown: it may or may not be tied. to see which, run:",
"context": "The request to tie was sent but no clear answer came back: the console timed out, the connection dropped, a gateway failed, or the save failed in a way that does not say whether it landed. The command to check follows on its own indented line, with the person's own --console and --account.",
- "notes": "Changed in the UX pass: the old wording, the console did not answer in time, was wrong when the save failed at once"
+ "notes": "Changed in the UX pass: the old wording, the console did not answer in time, was wrong when the save failed at once",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C38.door",
@@ -380,7 +429,8 @@
"label": "Result unknown, from the console",
"text": "the result is unknown: it may or may not be tied. to see which, run carlos instances label --app %s %s",
"context": "The console's own answer when the save fails without saying whether it landed. The carlos command prints C38 instead; this one reaches other clients of the console.",
- "notes": "first %s: the app name. second %s: the instance hostname"
+ "notes": "first %s: the app name. second %s: the instance hostname",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C39",
@@ -388,7 +438,8 @@
"label": "No box can take a new instance",
"text": "no box of fleet %s can take a new instance right now. try again in a minute",
"context": "Refuses creating an instance on a fleet with more than one box, when no box can take it now (an old release, sidecars, an incomplete view). The instance is not created.",
- "notes": "%s: the fleet name"
+ "notes": "%s: the fleet name",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C42",
@@ -396,7 +447,8 @@
"label": "Cannot run on a multi-box fleet",
"text": "%s cannot run on a fleet with more than one box: %s",
"context": "Refuses creating an instance the platform can never place on one box, on a fleet with more than one box.",
- "notes": "first %s: the instance hostname. second %s: one of C31's reasons (not the static one)"
+ "notes": "first %s: the instance hostname. second %s: one of C31's reasons (not the static one)",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C41",
@@ -404,7 +456,8 @@
"label": "Tie it first, then try again",
"text": "%s is not tied to one box of fleet %s, and that fleet has more than one box. tie it first with carlos instances label, then try again",
"context": "Refuses shipping a release without a local database, or more than one copy, for an app with an untied instance on a multi-box fleet.",
- "notes": "first %s: the instance hostname. second %s: the fleet name. Replaces SR-5-C01, approved 2026-11-14, so it can point at the new command"
+ "notes": "first %s: the instance hostname. second %s: the fleet name. Replaces SR-5-C01, approved 2026-11-14, so it can point at the new command",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C40",
@@ -412,7 +465,8 @@
"label": "Tie it first, then add the box",
"text": "%s is not tied to a box of fleet %s, so a second box would stop it. tie it first with carlos instances label, then add the box",
"context": "Refuses adding or reactivating a box on a fleet where an untied instance runs a release without a local database.",
- "notes": "first %s: the instance hostname. second %s: the fleet name. Replaces SR-5-C02, approved 2026-11-14, so it can point at the new command"
+ "notes": "first %s: the instance hostname. second %s: the fleet name. Replaces SR-5-C02, approved 2026-11-14, so it can point at the new command",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C43",
@@ -420,7 +474,8 @@
"label": "Refusing to start empty",
"text": "refusing to start %s empty: it was tied to this box and there is no saved copy to restore. set-aside copies: %s",
"context": "A line in a box's log when it will not start a tied instance with no data, because nothing saved can be restored. An operator reads it to recover.",
- "notes": "first %s: the instance hostname. second %s: the set-aside copies on this box, newest first, or none"
+ "notes": "first %s: the instance hostname. second %s: the set-aside copies on this box, newest first, or none",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C44",
@@ -428,36 +483,41 @@
"label": "Keeping the lease",
"text": "final checkpoint for %s failed. keeping its lease until the checkpoint succeeds",
"context": "A line in a box's log when an instance stopped but its last save failed, so the box keeps the right to run it.",
- "notes": "%s: the instance hostname. The log adds the prefix activator: "
+ "notes": "%s: the instance hostname. The log adds the prefix activator: ",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "C45",
"section": "Box logs",
"label": "Lease left to expire",
- "text": "%s%s: its final checkpoint failed, so its lease is not released and frees at its expiry",
+ "text": "%s%s: its final checkpoint failed. its lease stays held until it expires",
"context": "An error line in a box's log, often at shutdown, when an instance's last save failed and its lease is left to run out.",
- "notes": "first %s: shutdown: or nothing. second %s: the instance hostname. The log adds activator: ERROR: before it"
+ "notes": "first %s: shutdown: or nothing. second %s: the instance hostname. The log adds activator: ERROR: before it",
+ "status": "approved (Luna, by Paul's delegation)"
},
{
"id": "docs.cli.label.intro",
"section": "Docs: carlos instances label",
"label": "What it does",
"text": "Ties an instance on a fleet to the box serving it now. An instance that is not tied to a box is carried by every box of its fleet. That is fine while the fleet has one box. With more than one, the platform will not add a box, run more than one copy, or switch it to a release without a local database until the instance is tied to one box.",
- "context": "The first paragraph under the command's heading on the CLI reference page. It says what tying is and why a multi-box fleet needs it."
+ "context": "The first paragraph under the command's heading on the CLI reference page. It says what tying is and why a multi-box fleet needs it.",
+ "status": "pending Paul's review"
},
{
"id": "docs.cli.label.when",
"section": "Docs: carlos instances label",
"label": "When to use it",
- "text": "Use it when a refusal tells you to tie an instance first, or before you add a second box to a fleet that already runs instances. Instances created on a fleet with more than one box are tied when they are created, so older instances are the ones that need it.",
- "context": "Second paragraph: when an operator reaches for the command."
+ "text": "Use it when a refusal tells you to tie an instance first, or before you add a second box to a fleet that already runs instances. New process instances on a fleet with more than one box are tied when they are created. Older process instances are the ones that need it.",
+ "context": "Second paragraph: when an operator reaches for the command.",
+ "status": "pending Paul's review"
},
{
"id": "docs.cli.label.dryrun",
"section": "Docs: carlos instances label",
"label": "The dry run",
"text": "Run it without `--box` first. This is a dry run and changes nothing. It shows two reports: the box that last reported running the instance, and the box the hub sends its requests to. When they agree, it names that box and gives you the command that ties it.",
- "context": "Third paragraph: what the safe first run shows."
+ "context": "Third paragraph: what the safe first run shows.",
+ "status": "pending Paul's review"
},
{
"id": "docs.cli.label.dryrun-command",
@@ -465,36 +525,41 @@
"label": "Example: the dry-run command",
"text": "```sh\ncarlos instances label --app shop shop.example.com\n```",
"context": "A code block with the command to type.",
- "notes": "Neutral example names: shop, shop.example.com, box-1, fleet main"
+ "notes": "Neutral example names: shop, shop.example.com, box-1, fleet main",
+ "status": "pending Paul's review"
},
{
"id": "docs.cli.label.dryrun-output",
"section": "Docs: carlos instances label",
"label": "Example: dry-run output",
- "text": "```text\nshop.example.com is not tied to a box of fleet main\n last binding reported: box-1 (3m05s ago)\n the hub sends its requests to box-1\n these agree: box-1 looks like the box serving it\n this is what the boxes reported, not proof of which box runs it now\nbox-1 can take it\nif the report is wrong, tying it moves it: it stops on the box that runs it and starts on box-1 from its last saved copy\nto tie it, run:\n carlos instances label --app shop shop.example.com --box box-1\ndry run. nothing changed\n```",
+ "text": "```text\nshop.example.com is not tied to a box of fleet pi\n last report from box-1 (3m05s ago)\n the hub sends its requests to box-1\n these agree: box-1 looks like the box serving it\n this is what the boxes reported, not proof of which box runs it now\nbox-1 can take it\nif the report is wrong, tying it moves the instance. it stops on the serving box and starts on box-1 from its last saved copy\nto tie it, run:\n carlos instances label --app shop shop.example.com --box box-1\ndry run. nothing changed\n```",
"context": "A code block with what the command prints. It must match the command's own lines (C06 to C16), so edit those keys rather than this block.",
- "notes": "Neutral example names: shop, shop.example.com, box-1, fleet main"
+ "notes": "Neutral example names: shop, shop.example.com, box-1, fleet pi (Luna's review moved the fleet from main to pi)",
+ "status": "pending Paul's review"
},
{
"id": "docs.cli.label.notproof",
"section": "Docs: carlos instances label",
"label": "Not proof",
- "text": "The reports are not proof. If they are wrong, tying the instance moves it: it stops on the box that runs it and starts on the box you named from its last saved copy.",
- "context": "The paragraph after the example: what happens if the evidence is wrong."
+ "text": "The reports are not proof. If they are wrong, tying the instance moves it. It stops on the serving box and starts on the box you named from its last saved copy.",
+ "context": "The paragraph after the example: what happens if the evidence is wrong.",
+ "status": "pending Paul's review"
},
{
"id": "docs.cli.label.serving-box",
"section": "Docs: carlos instances label",
"label": "Only the serving box",
"text": "You can only tie an instance to the box serving it now. Naming any other box is refused. To move an instance off a box, drain that box with `carlos fleets drain`. If the two reports disagree, or one is missing, wait for the instance to settle, or open it once, then try again in about 10 minutes.",
- "context": "Says the command only ties to the serving box, how to move an instance instead, and what to do when the reports disagree."
+ "context": "Says the command only ties to the serving box, how to move an instance instead, and what to do when the reports disagree.",
+ "status": "pending Paul's review"
},
{
"id": "docs.cli.label.tie",
"section": "Docs: carlos instances label",
"label": "Tying it",
"text": "To tie it, run the command the dry run gave you. Only an account owner can tie an instance to a box. The other boxes stop carrying it once they update, usually within seconds. If the command cannot tell whether the change landed, run it again without `--box` to see.",
- "context": "The paragraph about the real run: who may run it, how soon it takes effect, and what to do when the outcome is unknown."
+ "context": "The paragraph about the real run: who may run it, how soon it takes effect, and what to do when the outcome is unknown.",
+ "status": "pending Paul's review"
},
{
"id": "docs.cli.label.tie-command",
@@ -502,6 +567,7 @@
"label": "Example: the command that ties",
"text": "```sh\ncarlos instances label --app shop shop.example.com --box box-1\n```",
"context": "A code block with the command to type.",
- "notes": "Neutral example names: shop, shop.example.com, box-1, fleet main"
+ "notes": "Neutral example names: shop, shop.example.com, box-1, fleet main",
+ "status": "pending Paul's review"
}
]
diff --git a/docs/site/cli.md b/docs/site/cli.md
index 450e14d58..57e56a22b 100644
--- a/docs/site/cli.md
+++ b/docs/site/cli.md
@@ -1385,7 +1385,7 @@ carlos instances set-pages --app shop a.shop.example.com off
Ties an instance on a fleet to the box serving it now. An instance that is not tied to a box is carried by every box of its fleet. That is fine while the fleet has one box. With more than one, the platform will not add a box, run more than one copy, or switch it to a release without a local database until the instance is tied to one box.
-Use it when a refusal tells you to tie an instance first, or before you add a second box to a fleet that already runs instances. Instances created on a fleet with more than one box are tied when they are created, so older instances are the ones that need it.
+Use it when a refusal tells you to tie an instance first, or before you add a second box to a fleet that already runs instances. New process instances on a fleet with more than one box are tied when they are created. Older process instances are the ones that need it.
Run it without `--box` first. This is a dry run and changes nothing. It shows two reports: the box that last reported running the instance, and the box the hub sends its requests to. When they agree, it names that box and gives you the command that ties it.
@@ -1394,19 +1394,19 @@ carlos instances label --app shop shop.example.com
```
```text
-shop.example.com is not tied to a box of fleet main
- last binding reported: box-1 (3m05s ago)
+shop.example.com is not tied to a box of fleet pi
+ last report from box-1 (3m05s ago)
the hub sends its requests to box-1
these agree: box-1 looks like the box serving it
this is what the boxes reported, not proof of which box runs it now
box-1 can take it
-if the report is wrong, tying it moves it: it stops on the box that runs it and starts on box-1 from its last saved copy
+if the report is wrong, tying it moves the instance. it stops on the serving box and starts on box-1 from its last saved copy
to tie it, run:
carlos instances label --app shop shop.example.com --box box-1
dry run. nothing changed
```
-The reports are not proof. If they are wrong, tying the instance moves it: it stops on the box that runs it and starts on the box you named from its last saved copy.
+The reports are not proof. If they are wrong, tying the instance moves it. It stops on the serving box and starts on the box you named from its last saved copy.
You can only tie an instance to the box serving it now. Naming any other box is refused. To move an instance off a box, drain that box with `carlos fleets drain`. If the two reports disagree, or one is missing, wait for the instance to settle, or open it once, then try again in about 10 minutes.
diff --git a/instances_cli.go b/instances_cli.go
index 08a5b834b..728db7ee4 100644
--- a/instances_cli.go
+++ b/instances_cli.go
@@ -1257,47 +1257,47 @@ func runInstancesRetry(args []string) {
// option B): the client of the console's label door. Its strings are the
// spec's drafts, each marked with its key until Paul's copy review.
const (
- instancesLabelUsageLine = "carlos instances label --app <a> <host> [--box <b>] [--dry-run]" // draft for copy review (C01)
- instancesLabelHelp = "label ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing" // draft for copy review (C02)
- instancesLabelFlagBox = "the box to tie it to. it must be the box serving it now" // draft for copy review (C03)
- instancesLabelFlagDry = "show what would happen and change nothing" // draft for copy review (C04)
- instancesLabelOneHost = "name one instance host" // draft for copy review (C05)
- instancesLabelFlagAcctID = "account sqid, matched as a sqid only. it supersedes --account" // draft for copy review (C50)
-
- labelNotTied = "%s is not tied to a box of fleet %s" // draft for copy review (C06)
- labelNothingToDo = "%s is already tied to %s. nothing to do" // draft for copy review (C07)
- labelBindingSeen = "last binding reported: %s (%s ago)" // draft for copy review (C08)
- labelNoBinding = "no box has reported a binding for it since it was created" // draft for copy review (C09)
- labelHubBox = "the hub sends its requests to %s" // draft for copy review (C10)
- labelNoHubBox = "the hub has no box for it yet" // draft for copy review (C10)
- labelAgree = "these agree: %s looks like the box serving it" // draft for copy review (C11)
- labelDisagree = "these disagree. wait for it to settle, or open it once, then try again in about 10 minutes" // draft for copy review (C12)
- labelNotProof = "this is what the boxes reported, not proof of which box runs it now" // draft for copy review (C13)
- labelCanTake = "%s can take it" // draft for copy review (C14)
- labelRunToTie = "to tie it, run:" // draft for copy review (C48)
- labelIfWrong = "if the report is wrong, tying it moves it: it stops on the box that runs it and starts on %s from its last saved copy" // draft for copy review (C15)
- labelDryRun = "dry run. nothing changed" // draft for copy review (C16)
- labelTied = "tied %s to %s. the other boxes stop carrying it once they update, usually within seconds" // draft for copy review (C17)
- labelNotOnFleet = "%s is not on a fleet" // draft for copy review (C19)
- labelAlreadyTied = "%s is already tied to %s. to move it, drain that box with carlos fleets drain" // draft for copy review (C20)
- labelCopies = "%s runs as copies, so placement chooses its boxes" // draft for copy review (C21)
- labelMoving = "%s has a move in progress. finish it before tying it to a box" // draft for copy review (C22)
- labelImporting = "%s has an import in progress. finish it before tying it to a box" // draft for copy review (C23)
- labelCoordinated = "%s is coordinated by %s right now. try again in a few minutes" // draft for copy review (C24)
- labelNotActive = "%s is not an active box of fleet %s" // draft for copy review (C25)
- labelDraining = "%s is draining. it cannot take an instance" // draft for copy review (C26)
- labelStale = "%s has not reported in recently" // draft for copy review (C27)
- labelRuntime = "%s cannot run this app's runtime yet" // draft for copy review (C28)
- labelFloor = "%s runs %s. tying instances to boxes needs %s or later on the console and on every box of fleet %s" // draft for copy review (C29)
- labelNotServing = "%s is not the box serving it now. only that box can be named for now" // draft for copy review (C30)
- labelUnmovable = "%s cannot be tied to one box: %s" // draft for copy review (C31)
- labelSidecars = "fleet %s has sidecars, so its instances cannot be tied to boxes yet" // draft for copy review (C32)
- labelCompetingWrite = "another change tied %s to %s first. nothing more changed" // draft for copy review (C34)
- labelChanged = "%s changed while it was being tied, so it was not tied. try again" // draft for copy review (C35)
- labelMarkFailed = "could not mark %s for this instance, so it was not tied. try again" // draft for copy review (C36)
- labelReadFailed = "could not read the instance and its fleet, so it was not tied. try again" // draft for copy review (C37)
- labelUnknown = "the result is unknown: it may or may not be tied. to see which, run:" // draft for copy review (C38)
- labelNoEvidence = "nothing shows which box serves it yet. open it once, then try again in about 10 minutes" // draft for copy review (C47)
+ instancesLabelUsageLine = "carlos instances label --app <a> <host> [--box <b>] [--dry-run]" // approved copy (C01), Luna review by Paul's delegation 2026-11-14
+ instancesLabelHelp = "label ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing" // approved copy (C02), Luna review by Paul's delegation 2026-11-14
+ instancesLabelFlagBox = "the box to tie it to. it must be the box serving it now" // approved copy (C03), Luna review by Paul's delegation 2026-11-14
+ instancesLabelFlagDry = "show what would happen and change nothing" // approved copy (C04), Luna review by Paul's delegation 2026-11-14
+ instancesLabelOneHost = "name one instance host" // approved copy (C05), Luna review by Paul's delegation 2026-11-14
+ instancesLabelFlagAcctID = "account sqid, matched as a sqid only. it supersedes --account" // approved copy (C50), Luna review by Paul's delegation 2026-11-14
+
+ labelNotTied = "%s is not tied to a box of fleet %s" // approved copy (C06), Luna review by Paul's delegation 2026-11-14
+ labelNothingToDo = "%s is already tied to %s. nothing to do" // approved copy (C07), Luna review by Paul's delegation 2026-11-14
+ labelBindingSeen = "last report from %s (%s ago)" // approved copy (C08), Luna review by Paul's delegation 2026-11-14
+ labelNoBinding = "no box has reported running it since it was created" // approved copy (C09), Luna review by Paul's delegation 2026-11-14
+ labelHubBox = "the hub sends its requests to %s" // approved copy (C10), Luna review by Paul's delegation 2026-11-14
+ labelNoHubBox = "the hub has no box for it yet" // approved copy (C10), Luna review by Paul's delegation 2026-11-14
+ labelAgree = "these agree: %s looks like the box serving it" // approved copy (C11), Luna review by Paul's delegation 2026-11-14
+ labelDisagree = "these disagree. wait for it to settle, or open it once, then try again in about 10 minutes" // approved copy (C12), Luna review by Paul's delegation 2026-11-14
+ labelNotProof = "this is what the boxes reported, not proof of which box runs it now" // approved copy (C13), Luna review by Paul's delegation 2026-11-14
+ labelCanTake = "%s can take it" // approved copy (C14), Luna review by Paul's delegation 2026-11-14
+ labelRunToTie = "to tie it, run:" // approved copy (C48), Luna review by Paul's delegation 2026-11-14
+ labelIfWrong = "if the report is wrong, tying it moves the instance. it stops on the serving box and starts on %s from its last saved copy" // approved copy (C15), Luna review by Paul's delegation 2026-11-14
+ labelDryRun = "dry run. nothing changed" // approved copy (C16), Luna review by Paul's delegation 2026-11-14
+ labelTied = "tied %s to %s. the other boxes stop carrying it once they update, usually within seconds" // approved copy (C17), Luna review by Paul's delegation 2026-11-14
+ labelNotOnFleet = "%s is not on a fleet" // approved copy (C19), Luna review by Paul's delegation 2026-11-14
+ labelAlreadyTied = "%s is already tied to %s. to move it, drain that box with carlos fleets drain" // approved copy (C20), Luna review by Paul's delegation 2026-11-14
+ labelCopies = "%s runs as copies, so placement chooses its boxes" // approved copy (C21), Luna review by Paul's delegation 2026-11-14
+ labelMoving = "%s has a move in progress. finish it before tying it to a box" // approved copy (C22), Luna review by Paul's delegation 2026-11-14
+ labelImporting = "%s has an import in progress. finish it before tying it to a box" // approved copy (C23), Luna review by Paul's delegation 2026-11-14
+ labelCoordinated = "%s is being handled by %s right now. try again in a few minutes" // approved copy (C24), Luna review by Paul's delegation 2026-11-14
+ labelNotActive = "%s is not an active box of fleet %s" // approved copy (C25), Luna review by Paul's delegation 2026-11-14
+ labelDraining = "%s is draining. it cannot take an instance" // approved copy (C26), Luna review by Paul's delegation 2026-11-14
+ labelStale = "%s has not reported in recently" // approved copy (C27), Luna review by Paul's delegation 2026-11-14
+ labelRuntime = "%s cannot run this app's runtime yet" // approved copy (C28), Luna review by Paul's delegation 2026-11-14
+ labelFloor = "%s runs %s. tying instances to boxes needs %s or later on the console and every active box of fleet %s" // approved copy (C29), Luna review by Paul's delegation 2026-11-14
+ labelNotServing = "%s is not the box serving it now. only that box can be named for now" // approved copy (C30), Luna review by Paul's delegation 2026-11-14
+ labelUnmovable = "%s cannot be tied to one box: %s" // approved copy (C31), Luna review by Paul's delegation 2026-11-14
+ labelSidecars = "fleet %s has sidecars, so its instances cannot be tied to boxes yet" // approved copy (C32), Luna review by Paul's delegation 2026-11-14
+ labelCompetingWrite = "another change tied %s to %s first. nothing more changed" // approved copy (C34), Luna review by Paul's delegation 2026-11-14
+ labelChanged = "%s changed while it was being tied, so it was not tied. try again" // approved copy (C35), Luna review by Paul's delegation 2026-11-14
+ labelMarkFailed = "could not record that %s holds this instance, so it was not tied. try again" // approved copy (C36), Luna review by Paul's delegation 2026-11-14
+ labelReadFailed = "could not read the instance or its fleet, so it was not tied. try again" // approved copy (C37), Luna review by Paul's delegation 2026-11-14
+ labelUnknown = "the result is unknown: it may or may not be tied. to see which, run:" // approved copy (C38), Luna review by Paul's delegation 2026-11-14
+ labelNoEvidence = "nothing shows which box serves it yet. open it once, then try again in about 10 minutes" // approved copy (C47), Luna review by Paul's delegation 2026-11-14
)
// labelCommandLine is the command C14 and C38 hand back to run, indented on
@@ -1306,17 +1306,17 @@ const labelCommandLine = "carlos instances label"
// labelUnmovableReasons are C31's reasons, by the door's unmovable:<reason>.
var labelUnmovableReasons = map[string]string{
- "static": "every box serves a static site", // draft for copy review (C31)
- "addr": "it is served from an address the platform does not manage", // draft for copy review (C31)
- "always_on": "it never sleeps and keeps a local database", // draft for copy review (C31)
- "unit": "it runs as a system unit", // draft for copy review (C31)
- "ha": "it is a high availability instance", // draft for copy review (C31)
- "demo": "it is a demo", // draft for copy review (C31)
+ "static": "every box serves a static site", // approved copy (C31), Luna review by Paul's delegation 2026-11-14
+ "addr": "it is served from an address the platform does not manage", // approved copy (C31), Luna review by Paul's delegation 2026-11-14
+ "always_on": "it never sleeps and keeps a local database", // approved copy (C31), Luna review by Paul's delegation 2026-11-14
+ "unit": "it runs as a system unit", // approved copy (C31), Luna review by Paul's delegation 2026-11-14
+ "ha": "it is a high availability instance", // approved copy (C31), Luna review by Paul's delegation 2026-11-14
+ "demo": "it is a demo", // approved copy (C31), Luna review by Paul's delegation 2026-11-14
}
// labelFloorConsole is C29's first blank when the door's floor_box is
// "console": it is this console that is below the floor.
-const labelFloorConsole = "the console" // draft for copy review (C49)
+const labelFloorConsole = "the console" // approved copy (C49), Luna review by Paul's delegation 2026-11-14
// instanceLabelBinding mirrors the door's labelBinding.
type instanceLabelBinding struct {
diff --git a/internal/activator/activator.go b/internal/activator/activator.go
index 2f586f16f..4d9f131a2 100644
--- a/internal/activator/activator.go
+++ b/internal/activator/activator.go
@@ -5681,7 +5681,7 @@ func (a *Service) closeFleetCheckpoint(ctx context.Context, e *actEntry, pc prov
// logCheckpointKept is the line a fleet stop or failed wake kept over an
// unproven final checkpoint logs (C44).
func logCheckpointKept(host string) {
- // draft for copy review (C44)
+ // approved copy (C44), Luna review by Paul's delegation 2026-11-14
log.Printf("activator: final checkpoint for %s failed. keeping its lease until the checkpoint succeeds", host)
}
@@ -5706,8 +5706,8 @@ func (a *Service) nameCheckpointLocked(named *bool, host string) {
// left to its TTL logs, naming the host; prefix says where ("shutdown: "
// or ""). It is logged only through nameCheckpointLocked.
func logCheckpointAbandoned(prefix, host string) {
- // draft for copy review (C45)
- log.Printf("activator: ERROR: %s%s: its final checkpoint failed, so its lease is not released and frees at its expiry", prefix, host)
+ // approved copy (C45), Luna review by Paul's delegation 2026-11-14
+ log.Printf("activator: ERROR: %s%s: its final checkpoint failed. its lease stays held until it expires", prefix, host)
}
// nameUnresolvedCheckpoints is Shutdown's only act on unproven fleet
diff --git a/internal/activator/startrule.go b/internal/activator/startrule.go
index 37ebeff51..e3371fc18 100644
--- a/internal/activator/startrule.go
+++ b/internal/activator/startrule.go
@@ -70,7 +70,7 @@ var ErrNothingToRestore = errors.New("nothing to restore")
type emptyStartRefusal struct{ host, setAside string }
func (r emptyStartRefusal) Error() string {
- // draft for copy review (C43)
+ // approved copy (C43), Luna review by Paul's delegation 2026-11-14
return fmt.Sprintf("refusing to start %s empty: it was tied to this box and there is no saved copy to restore. set-aside copies: %s", r.host, r.setAside)
}
diff --git a/internal/console/appcopies.go b/internal/console/appcopies.go
index e88453a30..1c47da896 100644
--- a/internal/console/appcopies.go
+++ b/internal/console/appcopies.go
@@ -23,10 +23,10 @@ const (
copiesStopping = "copies are still stopping on other boxes. wait for that to finish before selecting a release with a local database"
// copiesUnlabelledGrowth (#1008): host, fleet. It points at carlos
// instances label (fleet record labels C40), replacing SR-4-C96.
- copiesUnlabelledGrowth = "%s is not tied to a box of fleet %s, so a second box would stop it. tie it first with carlos instances label, then add the box" // draft for copy review (C40)
+ copiesUnlabelledGrowth = "%s is not tied to a box of fleet %s, so a second box would stop it. tie it first with carlos instances label, then add the box" // approved copy (C40), Luna review by Paul's delegation 2026-11-14
// copiesUnlabelled (#1008): host, fleet. It points at carlos instances
// label (fleet record labels C41), replacing SR-4-C95.
- copiesUnlabelled = "%s is not tied to one box of fleet %s, and that fleet has more than one box. tie it first with carlos instances label, then try again" // draft for copy review (C41)
+ copiesUnlabelled = "%s is not tied to one box of fleet %s, and that fleet has more than one box. tie it first with carlos instances label, then try again" // approved copy (C41), Luna review by Paul's delegation 2026-11-14
copiesBounds = "copies must be a whole number of at least 1"
copiesCapacity = "%d copies need %d eligible boxes. this fleet has %d"
copiesRelease = "more than one copy requires a stateless, always-on release. set --copies 1 before selecting this release"
diff --git a/internal/console/fleetcreate.go b/internal/console/fleetcreate.go
index 6e3fe35f3..a8a3edc5c 100644
--- a/internal/console/fleetcreate.go
+++ b/internal/console/fleetcreate.go
@@ -27,14 +27,14 @@ const fleetCreateRetryAfter = "30"
// instance right now (an incomplete view, sidecars, a release below the
// label floor, no destination, or a failed mark).
func msgFleetCreateUnavailable(fleet string) string {
- return fmt.Sprintf("no box of fleet %s can take a new instance right now. try again in a minute", fleet) // draft for copy review (C39)
+ return fmt.Sprintf("no box of fleet %s can take a new instance right now. try again in a minute", fleet) // approved copy (C39), Luna review by Paul's delegation 2026-11-14
}
// msgFleetCreateUnplaceable is C42: host is a process the platform cannot
// place on one box or move, on a fleet with more than one box. reason is
// one of C31's (unmovableReasonText).
func msgFleetCreateUnplaceable(host, reason string) string {
- return fmt.Sprintf("%s cannot run on a fleet with more than one box: %s", host, reason) // draft for copy review (C42)
+ return fmt.Sprintf("%s cannot run on a fleet with more than one box: %s", host, reason) // approved copy (C42), Luna review by Paul's delegation 2026-11-14
}
// unmovableReasonText is the console's copy of C31's reasons (C46), by
@@ -42,11 +42,11 @@ func msgFleetCreateUnplaceable(host, reason string) string {
// (labelUnmovableReasons, package main); TestInstancesLabelCopyKeysPresent
// holds the two to the same words.
var unmovableReasonText = map[string]string{
- "addr": "it is served from an address the platform does not manage", // draft for copy review (C46)
- "always_on": "it never sleeps and keeps a local database", // draft for copy review (C46)
- "unit": "it runs as a system unit", // draft for copy review (C46)
- "ha": "it is a high availability instance", // draft for copy review (C46)
- "demo": "it is a demo", // draft for copy review (C46)
+ "addr": "it is served from an address the platform does not manage", // approved copy (C46), Luna review by Paul's delegation 2026-11-14
+ "always_on": "it never sleeps and keeps a local database", // approved copy (C46), Luna review by Paul's delegation 2026-11-14
+ "unit": "it runs as a system unit", // approved copy (C46), Luna review by Paul's delegation 2026-11-14
+ "ha": "it is a high availability instance", // approved copy (C46), Luna review by Paul's delegation 2026-11-14
+ "demo": "it is a demo", // approved copy (C46), Luna review by Paul's delegation 2026-11-14
}
// fleetCreateApplies reports whether D1 decides a create of rec on a fleet
diff --git a/internal/console/instancelabel.go b/internal/console/instancelabel.go
index 1e680bd3c..d1aadb4bc 100644
--- a/internal/console/instancelabel.go
+++ b/internal/console/instancelabel.go
@@ -101,23 +101,23 @@ const (
// labelOwnerPurpose completes apiOwnerAccountFor's 403: "only an account
// owner can tie an instance to a box".
-const labelOwnerPurpose = "tie an instance to a box" // draft for copy review (C18)
+const labelOwnerPurpose = "tie an instance to a box" // approved copy (C18), Luna review by Paul's delegation 2026-11-14
// claimInstanceLabelUnsupportedMsg is the door's answer on a host-claim
// console, where the relabel worker is off and no claim operation gates
// the record write.
-const claimInstanceLabelUnsupportedMsg = "tying instances to boxes is not available on this console" // draft for copy review (C33)
+const claimInstanceLabelUnsupportedMsg = "tying instances to boxes is not available on this console" // approved copy (C33), Luna review by Paul's delegation 2026-11-14
// msgLabelReadFailed is the door's answer when it cannot read the app, the
// record or the fleet before it has an answer to give.
-const msgLabelReadFailed = "could not read the instance and its fleet, so it was not tied. try again" // draft for copy review (C37)
+const msgLabelReadFailed = "could not read the instance or its fleet, so it was not tied. try again" // approved copy (C37), Luna review by Paul's delegation 2026-11-14
// msgLabelUnknown is the door's answer when the record write failed in a
// way that does not say whether it landed: a deadline, or a store error
// with no outcome. It is C38 on one line; the CLI prints its own C38 with
// the command on a line of its own.
func msgLabelUnknown(app, host string) string {
- return fmt.Sprintf("the result is unknown: it may or may not be tied. to see which, run carlos instances label --app %s %s", app, host) // draft for copy review (C38)
+ return fmt.Sprintf("the result is unknown: it may or may not be tied. to see which, run carlos instances label --app %s %s", app, host) // approved copy (C38), Luna review by Paul's delegation 2026-11-14
}
// labelDoorTimeout bounds one request: the fleet view reads each heartbeat