pi-mono/packages/durable/docs
Mario Zechner 89e5c2c075 fix(durable): fail a run whose blocking compaction failed; keep compaction failures visible
A generation waiting on a blocking threshold compaction sent its request
whatever the outcome. When summarization failed, the context was still above
the blocking threshold: a session at 996K of a 1M window got an empty length
answer on every turn and nothing showed the error. The generation now fails
with model_error (Compaction failed: <error>) when its compaction failed,
faulted, was orphaned, or was aborted directly; a compaction that found
nothing to compact or was declined still lets the request go ahead.

pi.live.compactionFailure keeps the newest failure (task, reason, error)
until a compaction produces a summary. The agent events' snapshot carries it,
and compaction_end carries error for a failed compaction.
2026-10-11 15:45:13 +00:00
..
chord-delta-findings.md feat(chord): make immutable delta tracker canonical 2026-09-24 15:07:12 +02:00
pico-v5-chord-usage.md fix(durable): publish README and changelog, link the spec, add default export condition 2026-10-01 20:23:30 +02:00
pico-v5-handoff.md fix(durable): publish README and changelog, link the spec, add default export condition 2026-10-01 20:23:30 +02:00
spec.md fix(durable): fail a run whose blocking compaction failed; keep compaction failures visible 2026-10-11 15:45:13 +00:00