Skip to main content

disk_change_request_path_for

Function disk_change_request_path_for 

Source
pub fn disk_change_request_path_for(doc: &Path) -> Result<PathBuf>
Expand description

Compute <project_root>/.agent-doc/disk-change-requests/<hash>.json for a document. The controller watch daemon drops this marker when the file changed on disk out of band; the CPC/controller consumer reads it, reconciles the change into the canonical replica, and clears it (the marker + idle-poll cross-process signal, mirroring recycle-request).