Aethens

DocsReport

Report format

aethens audit --format json writes a report that follows aethens-report/v2. The formal schema isdocs/report-schema.json. JSON is the CLI default. --format markdownrenders the same report as Markdown sized for a pull-request comment. The GitHub Action always writes Markdown toaethens-report.md.

Top-level fields

Required fields, in schema order:

schema, tool_version, task_ids, checks_run, budget, seed,
findings, coverage, started_at, duration_s
FieldMeaning
schemaThe constant aethens-report/v2. v2 adds coverage; v1 reports had no coverage list but still load.
tool_versionThe Aethens version that produced the report.
task_idsThe task ids included in the run.
checks_runCheck ids of the form C000, for example C001–C007.
budgetsmoke, standard, or deep.
seedInteger seed used for the run.
started_atISO 8601 timestamp with a UTC offset.
duration_sRun duration in seconds, at least 0.
findingsThe list of findings. Additional properties on the report object are not allowed.
coverageStatements a check can make where it found nothing, for example C002’s flake-rate bound.

A finding

Every finding has these required fields:id,check_id,severity,task_id,title,detail,evidence,repro,seed,confidence, andlimits.

  • severity is error, warning, or info.
  • confidence is confirmed or needs-review.
  • repro is a one-line command that reproduces the finding.
  • limits records what the check did and did not try.

Evidence

Each finding’s evidence object hassubject,command (an argument list),observed,exit_codes (integers or null),timed_out,stdout_tail,stderr_tail, andextra (a string-to-string map).

subject is one ofstarter,gold,candidate:<name>,mutant:<key>,test:<id> (C005),rewrite:<family> (C006), orprobe:<category> (C007).

Coverage

A coverage entry has check_id,task_id,statement, andstats (a string-to-string map). It records something a check can say even though it found nothing, for example C002: flake rate below p at 95% confidence, or a C004 equivalent mutant that was not reported.

Markdown reports

A Markdown report starts with the heading “Aethens report”, then a line with the tool version, budget, seed, checks run, task count, and duration, then a count of error, warning, and info findings.

If there are no findings, it says: “No findings. This only means the checks listed above found nothing at this budget and seed; it is not a guarantee about the verifier.”

If there are findings, it prints a summary table (severity, check, task, title), then a details block for each finding with the observed result, subject, confidence, seed, command, limits, the repro command, and output tails when present. Findings are ordered by severity (error, then warning, then info), task id, check id, and finding id. A closing note reminds readers that C004 info findings may be semantically equivalent to the gold, and that findings rely on what was run.

If the coverage list is not empty, a “Coverage (what was established where nothing was found)” table follows, with check, task, and statement columns.

Sources: docs/report-schema.jsonand src/aethens/report.py. See alsothe checks andthe CLI.