Dashboard › opencode-lore › Distillation
9440ff03-0709-4e13-9325-e3d7fb6462db["lore_tm_v1_Dj1EjvhMArZm0dFEuWOAy1H8YCys8hUrrzi_cKTZASM"]
Date: Sep 16, 2026
packages/gateway/src/pipeline.ts lines 8385–9203 showed strict Responses-stream lifecycle validation: events after response.output_item.done are rejected; duplicate identities and duplicate reasoning-summary completions are detected; function-call argument completion must match streamed arguments; response.output_item.done cannot change content type or finalized values; and terminal events cannot change response identity.callId and name, validates output-item/content indexes and statuses, and compares completed content against previously accumulated streamed state.lifecycle.terminal, checks that non-in_progress response status is lifecycle-consistent, and throws "Responses terminal event changed response identity" when the terminal response differs from the accumulated response identity.