Skip to main content

Module exit

Module exit 

Source
Expand description

Canonical exit codes.

Per design §8.1 “Exit codes matter”. Kept in one place so the CLI dispatch and every subcommand agree on semantics.

Constants§

INIT_ABORTED
init abort: the user chose not to proceed (answered “no” / declined the pre-commit verification prompt).
INIT_FATAL
init fatal error: unrecoverable (introspection cannot proceed, I/O failure writing files, template render error).
INIT_FIXABLE
init fixable problem: verification failed but recovery is possible (e.g. drift flags the user can fix and re-run).
INIT_OK
init success: files generated (and verified) successfully.
VERIFY_FAIL
verify failure: at least one critical check failed. Blocks the PR.
VERIFY_OK
verify success: every critical check passed (warnings allowed).