# Test mode

Test the whole Check flow, including quotes, approval and verify, with test credits and fixed verdicts. Nothing is billed.

A connection in test mode has the same MCP tools and REST routes as a live one. It pays with test credits, never calls a live service, and returns a fixed verdict for each test document. Every response carries `livemode: false`, and REST responses carry the `bestie-livemode` header.

## Turn it on

1. Connect your agent to Bestie as usual.
2. In Bestie, open Connections and choose Switch to test mode on that connection.
3. Run the flow: prepare_deliverable, get_preparation, quote_check, approve the quote on its page (it is marked Test mode), then verify_deliverable and get_check.

> Each workspace starts with 10,000 test credits. Switching a connection between live and test mode voids the quotes it asked for in the other mode.

## Test documents

Put a marker anywhere in the document text, or in the URL, to choose what happens. A document without a marker passes. The claims are the document's first sentences, so the same text always gives the same Quick Look and the same price.

- `bestie-sandbox:passed` — The check completes and passes, with no findings.
- `bestie-sandbox:findings` — The check completes with one blocking and one advisory finding.
- `bestie-sandbox:unit_timeout` — One unit times out and the check ends incomplete. retry_units completes it and the check passes.
- `bestie-sandbox:missing_verdict` — A unit finishes without a verdict. The check ends incomplete and that unit is not billed.
- `bestie-sandbox:scanner_unavailable` — Preparing the document fails: the malware scanner is unavailable (upstream_unavailable).

## What differs from live

- Documents are read as text. A URL is not fetched, and file uploads are not available.
- verify_deliverable returns the check running; the next get_check returns its final result.
- Checks and documents expire after 30 days.
