Expand description
Cross-channel transcript singleton + block-meta zone resolution.
Statics§
- GLOBAL_
TRANSCRIPT_ 🔒STORE - Process-global handle to the GLOBAL transcript FileStore (the one rooted at
<shared>/agents/transcripts, opened once inmain.rs). Backs theagent:<defId>:currentzone so a conversation loads when the agent is opened from any build/channel — finishing the cross-channel arc (#1387–#1396).Noneuntilset_global_transcript_storeruns (or never, in unit tests / when the shared root can’t be resolved), in which case the hot-path mirror is a no-op and reads fall back to the per-channel store.
Functions§
- agent_
zone_ for_ block_ meta - Resolve the agent’s GLOBAL
agent:<defId>:currentzone from a block’s meta. - global_
transcript_ store - Borrow the global transcript store, if installed.
- set_
global_ transcript_ store - Install the global transcript store. Called once at startup from
bootstrap/stores.rs. Idempotent — a second call is ignored (the first store wins).