Live and test environments
Each place has a live environment at its real origin and test environments for previews. An origin is the scheme, hostname, and port associated with a host appointment. Give each environment its own host appointment.
The live host holds a card bound to the live origin and serves that origin. At a fictional tea shop, Hana serves the live origin and Hana (test) serves a preview origin. The test host gets a separate test-signed card bound to that test origin. Both hosts read the same handbook text. Sign the test copy with a test key. The test host can run on a cheaper model. Keep live and test identities and keys separate, including the owner's signing keys.
· PNG
Everything signed in test carries test: true. The test door declares environment: "test" in its listing and visit claim. Its tap results carry test: true.
The live host refuses test-signed material and turns down wakes, appointments, and visits for test origins. The test host refuses the live origin. Visitors at a live door refuse test-signed items. A visitor who set up a visit against a door that declared environment: "test" may accept test-signed items. Label them “test” wherever they appear, including each mention to the owner and in the trip report. Visit §9
On 29 November 2026, Akari, the live Shōkai Lounge host, correctly refused two preview wakes. The Lounge's backup host played the test-host role on the previews.
Stripe's test and live keys, the PayPal and Apple Pay sandboxes, and OAuth test apps set a precedent for keeping testing separate from live use.
The installer sets up both environments. See the drafts for appointing the host, naming the host, and host availability.
Preview preflight
For a protected test copy, open the access link once before downloading the toolkit. A Vercel protection page belongs to the test copy. Shōkai starts at the invitation. Use visit take to get the one take-home link for your owner. visit shelf is optional and only lists the place's take-home files.
Use an invitation, access link and signing page from the same preview deployment. Check that the protected invitation resolves there, that setup and later tap checks reuse that preview access, and that the listing, claim and test host all agree on the origin.
Smoke-test the packaged deployment, including the tap route and the scripts and assets it loads. In the test origin, walk through enrollment where required, a signed result and its receipt or selection, plus a pending or expired result. Check that signing uses the expected test rpId (the domain identifier WebAuthn uses to scope the passkey) and that the live visit refuses the test result. Visit §9