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.

Appev is in early access. The commands below work against your Appev workspace once you have an API URL and token. Join the waitlist to get one.

Core concepts

ObjectWhat it is
ProjectA product you verify. Holds environments, reusable instructions, encrypted secrets, the gate policy, and notification settings.
CheckA natural-language contract for one customer outcome: task, success criteria, constraints, out of scope, and an optional engagement lens.
RunOne 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.
ReportThe agent's structured result: overall status, per-criterion evidence, issues by severity, engagement rating, scenarios with steps, and artifacts.
Verdictpassed, partial, failed, or inconclusive (the run could not be fairly judged).
GateThe project policy applied to a run or suite: pass, fail, or inconclusive, with reasons.
IssueA problem found by a run, deduplicated across runs by fingerprint and tracked as open, acknowledged, or resolved.
Suite runA group of enabled checks selected by tag, ID, or environment, run together with one combined gate.
ScheduleA suite that re-runs every N minutes.

Quick start

1. Point the CLI at your workspace

shell
export APPEV_API_URL=https://your-appev-api.example.com
export APPEV_API_TOKEN=…

2. Create a project with a staging environment

shell
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

shell
# 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

shell
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

shell
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

shell
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.

AvoidWrite 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:

shell
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:

FlagEffect
--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 codeMeaning
0Gate passed
1Gate failed, or a CLI/API error occurred
2Gate 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

.github/workflows/appev.ymlyaml
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

.gitlab-ci.ymlyaml
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

shell
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

SettingDefaultCLI flag
allowPartialfalse--gate-allow-partial true|false
maxCriticalIssues0--gate-max-critical <n>
maxHighIssuesnull (unlimited)--gate-max-high <n|none>
requireAllCriteriatrue--gate-require-criteria true|false
inconclusiveblock--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

usage
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

usage
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

usage
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

usage
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

usage
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

VariablePurpose
APPEV_API_URLAppev API base URL.
APPEV_API_TOKENBearer token sent with every request.

Next: the REST API reference, or common questions in the FAQ.