DocsCLI
CLI usage
The CLI has one subcommand, audit. It loads a task (or a directory of tasks), runs the selected checks, and writes a report. The text below matches aethens --help andaethens audit --help from this repository, with defaults taken from the argument parser insrc/aethens/cli/main.py.
aethens
usage: aethens [-h] [--version] {audit} ...
Validate the verifiers of code tasks by running them.
positional arguments:
{audit}
audit audit one task directory or a directory of tasks
options:
-h, --help show this help message and exit
--version show program's version number and exitWith no subcommand, Aethens prints this help and exits 0.aethens --version printsaethens 0.1.0 on this release.
aethens audit
usage: aethens audit [-h] [--budget {smoke,standard,deep}]
[--fail-on {error,warning}] [--format {json,markdown}]
[--seed SEED]
[--check {C001,C002,C003,C004,C005,C006,C007}]
[--output OUTPUT] [--unsafe-local]
path
positional arguments:
path a task directory (with task.yaml) or a directory of
tasks
options:
-h, --help show this help message and exit
--budget {smoke,standard,deep}
smoke: 3 flaky runs, 5 mutants; standard: 5, 10; deep:
10, 30
--fail-on {error,warning}
--format {json,markdown}
--seed SEED
--check {C001,C002,C003,C004,C005,C006,C007}
run only this check (repeatable); default: all
--output OUTPUT write the report to this file instead of stdout
--unsafe-local run task code directly on this machine WITHOUT
container isolationDefaults and behaviour
These defaults are set in the argument parser. They are not all printed in the help text.
| Flag | Default | Notes |
|---|---|---|
--budget | standard | Choices: smoke, standard, deep. The help text summarises flaky-run and mutant counts; each check has its own budget caps. |
--fail-on | error | Findings at or above this severity produce exit code 1. Info findings never fail the run. |
--format | json | JSON follows aethens-report/v2. Markdown is sized for a pull-request comment. See report format. |
--seed | 0 | Integer seed for reproducible runs. |
--check | all checks | Repeatable. Each value is one of C001–C007. |
--output | stdout | If the path cannot be written, Aethens exits 2. |
--unsafe-local | off | Off by default. When set, task code runs on the host with a scrubbed environment and timeouts, and no container isolation. |
Exit codes
| Code | Meaning |
|---|---|
0 | Pass: no findings at or above --fail-on. |
1 | Findings at or above --fail-on. |
2 | Tool error, including Ctrl-C and SIGTERM: a problem loading tasks, writing the report, or an unexpected internal error. Precedence is 2 over the other codes, so a crash is never reported as “findings”. |
3 | The gold solution timed out in C001 or C002, so the gold verdict could not be established. Precedence: 2 > 3 > 1 > 0. |
--unsafe-local
When this flag is set, Aethens prints a warning to stderr and runs task and candidate code directly on your machine. The warning is:
WARNING: --unsafe-local runs task and candidate code on this machine without container
isolation. It can read your files and use your network. Only use it on code you trust.Only use it on code you trust. The default path is Docker isolation; seeFAQ and limits andSECURITY.md.
Sources: uv run aethens --help, uv run aethens audit --help, and src/aethens/cli/main.py. The README lists the same flags and exit codes.