MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / ensure_transcript_dir

Function ensure_transcript_dir

src/agent/transcript.py:319–326  ·  view source on GitHub ↗

Create (if needed) and return the transcripts root path. Exposed so future Phase-11 GC / rotation logic has a stable target to walk; today's writers also call ``_transcripts_root`` indirectly through ``get_agent_transcript_path``.

()

Source from the content-addressed store, hash-verified

317
318
319def ensure_transcript_dir() -> str:
320 """Create (if needed) and return the transcripts root path.
321
322 Exposed so future Phase-11 GC / rotation logic has a stable target
323 to walk; today's writers also call ``_transcripts_root`` indirectly
324 through ``get_agent_transcript_path``.
325 """
326 return str(_transcripts_root())
327
328
329__all__ = [

Calls 1

_transcripts_rootFunction · 0.85