openai/codex · error · anyhow::Error
removed {removed_symlinks} symbolic links from consolidated
Error message
removed {removed_symlinks} symbolic links from consolidated memory workspace What it means
Error "removed {removed_symlinks} symbolic links from consolidated memory workspace" thrown in openai/codex.
Source
Thrown at codex-rs/memories/write/src/workspace.rs:53
let path = root.join(crate::workspace_diff::FILENAME);
tokio::fs::write(&path, render_workspace_diff_file(diff))
.await
.with_context(|| format!("write memory workspace diff file {}", path.display()))
}
/// Marks the current memory root as the new baseline.
///
/// The generated diff file is removed before resetting the baseline so deleted memory content is
/// not retained in the prompt artifact or in unreachable git objects.
pub async fn reset_memory_workspace_baseline(root: &Path) -> anyhow::Result<()> {
remove_workspace_diff(root).await?;
reset_git_repository(root).await
}
/// Verifies that a completed consolidation run left the required memory artifacts in place.
pub async fn validate_consolidation_artifacts(root: &Path) -> anyhow::Result<()> {
let removed_symlinks = remove_memory_symlinks(root).await?;
anyhow::ensure!(
removed_symlinks == 0,
"removed {removed_symlinks} symbolic links from consolidated memory workspace"
);
let memory_path = root.join("MEMORY.md");
let memory_metadata = tokio::fs::metadata(&memory_path).await.with_context(|| {
format!(
"read consolidated memory artifact {}",
memory_path.display()
)
})?;
anyhow::ensure!(
memory_metadata.is_file(),
"consolidated memory artifact is not a file: {}",
memory_path.display()
);
let summary_path = root.join("memory_summary.md");View on GitHub (pinned to 339751715c)
When it happens
Trigger: Thrown at codex-rs/memories/write/src/workspace.rs:53 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of openai/codex@339751715c (2026-08-25).
Data as JSON: /api/errors/5f26f665e89874ce.
Report an issue: GitHub.