Files
loki/scripts
GandClaude Opus 4.8 05c57b3208 feat(control): capture per-run commit SHA — truthful "did it ship?" state (#4)
Run outcomes recorded status/done/tests/health but never the commit a run
produced, so a self-reported "done" with no git trace looked identical to one
that actually landed code. Add `commit` to the orchestration summary contract
(SSOT), parse it from both the on-disk handoff and the finish API, and ask the
agent to emit `git rev-parse --short HEAD` in its handoff. The Previous-run
panel now shows the SHA, and flags a finished+done run that recorded no commit
with a "no commit" warning chip — surfacing the untruthful-state failure mode
the control loop must catch instead of trust.

Summary is JSONB, so no schema migration. block-reason/no-op-count remain
dropped by the two hand-written summary literals (separate follow-up).

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 10:14:02 +02:00
..