Recording runs
Create a run for a workflow, record check outcomes and findings from the command line, and retest.
An agent or a script records a review with aqk run; nobody has to write run.json by hand.
Every command validates the saved run against run.schema.json.
aqk run new --workflow full-review --mode agent # prints the run id
aqk run check <run-id> kbd-02 failed --note "no focus ring on nodes" --evidence shots/kbd-02.png
aqk run finding add <run-id> --severity minor --title "No focus ring on canvas nodes" \
--expected "Visible focus indicator" --observed "No indicator" --check kbd-02 --skill keyboard
aqk run validate <run-id>
aqk report <run-id>
aqk run new creates one check per checklist item of every skill in the workflow, all
not_checked. A check you never touch stays not_checked; nothing is ever marked passed for you.
aqk workflow run <id> prints the steps and creates the same run.
aqk run finding add assigns the next free AQK-NNNN id of the run, status open.
--check ties the finding to a check; the finding then takes the check’s category.
Without it the category comes from --skill, else functional.
One run per workflow
Decision: a workflow is recorded as one run, not one run per skill. The run carries
workflow, each finding names its skill, and each check keeps the category of the checklist
(the skill) it comes from. The category of a check is derived from the checklist and is never
free text, so check and finding categories use the same set (functional, usability,
accessibility, …).
Retest
aqk run retest <run-id>
Creates a new run with workflow: regression and retest_of: <run-id>. It contains the failed
checks (reset to not_checked) and the open findings of the source run, copied with their ids.
Re-run the checks, set the outcomes with aqk run check, and the release gate evaluates the
retest on its own. A finding is only fixed once the retest has verified it.
Release gate per workflow
aqk release check reads the blocking rule from the release_gate of the run’s workflow:
block_on (default critical and major) and require_all_checked. A failed check that is tied
(--check) to a finding which does not block under that rule does not block on its own: the
finding already carries the decision. A failed check without any finding blocks.