Dashboard › opencode › Distillation
e526b88c-c9e4-4859-8260-d4b9bca2b16f["lore_tm_v1_67wWLMjubR_ncU2-iQwvnbQ-nggYQShBBezdnLFbpy0","lore_tm_v1_j691VG0OGt6JwdJZ0Pe6oPkDlfYzliVK0LFhRZuD5WI","lore_tm_v1_LWkUt7ykyHXsRYTIaC30pt05S2hBesYO8Mfq6fNhLio"]
Date: Sep 16, 2026
/tmp/opencode/session-recovery-review.1VQHG0/packages/core/src/session/input.ts:498-531 defines promoteSteers(): selects unpromoted delivery="steer" inputs for sessionID with admitted_seq <= cutoff, excludes rows already used as SessionRecoveryTable.continuation_message_id, orders by ascending admitted_seq, and publishes all selected inputs./tmp/opencode/session-recovery-review.1VQHG0/packages/core/src/session/input.ts:533-559 defines promoteNextQueued(): selects the earliest unpromoted delivery="queue" input for sessionID, excludes recovery continuation inputs, and returns false if none exists or publishes the row and returns true./tmp/opencode/session-recovery-review.1VQHG0/packages/core/src/session/input.ts:561-599 defines promoteExact(): selects an exact unpromoted queued input by messageID and sessionID; absence dies with Pending recovery input not found: ${messageID}.promoteExact(), a RecoveryConflict raised during publish() updates SessionRecoveryTable.recovery_error only where execution_id matches, wake_pending=true, and recovery_error is null, then rethrows the defect; non-RecoveryConflict defects are rethrown unchanged.Recovery target is not the latest assistant: ${event.data.assistantMessageID} when it is not; recovery creates a prompt using Prompt.make({ text: "continue" }).