A turn is the assistant steps that follow a user message up to the next user message, so a steer is its own turn. That is fully derivable from session_message, so the session_turn projection, its migration, the turn list route, and the Session.Turn contract go away. session.diff takes messageID (default: newest user message) plus an optional to for contiguous ranges, resolves the range's Location from location-switched messages, and only compares against the working copy while the Session is actively executing. Shared missingMessage and failedSnapshot handler helpers replace the inlined mappings.
Replace the vcs.diff?mode=turn source and TUI picker with session routes: GET /api/session/:id/turn lists turns (one busy period each, projected into a new session_turn table because durable event persistence is opt-in) and GET /api/session/:id/diff diffs a contiguous turn range from its first recorded start snapshot to its last recorded end snapshot.
Extend vcs.diff with mode=turn, which diffs the files changed by a session's last turn from the per-step snapshots: the first step's start tree against the last step's end tree, or the working copy while that step still runs. Vcs.Mode stays the VCS backend contract; the wider Vcs.DiffSource is route-only and the server dispatches turn to Session.turnDiff instead of the VCS provider.
Run user shell commands concurrently with model execution, retain their output in one shell entry, and admit non-waking completion messages. Share result capture and notification formatting across shell callers.
Buffer bulk history privately and publish once with a bounded head window. Preserve pending anchor compensation while ensuring newer navigation cancels obsolete Home work. Add atomic-loading and real-App navigation regressions.
Render queued compaction feedback before model setup, coalesce repeated gestures, and reconcile canonical admissions without restoring consumed rows. Serialize prompt and compaction preparation through the existing per-session admission chain.
Merge session status changes received during activity hydration and ignore superseded reconnect responses. Cover terminal events, starts, deletion, and overlapping connections so idle sessions do not regain stale TUI spinners.