Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

docs(ops): extend the event prompt packs with live-ops and feature orders

nirholasced506cf5e24
diff --git a/prompts/event/00-CONTEXT.md b/prompts/event/00-CONTEXT.md
new file mode 100644
index 000000000..0eab4a841
--- /dev/null
+++ b/prompts/event/00-CONTEXT.md
@@ -0,0 +1,32 @@
+# Event pack · shared context
+
+Read this file before running any work order in this directory. Every order assumes these facts.
+
+## The event
+
+- **What:** $THREE Community Day, a live community event held inside the `/play` world.
+- **When:** 2026-08-08. The authoritative start/end times live in [public/event.json](../../public/event.json) and NOWHERE else. If the owner has stated a different time in chat, update that file first; every countdown surface reads it.
+- **Where:** the flagship $THREE world:
+ `/play?coin=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump&name=three.ws&symbol=three`
+- **The promoted coin is $THREE** (CA `FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`). Nothing referencing any other crypto project gets committed without explicit owner approval (CLAUDE.md commit gate).
+
+## The surface
+
+`/play` is Coin Communities, the browser isometric MMO. Orient with the `/play` rows in [STRUCTURE.md](../../STRUCTURE.md) before touching anything. Key facts that bite:
+
+- Entry HTML: [pages/play.html](../../pages/play.html). Client core: [src/game/coincommunities.js](../../src/game/coincommunities.js) (world) and [src/game/coincommunities-ui.js](../../src/game/coincommunities-ui.js) (lobby + HUD chrome). Both are under active concurrent development; prefer the self-attaching side-module pattern ([src/game/ambient-crowd.js](../../src/game/ambient-crowd.js), [src/game/event-countdown.js](../../src/game/event-countdown.js)) over editing them.
+- Server: the Colyseus room in [multiplayer/src/rooms/WalkRoom.js](../../multiplayer/src/rooms/WalkRoom.js). All economy, quest, combat, and cosmetic state is server-authoritative. Never grant anything client-side.
+- Design language: monochrome. White is the only color (`--cc-*` tokens in [src/game/coincommunities.css](../../src/game/coincommunities.css)). Match it exactly; a colored banner reads as a bug on this surface.
+- The countdown feature already shipped: [src/game/event-countdown.js](../../src/game/event-countdown.js) mounts a lobby banner and an in-world pill from `public/event.json` (states: upcoming, live, over; auto-unmounts after `endsAt`).
+
+## Conventions binding every order here
+
+- CLAUDE.md governs: no mocks, no TODOs, no em-dash anywhere, execute without interviewing the owner, deploys and pushes are owner-gated, changelog entry for every user-visible change (`data/changelog.json`, then `npm run build:pages`).
+- Commit with explicit paths only (concurrent agents share this worktree; `git add -A` sweeps their work).
+- Scope `npm run check:rules -- --paths <your files>` to your own touched files.
+- Verify UI work in a real browser (`npm run dev`, port 3000). For the game world end to end use `npm run dev:walk-all`.
+- Append a dated entry to [PROGRESS.md](PROGRESS.md) when you finish an order: what shipped, what remains, evidence.
+
+## Run order
+
+01 and 07 are the spine: 01 makes the countdown real for the actual event time, 07 is the final go/no-go sweep and must run LAST, after every other order that is going to land has landed. 02 through 06 are independent of each other; run as many as time allows, highest value first: 02 (polish), 03 (landing page), 04 (event quests), 05 (cosmetic drop), 06 (photo mode).
diff --git a/prompts/event/01-event-countdown.md b/prompts/event/01-event-countdown.md
new file mode 100644
index 000000000..c6ded1542
--- /dev/null
+++ b/prompts/event/01-event-countdown.md
@@ -0,0 +1,49 @@
+# 01 · Event countdown: real times, every surface, verified live
+
+**How to run:** paste this whole file into a fresh Claude Code chat in the three.ws repo, or tell the agent to read `prompts/event/01-event-countdown.md`. Read [00-CONTEXT.md](00-CONTEXT.md) first.
+
+**Operating clause:** finish 100%. Never end the session with a question, an unexecuted plan, or "let me know". CLAUDE.md hard rules bind: no mocks, no TODO comments, no em-dash characters, commits stage explicit paths only, pushes and production deploys are owner-gated.
+
+## Step 0 · Re-derive the current state (do not trust this file's claims)
+
+```bash
+cat public/event.json
+ls -la src/game/event-countdown.js
+grep -n "event-countdown" pages/play.html
+git log --oneline -5 -- src/game/event-countdown.js public/event.json
+```
+
+Expected baseline: the countdown module exists, is wired into `pages/play.html`, and `public/event.json` carries a start time of 2026-08-08T17:00:00Z, which was a reasonable default chosen by the agent that built it, NOT a time the owner confirmed. Whatever you find, the tasks below are stated against intent, not against that baseline; skip anything already true.
+
+## Tasks
+
+1. **Set the real event window.** If the owner's instructions (this chat, recent commits, `docs/`, or marketing copy in the repo) state the actual start/end time, write it into `public/event.json`. If no authoritative time exists anywhere, keep the current value and flag it as the single owner decision in your report; do not stall on it.
+2. **Verify the two mounted views in a real browser** (`npm run dev`, open `http://localhost:3000/play`):
+ - Lobby banner: name, tagline, local-time start line, ticking D/H/M/S clock, CTA into the $THREE world. Hover, active, and focus-visible states on the CTA.
+ - In-world pill: enter any world (or open `/play?coin=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`), confirm the top-center pill ticks, its dismiss button works and persists across reload (localStorage key `cc-event-dismissed:<startsAt>`), and the CTA link is absent when already standing in the event world.
+ - State transitions: temporarily set `startsAt` a minute in the future and watch upcoming flip to live (pulsing dot, LIVE copy) without a reload; set `endsAt` in the past and confirm everything unmounts. Restore the real values afterward.
+3. **Mobile pass:** at 375px width, the banner wraps cleanly and the pill sits above the touch controls without covering chat or the joystick.
+4. **Extend the countdown to the home page** so the event is visible before anyone reaches `/play`: reuse the same `public/event.json` (never a second copy of the times) and mount a compact banner on `/` consistent with the home page's own design system. Read how the home page is built before touching it; if it has a hero or announcement slot, use it. Same three states, same auto-unmount.
+5. **Changelog:** one `data/changelog.json` entry (tags: `feature`) written for holders, then `npm run build:pages`.
+
+## Definition of done
+
+- [ ] `public/event.json` carries the best-known real event window; the one open owner decision (if any) is a single line in the report, not a blocker.
+- [ ] All three states (upcoming, live, over) observed in a real browser on `/play`, plus the home-page banner, with zero console errors.
+- [ ] Dismissal persists across reload; reduced-motion users get no pulse animation (verify with DevTools emulation).
+- [ ] `npm run check:rules -- --paths <files you touched>` passes; `npm run test:core` passes.
+- [ ] Changelog entry present and `npm run build:pages` clean.
+- [ ] Work committed with explicit paths and a descriptive `type(scope):` message; PROGRESS.md appended.
+
+## Never blocked
+
+| Blocker | Resolution |
+|---|---|
+| Real event time unknown | Keep the configured default, state it in the report as the one owner edit, ship everything else. |
+| Home page structure unfamiliar | `STRUCTURE.md` maps it; read the entry HTML and its JS before editing. |
+| Dev server port busy | Another agent is running it; reuse the running instance instead of starting a second. |
+| Lobby DOM changed under you | The module waits for `#cc-lobby .cc-lobby-inner` and mounts nothing if absent; re-read `coincommunities-ui.js` for the current class names and adjust the selector. |
+
+## Report format
+
+State: the event window shipped, the surfaces verified (with what you actually observed for each state), console cleanliness, test results verbatim, files committed, and any single owner decision left open.
diff --git a/prompts/event/02-play-polish-sweep.md b/prompts/event/02-play-polish-sweep.md
new file mode 100644
index 000000000..03cab420b
--- /dev/null
+++ b/prompts/event/02-play-polish-sweep.md
@@ -0,0 +1,48 @@
+# 02 · /play polish sweep: every state designed, every path smooth, mobile solid
+
+**How to run:** paste this whole file into a fresh Claude Code chat in the three.ws repo, or tell the agent to read `prompts/event/02-play-polish-sweep.md`. Read [00-CONTEXT.md](00-CONTEXT.md) first.
+
+**Operating clause:** finish 100%. Never end the session with a question, an unexecuted plan, or "let me know". CLAUDE.md hard rules bind: no mocks, no TODO comments, no em-dash characters, commits stage explicit paths only, pushes and production deploys are owner-gated. This surface is under concurrent development: re-read a file immediately before each edit and stage only your own paths.
+
+## Step 0 · Re-derive the current state
+
+```bash
+git log --oneline -10 -- src/game/
+git status --short src/game/ scripts/play-mobile-repro.mjs
+npm run dev & # port 3000; reuse if already running
+```
+
+Open `http://localhost:3000/play` in a real browser with DevTools open. Then walk the FULL user journey while logging every defect you see into a scratch list: cold load, lobby, avatar pick/create/upload, search, entering the $THREE world (`?coin=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`), moving, chat, emotes, store, bank, wheel, quests board, friends drawer, leaving back to the lobby. Repeat at 375px width with touch emulation. Recent commits mention mobile-perf work on avatar chips and honest lobby/HUD states; whatever already shipped, do not redo.
+
+## Tasks
+
+Work the defect list you just built, worst first. Minimum bar to sweep for, with the usual owners of each class:
+
+1. **Console hygiene:** zero errors and zero warnings from our code across the whole journey. Every one you see gets root-caused, not filtered.
+2. **Every async surface has a designed loading, empty, and error state.** Lobby coin grid, search results, avatar gallery, friends drawer, jobs board, store/bank/wheel panels. Empty states say what to do next; error states say how to recover. The lobby and HUD chrome live in [src/game/coincommunities-ui.js](../../src/game/coincommunities-ui.js); panel UIs in [src/game/economy-ui.js](../../src/game/economy-ui.js), [src/game/quests-ui.js](../../src/game/quests-ui.js), [src/game/spin-wheel-ui.js](../../src/game/spin-wheel-ui.js), [src/game/friends-panel.js](../../src/game/friends-panel.js).
+3. **Interactive-state audit:** every clickable element has hover, active, and focus-visible states, and is keyboard-reachable. Tab through the lobby end to end; fix what the ring skips.
+4. **Mobile:** at 375px and 320px nothing overlaps, nothing overflows, touch targets are 40px+, the joystick/chat/emote/HUD stack leaves the world visible. Use `scripts/play-mobile-repro.mjs` if present as the harness for a scripted repro.
+5. **Perceived speed:** the lobby must feel instant. Check for layout shift on coin-card image load (reserve aspect boxes), avatar chip pop-in, and any spinner that could be a skeleton. Do not add heavy work to boot; lazy-load anything new.
+6. **Copy pass:** every string a player sees during the journey reads like a product, not a log line. Plain language, no jargon, no dead-end messages.
+7. For anything you fix that players would notice, one collective `data/changelog.json` entry (tags: `improvement`), then `npm run build:pages`.
+
+## Definition of done
+
+- [ ] The full journey above runs clean in a real browser: zero console errors, zero warnings from our code, on desktop and at 375px.
+- [ ] Your scratch defect list is empty or every remaining item is listed in the report with a reason it was out of scope (someone else's in-flight work, server-side, needs owner).
+- [ ] Keyboard-only run of the lobby reaches every control.
+- [ ] `npm run check:rules -- --paths <files you touched>` passes; `npm run test:core` passes; if you touched files with existing tests (`tests/`), those suites pass.
+- [ ] Changelog entry present; committed with explicit paths; PROGRESS.md appended.
+
+## Never blocked
+
+| Blocker | Resolution |
+|---|---|
+| Multiplayer server absent locally | `npm run dev:walk-all` boots web + colyseus together; solo-world flows also work offline by design, so verify what you can and say which lane you used. |
+| A defect lives in a file another agent has dirty in `git status` | Fix only if trivial and non-overlapping; otherwise record it in the report as in-flight elsewhere and move on. |
+| A fix needs a server change in `multiplayer/` | That is in scope; the room handlers are in `multiplayer/src/rooms/WalkRoom.js` and the module tests under `tests/` show the patterns. |
+| Playwright missing browsers | `npx playwright install chromium`. |
+
+## Report format
+
+The defect list with each item marked fixed / out-of-scope-and-why, the journey verification (desktop + 375px, console state), test output verbatim, files committed.
diff --git a/prompts/event/03-event-landing-page.md b/prompts/event/03-event-landing-page.md
new file mode 100644
index 000000000..641aac7eb
--- /dev/null
+++ b/prompts/event/03-event-landing-page.md
@@ -0,0 +1,55 @@
+# 03 · /event landing page: one link to share everywhere
+
+**How to run:** paste this whole file into a fresh Claude Code chat in the three.ws repo, or tell the agent to read `prompts/event/03-event-landing-page.md`. Read [00-CONTEXT.md](00-CONTEXT.md) first.
+
+**Operating clause:** finish 100%. Never end the session with a question, an unexecuted plan, or "let me know". CLAUDE.md hard rules bind: no mocks, no TODO comments, no em-dash characters, commits stage explicit paths only, pushes and production deploys are owner-gated.
+
+## Step 0 · Re-derive the current state
+
+```bash
+ls pages/ | grep -i event
+grep -n "\"/event\"" vercel.json data/pages.json
+cat public/event.json
+```
+
+If `/event` already exists, this order becomes an upgrade pass over it; skip what is already true.
+
+## The feature
+
+A single public page, `https://three.ws/event`, that the community shares before and during the event. It is the event's front door for someone with zero context:
+
+- **Hero:** event name, tagline, the same ticking countdown `/play` shows (read `public/event.json`; one source of truth, never a second copy of the times), flipping to a LIVE state at start.
+- **The one CTA:** a large "Join the $THREE world" button into `/play?coin=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump&name=three.ws&symbol=three`. Above the fold, keyboard-focusable, obvious on a phone.
+- **What to expect:** a short section for newcomers: you get an avatar (create from a photo, pick a preset, or bring a GLB), you drop into a shared 3D world, you can gather, fight, trade, spin the wheel, and hang out. Write it from what `/play` actually does (read the `/play` rows of `STRUCTURE.md`); promise nothing that is not live.
+- **Schedule:** render the start/end window in the visitor's local timezone, with an "Add to calendar" link (a generated `.ics` served from the page or a data URL; no third-party calendar service).
+- **Live section (during the event):** when between `startsAt` and `endsAt`, surface something real and live, not decoration. Cheapest honest option: the world's live population via whatever presence endpoint the lobby's coin grid already uses (read how [src/game/coincommunities.js](../../src/game/coincommunities.js) fetches live counts and reuse that API).
+
+## Tasks
+
+1. Build the page under [pages/](../../pages/) following the repo's existing static-page pattern (pick a recent page as the template for head tags, OG image via `/api/page-og`, theme boot, i18n annotations). Its JS module lives under [src/](../../src/) like its neighbors.
+2. Route it: add the `/event` route to `vercel.json` next to the other page routes (the Cloud Run server reads that route table at boot).
+3. Register it in [data/pages.json](../../data/pages.json) with today's `added` date: this feeds the sitemap, `llms.txt`, and the changelog automatically. Run `npm run check:pages`.
+4. Design bar: this page will be screenshotted and shared. Monochrome-compatible with the site's design tokens, responsive at 320/768/1440, transitions on state change, dark and light themes both correct.
+5. Verify in a real browser: upcoming state, live state (temporarily shift the config times, then restore), ended state (after `endsAt`, the page must still make sense: say the event happened and route people to `/play`).
+6. `npm run build:pages`; confirm the changelog picked the page up (new-page entries flow from `data/pages.json` automatically; add nothing manual unless you shipped extra user-visible behavior beyond the page itself).
+
+## Definition of done
+
+- [ ] `/event` renders in all three states with zero console errors, desktop and 375px, both themes.
+- [ ] The countdown on `/event` and the one on `/play` read the same `public/event.json`; grep proves no second copy of the times exists.
+- [ ] The `.ics` download imports cleanly into a calendar app.
+- [ ] Route resolves in dev (`npm run dev`, `http://localhost:3000/event`); `npm run check:pages` passes; `npm run test:core` passes; `npm run check:rules -- --paths <files you touched>` passes.
+- [ ] Committed with explicit paths; PROGRESS.md appended.
+
+## Never blocked
+
+| Blocker | Resolution |
+|---|---|
+| Unsure which page to use as the HTML template | Pick the most recently added path in `data/pages.json` and read its `pages/*.html` + `src/*.js` pair. |
+| No presence endpoint found for the live section | The lobby grid provably renders live counts; trace its fetch in `coincommunities-ui.js` / `coincommunities.js` and use the same endpoint. If it truly is socket-only, show the live state without a number rather than a fake one. |
+| OG image | `/api/page-og` generates one from query params; copy a neighbor page's tag. |
+| Route table confusion | `server/index.mjs` reads `vercel.json` `routes` at boot; mirror an existing static-page entry exactly. |
+
+## Report format
+
+The URL, the three states as observed, where the live data comes from, check/test output verbatim, files committed.
diff --git a/prompts/event/04-event-quests-leaderboard.md b/prompts/event/04-event-quests-leaderboard.md
new file mode 100644
index 000000000..32e069ded
--- /dev/null
+++ b/prompts/event/04-event-quests-leaderboard.md
@@ -0,0 +1,56 @@
+# 04 · Event day in-world: a quest line and a live leaderboard
+
+**How to run:** paste this whole file into a fresh Claude Code chat in the three.ws repo, or tell the agent to read `prompts/event/04-event-quests-leaderboard.md`. Read [00-CONTEXT.md](00-CONTEXT.md) first.
+
+**Operating clause:** finish 100%. Never end the session with a question, an unexecuted plan, or "let me know". CLAUDE.md hard rules bind: no mocks, no TODO comments, no em-dash characters, commits stage explicit paths only, pushes and production deploys are owner-gated. Everything here is server-authoritative: the client renders, the server decides.
+
+## Step 0 · Re-derive the current state
+
+```bash
+sed -n '1,80p' multiplayer/src/quests.js
+sed -n '1,60p' multiplayer/src/quest-zones.js
+grep -rn "leaderboard" multiplayer/src src/game api | head -20
+cat public/event.json
+```
+
+Read the quest engine and its existing job definitions end to end before designing anything: the event quest line must ride the proven engine, not a parallel one. If a leaderboard already exists anywhere, extend it instead of building a second.
+
+## The feature
+
+During the event window (the same `public/event.json` every other surface reads), the $THREE world gets:
+
+1. **An event quest line:** 3 to 5 jobs on the existing jobs board, tagged as event jobs, spanning what the world already does well: a gathering job, a delivery driving job, a combat job in a danger zone, a social job (e.g. visit named landmarks). Real cash/XP payouts through the existing server-side completion path. Outside the event window the jobs simply do not appear; gate them server-side on the clock, never client-side.
+2. **A live event leaderboard:** ranked by event-quest completions (tiebreak: total event cash earned), persisted server-side for the duration of the event, visible two ways:
+ - In-world: a panel reachable from the jobs board UI ([src/game/quests-ui.js](../../src/game/quests-ui.js)) showing top 10 plus your own rank.
+ - The event page (`/event`, order 03) if it exists: reuse the same API. One read endpoint under [api/](../../api/), shaped like the neighboring `api/play/*` handlers.
+3. **Winners are announced, not paid:** the leaderboard states that prizes are settled by the owner after the event. Do NOT wire any automatic on-chain payout; an on-chain spend is a CLAUDE.md stop-and-ask gate and the owner runs it manually after the event.
+
+## Tasks
+
+1. Define the event jobs in the quest engine's own format (`multiplayer/src/quests.js` / `quest-zones.js`), gated on the event window read server-side from the same config values (load `public/event.json` on the server; do not duplicate the times in code).
+2. Track per-player event completions in the room's persistence the same way the economy persists purse/bank (see `multiplayer/src/economy.js` for the pattern and where persisted fields live).
+3. Serve the leaderboard: a room message for the in-world panel (pattern: existing handlers in `multiplayer/src/rooms/WalkRoom.js`) and one HTTP read endpoint for the web.
+4. Client panel in `quests-ui.js`: loading, empty ("no event runs yet, be the first"), populated, and error states, with your-own-rank pinned; matches the monochrome tokens; hover/focus states on everything clickable.
+5. Tests: the quest gating (in/out of window) and leaderboard ranking logic get unit tests under [tests/](../../tests/), following `tests/spin-wheel.test.js` conventions.
+6. Changelog entry (tags: `feature`) written for holders; `npm run build:pages`.
+
+## Definition of done
+
+- [ ] With the window temporarily set live, the jobs appear on the board, complete end to end (`npm run dev:walk-all`, real browser), pay out server-side, and rank on the leaderboard; with the window closed, none of it exists. Config restored afterward.
+- [ ] Leaderboard read endpoint returns real data (curl it in the report).
+- [ ] All new logic unit-tested; `npm test` passes with no `tail` piping; `npm run check:rules -- --paths <files you touched>` passes.
+- [ ] No client-trusted state anywhere in the diff.
+- [ ] Changelog entry present; committed with explicit paths; PROGRESS.md appended.
+
+## Never blocked
+
+| Blocker | Resolution |
+|---|---|
+| Quest engine format unclear | The existing jobs in `quests.js` are the spec; clone the closest one per event job and adjust. |
+| Where persisted player state lives | Trace how the bank balance survives reconnects in `economy.js` + `WalkRoom.js`; use the same store. |
+| Colyseus locally | `npm run dev:walk-all` runs it; its README under `multiplayer/` covers ports. |
+| Prize mechanics tempt an on-chain payout | Do not build it. The gate is absolute; ranked list + owner settles manually is the design. |
+
+## Report format
+
+Jobs shipped (names + objectives), the end-to-end run as observed, curl of the leaderboard endpoint, test output verbatim, files committed.
diff --git a/prompts/event/05-event-cosmetic-drop.md b/prompts/event/05-event-cosmetic-drop.md
new file mode 100644
index 000000000..722f77672
--- /dev/null
+++ b/prompts/event/05-event-cosmetic-drop.md
@@ -0,0 +1,52 @@
+# 05 · Event cosmetic drop: a free wearable every attendee keeps
+
+**How to run:** paste this whole file into a fresh Claude Code chat in the three.ws repo, or tell the agent to read `prompts/event/05-event-cosmetic-drop.md`. Read [00-CONTEXT.md](00-CONTEXT.md) first.
+
+**Operating clause:** finish 100%. Never end the session with a question, an unexecuted plan, or "let me know". CLAUDE.md hard rules bind: no mocks, no TODO comments, no em-dash characters, commits stage explicit paths only, pushes and production deploys are owner-gated.
+
+## Step 0 · Re-derive the current state
+
+```bash
+sed -n '1,80p' multiplayer/src/shop.js
+grep -rn "cosmetic" src/game/cosmetics-shop.js src/game/cosmetics-wardrobe.js multiplayer/src | head -30
+cat public/event.json
+```
+
+Read how the wardrobe grants, persists, and equips items before designing. Two rails exist: the $THREE-paid boutique (on-chain settle) and the free/cash wardrobe path. This drop rides the FREE path; it is a souvenir, not a sale.
+
+## The feature
+
+A commemorative wearable ("$THREE Community Day 2026" themed; e.g. an event badge, aura, or hat consistent with what the wardrobe system can already attach to an avatar) that any player who joins the $THREE world DURING the event window is granted automatically, keeps forever, and can equip from the wardrobe afterward.
+
+- **Grant rule, server-side only:** on join of the event world between `startsAt` and `endsAt` (read from `public/event.json` on the server, the same single source every surface uses), grant the item once per account/player identity, idempotently, through the same persistence the wardrobe already trusts.
+- **The moment matters:** when the grant lands, the player sees a real in-world moment: a toast plus the wardrobe badge, matching the monochrome design language. No modal that interrupts play.
+- **Scarcity is honest:** after `endsAt` the item is simply never granted again. No countdown-to-FOMO mechanics, no purchase path.
+
+## Tasks
+
+1. Author the cosmetic asset the same way existing wardrobe items are authored (trace one existing item from catalog entry to render to find every place an item is declared). If items are GLB attachments, build a tasteful low-poly one (well under 1 MB) and stage it where the others live; if they are material/effect entries, define one in that format.
+2. Server: the join-time grant in `multiplayer/src/rooms/WalkRoom.js` + persistence, gated on the event window and the event coin, idempotent across reconnects.
+3. Client: grant toast, wardrobe listing, equip/unequip verified on a real avatar in a real browser (`npm run dev:walk-all`).
+4. Tests: grant idempotency and window gating unit-tested under [tests/](../../tests/).
+5. Changelog entry (tags: `feature`) telling holders the souvenir exists and how to get it; `npm run build:pages`.
+
+## Definition of done
+
+- [ ] With the window temporarily live: join grants the item exactly once (rejoin does not duplicate), it equips, persists across a reconnect, and other players see it. Config restored afterward.
+- [ ] With the window closed: no grant, and previously granted items still equip.
+- [ ] Asset budget respected (report the file size); no console errors.
+- [ ] `npm test` passes; `npm run check:rules -- --paths <files you touched>` passes.
+- [ ] Changelog entry present; committed with explicit paths; PROGRESS.md appended.
+
+## Never blocked
+
+| Blocker | Resolution |
+|---|---|
+| Unsure what item type the wardrobe supports | The existing catalog is the spec; pick the item type with the most existing examples. |
+| Asset creation | The repo's own text-to-3D forge lane can generate a GLB (see the forge surfaces in `STRUCTURE.md`), or build a simple primitive-based accessory in code like existing props. |
+| Identity for "once per player" | Use whatever identity the bank balance persists against; it already survives reconnects. |
+| Tempted to charge $THREE for it | No. This order is the free souvenir; paid cosmetics stay the boutique's existing catalog. |
+
+## Report format
+
+The item (name, type, size), grant flow as observed including the idempotency rejoin, test output verbatim, files committed.
diff --git a/prompts/event/06-photo-mode-share.md b/prompts/event/06-photo-mode-share.md
new file mode 100644
index 000000000..6b01a9150
--- /dev/null
+++ b/prompts/event/06-photo-mode-share.md
@@ -0,0 +1,52 @@
+# 06 · Photo mode: the screenshot people post
+
+**How to run:** paste this whole file into a fresh Claude Code chat in the three.ws repo, or tell the agent to read `prompts/event/06-photo-mode-share.md`. Read [00-CONTEXT.md](00-CONTEXT.md) first.
+
+**Operating clause:** finish 100%. Never end the session with a question, an unexecuted plan, or "let me know". CLAUDE.md hard rules bind: no mocks, no TODO comments, no em-dash characters, commits stage explicit paths only, pushes and production deploys are owner-gated.
+
+## Step 0 · Re-derive the current state
+
+```bash
+sed -n '1,60p' src/walk-capture.js
+grep -rn "capture\|screenshot" src/game/*.js | head -20
+```
+
+`/walk` already has a capture system (`src/walk-capture.js`). Read it fully first: if it can be shared or adapted, that beats a second implementation. Check whether `/play` already exposes any capture affordance; whatever exists, extend rather than duplicate.
+
+## The feature
+
+Event attendees will want proof they were there. Give `/play` a photo mode worth posting:
+
+- **Trigger:** a HUD camera button plus the `P` key (check the existing keybinding map in [src/game/coincommunities.js](../../src/game/coincommunities.js) for collisions first; pick a free key if `P` is taken).
+- **The shot:** captures the WebGL canvas at render resolution with the HUD chrome excluded, composited onto a clean share card: the world screenshot, the three.ws mark, the coin's name/symbol, and during the event window (read `public/event.json`) a subtle "$THREE Community Day 2026" stamp. Canvas compositing client-side; no server round trip.
+- **The flow:** press, a shutter beat (respecting `prefers-reduced-motion`), a preview card slides in with Download and Copy-to-clipboard actions, Escape or X closes it. While the preview is open the world keeps running behind it.
+- **Wire the capture path properly:** WebGL canvases need `preserveDrawingBuffer` or a same-frame read; check how the renderer is created in `coincommunities.js` and how `walk-capture.js` solved this, and take the zero-cost path (render-then-read in the same rAF), never a permanent `preserveDrawingBuffer` flip without measuring.
+
+## Tasks
+
+1. Build it as a lazy-loaded module under [src/game/](../../src/game/) (the pattern every heavy panel on this surface uses): nothing loads until first use.
+2. HUD button with hover/active/focus states, and the keybinding, both discoverable (the button's title names the key).
+3. The share card design: monochrome, tasteful, correct at portrait and landscape canvas sizes. This is the artifact people will judge the platform by; hit the screenshot-and-share bar.
+4. Verify in a real browser desktop + mobile emulation: capture in the lobby-adjacent world, in a dense scene, and during zen mode (decide and implement the sane behavior: photo mode should work in zen, it is what zen is for).
+5. Changelog entry (tags: `feature`); `npm run build:pages`.
+
+## Definition of done
+
+- [ ] Press-to-preview-to-download works with zero console errors; the downloaded PNG contains the world, not a black frame (the classic drawing-buffer bug), on Chromium and one other engine.
+- [ ] Copy-to-clipboard produces a pasteable image where the Clipboard API allows it, and the button communicates unsupported browsers honestly.
+- [ ] No measurable frame cost when photo mode is not open (lazy import verified in the network tab).
+- [ ] `npm run check:rules -- --paths <files you touched>` passes; `npm run test:core` passes.
+- [ ] Changelog entry present; committed with explicit paths; PROGRESS.md appended.
+
+## Never blocked
+
+| Blocker | Resolution |
+|---|---|
+| Black captures | Same-frame read: perform the canvas read inside the render loop right after the frame draws; `walk-capture.js` shows the working pattern. |
+| Clipboard API unavailable (Safari/firefox variants) | Feature-detect `navigator.clipboard.write` + `ClipboardItem`; fall back to download-only with the copy button hidden, not broken. |
+| Keybinding collisions | The input handling in `coincommunities.js` is the registry; read it and pick an unbound key. |
+| Font/mark assets for the card | The brand SVG is inline in `coincommunities-ui.js` and `/three.svg` is served; reuse, never re-draw. |
+
+## Report format
+
+The trigger shipped, the capture path chosen and why, browsers verified, a note on where the sample card was saved locally for the owner to eyeball, files committed.