Dashboard › opencode › Distillation
831dd84a-0a9e-4ca6-88eb-6ba07557ef41["lore_tm_v1_qPSJRwSJrHipNr2gCJ1Jzb0FFEkMAzJO4k_opmIM-_k","lore_tm_v1_i8429qsbq9v-ikvQjvSnCdLxF3bzbYrwjZgr7ATSUDg","lore_tm_v1_XTzRjyhoKrXWDFnL616yneA2PZQbVAoSvLP6ovuWBdQ","lore_tm_v1_Z5rvKGT2IAPbUyemvdxxdLm0ozUN_2KUmmhUTgdJWyY","lore_tm_v1_pKLppfTuAgoQ0FO9tAC_w9H1e4gnU8yYcPaDY-n2iBo","lore_tm_v1_mZWVA3lhDeUFzvELSP3UrxffrWpZo9be8eB38RHUqFI","lore_tm_v1_ZO0ZqGVnx5n8AQxcLKyrnToWGh7WOaDw88CZzbU8fnY","lore_tm_v1_cp3qUqpeA38YhHRnw2wbuAZUvk1nY_jDvtogFQOPM40"]
Date: Sep 16, 2026
/tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts:752./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts:778./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts:805./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts:845./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts:1975./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts:1996-2006 uses SQLite trigger fail_hosted_tool_reconciliation to force a defect during hosted-tool reconciliation and drops it in an Effect.ensuring(...) finalizer./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts:2049-2082 covers keeping a running assistant recoverable when Step-failure publication defects, using trigger fail_step_failure_publication with error text crash before Step failure publication./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts:2085-2119 covers durable reconciliation of a local tool when success publication defects, using trigger fail_tool_success_publication./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts:2124-2141 verifies a provider defect after Step finish leaves SessionExecutionTable.phase equal to "unknown"./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts:2147-2191 covers keeping provider failure unknown until unresolved tools are durable; trigger failure text is crash before provider tool reconciliation, and the hosted web_search tool remains represented with state.status: "running" at the defect boundary./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts includes: provider error before result at lines 4194-4222, normal provider EOF at lines 4225-4254, and raw provider stream failure at lines 4257-4291./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts:4194-4222, provider-executed web_search call call-hosted-provider-error receives LLMEvent.providerError({ message: "Provider unavailable" }) and is projected durably with state.status: "error"./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts:4225-4254, unresolved provider-executed web_search call call-hosted-eof becomes an assistant error with finish: "error" and message Provider Step ended without settlement; the tool becomes state.status: "error" and SessionExecutionTable is cleared./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts:4257-4291, unresolved provider-executed web_search call call-hosted-raw-failure is durably projected as state.status: "error" with assistant error message Provider unavailable, while session.resume(sessionID) returns the original failure./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts:4294-4327 verifies interleaved text blocks remain separate: text-1 contains First and text-2 contains Second./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts:4330-4339 parameterizes fragmentKinds tests to broadcast provider deltas without storing projection rewrites and to durably close partial fragments on provider-stream failure or interruption; line 4342 begins coverage rejecting duplicate streamed text starts./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts include: synthetic recovery redrive at line 619; clearing durable execution intent after ordinary-input promotion at 688; redriving ordinary prompts after lost advisory wakes at 715; globally attached application tools at 902; chronological V2 history and registry definitions at 977; retry after system context availability at 1002; Location-move interruption at 1034; undecodable context-snapshot handling at 1060; durable-baseline reuse at 1085; default/selected agent-system handling at 1119, 1140, and 1167; agent/model sampling consistency at 1225 and 1257; chronological System-message handling at 1285 and 1306; baseline preservation/rebuild at 1351 and 1383; compaction behavior at 1422, 1495, 1542, 1596, and 1628; and context-overflow handling at 1657, 1686, 1709, 1737, 1757, and 1782./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts include: projection without executing tools at line 1819; continuation after one durably settled local tool at 1917; no Step-end commit after stream failure at 2027; continuation recovery after settled tool steps at 2195; model-switch reload at 2260; durable reasoning metadata restoration at 2305; inline replay of provider-executed results at 2362; eager local-tool starts with settlement awaited at 2417; repeated call-ID ownership at 2478; joining concurrent resumes at 2566; active-turn steering at 2605; queued-input promotion and durability at 2648, 2695, 2781, 2824, and 3151; steering durability and priority at 2738, 2858, 2923, and 2963; and durable failure of stale local, hosted, and pending-input tools at 2992, 3052, and 3112./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner.test.ts include: rollback retry at line 3171; surviving a post-commit listener defect at 3197; concurrent sessions at 3219; session and parent-session correlation headers at 3251 and 3267; bounded 64-character cache keys at 3288; failed-run fan-out and later retry at 3318; durable local-tool failure at 3349; returning unexpected defects and policy blocks to the model at 3395 and 3443; permission-decline interruption/claim retention/correction handling at 3492, 3548, and 3606; dismissed-question interruption at 3655; awaiting started tools before surfacing stream failure at 3711; not marking a failed Step safe while sibling finalizers run at 3745; interrupted blocked-tool reconciliation and claim retention at 3802, 3863, 3918, and 3941; final-step forced text at 3982; step-allowance reset after steering at 4030; and provider-error projection and non-recovery behavior at 4082, 4104, 4123, 4152, and 4169./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner-tool-events.test.ts:92-113 verifies local-tool media success serializes base64 exactly once, omits the compatibility result, and retains structured text/file content for pixel.png with MIME type image/png./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner-tool-events.test.ts:115-121 verifies provider-executed tool success retains its compatibility result./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner-tool-events.test.ts:123-137 verifies a binary error Cannot read binary file emits no session.next.tool.success.1 event and does emit session.next.tool.failed.1./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner-tool-events.test.ts:139-166 verifies old SessionEvent.Tool.Success.data containing result still decodes./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner-tool-events.test.ts:168-175 verifies LLMEvent.stepFinish({ index: 0, reason: "stop" }) records publisher.stepSettlement() as { finish: "stop" } without directly publishing session.next.step.ended.2./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner-recorded.test.ts:41-69 uses cassette session-runner/openai-chat-streams-text, records only when RECORD === "true", targets https://api.openai.com/v1, authenticates from OPENAI_API_KEY with fallback "fixture", and configures model gpt-4o-mini with maxTokens: 20 and temperature: 0./tmp/opencode/session-recovery-v7-check/packages/core/test/session-runner-recorded.test.ts:131-186 records prompt Say hello in one short sentence., expects assistant text Hello!, and asserts this exact durable event order: 1. session.next.prompt.admitted.1, 2. session.next.prompted.1, 3. session.next.step.started.1, 4. session.next.text.started.1, 5. session.next.text.ended.1, 6. session.next.step.ended.2./tmp/opencode/session-recovery-v7-check/packages/core/test/session-prompt.test.ts:19 imports SessionRecovery; line 147 defines coverage that execution continuation delegates through SessionExecution./tmp/opencode/session-recovery-v7-check/packages/core/test/session-projector.test.ts:432 includes continuation_message_id: continuation("lost-wake") in projector coverage.