resolve_shared_transcripts_dir

Function resolve_shared_transcripts_dir 

Source
pub fn resolve_shared_transcripts_dir() -> Option<PathBuf>
Expand description

Resolve the GLOBAL <home>/shared/agents/transcripts/ directory.

Sibling of resolve_shared_registry_dir / resolve_shared_definitions_dir: the agent’s conversation transcript is the last per-channel agent surface (definitions, instances, workspaces, and auth all became global in #1387–#1396). Backing the agent:<defId>:current FileStore zone with a store rooted here makes a conversation load when you open the agent from any build/channel — the open path reads the same zone regardless of which channel wrote it. See docs/analysis/ANALYSIS_CROSS_CHANNEL_CONVERSATION_HISTORY_2026_06_14.md.

Returns None only if the global shared root can’t be resolved — caller treats this as “global transcripts disabled” and falls back to the per-channel store.