The store's assistant at Northstar Outfitters, on Clover

Run the fictional Northstar Outfitters store, whose catalog and stock live in Clover, with its guide and its operations assistant, buy a family tent, and see the portal work the Clover inventory beside the processor's numbers.

What this run is

The store's assistant is Northstar Guide, the blueprint's shopping agent over a Clover-shaped inventory: items become products, item groups become variant families, item stocks become availability. The checkout hands to Clover Hosted Checkout. The operations assistant in the portal is the blueprint's merchant agent over CloverMerchantBackend, which lists from items, alerts from item stocks, stages price and stock changes, and applies the ones the operator approves the way the Clover item API takes them.

This merchant always runs on the simulated gateway, whatever is in .env (see the platform README); the Clover adapter is exercised by scripts/psp_smoke.py clover.

Running it

Set up once with ./setup.sh, copy platforms/clover/.env.example to platforms/clover/.env, and put ANTHROPIC_API_KEY in it.

platforms/clover/first-party/run.sh

The script starts the API on 8010, the storefront on 3010, and the portal on 3110. --all is the default.

platforms/clover/first-party/run.sh --merchant

starts the API and the portal;

platforms/clover/first-party/run.sh --api-only

starts the API alone.

Surface URL
Storefront with Northstar Guide http://localhost:3010
Portal with the operations assistant http://localhost:3110
Merchant API http://localhost:8010

GET http://localhost:8010/api/brand reports the store name, the assistant's name, processor: Clover, and gateway_mode: simulated.

A scripted walkthrough

The storefront's tagline is "Gear for the North Shore, picked up in two hours", and its starter prompts are the conversation below, checked on the simulated gateway on 8 September 2026.

  1. Ask for a tent: "A tent for a first family camping trip, under $250." The guide searches the Clover items; the Basecamp 4-Person Family Tent is $219 and the buying guide for family tents is in the store's policies, so the answer can quote it.
  2. Add it: "Add the family tent." The cart panel shows the line and the subtotal, with the links "How can I pay?" and "Ask about this cart".
  3. Ask how to pay: "Can I split the tent into payments, and what do I earn on it?" The tender card shows Klarna pay in 4 (the cart is within its $35 to $1,000 range), the demo user's $40 gift balance, Pay by Bank, Apple Pay, Google Pay, card, and the Trailhead Rewards points at two per dollar. The guide names the tender asked about and lets the card carry the figures.
  4. Ask about pickup: "When can I pick this up?" The in-store pickup policy answers from search_policies.
  5. Check out: "Set up checkout." The guide stages the cart; the model sees only that the checkout is staged, and the cart panel's button reads "Pay securely on Clover".
  6. Pay. The button opens the local page at http://localhost:8010/checkout/cko_…, headed "Northstar Outfitters, Secure checkout · Clover", listing the order and one button per tender. Pressing a tender completes a demo payment. The page states that the guide which staged the checkout never sees it and cannot press its buttons.
  7. Ask about the order: "Did my payment go through?" The storefront's poll has already seen completed; the guide answers from the queued note and the order list.

On a live Clover merchant the button would open Clover Hosted Checkout, a 15-minute session created with POST /invoicingcheckoutservice/v1/checkouts, and the shopper would pay there with Clover's test card 4242 4242 4242 4242. That path is the adapter's and has not been run; the demo merchant stays simulated.

What the simulated mode shows

Everything above is the simulated mode. The order the guide reads back at step 7 is an order the simulated gateway recorded; on the portal it appears in Orders, and its settlement line in the Money panel.

The operations assistant in the portal

Open http://localhost:3110. The portal's home view carries the "Money · Clover" panel (Settled, Authorization rate, Agent-initiated, Open disputes, each with an "ask the assistant" action) and the settlement rows; Catalog, Orders, and Inventory are the other views.

The Clover shape shows in Inventory. Listings come from Clover items, low-stock alerts from item stocks, and a change the operator asks for ("restock the 2-person tent to 12", "take 10% off the rain shells") is staged first and applied only on approval; apply_change performs the item stock or item price write the Clover REST API would receive (POST /v3/merchants/{mId}/item_stocks/{itemId}, POST /v3/merchants/{mId}/items/{itemId}), against the fixture here.

Payments questions go to the same assistant: "How are payments looking this week?", "Which tender carries the most disputes?", "Do agent-initiated orders dispute more than the rest?". Its metric names are settled_volume, auth_rate, dispute_rate, chargebacks, agent_initiated_share, and tender_mix:<tender>; open disputes are order issues with a reason code and a deadline; transactions, settlements, and disputes are the SQL tables. Nothing in the conversation moves money.

Stopping

Ctrl-C stops all three processes. A busy port 8010 means a previous run is still up.