Dashboard › opencode-lore › Distillation
9a552a25-34af-4211-8952-b7487a075a46["lore_tm_v1_2E3Vbq6t-5BhT2FXX8OBlXGzDWLsmfb4adiajsWKNn0"]
Date: September 16, 2026
packages/gateway/src/pipeline.ts inspection covered response.output_item.done validation for function calls, including requiring function identity and throwing Responses output_item.done missing function identity for index ${outputIndex}.contentState.partAdded is true but contentState.partDone is false; completed content is reconciled using partValue(...).response.status, requires terminal status values to be strings contained in terminalStatuses, validates optional terminal details, and then sets lifecycle.terminal = true.raw?.type === "reasoning" and tracked lifecycle.reasoning state exists; it validates raw summary parts and checks completion conditions involving summaryState.partDone."Responses terminal output changed streamed item" when a terminal item differs from its streamed form.matchIndex !== expectedIndex, while reasoning items can be rebuilt with { ...actual, summary: completedSummary } and retained via preserveStreamedReasoning(acc, outputIndex).response.output_item.added, recognizes identities in syntheticIdentities, and checks whether an item has fields beyond "type" and "id" using Object.keys(item).some((key) => key !== "type" && key !== "id").opts.validation !== "codex" and public-only behavior guarded by opts.validation === "public".