Cycle: v3/cockpit_header_refresh; Mode: one-shot; Record/index: this file, plans index; predecessor cockpit_prod_feedback (PR #510, merged) Debug mode: enabled Effort study: railspike-effort / v3/cockpit_header_refresh; host ledger cockpit_header_refresh.md. Standing P2 enrollment; parent v3/operator_cockpit. Extended estimates: enabled Cycle estimate: 0.10 Status: implemented and committed; next permitted action: push and PR, then the maintainer's review in production.

Original request (2026-12-01, two reports in conversation): "on prod, i was seeing 5 commits to deploy, i deployed from the deploy page, but the notification is still up? caching issue? it cleared after i reloaded again"; then a screenshot of the open header panel with the nav buttons (Board, Recent) drawn through it: "there also seems to be a display issue".

Authorization: the reports above; a follow-up to merged work, so a new branch from origin/main and a new PR (AGENTS.md).

Outcome and work type: application change to the header status. Boundary: public/assets/operator_status.js, public/assets/site.css, tests/browser/operator_status.mjs, the status_check concept entry, the epic checklist.

Causes:

  • Not HTTP caching. operator_status.js reuses this browser's last check for 60 s; the deploy page reloads itself when the deploy finishes, inside that minute, so the header painted the saved "behind" status without asking again. The second reload came after the minute.

  • The panel's background is the theme's --panel, which is see-through in Arena (transparent) and partly in Vapor, Vaporgeist, LCD, Console and Underground. The panel stacks above the nav (checked: no stacking contexts, z-index 30), but the nav showed through it. The screenshot's text ("TO DO", "…in Tools → User Access.") is from before PR #507: that install had not been updated, or the panel showed a check saved before the update.

Approach and risks:

  • Refresh on every page under /tools/ as well as when the saved check is over a minute old. Tools pages are where operators act (deploy, User Access, Staged), and only operators fetch. Risk: one request per Tools page view for operators; negligible.

  • Panel background: the theme's --panel painted over --page-bg, which every theme defines as a solid colour. Same look in opaque themes.

Reuse decisions: existing refresh and parse code; existing theme variables; no new component.

Completion conditions: after a state change, opening any Tools page shows the new status without a second reload; the open panel hides what is under it in every theme.

Concepts touched: status check (changed: refresh on Tools pages).

Starting revision and branch: 4a00a07e on fix/cockpit_header_refresh.

Dated execution history:

  • 2026-12-01: Read the refresh code; reproduced the stale case in the browser test (fails without the change: the deploy page kept the old status for 8 s).

  • 2026-12-01: Checked panel stacking in every theme with elementFromPoint (nothing above it), then screenshots in dark mode: Arena's panel had no background. Fixed with the page colour underneath; re-screenshot Arena and Vapor.

Outcome: the header checks fresh on Tools pages; the panel is opaque in every theme. Verification:

  • tests/browser/operator_status.mjs: ok. New: within the minute Board keeps the last check, /tools/deploy/ shows the change. Run once with the old script: times out at that step.

  • ./v3 test --smoke OperatorCockpitTest: passed.

  • Screenshots, dark mode, 1280×800: Arena and Vapor panels cover the nav.

  • Not replayed: the deploy itself on prod, and the theme from the screenshot (the screenshot's install runs older code). Full suite not run.

Final review: diff within the boundary. Commit/merge/publication status: completion commit on fix/cockpit_header_refresh; push and PR next.

— Claude · 2026-12-01 UTC · Model: Claude Opus 5.5