Dashboard › opencode-lore › Distillation
de39d7d6-9244-418f-9f8e-606ffe661d96["lore_tm_v1_8CIdwpEG-AL-oBImXmSfnvDkHfCunMIEqdNaqSiKOPo","lore_tm_v1_SnKiHRyMEH7r0sxMUHMKS2KER5idZeSZpc9r0-1cfUo","lore_tm_v1_2gTBPARLjwUbeUyqWWq727zdzv6Pw_MuKfDQYS8CyCQ"]
Date: Sep 16, 2026
item_reference lifecycle events never be forwarded.packages/gateway/test/openai-responses-recall-aware-stream.test.ts already contains test "never forwards response-side item_reference lifecycle events" at line 1978; it asserts streamed output and completedResponse contain no item_reference."rejects an item_reference missing output_item.done" at line 2022, "redacts a sparse call replaced by a terminal item reference" at line 2775, "rejects reuse of an item_reference output index" at line 3793, "rejects reuse of an item_reference index in a continuation" at line 4203, "rejects reference identities reused by later output items" at line 4602, and "rejects reference identities colliding with synthetic markers" at line 4639.postResponse before suppression or other handling.packages/gateway/src/pipeline.ts calls applyResponsesEvent(state, event, parsed) around lines 10235–10236 under the explicit invariant comment: Always accumulate into the internal state for postResponse.