build_verify
Acceptance test of the project's running preview (after build_deploy, before build_go_live), using it as a buyer would with throwaway test accounts (verify-@example.com, deleted afterwards). Checks: health (serves the published app.js, boots, API reachable); accounts (sign-up, login, forgot password); the role permission matrix (declared policy holds, server-owned fields such as status, totals and payment state are not writable by the user, fulfilment records cannot be minted, other users' records are not readable); commerce (the server prices checkout when the client price is tampered; a success-URL visit without payment changes nothing; Stripe test mode only); event-bound workflows reach COMPLETED with the verified recipient (no real email is sent); capacity; draft rows out of public reads; launch basics. Returns a score and pass/fail/skip per check with evidence and fixes. Only the caller's own preview; ~1-3 min, rate-limited; dry_run=true lists the planned checks.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_uuid": "<project_uuid>"
},
"name": "build_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | With cleanup_only: the cleanup.run_id an earlier build_verify result returned. | |
| target | No | Always 'preview' (default). The live app is never tested. | |
| dry_run | No | true: list the planned checks for the published bundle without touching the preview. | |
| budget_s | No | Total time budget in seconds (30-180, default 180). Partial results are returned when it runs out. | |
| event_tests | No | Fire record events on the preview and report what the bound workflow did, INSTEAD of the acceptance checks. Records written with crud_* tools never fire workflows, so use this to test event-driven automation. Each item: {event: '@create:<type>' | '@update:<type>', data: {field: value} for the test record, update: {field: value} (only for @update), role: tenant_user (default) | tenant_admin | project_user, expect: {status, ran: [step ids], not_ran: [...], branches: {condition step id: 'then' | 'else'}}}. A throwaway test user creates the record THROUGH THE PREVIEW, so the real binding fires. The report lists every step: whether it ran, its status, and each condition's branch and why. Test data, the workflow's own records and the run rows are deleted afterwards. Only workflows whose every step stays inside the app (its own records, conditions, transforms, loops) or emails a test address are fired. A step that pays, books, posts, calls a webhook, AI or MCP tool, waits for approval or sends to a phone is refused by name. | |
| cleanup_only | No | true (with run_id): run no checks; only retry deleting the test users and records that earlier run created and could not remove. Same ownership proof as the run itself. | |
| project_uuid | Yes | Your project (its running preview is tested). |