const SETTLED_STATES: [&str; 5];Expand description
Workspace’s owned per-session state. One DomainSession per
active SessionTask. Single writer (the SessionTask); accessed
via Arc<parking_lot::Mutex<DomainSession>> so the Workspace
can route commands without locking the whole pool.
The lifecycle states that settle a queued row.
Written out rather than derived, and it has to agree with the client’s own
set (client/src/session/apply.ts): the core drops what the client drops.
A state neither names leaves the row standing on both sides, which is the
fail-safe direction - a pile that keeps a delivered prompt is visibly odd,
and one that empties on a word nobody reads is silently wrong.