pub fn write_memory_tiered(
project_dir: &Path,
global_dir: Option<&Path>,
name: &str,
content: &str,
) -> Result<MemoryTier>Expand description
Write content to a memory file, resolving the tier automatically.
Records an audit event via recorder when provided.