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| Field | Meaning |
|---|---|
schema | The constant aethens-report/v2. v2 adds coverage; v1 reports had no coverage list but still load. |
tool_version | The Aethens version that produced the report. |
task_ids | The task ids included in the run. |
checks_run | Check ids of the form C000, for example C001–C007. |
budget | smoke, standard, or deep. |
seed | Integer seed used for the run. |
started_at | ISO 8601 timestamp with a UTC offset. |
duration_s | Run duration in seconds, at least 0. |
findings | The list of findings. Additional properties on the report object are not allowed. |
coverage | Statements 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.
severityiserror,warning, orinfo.confidenceisconfirmedorneeds-review.reprois a one-line command that reproduces the finding.limitsrecords 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.