Dashboard › opencode › Distillation
cc099ba5-37be-44ea-82e0-2055a019cd7d["lore_tm_v1_6c7omCL-JK7a4JKWsXR4lRgzh6tUqH6b1Ath8q7qKrQ"]
Date: Sep 15, 2026
const Phase = Schema.Literals(["ready", "safe", "unknown", "continue"]), time-based claim handling via Clock.currentTimeMillis, and claim validation involving claim.assistant_message_id and the latest message ID.SessionRecoveryTable, synthetic recovery inputs, input.delivery !== "queue" validation, assistant-message type checks, and error logging through Effect.logError("Failed to redrive Session input", cause).pipe(Effect.annotateLogs({ sessionID })).packages/core/src/session/run-coordinator.ts was changed to retain completion state in entry.exit, read SessionExecutionTable.phase, promote recovery inputs with SessionInput.promoteExact(db, events, session.id, promotion.recoveryInputID, ...), and define terminalCommit: () => updateExecution({ phase: "safe", assistant_message_id: null }).if (!recovering && !input.force && !hasSteer && !hasQueue) return, replacing logic that directly assigned shouldRun from SessionInput.hasPending(db, input.sessionID, "queue").tool.state.status is "pending" or "running"; it also checks whether event.data.assistantMessageID === undefined.