Dashboardopencode-loreSessionV2 durable execution and monoton…

SessionV2 durable execution and monotonic state

Category: architecture
Confidence: 1.00
ID: 01a0a9ba-fd5c-7211-938b-7c57f6b86bf9
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 1
Source session: 0NovFAan78Rde0KPN
Created: 2026-08-20 20:40:48
Updated: 2026-09-16 10:19:59

Cross-Project Recalls

ProjectHitsLast recalled
cli 1 7d ago

Content

SessionV2.prompt() durably admits exactly one session_input row before advisory SessionExecution.wake(sessionID); resume:false is admit-only. The serialized runner promotes inbox rows into visible user messages and makes one explicit llm.stream(request) call per provider turn after reloading projected history; never bridge through legacy SessionPrompt.loop(...). Preserve project isolation and persist matching, parent-child, replay, and stable session identity so restarts do not change behavior. Session-state writes must reject or ignore stale turn completions rather than use last-writer-wins; identity must not depend on counters or timestamps. Keep frozen prompt/LTM bytes and persisted delta positions cache-stable, bound or coalesce updates, and safely default malformed persisted values.

Move to: