Reference
Testing and the feed checker
Test your feed in three layers: unit-test your signature code with our test vectors, call your own endpoints with a signed request, then run the feed checker, which calls your live site exactly like the agent will.
Three layers of testing #
- Signature unit test. Check your signing code against the test vectors. Every kit ships a test:
php tests/run.php(PHP, Laravel, WordPress),npm test(Node),python3 python/test_vectors.py(generic). - Signed request by hand. Each quickstart has a copy-paste command: Laravel (Pest), PHP, Node, curl and openssl.
- The feed checker in the dashboard, against your public HTTPS URL. A feed only goes live when no check fails.
Run the feed checker #
- Open Dashboard, Data feeds, your website, Setup and checks.
- If the domain is not verified yet, click Verify domain.
- Fill in Test inputs: a search word, a product id, a SKU, a variant id, a service id, and optionally a real order number with the phone on that order. Save test values.
- Click Run checks. Each row shows Pass, Warning or Fail, the detail, and "How to fix".
When nothing fails, the source becomes Active and the agent starts using it. If a check fails on an active source, it becomes Degraded until a run passes again.
What it checks #
| Check | Passes when |
|---|---|
| Manifest reachable | /.well-known/waforge.json (or the manifest URL you saved) answers JSON with waforge_feed |
| Feed version supported | waforge_feed is 1.x |
| Domain ownership | The domain is already verified, or the manifest contains your wfv_ token |
| base_url is HTTPS on your domain | base_url starts with https:// and is on your domain or a subdomain |
| At least one data capability | One of catalog.search, product.get, availability, order.status is declared |
| Each declared capability | A signed live call answers 200 with a valid envelope and an as_of not in the future. Warning when slower than 2.5 s, when as_of is more than 7 days old, when a sample value answers 404, or when a capability needs a test input you did not give ("Not tested"). |
| order.status (unknown order gives 404) | Without a sample order, a random order number answers 404, proving your feed does not leak orders |
| Rejects a wrong signature (401) | A request signed with a wrong secret answers 401 |
| Rejects an old timestamp (401) | A request signed 10 minutes ago answers 401 |
Domain verification methods #
1. Manifest: "verification": "wfv_..." in /.well-known/waforge.json (the kits do this)
2. DNS: _waforge.shop.example.com TXT "wfv_..."
3. Meta tag: <meta name="waforge-verification" content="wfv_..."> in the <head> of https://shop.example.com/DNS changes can take up to an hour to be visible. WaForge re-checks verified domains every day; after 3 failed days in a row the feed is suspended until you restore the token and run the checker again. A domain can be verified by one WaForge account only.
After it passes #
Open the AI agent's test chat in the dashboard and ask a real question, such as "how much is [a product name]?". The answer should quote your live price. If the agent hands off instead, check the source's last error on the Data feeds page.