pub fn cycle_state_path_for(doc: &Path) -> Result<Option<PathBuf>>Expand description
Compute <project_root>/.agent-doc/state/cycles/<hash>.json for a document.
Returns Ok(None) when doc cannot be canonicalized or no .agent-doc
project root exists.