pub fn preflight(
manifest: &AddonManifest,
addons: &AddonsConfig,
force: bool,
) -> Result<GatewayServer, String>Expand description
Pure pre-persist gate shared by install and the CLI. Runs every check
that can reject an addon before anything is wired or any health probe
spawns a process — validation, runnable endpoint, kill-switch, the org
install policy, and the capability-coherence gate (#1080) — and returns the
resolved GatewayServer so the caller can reuse it. Pure + deterministic.