carlos / platform Public

Regional box display names (seamus-minding-ie). STATUS_NAME_REGION themes a name-verb-region display name derived from the box's identity label, shown on the status page and console /fleet beside the unchanged label; nothing keys on it. Group boxes may carry it in host.env; moves treat it as box-owned. Word lists for ie, uk, us, au after a Luna copy pass and Paul's picks (#395). Census approved on #280. Dormant until STATUS_NAME_REGION is set.

Squashed from design-regional-box-labels into main.
claude agent, operated by paul@keymail.dev 3c33f2eb130f5721a37ed09526f1e05f44712c99 parent c743efe
29 files changed, +1,701 −12
  • README.md +6 −0
  • docs/superpowers/notes/census-proposal-regional-box-names.md +29 −0
  • docs/superpowers/plans/2026-10-25-regional-box-names.md +226 −0
  • docs/superpowers/specs/2026-10-25-regional-box-names-design.md +320 −0
  • docs/superpowers/specs/CODEX-FINDINGS-REGIONAL-BOX-NAMES-R1.md +15 −0
  • docs/superpowers/specs/CODEX-FINDINGS-REGIONAL-BOX-NAMES-R2.md +54 −0
  • docs/superpowers/specs/CODEX-REVIEW-BRIEF-REGIONAL-BOX-NAMES.md +168 −0
  • docs/superpowers/specs/COPY-BRIEF-REGIONAL-BOX-NAMES.md +131 −0
  • docs/superpowers/specs/COPY-FINDINGS-REGIONAL-BOX-NAMES.md +70 −0
  • internal/console/server_test.go +43 −0
  • internal/console/templates/fleet.html +2 −2
  • internal/console/view.go +5 −1
  • internal/console/view_test.go +25 −0
  • internal/host/agent.go +12 −0
  • internal/host/displayname.go +28 −0
  • internal/host/displayname_test.go +136 −0
  • internal/hostenv/hostenv.go +1 −0
  • internal/hostenv/hostenv_test.go +9 −0
  • internal/moves/envreport.go +1 −1
  • internal/moves/envreport_test.go +3 −0
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −0
  • internal/provision/testdata/plan14-root-reads-regional-box-names.tsv +21 −0
  • internal/status/assets/index.html +14 −1
  • internal/status/assets/status.css +8 −0
  • internal/status/contract_test.go +8 −4
  • internal/status/displayname.go +154 −0
  • internal/status/displayname_test.go +198 −0
  • internal/status/fleet.go +2 −0
  • internal/status/snapshot.go +11 −3

CI passed — run details

diff --git a/README.md b/README.md
index 3cf801394..690de17a7 100644
--- a/README.md
+++ b/README.md
@@ -760,6 +760,12 @@ no single reader owns the whole contract:
Keep it geographically consistent with the region's place name in the
console's region picker (for example "EU · Ireland" beside
"Ireland · Dublin"); it may stay coarser.
+- `STATUS_NAME_REGION`: a region code (2 to 8 lowercase letters, `ie`,
+ `uk`) that gives this box a display name such as `seamus-minding-ie` on
+ the status page and in the console. The name is for people to read.
+ Nothing is keyed on it, and the box's label is unchanged. The code is
+ public after it is set. If it is unset, the label appears alone, as
+ before. Fleet boxes never get a display name.
- `STATUS_HOST` / `STATUS_PUBLIC` — not read by the agent process itself;
consumed by ops/tofu to decide whether the edge fronts the bucket's
`status/` prefix with a public hostname. `STATUS_PUBLIC=1` publishes the
diff --git a/docs/superpowers/notes/census-proposal-regional-box-names.md b/docs/superpowers/notes/census-proposal-regional-box-names.md
new file mode 100644
index 000000000..a86065de2
--- /dev/null
+++ b/docs/superpowers/notes/census-proposal-regional-box-names.md
@@ -0,0 +1,29 @@
+# Census approval: regional-box-names
+
+Ruling `census-ruling-regional-box-names`. Every change below keeps the disposition it already has, so it needs an approval, not a decision.
+
+| unit | change | read sites | what changed |
+|---|---|---|---|
+| `internal/console/templates/fleet.html` `external` | body | unchanged (1) | both Label cells render {{.Name}} with {{.Label}} in a .small span when Name is set, else {{.Label}} as before; html/template escapes both; no read added |
+| `internal/host/agent.go` `statusLoop` | body | unchanged (4) | resolves STATUS_NAME_REGION once via resolveNameRegion (env read, trim, validate, "" for fleet boxes) and sets Probes.NameRegion; no read added |
+| `internal/host/agent.go` `statusTick` | body | unchanged (4) | after the label override, sets box.Name = status.DisplayName(box.Label, p.NameRegion) when NameRegion is set; a pure hash over the label; no read added |
+| `internal/status/assets/index.html` `external` | body | unchanged (1) | renderBoxes shows b.name with b.label in a .box-label span via asText when a name is set; no read added |
+| `internal/status/assets/status.css` `external` | body | unchanged (1) | adds the .box-label rule; no read added |
+| `internal/status/fleet.go` `BuildFleet` | body | unchanged (2) | copies Box.Name to FleetBox.Name; no read added |
+
+Envelopes re-pinned: `internal/console`, `internal/console/templates`, `internal/host`, `internal/hostenv`, `internal/moves`, `internal/status`, `internal/status/assets`.
+
+Review: a model from the other family than the author reads the branch's diff against main on the amadan.net remote (`origin` or `amadan`, whichever points at amadan.net) and gives a verdict for every unit and every re-pinned envelope above. For a unit, compare the change with its recorded disposition and basis below; for an envelope, read every changed function in the package and what it reaches. Escalate if the change lets root open, run, query or follow anything it did not before from a path or input a tenant, an app or a box agent can create, write or name; if it weakens a check, refusal, validation, argument or environment the basis relies on; or if the diff cannot settle either. Otherwise approve. Record each verdict on #280 with the tip. An escalation goes to the census owner as a decision.
+
+Recorded dispositions, which each change must still satisfy:
+
+- `internal/console/templates/fleet.html` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input
+- `internal/host/agent.go` `statusLoop`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-2b;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with its tick through groupStatusTick, so a box whose host.env carries the group marker (CARLOS_BOX_REFERENCE=group) publishes its status report only under its group reference, resolved afresh each tick, and nothing until it resolves, never under status.Label; every other box, fleet boxes included, gets statusTick with today's label and key; read sites unchanged
+- `internal/host/agent.go` `statusTick`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route
+- `internal/status/assets/index.html` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input
+- `internal/status/assets/status.css` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input
+- `internal/status/fleet.go` `BuildFleet`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route
+
+Seal: `5f9f8435788e8bdaa965e1dc68cfccd5264b2b2121366ec73004b9ca3cb48ecb` → `b13c19503f42ea8cb7057dbe5f6517eb39b2d8ba81b172bd4eaf487b715e335c`.
+
+Overlay: `internal/provision/testdata/plan14-root-reads-regional-box-names.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/docs/superpowers/plans/2026-10-25-regional-box-names.md b/docs/superpowers/plans/2026-10-25-regional-box-names.md
new file mode 100644
index 000000000..5c9b0ddaa
--- /dev/null
+++ b/docs/superpowers/plans/2026-10-25-regional-box-names.md
@@ -0,0 +1,226 @@
+# Regional Box Display Names Implementation Plan
+
+> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
+
+**Goal:** Every shared-fleet box whose operator sets `STATUS_NAME_REGION` publishes a `name-verb-region` display name (`seamus-minding-ie`), shown on the public status page and the console fleet page next to its unchanged identity label.
+
+**Architecture:** `internal/status` owns the themed word lists and a pure `DisplayName(label, region)`. The agent resolves the region code once in `statusLoop`, carries it on `status.Probes`, and `statusTick` stamps `Box.Name` after the label is final, so fleet and group overrides are already applied. `BuildFleet`, the console's `HostRow` and both pages read the new field, and fall back to the label when it's absent.
+
+**Tech Stack:** Go (stdlib `crypto/sha256`, `encoding/binary`), `html/template`, plain JS in the embedded status page.
+
+**Spec:** `docs/superpowers/specs/2026-10-25-regional-box-names-design.md` (rev 2, approved by Paul 2026-10-25).
+
+## Global Constraints
+
+- Nothing keyed on the name. Object keys, enrollment, roster, invitations, layout intents and feed `Box` fields keep using the identity label. Don't touch `status.Label`, `metricsBoxLabel`, `BoxLabel` or `groupBoxReference`.
+- With `STATUS_NAME_REGION` unset, the report and `fleet.json` are byte-identical to today's (`json:"name,omitempty"`).
+- Valid code: `^[a-z]{2,8}$` after `strings.TrimSpace`. Anything else is invalid. Don't lowercase it.
+- Hash input: `sha256("carlos-box-name/v1\x00" + label)`. Name index is `binary.BigEndian.Uint32(sum[0:4]) % 40`, verb index is `binary.BigEndian.Uint32(sum[4:8]) % 40`.
+- Shape: `names[i] + "-" + verbs[j] + "-" + code`. An unthemed code uses `labelNames` and `labelActions`.
+- Every list: exactly 40 entries, `^[a-z]+$`, no duplicates within a list.
+- Fleet boxes (`CARLOS_FLEET` set, valid or not) never publish a name.
+- Copy voice for every human-read string: no em dashes. Use a full stop and continue in lower case. Word lists, the log line and the README entry go through Task 1's copy pass before any code lands them.
+- Local tests: only touched packages, with `-run`. Never `make test`. CI does the full run. Build, `go vet`, `gofmt` and the darwin and windows cross-compiles run locally.
+- Commits are made as `claude <claude~paul@keymail.dev>`, and each one ends with `Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>`. Each plan task has its own amadan task on the branch, advanced as it closes.
+
+## Review Focus
+
+1. **A group box before its reference resolves.** `groupStatusTick` returns early, so no report is written and no name is ever derived from the hashed label. Pinned in Task 3 (`TestGroupBoxNameFollowsItsReference`).
+2. **A fleet box with `STATUS_NAME_REGION` set, including an invalid fleet identity.** No name, because those reports aren't the shared fleet's. Pinned in Task 3 (`TestResolveNameRegion`, fleet rows).
+3. **A host.env value with quotes stripped but whitespace left (`"ie "`, `"ie\n"`).** Trim, then accept. `"IE"` and `"Ireland"` are refused with one log line. Pinned in Task 3.
+4. **A mixed-release fleet.** New console reading an old report: shows the label alone, unchanged. Old reader reading a new report: ignores `name`. Pinned in Task 2 (`TestBuildFleetCopiesName`) and Task 4.
+5. **A name that collides with another box's name in the same region.** Purely cosmetic. Both rows still show their distinct labels, and nothing dedupes or sorts by name. Pinned in Task 4 (hosts stay sorted by `Label`).
+
+---
+
+### Task 1: Copy pass on the word lists, log line and README entry
+
+No code. This gates Tasks 2-4, because they write these strings into files.
+
+**Files:**
+- Create: `docs/superpowers/specs/COPY-BRIEF-REGIONAL-BOX-NAMES.md`
+- Create: `docs/superpowers/specs/COPY-FINDINGS-REGIONAL-BOX-NAMES.md` (Luna's answer, committed unedited)
+- Modify: `docs/superpowers/specs/2026-10-25-regional-box-names-design.md` ("Starter word lists" becomes "Word lists", the approved set)
+
+**Interfaces:**
+- Produces: the approved ie, uk, us and au name and verb lists (40 each), the approved log line and the approved README entry. Tasks 2 and 3 copy them verbatim.
+
+- [ ] **Step 1: Write the brief.** It carries the spec's word-list rules and anti-goals (no caricature, typical names across ages, no tenant or team names, no famous people, au stays away from Aboriginal and Torres Strait Islander practices, local spelling). It also carries Paul's voice rules (no em dashes, continuations in lower case) and the two strings below. Ask for a key/new/why table plus flags, and for a replacement for any word that fails a rule, so each list stays at 40.
+
+ Log line draft:
+ `agent: STATUS_NAME_REGION=%q is not a region code (2 to 8 lowercase letters), so this box shows no display name`
+
+ README entry draft (it goes after the `STATUS_BOX_REGION` entry):
+ ```
+ - `STATUS_NAME_REGION`: a region code (2 to 8 lowercase letters, `ie`,
+ `uk`) that gives this box a display name such as `seamus-minding-ie`
+ on the status page and the console. The name is for people to read.
+ Nothing is keyed on it, and the box's label is unchanged. The code is
+ public once set. Unset shows the label alone, as before. Fleet boxes
+ never get a display name.
+ ```
+
+- [ ] **Step 2: Run Luna.** Put the command in a script file and run it with the sandbox off:
+ `codex exec -m gpt-5.6-luna -s read-only -c 'sandbox_permissions=["disk-full-read-access"]' -o docs/superpowers/specs/COPY-FINDINGS-REGIONAL-BOX-NAMES.md "<prompt naming the brief>" </dev/null`.
+ Expected: a findings file with a table and a flags section.
+
+- [ ] **Step 3: Apply and check.** Apply every change, rewrite the spec's lists, then run the list-hygiene check (40 per list, `^[a-z]+$`, no duplicates within a list) over the spec with the same Python one-off used in revision 1. Expected: `40 dups set() bad []` for all eight lists. Anything Luna flags as a judgement call (as opposed to a rule breach) goes to Paul before Task 2.
+
+- [ ] **Step 4: Commit.** `git add docs/superpowers/specs && git commit -m "regional box names: copy pass on word lists, log line, README entry"`
+
+### Task 2: Display names in `internal/status`
+
+**Files:**
+- Create: `internal/status/displayname.go`
+- Create: `internal/status/displayname_test.go`
+- Modify: `internal/status/snapshot.go` (`Box`: add `Name`. `Probes`: add `NameRegion`)
+- Modify: `internal/status/fleet.go` (`FleetBox`: add `Name`. `BuildFleet`: copy it)
+- Modify: `internal/status/contract_test.go` (allowlists)
+
+**Interfaces:**
+- Consumes: Task 1's lists.
+- Produces:
+ - `func ValidNameRegion(code string) bool`: true only for `^[a-z]{2,8}$`. No trimming here.
+ - `func DisplayName(label, region string) string`: returns `""` if `!ValidNameRegion(region)` or `label == ""`.
+ - `func nameIndexes(label string) (name, verb uint32)`: unexported, so the tests can pin the hash independently of the lists.
+ - `Box.Name string` with `json:"name,omitempty"`.
+ - `FleetBox.Name string` with `json:"name,omitempty"`.
+ - `Probes.NameRegion string`, holding an already-validated code or `""`. Never serialized, and `CollectBox` ignores it.
+
+- [ ] **Step 1: Write the failing tests** in `internal/status/displayname_test.go` (package `status`, internal, so it can reach `nameIndexes` and the lists):
+
+ ```go
+ func TestNameIndexesGolden(t *testing.T) {
+ for _, c := range []struct{ label string; n, v uint32 }{
+ {"dennis-stenciling", 21, 19},
+ {"ada-stargazing", 17, 16},
+ {"g-0123456789abcdef0123", 39, 12},
+ } {
+ n, v := nameIndexes(c.label)
+ if n != c.n || v != c.v { t.Errorf("%s: (%d,%d), want (%d,%d)", c.label, n, v, c.n, c.v) }
+ }
+ }
+ ```
+ Those goldens were computed outside Go from the Global Constraints formula.
+
+ Also write:
+ - `TestDisplayNameThemed`: for each of `ie`, `uk`, `us`, `au`, `DisplayName("dennis-stenciling", code) == theme.names[21]+"-"+theme.verbs[19]+"-"+code`. Matches `^[a-z]+-[a-z]+-[a-z]{2,8}$`. Calling it twice gives the same answer.
+ - `TestDisplayNameUnthemed`: `DisplayName("ada-stargazing", "de") == labelNames[17]+"-"+labelActions[16]+"-de"`.
+ - `TestDisplayNameRefuses`: `""` for regions `""`, `"IE"`, `"u-k"`, `"i"`, `"abcdefghi"`, `"ie "`, and for label `""`.
+ - `TestNameListsHygiene`: every theme's two lists, plus `labelNames` and `labelActions`. Each has `len == 40`, all entries match `^[a-z]+$`, and none repeat within a list. Also asserts the theme map has exactly the keys `ie`, `uk`, `us`, `au`.
+
+- [ ] **Step 2: Run the tests to verify they fail.**
+ Run: `go test ./internal/status -run 'TestNameIndexesGolden|TestDisplayName|TestNameListsHygiene'`
+ Expected: FAIL, undefined `nameIndexes`, `DisplayName`.
+
+- [ ] **Step 3: Implement `internal/status/displayname.go`.** Add `type nameTheme struct{ names, verbs [40]string }` and `var nameThemes = map[string]nameTheme{"ie": …, "uk": …, "us": …, "au": …}` holding Task 1's lists verbatim, plus `ValidNameRegion`, `nameIndexes` and `DisplayName` as specified.
+
+ The doc comment says three things. It's a display name only, and nothing may key on it. It's derived from the identity label, which is already public, under a domain prefix so it doesn't echo `Label`'s own hash. Clashes within a region are cosmetic. Use `regexp.MustCompile` or a byte loop for validation, whichever matches the package's habits.
+
+- [ ] **Step 4: Run the tests to verify they pass.** Same command. Expected: PASS.
+
+- [ ] **Step 5: Write the failing schema tests.**
+ - `contract_test.go`: add `"name"` to `allowedBoxKeys[""]` and `allowedFleetKeys["boxes[]"]`. Make sure the fixtures that `TestBoxSchemaAllowlisted` and `TestFleetSchemaAllowlisted` build set a name, so the key is actually exercised.
+ - `TestBuildFleetCopiesName`: two snapshots in a `DirStore`, one with `Name: "seamus-minding-ie"` and one written without a name (the old shape). `BuildFleet` gives `FleetBox.Name` `"seamus-minding-ie"` and `""` respectively. The marshalled fleet has no `"name"` key for the second box.
+ - `TestCollectBoxIgnoresNameRegion`: `CollectBox` with `Probes{MachineID: "m", NameRegion: "ie"}` gives `Name == ""`, because naming happens in the host after the label is final.
+
+- [ ] **Step 6: Run them to verify they fail.**
+ Run: `go test ./internal/status -run 'Schema|TestBuildFleetCopiesName|TestCollectBoxIgnoresNameRegion'`
+ Expected: FAIL on the missing fields.
+
+- [ ] **Step 7: Add the fields and the `BuildFleet` copy** (`Name: b.Name` beside `Label: b.Label`).
+
+- [ ] **Step 8: Run the package's touched tests, then the build checks.**
+ `go test ./internal/status -run 'Name|Schema|Label|BuildFleet|CollectBox'`, then `go vet ./internal/status`, `gofmt -l internal/status`, `GOOS=darwin go build ./...`, `GOOS=windows go build ./...`.
+ Expected: PASS and no output from gofmt.
+
+- [ ] **Step 9: Commit.** `git add internal/status && git commit -m "status: regional display names (DisplayName, Box.Name, FleetBox.Name)"`
+
+### Task 3: The agent stamps the name
+
+**Files:**
+- Modify: `internal/host/agent.go` (`statusLoop` near `boxRegion := os.Getenv("STATUS_BOX_REGION")` and the `status.Probes{… Region: boxRegion …}` literal. `statusTick` after the `labelOverride` block)
+- Create: `internal/host/displayname.go` (`resolveNameRegion`)
+- Create: `internal/host/displayname_test.go`
+- Modify: `README.md` (Task 1's approved entry, after `STATUS_BOX_REGION`)
+
+**Interfaces:**
+- Consumes: `status.ValidNameRegion`, `status.DisplayName`, `status.Probes.NameRegion`, `status.Box.Name` (Task 2).
+- Produces: `func resolveNameRegion(getenv func(string) string, logf func(string, ...any)) string`.
+ - Returns `""` when the trimmed `STATUS_NAME_REGION` is empty.
+ - Returns `""` when `CARLOS_FLEET` is set to anything non-blank, valid fleet or not, without logging, because a fleet box is simply out of scope.
+ - Returns `""` and calls `logf` once with Task 1's approved line when the value is invalid.
+ - Otherwise returns the trimmed code.
+
+- [ ] **Step 1: Write the failing tests** in `internal/host/displayname_test.go`:
+ - `TestResolveNameRegion`, table-driven, asserting the return value and the `logf` call count:
+
+ | env | want | logs |
+ | --- | --- | --- |
+ | unset | `""` | 0 |
+ | `"ie"` | `"ie"` | 0 |
+ | `"ie "` | `"ie"` | 0 |
+ | `"ie\n"` | `"ie"` | 0 |
+ | `"IE"` | `""` | 1 |
+ | `"Ireland"` | `""` | 1 |
+ | `"u-k"` | `""` | 1 |
+ | `"ie"` + `CARLOS_FLEET=acme` | `""` | 0 |
+ | `"ie"` + `CARLOS_FLEET="bad name!"` | `""` | 0 |
+
+ - `TestStatusTickStampsTheName`: `registry.Open` on a temp dir and a `release.NewDirStore`, the same setup as `host_test.go`'s status-tick test. Run `statusTick(ctx, store, reg, status.Probes{MachineID: "test-machine", NameRegion: "ie"}, true, "")`. Read back `status/boxes/<status.Label("test-machine")>.json` and require `Name == status.DisplayName(status.Label("test-machine"), "ie")` and non-empty. Read `status/fleet.json` and require the same name on the box.
+ - `TestStatusTickNoNameRegionIsUnchanged`: the same tick with `NameRegion: ""`. The raw JSON of the box object contains no `"name"`.
+ - `TestGroupBoxNameFollowsItsReference`: stub the group identity seam the way `boxreference_test.go` does, so the reference resolves to `g-…`. Run `groupStatusTick(…, status.Probes{MachineID: "m", NameRegion: "uk"}, false, "", groupEnv(env))`. The published key is `status/boxes/<ref>.json`, its `Name == status.DisplayName(ref, "uk")`, and that differs from `status.DisplayName(status.Label("m"), "uk")`. With the seam failing, nothing is written. That's the existing behaviour, re-asserted with `NameRegion` set.
+
+- [ ] **Step 2: Run them to verify they fail.**
+ Run: `go test ./internal/host -run 'TestResolveNameRegion|TestStatusTickStampsTheName|TestStatusTickNoNameRegionIsUnchanged|TestGroupBoxNameFollowsItsReference'`
+ Expected: FAIL, undefined `resolveNameRegion`, and no name on the box.
+
+- [ ] **Step 3: Implement.**
+ - Add `resolveNameRegion` in `internal/host/displayname.go`.
+ - In `statusLoop`, call it once beside `boxRegion` with `os.Getenv, log.Printf`, and set `NameRegion` in the `status.Probes` literal.
+ - In `statusTick`, right after `if labelOverride != "" { box.Label = labelOverride }`, add `if p.NameRegion != "" { box.Name = status.DisplayName(box.Label, p.NameRegion) }`. Extend `statusTick`'s doc comment by one sentence saying that the name is derived after the override, so it follows the published label.
+ - Add the README entry.
+
+- [ ] **Step 4: Run the tests to verify they pass.** The same command plus the existing status-tick and group tests: `-run 'Name|StatusTick|GroupStatus|BoxReference'`. Expected: PASS.
+
+- [ ] **Step 5: Build checks.** `go vet ./internal/host`, `gofmt -l internal/host`, `GOOS=darwin go build ./...`, `GOOS=windows go build ./...`. Expected: clean.
+
+- [ ] **Step 6: Commit.** `git add internal/host README.md && git commit -m "agent: STATUS_NAME_REGION stamps a regional display name on the status report"`
+
+### Task 4: Show it on the status page and the console fleet page
+
+**Files:**
+- Modify: `internal/status/assets/index.html` (`renderBoxes`, the first `td`)
+- Modify: `internal/status/assets/status.css` (one class)
+- Modify: `internal/console/view.go` (`HostRow`: add `Name`. `HostRows`: copy `b.Name`. Sorting stays by `Label`)
+- Modify: `internal/console/templates/fleet.html` (the Boxes table cell at `{{.Label}}` and the Hosts table cell at `{{.Label}}`)
+- Test: `internal/status/status_test.go`, `internal/console/view_test.go`, and the console test that renders the operator fleet page
+
+**Interfaces:**
+- Consumes: `status.FleetBox.Name` and `status.Box.Name` (Task 2).
+- Produces: `HostRow.Name string`.
+
+- [ ] **Step 1: Write the failing tests.**
+ - `TestStatusPageRendersNameAsText` (`internal/status/status_test.go`): the embedded `index.html` builds the box cell from `b.name` with `asText`, and shows `b.label` in an element with class `box-label`. Assert on substrings: `asText(b.name)`, `"box-label"`, `asText(b.label)`. Assert `innerHTML` doesn't appear in `renderBoxes`. And `status.css` defines `.box-label`.
+ - `TestHostRowsCarryName` (`internal/console/view_test.go`): two snapshots, `zed-x` with name `aoife-herding-ie` and `abe-y` without one. `HostRows` returns them sorted `abe-y`, `zed-x` (by label, not name), with `Name` `""` and `"aoife-herding-ie"`.
+ - The fleet-page render test: build the page through the same template set and handler path that the existing operator fleet page tests use (find them with `grep -n "<h2>Hosts</h2>\|Fleet.Boxes" internal/console/*_test.go`, or add one beside the nearest `handleFleet` test). With a named box, both tables show `aoife-herding-ie` followed by `<span class="small">zed-x</span>`. With an unnamed box, the cell is exactly `<td>abe-y</td>` as today.
+
+- [ ] **Step 2: Run them to verify they fail.**
+ `go test ./internal/status -run TestStatusPageRendersNameAsText` and `go test ./internal/console -run 'TestHostRowsCarryName|<the fleet page test name>'`. Expected: FAIL.
+
+- [ ] **Step 3: Implement.**
+ - **Status page:** if `b.name` is set, the cell holds `asText(b.name)`, then a `<span class="box-label">` (created with `document.createElement`) holding `asText(b.label)`. Otherwise the cell is `asText(b.label)`, exactly as today. `.box-label { display: block; color: var(--muted); font-size: 0.85em; }`.
+ - **Console:** `{{if .Name}}{{.Name}} <span class="small">{{.Label}}</span>{{else}}{{.Label}}{{end}}`, in both tables. `.small` is the console's existing muted treatment (see the comment in `economics_accounts.html`). Don't invent a class. Copying `b.Name` into the Boxes table's rows needs nothing, because it already ranges over `status.FleetBox`.
+
+- [ ] **Step 4: Run the tests to verify they pass.** The same commands. Expected: PASS.
+
+- [ ] **Step 5: Check it by eye.** Render the status page locally from a `DirStore` holding a named and an unnamed box. Use the package's dry-run path (`internal/status/dryrun.go`), or serve the store's `status/` directory with `python3 -m http.server --bind 127.0.0.1` from `$TMPDIR`. Check in a browser that the name sits over a muted label and the unnamed row is unchanged. Stop the server afterwards.
+
+- [ ] **Step 6: Build checks and commit.** `go vet ./internal/status ./internal/console`, `gofmt -l`, and the cross-compiles. Then `git add internal/status internal/console && git commit -m "status page and console fleet page show the regional display name"`
+
+### Task 5: Whole-branch review and hand-off
+
+- [ ] **Step 1:** Merge `origin/main` into the branch, push, and wait for CI on the tip. If `TestPlan14RootReadCensus` fails, follow AGENTS.md "The census: an approval, not a decision". Expected: green.
+- [ ] **Step 2:** Astra whole-branch review from a committed brief (`docs/superpowers/specs/CODEX-REVIEW-BRIEF-REGIONAL-BOX-NAMES.md`), run with `codex exec -s read-only -c model_reasoning_effort="high" …`. The findings are committed unedited as `CODEX-FINDINGS-REGIONAL-BOX-NAMES-R2.md`. Fix every accepted finding with a test.
+- [ ] **Step 3:** Update the branch description and handoff. Leave the merge to Paul's call: `amadan branch merge carlos/platform design-regional-box-labels -squash -expect <tip>`, never without full args.
+- [ ] **Step 4 (follow-up, other repos, not this branch):** `carloku-infrastructure` `scripts/bootstrap-box.sh` gains a `STATUS_NAME_REGION` argument the way `STATUS_BOX_REGION` did: ie, uk, us, au on the flagship, plus the dev root in `platform-infrastructure`. That's a separate branch in each repo, after a platform release carries this change.
diff --git a/docs/superpowers/specs/2026-10-25-regional-box-names-design.md b/docs/superpowers/specs/2026-10-25-regional-box-names-design.md
new file mode 100644
index 000000000..9e15e154b
--- /dev/null
+++ b/docs/superpowers/specs/2026-10-25-regional-box-names-design.md
@@ -0,0 +1,320 @@
+# Regional box display names
+
+Status: revision 2, awaiting Paul's approval. Branch
+`design-regional-box-labels`. Revision 1 renamed the box label itself.
+Astra's builder check showed that the label is now the box's operational
+identity, and Paul ruled (2026-10-25) that the regional name is a display
+name. Making it the identity for new boxes is a later step.
+
+## Intent
+
+Every box in the shared fleet has an identity label. It's either the
+hashed pseudonym `status.Label(machineID)` (`dennis-stenciling`,
+`internal/status/snapshot.go`) or, for a box a region group launched, a
+group reference (`g-` plus 20 hex digits, `internal/host/boxreference.go`).
+That label says nothing about where the box is, and a `g-` reference isn't
+something a person can remember.
+
+Paul wants a name that says where the box is and sounds like it belongs
+there:
+
+ seamus-ploughing-ie
+ martin-queueing-uk
+
+Three asks, all his:
+
+1. The region goes in the name, as a suffix.
+2. The first name is a typical name for that region.
+3. The verb is both a host's job (minding, carrying, serving, routing,
+ holding, watching) and a typical activity in that region.
+
+Why: an operator reading the status page or the console can tell at a
+glance which region a box is in, group boxes get a name a person can say
+out loud, and the names are more fun.
+
+## Goals
+
+- A `name-verb-region` display name on every shared-fleet box whose
+ operator opts in, hashed-label boxes and group boxes alike.
+- Themed word lists for every region the flagship runs today: `ie`, `uk`,
+ `us`, `au`.
+- A region code with no themed lists still gets a name, from today's
+ global lists plus the suffix.
+- The public status page and the console's hosts table show the display
+ name, with the identity label still visible next to it.
+
+## Non-goals
+
+- **Changing any box's identity.** The identity label keys the status
+ report (`status/boxes/<label>.json`), enrollment records
+ (`internal/host/boxrecord.go`), join invitations
+ (`internal/host/joinroot.go`), the host actor check that holds a box
+ whose label doesn't match its enrollment (`internal/host/joinmode.go`),
+ layout intents (`internal/host/layoutleg.go`), and the `Box` field of
+ log, error and analytics records. None of that changes.
+- **Regional identities for new boxes.** Paul said new boxes can pick up
+ the new naming later. That's a separate design. This one shouldn't make
+ it harder, but it doesn't do it.
+- **Fleet boxes.** Their operators already pick their names
+ (`internal/host/fleetidentity.go`), and their reports never reach the
+ public `fleet.json`.
+- **Different verbs for different kinds of box** (edge, scanner, app
+ host). That would publish each box's role.
+- **Every place a label appears.** Logs, alerts, the roles page and the
+ CLI keep showing the identity label. Only the status page and the
+ console's hosts table are in scope.
+
+## Anti-goals
+
+These would make it a failure even if it worked:
+
+- **Anything keyed on the display name.** It's for people to read. Code
+ that looks a box up, writes an object or compares boxes uses the
+ identity label, always.
+- **A change on upgrade.** A box without the new setting publishes a
+ report byte-for-byte the same as today's.
+- **Anything new about the machine on a public page.** See Privacy.
+- **Names that read as a caricature of a place.** "Typical" means names
+ people there actually have, across ages, not a joke accent. The lists go
+ through copy review before they ship.
+- **Tenant names, team names or famous people.** No `tito`, `paul` or
+ `bill`. Neutral common names only.
+
+## Constraints found in the code
+
+- **The report's label is settled late.** `CollectBox` stamps
+ `status.Label(p.MachineID)`. Then `statusTick`
+ (`internal/host/agent.go`, `labelOverride`) replaces it with the fleet
+ label, and `groupStatusTick` (`internal/host/boxreference.go`) with the
+ group reference. The display name has to come from the label the report
+ is finally published under, so it must be computed after those
+ overrides.
+- **There is no region code on the home box.** `CARLOS_REGION` is the
+ placement code (`us`, `uk`, `au`), but the flagship's IE box leaves it
+ unset on purpose: unset means "serves ""-scoped records". The name
+ can't borrow it.
+- **`STATUS_BOX_REGION` is free text** (`"UK · London"`). It's for
+ display, and parsing a code out of it would be fragile.
+- **The platform is general-purpose.** carloku.com is one deployment.
+ Which box is in which region is deployment configuration
+ (`carloku-infrastructure`, and `platform-infrastructure` for dev). The
+ platform can ship themed lists keyed by region code, as long as any
+ deployment can use them and nothing assumes carloku's regions.
+- **Old reports stay readable.** Readers of `status/boxes/*.json` and
+ `fleet.json` must treat a missing name as "show the label", because
+ boxes on older releases never write one.
+
+## Design
+
+### The input: `STATUS_NAME_REGION`
+
+There's a new agent environment variable, `STATUS_NAME_REGION`. It sits
+next to `STATUS_BOX_REGION` because it's a status-page setting, not a
+placement setting. Group boxes get it the same way they get the rest of
+`host.env`.
+
+- Unset or empty: no display name. The report has no `name` field, and
+ everything looks as it does today.
+- A valid code: the report carries `name`.
+- Something invalid: log once at startup, naming the variable and the
+ value, and carry no name. That follows the agent's existing
+ degrade-don't-disable rule for status.
+
+A valid code is 2 to 8 lowercase ASCII letters, `^[a-z]{2,8}$`, which
+covers every CARLOS placement code in use. If `registry` already has a
+placement-code validator with the same or a tighter grammar, use that one.
+
+### Derivation
+
+ name = names[r][i] + "-" + verbs[r][j] + "-" + code
+
+`r` is the code's themed lists, or today's global `labelNames` and
+`labelActions` if the code has none. `i` and `j` are `uint32 % 40` of
+bytes 0-3 and 4-7 of `sha256("carlos-box-name/v1\x00" + label)`, where
+`label` is the identity label the report is published under.
+
+- It's derived from the identity label, not the machine id. The label is
+ already public, so the name reveals nothing the page didn't already
+ show, and group boxes, which have no hash label, are covered by the
+ same rule.
+- The domain prefix keeps the indexes independent of `status.Label`'s own
+ hash. Otherwise a hashed-label box under an unthemed code would just get
+ its own label back with a suffix, and the name would be predictable in
+ a confusing way.
+- A box keeps its name for as long as it keeps its label and its code.
+
+The function lives in `internal/status`, next to `Label`, so the label
+space stays easy to audit. `statusTick` calls it once the label is final
+and puts the result on `Box.Name` (`json:"name,omitempty"`). `BuildFleet`
+copies it to `FleetBox.Name` (`json:"name,omitempty"`), and the console's
+`HostRow` (`internal/console/view.go`) gets it too.
+
+### Word lists
+
+Each themed region gets a name list and a verb list. Both are fixed-size Go
+arrays in `internal/status`, next to today's `labelNames` and
+`labelActions`.
+
+Rules for every list:
+
+- Exactly 40 entries, the same space as today's lists, so the existing
+ uint32 index-bias reasoning carries over.
+- Lowercase ASCII letters only, no hyphens or spaces. Irish fadas are
+ dropped (`siobhan`, `padraig`). Compound activities run together
+ (`narrowboating`, `lockkeeping`).
+- No duplicates within a list. The same word can appear in two regions,
+ because the suffix tells them apart.
+- Verbs are gerunds. Each one should work as a host's job and as something
+ people do in that region. Where a word can't manage both, the regional
+ pastime wins.
+- Local spelling: `signalling` in uk and au, `barbecuing` in us.
+
+Lookup is a map from code to lists. Adding a region later is one map entry
+and two arrays, with no other code change.
+
+### Showing it
+
+- **Status page** (`internal/status/assets/index.html`): the box column
+ shows the name and puts the label beneath it in smaller, muted text. A
+ box without a name shows the label exactly as today. Both go through
+ the page's existing text-only path (`asText`, never `innerHTML`).
+- **Console hosts table**: the same arrangement.
+
+Exact layout is the builder's call within that.
+
+### Clashes
+
+Two boxes in one region can end up with the same display name, a 1-in-1,600
+chance for each pair. That's cosmetic. Nothing is keyed on the name, and the
+label is shown next to it. Nothing is done about it.
+
+### Privacy
+
+- The name is a hash of the identity label, which `fleet.json` already
+ publishes, plus an operator-set code.
+- On the flagship, every box's `STATUS_BOX_REGION` already says its region
+ in words, so the code adds nothing.
+- An operator who sets `STATUS_NAME_REGION` but not `STATUS_BOX_REGION`
+ publishes a region they weren't publishing before. That's their choice,
+ and the README entry says so.
+
+### Rollout
+
+Nothing gets renamed, so there's no migration. Per deployment:
+
+1. Add the setting to each box's `host.env`. For the flagship that goes
+ through `scripts/bootstrap-box.sh` in `carloku-infrastructure`, which
+ gains an argument the way `STATUS_BOX_REGION` did, plus the dev root in
+ `platform-infrastructure`. Those are separate changes in those repos.
+ Don't hand-edit user_data, because a user_data change restarts the
+ instance.
+2. Restart the agent through the normal path.
+3. The usual roll order: dev boxes, dev console, check, flagship boxes,
+ flagship console. The console needs the release that knows about `name`
+ before the hosts table shows it, but nothing breaks either way.
+
+## Approved word lists
+
+From a Luna copy pass (`COPY-FINDINGS-REGIONAL-BOX-NAMES.md`), applied
+unedited. Paul kept all four taste flags (discussion 395) and swapped
+uk `tidying` for his own `bridlepathing`.
+
+### ie
+
+Names: seamus, siobhan, niamh, aoife, ciaran, padraig, maeve, sinead, eoin, orla,
+declan, grainne, cian, roisin, fionn, saoirse, colm, brid, oisin, aisling,
+darragh, caoimhe, ronan, deirdre, cathal, una, tadhg, eimear, donal,
+clodagh, fiachra, muireann, lorcan, sorcha, eamon, nuala, diarmuid, ailbhe,
+cormac, mairead.
+
+Verbs: minding, herding, shepherding, droving, ploughing, thatching, baling,
+foddering, ferrying, footing, milking, churning, stacking, carting,
+rambling, welcoming, pouring, brewing, distilling, baking, knitting,
+weaving, walling, fencing, hurling, busking, fiddling, storytelling,
+angling, trawling, rowing, shopkeeping, gathering, haymaking, turfcutting,
+harvesting, penning, shearing, grazing, lambing.
+
+### uk
+
+Names: martin, nigel, gareth, gemma, ian, claire, derek, colin, julie, trevor,
+alison, graham, keith, wendy, barry, sharon, gavin, kirsty, neil, lorraine,
+stuart, hayley, darren, joanne, craig, nicola, malcolm, fiona, rhys,
+bethan, alastair, morag, hamish, ellie, hugh, rosie, alfie, imogen, tom,
+dave.
+
+Verbs: queueing, brewing, narrowboating, punting, lockkeeping, signalling,
+shunting, portering, marshalling, trainspotting, bellringing, allotmenting,
+rambling, pottering, fettling, mending, darning, letterboxing, hedgelaying,
+wassailing, carolling, twitching, bowling, batting, quizzing, caravanning,
+baking, pickling, jamming, hoovering, bridlepathing, stewarding, rowing,
+fellrunning, morrisdancing, busking, tinkering, crocheting, beachcombing,
+gardening.
+
+### us
+
+Names: hank, betty, earl, peggy, chuck, dolores, andrew, tammy, dwayne, shelby,
+cody, travis, wade, loretta, dale, bonnie, gus, rhonda, bud, patsy, mike,
+jennifer, chris, ashley, brian, amanda, kevin, heather, jason, melissa,
+josh, brittany, tyler, kayla, jake, megan, dylan, madison, cole, savannah.
+
+Verbs: tailgating, grilling, barbecuing, wrangling, ranching, lassoing,
+corralling, trucking, hauling, railroading, carpooling, roadtripping,
+bussing, carhopping, potlucking, babysitting, lifeguarding, ushering,
+bellhopping, dispatching, shuttling, logging, homesteading, prospecting,
+panning, canning, whittling, squaredancing, linedancing, bowling, pitching,
+umpiring, coaching, flyfishing, rafting, camping, surfing, skateboarding,
+carving, guiding.
+
+### au
+
+Names: bruce, sheila, shane, kylie, brett, tracey, wayne, narelle, craig, leanne,
+scott, kerry, glenn, raelene, troy, bronwyn, mick, nathan, chloe, lachlan,
+matilda, isla, kane, jacinta, hamish, angus, tahlia, cooper, ruby, brodie,
+belinda, dean, darcy, mitchell, harley, tegan, clancy, lily, mackenzie,
+ella.
+
+Verbs: mustering, droving, shearing, jackarooing, boundaryriding, fencing,
+lifesaving, patrolling, announcing, barbecuing, roadbuilding, ferrying,
+surfing, bodyboarding, snorkelling, sailing, paddling, crabbing,
+rockpooling, fossicking, prospecting, bushwalking, camping, caravanning,
+stargazing, beachcombing, skimboarding, guiding, bowling, brewing, pouring,
+busking, yachting, rowing, diving, birdwatching, swimming, fishing,
+kayaking, gardening.
+
+The au lists stay away from Aboriginal and Torres Strait Islander cultural
+practices on purpose. They aren't ours to make into hostnames.
+
+## Tests the builder owes
+
+- With `STATUS_NAME_REGION` unset, the published report and `fleet.json`
+ are byte-identical to today's, and there's no `name` key.
+- For each themed region: the name is stable for a given label, has the
+ shape `^[a-z]+-[a-z]+-<code>$`, and uses that region's lists.
+- An unthemed valid code: global lists plus the suffix.
+- An invalid code (`UK`, `u-k`, `ireland1`, nine letters): no name, one
+ log line.
+- List hygiene, checked in a test rather than by eye: each list has 40
+ entries, all `^[a-z]+$`, none duplicated within the list.
+- Production-wired witnesses: drive the real status tick for a
+ hashed-label box and for a group box (`CARLOS_BOX_REFERENCE=group`, with
+ the group identity seam stubbed). Show that `name` is derived from the
+ label the report is published under, not from `status.Label(machineID)`.
+- `BuildFleet` copies `name`, and a report without it still loads.
+- Status page: with a name, the name and the label both render as text;
+ without one, the row is unchanged.
+- Fleet boxes: with `CARLOS_FLEET` set, no name is published.
+
+## Docs the builder owes
+
+- README: a `STATUS_NAME_REGION` entry next to `STATUS_BOX_REGION`. It
+ says what the variable does, that the name is for display only and that
+ the code is public.
+
+## Left to the builder
+
+- Function names and where exactly the call sits in the status tick.
+- Whether to reuse a `registry` placement-code validator.
+- The status page and hosts table layout, within "name, then the label
+ beneath it".
+- The exact log line for an invalid code. It goes through copy review with
+ the word lists.
diff --git a/docs/superpowers/specs/CODEX-FINDINGS-REGIONAL-BOX-NAMES-R1.md b/docs/superpowers/specs/CODEX-FINDINGS-REGIONAL-BOX-NAMES-R1.md
new file mode 100644
index 000000000..5b8ae7794
--- /dev/null
+++ b/docs/superpowers/specs/CODEX-FINDINGS-REGIONAL-BOX-NAMES-R1.md
@@ -0,0 +1,15 @@
+1. **Should opting into a regional label also rename the box’s operational identity, or must that identity remain stable?**
+ `metricsBoxLabel` also identifies enrollment records and join invitations ([boxrecord.go:178](/home/paulca/.cache/tmp/claude-1001/regional-labels/internal/host/boxrecord.go:178), [joinroot.go:140](/home/paulca/.cache/tmp/claude-1001/regional-labels/internal/host/joinroot.go:140)). An enrolled box whose newly resolved label differs from its stored enrollment enters the held state ([joinmode.go:144](/home/paulca/.cache/tmp/claude-1001/regional-labels/internal/host/joinmode.go:144)). `BoxLabel()` also selects layout instructions ([layoutleg.go:728](/home/paulca/.cache/tmp/claude-1001/regional-labels/internal/host/layoutleg.go:728)).
+ **Why this changes the plan:** the prescribed fallback change can affect whether a box hosts applications. The plan needs either a separation between public labels and operational identity, a supported identity migration, or an explicit restriction on which boxes may opt in. Restarting and deleting the old status object does not resolve this.
+
+Incorrect code claims:
+
+- **“Every box” gets its public pseudonym from `status.Label`.** Group-launched boxes publish status under a separate group reference. `groupStatusTick` overrides the label and refuses publication while that reference is unavailable ([boxreference.go:103](/home/paulca/.cache/tmp/claude-1001/regional-labels/internal/host/boxreference.go:103)); metrics also prioritizes it ([metrics_loop.go:718](/home/paulca/.cache/tmp/claude-1001/regional-labels/internal/host/metrics_loop.go:718)).
+
+- **Fleet boxes publish “never under `status.Label`.”** Their log/error sinks and analytics meter still receive the hash label directly ([agent.go:293](/home/paulca/.cache/tmp/claude-1001/regional-labels/internal/host/agent.go:293), [agent.go:954](/home/paulca/.cache/tmp/claude-1001/regional-labels/internal/host/agent.go:954)). Invalid fleet identities also fall back to it for metrics, and README explicitly documents the heartbeat fallback ([metrics_loop.go:722](/home/paulca/.cache/tmp/claude-1001/regional-labels/internal/host/metrics_loop.go:722), [README.md:752](/home/paulca/.cache/tmp/claude-1001/regional-labels/README.md:752)).
+
+- **“The status page never forgets a box.”** When modification-time listing succeeds, objects last written more than 24 hours ago are excluded. Stores without that capability retain the old listing behavior ([fleet.go:238](/home/paulca/.cache/tmp/claude-1001/regional-labels/internal/status/fleet.go:238)). Deletion is therefore not always necessary to remove a stale twin from the page.
+
+- **“No such guard exists today” for label collisions.** Status snapshots can overwrite one another, but enrollment publication already detects a reference held by another instance and refuses it ([boxrecord.go:125](/home/paulca/.cache/tmp/claude-1001/regional-labels/internal/host/boxrecord.go:125)).
+
+- **The analytics object path is wrong.** It is `apps/<sqid>/<app>/analytics/<box>/days/<date>.json`, not `analytics/.../<app>/<box>/days/<date>.json` ([day.go:37](/home/paulca/.cache/tmp/claude-1001/regional-labels/internal/analytics/day.go:37), [day.go:87](/home/paulca/.cache/tmp/claude-1001/regional-labels/internal/analytics/day.go:87)).
\ No newline at end of file
diff --git a/docs/superpowers/specs/CODEX-FINDINGS-REGIONAL-BOX-NAMES-R2.md b/docs/superpowers/specs/CODEX-FINDINGS-REGIONAL-BOX-NAMES-R2.md
new file mode 100644
index 000000000..c04067dc2
--- /dev/null
+++ b/docs/superpowers/specs/CODEX-FINDINGS-REGIONAL-BOX-NAMES-R2.md
@@ -0,0 +1,54 @@
+### Strengths
+
+- All five review-focus cases are handled: unresolved group references prevent publication; fleet boxes are excluded even with invalid identities; whitespace is trimmed without lowercasing; missing names preserve the old display; collisions retain separate, labelled rows.
+- Naming happens after the identity override. Storage keys, operational identities and host sorting remain label-based.
+- Both pages render names safely as text. The host.env allowlist and move-environment additions are justified integration changes.
+- Read-only checks passed for all eight themed lists, the three independent hash goldens, and an in-memory JavaScript rendering check covering unnamed rows, collisions and literal markup.
+
+### Issues
+
+#### Critical (Must Fix)
+
+None found.
+
+#### Important (Should Fix)
+
+**1. The census records do not cover this diff.**
+
+File: [agent.go:4205](/home/paulca/.cache/tmp/claude-1001/regional-labels/internal/host/agent.go:4205), with corresponding changes in `statusLoop`, `BuildFleet` and the embedded assets.
+
+The branch changes six census-recorded units without updating their recorded digests: `statusLoop`, `statusTick`, `BuildFleet`, the status HTML and CSS, and the console fleet template. Read-only digest calculations confirm that none of their new digests appears in the census inventories. Package envelopes also change.
+
+`TestPlan14RootReadCensus` explicitly rejects these mismatches, so this tip cannot satisfy the merge gate. Complete the census proposal and independent approval on #280, including the changed envelopes, then obtain green CI on the resulting tip.
+
+**2. The word-list approval step remains unresolved.**
+
+File: [design.md:219](/home/paulca/.cache/tmp/claude-1001/regional-labels/docs/superpowers/specs/2026-10-25-regional-box-names-design.md:219).
+
+The executor retained all four taste flags without taking them to Paul, although [plan.md:67](/home/paulca/.cache/tmp/claude-1001/regional-labels/docs/superpowers/plans/2026-10-25-regional-box-names.md:67) explicitly requires that decision before Task 2.
+
+The distinction between taste and rule breaches does not justify this departure: taste decisions are precisely what that step reserves for Paul. Post-release replacements also change existing display names despite unchanged labels and region codes. Resolve and record those decisions before landing the lists.
+
+#### Minor (Nice to Have)
+
+None requiring a code change.
+
+### Recommendations
+
+- Correct Task 2’s rationale: `[40]string` permits fewer than 40 initializers and fills the remainder with empty strings. The existing hygiene test catches those empty entries, so the implementation remains adequately guarded.
+- The remaining executor rulings are reasonable: test placement, escaping coverage, environment documentation and label `nowrap` introduce no identified defect.
+- I did not run Go tests or builds because they write files. The census finding follows from source and digest inspection, not a reported test run. I inspected the named mint-refusal test and found no connection between its build helper failure and this diff.
+
+### Declined to judge
+
+- Deployment-repository configuration, agent restarts and live rollout: explicitly separate follow-up work, absent from this diff.
+- Regional operational identities and names in logs, alerts, roles or CLI output: explicit non-goals; preserving their existing labels was checked.
+- Final aesthetic acceptance of the four regional-word flags: reserved to Paul; the missing decision is reported above.
+
+### Assessment
+
+**Ready to merge?** With fixes.
+
+**Reasoning:** The display-name implementation preserves identity, compatibility and safe rendering. The reviewed tip still needs its census updates and approval, plus resolution of the explicitly deferred word-list decisions.
+
+No files were modified.
\ No newline at end of file
diff --git a/docs/superpowers/specs/CODEX-REVIEW-BRIEF-REGIONAL-BOX-NAMES.md b/docs/superpowers/specs/CODEX-REVIEW-BRIEF-REGIONAL-BOX-NAMES.md
new file mode 100644
index 000000000..3255be963
--- /dev/null
+++ b/docs/superpowers/specs/CODEX-REVIEW-BRIEF-REGIONAL-BOX-NAMES.md
@@ -0,0 +1,168 @@
+# Whole-branch review brief: regional box display names
+
+You are a Senior Code Reviewer with expertise in software architecture,
+design patterns, and best practices. Your job is to review completed work
+against its plan or requirements and identify issues before they cascade.
+
+## What Was Implemented
+
+Regional box display names (seamus-minding-ie): a STATUS_NAME_REGION code themes a display name derived from each box's identity label, stamped on the status report, copied to fleet.json, and shown on the public status page and the console /fleet page beside the unchanged label. Nothing keys on it.
+
+## Requirements / Plan
+
+Plan: docs/superpowers/plans/2026-10-25-regional-box-names.md
+Spec: docs/superpowers/specs/2026-10-25-regional-box-names-design.md
+
+## Review Focus
+
+1. **A group box before its reference resolves.** `groupStatusTick` returns early, so no report is written and no name is ever derived from the hashed label. Pinned in Task 3 (`TestGroupBoxNameFollowsItsReference`).
+2. **A fleet box with `STATUS_NAME_REGION` set, including an invalid fleet identity.** No name, because those reports aren't the shared fleet's. Pinned in Task 3 (`TestResolveNameRegion`, fleet rows).
+3. **A host.env value with quotes stripped but whitespace left (`"ie "`, `"ie\n"`).** Trim, then accept. `"IE"` and `"Ireland"` are refused with one log line. Pinned in Task 3.
+4. **A mixed-release fleet.** New console reading an old report: shows the label alone, unchanged. Old reader reading a new report: ignores `name`. Pinned in Task 2 (`TestBuildFleetCopiesName`) and Task 4.
+5. **A name that collides with another box's name in the same region.** Purely cosmetic. Both rows still show their distinct labels, and nothing dedupes or sorts by name. Pinned in Task 4 (hosts stay sorted by `Label`).
+
+
+Check each Review Focus line deliberately.
+
+### The executor's rulings (weigh these calls)
+
+Task 1: Ruling: Luna's four taste flags (footing/foddering, allotmenting, bellhopping/carhopping, jackarooing/boundaryriding breadth) kept, not sent to Paul before Task 2 as the plan said. They are taste, not rule breaches; Paul's own examples are rural (ploughing) — cost if wrong: a one-line list swap, names shift for boxes using that word.
+Task 2: Ruling: list length is enforced by the [40]string array type at compile time, so TestNameListsHygiene checks characters, duplicates and the theme keys only — cost if wrong: none, a short list cannot compile.
+Task 3: Ruling: added STATUS_NAME_REGION to hostenv.Optional (group boxes' host.env allowlist) — the spec says group boxes get it like the rest of host.env, and without it host-env write refuses the key — cost if wrong: group boxes can't be named until a follow-up adds it.
+Task 3: Ruling: added STATUS_NAME_REGION to moves.BoxVars — non-CARLOS_ agent env reaches instances and is pinned across moves; a per-region value would fail every cross-region move — cost if wrong: none found; omitting it would break moves.
+Task 3: Ruling: documented STATUS_NAME_REGION in agent.go's env doc block beside STATUS_BOX_REGION — matches the file's convention — cost if wrong: none.
+Task 4: Ruling: TestStatusPageRendersNameAsText lives in displayname_test.go (package status), not status_test.go — status_test.go is the external package and assetsFS is unexported — cost if wrong: none.
+Task 4: Ruling: added TestFleetShowsDisplayNames' escaping case (a box-written "<b>bold</b>" name) — a report is box-written, so the name is untrusted like Release/Tunnel — cost if wrong: none, extra coverage.
+Task 4: Ruling: .box-label gets white-space: nowrap — the screenshot showed a g- reference breaking at its hyphen — cost if wrong: a wider column on narrow screens (the table already scrolls).
+
+Local test policy: only touched packages ran locally, with -run; CI runs the full suite. TestControlPlaneShipRefusalNamesTheMintTrap fails locally only because `go build` cannot read VCS status in this worktree (buildvcs); judge it from code, not from a local run.
+
+## Git Range to Review
+
+**Base:** 7f876771
+**Head:** d93afa1f
+
+```bash
+git diff --stat 7f876771..d93afa1f
+git diff 7f876771..d93afa1f
+```
+
+## The spec is a vision document
+
+The spec says what the software must do. It does not enumerate every
+input, environment, or condition the software will meet. For behavior
+the spec is silent on, judge by what a reasonable person using this
+software would expect: a reasonable person's expectation is a
+requirement, and a spec's silence is not permission. Grade such
+findings by their effect on that person, not by whether the spec
+mentions the trigger.
+
+## Declined to judge
+
+Before your verdict, list every behavior you considered and set aside
+as outside the plan or spec, one line each, with the reason. The
+executor rules on each line; nothing you set aside is dropped
+silently. An empty list means you set nothing aside.
+
+## Read-Only Review
+
+Your review is read-only on this checkout. Do not mutate the working tree, the index, HEAD, or branch state in any way. Use tools like `git show`, `git diff`, and `git log` to inspect history. If you need a working copy of a different revision, check it out into a separate temporary directory (e.g. `git worktree add /tmp/review-[SHA] [SHA]`) — never move HEAD on this checkout.
+
+## You Do Not Dispatch Subagents
+
+Do all of this review yourself. Never spawn a subagent to review part
+of the diff, and never spawn another reviewer for a second opinion.
+This process already provides every review seat the work gets; a
+reviewer you spawn duplicates one of them at full cost, and its
+verdict counts for nothing. If the diff feels too large for one
+pass, review it in passes yourself and say so in your report.
+
+## What to Check
+
+**Plan alignment:**
+- Does the implementation match the plan / requirements?
+- Are deviations justified improvements, or problematic departures?
+- Is all planned functionality present?
+
+**Code quality:**
+- Clean separation of concerns?
+- Proper error handling?
+- Type safety where applicable?
+- DRY without premature abstraction?
+- Edge cases handled?
+
+**Architecture:**
+- Sound design decisions?
+- Reasonable scalability and performance?
+- Security concerns?
+- Integrates cleanly with surrounding code?
+
+**Testing:**
+- Tests verify real behavior, not mocks?
+- Edge cases covered?
+- Integration tests where they matter?
+- All tests passing?
+
+**Production readiness:**
+- Migration strategy if schema changed?
+- Backward compatibility considered?
+- Documentation complete?
+- No obvious bugs?
+
+## Calibration
+
+Categorize issues by actual severity. Not everything is Critical.
+Acknowledge what was done well before listing issues — accurate praise
+helps the implementer trust the rest of the feedback.
+
+If you find significant deviations from the plan, flag them specifically
+so the implementer can confirm whether the deviation was intentional.
+If you find issues with the plan itself rather than the implementation,
+say so.
+
+## Output Format
+
+### Strengths
+[What's well done? Be specific.]
+
+### Issues
+
+#### Critical (Must Fix)
+[Bugs, security issues, data loss risks, broken functionality]
+
+#### Important (Should Fix)
+[Architecture problems, missing features, poor error handling, test gaps]
+
+#### Minor (Nice to Have)
+[Code style, optimization opportunities, documentation polish]
+
+For each issue:
+- File:line reference
+- What's wrong
+- Why it matters
+- How to fix (if not obvious)
+
+### Recommendations
+[Improvements for code quality, architecture, or process]
+
+### Assessment
+
+**Ready to merge?** [Yes | No | With fixes]
+
+**Reasoning:** [1-2 sentence technical assessment]
+
+## Critical Rules
+
+**DO:**
+- Categorize by actual severity
+- Be specific (file:line, not vague)
+- Explain WHY each issue matters
+- Acknowledge strengths
+- Give a clear verdict
+
+**DON'T:**
+- Say "looks good" without checking
+- Mark nitpicks as Critical
+- Give feedback on code you didn't actually read
+- Be vague ("improve error handling")
+- Avoid giving a clear verdict
diff --git a/docs/superpowers/specs/COPY-BRIEF-REGIONAL-BOX-NAMES.md b/docs/superpowers/specs/COPY-BRIEF-REGIONAL-BOX-NAMES.md
new file mode 100644
index 000000000..f824bd22f
--- /dev/null
+++ b/docs/superpowers/specs/COPY-BRIEF-REGIONAL-BOX-NAMES.md
@@ -0,0 +1,131 @@
+# Copy brief: regional box display names
+
+You are reviewing copy for the CARLOS platform. Read
+docs/superpowers/specs/2026-10-25-regional-box-names-design.md for context.
+A box on the status page gets a display name `name-verb-region`, for
+example `seamus-minding-ie` or `martin-queueing-uk`. The words come from
+fixed lists, one name list and one verb list per region.
+
+## What to review
+
+1. The eight word lists below (ie, uk, us, au; names and verbs).
+2. One log line.
+3. One README entry.
+
+## Rules for the word lists
+
+- Exactly 40 entries per list. If you remove a word, give a replacement so
+ the list stays at 40.
+- Lowercase ASCII letters only. No hyphens, spaces, accents or apostrophes.
+ Irish fadas are dropped (siobhan, padraig). Compound activities run
+ together (narrowboating, lockkeeping).
+- No duplicates within a list. The same word in two regions is fine.
+- Names: typical first names people in that country actually have, across
+ ages. Not a caricature or a joke accent. No famous people as the obvious
+ reading of the name. None of these: tito, paul, bill (team and tenant
+ names).
+- Verbs: gerunds. Each should read as a host's job (minding, carrying,
+ serving, routing, holding, watching) and as a typical activity in that
+ region. When one word can't do both, the regional activity wins.
+- Nothing that reads as rude, violent, sexual, political or mocking in any
+ of the four countries, and nothing awkward next to a person's name (for
+ example "harrowing", "kettling", "shooting").
+- The au lists stay away from Aboriginal and Torres Strait Islander
+ cultural practices and words on purpose.
+- Local spelling: signalling in uk and au, barbecuing in us.
+
+## House voice rules for the two strings
+
+- No em dashes. Use a full stop and continue in lower case.
+- Plain words, short sentences. Go log lines start lower case.
+- Keep the `%q` placeholder and the variable name exactly.
+
+Log line draft:
+
+ agent: STATUS_NAME_REGION=%q is not a region code (2 to 8 lowercase letters), so this box shows no display name
+
+README entry draft:
+
+ - `STATUS_NAME_REGION`: a region code (2 to 8 lowercase letters, `ie`,
+ `uk`) that gives this box a display name such as `seamus-minding-ie`
+ on the status page and the console. The name is for people to read.
+ Nothing is keyed on it, and the box's label is unchanged. The code is
+ public once set. Unset shows the label alone, as before. Fleet boxes
+ never get a display name.
+
+## The word lists
+
+### ie
+
+Names: seamus, siobhan, niamh, aoife, ciaran, padraig, maeve, sinead, eoin,
+orla, declan, grainne, cian, roisin, fionn, saoirse, colm, brid, oisin,
+aisling, darragh, caoimhe, ronan, deirdre, cathal, una, tadhg, eimear,
+donal, clodagh, fiachra, muireann, lorcan, sorcha, eamon, nuala, diarmuid,
+ailbhe, cormac, mairead.
+
+Verbs: minding, herding, shepherding, droving, ploughing, thatching,
+baling, foddering, ferrying, footing, milking, churning, stacking, carting,
+rambling, welcoming, pouring, brewing, distilling, baking, knitting,
+weaving, walling, fencing, hurling, busking, fiddling, storytelling,
+angling, trawling, rowing, shopkeeping, gathering, haymaking, turfcutting,
+harvesting, penning, shearing, grazing, lambing.
+
+### uk
+
+Names: martin, nigel, gareth, gemma, ian, claire, derek, colin, julie,
+trevor, alison, graham, keith, wendy, barry, sharon, gavin, kirsty, neil,
+lorraine, stuart, hayley, darren, joanne, craig, nicola, malcolm, fiona,
+rhys, bethan, alastair, morag, hamish, ellie, hugh, rosie, alfie, imogen,
+tom, dave.
+
+Verbs: queueing, brewing, narrowboating, punting, lockkeeping, signalling,
+shunting, portering, marshalling, trainspotting, bellringing,
+allotmenting, rambling, pottering, fettling, mending, darning,
+letterboxing, hedgelaying, wassailing, carolling, twitching, bowling,
+batting, quizzing, caravanning, baking, pickling, jamming, hoovering,
+tidying, stewarding, rowing, fellrunning, morrisdancing, busking,
+tinkering, crocheting, beachcombing, gardening.
+
+### us
+
+Names: hank, betty, earl, peggy, chuck, dolores, randy, tammy, dwayne,
+shelby, cody, travis, wade, loretta, dale, bonnie, gus, rhonda, bud, patsy,
+mike, jennifer, chris, ashley, brian, amanda, kevin, heather, jason,
+melissa, josh, brittany, tyler, kayla, jake, megan, dylan, madison, cole,
+savannah.
+
+Verbs: tailgating, grilling, barbecuing, wrangling, ranching, lassoing,
+corralling, trucking, hauling, railroading, carpooling, roadtripping,
+bussing, carhopping, potlucking, babysitting, lifeguarding, ushering,
+bellhopping, dispatching, shuttling, logging, homesteading, prospecting,
+panning, canning, whittling, squaredancing, linedancing, bowling,
+pitching, quarterbacking, cheerleading, flyfishing, rafting, camping,
+surfing, skateboarding, carving, trailblazing.
+
+### au
+
+Names: bruce, sheila, shane, kylie, brett, tracey, wayne, narelle, craig,
+leanne, scott, kerry, glenn, raelene, troy, bronwyn, mick, nathan, chloe,
+lachlan, matilda, isla, kane, jacinta, jarrah, banjo, tahlia, cooper,
+ruby, brodie, belinda, dean, darcy, mitchell, harley, tegan, clancy, lily,
+mackenzie, ella.
+
+Verbs: mustering, droving, shearing, jackarooing, boundaryriding, fencing,
+lifesaving, patrolling, shouting, barbecuing, roadtraining, ferrying,
+surfing, bodyboarding, snorkelling, sailing, yabbying, crabbing,
+rockpooling, fossicking, prospecting, bushwalking, camping, caravanning,
+stargazing, beachcombing, skimboarding, tipping, bowling, brewing,
+pouring, busking, yachting, rowing, diving, birdwatching, swimming,
+fishing, kayaking, gardening.
+
+The au lists stay away from Aboriginal and Torres Strait Islander cultural
+practices on purpose. They aren't ours to make into hostnames.
+
+
+## How to answer
+
+1. A table: `list | old | new | why` for every change. One row per word.
+2. The two strings: the new text in full, or "unchanged", each with a why.
+3. Flags: anything that is a judgement call for the product owner rather
+ than a rule breach, one line each.
+4. The final eight lists in full, comma-separated, after your changes.
diff --git a/docs/superpowers/specs/COPY-FINDINGS-REGIONAL-BOX-NAMES.md b/docs/superpowers/specs/COPY-FINDINGS-REGIONAL-BOX-NAMES.md
new file mode 100644
index 000000000..7e3080009
--- /dev/null
+++ b/docs/superpowers/specs/COPY-FINDINGS-REGIONAL-BOX-NAMES.md
@@ -0,0 +1,70 @@
+## Changes
+
+| list | old | new | why |
+|---|---|---|---|
+| us names | randy | andrew | Avoids the sexual reading. |
+| us verbs | quarterbacking | coaching | Better reads as a host's job and remains regionally familiar. |
+| us verbs | cheerleading | umpiring | A clear hosting or officiating role with a US sports association. |
+| us verbs | trailblazing | guiding | Better fits a host's job while retaining an outdoor regional feel. |
+| au names | jarrah | hamish | Avoids an Aboriginal word and uses a typical Australian first name. |
+| au names | banjo | angus | Avoids the obvious Banjo Paterson association and uses a typical first name. |
+| au verbs | shouting | announcing | Clearer host role and still familiar through Australian sport and events. |
+| au verbs | roadtraining | roadbuilding | Replaces an awkward, uncommon compound with a clear regional activity and job. |
+| au verbs | yabbying | paddling | Avoids an Aboriginal word while retaining an Australian outdoor activity. |
+| au verbs | tipping | guiding | Avoids a possible gambling reading and better expresses a host's job. |
+
+## Strings
+
+Log line:
+
+`agent: STATUS_NAME_REGION=%q is not a region code (2 to 8 lowercase letters). this box shows no display name`
+
+Why: Shorter sentences make the log line easier to scan while preserving the exact placeholder and variable name.
+
+README entry:
+
+`- \`STATUS_NAME_REGION\`: a region code (2 to 8 lowercase letters, \`ie\`, \`uk\`) that gives this box a display name such as \`seamus-minding-ie\` on the status page and in the console. The name is for people to read. Nothing is keyed on it, and the box's label is unchanged. The code is public after it is set. If it is unset, the label appears alone, as before. Fleet boxes never get a display name.`
+
+Why: Improves sentence flow and makes the status-page and console locations precise.
+
+## Flags
+
+- `footing` and `foddering` in the Irish list are understandable but less immediately familiar than the surrounding words.
+- `allotmenting` in the UK list is clear in context but uncommon as a gerund.
+- `bellhopping` and `carhopping` in the US list are regionally legible but may feel dated.
+- `jackarooing` and `boundaryriding` in the Australian list strongly emphasize rural Australia. Confirm that this breadth is wanted.
+- `tipping` would be acceptable as an Australian activity, but can also suggest gambling; it has been replaced here.
+
+## Final lists
+
+### ie names
+
+seamus, siobhan, niamh, aoife, ciaran, padraig, maeve, sinead, eoin, orla, declan, grainne, cian, roisin, fionn, saoirse, colm, brid, oisin, aisling, darragh, caoimhe, ronan, deirdre, cathal, una, tadhg, eimear, donal, clodagh, fiachra, muireann, lorcan, sorcha, eamon, nuala, diarmuid, ailbhe, cormac, mairead
+
+### ie verbs
+
+minding, herding, shepherding, droving, ploughing, thatching, baling, foddering, ferrying, footing, milking, churning, stacking, carting, rambling, welcoming, pouring, brewing, distilling, baking, knitting, weaving, walling, fencing, hurling, busking, fiddling, storytelling, angling, trawling, rowing, shopkeeping, gathering, haymaking, turfcutting, harvesting, penning, shearing, grazing, lambing
+
+### uk names
+
+martin, nigel, gareth, gemma, ian, claire, derek, colin, julie, trevor, alison, graham, keith, wendy, barry, sharon, gavin, kirsty, neil, lorraine, stuart, hayley, darren, joanne, craig, nicola, malcolm, fiona, rhys, bethan, alastair, morag, hamish, ellie, hugh, rosie, alfie, imogen, tom, dave
+
+### uk verbs
+
+queueing, brewing, narrowboating, punting, lockkeeping, signalling, shunting, portering, marshalling, trainspotting, bellringing, allotmenting, rambling, pottering, fettling, mending, darning, letterboxing, hedgelaying, wassailing, carolling, twitching, bowling, batting, quizzing, caravanning, baking, pickling, jamming, hoovering, tidying, stewarding, rowing, fellrunning, morrisdancing, busking, tinkering, crocheting, beachcombing, gardening
+
+### us names
+
+hank, betty, earl, peggy, chuck, dolores, andrew, tammy, dwayne, shelby, cody, travis, wade, loretta, dale, bonnie, gus, rhonda, bud, patsy, mike, jennifer, chris, ashley, brian, amanda, kevin, heather, jason, melissa, josh, brittany, tyler, kayla, jake, megan, dylan, madison, cole, savannah
+
+### us verbs
+
+tailgating, grilling, barbecuing, wrangling, ranching, lassoing, corralling, trucking, hauling, railroading, carpooling, roadtripping, bussing, carhopping, potlucking, babysitting, lifeguarding, ushering, bellhopping, dispatching, shuttling, logging, homesteading, prospecting, panning, canning, whittling, squaredancing, linedancing, bowling, pitching, umpiring, coaching, flyfishing, rafting, camping, surfing, skateboarding, carving, guiding
+
+### au names
+
+bruce, sheila, shane, kylie, brett, tracey, wayne, narelle, craig, leanne, scott, kerry, glenn, raelene, troy, bronwyn, mick, nathan, chloe, lachlan, matilda, isla, kane, jacinta, hamish, angus, tahlia, cooper, ruby, brodie, belinda, dean, darcy, mitchell, harley, tegan, clancy, lily, mackenzie, ella
+
+### au verbs
+
+mustering, droving, shearing, jackarooing, boundaryriding, fencing, lifesaving, patrolling, announcing, barbecuing, roadbuilding, ferrying, surfing, bodyboarding, snorkelling, sailing, paddling, crabbing, rockpooling, fossicking, prospecting, bushwalking, camping, caravanning, stargazing, beachcombing, skimboarding, guiding, bowling, brewing, pouring, busking, yachting, rowing, diving, birdwatching, swimming, fishing, kayaking, gardening
\ No newline at end of file
diff --git a/internal/console/server_test.go b/internal/console/server_test.go
index cfad24697..4cc6823c4 100644
--- a/internal/console/server_test.go
+++ b/internal/console/server_test.go
@@ -2677,3 +2677,46 @@ func TestConsoleNameBrandsThePages(t *testing.T) {
t.Fatal("account home still names CARLOS")
}
}
+
+// TestFleetShowsDisplayNames: both tables on /fleet show a named box as its
+// name with the label muted beside it, an unnamed box exactly as before, and
+// a box-written name escaped like every other string a box supplies.
+func TestFleetShowsDisplayNames(t *testing.T) {
+ fx := newConsoleFixture(t)
+ ctx := context.Background()
+ now := time.Now()
+ for _, b := range []status.Box{
+ {GeneratedAt: now, Label: "zed-x", Name: "aoife-herding-ie"},
+ {GeneratedAt: now, Label: "abe-y"},
+ {GeneratedAt: now, Label: "evil-z", Name: "<b>bold</b>"},
+ } {
+ if err := status.WriteBox(ctx, fx.rel, b); err != nil {
+ t.Fatal(err)
+ }
+ }
+ f, err := status.BuildFleet(ctx, fx.rel, nil, now, status.SnapshotPeriod)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if err := status.PublishFleet(ctx, fx.rel, f); err != nil {
+ t.Fatal(err)
+ }
+ c := signInPaul(t, fx)
+ if err := fx.st.SetOperator("paul@keymail.dev", true); err != nil {
+ t.Fatal(err)
+ }
+ code, _, body := get(t, c, fx.ts.URL+"/fleet")
+ if code != 200 {
+ t.Fatalf("/fleet = %d: %s", code, body)
+ }
+ named := `<td>aoife-herding-ie <span class="small">zed-x</span></td>`
+ if n := strings.Count(body, named); n != 2 {
+ t.Errorf("named cell %q appears %d times, want 2 (Boxes and Hosts):\n%s", named, n, body)
+ }
+ if n := strings.Count(body, "<td>abe-y</td>"); n != 2 {
+ t.Errorf("unnamed cell appears %d times, want 2:\n%s", n, body)
+ }
+ if strings.Contains(body, "<b>bold</b>") {
+ t.Errorf("a box-written name rendered as markup:\n%s", body)
+ }
+}
diff --git a/internal/console/templates/fleet.html b/internal/console/templates/fleet.html
index c956f6f0a..956d1f467 100644
--- a/internal/console/templates/fleet.html
+++ b/internal/console/templates/fleet.html
@@ -44,7 +44,7 @@
</tr>
{{range .Fleet.Boxes}}
<tr>
- <td>{{.Label}}</td>
+ <td>{{if .Name}}{{.Name}} <span class="small">{{.Label}}</span>{{else}}{{.Label}}{{end}}</td>
<td>{{emptyOrDash .Region}}</td>
<td>{{strOrDash .Load}}</td>
<td>{{.Routes.Static}}</td>
@@ -106,7 +106,7 @@
</tr>
{{range .Hosts}}
<tr>
- <td>{{.Label}}</td>
+ <td>{{if .Name}}{{.Name}} <span class="small">{{.Label}}</span>{{else}}{{.Label}}{{end}}</td>
<td>{{emptyOrDash .Region}}</td>
{{if .Metrics}}
<td>{{emptyOrDash .Metrics.Release}}</td>
diff --git a/internal/console/view.go b/internal/console/view.go
index 47b09e3f4..943828205 100644
--- a/internal/console/view.go
+++ b/internal/console/view.go
@@ -839,7 +839,10 @@ func FleetView(ctx context.Context, s release.Store) (*status.Fleet, error) {
// {{if}}-rearrangement away from printing a dead box's memory as a current
// figure.
type HostRow struct {
- Label string
+ Label string
+ // Name is the box's regional display name (status.Box.Name), or "".
+ // Display only: rows sort and key by Label.
+ Name string
Region string
// Stale is status.BoxStale — the fleet's one staleness rule, measured
// against status.SnapshotPeriod, so this table and the published boxes
@@ -874,6 +877,7 @@ func HostRows(ctx context.Context, s release.Store, now time.Time) ([]HostRow, e
for _, b := range boxes {
row := HostRow{
Label: b.Label,
+ Name: b.Name,
Region: b.Region,
Stale: status.BoxStale(b, now, status.SnapshotPeriod),
LastSeen: b.GeneratedAt,
diff --git a/internal/console/view_test.go b/internal/console/view_test.go
index 06833ce5d..78904dbdc 100644
--- a/internal/console/view_test.go
+++ b/internal/console/view_test.go
@@ -12,6 +12,7 @@ import (
"github.com/carlosframework/platform/internal/registry"
"github.com/carlosframework/platform/internal/release"
+ "github.com/carlosframework/platform/internal/status"
)
// deletableStore adds the retirement primitive the console needs (Delete) on
@@ -611,3 +612,27 @@ func TestVersionsEmptyApp(t *testing.T) {
t.Fatalf("Versions(ghost) = %+v %v, want empty nil", vs, err)
}
}
+
+// TestHostRowsCarryName: the display name rides along on the host row, the
+// unnamed (old-shape) report keeps an empty one, and the rows still sort by
+// label, never by name, so a name clash can't reorder or merge them.
+func TestHostRowsCarryName(t *testing.T) {
+ ctx := context.Background()
+ s := release.NewDirStore(t.TempDir())
+ now := time.Now()
+ for _, b := range []status.Box{
+ {GeneratedAt: now, Label: "zed-x", Name: "aoife-herding-ie"},
+ {GeneratedAt: now, Label: "abe-y"},
+ } {
+ if err := status.WriteBox(ctx, s, b); err != nil {
+ t.Fatal(err)
+ }
+ }
+ rows, err := HostRows(ctx, s, now)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if len(rows) != 2 || rows[0].Label != "abe-y" || rows[0].Name != "" || rows[1].Label != "zed-x" || rows[1].Name != "aoife-herding-ie" {
+ t.Fatalf("rows = %+v", rows)
+ }
+}
diff --git a/internal/host/agent.go b/internal/host/agent.go
index 4f78e06ed..22ae7e517 100644
--- a/internal/host/agent.go
+++ b/internal/host/agent.go
@@ -91,6 +91,10 @@
// free text chosen by the operator, never derived from cloud metadata —
// the public commitment is a human-readable region, not a specific
// datacenter.
+// - STATUS_NAME_REGION — a region code (ie, uk) that themes this box's
+// display name (status.DisplayName, resolveNameRegion), stamped on the
+// snapshot after its label is final; "" or an invalid code publishes no
+// name, and a fleet box never gets one. Display only: nothing keys on it.
// - CARLOS_SYSTEM_CHANNEL — platform channel this box follows for
// self-update, canary|stable (default stable).
// - CARLOS_LAYOUT_DEFAULT — the instance layout this box converges to
@@ -3989,6 +3993,7 @@ func statusLoop(reg *registry.Registry, svc *activator.Service, buildStates func
prefix := resolveStatusPrefix(os.Getenv)
region := os.Getenv("CARLOS_STATUS_REGION")
boxRegion := os.Getenv("STATUS_BOX_REGION")
+ nameRegion := resolveNameRegion(os.Getenv, log.Printf)
skipElection := shouldSkipPublisherElection(os.Getenv)
// Fleet boxes heartbeat under the operator-chosen channel label
@@ -4095,6 +4100,7 @@ func statusLoop(reg *registry.Registry, svc *activator.Service, buildStates func
MachineID: readMachineID(),
InstanceID: cachedInstanceID(),
Region: boxRegion,
+ NameRegion: nameRegion,
MemFrac: readMemFrac(),
DiskFrac: readDiskFrac(),
Listening: wrapListeningProbe(unitBackedSockets(routes), statusSocketProbe(routes, svc)),
@@ -4240,6 +4246,9 @@ func statusLoop(reg *registry.Registry, svc *activator.Service, buildStates func
// fleets/<fleet>/status/boxes/<label>.json under the SAME label the edge
// dials, not an opaque pseudonym only the public status page ever wanted.
// "" (every platform box) leaves CollectBox's own label untouched.
+//
+// The display name (p.NameRegion, status.DisplayName) is derived after the
+// override, so it always follows the label the report is published under.
func statusTick(ctx context.Context, s release.Store, reg *registry.Registry, p status.Probes, publish bool, labelOverride string) error {
routes, err := reg.List()
if err != nil {
@@ -4263,6 +4272,9 @@ func statusTick(ctx context.Context, s release.Store, reg *registry.Registry, p
if labelOverride != "" {
box.Label = labelOverride
}
+ if p.NameRegion != "" {
+ box.Name = status.DisplayName(box.Label, p.NameRegion)
+ }
if err := status.WriteBox(ctx, s, box); err != nil {
return err
}
diff --git a/internal/host/displayname.go b/internal/host/displayname.go
new file mode 100644
index 000000000..313d250aa
--- /dev/null
+++ b/internal/host/displayname.go
@@ -0,0 +1,28 @@
+package host
+
+import (
+ "strings"
+
+ "github.com/carlosframework/platform/internal/status"
+)
+
+// resolveNameRegion reads STATUS_NAME_REGION, the region code a box's
+// display name is themed for (status.DisplayName; spec
+// 2026-10-25-regional-box-names-design.md). statusLoop calls it once.
+//
+// "" means no display name: the variable is unset, or this is a fleet box
+// (CARLOS_FLEET set to anything, valid or not), whose operator already
+// picked its name and whose report never reaches the shared fleet's page.
+// An invalid code is logged once and also gives "", the degrade-don't-
+// disable rule the status loop follows everywhere else.
+func resolveNameRegion(getenv func(string) string, logf func(string, ...any)) string {
+ code := strings.TrimSpace(getenv("STATUS_NAME_REGION"))
+ if code == "" || strings.TrimSpace(getenv("CARLOS_FLEET")) != "" {
+ return ""
+ }
+ if !status.ValidNameRegion(code) {
+ logf("agent: STATUS_NAME_REGION=%q is not a region code (2 to 8 lowercase letters). this box shows no display name", code)
+ return ""
+ }
+ return code
+}
diff --git a/internal/host/displayname_test.go b/internal/host/displayname_test.go
new file mode 100644
index 000000000..b268b87e6
--- /dev/null
+++ b/internal/host/displayname_test.go
@@ -0,0 +1,136 @@
+package host
+
+import (
+ "context"
+ "encoding/json"
+ "errors"
+ "fmt"
+ "testing"
+
+ "github.com/carlosframework/platform/internal/hostactors"
+ "github.com/carlosframework/platform/internal/hostenv"
+ "github.com/carlosframework/platform/internal/status"
+)
+
+func TestResolveNameRegion(t *testing.T) {
+ for _, c := range []struct {
+ env map[string]string
+ want string
+ logs int
+ }{
+ {map[string]string{}, "", 0},
+ {map[string]string{"STATUS_NAME_REGION": "ie"}, "ie", 0},
+ {map[string]string{"STATUS_NAME_REGION": "ie "}, "ie", 0},
+ {map[string]string{"STATUS_NAME_REGION": "ie\n"}, "ie", 0},
+ {map[string]string{"STATUS_NAME_REGION": "IE"}, "", 1},
+ {map[string]string{"STATUS_NAME_REGION": "Ireland"}, "", 1},
+ {map[string]string{"STATUS_NAME_REGION": "u-k"}, "", 1},
+ {map[string]string{"STATUS_NAME_REGION": "ie", "CARLOS_FLEET": "acme"}, "", 0},
+ {map[string]string{"STATUS_NAME_REGION": "ie", "CARLOS_FLEET": "bad name!"}, "", 0},
+ } {
+ var lines []string
+ logf := func(format string, args ...any) { lines = append(lines, fmt.Sprintf(format, args...)) }
+ got := resolveNameRegion(groupEnv(c.env), logf)
+ if got != c.want || len(lines) != c.logs {
+ t.Errorf("env %q: %q with %d log lines %q, want %q with %d", c.env, got, len(lines), lines, c.want, c.logs)
+ }
+ }
+}
+
+// readBox reads one published report back raw, so a test can see whether
+// the name key is there at all, not just whether it decodes empty.
+func readBox(t *testing.T, get func(string) ([]byte, error), label string) (status.Box, map[string]json.RawMessage) {
+ t.Helper()
+ body, err := get("status/boxes/" + label + ".json")
+ if err != nil {
+ t.Fatalf("report for %s: %v", label, err)
+ }
+ var b status.Box
+ var raw map[string]json.RawMessage
+ if err := json.Unmarshal(body, &b); err != nil {
+ t.Fatal(err)
+ }
+ if err := json.Unmarshal(body, &raw); err != nil {
+ t.Fatal(err)
+ }
+ return b, raw
+}
+
+func TestStatusTickStampsTheName(t *testing.T) {
+ ctx := context.Background()
+ reg, s, _ := statusFixture(t)
+ label := status.Label("test-machine")
+ if err := statusTick(ctx, s, reg, status.Probes{MachineID: "test-machine", NameRegion: "ie"}, true, ""); err != nil {
+ t.Fatal(err)
+ }
+ get := func(k string) ([]byte, error) { b, _, err := s.Get(ctx, k); return b, err }
+ want := status.DisplayName(label, "ie")
+ if b, _ := readBox(t, get, label); want == "" || b.Name != want {
+ t.Fatalf("report name %q, want %q", b.Name, want)
+ }
+ body, err := get("status/fleet.json")
+ if err != nil {
+ t.Fatal(err)
+ }
+ var f status.Fleet
+ if err := json.Unmarshal(body, &f); err != nil {
+ t.Fatal(err)
+ }
+ found := false
+ for _, b := range f.Boxes {
+ if b.Label == label {
+ found = b.Name == want
+ }
+ }
+ if !found {
+ t.Fatalf("fleet.json lacks %s named %s: %s", label, want, body)
+ }
+}
+
+func TestStatusTickNoNameRegionIsUnchanged(t *testing.T) {
+ ctx := context.Background()
+ reg, s, _ := statusFixture(t)
+ if err := statusTick(ctx, s, reg, status.Probes{MachineID: "test-machine"}, false, ""); err != nil {
+ t.Fatal(err)
+ }
+ get := func(k string) ([]byte, error) { b, _, err := s.Get(ctx, k); return b, err }
+ if _, raw := readBox(t, get, status.Label("test-machine")); raw["name"] != nil {
+ t.Fatalf("an unset STATUS_NAME_REGION published a name: %s", raw["name"])
+ }
+}
+
+// A group box's name follows its g- reference, the label it publishes
+// under, never the hashed pseudonym; and with no reference it publishes
+// nothing at all, name or not (Review Focus 1).
+func TestGroupBoxNameFollowsItsReference(t *testing.T) {
+ ctx := context.Background()
+ env := groupEnv(map[string]string{hostenv.BoxReference: hostenv.GroupReference})
+ probes := status.Probes{MachineID: "m", NameRegion: "uk"}
+
+ reg, s, victim := statusFixture(t)
+ withGroupIdentity(t, "", "", errors.New("IMDS answered 500"))
+ if err := groupStatusTick(ctx, s, reg, probes, false, "", env); !errors.Is(err, errNoGroupReference) {
+ t.Fatalf("unresolved reference: %v", err)
+ }
+ if keys, _ := s.List(ctx, "status/boxes/"); len(keys) != 1 {
+ t.Fatalf("published with no reference: %v", keys)
+ }
+ if got, _, _ := s.Get(ctx, "status/boxes/"+status.Label("machine-1")+".json"); string(got) != string(victim) {
+ t.Fatalf("the victim's report was replaced: %s", got)
+ }
+
+ reg, s, _ = statusFixture(t)
+ withGroupIdentity(t, "123456789012", "i-0a61f580df1acfa65", nil)
+ if err := groupStatusTick(ctx, s, reg, probes, false, "", env); err != nil {
+ t.Fatal(err)
+ }
+ ref := hostactors.GroupBoxReference("123456789012", "i-0a61f580df1acfa65")
+ get := func(k string) ([]byte, error) { b, _, err := s.Get(ctx, k); return b, err }
+ b, _ := readBox(t, get, ref)
+ if want := status.DisplayName(ref, "uk"); b.Name != want || want == "" {
+ t.Fatalf("group box name %q, want %q", b.Name, want)
+ }
+ if b.Name == status.DisplayName(status.Label("m"), "uk") {
+ t.Fatalf("group box name %q came from the hashed pseudonym", b.Name)
+ }
+}
diff --git a/internal/hostenv/hostenv.go b/internal/hostenv/hostenv.go
index e89154183..0fb0323a9 100644
--- a/internal/hostenv/hostenv.go
+++ b/internal/hostenv/hostenv.go
@@ -94,6 +94,7 @@ var Optional = []string{
"CARLOS_VERSIONS_GRACE",
"CARLOS_WILDCARD_DOMAINS",
"STATUS_BOX_REGION",
+ "STATUS_NAME_REGION",
}
// Allowed reports whether name is a variable host.env may carry from the
diff --git a/internal/hostenv/hostenv_test.go b/internal/hostenv/hostenv_test.go
index 7b61ece70..075ef928b 100644
--- a/internal/hostenv/hostenv_test.go
+++ b/internal/hostenv/hostenv_test.go
@@ -426,3 +426,12 @@ func TestStatusOverridesAndTheAlertWebhookAreRefusedByNameNotValue(t *testing.T)
})
}
}
+
+// TestStatusNameRegionIsAllowed: a group box's host.env can carry its
+// display-name region (regional box names, 2026-10-25). Like
+// STATUS_BOX_REGION it selects no authority; it only themes a name.
+func TestStatusNameRegionIsAllowed(t *testing.T) {
+ if !Allowed("STATUS_NAME_REGION") {
+ t.Fatal("STATUS_NAME_REGION is not allowed in host.env")
+ }
+}
diff --git a/internal/moves/envreport.go b/internal/moves/envreport.go
index f23f779d0..58cd020ee 100644
--- a/internal/moves/envreport.go
+++ b/internal/moves/envreport.go
@@ -49,7 +49,7 @@ var (
"LISTEN_PID": true, "LISTEN_FDS": true, "LISTEN_FDNAMES": true,
"RUNTIME_DIRECTORY": true, "STATE_DIRECTORY": true, "CACHE_DIRECTORY": true, "LOGS_DIRECTORY": true,
"CONFIGURATION_DIRECTORY": true, "CREDENTIALS_DIRECTORY": true,
- "AWS_REGION": true, "STATUS_BOX_REGION": true, "PLATFORM_EDGE_IPS": true, "PLATFORM_APPS_DOMAIN": true,
+ "AWS_REGION": true, "STATUS_BOX_REGION": true, "STATUS_NAME_REGION": true, "PLATFORM_EDGE_IPS": true, "PLATFORM_APPS_DOMAIN": true,
"CONSOLE_DENY_DOMAINS": true, "CONSOLE_HOME_REGION": true,
}
// AgentOwnedVars are the variables the agent sets, overwrites or
diff --git a/internal/moves/envreport_test.go b/internal/moves/envreport_test.go
index d9e68a99f..6a749d2b6 100644
--- a/internal/moves/envreport_test.go
+++ b/internal/moves/envreport_test.go
@@ -430,6 +430,9 @@ func TestBoxVarsCoverTheMeasuredAgentEnvironment(t *testing.T) {
"INVOCATION_ID", "JOURNAL_STREAM", "SYSTEMD_EXEC_PID", "MEMORY_PRESSURE_WATCH", "MEMORY_PRESSURE_WRITE",
"AWS_REGION", "STATUS_BOX_REGION", "PLATFORM_EDGE_IPS", "PLATFORM_APPS_DOMAIN",
"CONSOLE_DENY_DOMAINS", "CONSOLE_HOME_REGION",
+ // Not measured but the same shape: STATUS_NAME_REGION differs per
+ // region (regional box names, 2026-10-25).
+ "STATUS_NAME_REGION",
} {
if !BoxOwned(name) {
t.Errorf("%s differs per box but is not box-owned", name)
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 311a98103..5939af9ca 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -33,3 +33,4 @@ plan14-root-reads-hunt-account-root-hardening.tsv ed721c45bf1af12467439061137d8c
plan14-root-reads-plans-4c-units.tsv f6c05461d95d00fb468c5f580487de16370049b91963539546026cadadaa1c9d
plan14-root-reads-plans-4c-box-throttle.tsv c71b2974cd929122afc730f22cb53c63f3fdefdb4b26f7ca60db76fface906de
plan14-root-reads-gated-deploy-watch-164.tsv c5d8767f883f4a8677330039f54aa556124f6dde888e0b4a36095a49b634e634
+plan14-root-reads-regional-box-names.tsv 7dfb5801f9809eb3d01254f918bb3cb785c9471501256f7060bc8eb30d3faa2f
diff --git a/internal/provision/testdata/plan14-root-reads-regional-box-names.tsv b/internal/provision/testdata/plan14-root-reads-regional-box-names.tsv
new file mode 100644
index 000000000..1afdc255d
--- /dev/null
+++ b/internal/provision/testdata/plan14-root-reads-regional-box-names.tsv
@@ -0,0 +1,21 @@
+# Census overlay regional-box-names, written by census-propose (#369). census-ruling-regional-box-names, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-regional-box-names.md.
+# 6 body, 0 sites, 7 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+@legacy d023b7c53e96ef444228aa5d1281a83a964dd23034b57b5dcc1f22b12782d7e4 internal/console/templates/fleet.html external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-regional-box-names;basis=both Label cells render {{.Name}} with {{.Label}} in a .small span when Name is set, else {{.Label}} as before; html/template escapes both; no read added file:external@0 0c6da27bb9d7e1c334388582c5620887e71843421a0a899f4f3037fefb4b9ee4
+@legacy 36e704f5d19ca54c3f84bf5e78081cf712a0856fb78034d8acbca59592695153 internal/host/agent.go statusLoop legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-2b;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with its tick through groupStatusTick, so a box whose host.env carries the group marker (CARLOS_BOX_REFERENCE=group) publishes its status report only under its group reference, resolved afresh each tick, and nothing until it resolves, never under status.Label; every other box, fleet boxes included, gets statusTick with today's label and key; read sites unchanged;rev3=census-ruling-regional-box-names;basis=resolves STATUS_NAME_REGION once via resolveNameRegion (env read, trim, validate, "" for fleet boxes) and sets Probes.NameRegion; no read added whole:Route@6237,whole:Route@6264,whole:Route@7506,whole:Route@9520 57a90cd24d024adddd60bc7a9c53c7a649731cc82dd4c2df18f0958ffe04eedf
+@legacy 1c62b2d15f6c082b24d9a0c42519ea9e3badfaf9adcad32333da4781884eef59 internal/host/agent.go statusTick legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-regional-box-names;basis=after the label override, sets box.Name = status.DisplayName(box.Label, p.NameRegion) when NameRegion is set; a pure hash over the label; no read added whole:Route@1362,whole:Route@838,whole:RouteAlias@790,whole:RouteAlias@800 19e102196bb359a90537830eab66bff271cab966b00d1aaee1db8b40dbb3da35
+@legacy fa1d4c600a47331d7b26fbfb1864f56f6fb496e094b1bcfead27f4cb34eb21c0 internal/status/assets/index.html external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-regional-box-names;basis=renderBoxes shows b.name with b.label in a .box-label span via asText when a name is set; no read added file:external@0 4ae69e3b788b1cff394ff67acbe75bd93e96f823ad288f2aab29b50494cc7028
+@legacy 892e4ea3fbb3ca818524c6d28b7ba9d1fc88f48080273d1cce2704821cf97f26 internal/status/assets/status.css external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-regional-box-names;basis=adds the .box-label rule; no read added file:external@0 69cd9c6fe6990c0391d853d965c24e8810168befce07507ba63f2f2be824b305
+@legacy 9d4b6d400e1c212b0e4c2073e765eaedd7f5fc7288aedf6fed34f79c61307e19 internal/status/fleet.go BuildFleet legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-regional-box-names;basis=copies Box.Name to FleetBox.Name; no read added whole:Route@1227,whole:Route@1305 baf686616619c7d685238e075377d419214c6a411a10b068a1f5e70483776708
+internal/console/templates/fleet.html external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-regional-box-names;basis=both Label cells render {{.Name}} with {{.Label}} in a .small span when Name is set, else {{.Label}} as before; html/template escapes both; no read added file:external@0 0c6da27bb9d7e1c334388582c5620887e71843421a0a899f4f3037fefb4b9ee4
+internal/host/agent.go statusLoop legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-2b;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with its tick through groupStatusTick, so a box whose host.env carries the group marker (CARLOS_BOX_REFERENCE=group) publishes its status report only under its group reference, resolved afresh each tick, and nothing until it resolves, never under status.Label; every other box, fleet boxes included, gets statusTick with today's label and key; read sites unchanged;rev3=census-ruling-regional-box-names;basis=resolves STATUS_NAME_REGION once via resolveNameRegion (env read, trim, validate, "" for fleet boxes) and sets Probes.NameRegion; no read added whole:Route@6237,whole:Route@6264,whole:Route@7506,whole:Route@9520 57a90cd24d024adddd60bc7a9c53c7a649731cc82dd4c2df18f0958ffe04eedf
+internal/host/agent.go statusTick legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-regional-box-names;basis=after the label override, sets box.Name = status.DisplayName(box.Label, p.NameRegion) when NameRegion is set; a pure hash over the label; no read added whole:Route@1362,whole:Route@838,whole:RouteAlias@790,whole:RouteAlias@800 19e102196bb359a90537830eab66bff271cab966b00d1aaee1db8b40dbb3da35
+internal/status/assets/index.html external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-regional-box-names;basis=renderBoxes shows b.name with b.label in a .box-label span via asText when a name is set; no read added file:external@0 4ae69e3b788b1cff394ff67acbe75bd93e96f823ad288f2aab29b50494cc7028
+internal/status/assets/status.css external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-regional-box-names;basis=adds the .box-label rule; no read added file:external@0 69cd9c6fe6990c0391d853d965c24e8810168befce07507ba63f2f2be824b305
+internal/status/fleet.go BuildFleet legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-regional-box-names;basis=copies Box.Name to FleetBox.Name; no read added whole:Route@1227,whole:Route@1305 baf686616619c7d685238e075377d419214c6a411a10b068a1f5e70483776708
+@coverage internal/console 8acc83b224adc779663d3f976cab136bdba399afde4b04a95974f9f7c87c2db0
+@coverage internal/console/templates c994245d5ee1c6159025f2db3d2282bb537e15407d327a13aaa83247c9bb33c8
+@coverage internal/host 8ad8ff152de6b0fe66378bbf0dade7137214dea72d18f4c37fd5858938c2e225
+@coverage internal/hostenv 3d6cf991a076e035fbc63b0abe880b05e2eafd5fef0472e80b50d238333ba269
+@coverage internal/moves c861bbf5c06d0732037e4b967405e0934cb2ac4fd7118a113c1cc1907a81bdad
+@coverage internal/status c93b729c4e0cf3127268cd807a939e43d0b1fcabe96bd094f910dbcd2c810ba1
+@coverage internal/status/assets b7cec9925601cff7b2127bf6c46956a520f2da674664d40c3659e8ee91406e4b
diff --git a/internal/status/assets/index.html b/internal/status/assets/index.html
index 318e792f6..f47fd36b4 100644
--- a/internal/status/assets/index.html
+++ b/internal/status/assets/index.html
@@ -170,7 +170,20 @@
var body = document.getElementById("boxes-body");
(f.boxes || []).forEach(function (b) {
var tr = document.createElement("tr");
- tr.appendChild(td(asText(b.label)));
+ // A regional display name (b.name) leads, with the box's label
+ // muted beneath it; a box without one shows its label as before.
+ // The name is display only: nothing on this page keys on it.
+ if (b.name) {
+ var cell = document.createElement("td");
+ cell.appendChild(asText(b.name));
+ var sub = document.createElement("span");
+ sub.className = "box-label";
+ sub.appendChild(asText(b.label));
+ cell.appendChild(sub);
+ tr.appendChild(cell);
+ } else {
+ tr.appendChild(td(asText(b.label)));
+ }
tr.appendChild(td(asText(b.region)));
tr.appendChild(td(asText(b.load)));
var routes = b.routes || {};
diff --git a/internal/status/assets/status.css b/internal/status/assets/status.css
index d3dde40a0..370e85985 100644
--- a/internal/status/assets/status.css
+++ b/internal/status/assets/status.css
@@ -106,3 +106,11 @@ footer {
color: var(--muted);
font-size: 0.85rem;
}
+
+/* A box's label, muted beneath its regional display name. */
+.box-label {
+ display: block;
+ color: var(--muted);
+ font-size: 0.85em;
+ white-space: nowrap;
+}
diff --git a/internal/status/contract_test.go b/internal/status/contract_test.go
index 011e17935..9dc1a8256 100644
--- a/internal/status/contract_test.go
+++ b/internal/status/contract_test.go
@@ -79,7 +79,7 @@ var allowedBoxKeys = map[string][]string{
// Safe on the identical structural ground: BuildFleet's field-by-field
// copy never names "metrics", so no hostname here can reach FleetBox or
// fleet.json regardless of what this map holds.
- "": {"generated_at", "label", "region", "routes", "load", "capacity", "replication", "adoption_running", "config_path_running", "restart_path_running", "expired_canaries", "metrics"},
+ "": {"generated_at", "label", "name", "region", "routes", "load", "capacity", "replication", "adoption_running", "config_path_running", "restart_path_running", "expired_canaries", "metrics"},
"routes": {"static", "resident", "hibernating", "awake", "asleep"},
"replication": {"healthy", "lag_seconds"},
"metrics": {"mem_total_bytes", "mem_avail_bytes", "load1", "disk_free_bytes", "release", "tunnel", "route_versions", "upstreams", "layout", "config_refusals", "config_refusals_total", "release_refusals", "proof_waits", "config_guard", "build_states", "build_states_err", "update_settings", "updates"},
@@ -117,7 +117,7 @@ var allowedBoxKeys = map[string][]string{
// allowedBoxKeys: every new field is a deliberate publication decision.
var allowedFleetKeys = map[string][]string{
"": {"generated_at", "boxes", "instances", "capacity", "apps", "apps_unlisted", "services", "replication", "adoption_running", "expired_canaries"},
- "boxes[]": {"label", "region", "load", "stale", "routes", "adoption_running", "config_path_running", "restart_path_running", "expired_canaries"},
+ "boxes[]": {"label", "name", "region", "load", "stale", "routes", "adoption_running", "config_path_running", "restart_path_running", "expired_canaries"},
"boxes[].routes": {"static", "resident", "hibernating", "awake", "asleep"},
"instances": {"total", "static", "resident", "hibernating", "awake", "asleep"},
"capacity": {"level"},
@@ -388,6 +388,9 @@ func fixtureProbes() status.Probes {
// explicitly added to allowedBoxKeys to pass this test — that's the guard.
func TestBoxSchemaAllowlisted(t *testing.T) {
b := status.CollectBox(fixtureRoutes(), fixtureProbes(), time.Now())
+ // The host stamps Name after CollectBox (statusTick); set it here so
+ // the key is exercised, not merely allowed.
+ b.Name = "seamus-minding-ie"
j, err := json.Marshal(b)
if err != nil {
t.Fatalf("marshal Box: %v", err)
@@ -403,8 +406,9 @@ func TestFleetSchemaAllowlisted(t *testing.T) {
now := time.Now()
// Write a box so BuildFleet has something to merge.
- if err := status.WriteBox(context.Background(), s,
- status.CollectBox(fixtureRoutes(), fixtureProbes(), now)); err != nil {
+ named := status.CollectBox(fixtureRoutes(), fixtureProbes(), now)
+ named.Name = "seamus-minding-ie"
+ if err := status.WriteBox(context.Background(), s, named); err != nil {
t.Fatalf("WriteBox: %v", err)
}
diff --git a/internal/status/displayname.go b/internal/status/displayname.go
new file mode 100644
index 000000000..ec5fb8283
--- /dev/null
+++ b/internal/status/displayname.go
@@ -0,0 +1,154 @@
+package status
+
+import (
+ "crypto/sha256"
+ "encoding/binary"
+)
+
+// DisplayName is a box's regional display name, "name-verb-region" — the
+// shape of seamus-minding-ie (spec 2026-10-25-regional-box-names-design.md).
+// It is for people to read on the status page and the console, and nothing
+// may key on it: object keys, enrollment, the roster, invitations, layout
+// intents and every feed's Box field use the identity label, always.
+//
+// It is derived from label, the identity label the report is published
+// under (the hashed pseudonym, a group box's g- reference). That label is
+// already public, so the name tells a reader nothing the page didn't, and a
+// group box, which has no hashed pseudonym, is covered by the same rule.
+// The hash carries its own domain prefix so the indexes don't echo Label's:
+// without it, a hashed-label box under an unthemed region would just get
+// its own label back with a suffix.
+//
+// Two boxes in one region can share a display name (1 in 1,600 for a pair).
+// That is cosmetic: the label is shown beside it.
+//
+// region is an operator-set code; "" (or anything ValidNameRegion refuses)
+// means no display name, and so does an empty label. A code with no themed
+// lists uses Label's own lists plus the suffix.
+func DisplayName(label, region string) string {
+ if label == "" || !ValidNameRegion(region) {
+ return ""
+ }
+ names, verbs := labelNames, labelActions
+ if theme, ok := nameThemes[region]; ok {
+ names, verbs = theme.names, theme.verbs
+ }
+ n, v := nameIndexes(label)
+ return names[n] + "-" + verbs[v] + "-" + region
+}
+
+// ValidNameRegion reports whether code is a display-name region code: 2 to
+// 8 lowercase ASCII letters, which covers every CARLOS placement code and
+// can never contain "-", the name's separator. Callers trim first; this
+// does not.
+func ValidNameRegion(code string) bool {
+ if len(code) < 2 || len(code) > 8 {
+ return false
+ }
+ for i := 0; i < len(code); i++ {
+ if code[i] < 'a' || code[i] > 'z' {
+ return false
+ }
+ }
+ return true
+}
+
+// nameIndexes is the name and verb index for label, each a uint32 % 40 of
+// its own 4-byte chunk, the same bias reasoning as Label's.
+func nameIndexes(label string) (name, verb uint32) {
+ sum := sha256.Sum256([]byte("carlos-box-name/v1\x00" + label))
+ return binary.BigEndian.Uint32(sum[0:4]) % 40, binary.BigEndian.Uint32(sum[4:8]) % 40
+}
+
+// nameTheme is one region's word lists: first names people there actually
+// have, and gerunds that read as both a host's job and something people do
+// there. Fixed-size, like labelNames, so the space stays auditable at a
+// glance. The lists passed a copy review
+// (docs/superpowers/specs/COPY-FINDINGS-REGIONAL-BOX-NAMES.md).
+type nameTheme struct {
+ names, verbs [40]string
+}
+
+// nameThemes holds the themed regions. Adding one is an entry here and
+// nothing else.
+var nameThemes = map[string]nameTheme{
+ "ie": {
+ names: [40]string{
+ "seamus", "siobhan", "niamh", "aoife", "ciaran", "padraig", "maeve",
+ "sinead", "eoin", "orla", "declan", "grainne", "cian", "roisin", "fionn",
+ "saoirse", "colm", "brid", "oisin", "aisling", "darragh", "caoimhe",
+ "ronan", "deirdre", "cathal", "una", "tadhg", "eimear", "donal",
+ "clodagh", "fiachra", "muireann", "lorcan", "sorcha", "eamon", "nuala",
+ "diarmuid", "ailbhe", "cormac", "mairead",
+ },
+ verbs: [40]string{
+ "minding", "herding", "shepherding", "droving", "ploughing", "thatching",
+ "baling", "foddering", "ferrying", "footing", "milking", "churning",
+ "stacking", "carting", "rambling", "welcoming", "pouring", "brewing",
+ "distilling", "baking", "knitting", "weaving", "walling", "fencing",
+ "hurling", "busking", "fiddling", "storytelling", "angling", "trawling",
+ "rowing", "shopkeeping", "gathering", "haymaking", "turfcutting",
+ "harvesting", "penning", "shearing", "grazing", "lambing",
+ },
+ },
+ "uk": {
+ names: [40]string{
+ "martin", "nigel", "gareth", "gemma", "ian", "claire", "derek", "colin",
+ "julie", "trevor", "alison", "graham", "keith", "wendy", "barry",
+ "sharon", "gavin", "kirsty", "neil", "lorraine", "stuart", "hayley",
+ "darren", "joanne", "craig", "nicola", "malcolm", "fiona", "rhys",
+ "bethan", "alastair", "morag", "hamish", "ellie", "hugh", "rosie",
+ "alfie", "imogen", "tom", "dave",
+ },
+ verbs: [40]string{
+ "queueing", "brewing", "narrowboating", "punting", "lockkeeping",
+ "signalling", "shunting", "portering", "marshalling", "trainspotting",
+ "bellringing", "allotmenting", "rambling", "pottering", "fettling",
+ "mending", "darning", "letterboxing", "hedgelaying", "wassailing",
+ "carolling", "twitching", "bowling", "batting", "quizzing", "caravanning",
+ "baking", "pickling", "jamming", "hoovering", "bridlepathing", "stewarding",
+ "rowing", "fellrunning", "morrisdancing", "busking", "tinkering",
+ "crocheting", "beachcombing", "gardening",
+ },
+ },
+ "us": {
+ names: [40]string{
+ "hank", "betty", "earl", "peggy", "chuck", "dolores", "andrew", "tammy",
+ "dwayne", "shelby", "cody", "travis", "wade", "loretta", "dale", "bonnie",
+ "gus", "rhonda", "bud", "patsy", "mike", "jennifer", "chris", "ashley",
+ "brian", "amanda", "kevin", "heather", "jason", "melissa", "josh",
+ "brittany", "tyler", "kayla", "jake", "megan", "dylan", "madison", "cole",
+ "savannah",
+ },
+ verbs: [40]string{
+ "tailgating", "grilling", "barbecuing", "wrangling", "ranching",
+ "lassoing", "corralling", "trucking", "hauling", "railroading",
+ "carpooling", "roadtripping", "bussing", "carhopping", "potlucking",
+ "babysitting", "lifeguarding", "ushering", "bellhopping", "dispatching",
+ "shuttling", "logging", "homesteading", "prospecting", "panning",
+ "canning", "whittling", "squaredancing", "linedancing", "bowling",
+ "pitching", "umpiring", "coaching", "flyfishing", "rafting", "camping",
+ "surfing", "skateboarding", "carving", "guiding",
+ },
+ },
+ "au": {
+ names: [40]string{
+ "bruce", "sheila", "shane", "kylie", "brett", "tracey", "wayne",
+ "narelle", "craig", "leanne", "scott", "kerry", "glenn", "raelene",
+ "troy", "bronwyn", "mick", "nathan", "chloe", "lachlan", "matilda",
+ "isla", "kane", "jacinta", "hamish", "angus", "tahlia", "cooper", "ruby",
+ "brodie", "belinda", "dean", "darcy", "mitchell", "harley", "tegan",
+ "clancy", "lily", "mackenzie", "ella",
+ },
+ verbs: [40]string{
+ "mustering", "droving", "shearing", "jackarooing", "boundaryriding",
+ "fencing", "lifesaving", "patrolling", "announcing", "barbecuing",
+ "roadbuilding", "ferrying", "surfing", "bodyboarding", "snorkelling",
+ "sailing", "paddling", "crabbing", "rockpooling", "fossicking",
+ "prospecting", "bushwalking", "camping", "caravanning", "stargazing",
+ "beachcombing", "skimboarding", "guiding", "bowling", "brewing",
+ "pouring", "busking", "yachting", "rowing", "diving", "birdwatching",
+ "swimming", "fishing", "kayaking", "gardening",
+ },
+ },
+}
diff --git a/internal/status/displayname_test.go b/internal/status/displayname_test.go
new file mode 100644
index 000000000..0fe74d116
--- /dev/null
+++ b/internal/status/displayname_test.go
@@ -0,0 +1,198 @@
+package status
+
+import (
+ "context"
+ "encoding/json"
+ "regexp"
+ "sort"
+ "strings"
+ "testing"
+ "time"
+
+ "github.com/carlosframework/platform/internal/release"
+)
+
+// TestNameIndexesGolden pins the display name's hash independently of the
+// word lists: the expected indexes were computed outside Go from
+// sha256("carlos-box-name/v1\x00" + label), so a change to the domain
+// prefix, the byte ranges or the modulus fails here even if every list
+// still lines up.
+func TestNameIndexesGolden(t *testing.T) {
+ for _, c := range []struct {
+ label string
+ n, v uint32
+ }{
+ {"dennis-stenciling", 21, 19},
+ {"ada-stargazing", 17, 16},
+ {"g-0123456789abcdef0123", 39, 12},
+ } {
+ n, v := nameIndexes(c.label)
+ if n != c.n || v != c.v {
+ t.Errorf("%s: (%d,%d), want (%d,%d)", c.label, n, v, c.n, c.v)
+ }
+ }
+}
+
+var displayNameShape = regexp.MustCompile(`^[a-z]+-[a-z]+-[a-z]{2,8}$`)
+
+func TestDisplayNameThemed(t *testing.T) {
+ for _, code := range []string{"ie", "uk", "us", "au"} {
+ theme := nameThemes[code]
+ want := theme.names[21] + "-" + theme.verbs[19] + "-" + code
+ got := DisplayName("dennis-stenciling", code)
+ if got != want {
+ t.Errorf("%s: DisplayName = %q, want %q", code, got, want)
+ }
+ if !displayNameShape.MatchString(got) {
+ t.Errorf("%s: %q does not have the name-verb-region shape", code, got)
+ }
+ if again := DisplayName("dennis-stenciling", code); again != got {
+ t.Errorf("%s: not stable: %q then %q", code, got, again)
+ }
+ }
+}
+
+func TestDisplayNameUnthemed(t *testing.T) {
+ want := labelNames[17] + "-" + labelActions[16] + "-de"
+ if got := DisplayName("ada-stargazing", "de"); got != want {
+ t.Errorf("DisplayName(ada-stargazing, de) = %q, want %q", got, want)
+ }
+}
+
+func TestDisplayNameRefuses(t *testing.T) {
+ for _, region := range []string{"", "IE", "u-k", "i", "abcdefghi", "ie "} {
+ if got := DisplayName("dennis-stenciling", region); got != "" {
+ t.Errorf("region %q: DisplayName = %q, want none", region, got)
+ }
+ }
+ if got := DisplayName("", "ie"); got != "" {
+ t.Errorf("empty label: DisplayName = %q, want none", got)
+ }
+}
+
+func TestNameListsHygiene(t *testing.T) {
+ word := regexp.MustCompile(`^[a-z]+$`)
+ check := func(what string, list [40]string) {
+ seen := map[string]bool{}
+ for _, w := range list {
+ if !word.MatchString(w) {
+ t.Errorf("%s: %q is not lowercase ASCII letters", what, w)
+ }
+ if seen[w] {
+ t.Errorf("%s: %q appears twice", what, w)
+ }
+ seen[w] = true
+ }
+ }
+ check("labelNames", labelNames)
+ check("labelActions", labelActions)
+ var codes []string
+ for code, theme := range nameThemes {
+ codes = append(codes, code)
+ check(code+" names", theme.names)
+ check(code+" verbs", theme.verbs)
+ }
+ sort.Strings(codes)
+ if got, want := codes, []string{"au", "ie", "uk", "us"}; len(got) != len(want) || got[0] != want[0] || got[1] != want[1] || got[2] != want[2] || got[3] != want[3] {
+ t.Errorf("themed regions = %v, want %v", got, want)
+ }
+}
+
+// TestBuildFleetCopiesName: a named report's name reaches fleet.json, and a
+// report from a release that never wrote one (the old shape) still loads
+// and publishes no name key at all.
+func TestBuildFleetCopiesName(t *testing.T) {
+ ctx := context.Background()
+ s := release.NewDirStore(t.TempDir())
+ now := time.Now()
+ named := Box{GeneratedAt: now, Label: "dennis-stenciling", Name: "seamus-minding-ie"}
+ if err := WriteBox(ctx, s, named); err != nil {
+ t.Fatal(err)
+ }
+ if _, err := s.Put(ctx, "status/boxes/ada-stargazing.json",
+ []byte(`{"generated_at":"`+now.UTC().Format(time.RFC3339)+`","label":"ada-stargazing","routes":{}}`), ""); err != nil {
+ t.Fatal(err)
+ }
+ f, err := BuildFleet(ctx, s, nil, now, SnapshotPeriod)
+ if err != nil {
+ t.Fatal(err)
+ }
+ got := map[string]string{}
+ for _, b := range f.Boxes {
+ got[b.Label] = b.Name
+ }
+ if got["dennis-stenciling"] != "seamus-minding-ie" || got["ada-stargazing"] != "" || len(got) != 2 {
+ t.Fatalf("fleet names = %v", got)
+ }
+ j, err := json.Marshal(f)
+ if err != nil {
+ t.Fatal(err)
+ }
+ var wire struct {
+ Boxes []map[string]json.RawMessage `json:"boxes"`
+ }
+ if err := json.Unmarshal(j, &wire); err != nil {
+ t.Fatal(err)
+ }
+ for _, b := range wire.Boxes {
+ _, has := b["name"]
+ if label := string(b["label"]); label == `"ada-stargazing"` && has {
+ t.Errorf("an unnamed box published a name key: %s", j)
+ }
+ }
+}
+
+// TestCollectBoxIgnoresNameRegion: naming happens in the host once the
+// label is final (fleet and group overrides applied), never in CollectBox,
+// whose label may still be about to change.
+func TestCollectBoxIgnoresNameRegion(t *testing.T) {
+ b := CollectBox(nil, Probes{MachineID: "m", NameRegion: "ie"}, time.Now())
+ if b.Name != "" {
+ t.Errorf("CollectBox set Name %q", b.Name)
+ }
+}
+
+// TestStatusPageRendersNameAsText: a box with a display name shows the name
+// with its label beneath in a muted .box-label element; both go through
+// asText, never innerHTML, because a report is box-written and the page must
+// not trust it.
+func TestStatusPageRendersNameAsText(t *testing.T) {
+ html, err := assetsFS.ReadFile("assets/index.html")
+ if err != nil {
+ t.Fatal(err)
+ }
+ page := string(html)
+ start := strings.Index(page, "function renderBoxes(")
+ if start < 0 {
+ t.Fatal("renderBoxes not found")
+ }
+ end := strings.Index(page[start:], "\n }\n")
+ body := page[start : start+end]
+ for _, want := range []string{"asText(b.name)", `"box-label"`, "asText(b.label)"} {
+ if !strings.Contains(body, want) {
+ t.Errorf("renderBoxes lacks %s", want)
+ }
+ }
+ if strings.Contains(body, "innerHTML") {
+ t.Error("renderBoxes uses innerHTML")
+ }
+ css, err := assetsFS.ReadFile("assets/status.css")
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !strings.Contains(string(css), ".box-label") {
+ t.Error("status.css defines no .box-label")
+ }
+}
+
+// TestUKVerbsCarryBridlepathing: Paul's own addition to the uk list
+// (2026-10-25, discussion 395), in place of tidying.
+func TestUKVerbsCarryBridlepathing(t *testing.T) {
+ has := map[string]bool{}
+ for _, w := range nameThemes["uk"].verbs {
+ has[w] = true
+ }
+ if !has["bridlepathing"] || has["tidying"] {
+ t.Errorf("uk verbs: bridlepathing %v, tidying %v; want true, false", has["bridlepathing"], has["tidying"])
+ }
+}
diff --git a/internal/status/fleet.go b/internal/status/fleet.go
index dc0d51031..03b2afaea 100644
--- a/internal/status/fleet.go
+++ b/internal/status/fleet.go
@@ -30,6 +30,7 @@ type FleetApp struct {
// against.
type FleetBox struct {
Label string `json:"label"`
+ Name string `json:"name,omitempty"` // Box.Name, display only
Region string `json:"region,omitempty"`
Load *string `json:"load"`
Stale bool `json:"stale"`
@@ -171,6 +172,7 @@ func BuildFleet(ctx context.Context, s release.Store, routes []registry.Route, n
stale[i] = BoxStale(b, now, period)
f.Boxes = append(f.Boxes, FleetBox{
Label: b.Label,
+ Name: b.Name,
Region: b.Region,
Load: b.Load,
Stale: stale[i],
diff --git a/internal/status/snapshot.go b/internal/status/snapshot.go
index 4dd9ef44a..b68a3e4fa 100644
--- a/internal/status/snapshot.go
+++ b/internal/status/snapshot.go
@@ -57,7 +57,11 @@ type Probes struct {
// or "" for hardware no cloud owns. It is the console architecture
// page's join key — see BoxMetrics.InstanceID.
InstanceID string
- Region string // operator-set, coarse; "" omits the field
+ Region string // operator-set, coarse; "" omits the field
+ // NameRegion is the validated STATUS_NAME_REGION code, or "". Never
+ // serialized, and CollectBox ignores it: the host derives Box.Name from
+ // it after the label is final (fleet and group overrides applied).
+ NameRegion string
MemFrac *float64 // 0..1 memory utilization
DiskFrac *float64 // 0..1 proximity to the disk floor
Listening func(sock string) *bool // kernel socket table read; nil fn = unknown
@@ -721,8 +725,12 @@ type Replication struct {
// the package doc) and excluded from FleetBox by construction (fleet.go's
// BuildFleet copies fields one at a time and never names either).
type Box struct {
- GeneratedAt time.Time `json:"generated_at"`
- Label string `json:"label"`
+ GeneratedAt time.Time `json:"generated_at"`
+ Label string `json:"label"`
+ // Name is the regional display name (DisplayName), stamped by the
+ // host once Label is final; "" omits the key. Display only: nothing
+ // keys on it.
+ Name string `json:"name,omitempty"`
Region string `json:"region,omitempty"`
Routes RouteCounts `json:"routes"`
Load *string `json:"load"` // comfortable|busy|critical