mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 13:08:27 +01:00
#379 moved new reaper explanations to payload.note and restyled the old ones. Checking the live card afterwards, the sentence was still there: "Reaped as timeout, but the repo shows work during the run window — corrected to partial (see evidence)" Restyling was the wrong fix. The complaint was never that the text was red — it is that the text is reaper vocabulary addressed to nobody, on a run that succeeded. Quieter jargon is still jargon. payload.error now renders only when run.state is error. That is safe by construction, not by assumption: every writer of that field sets state = error alongside it — closeRunUndelivered, and the reaper's timeout branch — so an error sitting on a non-failed run can only be the pre-2026-08-26 correction prose. Checked all four payload writers in the orchestration routes; none of them set an error without the state. Rows already in the database keep their data. Nothing is migrated or deleted; the card simply stops reading a field that, for those rows, holds a sentence written for whoever maintains the janitor. A non-failed run says what it has to say through `note`, which is human copy from EXECUTOR_COPY and carries a real evidence link. The test now asserts the absence of the restyle branch too, so the half-fix cannot come back as a "tidier" version of itself. npm run verify green. Co-authored-by: t <t@t.t> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>