carlos / platform Public

region labels: docs for the REGION columns, and the Luna brief for plan 2's copy

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 1ddc692204f2c5fed3b7f83d1eea523c07860ce2 parent f013393
2 files changed, +101 −0
  • docs/site/cli.md +8 −0
  • docs/superpowers/plans/LUNA-COPY-BRIEF-REGION-LABELS-2.md +93 −0
diff --git a/docs/site/cli.md b/docs/site/cli.md
index 3f0ebde27..49ac3fa7e 100644
--- a/docs/site/cli.md
+++ b/docs/site/cli.md
@@ -184,6 +184,8 @@ carlos apps ttl --app tmp-docs 5d
carlos apps keep --app tmp-docs
```
+carlos apps list shows each app's own region, the one it was given when it was created, or the fleet it runs on. Where its new instances start can differ, for a pooled app for example: the app's Running page in the console says.
+
`carlos apps set` changes how the app's running instances take a new build:
```sh
@@ -867,6 +869,8 @@ every few minutes, and asleep instances are measured too. A dash means no box
has measured it: the instance is not running anywhere yet, it has not created
its database, or it keeps its data somewhere CARLOS does not manage.
+The REGION column names where each instance runs, as a place and a code, such as London (uk). While an instance moves, it also says which way.
+
`carlos instances list` shows two builds for each instance: the one installed
on its box, and the one serving its requests. They differ while a new build
rolls out, while an asleep instance waits for its next request, and after a
@@ -1149,6 +1153,8 @@ necessarily a complete one. The command says so every time it prints.
Its `DB` column is each route's SQLite database size, the same figure as in
[carlos instances](/docs/cli#carlos-instances).
+The REGION column names where each route or box runs, such as London (uk).
+
### carlos domains
Attaches a customer's own hostname to one of the app's routes, detaches it,
@@ -2277,6 +2283,8 @@ rows have paths the layout pass does not recognise and leaves alone, and
`external` rows are run by another supervisor. Like `--instances`, it goes
through the console and is operator only.
+The REGION column names where each route or box runs, such as London (uk).
+
A box that runs `nested` instances beside `flat`, `foreign` or `external`
ones gets a warning after the table. Each of those still shares the agent's
user and view of `/data`, so the nested ones on that box are not isolated
diff --git a/docs/superpowers/plans/LUNA-COPY-BRIEF-REGION-LABELS-2.md b/docs/superpowers/plans/LUNA-COPY-BRIEF-REGION-LABELS-2.md
new file mode 100644
index 000000000..60fa1afa8
--- /dev/null
+++ b/docs/superpowers/plans/LUNA-COPY-BRIEF-REGION-LABELS-2.md
@@ -0,0 +1,93 @@
+# Copy review brief: region labels, plan 2 (CLI and docs) (delegated by Paul)
+
+Paul delegated copy review for plan copy to you. You are the copy editor; your
+edits will be applied verbatim as approved copy.
+
+## What the change is
+
+The `carlos` command-line tool now says where every app and instance runs, as
+a place and a code: "London (uk)". Paul ruled that form on 2026-10-25. The
+console sends the label; the CLI prints it. Against an older console that
+sends no label, every line prints exactly what it printed before (a code such
+as `uk`, or the older full place "UK · London"). The spec is
+`docs/superpowers/specs/2026-10-25-region-labels-design.md` (sections 5 and
+6); the plan's copy rows are in
+`docs/superpowers/plans/2026-10-25-region-labels-2-cli.md`, "Copy rows".
+
+Background a reader needs:
+
+- A **region** is where an app's instances run. Each deployment has one home
+ region. A **fleet** is a group of machines a customer owns; an app on a
+ fleet runs there instead. A **pool** is a group of instances an app shares.
+- `--region` and `--to` take a code (`uk`). Commands the CLI prints for a
+ person to paste keep the code; only prose names the label.
+- `<label>` renders as "London (uk)", "Dublin (ie)", "the home region" (no
+ home named), "fleet private" or "every region".
+- `<place>` in the db rows is the label, or `region uk` from an older console.
+
+Plan 1's copy, already reviewed, is in `LUNA-COPY-REVIEW-REGION-LABELS-1.md`.
+
+## House rules (Paul's, all binding)
+
+- No em dashes, ever. Use a full stop and a new sentence; CLI sentences that
+ start lower case continue in lower case, as drafted.
+- Case as the string replaced: CLI lines keep their case; column headers are
+ upper case; docs prose uses the CLI page's sentence case.
+- Plain words. No jargon a reader would not know. Short.
+- Neutral names only (shop, example.com, private). Never a tenant's name.
+- Human text only. If a string is not human text (a code, a command, a JSON
+ key, a log line), flag it rather than edit it.
+- Keep every placeholder exactly (`<label>`, `<place>`, `<host>`, `<app>`,
+ `<n>`, `<channel>`, `<reason>`, `<box>`, `<from>`, `<to>`), and every
+ command (`carlos instances create --region`, `--region`, `--to`) exactly.
+- Do not change meaning or the facts a string states. If a fact looks wrong
+ or conflicts with another row, flag it.
+- The label form `<place> (<code>)` is Paul's ruling. Do not change it.
+- Rows marked "text unchanged" keep their approved text; only an argument
+ changed. Flag them only if the new argument makes them read wrong.
+
+## The rows
+
+| id | where | text |
+|---|---|---|
+| RC-5 | `carlos apps create`, a console that sends a label (replaces C9 `Region: <place> (from your timezone). ...` there) | `Region: <label>, from your timezone. Use --region to choose another.` |
+| RC-6 | likewise, C10 | `Region: <label>, from your network location. Use --region to choose another.` |
+| RC-7 | likewise, C12 | `Region: <label>.` |
+| RC-8 | likewise, C11; now also printed when the deployment has one region | `Region: <label>, the platform default. Use --region to choose another.` |
+| RC-9 | C13b, text unchanged | `This console is not assigning app regions yet, so --region was not applied. This app's instances start in <label>.` |
+| RC-10 | C14, text unchanged: `created instance <host> (...)` | `channel <channel>, <label>` |
+| RC-11 | C15, text unchanged | `<app> already runs in <label>. --region only applies when deploy creates an app. To place one instance elsewhere, use carlos instances create --region.` |
+| C25 | `carlos canary`, text unchanged | `canary <host> already runs in <label>. --region applies only when canary creates the host. Run carlos canary rm first to start it somewhere else.` |
+| RC-17 | `carlos deploy` watch, after the host on each line | `live https://<host> in <label>`; the same ` in <label>` on the swapped, installed, failed and held lines |
+| RC-21 to RC-31 | `carlos db` lines DBF-3, 4, 5, 8, 11, 12, 13, 17, 18, 24, 32 | each keeps its words with `region <region>` replaced by `<place>`; e.g. `no server in <place> started the read within 60 seconds. try again in a few minutes.`, `reading a copy of <host>'s database in <place>.`, `<host> keeps its data in <place>. carlos db pull cannot fetch a copy from there yet. carlos db query can read it.` (all eleven are in `docs/superpowers/plans/2026-10-22-db-region-forward-copy.md`) |
+| RC-32 | `carlos db`, new (DBF-33), when the console names both regions of a move | `<host> is moving from <place> to <place>. read its database once the move has finished.` |
+| M-C / MV-N | `carlos move` lines, text unchanged, region arguments now labels | e.g. `Moving <host> from <from> to <to>.`, `Stopped in <from>. Starting in <to>.`, `Moved. <host> is served from <to>. It was offline for <n> seconds.` |
+| MV-O | `carlos move offline` lines, text unchanged, prose region arguments now labels, `--to` keeps the code | e.g. `Staging <host> in <to>. <host> keeps serving while the data is copied.`, `<host> keeps serving. Run carlos move offline start --host <host> --to uk when you are ready to take it offline.` |
+| RL-C1 | column header in `carlos apps list`, `carlos routes`, `carlos status --instances`, `carlos status --layout` (the header `carlos instances list` already prints) | `REGION` (and `APP`, `STATE`, the new header line of `carlos apps list`) |
+| RL-C2 | `carlos status --live`, once, when region names could not be read | `region names could not be read, so each box shows the region it reports.` |
+| RL-D1 | `docs/site/cli.md`, `carlos instances` | `The REGION column names where each instance runs, as a place and a code, such as London (uk). While an instance moves, it also says which way.` |
+| RL-D2 | `docs/site/cli.md`, `carlos apps` | `carlos apps list shows each app's own region, the one it was given when it was created, or the fleet it runs on. Where its new instances start can differ, for a pooled app for example: the app's Running page in the console says.` |
+| RL-D3 | `docs/site/cli.md`, `carlos routes` and `carlos status` | `The REGION column names where each route or box runs, such as London (uk).` |
+
+## Interpretations to confirm or flag
+
+1. Against a console that sends no label, every line keeps today's text: C9 to
+ C12 in their parentheses, codes in tables, `region uk` in the db lines.
+2. RC-8 prints on a console where `--region` is switched off, so it says "Use
+ --region to choose another." where the flag would be ignored. Should RC-8
+ drop that sentence there? Answer yes or no with one reason.
+3. `carlos status --live` cannot know the home's name, so a home box reads
+ "the home region".
+4. An empty table cell is the table's existing dash, not prose.
+
+## Output
+
+Markdown, in this shape:
+
+1. A table of changes only: `ID | current | new | why` (a few words in why).
+ Leave unchanged rows out.
+2. A list of flagged rows: `id | problem`, and one line per interpretation
+ (1 to 4): confirmed, or the problem, and your answer to 2.
+3. One line of counts: how many rows you changed, flagged and left alone.
+
+Do not edit files.