pub fn scope_for_cwd(workspace: &Path, cwd: &Path) -> Option<String>
If cwd sits under a SubBrain root of workspace, return that scope id.
cwd
workspace
Returns None for single mode, workspace root CWD, or paths that only match MainBrain.
None