pub async fn cmd_exec(
repo: PathBuf,
file: PathBuf,
options: ExecOptions,
) -> Result<i32>Expand description
kranz exec -f <mission.md> [--repo <path>] [--yes] [--max-cycles N] [--enqueue] [--allow-unvalidated].
--yes is accepted for symmetry with the interactive commands but is a
no-op: a headless run always auto-approves. --max-cycles, when given,
overrides maxFixCyclesPerMilestone for the run (recorded as a
config.changed event via the control inbox) so CI can bound spend.
Immediately after config loads and before any mission directory is
created, scrutiny_gate enforces the unattended scrutiny floor: see its
doc comment for the rationale.