ecluse
Safe HaskellNone
LanguageGHC2021

Ecluse.CheckConfig

Description

ecluse check-config: run the boot's config-decidable tier and print the resolved posture, without starting anything. It runs resolveBootPlan once for its own pass and once per other boot role, and prints the plan's lines, applying none of it: no socket opens, no capability count changes, no re-exec, no cloud call. It predicts the posture from appliedRuntimePlan, because the checker's own process posture is not the boot's. It exits 0 on a valid configuration and 2 where its own pass refuses, and a refusal only some roles earn prints as a warning naming the command that earns it.

Synopsis

Documentation

runCheckConfig :: IO () Source #

Validate the configuration and print the resolved posture. A valid configuration returns (exit 0) and a refused one aborts (exit 2).