//! Gateway-section post-parse helpers for the profile loader.
//!
//! Catalog resolution itself lives in
//! [`systemprompt_models::profile::GatewayConfigSpec::resolve`]; this
//! module only owns the route-id backfill that mutates the on-disk spec
//! before persistence.
use GatewayConfigSpec;
/// Synthesize stable ids for any route that was authored without one.
/// Returns `true` if any route was mutated and the spec should be
/// persisted back to disk.