Demo sandboxes and reset
How private demo sandboxes are created, reset, ended and cleaned up.
What it is
A sandbox is a private copy of the demo data. Each judge or presenter gets their own, so nobody changes anyone else's data. It is a separate Postgres schema cloned from the seed. All money and people are fictional.
Who uses it
Admin Admins who run demos or look after the server. Judge Judges use sandboxes through the demo page.
When to use it
- To run the four-minute guided demo.
- To let a judge explore freely without side effects.
- To reset a demo after a run.
Step by step
Open the demo page
Go to
/demo. The buttons are Watch guided demo, Start my own sandbox and Presenter mode. The Pre-flight check list shows if the system is ready.The demo landing page. Start a sandbox
Choosing a button creates (or resumes) your sandbox and sets a signed cookie. In the run screen the banner reads "Simulated sandbox – fictional data" and a timer shows when the sandbox expires.
A running sandbox. Reset the demo
Under Demo tools press Reset demo and confirm. Your sandbox is rebuilt from the seed and the demo returns to the first scene. Nothing outside your sandbox changes.
Reset confirmation. End the sandbox
Press End sandbox. Your private copy is deleted now. You can start a new one at any time.
Ending a sandbox.
What the results mean
| Control or message | Meaning |
|---|---|
| Use live AI | Real model calls, limited by a budget (25 calls by default), then recorded answers. Needs a server key. |
| Skip cooling-off (demo only) | Ends the Tier 3 pause in this sandbox. It is audited. |
| Sandbox has expired | Sandboxes last 4 hours by default. |
| All demo sandboxes are busy | The server limit (40 active by default) was reached. |
| You are going a little fast | A rate limit applied. The app retries. |
Reset adds a signed DEMO_RESET entry to the new audit chain.
Tips and common mistakes
- Expired sandboxes are removed lazily when a new one is created. The command
pnpm demo:cleanupdrops expired ones. A scheduler can callPOST /demo/cleanupwith the cron secret. pnpm demo:checkruns all 12 steps in replay and fails on any missing recording. Run it before a presentation.pnpm demo:recordre-records AI answers and spends model tokens.- Presenter mode keys: right and left arrows, Space, R, B and N.
pnpm db:reset-demoresets the shared seed database. It is different from the per-sandbox Reset demo button.