Reports and release gate
Turn runs into Markdown, HTML and JSON reports, compare runs and gate a release.
Reports
aqk report latest # report.md, report.html, report.json
aqk report latest --format html # md | html | json | all
aqk report latest --compare # also compare with the previous run
Reports are written next to the latest run in .aqk/runs/<run-id>/. They show passed, failed,
not checked and N/A per category, and every finding with severity, expected and observed
behaviour, evidence and recommendation.
Pass rates count executed checks only (passed / (passed + failed)). A category in which
nothing was executed shows not checked instead of a percentage.
--compare prints the change in pass rate and the findings that are new or no longer open.
Release gate
aqk release check
aqk release check --require-all-checked
| Status | When |
|---|---|
BLOCKED |
open critical (P0) or major (P1) findings, or any failed check |
INCOMPLETE |
nothing passed, or – with --require-all-checked – any check is not_checked |
READY |
no open P0/P1 findings and all executed checks passed |
The command exits with 1 for BLOCKED and INCOMPLETE, so it can stop a release script.
GitHub Issues
aqk issues export --repo owner/name --approve
Exports the findings with status confirmed from the latest run through gh issue create.
Without --approve nothing is created. New findings start as open; set status: confirmed
in run.json once a finding has been reproduced.