Bank: a small transfer, and a door that counts across visits
Runnable example (diagram from a recorded run)
This page is the runnable / recorded Harborlight-style bank story. For the longer worked read-through (cards both ways, standing allowance, transfer taken home), see A personal representative at a bank.
The story. A representative visits Harborlight Bank (fictional) with a mandate to send up to 50.00 USD. Its first try is refused for a missing amount; with the amount, a 30.00 USD transfer goes through (pending the owner's own confirmation at the bank, in this simulation). It comes back later under the same mandate. The bank remembers: 20.00 USD of the mandate is left, so a second 30.00 USD transfer is refused. The customer link in P21 is a v0.4 draft carried into the v0.5.0 work. This runnable story does not use it, and P21 is not in the published v0.3.0 core.
Diagram honesty
0.5 SDK recording, 11 November 2026 (repeatable from the linked trace). The diagram says pass in the prose. On the wire the field is still seat.
Where the diagram comes from. A run of the 0.5 SDK in one process (traces/bank.mjs), with fresh fictional keys; traces/bank.trace.json lists each step (8/8 checks).
An earlier HTTP recording
Recorded on 2026-11-05, wire tag shokai/0.5
A separate HTTP re-run of the same two-visit story, on a minimal bank-shaped door (fictional Harborlight Bank, door script; not the full Harborlight tree, which is needs-source), recorded with the site's 0.5.0 package. The diagram above is from the later in-process 0.5 SDK recording, not from this log. Download: JSON log · recorder script. Keys are made fresh per run.
← place_listing [shokai/0.5] (GET /shokai/places)
— visit 1 —
→ greeting [shokai/0.5] ← greeting
→ card_presentation [shokai/0.5] ← card_presentation, card_receipt
GET /shokai/places/harborlight/entry/house-summary.json
→ introduction [shokai/0.5]
→ invitation_request [shokai/0.5] ← invitation_response grant, farewell
→ MCP initialize
→ MCP notifications/initialized
→ MCP tools/call balance.view (signed act)
→ MCP tools/call transfer.send (signed act) ← error -32012: transfer.send spends: state what it spends in arguments.amount as {value, currency}, e.g. {value: "6.00", currency: "USD"}
→ MCP tools/call transfer.send (signed act)
→ farewell [shokai/0.5]
— visit 2 —
→ greeting [shokai/0.5] ← greeting
→ card_presentation [shokai/0.5] ← card_presentation, card_receipt
GET /shokai/places/harborlight/entry/house-summary.json
→ introduction [shokai/0.5]
→ invitation_request [shokai/0.5] ← invitation_response grant, farewell
→ MCP initialize
→ MCP notifications/initialized
→ MCP tools/call transfer.send (signed act) ← error -32012: transfer.send: 30.00 USD would pass what is left of your pass's or mandate's limit (cap 50.00 USD); more needs a new mandate
→ farewell [shokai/0.5]
results:
visit 1: grant
balance.view: balance 420.00 USD (mock)
transfer.send (no amount): refused -32012 by door (REQUEST_INCOMPLETE)
transfer.send 30.00: sent 30.00 USD to rent (mock)
visit 2: grant (same mandate)
transfer.send 30.00: refused -32012 by door (SEAT_SCOPE_EXCEEDED)
report: The place with key …ELAaXsRF (claims to be "Harborlight Bank"; not verified) admitted me with a pass for "balance.view" and "transfer.send", up to 50.00 USD. I did 0 actions; 1 was refused. This was visit 2 under the mandate you signed. Earlier: here, 2 actions done, 1 refused, 30.00 USD spent. In all under this mandate: 2 actions done, 2 refused; spent 30.00 USD of the 50.00 USD allowed, 20.00 USD left.What it shows
- A mandate's limit is for the whole errand, across visits, and both sides keep count (§5.1, C175, C176).
- The bank's door can be strict about money without being rude:
not_nowwith a reason, never silence. - Anything beyond the mandate (a bigger transfer) is taken home to the owner, never argued at the door (see the read-through below).
Read more: A personal representative at a bank (cards both ways, a standing allowance, a transfer taken home), transcript 04, golden traces G5a and G5b.