Skip to main content

SharedTranscript

Type Alias SharedTranscript 

Source
pub type SharedTranscript = Arc<Mutex<Vec<TurnRecord>>>;
Expand description

Shared, thread-safe transcript accumulator.

Why: The PM and engineer recorders run on the same tokio runtime and both append to one ordered transcript; an Arc<Mutex<…>> is the minimal shared sink that keeps turn order without global state. What: A type alias for the shared vector of TurnRecords. Test: Exercised by every run_task end-to-end test.

Aliased Type§

pub struct SharedTranscript { /* private fields */ }