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(event): add the preflight verification pack and register the new play surfaces

nirholas1144ed520d7d
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 07369f2e5..a03e6d761 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,8 +10,10 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **A transaction guard now stands between the chat agent and your wallet**: Every fund-moving tool the chat agent can call (SOL and token transfers, Jupiter and 1inch swaps, pump.fun buys and sells, token launches) is now preflighted through a seven-layer policy engine before the tool even runs: a security blacklist, approval policy, dollar caps with live SOL pricing, a spend envelope with a token and destination firewall, an MEV slippage clamp that automatically tightens risky swap parameters, and an hourly budget for paid agent calls. A blocked call never reaches your wallet, and the approval popup now shows the verdict: what was checked, what was flagged, and what could not be verified. The engine ships as an open building block, @three-ws/agent-runtime, with an agent decision loop and a tamper-evident action ledger, plus a public preflight endpoint at /api/agent/guard for your own agents. (`/docs/agent-runtime`) `[feature, security, sdk]`
- **Agent payments: fresher signatures and a health readout that names the real cause**: Two reliability fixes for the x402 agent economy on Solana. First, autonomous payments are now signed against a fresh blockhash instead of one fetched at the start of a long batch, which eliminates the class of settlement failures where a payment expired before it could reach the chain; a refused payment also retries with a brand-new blockhash. Second, the platform health readout at /api/healthz now cross-checks failed settlements against the settlement engine's own records, so a deliberate spending pause (the daily fee budget protecting the treasury) is reported as exactly that instead of masquerading as a payment-rail outage. Operators and holders watching platform status now see the true cause and the true rail health at a glance. `[fix, infra]`
- **Avatars now save in a clean, neutral stance instead of a frozen animation frame**: Saving an avatar in the Studio used to capture whatever the idle animation happened to be doing at that exact instant, and freeze it into the model permanently. Because the saved file carries no animation of its own, that one arbitrary frame became the avatar's pose everywhere it appeared: arms tucked in at odd angles, one side sitting differently from the other, and a different result each time you saved the same avatar. Avatars are now saved in their proper neutral pose, which is symmetric and identical on every save, so downloads, animation retargeting and clothing all start from the stance the body was actually built around. Your gallery thumbnail still shows the relaxed idle pose it always did. `[fix, improvement]`
+- **Change your avatar without leaving the world in Play**: You no longer have to exit a world (and lose your spot) to switch avatars in Play. A new Avatar button in the world HUD, or the V key, opens a panel with the avatars saved to your three.ws account, community quick picks, the full gallery browser, a paste-a-link field, a .glb/.vrm upload, and the avatar creator. Your new look appears on you instantly and everyone else in the world sees it live. If a model fails to load, you keep the avatar you were wearing. (`/play`) `[feature]`
- **Chat gets an agent that does its own research: pick a model that uses real tools**: There is a new option in the chat model picker: three.ws Agent (server tools). Ask it a question and instead of answering from memory, it works the problem with live platform tools on the server: real token prices and market caps, trending coins, web search, SOL balances for any wallet, the trade-firewall rug and honeypot verdict on any mint, smart-money activity, and .sol name resolution. It loops through the tools it needs, then streams back one grounded answer. Every tool it can touch is read-only and every call passes the platform guard first; it cannot transfer, swap, or sign anything. Developers get the same loop as an OpenAI-compatible endpoint at /api/agent/run, so any existing OpenAI client can point at it unchanged. (`/docs/agent-runtime`) `[feature, improvement]`
- **Game-Ready export stops charging $THREE holders who connected a wallet**: Exporting a model for Unity or Unreal is free if you hold $THREE, but the export panel only recognised holders who had signed in with a wallet linked to their account. If you had simply connected your wallet to the site, the way most people browse the Forge, the panel could not see what you hold and asked you to pay the per-export fee your holding already covered. It now proves your holding from whichever identity you actually have: a linked account signs silently, and a connected wallet proves ownership with one free signature that never moves funds. That signature is only ever requested when your wallet genuinely clears the tier, so a non-holder is never prompted for something that could not unlock anything. The panel also now tells you your real price before you export: holders read 'free for you', everyone else reads the exact per-export price. (`/forge`) `[fix, improvement]`
+- **Play now counts down to the next community event**: The Play lobby shows a live banner for the upcoming $THREE Community Day: the event name, when it starts in your own timezone, and a ticking countdown. Once you are inside a world, a small dismissible reminder pill keeps the countdown in view, and when the event goes live both switch to a LIVE marker with a one-click jump into the $THREE world. After the event ends everything quietly disappears on its own. (`/play`) `[feature]`
- **Play: phones stop getting dropped out of the world seconds after joining**: Players on phones were being thrown out of /play within seconds of entering a world, seemingly at random. The cause was memory: the decorative crowd drew random models from the public avatar gallery with no size limit, no reuse and no cleanup, and community models there run as large as 24 MB. A phone that happened to draw a few heavy ones pulled tens of megabytes of 3D geometry within seconds of entering, and the browser killed the tab. The crowd now works to a memory budget sized for the device, downloads each model once and reuses it, and releases everything when you leave a world. The lobby's avatar picker also stops downloading full models on phones when it already has a real picture of them. And if a phone does reclaim graphics memory mid-session, the world now pauses rendering and recovers instead of freezing on a dead frame. (`/play`) `[fix, improvement]`
- **The chat no longer refuses questions it was never asked to refuse**: Every message sent to a three.ws chat surface used to pass through a small safety classifier of ours before the actual model saw it, and when that classifier said "unsafe" you got a canned brush-off instead of an answer. It was wrong often enough to be a real problem: it judged one message at a time with no memory of the conversation, so an ordinary follow-up in a security, trading, or fiction discussion could read as alarming on its own and get blocked, and you were left staring at a refusal no model had actually made. That layer is gone from all of it: the main chat, the /chat app, the embeddable concierge, the widget chat on customer sites, and the agent-idea box on /create. Your question now goes to the model as written. If a model declines something, that is the model exercising its own judgment in its own words, and you can switch models or bring your own key. Nothing else changed: the same rate limits still apply, and the separate confirmation step before any wallet action is untouched. The one place a content check still runs is outbound: what our own official Sketchfab account publishes under the three.ws name. (`/chat`) `[improvement, fix]`
- **The embedded avatar brain is now scoped to the sites it was meant for**: Every agent and avatar embed can chat for free because the platform pays for the model behind it, and the agent owner decides which sites may run that embed and which model it uses. Both of those controls only really applied to browsers: a request that simply left out the header a browser always sends slipped past the site allowlist entirely, and any caller could ask for a pricier model than the owner had chosen. Both are closed. A request with no site header now has to sign in (a session or an API key) instead of riding on an agent id anyone could read off our public sitemap, and a model that bills our own provider keys runs only when the owner selected it in the dashboard. There is also a new platform-wide ceiling across all of this traffic combined, so no amount of spreading requests around can drain the shared budget. Nothing changes for a normal embed on an allowlisted site. (`/docs/api-reference`) `[security, fix]`
diff --git a/STRUCTURE.md b/STRUCTURE.md
index bada065b3..d76cba71d 100644
--- a/STRUCTURE.md
+++ b/STRUCTURE.md
@@ -86,6 +86,7 @@ bottom.
| Frame governor & power saver (`/play`, `/club`, `/walk`) | [src/shared/frame-governor.js](src/shared/frame-governor.js), wired in [src/game/coincommunities.js](src/game/coincommunities.js), [src/club.js](src/club.js), [src/club-entrance.js](src/club-entrance.js), [src/walk.js](src/walk.js); toggle UI in [src/game/coincommunities-ui.js](src/game/coincommunities-ui.js) | Live | Shared frame-rate governor for the heavy 3D surfaces: 60fps while active, 30fps when idle or unfocused, plus a user-facing Power-saver mode (30fps + lighter rendering, "for a cooler, quieter machine") persisted in localStorage `tws-power-saver` and shared across surfaces (`getPowerSaver`/`setPowerSaver`/`onPowerSaverChange`, `trackWindowFocus`). Tests: [tests/frame-governor.test.js](tests/frame-governor.test.js) |
| Cinematic rendering (shared 3D quality bar) | [src/shared/cinematic-render.js](src/shared/cinematic-render.js) — `applyCinematicDefaults()`, `loadEnvironment()`, `detectQualityTier()`, `updateGroundContactShadow()`; curated HDRIs in [public/hdri/](public/hdri) (CC0, Poly Haven) | Live, wired into every three.js viewer on the platform (`/irl`, talk mode, `/play`, `/club`, `/ar`, `/xr`, `/walk`, `/coin3d`, marketplace lobby, demo pages, the `<agent-3d>`/`<page-agent>` embeds, and more) | One module every WebGLRenderer-based viewer calls into instead of re-deriving ACES tone mapping, sRGB output color space, HDRI image-based lighting, and soft VSM shadows per file. `detectQualityTier()` picks high/medium/mobile from real device signals and caps pixel ratio + disables shadows/HDRI accordingly; `loadEnvironment()` fetches a real photographic HDRI (`studio`/`outdoor`/`sunset`) and falls back to a procedural room environment on mobile tier or fetch failure (including cross-origin embed contexts where the absolute `/hdri/*.hdr` URL can't resolve). `/walk` keeps its own richer per-biome HDR system ([src/walk-environments.js](src/walk-environments.js)); surfaces already running a postprocessing tone-mapping pass (`/oracle-graph`, `/club-entrance`) only take the sRGB/HDRI half to avoid double-applying the curve. |
| `/play` Wheel of Fortune (Fortune's Folly; free/paid $THREE spins) | Client: [src/game/wheel-station.js](src/game/wheel-station.js) (the plaza landmark, proximity prompt, `E` to spin; lazy-imports the actual UI on first interact), spin UI [src/game/spin-wheel-ui.js](src/game/spin-wheel-ui.js) (20-segment wheel, free/paid flow, wallet signing). Server: [multiplayer/src/spin-wheel.js](multiplayer/src/spin-wheel.js) (paytable, RNG, level/cooldown/pack gates, handlers), split-payment settlement [multiplayer/src/game-token.js](multiplayer/src/game-token.js) (`buildSpinPayment`/`verifySpinPayment`; the same primitives the $THREE boutique uses), wheel location [multiplayer/src/world-features.js](multiplayer/src/world-features.js) `WHEEL`, persisted cooldown field in [multiplayer/src/economy.js](multiplayer/src/economy.js), handlers wired in [multiplayer/src/rooms/WalkRoom.js](multiplayer/src/rooms/WalkRoom.js) | In-repo | W09 of the World Online program (program brief retired to git history). Walk up to the wheel in the plaza and press `E`: one free spin every 12h (a real persisted cooldown; survives a disconnect, unlike the ephemeral per-action cooldowns everything else on this row's neighbors use), or pay $3 in `$THREE`; split 50% to the holder-rewards pool / 50% to the treasury, verified on-chain before any prize is granted, mirroring the boutique's proven settlement pattern exactly. Gated behind an average skill level of 3 (a light anti-farm floor, not a grind) and never lets a won prize get lost to a full pack; room for at least one possible item prize is checked before a spin is even offered, paid or free. All 20 wedges are equal-odds by design, matching the client's fixed-angle wheel rendering exactly (see the header note in `spin-wheel.js` on why that must never drift). Tests: [tests/spin-wheel.test.js](tests/spin-wheel.test.js). |
+| `/play` event countdown (lobby banner + in-world pill) | Self-attaching module [src/game/event-countdown.js](src/game/event-countdown.js) loaded by [pages/play.html](pages/play.html); config [public/event.json](public/event.json) (single source of the event window; the file is the edit surface for scheduling an event). Campaign pack: [prompts/event/](prompts/event/) | In-repo | While `public/event.json` describes an upcoming or live event, the lobby shows a banner (name, tagline, local-time start, ticking countdown, CTA into the event world) and the in-world view gets a dismissible top-center pill (dismissal persisted per event in localStorage). Three explicit states: upcoming, live (pulsing marker, CTA suppressed when already standing in the event world), and over (everything unmounts, the interval stops). Zero edits to `coincommunities*.js` by design (the ambient-crowd pattern): it waits for the lobby DOM and mounts nothing when the config is missing, malformed, or expired. |
| `/play` friends & presence (drawer, cross-world DMs) | Client: [src/game/friends-panel.js](src/game/friends-panel.js) (shared with `/walk`), mounted in [src/game/coincommunities.js](src/game/coincommunities.js) `_openFriends()`/`_closeFriends()`, HUD button + unread badge in [src/game/coincommunities-ui.js](src/game/coincommunities-ui.js), account-level state/polling in [src/friends.js](src/friends.js). Server: signed ticket verify + `socialHub` registration in [multiplayer/src/rooms/WalkRoom.js](multiplayer/src/rooms/WalkRoom.js), hub in [multiplayer/src/social-hub.js](multiplayer/src/social-hub.js) | In-repo | W09 of the World Online program (program brief retired to git history). Press `J` or the HUD `Friends` button to open a right-docked drawer showing your account's friend graph; live online/offline presence per coin world, requests, and DM threads; the same graph and threads `/walk` and the standalone `/friends` page already share. `community-net.js` now carries a signed presence ticket into every `walk_world` join and forwards the server's `social` push onto its own event bus, which is what actually makes a `/play` player visible to friends and able to receive a live DM; previously `/play` joined anonymously to the social graph even when signed in, so every player showed offline and DMs were dropped. Tests: [tests/play-friends-presence.test.js](tests/play-friends-presence.test.js). |
| Crew HQ (crews, tags, 3D presence room) | Page [pages/crews.html](pages/crews.html) + [src/crews-page.js](src/crews-page.js) + [src/crews.css](src/crews.css) `→ /crews` and `/crews/<TAG>`, data layer [api/_lib/crews-store.js](api/_lib/crews-store.js), endpoints [api/crews/](api/crews) (`index.js`, `[tag].js`, `search.js`, `directory.js`), presence [api/_lib/presence-store.js](api/_lib/presence-store.js), schema `api/_lib/migrations/2026-06-05-crews.sql` | Live | The group half of the social system: a crew is a set of accounts flying one 2-6 character tag, with one owner, one crew per account, and a public headquarters. The HQ renders the roster as a room rather than a list, each member standing as their own agent's 3D avatar (resolved by `standeesFor()`, private models never emitted) and lit by the same Redis presence the friends drawer reads. Crew colour is an FNV-1a hash of the tag, so a crew looks like itself everywhere without stored art. Live `<agent-3d>` figures are capped and lazily mounted so a large crew cannot exhaust the browser's WebGL contexts. The backend shipped with W09 and had no UI at all until this page; the in-world friends drawer now links to it. Docs: [docs/crews.md](docs/crews.md). Tests: [tests/crews-shared.test.js](tests/crews-shared.test.js), [tests/crews-wiring.test.js](tests/crews-wiring.test.js) |
| `/play` Robinhood Chain worlds (NOXA + The Odyssey coins, live-trade animation) | Firehose worker [workers/robinhood-feed/](workers/robinhood-feed) (watches NOXA + Odyssey launchpads + their Uniswap v3 pools, normalizes to the pump-compatible event shape, serves SSE/WS/REST). API bridge: [api/robinhood/coin-trades.js](api/robinhood/coin-trades.js) (the in-world chart-screen's trade feed), [api/robinhood/play-worlds.js](api/robinhood/play-worlds.js) (the `/worlds` lobby's Robinhood Chain tab). Client: chain-flavored biome `hoodchain` in [src/game/world-env.js](src/game/world-env.js) (auto-pinned in [src/game/coincommunities.js](src/game/coincommunities.js) `isRobinhoodCoin()`), trade-feed endpoint routing in [src/game/chart-screen.js](src/game/chart-screen.js), lobby tab + EVM-address support in [src/worlds-lobby.js](src/worlds-lobby.js) (routes Robinhood coins to `/play`, unchanged pump.fun coins stay on `/temporary`) | In-repo | Every Robinhood Chain memecoin (chain 4663) gets the same treatment pump.fun coins already have: a deterministic 3D world seeded by its contract address, in a distinct dark ticker-tape palette, with real launchpad/Uniswap-v3 trades rippling the space live via `MarketReactor`. Multiplayer (`walk_world`, filtered by `coin`+`tier`) needed zero code changes — it already keys rooms by an opaque coin id string. `isValidToken()` in [api/_lib/coin-communities.js](api/_lib/coin-communities.js) was widened to accept EVM addresses (it previously 400'd every EVM-chain world's Town chat, even though the CHAINS list already declared ethereum/base/bsc support). Tests: [workers/robinhood-feed/tests/normalize.test.js](workers/robinhood-feed/tests/normalize.test.js) (against real captured on-chain logs). |
diff --git a/data/changelog.json b/data/changelog.json
index 30226ebb7..bbd684010 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,24 @@
{
"$comment": "Curated changelog entries for three.ws, the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.",
"entries": [
+ {
+ "date": "2026-08-07",
+ "title": "Change your avatar without leaving the world in Play",
+ "summary": "You no longer have to exit a world (and lose your spot) to switch avatars in Play. A new Avatar button in the world HUD, or the V key, opens a panel with the avatars saved to your three.ws account, community quick picks, the full gallery browser, a paste-a-link field, a .glb/.vrm upload, and the avatar creator. Your new look appears on you instantly and everyone else in the world sees it live. If a model fails to load, you keep the avatar you were wearing.",
+ "tags": [
+ "feature"
+ ],
+ "link": "/play"
+ },
+ {
+ "date": "2026-08-07",
+ "title": "Play now counts down to the next community event",
+ "summary": "The Play lobby shows a live banner for the upcoming $THREE Community Day: the event name, when it starts in your own timezone, and a ticking countdown. Once you are inside a world, a small dismissible reminder pill keeps the countdown in view, and when the event goes live both switch to a LIVE marker with a one-click jump into the $THREE world. After the event ends everything quietly disappears on its own.",
+ "tags": [
+ "feature"
+ ],
+ "link": "/play"
+ },
{
"date": "2026-08-07",
"title": "Game-Ready export stops charging $THREE holders who connected a wallet",
diff --git a/prompts/README.md b/prompts/README.md
index ede50c782..8be2a1751 100644
--- a/prompts/README.md
+++ b/prompts/README.md
@@ -40,6 +40,7 @@ everything else around it.
|---|---|
| [backlog/](backlog/) | The open backlog, one work order per item: everything [../ISSUES.md](../ISSUES.md) and the retired campaign logs still carry, each with a measured starting state and a definition of done. |
| [bnb-chain/](bnb-chain/) | BNB Chain campaign. Every work order shipped and was retired; `00-CONTEXT.md` keeps the adversarially-verified chain facts and `PROGRESS.md` the proof log. The whole track's one remaining gap is a funded BSC testnet deployer key plus a funded Greenfield account, both owner actions. |
+| [event/](event/) | The $THREE Community Day (2026-08-08) pack: countdown surfaces, the `/play` polish sweep, the `/event` landing page, in-world event quests + leaderboard, the attendee cosmetic drop, photo mode, and the event-eve go/no-go preflight. |
| [fable-audit/](fable-audit/) | The 2026-07-11 deep audit. Every numbered finding shipped; [RESIDUALS.md](fable-audit/RESIDUALS.md) carries the three items deliberately left open. |
| [fix-queue/](fix-queue/) | Defects reproduced on 2026-08-01 by running the repo's own checks (`gate`, `lint`, `audit:links`, `audit:tour-atlas`, `check:cron-drift`, `check:runnable-docs`, `test:core`) plus a production probe, one work order per symptom, each carrying the verbatim output. Complements [backlog/](backlog/), which owns the infrastructure and owner-gated items. |
| [gcp-credits/](gcp-credits/) | The GCP credit program. Seven of eight work orders shipped and were retired; [05-catalog-animation-seeding.md](gcp-credits/05-catalog-animation-seeding.md) is the open one, turning credits into a curated catalog and a generated motion library. |
diff --git a/prompts/event/07-preflight-verification.md b/prompts/event/07-preflight-verification.md
new file mode 100644
index 000000000..40a8de2dc
--- /dev/null
+++ b/prompts/event/07-preflight-verification.md
@@ -0,0 +1,51 @@
+# 07 · Event-eve preflight: prove everything works, then stage the ship
+
+**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/07-preflight-verification.md`. Read [00-CONTEXT.md](00-CONTEXT.md) first. Run this LAST, after every other order that is going to land has landed.
+
+**Operating clause:** finish 100%. Never end the session with a question, an unexecuted plan, or "let me know". CLAUDE.md hard rules bind. Two gates apply here and only here: `git push` and the production deploy itself need the owner's go (unless the owner's current instruction is itself that approval). EVERYTHING up to those two commands is yours to finish: fix what the sweeps find, commit it, and stage the ship so each gate is one command.
+
+## Step 0 · Re-derive the current state
+
+```bash
+git log --oneline -15
+git status --short
+cat public/event.json
+curl -s https://three.ws/api/version
+```
+
+Note which event orders landed (PROGRESS.md) and what is still uncommitted in the shared worktree (do not sweep other agents' files into your commits).
+
+## The sweep, in order
+
+Each stage: run, fix every failure you can root-cause, rerun until green. A failure in code you did not touch still blocks the event; fix it, do not mask it.
+
+1. **Unit + integration:** `npm test` (never piped through `tail`; the vitest stage gates Playwright).
+2. **Repo gates:** `npm run gate`, `npm run audit:docs`, `npm run audit:links`.
+3. **Local walkthrough:** `npm run dev:walk-all`, then in a real browser the full player journey in the $THREE world: lobby, avatar create, enter, move, chat, emote, store, bank, wheel, jobs board (including any event jobs from order 04), friends, countdown surfaces (01), photo mode (06) if landed. Desktop and 375px. Zero console errors.
+4. **Production sweep, unauthenticated:** `npm run audit:web`.
+5. **Production sweep, authenticated:** `npm run audit:web:login` (the QA account is `AUDIT_EMAIL`/`AUDIT_PASSWORD` in `.env`).
+6. **Production game infra:** confirm the multiplayer host answers (the `game-server` meta in [pages/play.html](../../pages/play.html) names it; a websocket handshake or its health endpoint is proof), and `curl -s https://three.ws/api/healthz`. If anything is degraded, run the gcp-triage skill flow and fix what it allows.
+7. **Event config sanity:** `public/event.json` times are the owner-confirmed window, in UTC, start before end, and the live site will serve the NEW config only after deploy: note that explicitly in the report so nobody expects the banner before the ship.
+8. **Deploy preflight:** run the `deploy-preflight` subagent. Resolve everything it flags.
+9. **Stage the ship:** clean deploy worktree per the CLAUDE.md runbook steps 0 and 1, `npm run build:gcp` green, then STOP. Report the exact two commands the owner runs (or run them if the owner's instruction already granted the ship).
+
+## Definition of done
+
+- [ ] Every stage above green, with the actual command output quoted (trimmed) in the report; no stage skipped silently. If a stage cannot run here (e.g. no browser), say so and what you did instead.
+- [ ] Every fix you made committed with explicit paths and honest messages; `git status` shows none of YOUR work uncommitted.
+- [ ] The ship is one owner command per gate, and the report says exactly which.
+- [ ] PROGRESS.md appended with the go/no-go verdict.
+
+## Never blocked
+
+| Blocker | Resolution |
+|---|---|
+| A test fails in a subsystem another agent has mid-edit | Root-cause it. If their uncommitted diff is the cause, report the file + failure precisely as in-flight, verify the committed baseline passes (`git stash` is forbidden on a shared tree; test in a clean worktree instead), and continue. |
+| Disk full during worktree prep | `npm run clean:worktrees -- --apply` (the runbook's step 0 exists because of this exact failure). |
+| gcloud auth or PATH problems | Both are known and solved in the agent memory/runbooks: `export PATH="$HOME/google-cloud-sdk/bin:$PATH"`; reauth is drivable non-interactively. |
+| Production log access | `gcloud logging read` recipes are in CLAUDE.md's self-unblock table. |
+| An audit finds a defect owned by an unrun event order | Fix it if small; otherwise it goes in the report as a named, sized residual with its owner. Never a vague "some issues remain". |
+
+## Report format
+
+Go/no-go verdict first. Then per stage: command, outcome, fixes made. Then the ship: the staged state and the exact owner commands. Then residuals, each named and sized.
diff --git a/prompts/event/PROGRESS.md b/prompts/event/PROGRESS.md
new file mode 100644
index 000000000..ed52fbf7f
--- /dev/null
+++ b/prompts/event/PROGRESS.md
@@ -0,0 +1,9 @@
+# event/ progress log
+
+Cross-chat handoff log for the $THREE Community Day pack. Append an entry when you finish (or partially finish) an order: date, order, what shipped with commit SHAs, what remains, evidence (commands run, what they printed).
+
+## 2026-08-07 · Pack created; countdown feature shipped
+
+- Built and wired the countdown feature itself (outside any order, as the pack was authored): `src/game/event-countdown.js` self-attaching module + `public/event.json` config + script tag in `pages/play.html`. Lobby banner and in-world pill, three explicit states, dismissal persisted per event, reduced-motion respected, monochrome tokens.
+- The configured window (2026-08-08 17:00 to 21:00 UTC) is an agent-chosen default, NOT owner-confirmed. Order 01 step 1 owns replacing it.
+- All seven orders authored against the repo state of 2026-08-07; every order re-derives state in step 0, so later drift is survivable.
diff --git a/prompts/event/README.md b/prompts/event/README.md
new file mode 100644
index 000000000..dea62ce99
--- /dev/null
+++ b/prompts/event/README.md
@@ -0,0 +1,17 @@
+# event/ · $THREE Community Day (2026-08-08)
+
+Work-order pack for the live community event held in the `/play` world on 2026-08-08. Each numbered file is a self-contained paste-and-run prompt per the [prompts/ standard](../README.md); [00-CONTEXT.md](00-CONTEXT.md) carries the shared facts and MUST be read first by every order.
+
+| Order | What it ships | Status source |
+|---|---|---|
+| [01-event-countdown.md](01-event-countdown.md) | Real event times in `public/event.json`, countdown verified on `/play` (lobby banner + in-world pill), extended to the home page | Step 0 of the order |
+| [02-play-polish-sweep.md](02-play-polish-sweep.md) | Full UI/UX defect sweep of the `/play` journey: states, a11y, mobile, copy, perceived speed | Step 0 of the order |
+| [03-event-landing-page.md](03-event-landing-page.md) | `/event` public landing page: countdown, newcomer guide, local-time schedule + .ics, live section | Step 0 of the order |
+| [04-event-quests-leaderboard.md](04-event-quests-leaderboard.md) | Server-authoritative event quest line on the jobs board + live leaderboard (in-world panel + API) | Step 0 of the order |
+| [05-event-cosmetic-drop.md](05-event-cosmetic-drop.md) | Free commemorative wearable auto-granted to every attendee during the window | Step 0 of the order |
+| [06-photo-mode-share.md](06-photo-mode-share.md) | Photo mode with a branded share card: capture, preview, download, copy | Step 0 of the order |
+| [07-preflight-verification.md](07-preflight-verification.md) | The event-eve go/no-go sweep: tests, gates, local + production audits, deploy staged to one owner command. Run LAST | Step 0 of the order |
+
+Run order: 01 first (the times feed everything), 02 through 06 in any order as time allows (listed by value), 07 strictly last. Status lives in each order's step 0 and in [PROGRESS.md](PROGRESS.md), never in this table.
+
+Already shipped before this pack existed: the countdown feature itself ([src/game/event-countdown.js](../../src/game/event-countdown.js) reading [public/event.json](../../public/event.json), wired into [pages/play.html](../../pages/play.html)); order 01 verifies it against the real event window rather than building it.
diff --git a/public/changelog.json b/public/changelog.json
index 9d4de2cbb..411f2e3c3 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-08-07T09:06:58.732Z",
+ "generated_at": "2026-08-07T09:24:19.259Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -50,6 +50,16 @@
"improvement"
]
},
+ {
+ "date": "2026-08-07",
+ "type": "update",
+ "title": "Change your avatar without leaving the world in Play",
+ "summary": "You no longer have to exit a world (and lose your spot) to switch avatars in Play. A new Avatar button in the world HUD, or the V key, opens a panel with the avatars saved to your three.ws account, community quick picks, the full gallery browser, a paste-a-link field, a .glb/.vrm upload, and the avatar creator. Your new look appears on you instantly and everyone else in the world sees it live. If a model fails to load, you keep the avatar you were wearing.",
+ "link": "/play",
+ "tags": [
+ "feature"
+ ]
+ },
{
"date": "2026-08-07",
"type": "update",
@@ -72,6 +82,16 @@
"improvement"
]
},
+ {
+ "date": "2026-08-07",
+ "type": "update",
+ "title": "Play now counts down to the next community event",
+ "summary": "The Play lobby shows a live banner for the upcoming $THREE Community Day: the event name, when it starts in your own timezone, and a ticking countdown. Once you are inside a world, a small dismissible reminder pill keeps the countdown in view, and when the event goes live both switch to a LIVE marker with a one-click jump into the $THREE world. After the event ends everything quietly disappears on its own.",
+ "link": "/play",
+ "tags": [
+ "feature"
+ ]
+ },
{
"date": "2026-08-07",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index f39f3deb0..73ebbae42 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -38,6 +38,14 @@
<category>fix</category>
<description>Saving an avatar in the Studio used to capture whatever the idle animation happened to be doing at that exact instant, and freeze it into the model permanently. Because the saved file carries no animation of its own, that one arbitrary frame became the avatar's pose everywhere it appeared: arms tucked in at odd angles, one side sitting differently from the other, and a different result each time you saved the same avatar. Avatars are now saved in their proper neutral pose, which is symmetric and identical on every save, so downloads, animation retargeting and clothing all start from the stance the body was actually built around. Your gallery thumbnail still shows the relaxed idle pose it always did.</description>
</item>
+ <item>
+ <title>Change your avatar without leaving the world in Play</title>
+ <link>https://three.ws/play</link>
+ <guid isPermaLink="false">2026-08-07:Change your avatar without leaving the world in Play</guid>
+ <pubDate>Fri, 07 Aug 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>You no longer have to exit a world (and lose your spot) to switch avatars in Play. A new Avatar button in the world HUD, or the V key, opens a panel with the avatars saved to your three.ws account, community quick picks, the full gallery browser, a paste-a-link field, a .glb/.vrm upload, and the avatar creator. Your new look appears on you instantly and everyone else in the world sees it live. If a model fails to load, you keep the avatar you were wearing.</description>
+ </item>
<item>
<title>Chat gets an agent that does its own research: pick a model that uses real tools</title>
<link>https://three.ws/docs/agent-runtime</link>
@@ -54,6 +62,14 @@
<category>fix</category>
<description>Exporting a model for Unity or Unreal is free if you hold $THREE, but the export panel only recognised holders who had signed in with a wallet linked to their account. If you had simply connected your wallet to the site, the way most people browse the Forge, the panel could not see what you hold and asked you to pay the per-export fee your holding already covered. It now proves your holding from whichever identity you actually have: a linked account signs silently, and a connected wallet proves ownership with one free signature that never moves funds. That signature is only ever requested when your wallet genuinely clears the tier, so a non-holder is never prompted for something that could not unlock anything. The panel also now tells you your real price before you export: holders read 'free for you', everyone else reads the exact per-export price.</description>
</item>
+ <item>
+ <title>Play now counts down to the next community event</title>
+ <link>https://three.ws/play</link>
+ <guid isPermaLink="false">2026-08-07:Play now counts down to the next community event</guid>
+ <pubDate>Fri, 07 Aug 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>The Play lobby shows a live banner for the upcoming $THREE Community Day: the event name, when it starts in your own timezone, and a ticking countdown. Once you are inside a world, a small dismissible reminder pill keeps the countdown in view, and when the event goes live both switch to a LIVE marker with a one-click jump into the $THREE world. After the event ends everything quietly disappears on its own.</description>
+ </item>
<item>
<title>Play: phones stop getting dropped out of the world seconds after joining</title>
<link>https://three.ws/play</link>
diff --git a/public/features.json b/public/features.json
index 16755de41..7a609269f 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-08-07T09:06:58.703Z",
+ "generated_at": "2026-08-07T09:24:19.051Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",