Dashboard › opencode › Distillation
3be22ac8-3c2a-4001-bdee-a57552953927["lore_tm_v1_w6Gtw4EpPGJ6i6rQ6yxfqMFIUn_s7ToTZJujPzxA7Os"]
Date: Sep 14, 2026
/home/byk/Code/opencode/packages/core/test/session-runner.test.ts (3,466 total lines). A context assertion expects user text "Two blocks" followed by assistant content preserving two text blocks in order: { type: "text", id: "text-1", text: "First" } and { type: "text", id: "text-2", text: "Second" }.kind in fragmentKinds, /home/byk/Code/opencode/packages/core/test/session-runner.test.ts registers 3 regressions: 1. provider deltas are broadcast without storing projection rewrites via verifyEphemeralDeltas(kind); 2. partial fragments are durably closed when the provider stream fails via verifyPartialFlushOnFailure(kind); 3. partial fragments are durably closed when the provider stream is interrupted via verifyPartialFlushOnInterruption(kind)."rejects duplicate streamed text starts" feeds two consecutive LLMEvent.textStart({ id: "text-1" }) events and expects session.resume(sessionID) to defect with the exact message "Duplicate text start: text-1"."transitions streamed raw tool input to parsed called input" prompts "Call provider tool" with resume: false, then streams LLMEvent.stepStart({ index: 0 }), toolInputStart for ID "call-parsed" and tool "web_search", JSON delta '{"query":"hello"}', toolInputEnd, and toolCall with input: { query: "hello" } and providerExecuted: true. After session.resume(sessionID), context contains the user prompt and an assistant tool item with ID "call-parsed" whose state is { status: "error", input: { query: "hello" } }."rejects malformed streamed tool input ordering" supplies LLMEvent.toolInputDelta({ id: "call-1", name: "read", text: "{}" }) without a preceding start and expects session.resume(sessionID) to defect with the exact message "Tool input delta before start: call-1".