Expand description
Write-path implementation for Codex memories.
This crate owns the startup memory pipeline, file-backed memory artifact helpers, Phase 1 and Phase 2 prompt rendering, extension pruning, and workspace diffing.
Modules§
Functions§
- build_
consolidation_ prompt - Builds the consolidation subagent prompt for a specific memory root.
- build_
stage_ one_ input_ message - Builds the stage-1 user message containing rollout metadata and content.
- clear_
memory_ roots_ contents - ensure_
layout - memory_
extensions_ root - memory_
root - prune_
old_ extension_ resources - raw_
memories_ file - rebuild_
raw_ memories_ file_ from_ memories - Rebuild
raw_memories.mdfrom DB-backed stage-1 outputs. - rollout_
summaries_ dir - rollout_
summary_ file_ stem - start_
memories_ startup_ task - Starts the asynchronous startup memory pipeline for an eligible root session.
- sync_
rollout_ summaries_ from_ memories - Syncs canonical rollout summary files from DB-backed stage-1 output rows.