feat: memory read path (#11459)

This commit is contained in:
jif-oai
2026-02-11 18:22:45 +00:00
committed by GitHub
parent 0697d43aba
commit d4b2c230f1
4 changed files with 100 additions and 24 deletions

View File

@@ -61,7 +61,7 @@ struct StageOneOutput {
_rollout_slug: Option<String>,
}
fn memory_root(codex_home: &Path) -> PathBuf {
pub fn memory_root(codex_home: &Path) -> PathBuf {
codex_home.join("memories")
}
@@ -77,6 +77,7 @@ async fn ensure_layout(root: &Path) -> std::io::Result<()> {
tokio::fs::create_dir_all(rollout_summaries_dir(root)).await
}
pub(crate) use prompts::build_memory_tool_developer_instructions;
/// Starts the memory startup pipeline for eligible root sessions.
///
/// This is the single entrypoint that `codex` uses to trigger memory startup.