Skip to content

HomeDocsConfiguration

Configuration

Inputs that matter here.

The action reads a test file, an allowlist, and a cap. The workflow finds the preview without a Vercel token.

test-file: tests/receipt_checkout_test.md
allowlist: shop/**
max-fixes: "3"
production-url: ${{ vars.RECEIPT_PRODUCTION_URL }}
RECEIPT_WAIT_FOR_VERCEL_STATUS: true
  • test-file, default tests/receipt_checkout_test.md
  • allowlist, default shop/**
  • max-fixes, default 3
  • production-url, fallback if the preview never returns HTTP 200
  • RECEIPT_VERCEL_PROJECT / RECEIPT_VERCEL_SCOPE, used to build the git-branch preview alias, no Vercel token
  • RECEIPT_WAIT_FOR_VERCEL_STATUS, true on pull_request
  • RECEIPT_DEMO_CHEAT, 1 on the demo/cheat-refusal branch, so the fixer proposes a cheating test-file diff for the refusal demo

Kane is invoked with --agent --headless --on-lock-conflict fail, a unique session name per run, and a short retry if Test Manager still holds a write lock. A leftover lock is classified as setup, not as a contract failure, so the fixer stays off.