//! Resolve the base URL for **data-plane** requests — verify session
//! dispatch and canon match — from `ARETTA_API_URL` (env) > the
//! project's `aristo.toml` `[instance] url` > the signed-in account
//! server. The precedence itself lives in
//! [`aristo_core::auth::data_plane_base`]; this wrapper only gathers
//! the impure inputs (the real env var + the nearest workspace's
//! config) and delegates.
use ;
use crateWorkspace;
/// Base URL for verify/canon data-plane requests, given the signed-in
/// account `server` (from resolved credentials).
///
/// Reads `ARETTA_API_URL` and the nearest `aristo.toml`'s
/// `[instance] url` best-effort: a command run outside a workspace (or
/// with a malformed config) still resolves via env + `server`, so this
/// never fails. `ARETTA_API_URL` and `[instance] url` take precedence
/// over `server`, so a repo (or CI) can target a per-repo conductor
/// without re-authenticating.
pub