Skip to content
M31A

CLI Reference & Exit Codes

Complete CLI subcommand catalog, arguments, flags, and exit codes.


Complete command-line interface reference for the m31a binary, built with clap 4.5.

Standardized UNIX Exit Codes

CodeMeaningDescription
0SuccessCommand completed successfully; all verification gates passed.
1Verification FailureWork completed but failed automated quality checks (tests, linter).
2Policy ViolationAction was blocked fail-closed by security policy engine.
3Budget ExhaustionMission exceeded one or more 10-dimensional hard resource bounds.
4Crash / InfrastructureUnexpected runtime crash, storage corruption, or system failure.
5Configuration ErrorInvalid configuration schema or monotonic violation.

Subcommands Catalog

m31a / m31a tuiCore

Launch the interactive Ratatui cockpit interface.

m31a [OPTIONS] or m31a tui
m31a mission runMission & Task

Start an autonomous software engineering mission.

m31a mission run <PROMPT> [OPTIONS]
m31a mission listMission & Task

List all recorded missions in the current workspace.

m31a mission list [--all]
m31a mission showMission & Task

Display detailed mission status, task DAG, and budget consumption.

m31a mission show <MISSION_ID>
m31a mission pause / resume / cancelMission & Task

Control the lifecycle state of an active mission.

m31a mission [pause|resume|cancel] <MISSION_ID>
m31a task list / showMission & Task

Inspect individual tasks in the mission DAG and their verification evidence.

m31a task list <MISSION_ID> or m31a task show <TASK_ID>
m31a agent listInspection

Inspect active and idle agents across the 8 canonical roles.

m31a agent list
m31a capability listInspection

List all 15 core capability families and operational availability.

m31a capability list
m31a policy checkInspection

Dry-run evaluate an action or tool against active policy layers.

m31a policy check <TOOL> [-m <MISSION_ID>]
m31a checkpoint list / restoreInspection

Manage atomic two-phase mission checkpoints and rollback.

m31a checkpoint list <MISSION_ID> or m31a checkpoint restore <CHECKPOINT_ID>
m31a artifact list / showInspection

Inspect content-addressed immutable execution artifacts and SHA-256 digests.

m31a artifact list <MISSION_ID> or m31a artifact show <ARTIFACT_ID>
m31a doctorDiagnostics

Run comprehensive environmental diagnostic probes.

m31a doctor [--json]
m31a telemetry inspectDiagnostics

Inspect execution traces, hierarchical spans, metrics, and token usage.

m31a telemetry inspect <MISSION_ID> [OPTIONS]
m31a config validate / get / set / sourcesConfiguration

Inspect, validate, and manage hierarchical configuration across 7 tiers.

m31a config [validate|get|set|sources|explain]
m31a eval runDiagnostics

Execute autonomous evaluation harness benchmark scenarios.

m31a eval run [--scenario <ID>|--all] [OPTIONS]
m31a initCore

Initialize workspace onboarding state (idempotent; use --force to re-enter setup).

m31a init [--force]
m31a version / deploymentDeployment

Display deployment channel, build identity, commit hash, and artifact details.

m31a version [--verbose] or m31a deployment [--verbose]
m31a update / rollbackDeployment

Transactional binary update from manifest and atomic rollback to previous binary.

m31a update --manifest <path> [--check] or m31a rollback

Machine-Readable JSON Output

For CI/CD scripts and orchestration tools, specify --output json or --output stream-json:

terminal
m31a --output json doctor
m31a --output json mission list
m31a --output stream-json mission run "Refactor logging"