Repository source: docs/plans/operator_cockpit_checklist.md
Operator cockpit checklist
Tracks the operator cockpit epic: a cockpit-style Tools page that answers "does anything need me?" at a glance. Update it when a step is approved, a PR opens or merges, or the maintainer accepts a cycle. Design: mockups A–D (D is the target). First cycle: Step 1 (lists the epic), Step 4. Concepts: status check, status history.
Approver: the maintainer approves every step. No delegation.
Resume here
Next: the maintainer merges
cockpit_header_refreshand rechecks the phone panel, then checksstate/logs/status_history.txtand accepts item 1; then item 2 starts at Step 1.Waits on: the maintainer (merge, iPhone recheck, history file, acceptance).
Branch:
fix/cockpit_header_refresh(PR open). Each new item starts from a freshly fetchedorigin/main.Last session: 2026-12-01.
Items
MVP line: items 1–3 make the first usable release. Items 4–7 are candidates.
1. operator_cockpit (staged; estimate 0.80, retrospective 0.85)
Status checks, the two-row annunciator, /tools/status.txt, the header status and state/logs/status_history.txt, behind FORUM_OPERATOR_COCKPIT_ENABLED.
Follow-up one-shot
cockpit_copy_trim(record), from his first look on a local install: shorter text, stale test history unlit after 3 days, softer borders. PR #507 merged 2026-12-01; seen in prod 2026-12-01 (Tests "15 failing, 5 days ago" unlit).Follow-up one-shot
cockpit_prod_feedback(record), from his prod check: header status for operators only, "Advisory" instead of "To do", module names link to where to act (Keys drops "In User Access."), the phone panel stays on screen, Traffic lights while high-traffic mode is on, Deploy's limit 1000 ms. PR #510 merged 2026-12-01.Follow-up one-shot
cockpit_header_refresh(record): after a deploy the header still said the site was behind until a second reload (it reused the last check for a minute); it now checks fresh on every Tools page. The panel was see-through in themes with a translucent--panel(Arena: transparent), so the nav showed through; it now sits on the page colour. PR open.
1b. Header audience — settled 2026-12-01
His choice: operators only; the annunciator and /tools/status.txt stay public. Built in cockpit_prod_feedback (above), not as its own cycle.
2. cockpit_telemetry (staged; estimate unrated)
Four small charts on Tools as in mockup D: visits per hour (anonymous vs signed in), posts per hour, task queue by status, recent test runs. Each shows its query. Read public/assets/ and any existing chart code first; no new third-party library without the dependency approval in CONTRIBUTING.md.
3. cockpit_facts_log (staged; estimate unrated)
System facts (version, schema, rebuilt at, lock, stale marker, approved profiles), each value next to its label with its command and a Run button for read-only SQL; a flight log that merges deploys, rebuilds, test runs, key approvals and agent posts; the command palette. Reuse System status (templates/pages/codebase_state.php, OperatorStatusCollector) and the SQLite Viewer's query action.
4. cockpit_guarded_switches (staged; estimate unrated)
Rollback, Make root and Full import behind a "lift guard" step on Tools. All three exist elsewhere; this is placement and a second step, not new actions. Later candidate from conversation: a two-person rule (a second approved key confirms).
5. cockpit_flight_recorder (staged; estimate unrated)
A time scrubber over state/logs/status_history.txt: drag back and the annunciator and flight log show that moment. Item 1's history has gaps between views; a task worker check may be needed to fill them.
6. cockpit_runbooks (staged; estimate unrated)
A checklist behind each lit module, read from docs/runbooks/ (tests_failing_on_main.md, backup_overdue.md, deploy.md first), with tick boxes and each step's command.
7. cockpit_copilot (staged; estimate unrated)
A diagnosis written before the operator opens a lit module, with the command that found it, and a hand-off prompt plus a claim, built like the backlog Start prompts and the work claim. Needs decisions on where the copilot runs and what it may read.
Wording
No "master" anywhere: the header is the status, the mode row is Site mode. The todo level reads "Advisory".