carlos / platform Public

operator pages: copy record, gate and Luna brief

153 rows OPS-1 to OPS-153, all pending, and the gate that keeps a pending
string out of code. The Luna brief is committed so the pass reviews a fixed
commit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev ac7750f12509edf3172b775d15c878f174d278a4 parent 014f66b
3 files changed, +500 −0
  • approved_operator_pages_copy_test.go +129 −0
  • docs/superpowers/plans/2026-10-25-operator-pages-copy.md +261 −0
  • docs/superpowers/plans/LUNA-COPY-BRIEF-OPERATOR-PAGES.md +110 −0
diff --git a/approved_operator_pages_copy_test.go b/approved_operator_pages_copy_test.go
new file mode 100644
index 000000000..a986f6a0d
--- /dev/null
+++ b/approved_operator_pages_copy_test.go
@@ -0,0 +1,129 @@
+// approved_operator_pages_copy_test.go
+package main
+
+import (
+ "os"
+ "path/filepath"
+ "regexp"
+ "strconv"
+ "strings"
+ "testing"
+)
+
+// The copy gate of the operator pages plan (spec 2026-10-25, Part 3). The
+// record is docs/superpowers/plans/2026-10-25-operator-pages-copy.md. It
+// reuses the moves gate's helpers (parseCopyTable, checkMovesInventory,
+// checkMovesNoEmDash, checkRunBuilt, checkRunApplied) as the edge asset cache
+// gate does.
+//
+// - TestOperatorPagesCopyInventory: the record names exactly
+// operatorPagesCopyIDs (OPS-1 to OPS-153), and no row holds an em dash;
+// - TestOperatorPagesCopyBuiltRowsAreApprovedAndPresent: an id in
+// operatorPagesCopyBuilt is an approved row, and its text is in the file
+// it names. No pending string reaches code or templates.
+//
+// A row's file is a path relative to internal/console/, so the built rows are
+// checked under operatorPagesCopyRoot.
+const operatorPagesCopyRecordPath = "docs/superpowers/plans/2026-10-25-operator-pages-copy.md"
+
+const operatorPagesCopyRoot = "internal/console"
+
+var operatorPagesCopyIDPattern = regexp.MustCompile(`^OPS-[0-9]+$`)
+
+// operatorPagesCopyIDs is the record's inventory, pinned: OPS-1 to OPS-153.
+var operatorPagesCopyIDs = func() []string {
+ ids := make([]string, 0, 153)
+ for i := 1; i <= 153; i++ {
+ ids = append(ids, "OPS-"+strconv.Itoa(i))
+ }
+ return ids
+}()
+
+// operatorPagesCopyBuilt is every row whose text the code or templates carry.
+// The task that writes a row's text adds its entry here in the same commit.
+// An entry is "OPS-n", checked in the row's file, or "OPS-n@<path>", checked
+// in that file (a path under internal/console/). Nothing is built yet.
+var operatorPagesCopyBuilt = []string{}
+
+// operatorPagesBuiltRows is entryBuiltRows for operatorPagesCopyBuilt.
+func operatorPagesBuiltRows(rows []copyRow, entries []string) ([]copyRow, []string) {
+ return entryBuiltRows(rows, entries, "operatorPagesCopyBuilt")
+}
+
+// checkOperatorPagesBuilt is every problem with the built entries: not
+// approved, no row, named twice, or the text absent from the entry's file
+// under root.
+func checkOperatorPagesBuilt(rows []copyRow, entries []string, root string) []string {
+ built, problems := operatorPagesBuiltRows(rows, entries)
+ return append(problems, checkRunApplied(built, root)...)
+}
+
+func mustParseOperatorPagesCopyRecord(t *testing.T) []copyRow {
+ t.Helper()
+ raw, err := os.ReadFile(operatorPagesCopyRecordPath)
+ if err != nil {
+ t.Fatal(err)
+ }
+ rows, err := parseCopyTable(string(raw), operatorPagesCopyRecordPath, operatorPagesCopyIDPattern, "an OPS-<n>")
+ if err != nil {
+ t.Fatal(err)
+ }
+ return rows
+}
+
+func TestOperatorPagesCopyInventory(t *testing.T) {
+ rows := mustParseOperatorPagesCopyRecord(t)
+ reportAll(t, checkMovesInventory(rows, operatorPagesCopyIDs))
+ reportAll(t, checkMovesNoEmDash(rows))
+ if len(rows) != 153 {
+ t.Errorf("the record has %d rows, want 153", len(rows))
+ }
+}
+
+func TestOperatorPagesCopyBuiltRowsAreApprovedAndPresent(t *testing.T) {
+ reportAll(t, checkOperatorPagesBuilt(mustParseOperatorPagesCopyRecord(t), operatorPagesCopyBuilt, operatorPagesCopyRoot))
+}
+
+// The gate itself (not acceptance: a unit test of the helper): an entry is
+// checked in the row's file under the root, a pending row, an unknown id and
+// a missing text are each refused, and a placeholder row matches on its fixed
+// text.
+func TestOperatorPagesCopyGateChecksTheRowsFile(t *testing.T) {
+ dir := t.TempDir()
+ write := func(name, src string) {
+ t.Helper()
+ if err := os.WriteFile(filepath.Join(dir, name), []byte(src), 0o644); err != nil {
+ t.Fatal(err)
+ }
+ }
+ write("page.html", "<p>Nobody has signed up yet.</p>\n<p>2 things need attention</p>\n")
+ write("other.html", "<p>Something else entirely.</p>\n")
+ rows := []copyRow{
+ {ID: "OPS-1", File: "page.html (the empty state)", Text: "Nobody has signed up yet.", Status: "approved"},
+ {ID: "OPS-2", File: "page.html", Text: "<n> things need attention", Status: "approved"},
+ {ID: "OPS-3", File: "page.html", Text: "A pending sentence goes here.", Status: "pending"},
+ }
+ cases := []struct {
+ name string
+ entries []string
+ want string // "" passes; else a substring of the one problem
+ }{
+ {"the row's file holds the text", []string{"OPS-1"}, ""},
+ {"a placeholder row matches on its fixed text", []string{"OPS-2"}, ""},
+ {"the named file lacks the text", []string{"OPS-1@other.html"}, "OPS-1: other.html does not contain"},
+ {"a pending row", []string{"OPS-3"}, "OPS-3 is built but pending"},
+ {"an id with no row", []string{"OPS-9"}, "no row for"},
+ {"an entry named twice", []string{"OPS-1", "OPS-1"}, "twice"},
+ }
+ for _, c := range cases {
+ t.Run(c.name, func(t *testing.T) {
+ got := checkOperatorPagesBuilt(rows, c.entries, dir)
+ switch {
+ case c.want == "" && len(got) != 0:
+ t.Errorf("problems = %q, want none", got)
+ case c.want != "" && (len(got) != 1 || !strings.Contains(got[0], c.want)):
+ t.Errorf("problems = %q, want one containing %q", got, c.want)
+ }
+ })
+ }
+}
diff --git a/docs/superpowers/plans/2026-10-25-operator-pages-copy.md b/docs/superpowers/plans/2026-10-25-operator-pages-copy.md
new file mode 100644
index 000000000..a15aa5680
--- /dev/null
+++ b/docs/superpowers/plans/2026-10-25-operator-pages-copy.md
@@ -0,0 +1,261 @@
+# Operator pages: copy record
+
+Every new or changed user-facing string of the operator pages plan
+(`2026-10-25-operator-pages.md`, spec `2026-10-25-console-ux-perf-design.md`,
+Part 3). The gate is `approved_operator_pages_copy_test.go` at the repo root.
+It reuses the moves gate's parser, so the format is the moves record's: one
+table per heading, columns id, file, text, status.
+
+Where the strings show. The pages are for the people who run the platform
+and nobody else; a person without the operator role sees the missing-route
+404. The bar and the rail (OPS-1 to OPS-19) are on every operator page. The
+rail's labels (OPS-8 to OPS-15) are also each page's `<h1>`, so a page's
+heading is not a separate row. The dashboard (OPS-20 to OPS-82) shows, top
+to bottom: the page subhead, the needs-attention callout, the headline
+numbers, the new-people chart, newest people, latest activity, boxes and
+background jobs. People and accounts, Activity, Boxes and the moved pages
+(OPS-103 to OPS-148) follow; the job names (OPS-83 to OPS-102 and OPS-149 to
+OPS-153) are labels on the dashboard and Boxes job lists.
+
+Strings that move unchanged from today's operator templates are not rows.
+OPS-131 to OPS-136 are stored in audit rows at the time of the action, so a
+later change to the text does not rewrite history.
+
+The rules:
+
+- A row is `pending` until the Luna pass (Paul delegated plan copy to it) or
+ Paul approves it. The approved edits are applied to the text here verbatim
+ and the row becomes `approved`.
+- No pending string reaches code or templates. The task that writes a row's
+ text adds its id to `operatorPagesCopyBuilt` in the gate in the same
+ commit, and from then on the gate fails unless the row is `approved` and
+ its text is in the file it names.
+- The file cell is a path relative to `internal/console/`, optionally with a
+ note after the path in parentheses (the note names the job a label is for,
+ or where the string shows). The gate searches the path. Where another page
+ shows the same words, it carries them too, unchecked.
+- In a Go file the text is one string literal, or one `fmt.Sprintf` format,
+ equal to the row with a format verb where the row has a `<placeholder>`.
+ No trailing newline inside the literal. In a template the fixed text
+ between placeholders is present as written.
+- No em dashes. A full stop and a new sentence instead, continuing in lower
+ case.
+- Human text only. Log lines, diagnostics, route patterns, rule and job
+ identifiers, JSON keys and data values (box labels, load words from
+ `fleet.json`) are not rows.
+- Neutral names only (shop, example.com). The brand is `<brand>`.
+- Ids are not renumbered.
+
+Placeholders: `<n>` a whole number (of 2 or more where a singular row
+exists); `<age>` a `humanAge` value such as `2 hours`; `<brand>` the
+console's name; `<box>` a box's label; `<service>` a service's name; `<rule>`
+an alert rule's name; `<job>` a background job's label from OPS-83 to OPS-102
+or OPS-149 to OPS-153; `<kind>` an activity kind label (OPS-121 to OPS-125);
+`<account>` an account's name; `<address>` an email address; `<name>` an
+account's name; `<position>` a free tier position label.
+
+## The shell
+
+The bar and rail on every operator page.
+
+| id | file | text | status |
+|---|---|---|---|
+| OPS-1 | templates/opshell.html | CARLOS operator | pending |
+| OPS-2 | templates/opshell.html | Skip to content | pending |
+| OPS-3 | templates/opshell.html | Menu | pending |
+| OPS-4 | templates/opshell.html | Back | pending |
+| OPS-5 | templates/opshell.html | Customer console | pending |
+| OPS-6 | templates/opshell.html | Sign out | pending |
+| OPS-7 | templates/opshell.html (the rail's aria-label) | Operator pages | pending |
+| OPS-8 | opshell.go (the rail label; the page's h1 uses the same row) | Dashboard | pending |
+| OPS-9 | opshell.go (the rail label; the page's h1 uses the same row) | People and accounts | pending |
+| OPS-10 | opshell.go (the rail label; the page's h1 uses the same row) | Activity | pending |
+| OPS-11 | opshell.go (the rail label; the page's h1 uses the same row) | Boxes | pending |
+| OPS-12 | opshell.go (the rail label; the page's h1 uses the same row) | Metrics | pending |
+| OPS-13 | opshell.go (the rail label; the page's h1 uses the same row) | Storage requests | pending |
+| OPS-14 | opshell.go (the rail label; the page's h1 uses the same row) | Economics | pending |
+| OPS-15 | opshell.go (the rail label; the page's h1 uses the same row) | Architecture | pending |
+| OPS-16 | templates/ops_index.html | Pick a page from the list. | pending |
+
+## Shared parts
+
+| id | file | text | status |
+|---|---|---|---|
+| OPS-17 | templates/opparts.html (the search form's screen-reader submit) | Search | pending |
+| OPS-18 | templates/opparts.html | Clear the search | pending |
+| OPS-19 | templates/opparts.html (the pagination's aria-label) | Pages | pending |
+
+## Dashboard
+
+| id | file | text | status |
+|---|---|---|---|
+| OPS-20 | templates/ops_dashboard.html | Who is using <brand>, what they are doing, and whether everything is running. | pending |
+| OPS-21 | opdashboard.go | Everything is running. | pending |
+| OPS-22 | opdashboard.go | 1 thing needs attention | pending |
+| OPS-23 | opdashboard.go | <n> things need attention | pending |
+| OPS-24 | opdashboard.go | Box <box> has stopped reporting. | pending |
+| OPS-25 | opdashboard.go | The fleet summary is <age> old, so box readings may be out of date. | pending |
+| OPS-26 | opdashboard.go | The fleet summary could not be read. | pending |
+| OPS-27 | opdashboard.go | <service> is down. | pending |
+| OPS-28 | opdashboard.go | <rule> is firing on <box>. | pending |
+| OPS-29 | opdashboard.go | 1 storage request is waiting for approval. | pending |
+| OPS-30 | opdashboard.go | <n> storage requests are waiting for approval. | pending |
+| OPS-31 | opdashboard.go | <job> failed on its last run. | pending |
+| OPS-32 | templates/opparts.html (heading, and the link label on job items) | Background jobs | pending |
+| OPS-33 | opdashboard.go | People | pending |
+| OPS-34 | opdashboard.go | <n> active in the last 30 days | pending |
+| OPS-35 | opdashboard.go | New people this week | pending |
+| OPS-36 | opdashboard.go | New accounts this week | pending |
+| OPS-37 | opdashboard.go | +<n> on last week | pending |
+| OPS-38 | opdashboard.go | −<n> on last week | pending |
+| OPS-39 | opdashboard.go | same as last week | pending |
+| OPS-40 | opdashboard.go | Apps | pending |
+| OPS-41 | opdashboard.go | +<n> this week | pending |
+| OPS-42 | opdashboard.go | none new this week | pending |
+| OPS-43 | opdashboard.go | Deploys today | pending |
+| OPS-44 | opdashboard.go | across 1 app | pending |
+| OPS-45 | opdashboard.go | across <n> apps | pending |
+| OPS-46 | templates/ops_dashboard.html | New people, last 30 days | pending |
+| OPS-47 | templates/ops_dashboard.html (the hidden table's caption) | New people per day, last 30 days | pending |
+| OPS-48 | templates/ops_dashboard.html | Day | pending |
+| OPS-49 | templates/ops_dashboard.html | New people | pending |
+| OPS-50 | templates/ops_dashboard.html (the chart axis's last label; the first is the date, 2 Jan format) | Today | pending |
+| OPS-51 | templates/ops_dashboard.html | Newest people | pending |
+| OPS-52 | templates/ops_dashboard.html | All people | pending |
+| OPS-53 | templates/ops_dashboard.html | Person | pending |
+| OPS-54 | templates/ops_dashboard.html | Account | pending |
+| OPS-55 | templates/ops_dashboard.html | Joined | pending |
+| OPS-56 | templates/ops_dashboard.html (no account, no app; the People, Accounts and Activity pages reuse it) | none | pending |
+| OPS-57 | templates/ops_dashboard.html | Nobody has signed up yet. | pending |
+| OPS-58 | templates/ops_dashboard.html | Latest activity | pending |
+| OPS-59 | templates/ops_dashboard.html | All activity | pending |
+| OPS-60 | templates/ops_dashboard.html (Activity reuses it) | When | pending |
+| OPS-61 | templates/ops_dashboard.html (Activity reuses it) | Who | pending |
+| OPS-62 | templates/ops_dashboard.html (Activity reuses it) | What | pending |
+| OPS-63 | templates/ops_dashboard.html (Activity reuses it) | App | pending |
+| OPS-64 | templates/ops_dashboard.html | Nothing has happened yet. | pending |
+| OPS-65 | templates/ops_dashboard.html | All boxes | pending |
+| OPS-66 | templates/ops_dashboard.html | Box | pending |
+| OPS-67 | templates/ops_dashboard.html | Status | pending |
+| OPS-68 | templates/ops_dashboard.html | Region | pending |
+| OPS-69 | templates/ops_dashboard.html | Load | pending |
+| OPS-70 | templates/ops_dashboard.html (the dashboard's column; Boxes carries OPS-147) | Last report | pending |
+| OPS-71 | templates/ops_dashboard.html | No box has published a reading yet. | pending |
+| OPS-72 | opdashboard.go (status word) | Healthy | pending |
+| OPS-73 | opdashboard.go (status word) | Busy | pending |
+| OPS-74 | opdashboard.go (status word) | Silent | pending |
+| OPS-75 | opdashboard.go (status word) | Stale | pending |
+| OPS-76 | opdashboard.go (a box with no load word or region) | unknown | pending |
+| OPS-77 | templates/opparts.html | Job | pending |
+| OPS-78 | templates/opparts.html | Last ran | pending |
+| OPS-79 | templates/opparts.html | Note | pending |
+| OPS-80 | jobs.go (job status word) | OK | pending |
+| OPS-81 | jobs.go (job status word) | Failed | pending |
+| OPS-82 | jobs.go (job status word) | Not run yet | pending |
+
+## Job names, first set
+
+One label per background worker. The worker's name is in the file cell.
+
+| id | file | text | status |
+|---|---|---|---|
+| OPS-83 | jobs.go (StartHostReports) | Console report | pending |
+| OPS-84 | jobs.go (StartAlertWatcher) | Alerts | pending |
+| OPS-85 | jobs.go (StartGeoipJobs) | Location database | pending |
+| OPS-86 | jobs.go (PublishMovesConsole) | Moves record | pending |
+| OPS-87 | jobs.go (StartClaimRecoveryPass) | Claim recovery | pending |
+| OPS-88 | jobs.go (StartEconomicsPass) | Economics | pending |
+| OPS-89 | jobs.go (StartInfraPass) | Architecture inventory | pending |
+| OPS-90 | jobs.go (StartScanPass) | Virus scan | pending |
+| OPS-91 | jobs.go (StartScanDrain) | Virus scan queue | pending |
+| OPS-92 | jobs.go (StartExpiryPass) | Temporary app expiry | pending |
+| OPS-93 | jobs.go (StartPlanLimitsPass) | Plan limits | pending |
+| OPS-94 | jobs.go (StartPlanGracePass) | Plan grace periods | pending |
+| OPS-95 | jobs.go (PublishPlansMarker) | Plans marker | pending |
+| OPS-96 | jobs.go (StartRunSweep) | Run cleanup | pending |
+| OPS-97 | jobs.go (StartSeedsPass) | Seed cleanup | pending |
+| OPS-98 | jobs.go (StartRelay) | Relay | pending |
+| OPS-99 | jobs.go (StartMailEventPush) | Email event delivery | pending |
+| OPS-100 | jobs.go (StartDoorKeyResign) | Door key renewal | pending |
+| OPS-101 | jobs.go (ReportApexSquats) | Apex name check | pending |
+| OPS-102 | jobs.go (LogPlacementDiscrepancies) | Placement check | pending |
+
+## People and accounts
+
+| id | file | text | status |
+|---|---|---|---|
+| OPS-103 | templates/ops_people.html | Everyone who has signed in, and every account. | pending |
+| OPS-104 | templates/ops_people.html (the seg-tabs label) | Show | pending |
+| OPS-105 | templates/ops_people.html (the tab; the People tab reuses OPS-33) | Accounts | pending |
+| OPS-106 | templates/ops_people.html | Search people by address | pending |
+| OPS-107 | templates/ops_people.html | Search accounts by name or id | pending |
+| OPS-108 | templates/ops_people.html | Active today | pending |
+| OPS-109 | templates/ops_people.html | Active in the last 7 days | pending |
+| OPS-110 | templates/ops_people.html | Active in the last 30 days | pending |
+| OPS-111 | templates/ops_people.html | Last seen | pending |
+| OPS-112 | templates/ops_people.html (the column) | Accounts | pending |
+| OPS-113 | templates/ops_people.html | not yet | pending |
+| OPS-114 | templates/ops_people.html | Created | pending |
+| OPS-115 | templates/ops_people.html | Plan | pending |
+| OPS-116 | templates/ops_people.html | Members | pending |
+| OPS-117 | templates/ops_people.html | Nobody matches that search. | pending |
+| OPS-118 | templates/ops_people.html | No account matches that search. | pending |
+
+## Activity
+
+| id | file | text | status |
+|---|---|---|---|
+| OPS-119 | templates/ops_activity.html | Everything people have done, across every account, newest first. | pending |
+| OPS-120 | templates/ops_activity.html | Filter by kind: <kind> | pending |
+| OPS-121 | opactivity.go (activity kind) | Everything | pending |
+| OPS-122 | opactivity.go (activity kind) | Deploys | pending |
+| OPS-123 | opactivity.go (activity kind) | Sign-ins | pending |
+| OPS-124 | opactivity.go (activity kind) | Accounts and invites | pending |
+| OPS-125 | opactivity.go (activity kind) | Other changes | pending |
+| OPS-126 | templates/ops_activity.html | Showing <account> only. | pending |
+| OPS-127 | templates/ops_activity.html | Show every account | pending |
+| OPS-128 | templates/ops_activity.html | Newest | pending |
+| OPS-129 | templates/ops_activity.html | Older | pending |
+| OPS-130 | templates/ops_activity.html | Nothing matches these filters. | pending |
+
+## Stored audit text
+
+OPS-131 to OPS-136 are stored in audit rows at the time of the action, so a later change to the text does not rewrite history.
+
+| id | file | text | status |
+|---|---|---|---|
+| OPS-131 | opaudit.go (stored in the audit row) | Signed in for the first time | pending |
+| OPS-132 | opaudit.go (stored in the audit row) | Signed in | pending |
+| OPS-133 | opaudit.go (stored in the audit row) | Invited <address> | pending |
+| OPS-134 | opaudit.go (stored in the audit row) | Joined <account> from an invitation | pending |
+| OPS-135 | opaudit.go (stored in the audit row) | Created the account <name> | pending |
+| OPS-136 | opaudit.go (stored in the audit row) | Deleted the account <name> | pending |
+
+## Page subheads and the moved pages
+
+| id | file | text | status |
+|---|---|---|---|
+| OPS-137 | templates/ops_boxes.html | Every box, the apps on them, and the platform's background jobs. | pending |
+| OPS-138 | templates/store_approvals.html | Object storage applications waiting for a decision. | pending |
+| OPS-139 | templates/metrics.html | How each box is doing, and how fast this console answers. | pending |
+| OPS-140 | templates/economics.html | What the platform costs and earns. | pending |
+| OPS-141 | templates/economics.html (the seg-tabs label) | Economics sections | pending |
+| OPS-142 | templates/economics.html | Overview | pending |
+| OPS-143 | templates/economics.html (the tab) | Accounts | pending |
+| OPS-144 | templates/economics_accounts.html | Filter by free tier position: <position> | pending |
+| OPS-145 | templates/architecture.html | The deployment's parts and how they connect. | pending |
+| OPS-146 | templates/ops_boxes.html (the Hosts table's meter column) | Memory | pending |
+| OPS-147 | templates/ops_boxes.html | Last report | pending |
+| OPS-148 | templates/ops_activity.html (the Activity filter line's name for a deleted account) | <account> (deleted) | pending |
+
+## Job names, second set
+
+Labels for the five workers registered since the first set was drawn (2026-10-26). If registerClaimWorkers names another worker when Task 7 starts, add a row the same way and send it through the Luna pass before Task 7 writes it.
+
+| id | file | text | status |
+|---|---|---|---|
+| OPS-149 | jobs.go (StartBillingSyncPass) | Billing sync | pending |
+| OPS-150 | jobs.go (StartLifetimesCutoverWatch) | Lifetimes switch-over check | pending |
+| OPS-151 | jobs.go (StartLifetimeRecoveryPass) | Lifetime recovery | pending |
+| OPS-152 | jobs.go (StartIncarnationMigrationPass) | Incarnation migration | pending |
+| OPS-153 | jobs.go (StartEgressReport) | Egress report | pending |
diff --git a/docs/superpowers/plans/LUNA-COPY-BRIEF-OPERATOR-PAGES.md b/docs/superpowers/plans/LUNA-COPY-BRIEF-OPERATOR-PAGES.md
new file mode 100644
index 000000000..fa8a178a1
--- /dev/null
+++ b/docs/superpowers/plans/LUNA-COPY-BRIEF-OPERATOR-PAGES.md
@@ -0,0 +1,110 @@
+# Copy review brief: the operator pages (delegated by Paul, 2026-10-26)
+
+Paul delegated copy review for plan copy to you. You are the copy editor; your
+edits will be applied as approved copy.
+
+Read these three files:
+
+- `docs/superpowers/plans/2026-10-25-operator-pages-copy.md` (153 rows, ids
+ OPS-1 to OPS-153). The `text` column is yours to change. The ids and the
+ `file` column are fixed. The `file` cell's note in parentheses says where a
+ string shows, or which background job a label is for.
+- `docs/superpowers/specs/2026-10-25-console-ux-perf-design.md`, sections 3.2
+ to 3.5, for what each page is for.
+- `/home/paulca/.cache/tmp/console-ux-perf/.superpowers/brainstorm/2160157-1792951277/content/fleet-dashboard.html`,
+ the dashboard mockup Paul approved. Its names and numbers are made up.
+
+## What the change is
+
+The console is the web app people use to manage their apps. Its operator
+pages (under `/fleet`) are for the few people who run the platform; nobody
+else can see them. They are getting a proper shell: a bar across the top, a
+rail down the side, and a new dashboard that answers Paul's question: how
+many people use it, who is new, what happened lately, and is everything
+running. The readers are operators. They know what a box, a region, a
+background job and a storage request are, but the words should still be plain
+and short.
+
+- OPS-1 to OPS-19: the shell. The bar, the rail, and the search and paging
+ parts shared by the list pages. OPS-8 to OPS-15 are the rail labels. They
+ are also each page's heading.
+- OPS-20 to OPS-82: the dashboard. A "needs attention" box at the top lists
+ what is wrong, or says everything is running (OPS-21 to OPS-31). Then
+ headline numbers (OPS-33 to OPS-45): a number, a short label, and a note
+ beside it comparing with last week or this week. Then a chart of new
+ people per day for 30 days, then four small tables: newest people, latest
+ activity, boxes, background jobs.
+- OPS-83 to OPS-102 and OPS-149 to OPS-153: one human label for each
+ background job the console runs. The job's code name is in the `file` cell's
+ note. Make each label say what the job does in two or three plain words.
+ Do not copy the code name.
+- OPS-103 to OPS-118: People and accounts. OPS-119 to OPS-136: Activity and
+ its stored wording. OPS-137 to OPS-153: subheads and labels on the other
+ pages.
+- OPS-131 to OPS-136 are saved with each action when it happens. They read
+ as a line in the activity feed, for example "Created the account shop" shown
+ next to the person who did it.
+
+## House rules (Paul's, all binding)
+
+- No em dashes, ever. Use a full stop and a new sentence, continuing in lower
+ case where the record already does. The row `text` has none; do not add one.
+- Plain words. Short. No jargon a reader would not know. Say what to do next
+ where the string is a message.
+- Neutral names only (shop, example.com). Never a tenant's name.
+- Human text only. If a string is not human text (a log line, a route
+ pattern, a job code name, a JSON key, an error fragment, a data value), flag
+ it rather than edit it.
+- Keep every placeholder exactly: `<n>`, `<box>`, `<age>`, `<brand>`,
+ `<service>`, `<rule>`, `<job>`, `<kind>`, `<account>`, `<address>`,
+ `<name>`, `<position>`. A placeholder is not renamed, dropped, added or
+ moved to a place where it reads wrongly. `<n>` is a whole number of 2 or
+ more wherever a singular row sits beside it (OPS-22 and OPS-23, OPS-29 and
+ OPS-30, OPS-44 and OPS-45). Keep the singular and plural pairs as pairs.
+- Rail and tab labels stay short nouns (OPS-8 to OPS-15, OPS-105, OPS-142,
+ OPS-143). Change one only if it is wrong, and say why.
+- Status words stay one word (OPS-72 to OPS-75, and OK, Failed, Not run yet
+ in OPS-80 to OPS-82). They sit in a small pill.
+- Table column headings stay one or two words.
+
+## Keep the facts
+
+Do not change what a string says, only how it is said. A rewrite must not
+drop a condition, change what a number means, or swap one thing for a
+neighbour. An earlier round rewrote a line and lost "when you make it live";
+that is the failure to avoid. Check these in particular:
+
+- OPS-34: the count is of people active in the last 30 days.
+- OPS-35 to OPS-39 and OPS-41, OPS-42: each note compares this week with last
+ week. "On last week" means the change compared with the week before.
+ OPS-38 uses a true minus sign, not a hyphen; keep it.
+- OPS-43 to OPS-45: deploys made today, and how many apps they covered.
+- OPS-25: the fleet summary is the file the boxes publish; `<age>` is how old
+ it is, written like "2 hours". The warning is that box readings may be
+ stale.
+- OPS-22 and OPS-23 say how many things need attention; each item below them
+ is one of OPS-24 to OPS-31.
+- OPS-50: the last label under the chart; the first label is the date.
+- OPS-56: the word shown where a person has no account or an action has no
+ app.
+- OPS-70 and OPS-147: when the box last sent a report.
+- OPS-108 to OPS-110: three filters on how recently a person was seen.
+- OPS-126 and OPS-148: the filter line on Activity; OPS-148 is the account's
+ name when that account has since been deleted.
+- OPS-131 to OPS-136: who did what; `<address>` is the invited person's
+ address, `<account>` and `<name>` are account names.
+
+If a fact looks wrong or two rows conflict, flag it. Do not rewrite it.
+
+## Output
+
+Markdown, in this shape:
+
+1. A table of changes only: `ID | current | new | why` (a few words in why).
+ Leave unchanged rows out. "current" is the record's `text`.
+2. A list of flagged rows: `id | problem` (fact conflict, not human text,
+ placeholder unclear, scope question for Paul).
+3. A line for each changed row that has a condition, number or comparison in
+ it: `id | facts kept: yes`, or `no` with what moved.
+4. One line of counts: how many rows you changed, flagged and left alone.
+ The three add up to 153.