Dashboard › opencode-lore › Distillation
852ad909-7a5e-4145-9276-8d3484f1a73c["lore_tm_v1_NkJ_unOXGeDNMMrcmH7z6C-QC5WDTw0fQfElU1GJi6I"]
Date: Sep 16, 2026
packages/gateway/src/pipeline.ts around lines 10145–10163: changed forwardedVisibleOutputIndices from Set<number> to Map<number, number> so each forwarded principal source index retains its visible index.wouldReindexForwardedOutput(newlyPrivateIndex) with assertForwardedProjectionStable(). The new assertion computes visibleOutputIndexMap() and throws when any recorded [sourceIndex, visibleIndex] no longer agrees with the current projection, protecting already-forwarded output from later reindexing.enqueueProjectedPrincipal helper in packages/gateway/src/pipeline.ts; principal-event forwarding paths were updated to call this helper, including a guarded call around line 10400.RecallContinuationFailure("parallel_recall") path around line 10518 and continues resetting recallDetected = false around line 11718.packages/gateway/test/openai-responses-recall-aware-stream.test.ts around lines 5829–5877 with a regression scenario containing visible text "already visible" and a follow-up callback that throws "must not run follow-up"; the existing test "fails closed when a lower-index recall follows visible output" moved to begin around line 5878.