Skip to content

Audit a code boundary

Use audit to inspect a named file, directory, or subsystem and receive independently checked findings. Without a named boundary, the audit covers the current repository.

Use zdev to audit hello.py in the context of area greeting.
Check argument parsing and preservation of the default greeting.
Use zdev to audit the command-line interface for correctness and usability.
Use separate review lenses for those two concerns.

The agent assigns a fresh reviewer to the boundary, and someone other than the finding’s author verifies its location and claimed consequence before it enters the final report. You can ask for up to four explicit review lenses (such as correctness and security), each run by a separate reviewer.

The report opens with one of three verdicts:

Result Meaning
PASS zdev-audit The checked evidence produced no findings.
FINDINGS zdev-audit The report contains supported findings with locations and impact.
BLOCKER zdev-audit A required review or evidence check could not be completed.

The report names the boundary, what was inspected or skipped, and the evidence checked. Audit is read-only and leaves source files, Git state, and task status untouched; acting on findings is a separate request.

For a broader list of worthwhile changes, use improve. For acceptance of the current ready task, use verify. See coding and review guidance for the review standards.