pub(crate) fn preflight_database_discovery(
db: &Path,
config_path: Option<&Path>,
isolated_binding: bool,
) -> Result<Option<ProjectStateGuard>, CliError>Expand description
Admit root discovery using selection available before SQLite metadata reads.
Explicit startup storage outside a known selected namespace is an isolated operator binding. Its basename alone does not grant automatic ownership.