Dashboard › opencode-lore › Distillation
0bd74f60-4d17-43dd-8962-41b13020bbd2["lore_tm_v1_Gy1M4X-aRQ9zZ1J7DgDP5WdydfxGsbu7ovcUdOwZUQM"]
Date: September 16, 2026
packages/gateway/src/pipeline.ts:10400-10401, this is implemented with applyResponsesEvent(state, event, parsed).item_reference lifecycle events; the regression test is named test("never forwards response-side item_reference lifecycle events", async () => {.disableRecall matches: packages/gateway/test/recall.test.ts lines 825, 853, 865, 932, 1011, 1028, 1067, 1092, 1113, 1162, 1195, 1215, 1229, 1249; packages/gateway/src/recall.ts:1324; packages/gateway/src/translate/types.ts:234; packages/gateway/src/translate/openai.ts:734; packages/gateway/src/translate/openai-responses.ts:946,1037,1124; packages/gateway/src/translate/gemini.ts:369,394,396; and packages/gateway/src/translate/anthropic.ts:495,527,530.main: shared follow-up requests set disableRecall, and all four protocol translators enforce it.retainedStateBytes > maxRetainedStateBytes; the accepted event remains authoritative even when it trips the limit.principal_resource_limit, including expected log text openai-responses recall-aware stream failed category=principal_resource_limit.packages/gateway/src/pipeline.ts imports cloneResponsesAccState and validateResponsesSourceSequence, introduces rollbackPendingPrincipalTerminal, snapshots terminal state through terminalRecallSnapshot, restores recallDetected, unresolved tool-byte state, and lifecycle state, and tracks provider failures through providerFailureTerminal and providerFailureSeen.packages/gateway/src/recall.ts: coupled runRecallRecovery(), which builds the recovery clone and dispatches through the same strict JSON or accumulated-SSE executors as normal follow-ups. A direct recovery-forwarding prototype was rejected because it accepted mislabeled JSON when Codex requested SSE, weakening the stream/consumer invariant./home/byk/.local/share/opencode/tool-output/tool_0ac341f9b001lrGOa3x0FHT0qa.120000 ms timeout and was terminated.edit β other:could-not-find-oldstring 113 times across 45 sessions; plan_exit β other:the-user-dismissed-this 48 times across 39 sessions; read β not_found 40 times across 34 sessions; webfetch β other:statuscode-non-xx-status 69 times across 22 sessions; and bash β aborted 20 times across 16 sessions.