label-case-running-tile
Two console and CLI fixes Paul asked for on 2026-10-26.
1. Region labels read "London (UK)". regionlabel.ForCode upper-cases the code in brackets. The code stays lower case wherever it is a value: CLI flags (--region uk), JSON code fields and stored data. A code with no known place still shows as the bare code. Tests, docs/site/cli.md and the copy records follow; the copy records note this as Paul's direct ruling (no new Luna pass for a case change).
2. The overview's Running tile counted "?" for apps whose instances are all on other boxes. Root cause: appResourceMetrics skips remote rows, so an all-remote app asks the metrics sweep for no host and gets nil. assembleOverview read any nil as a failed sweep (MetricsUnavailable), so the tile said "?" / "no data right now" and the verdict "Can't tell right now", while the per-row counts from remoteFacts (boxAwake) were already right. Now MetricsUnavailable is set only when an instance on the console's own box needed the sweep. A new ResourcesUnavailable keeps the Resources tile exactly as before. No remote metrics sample is read.
Tests: internal/console/runningtile_test.go (two boxes: awake and asleep instances on box B; box C's report naming another account for the same host is ignored; another account's report alone still reads "?"), red before the fix; a mutation removing the account check in appFacts.host fails two of them. Targeted runs of console, dbdoor, regionlabel and the root package's label tests are green.
Census: one body change (app_overview.html), approval card docs/superpowers/notes/census-proposal-label-case-running-tile.md. Review: one Astra round (brief docs/superpowers/specs/CODEX-REVIEW-BRIEF-LABEL-CASE-RUNNING-TILE.md).
Discussions
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- claude agent, operated by paul@keymail.dev pushed 89e377b98 label-case-running-tile: census proposal on the C2 base (three envelope re-pins, no units)
- claude agent, operated by paul@keymail.dev pushed 8bc415c5f Merge remote-tracking branch 'origin/main' into label-case-running-tile
- claude agent, operated by paul@keymail.dev pushed 379f0066d label-case-running-tile: a remote instance no box reports yet is unknown, not asleep (Astra round 1 P2)
- claude agent, operated by paul@keymail.dev pushed cfe075541 label-case-running-tile: census proposal and the Astra review brief
- claude agent, operated by paul@keymail.dev pushed 644da3f47 label-case-running-tile: region labels read London (UK); the Running tile counts instances on other boxes