Documentation
Introduction
Appev verifies that real customers can still reach their outcomes after every change. You describe an outcome in plain English as a check. An independent agent attempts it in a real browser, writes an evidence-backed report, and your project's gate turns that report into pass, fail, or inconclusive.
This is the practice we call Vibetest-Driven Development: outcomes first, verified by someone other than the maker, decided by evidence rather than impressions, and kept as living contracts after launch.
Core concepts
| Object | What it is |
|---|---|
| Project | A product you verify. Holds environments, reusable instructions, encrypted secrets, the gate policy, and notification settings. |
| Check | A natural-language contract for one customer outcome: task, success criteria, constraints, out of scope, and an optional engagement lens. |
| Run | One independent attempt of a check (or an ad-hoc task) against a specific URL and build. Moves through queued → preparing → running → collecting_report → completed, or ends failed / cancelled. |
| Report | The agent's structured result: overall status, per-criterion evidence, issues by severity, engagement rating, scenarios with steps, and artifacts. |
| Verdict | passed, partial, failed, or inconclusive (the run could not be fairly judged). |
| Gate | The project policy applied to a run or suite: pass, fail, or inconclusive, with reasons. |
| Issue | A problem found by a run, deduplicated across runs by fingerprint and tracked as open, acknowledged, or resolved. |
| Suite run | A group of enabled checks selected by tag, ID, or environment, run together with one combined gate. |
| Schedule | A suite that re-runs every N minutes. |
Quick start
1. Point the CLI at your workspace
export APPEV_API_URL=https://your-appev-api.example.com export APPEV_API_TOKEN=…
2. Create a project with a staging environment
appev project create --name "Shop" --status on_track \ --release-date 2026-12-15T00:00:00.000Z \ --env staging=https://staging.shop.example.com \ --github-repo acme/shop
3. Store a secret the agent can use
# Read from stdin so the value never lands in shell history printf '%s' "$TEST_CARD" | appev secret set --project <projectId> TEST_CARD
4. Write a check
appev check create --project <projectId> --name "Checkout · starter plan" \ --target-url https://staging.shop.example.com/pricing \ --task "Buy the Starter plan as a new visitor using the sandbox test card" \ --criterion "Confirmation shows an order reference" \ --criterion "Starter plan is active in account settings" \ --constraint "Use only the card in TEST_CARD" \ --out-of-scope "Coupon codes" \ --lens "first-time visitor comparing plans on a laptop" \ --secret TEST_CARD --tag smoke --priority critical
5. Run it and wait for the gate
appev check run <checkId> --environment staging --watch # streams status and events, then prints e.g. # Appev gate: PASS - All gate conditions satisfied
6. Read the evidence
appev report <runId> appev artifacts <runId> appev artifact <runId> artifacts/confirmation.png --output confirmation.png
Writing good checks
A good check is decidable: a teammate who never saw the product could decide pass or fail from the evidence alone.
- One outcome per check. "Sign up and reach the first project" is one check. "Test onboarding" is not.
- Criteria are observable. Prefer "Confirmation shows an order reference" over "Checkout works".
- Constraints protect real systems. Sandbox cards only, no admin back doors, do not change account email.
- Out of scope stops sprawl. Name what the agent should not judge, so it does not crawl the whole product.
- Use a lens for friction. "First-time visitor on mobile" or "returning admin in a hurry" frames how friction is judged. It is wording, not a costume.
- Keep titles stable. Issues are deduplicated by title within a check, so the agent is asked to reuse specific issue titles across runs.
| Avoid | Write instead |
|---|---|
| "Test the app." | "Invite a teammate by email from Settings › Team." |
| "Make sure login works." | Criterion: "Dashboard greets the user by first name after login." |
| "Check all the links." | Use a crawler for that. Checks are for customer outcomes. |
Secrets and logins
Project secrets are encrypted at rest and never returned by the API. Grant a check access by name with --secret NAME. The agent receives the values in a workspace file and is instructed to refer to keys only. Values are redacted from run events and reports.
To start runs already signed in, save a Playwright storage state and reference it:
appev secret set --project <projectId> LOGGED_IN_STATE --from-file auth.json appev check update <checkId> --storage-state-secret LOGGED_IN_STATE
Environments and targets
Every run needs a target. You can override a check's targetUrl per run:
| Flag | Effect |
|---|---|
--target-url <url> | Replaces the URL entirely. |
--base-url <url> | Swaps only the origin and keeps the path and query. Ideal for preview deploys. |
--environment <name> | Uses a project environment's base URL and API base URL. |
Workspaces can restrict which hosts runs may target, for example *.example.com,localhost.
Gating CI
Run a tagged suite against your preview deploy. With --watch, the CLI exits with the gate decision:
| Exit code | Meaning |
|---|---|
0 | Gate passed |
1 | Gate failed, or a CLI/API error occurred |
2 | Gate inconclusive: cancelled, infrastructure failure, or the agent could not judge |
--ci fills candidate metadata (commit, branch, PR, build URL) from GitHub Actions, GitLab, Buildkite, or Jenkins. When the project has a GitHub repo configured, the commit receives an appev/suite or appev/<check> status.
GitHub Actions
name: Appev gate on: [deployment_status] jobs: appev: if: github.event.deployment_status.state == 'success' runs-on: ubuntu-latest env: APPEV_API_URL: ${{ vars.APPEV_API_URL }} APPEV_API_TOKEN: ${{ secrets.APPEV_API_TOKEN }} steps: - run: | appev suite run --project ${{ vars.APPEV_PROJECT }} --tag smoke \ --base-url "${{ github.event.deployment_status.target_url }}" --ci --watch
GitLab CI
appev_gate: stage: verify script: - appev suite run --project $APPEV_PROJECT --tag smoke --base-url "$CI_ENVIRONMENT_URL" --ci --watch allow_failure: exit_codes: [2] # optional: let inconclusive runs warn instead of block
Webhooks
Set a project webhook URL to receive run.finished and suite.finished events. When the workspace has a webhook secret, each request carries x-appev-signature: sha256=<hex>, an HMAC-SHA256 of the raw body.
Triage results
appev issues --project <projectId> --status open --severity critical,high appev issue update <issueId> --status acknowledged --ticket-url https://tracker.example.com/SHOP-311 appev rerun <runId> --watch appev metrics --project <projectId>
A passing run of a check resolves that check's open issues it no longer sees. An issue that comes back is reopened automatically.
Gate policy
| Setting | Default | CLI flag |
|---|---|---|
allowPartial | false | --gate-allow-partial true|false |
maxCriticalIssues | 0 | --gate-max-critical <n> |
maxHighIssues | null (unlimited) | --gate-max-high <n|none> |
requireAllCriteria | true | --gate-require-criteria true|false |
inconclusive | block | --gate-inconclusive block|allow |
A run fails the gate when its verdict is failed, when it is partial and partial is not allowed, when issue counts exceed the limits, or when a criterion is not demonstrably met and all criteria are required. A suite fails if any run fails, and is inconclusive if any run is inconclusive.
CLI reference
The appev CLI is non-interactive. Every command supports --json for raw JSON, --verbose for all fields, and appev <command> --help.
Projects and secrets
appev projects appev project <projectId> appev project create --name <name> --status <status> --release-date <iso> [--env <name=baseUrl[,apiBaseUrl]>]... [--instruction <title=content>]... appev project update <projectId> [--gate-* …] [--webhook-url <url>] [--github-repo <owner/repo>] appev project delete <projectId> appev secrets --project <projectId> appev secret set --project <projectId> <NAME> [--value <value> | --from-file <path>] appev secret delete --project <projectId> <NAME>
Checks
appev checks [--project <projectId>] appev check <checkId> appev check create --project <projectId> --name <name> --target-url <url> --task <goal> [--criterion <text>]... [--constraint <text>]... [--out-of-scope <text>]... [--lens <text>] [--secret <NAME>]... [--storage-state-secret <NAME>] [--fixtures <json>] [--api-base-url <url>] [--environment <name>] [--project-instruction <id>]... [--tag <tag>]... [--priority low|medium|high|critical] appev check update <checkId> [same fields] [--enabled true|false] appev check run <checkId> [--target-url <url> | --base-url <url>] [--environment <name>] [--commit <sha>] [--branch <name>] [--pr <number>] [--build-url <url>] [--ci] [--watch] appev check delete <checkId>
Suites
appev suite run --project <projectId> [--tag <tag>]... [--check <checkId>]... [--environment <name>] [--base-url <url>] [--ci] [--watch] appev suite <suiteRunId> [--watch] appev suite cancel <suiteRunId> appev suites --project <projectId>
Runs, reports, and artifacts
appev run --target-url <url> --task <goal> [--project <projectId>] [--criterion <text>]... [--watch] appev runs [--project <projectId> | --check <checkId>] [--limit <n>] appev status <runId> appev watch <runId> appev cancel <runId> appev rerun <runId> [--watch] appev events <runId> appev report <runId> appev reports [--project <projectId> | --check <checkId>] appev artifacts <runId> appev artifact <runId> <path> [--output <file>]
Issues and metrics
appev issues [--project <projectId> | --check <checkId>] [--status open,acknowledged,resolved] [--severity critical,high,medium,low] appev issue <issueId> appev issue update <issueId> [--status open|acknowledged|resolved] [--ticket-url <url> | --clear-ticket] appev metrics --project <projectId> [--from <iso>] [--to <iso>] appev metrics timeseries --project <projectId> [--from <iso>] [--to <iso>]
CLI environment
| Variable | Purpose |
|---|---|
APPEV_API_URL | Appev API base URL. |
APPEV_API_TOKEN | Bearer token sent with every request. |
Next: the REST API reference, or common questions in the FAQ.