Files
pipelines/android/app
alan 8411d47b29 android: colour every status from one palette
A successful stage read amber in the Timeline because a visit's chip was
coloured from the graph's outcome palette (`graphColors`/`outcomeColor`) while
every other surface used the run-status palette, so the same word meant two
colours. This makes `RunStatusPalette` the single source of truth:

- `RunState` gains the server's own `Waiting`/`Blocked`/`Skipped` words, each
  with a deliberate palette entry, a distinct material glyph and a label, so a
  status is never colour alone and success is green / failure red everywhere.
- `graphColors()` takes success/error from `runStateColor(Succeeded/Failed)`;
  `outcomeColor()` returns the shared status colour for any word that resolves
  to a `RunState` and leaves `GraphPalette` only the graph-only flow outcomes
  (`rejected`/`exhausted`/`retry`/`approved`/`fast`/`missing`; `blocked`/
  `skipped`/`done` removed). The Timeline's `TimelineRow` uses the same factory.
- A visit's *outcome* stays distinct from the run's *status* by the chip's own
  label and the row's state glyph, never a second colour.
- The runs-list failure diagnostic uses `runStateColor(Failed)` instead of a
  scheme role that could drift from the chip above it; the status filter gains
  `waiting`.

Tests: new `StatusColorConsistencyTest` (timeline colour comes from the runs-list
source; every state maps to exactly one colour) and extended `GraphPaletteTest`/
`RunStatusTest`. `gradle --offline --no-daemon :app:testDebugUnitTest
--rerun-tasks` -> 516 tests, 0 failures, 0 errors, 0 skipped.

Docs check: the root README and docs/ do not describe the Android status
colours; the packaged templates and internal/author/skill/references cover the
authoring surface and are unrelated, so nothing there needed updating.
android/README.md did enumerate the run states and claimed the graph outcome
palette was unchanged, so its features bullets were updated and a new "One status
colour everywhere" section added, with the old bullet marked superseded.

APK published to the run's artifacts as pipelines-debug-wip-d13f359.apk.

(cherry picked from commit a3caa734cd4769f42883b518d877dd0132ef57ae)
2026-10-18 00:00:31 +01:00
..