pub fn detect_path(workspace: &Path, path: &Path) -> Result<DetectReport>Expand description
Detect how a path should be attached/imported as a SubBrain.
Agents should run this before import --as / attach to learn the id.
pub fn detect_path(workspace: &Path, path: &Path) -> Result<DetectReport>Detect how a path should be attached/imported as a SubBrain.
Agents should run this before import --as / attach to learn the id.