Verify
Aviator Verify replaces line-by-line code review with verification of what the change is supposed to do. You work with your agent locally. Aviator captures your intent through a single CLI call, runs every acceptance criterion against the running code, and produces a review document with verdicts, evidence, and the decisions behind the change.
The reviewer judges behavior and the calls that shaped it, starting from those rather than the diff.
You can start using Verify with code-scan alone — no preview, no infrastructure setup. A preview is what unlocks runtime verification: scenarios driven against your running code. Most teams get value from day one with code-scan, then add a preview when behavioral criteria start mattering.
The flow
Build with your agent. Implement the task with Cursor, Claude, Copilot — anything you use today. No new tooling, no behavior change.
Submit intent with the Aviator CLI. When you're done, the agent runs
/verify-submit, which captures the intent and the acceptance criteria from what was built and submits them. Set up agent hooks and it gets prompted before every PR.Record the decisions.
/verify-submitalso drafts the calls behind the change: what was picked, what risks were accepted, and whether a person or an agent made each call. Once you confirm them, it records them on the review.Aviator verifies end to end. Scenarios run in your preview, invariants apply automatically, code-scan handles structural checks.
Review the behavior and the decisions. The reviewer sees the intent, the verdict per criterion, the evidence, and the decisions. They approve, waive with reason, ask for another scenario, or reopen a decision.
→ How it works — the full narrative, with diagrams.
Decisions — the calls behind the change
Verification can show that a change does what was agreed. It can't say whether what was agreed was the right call. Decisions record those calls: per account or per repo, ship the risk or fix it, do this now or later.
Each decision has a type, an outcome, a reason, and a comment thread. Humans and agents are credited separately on every entry, so a reviewer can see which positions a person took and which ones an agent took on its own.
→ Concepts: Decisions · Work with decisions
Invariants — the standing rules
Every code review has a long tail of repeated comments. Use the structured logger. No direct user-table writes. Errors emit a metrics counter. Cap external dependencies. Stripe amounts use the Money type. Reviewers say the same thing on PR after PR, and any one of them missed in any one review becomes a future bug or migration.
Verify turns those into invariants — team-defined rules in an account-level catalog that apply to every matching change automatically. When a review is created, an LLM selector picks which invariants legitimately apply to this change, and they're materialized as acceptance criteria alongside the user-supplied ones. From there they flow through the same verifier pipeline — code-scan or runtime — and produce verdicts on the same review surface.
How invariants get into your catalog:
Mine your PR history. Aviator's AI reads your team's actual PR review comments and proposes invariants from the patterns it sees. The highest-leverage onboarding path — your team is already enforcing these rules in review, just not encoding anywhere.
Extract from your docs.
CONTRIBUTING.md,LLM.md, and similar files become drafts.Adopt from templates. Aviator's starter library covers the common categories: security baseline, observability, data access, backwards compatibility.
Author manually. Anyone on the account writes the rule directly.
All AI-drafted invariants land in draft status and need approval before they go active. Failed invariant verdicts can be waived by the reviewer with a category (false_positive, doesnt_apply, accepted_risk, fix_in_followup) — every waiver is recorded in the audit trail.
How review changes
A diff shows what changed. It doesn't show what the change was for, whether it works, or why it was built this way. Verify answers those separately:
What is it for? The intent.
Does it do that? Acceptance criteria, verdicts, and evidence.
Does it break our standing rules? Invariants.
Why this way, and who made the call? Decisions.
Core concepts
What the agent submits — what the change is for, and the verifiable assertions it must satisfy.
The calls behind a change, with the reason and who made each one, person or agent.
Team-defined rules applied to every matching change. Security baseline, data access, conventions.
Ephemeral environments scenarios run against. Per-run, torn down after.
How criteria, invariants, and domain contracts stack.
Immutable trail of submissions, verdicts, and evidence, plus each decision's version history.
Getting started
Connect a repository — wire up GitHub.
Your first verification — a 15-minute hands-on. Install the CLI, ship a small change, watch verification run. No preview needed.
Setting up org invariants — codify the rules every change must respect.
Creating a preview — optional. Unlocks runtime verification when your criteria start asking about behavior the diff alone can't answer.
Quick links
Submitting: Aviator CLI · Set up agent hooks
Writing for the agent: SKILL.md guide · Effective acceptance criteria
Configuration: Preview YAML
Operations: Managing previews · Seed data for previews
Recording decisions: Record decisions with /aviator:decisions
Reading results and fixing failures: Understanding verification results
Last updated
Was this helpful?
