//! Daemon-owned session model + attach/detach protocol (#2054, vision spec
//! Axiom 4 / §4.3-4.4 / §12).
//!
//! Why: "The Daemon OWNS Sessions; CLI Attaches Over the API" — a running
//! session is a first-class object living inside `tcode serve`, not a tmux
//! pane the CLI scrapes. This module is the whole vertical slice: the
//! domain type, its in-memory registry + ring buffer + attach bookkeeping,
//! and the `session.*` JSON-RPC methods built on top of the existing
//! `crate::jsonrpc::Router` — reachable identically over STDIO and HTTP
//! (`crate::serve`), reusing the SAME method surface both transports
//! dispatch through.
//! What: [`model::Session`]/[`model::SessionStatus`] (the domain type),
//! [`registry::SessionRegistry`] (storage + ring buffer + attach/detach +,
//! since #2056, execution tracking), [`transcript::TranscriptRecord`]
//! (#2058's `session.get_transcript` response DTO), and [`protocol::register`]
//! (wires `session.create`/`list`/`status`/`send`/`attach`/`detach`/`cancel`/
//! `get_transcript` onto a `Router`).
//! Test: `model::tests::*`, `registry::registry_tests::*`,
//! `protocol::tests::*`; end-to-end over the real daemon in
//! `tests/session_e2e.rs` and (#2058) `tests/task_e2e.rs`.
pub use ;
pub use SessionRegistry;
pub use TranscriptRecord;