carlos / platform Public

operator-pages

Operator pages (/fleet) in the Rastrillo design system. Plan: docs/superpowers/plans/2026-10-25-operator-pages.md; spec Part 3 of docs/superpowers/specs/2026-10-25-console-ux-perf-design.md. Customer console pages do not change design (Paul, 2026-10-25).

What changed

  • Rastrillo v0.29.0 copied in (tokens, day theme, shell, rastrillo.js, anchor.js, LICENSE), served at content-hashed /static URLs; an operator shell with rail, account menu and a phone index at /fleet/index.
  • /fleet is a dashboard: attention callout, stats band, 30-day new-people chart, newest people, latest activity, boxes, background jobs. Today's /fleet content moved to /fleet/boxes.
  • New pages: People and accounts (/fleet/people), Activity (/fleet/activity). Metrics, Storage requests, Economics (and Accounts) and Architecture moved into the shell, strings verbatim.
  • Console store: users.last_seen (written at most hourly), operator indexes, account-level audit rows, operator reads.
  • Every background worker reports runs to an in-process job registry; swallowed failures mark a run Failed; panics in a pass or a mail delivery goroutine are recovered. The alert watcher keeps an in-process projection of what is firing.

Decisions

  • No cache on operator pages: /fleet and /fleet/boxes read fleet.json and the box reports once per view (8 S3 requests) and keep honest over: records. The SQLite-only pages answer in 1 to 4 ms with no remote reads.
  • Task 6A (claim gate) and Task 13 (deferred parts) removed: claims shelved, perf plan 2 cancelled.
  • Unreadable or incomplete box reports are never all-clear (new copy row OPS-154, Luna-checked).

Reviews

  • Per-task Astra reviews: Tasks 4, 5, 7+7A, 8, 9, 10, 11, 12; fixes and rulings in .superpowers progress.
  • Whole-branch Astra review: round 1 NOT READY (1 P1, 3 P2: docs/superpowers/reviews/CODEX-FINDINGS-operator-pages-r1.md), fixed in 357d78ef; round 2 READY, no new findings.
  • Census: make census-card names nothing (console-only scope, C2).
  • Screenshots: 11 pages at 1280 and 390, light and dark, reviewed against the mockup.

Follow-ups (P3)

  • jobPassFuncs log census misses logs in switch cases and accepts conditional jobFailed.
  • Economics selector test checks tokens, not whole selectors.
  • Moved pages keep their em dashes and "1 pending applications" for a later copy pass.
  • TestClaimConsoleMutationInvariant scan probe returned pending once under load; passed on rerun.
Human

Operator /fleet pages on the Rastrillo design system (spec Part 3, mockup approved by Paul 2026-10-25): console shell, dashboard (people, activity, boxes, jobs, needs attention), people/accounts, activity, boxes, and the existing operator pages moved into the shell.

Commits 35
Discussions 0 0 open
Tasks 17/17 done

Discussions

  • No discussions on this branch yet.

Tasks 17/17 done

  • fleet Task 1: Copy record and Luna pass Done
  • fleet Task 2: Rastrillo v0.29.0 copied in, served at hashed URLs Done
  • fleet Task 3: The operator shell, its partials, the phone index; Storage requests moved in Done
  • fleet Task 4: Console store: last seen, audit indexes, operator reads Done
  • fleet Task 5: Last seen, at most once an hour per person Done

Activity