pub fn validate_workspace_assignment(
store: &ProjectStore,
session_project_id: Option<&ProjectId>,
requested_workspace: Option<&str>,
) -> Result<Option<PathBuf>, ProjectWorkspaceValidationError>Expand description
Resolve confinement before checking ownership, without mutating the global workspace registry or session metadata. HTTP creation paths must call this before any workspace/session side effect.