fn is_memory_path(path: &str, memory_roots: &[PathBuf]) -> boolExpand description
Whether path is inside one of the memory directories.
The handoff turn writes memory itself. Counting those paths would displace the project files the successor needs, and counting their reads would measure the successor against the handoff’s own cost.