pub fn document_state_hash(doc: &Path) -> Result<String>
Compute the SHA-256 hex hash used to key per-document state sidecars.