Dashboard › opencode › Distillation
d79499fd-a5a9-4ff9-8dd9-32dbdcaa8016["lore_tm_v1_23Q8i8otddZ4duEsP4aD78NdCM0AZAZ4QKuLxmzyRr8","lore_tm_v1_WedcmBwG3G6IHsE1-1ViDgmSAp1xm-sIYZaTz46Upbg"]
Date: Sep 15, 2026
/home/byk/Code/opencode/packages/core/src/event.ts found commitDurableEvent() runs durable projectors and the optional local commit hook inside the same database transaction as updates to EventSequenceTable and insertion into EventTable, using transaction behavior "immediate" and Effect.uninterruptible; durable pubsub notification occurs only after the transaction commits./home/byk/Code/opencode/packages/core/src/event.ts found replay idempotence for an existing sequence requires the stored event to have the same id, versioned event type, and deeply equal schema-encoded data; an exact match returns without rerunning projectors, while divergence raises InvalidDurableEventError with Replay diverged at aggregate ... sequence ..../home/byk/Code/opencode/packages/core/src/event.ts found durable event commit validates aggregate identity and sequence continuity, rejects duplicate event IDs at another aggregate/sequence, and can enforce replay ownership through ownerID and strictOwner./home/byk/Code/opencode/packages/core/src/session/message-updater.ts found the "session.next.prompt.admitted" handler is intentionally Effect.void, while prompted user messages are materialized separately with id, metadata, prompt text, files, agents, and creation timestamp.