Status check

Purpose: Answer "does anything need the operator?" at a glance, from sources the site already has, with the command behind every value. Scenario: With FORUM_OPERATOR_COCKPIT_ENABLED on, Ilya opens Tools. Above the launcher, the annunciator shows ten modules in two fixed rows: Site (Deploy, Rebuild, Tests, Worker, Backup) and Community (Keys, Reports, Staged, Fastmod, Traffic). Tests reads "1 failing" with a red Warning pill and SELECT last_status, COUNT(*) FROM test_run_results GROUP BY last_status; under it; everything else is quiet. On Board, his browser (it holds an operator key) shows "1 Warning" in the header; he opens it, reads why, follows a module's name to the page where he acts on it, or presses Mark seen, which leaves a red dot until the value changes. An agent reads the same status at /tools/status.txt. Sources: result and levels (source unavailable), check contract (source unavailable), runner and text form (source unavailable), module order (source unavailable), labels, links and icons (source unavailable), Site checks (Deploy (source unavailable), Rebuild (source unavailable), Tests (source unavailable), Worker (source unavailable)), Community rules (source unavailable) and their wiring in Application::operatorCommunityChecks(), annunciator (source unavailable), header status (source unavailable) and its script (source unavailable), tests (source unavailable), browser check (source unavailable), plans.

Levels: warning (failing), caution (degrading) and todo (shown as Advisory: waiting for the operator, or a mode he should know is on) light a module; none, off (feature turned off), nosource ("no source yet") and failed ("check failed", with Details) stay unlit. The header and top= show the most serious lit level and how many modules share it. Rules: Deploy is advisory when the checkout is behind origin/main as of the last fetch (it reads AppUpdate::inspect() and never fetches). Rebuild is caution while the read model is not ready and warning when its rebuild task failed; Worker is warning when tasks wait and the worker isn't seen, caution when tasks failed (both from OperatorStatusCollector). Tests is warning while any test's latest recorded result is a failure; history older than three days is stale and stays unlit with its age ("2 failing, 9 days ago"); no history, no source. Backup has no source: archives are built on download. Keys, Reports and Staged are advisory while something waits; Fastmod is caution above 200 pending; Traffic shows visits and is advisory while high-traffic mode is on ("high traffic on", linked to Operations). Copy: a reason says only what the value doesn't, and cuts off at three lines (full text on hover). It never says where to act: a module's name links there (link= in the text form), in the annunciator and the header panel. Limits: each check has a 250 ms limit (Deploy 1000 ms: its first git call after an idle spell took 333 ms on zenmemes.com) and its own error catch; a slow or broken check reads "check failed" and the rest still render. A store that doesn't exist yet is never created. The annunciator is server HTML and works without JavaScript; the header status needs it and stays hidden without. Everyone can read the annunciator and /tools/status.txt; sources show repository-relative commands only. Header: operators only. Each page lists the active operators' fingerprints (public, as on Users › Waiting); a browser whose saved key is not among them never shows the status or fetches it. Filled before paint from this browser's last check, refreshed at most once a minute from /tools/status.txt, and on every Tools page, where operators act (after a deploy, the deploy page reloads within the minute). "Seen" is per browser and keyed to each lit module's level and value, so any change brings the pill back.