Repository source: docs/concepts/status_history.md
Status history
Purpose: Keep every change of a status check's level, so a later tool can replay what the annunciator showed at any moment.
Scenario: Tests turns from none to warning at 00:30. The next look at Tools or /tools/status.txt appends a block to state/logs/status_history.txt: Changed-At: 2026-12-01T00:31:12Z, Module: tests, Old-Level: none, New-Level: warning, Value: 3 failing. Unchanged modules add nothing. Over SSH, the operator reads the file as is.
Sources: history (source unavailable), recorded by Application::operatorStatusResults(), tests (source unavailable) (testHistoryKeepsOneBlockPerLevelChange, testAConcurrentRunSkipsInsteadOfAppendingTheSameChangeTwice).
Format: Key: value blocks, as in deploy_history.txt; never rotated. A module's first observation has Old-Level: -.
Comparison: status_history.last holds the last level per module and is rebuilt from the history when missing. Comparing and appending happen under a non-blocking lock on it; a run that finds it held skips, because the holder records the same state.
Gaps: levels change only when someone looks, so the history has gaps between views. A task worker check can close them later.
Privacy: state/ is outside the content repository, so the history never reaches an export or backup.