carlos / platform Public

docs: Luna copy brief and tracked deck for fleet record labels

Paul's 10-25 delegation, applied by 8a3d302 to this deck: platform CLI and docs copy gets a Luna pass; Paul sees only the flags and the docs section. The deck moves to a tracked path (copy-review/ is excluded locally).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 98ffd5b7174fc29232cc677c0559600c90d36806 parent 503e1e1
2 files changed, +591 −0
  • docs/drafts/fleet-record-labels/LUNA-COPY-BRIEF.md +84 −0
  • docs/drafts/fleet-record-labels/strings.json +507 −0

Intent

Human

<task-notification> <task-id>a99fef001234176b2</task-id> <tool-use-id>toolu_01WJRZGcfmRVPeT4cgoJeJwX</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/ac77363b-5830-422c-9f38-d7f2540dd398/tasks/a99fef001234176b2.output</output-file> <status>completed</status> <summary>Agent "Implement Task 7: UX pass, deck, docs" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>- **Status:** done. Steps 1 to 5 are finished; Step 6 waits for Paul's review. No copy-review server was started. - **Commit:** `503e1e14 docs: carlos instances label, copy deck for review`. - **Deck:** `docs/drafts/fleet-record-labels/copy-review/strings.json`, 66 strings, with `docs/drafts/fleet-record-labels/README.md` (UX before/after/why, excluded strings). C40 and C41 are placed. New keys: C46 (console copy of C31's reasons, used by C42), C47 (no-evidence refusal), C48 (`to tie it, run:`), C49 (`the console`), C50 (`--account-id` help). - **Tests:** `TestInstancesLabelCopyKeysPresent` failed on C40/C41 with their markers stripped, then passed. The targeted CLI, console, parity and docsite runs pass, and the darwin and windows builds compile. - **Concerns:** - Refusals keep the `log.Fatal` timestamp, because every other instances verb shows it. - C40/C41 replace text Paul approved (SR-4-C95/C96). Those rows are marked superseded and left the stateless replicas built list, so only the marker test holds them until he approves the new text. - The docs output example must be edited by hand if C06-C16 change. - Spec §9 still has the old C14, C29 and C38 drafts. - **Report:** `/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-record-labels/.superpowers/sdd/2026-11-14-fleet-record-labels/task-7-report.md`</result> <usage><subagent_tokens>175174</subagent_tokens><tool_uses>70</tool_uses><duration_ms>854365</duration_ms></usage> </task-notification>

Human

<paseo-system version="1" kind="agent-message" source-agent-id="8a3d302a-eac7-407c-b61c-f5ccc66b5544" message-id="967c32c5-fa29-46e1-8ab1-8ef9a357637e"> Agent manager 8a3d302: per Paul&apos;s standing delegation for plan copy (memory large-copy-decks-delegated: platform UI/CLI copy inside a plan gets a Luna pass by default), run a Luna pass on the 66-string deck yourself: codex exec -m gpt-5.6-luna with a committed brief carrying the house rules (no em dashes, curly quotes in prose, CLI lower case no full stop, plain words, about a dozen words per UI line) and example renderings, answering in a key/new/why table plus flags. Apply its changes, mark rows approved with a note naming the delegation, and send me ONLY the strings Luna flags (fact conflicts, unclear placeholders) plus the docs/site/cli.md section as a small strings.json; I&apos;ll submit that to Paul&apos;s shared review. Release B waits for that. </paseo-system>

Attributed to this commit: 37.2 g CO₂e (4,586,253 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on fleet-record-labels-m2, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/docs/drafts/fleet-record-labels/LUNA-COPY-BRIEF.md b/docs/drafts/fleet-record-labels/LUNA-COPY-BRIEF.md
new file mode 100644
index 000000000..3ad1e777b
--- /dev/null
+++ b/docs/drafts/fleet-record-labels/LUNA-COPY-BRIEF.md
@@ -0,0 +1,84 @@
+# Copy pass: fleet record labels (#1008 option B), 66-string deck
+
+You are the copy-review gate itself for this set. Paul delegated copy review
+of platform CLI, UI and docs copy inside a plan to you on 2026-10-25, and the
+release manager (8a3d302) applied that delegation to this deck on 2026-11-14,
+so your verdicts are the review. Do NOT run the copy-review skill and do NOT
+start any server. You are writing a review report into a scratch file.
+
+CARLOS is a hosting platform. A fleet is a customer's own set of boxes
+(machines) that run their apps' instances. Each instance should be "tied" to
+one box of the fleet, the box that runs it. Some older instances on a fleet
+are not tied to any box, so every box carries them, and features such as
+running several copies refuse them. `carlos instances label` lets the
+account owner tie such an instance to the box serving it now. The console
+only has evidence of which box serves it (what the boxes reported), not
+proof, so the command shows that evidence in a dry run first and only ties
+it to the box the evidence agrees on.
+
+The readers are account owners and their developers, plus operators who
+read box logs (C43-C45). They read these strings in `carlos` CLI output, in
+refusals from a command they just ran, in box logs, and on the CLI docs
+page. They are technical but not platform engineers.
+
+## What to review
+
+`docs/drafts/fleet-record-labels/strings.json`: every entry. Each has an
+`id` (the copy key), the `text`, a `context` saying where a person sees it,
+and `notes` explaining each placeholder. `docs/drafts/fleet-record-labels/README.md`
+shows the real CLI output these strings make up (the UX pass). You may read
+the code (`instances_cli.go`, `internal/console/instancelabel.go`,
+`internal/console/fleetcreate.go`, `internal/console/appcopies.go`,
+`internal/activator`) and the spec
+(`docs/superpowers/specs/2026-11-14-fleet-record-labels-design.md`) to check a
+fact. Change nothing on disk.
+
+## House rules (Paul's)
+
+- Plain, direct voice. Say what happened, then what to do. No marketing
+ tone, no exclamation marks, no "simply", no throat-clearing.
+- No em or en dashes used as dashes. Use a full stop and a new sentence.
+ Example: "could not provision the store — re-run carlos store create" becomes
+ "could not provision the store. re-run carlos store create to resume".
+- CLI strings are lower case and end without a full stop. Continuations
+ after a full stop stay lower case. Docs prose is normal sentence case and
+ uses curly quotes (“ ” ‘ ’) where it quotes.
+- About a dozen words per CLI line. Split a long line into two sentences
+ rather than chaining clauses.
+- Human text only. Leave flag names, command names, JSON keys and log keys
+ alone.
+- No tenant or customer names. Examples use neutral names (shop,
+ shop.example.com, box-1, fleet pi).
+- Keep every placeholder (`%s`, `%d`, `%v`) in the same order. If you must
+ reorder one, say so in "why".
+- Never tell the user to run a command on a box. Point to a `carlos`
+ command.
+- Undefined jargon is not fine. "Instance", "box", "fleet", "tie", "drain",
+ "copies", "release" and "console" are the product's words; "label",
+ "binding", "hub stamp", "coordinator", "lease", "checkpoint" and "floor"
+ are internal. Where an internal word must stay (the box log lines C43-C45
+ are for operators and may say "lease" and "checkpoint"; the command is
+ named `label`), keep it and say so; otherwise replace it.
+- Facts must match the code: the command only ties to the box the evidence
+ agrees on; without `--box` it is a dry run; a 200 that did not apply is
+ not "tied"; an unknown outcome tells the user how to check.
+
+## Example renderings (current drafts, for tone)
+
+ shop.example.com is not tied to a box of fleet pi
+ last binding reported: box-1 (3m05s ago)
+ the hub sends its requests to box-1
+ these agree: box-1 looks like the box serving it
+ only an account owner can tie an instance to a box
+ no box of fleet pi can take a new instance right now. try again in a minute
+
+## What to return
+
+Write `/home/paulca/.cache/fleet-record-labels-copy/luna-review.md` with:
+
+1. A table `key | new | why`, with only the rows you change, keyed by the
+ strings.json `id`. Rows you leave alone are approved as they are.
+2. A `## Flags` section with only what needs a person: a fact in the copy
+ that conflicts with the code, a placeholder you can't make work, or a
+ string that needs a product decision. Keep it short. Write "none" if
+ there are none.
diff --git a/docs/drafts/fleet-record-labels/strings.json b/docs/drafts/fleet-record-labels/strings.json
new file mode 100644
index 000000000..db0d79c91
--- /dev/null
+++ b/docs/drafts/fleet-record-labels/strings.json
@@ -0,0 +1,507 @@
+[
+ {
+ "id": "C01",
+ "section": "Help and usage",
+ "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"
+ },
+ {
+ "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."
+ },
+ {
+ "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."
+ },
+ {
+ "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."
+ },
+ {
+ "id": "C50",
+ "section": "Help and usage",
+ "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"
+ },
+ {
+ "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."
+ },
+ {
+ "id": "C06",
+ "section": "Dry run: what it found",
+ "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"
+ },
+ {
+ "id": "C08",
+ "section": "Dry run: what it found",
+ "label": "Evidence: the last binding",
+ "text": "last binding reported: %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"
+ },
+ {
+ "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."
+ },
+ {
+ "id": "C10",
+ "section": "Dry run: what it found",
+ "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"
+ },
+ {
+ "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."
+ },
+ {
+ "id": "C11",
+ "section": "Dry run: what it found",
+ "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"
+ },
+ {
+ "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."
+ },
+ {
+ "id": "C14",
+ "section": "Dry run: the answer",
+ "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)"
+ },
+ {
+ "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",
+ "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"
+ },
+ {
+ "id": "C48",
+ "section": "Dry run: the answer",
+ "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"
+ },
+ {
+ "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."
+ },
+ {
+ "id": "C17",
+ "section": "Tying it",
+ "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"
+ },
+ {
+ "id": "C07",
+ "section": "Tying it",
+ "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"
+ },
+ {
+ "id": "C19",
+ "section": "Refusals: the instance",
+ "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"
+ },
+ {
+ "id": "C20",
+ "section": "Refusals: the instance",
+ "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"
+ },
+ {
+ "id": "C21",
+ "section": "Refusals: the instance",
+ "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"
+ },
+ {
+ "id": "C22",
+ "section": "Refusals: the instance",
+ "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"
+ },
+ {
+ "id": "C23",
+ "section": "Refusals: the instance",
+ "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"
+ },
+ {
+ "id": "C24",
+ "section": "Refusals: the instance",
+ "label": "Coordinated right now",
+ "text": "%s is coordinated 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"
+ },
+ {
+ "id": "C31",
+ "section": "Refusals: the instance",
+ "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"
+ },
+ {
+ "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."
+ },
+ {
+ "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."
+ },
+ {
+ "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."
+ },
+ {
+ "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."
+ },
+ {
+ "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."
+ },
+ {
+ "id": "C31.demo",
+ "section": "Refusals: the instance",
+ "label": "Reason: demo",
+ "text": "it is a demo",
+ "context": "Completes C31 (and C42) for a demo instance."
+ },
+ {
+ "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."
+ },
+ {
+ "id": "C47",
+ "section": "Refusals: the evidence",
+ "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"
+ },
+ {
+ "id": "C30",
+ "section": "Refusals: the evidence",
+ "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"
+ },
+ {
+ "id": "C25",
+ "section": "Refusals: the box",
+ "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"
+ },
+ {
+ "id": "C26",
+ "section": "Refusals: the box",
+ "label": "Draining",
+ "text": "%s is draining. it cannot take an instance",
+ "context": "The named box is being emptied.",
+ "notes": "%s: a box label"
+ },
+ {
+ "id": "C27",
+ "section": "Refusals: the box",
+ "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"
+ },
+ {
+ "id": "C28",
+ "section": "Refusals: the box",
+ "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"
+ },
+ {
+ "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",
+ "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"
+ },
+ {
+ "id": "C49",
+ "section": "Refusals: the box",
+ "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"
+ },
+ {
+ "id": "C32",
+ "section": "Refusals: the fleet and the console",
+ "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"
+ },
+ {
+ "id": "C18",
+ "section": "Refusals: the fleet and the console",
+ "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"
+ },
+ {
+ "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."
+ },
+ {
+ "id": "C34",
+ "section": "When the change does not go through",
+ "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"
+ },
+ {
+ "id": "C35",
+ "section": "When the change does not go through",
+ "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"
+ },
+ {
+ "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",
+ "context": "The console could not record the box as holding tied instances, so it stopped before tying.",
+ "notes": "%s: a box label"
+ },
+ {
+ "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."
+ },
+ {
+ "id": "C38",
+ "section": "When the change does not go through",
+ "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"
+ },
+ {
+ "id": "C38.door",
+ "section": "When the change does not go through",
+ "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"
+ },
+ {
+ "id": "C39",
+ "section": "Creating and growing on fleets",
+ "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"
+ },
+ {
+ "id": "C42",
+ "section": "Creating and growing on fleets",
+ "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)"
+ },
+ {
+ "id": "C41",
+ "section": "Creating and growing on fleets",
+ "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"
+ },
+ {
+ "id": "C40",
+ "section": "Creating and growing on fleets",
+ "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"
+ },
+ {
+ "id": "C43",
+ "section": "Box logs",
+ "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"
+ },
+ {
+ "id": "C44",
+ "section": "Box logs",
+ "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: "
+ },
+ {
+ "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",
+ "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"
+ },
+ {
+ "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."
+ },
+ {
+ "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."
+ },
+ {
+ "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."
+ },
+ {
+ "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"
+ },
+ {
+ "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```",
+ "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"
+ },
+ {
+ "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."
+ },
+ {
+ "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."
+ },
+ {
+ "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."
+ },
+ {
+ "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"
+ }
+]