Files
Cursor Agent 68b267e9a7 Fix provider event loss, streaming delta persistence, and branch sync dual-write
Bug 1: Buffer provider events arriving before session-thread association is
established. When a thread.session-set domain event fires, drain buffered
events for that sessionId so early events (turn/started, textDelta) are no
longer permanently dropped.

Bug 2: Add transient dispatch to OrchestrationEngine so streaming textDelta
events update the in-memory read model and notify subscribers without
persisting to SQLite. Accumulated text is persisted as a single event on
turn/completed, preventing unbounded event store growth and O(n) bootstrap
replay.

Bug 3: Clear the session in the server-side reducer when a thread.meta-updated
event changes worktreePath, aligning the server read model with the client's
SET_THREAD_BRANCH behavior and eliminating the flicker caused by the
dual-write inconsistency.
2026-02-22 09:30:51 +00:00
..
2026-02-19 21:54:10 -08:00