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.