DEV Community

Cover image for ProdVerdict v0.6: verify billing before your Cursor agent opens a PR
Matthew
Matthew

Posted on • Originally published at prodverdict.com

ProdVerdict v0.6: verify billing before your Cursor agent opens a PR

AI agents ship fast. Tests pass. The PR looks fine. Then Stripe says active and Postgres says has_paid_access = false.

ProdVerdict v0.6 adds an agent-first workflow: diagnose credentials, run all contracts, get stable JSON back — for Cursor MCP or CLI.

ProdVerdict — merge-blocking CI for billing drift, env vars, and migrations

Agent loop (new in v0.6)

npx prodverdict init --stack nextjs-stripe --mcp --cursor-rule
npx prodverdict doctor --format agent
npx prodverdict check all --format agent
Enter fullscreen mode Exit fullscreen mode

--format agent returns schemaVersion: "1" JSON with summary and nextSteps — no LLM in evaluation.

Cursor MCP

Add @prodverdict/mcp to .cursor/mcp.json. Tools: doctor, check_all_contracts, check_access_contract, check_config_contract, check_migration_contract, validate_config, suggest_fix.

Prompts: setup_prodverdict, verify_before_pr.

Full guide: prodverdict.com/agents

Three contracts

Access, Config, and Migration contracts

  1. Access — Stripe/Paddle vs Postgres billing drift
  2. Config — env var references vs .env.example
  3. Migration — unsafe Postgres DDL in agent-generated SQL

Try without API keys

git clone --depth=1 https://github.com/prodv-dev/prodverdict-sdk.git
cd prodverdict-sdk
npx prodverdict check access \
  --config examples/nextjs-stripe/prodverdict.yml \
  --fixtures \
  --fixtures-dir examples/nextjs-stripe/scenarios/fail-revenue-leak
Enter fullscreen mode Exit fullscreen mode

CI enforcement

- uses: prodv-dev/prodverdict-action@v0.6.0
  with:
    config: ./prodverdict.yml
    contract: access
  env:
    STRIPE_SECRET_KEY: ${{ secrets.STRIPE_SECRET_KEY }}
    DATABASE_URL: ${{ secrets.DATABASE_URL }}
Enter fullscreen mode Exit fullscreen mode

Billing secrets stay on your runner. The dashboard stores verdict metadata only.

GitHub Marketplace · npm · Agents

Top comments (0)