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.

feat: add innovation briefs for Watchlist, Agent Wallet x402 Pay, and Blog & Tutorials Experience

roundtripped0faa14839b51
diff --git a/api/agents.js b/api/agents.js
index 4521bd5c8..92a122568 100644
--- a/api/agents.js
+++ b/api/agents.js
@@ -419,16 +419,36 @@ async function handleUpdate(req, res, id, auth) {
if ('encrypted_solana_secret' in existingMeta) {
mergedMeta.encrypted_solana_secret = existingMeta.encrypted_solana_secret;
}
+ // Size-guard the Agent Studio bag (meta.studio) so a malformed/oversized
+ // brain graph can't bloat the row or the jsonb GIN index. 256KB is far
+ // above any realistic node graph; reject rather than silently truncate.
+ if (mergedMeta.studio) {
+ const studioBytes = Buffer.byteLength(JSON.stringify(mergedMeta.studio), 'utf8');
+ if (studioBytes > 256 * 1024) {
+ return error(res, 413, 'studio_too_large',
+ `meta.studio exceeds 256KB (${studioBytes} bytes)`);
+ }
+ }
}
+ // Brain Studio compiles its visual graph (meta.studio.brain) down to the real
+ // persona_prompt column that api/chat.js consumes, so existing chat surfaces
+ // keep working. Accept it here as part of brain-config handling. A string ""
+ // is non-null, so COALESCE persists it (clears the persona); `undefined`
+ // becomes null below, so COALESCE leaves the stored value untouched.
+ const personaPrompt = typeof body.persona_prompt === 'string'
+ ? body.persona_prompt.slice(0, 8000)
+ : null;
+
const [updated] = await sql`
UPDATE agent_identities SET
- name = COALESCE(${body.name || null}, name),
- description = COALESCE(${body.description || null}, description),
- avatar_id = COALESCE(${body.avatar_id || null}, avatar_id),
- skills = COALESCE(${body.skills || null}, skills),
- meta = COALESCE(${mergedMeta ? JSON.stringify(mergedMeta) : null}::jsonb, meta),
- home_url = COALESCE(${body.home_url || null}, home_url)
+ name = COALESCE(${body.name || null}, name),
+ description = COALESCE(${body.description || null}, description),
+ avatar_id = COALESCE(${body.avatar_id || null}, avatar_id),
+ skills = COALESCE(${body.skills || null}, skills),
+ meta = COALESCE(${mergedMeta ? JSON.stringify(mergedMeta) : null}::jsonb, meta),
+ persona_prompt = COALESCE(${personaPrompt}, persona_prompt),
+ home_url = COALESCE(${body.home_url || null}, home_url)
WHERE id = ${id}
RETURNING *
`;
@@ -712,6 +732,8 @@ function decorate(row, isOwner = true) {
// Publish-time fields needed by the agent editor. Owner-only because the
// system prompt is private IP.
base.system_prompt = row.system_prompt || null;
+ // Compiled Brain Studio persona — owner-only, same rationale as system_prompt.
+ base.persona_prompt = row.persona_prompt || null;
base.greeting = row.greeting || null;
base.category = row.category || null;
base.tags = row.tags || [];
diff --git a/prompts/agent-wallets/14-treasury-autopilot.md b/prompts/agent-wallets/14-treasury-autopilot.md
new file mode 100644
index 000000000..8537c7945
--- /dev/null
+++ b/prompts/agent-wallets/14-treasury-autopilot.md
@@ -0,0 +1,116 @@
+# Task 14 — Treasury Autopilot (the agent that funds its own existence)
+
+> **Read [00-README-orchestration.md](./00-README-orchestration.md) first** — the
+> ownership model, design tokens, real APIs, hard rules, and the safety rules for
+> anything that moves custodial funds. Builds on the spend-policy engine (**task 05**)
+> and the Wallet HUD (**task 02**). Invention-layer — read **The invention bar**.
+
+## Why only three.ws can build this
+
+Our agents both **earn** (tips, their coin's creator fees, trading) and **cost money to
+run** (the LLM + voice compute that makes them talk and think). No one else has an
+autonomous entity whose income and running costs live in the *same* real wallet. So we
+can close the loop and invent the **self-sustaining agent**: one that pays for its own
+brain out of its own earnings, under a policy its owner sets in plain language. An agent
+that funds its own existence is a genuinely new kind of digital being — and a reason to
+build your agent here.
+
+## Mission
+
+Give the owner a natural-language treasury policy that the agent executes on its own
+wallet — autonomously, bounded, audited: pay its own metered compute costs, hold a
+safety buffer, dollar-cost-average a slice of income into $THREE, auto-compound coin
+fees into buybacks, and sweep profit to the owner on a schedule. Every action is a
+real on-chain transaction inside the existing spend policy, with a prominent kill
+switch.
+
+## What exists (read it before building — do NOT reinvent)
+
+- **Spend policy + guards:**
+ [api/_lib/agent-trade-guards.js](../../api/_lib/agent-trade-guards.js)
+ (`enforceSpendLimit`, `reserveSpend`, per-action cap, daily budget, circuit breaker,
+ kill switch), read/written via `GET/PUT /api/agents/:id/solana/limits`. Every
+ autopilot action routes through it — the policy is the trust anchor.
+- **Metered compute billing:**
+ [api/_lib/pricing/charge-three.js](../../api/_lib/pricing/charge-three.js) and the
+ pricing helpers — the real cost of the agent's LLM/voice usage. Autopilot can settle
+ these costs **from the agent's wallet** instead of (or alongside) the owner's
+ balance. Wire to the real metering; never invent a cost number.
+- **Real income sources:** tips (`/solana/tip` ledger), the agent's pump.fun coin
+ creator fees + buyback path
+ ([api/_lib/coin/treasury.js](../../api/_lib/coin/treasury.js),
+ [api/_lib/coin/distribution.js](../../api/_lib/coin/distribution.js)), trading P&L
+ (task 05).
+- **Real swaps for DCA/buyback:** the existing Solana/pump swap plumbing
+ ([api/_lib/agent-wallet.js](../../api/_lib/agent-wallet.js),
+ [api/_lib/agent-pumpfun.js](../../api/_lib/agent-pumpfun.js)). $THREE
+ (`FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`) is the only coin the platform
+ features — DCA targets $THREE; buybacks are the agent's own coin.
+
+If you need a scheduler/executor that doesn't exist (a server-side worker that runs each
+agent's autopilot policy on a cadence), **build it for real**: reads real balances,
+executes real txs through the guards, idempotent, audited. No cron that fakes activity.
+
+## What treasury autopilot must do (all real, all bounded)
+
+1. **Natural-language policy → structured rules.** The owner writes the policy in plain
+ English ("Pay your own compute. Keep a 1 SOL buffer. Put 10% of tips into $THREE.
+ Compound coin fees into buybacks weekly. Sweep anything over 3 SOL to me on
+ Fridays."). Parse it into validated, structured rules using the model's tool-use
+ (see `claude-api`), and **show the compiled rules back for explicit approval** before
+ anything runs. The owner always sees exactly what they armed.
+2. **Self-funded compute.** With consent, the agent settles its real metered
+ compute/voice costs from its own wallet via the real billing path — the agent
+ literally pays for its own brain. Surface a clear "this agent is self-funding"
+ state and the real running cost vs. real income (is it net-positive?).
+3. **Buffer + DCA + buyback + sweep.** Execute each rule as a real, scheduled,
+ spend-policy-gated transaction: maintain the buffer, DCA income into $THREE,
+ compound the agent's coin fees into real buybacks, sweep profit to the owner. Each is
+ a real tx with an explorer link in the activity trail.
+4. **Always disarmable.** A prominent kill switch halts all autopilot instantly;
+ per-rule pause/edit is one tap. Arming an autonomous treasury you can't immediately
+ stop is unacceptable.
+5. **The runway view.** A real dashboard: income vs. cost over time, current buffer,
+ $THREE accumulated, buybacks executed, profit swept, and a real "runway" (how long
+ it self-sustains at the current real burn). Every number from real data; a
+ net-negative agent shows the honest truth, not a rosy projection.
+
+## Safety (non-negotiable — this moves real custodial funds autonomously)
+
+- **Owner-only to configure; the agent's own wallet only.** Server-side checks; the
+ executing endpoints reject non-owners. Autopilot can never touch another wallet.
+- **Spend policy is the hard ceiling.** Every autopilot action is clamped to the
+ agent's spend policy at execution time, server-side. The NL policy can only *tighten*,
+ never exceed, the limits.
+- **Explicit consent + compiled-rule preview** before any rule runs. No "magic"
+ autonomous spending the owner didn't see and approve.
+- **Idempotent + fully audited.** Every scheduled action is idempotent (no double-spend
+ on retry) and written to the custody trail with its trigger and result.
+- **Fail safe.** On any ambiguity, price-feed gap, or error, autopilot **pauses and
+ notifies** — it never guesses with real money. No errors without solutions, but never
+ a reckless action to avoid one.
+
+## States & edge cases (all designed, all honest)
+
+Net-negative agent (honest runway, suggest tightening, never hide it); income too small
+to cover compute (pause self-funding, notify); buffer breached by a market move; DCA
+when balance is below buffer (skip); buyback with no coin or no liquidity; sweep when
+under threshold (no-op); policy that contradicts itself (reject at compile, explain);
+kill switch mid-execution (halt cleanly, no partial double-action); price feed down
+(pause); expired session (config needs re-auth; running autopilot keeps honoring the
+last approved policy until changed). Each designed.
+
+## Definition of done
+
+Per the orchestration README's checklist. Plus: an owner writes an NL policy, reviews
+the compiled rules, and arms it; the agent executes at least one real autopilot action
+of each armed kind (self-fund compute, DCA into $THREE, buffer maintenance, sweep)
+through `enforceSpendLimit` with explorer links (devnet acceptable); the runway view
+shows real income/cost/runway including an honest net-negative case; the kill switch
+halts everything instantly; owner-only + spend-policy ceiling enforced server-side;
+idempotent and audited; no non-$THREE coin named or promoted; no console errors.
+
+When done: run the self-review + improvement pass, add a real changelog entry,
+`npm run build:pages` to validate, commit (staging explicit paths only; push to
+**both** `threeD` and `threews` if asked), then **delete this file**
+(`prompts/agent-wallets/14-treasury-autopilot.md`).
diff --git a/prompts/feature-innovation/01_06_import-avatar.md b/prompts/feature-innovation/01_06_import-avatar.md
new file mode 100644
index 000000000..e5f5ebafd
--- /dev/null
+++ b/prompts/feature-innovation/01_06_import-avatar.md
@@ -0,0 +1,89 @@
+# 🚀 Innovation Brief — Import Avatar (`/import/rpm`)
+
+> **Task file:** `prompts/feature-innovation/01_06_import-avatar.md`
+> **Surface:** `/import/rpm` (import-rpm) — import any GLB/glTF by URL or file
+> **Primary source:** `pages/import-rpm.html` (inline `<script type="module">`) + `src/account.js` (`saveRemoteGlbToAccount`)
+> **Atlas reference:** `docs/ux-flows/01-onboarding-creation.md` (current UX, traced step-by-step)
+
+---
+
+## 0. How to use this brief
+
+You are **one agent in a fleet**. This one feature is yours to make world-class. Read this entire brief, then read the referenced source so you are changing reality and not a guess. Execute completely. When you are genuinely done (§6–7), **delete this task file**.
+
+You are not a task-completing machine. You are a senior engineer and product thinker who happens to write code. Act like it.
+
+## 1. Mission
+
+People already have avatars — a Ready Player Me character, a VRoid model, a Mixamo rig, a GLB exported from Blender. This is the on-ramp that says "bring what you have, we'll give it a brain." The mission is to make importing an external avatar trustworthy and *delightful*: the user pastes a URL or drops a file and instantly sees their model, validated, normalized, previewed, and one tap from becoming a living, walleted agent — with zero anxiety about whether it "worked."
+
+"Gamechanging" here means: import isn't a file-upload form, it's a red carpet for the broader 3D ecosystem. We accept the formats people actually have, we fix the common problems (bad bone names, wrong scale, missing materials) automatically, and we show the user exactly what they're getting before they commit. The best import experience in the avatar space, full stop.
+
+## 2. The bar
+
+Build the version that makes someone screenshot it and share it. Benchmark against the best asset-import experiences (Figma import, Sketchfab upload, Unity package import, Cloudinary/Uploadcare flows, Ready Player Me's hub). **If your result merely matches what already exists, you have failed this brief.** Invent something true and new that creates real, obvious value for the user.
+
+## 3. Current state — ground truth (verify in source before you touch anything)
+
+- **Route(s):** `/import/rpm` (vercel route → `import-rpm.html`). The page loads anonymously; import is auth-gated at action time.
+- **Source:** `pages/import-rpm.html` (inline module) + `src/account.js#saveRemoteGlbToAccount`.
+- **Current flow:** 2 required + 1 optional. Two tabs — **Import from URL** (paste an `http(s)` GLB URL, validated; optional name) and **Upload file** (drag-drop/pick `.glb` ≤100 MB, validated by extension + size; optional name). Click Import/Upload → `runImport(...)` calls `saveRemoteGlbToAccount(source, { name, visibility:'public', tags:['rpm','imported'], source:'rpm_import', source_meta })` with staged progress callbacks (Fetching → Normalizing bones → Uploading → Saving) and a live progress bar. On success, `showSuccess(avatar)` swaps in a card "<name> is ready" linking to `/avatars/<id>`. A `not_signed_in`/401 redirects to `/login?return=<here>`.
+- **What works today:** Real URL and file import; server-side source fetch; bone normalization; R2 presign/upload/commit; staged progress UI; friendly error mapping by `err.code`/`err.stage` (fetch / presign / commit / upload_blocked / size_mismatch); auth round-trip on 401.
+- **Real APIs / dependencies already wired:** `saveRemoteGlbToAccount` (account.js — presign + remote GLB fetch/normalize + R2 upload + commit).
+- **Where it's mediocre, thin, or unfinished:** No 3D preview before *or* after import — the user never sees the model on this page (success is just a text card + link). Only `.glb` is accepted; `.gltf`/`.vrm`/`.fbx`/Mixamo and RPM share-links aren't handled despite the route name implying RPM. No inspection of what was imported (poly count, bones, animations, has-rig, materials). No "import from a known source" helpers (paste an RPM avatar id/link, a Sketchfab URL). Defaults to **public** visibility silently. No batch import. The "Normalizing bones" step is opaque — the user can't tell if their rig survived.
+
+## 4. Innovation directions (seeds — you are expected to go beyond them)
+
+- **Preview before commit.** Render the model in a live `model-viewer` the moment a URL/file is provided — orbit it, see materials, play any embedded animations — *before* the user clicks import. WYSIWYG import removes all the anxiety.
+- **An import inspector that builds trust.** After fetch/normalize, show a report: poly count, texture count, bone count, rig status ("riggable / already rigged / static"), embedded animations, file size, and any auto-fixes applied (rescaled, renamed bones, regenerated materials). Make the "Normalizing bones" black box transparent.
+- **Accept what people actually have.** Broaden beyond `.glb`: handle `.gltf` (+ companion bin/textures), RPM share-links/avatar IDs (resolve to GLB), and degrade gracefully with clear guidance for unsupported formats — turning the route's RPM name into a real promise. Detect humanoid rigs and offer auto-retargeting to the platform's animation set.
+- **Visibility and licensing as a deliberate choice.** Don't silently default to public — present a clear private/public toggle with a plain-language explanation, plus a source/attribution field so imported community work is credited.
+- **Cross-feature wiring:** the success state should offer one tap to "give it a brain" → `/agent/new?avatar_id=...&avatar_name=...`, "preview animations" in the studio, and "list on marketplace" — so import flows directly into the agent and discovery surfaces instead of dead-ending at `/avatars/<id>`. Surface this route prominently inside the `/create` hub as the "I already have a model" path.
+
+> These are starting points, not a checklist. The best idea may not be listed — find it. Think second-order: how does improving this unlock value in adjacent three.ws features? **Wire those connections.** The best platforms feel like everything is linked.
+
+## 5. Hard rules (non-negotiable — from `CLAUDE.md`)
+
+- **Real APIs, real data, real integrations. No mocks, no fake/sample arrays, no placeholders, no `setTimeout` fake-loading or fake progress.** If credentials are missing, find them in `.env` / `.env.example` / `vercel env` — then proceed.
+- **Wire 100%.** Every button works, every link goes somewhere, every reachable state exists. Design *every* state: loading (skeletons over spinners), empty (tell the user what to do next), error (actionable recovery), populated, and overflow (0 / 1 / 1000 items, very long strings, mid-operation network failure, expired session).
+- **No TODO comments, no stubs, no `throw new Error("not implemented")`, no commented-out code.** If you write it, finish it.
+- **No errors without solutions.** Every error has a root cause; every root cause has a fix. Ship failsafes, not lazy propagation.
+- **$THREE is the only coin** (CA `FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`). Never name, add, hardcode, link, render, or recommend any other coin anywhere — code, copy, tests, fixtures, commits. The only exceptions are coin-agnostic runtime plumbing (user supplies a mint) and platform launch records rendered at runtime.
+- **Read before you write.** Match the existing patterns, naming, file organization, and the design tokens in `DESIGN-TOKENS.md`. Consistency compounds.
+- **Accessibility + responsive (320 / 768 / 1440) + microinteractions** are part of done, not polish. Semantic HTML, ARIA, keyboard nav, focus rings, sufficient contrast.
+- **Performance by default:** lazy-load heavy modules, debounce input handlers, paginate large lists, animate with `transform`/`opacity`. Ship no jank.
+- **Changelog:** append a holder-readable entry to `data/changelog.json` for any user-visible change, then run `npm run build:pages` to validate.
+- **Concurrent agents share this worktree.** Stage explicit paths only — **never** `git add -A` / `git add .`. Re-check `git status` + `git diff --staged` immediately before any commit. Never commit `api/*.js` esbuild bundles (check `head -1` for `__defProp` / `createRequire`).
+
+## 6. Definition of done
+
+- [ ] Feature is built, wired into navigation, and reachable by a real user.
+- [ ] Exercised in a real browser via `npm run dev`; **no console errors or warnings** from your code.
+- [ ] Network tab shows real API calls succeeding with real data.
+- [ ] Every interactive element has hover / active / focus states; fully keyboard-navigable.
+- [ ] Loading, empty, error, populated, and overflow states all designed and reachable.
+- [ ] Existing tests pass (`npm test`); add tests for new logic you introduce.
+- [ ] `git diff` self-reviewed — every changed line justified.
+- [ ] Changelog updated if the change is user-visible.
+- [ ] You would be proud to demo this to a room of senior engineers.
+
+> Note: do **not** run `npm install` in this codespace (the cache is corrupted and it hangs the box). Use the already-installed dependencies.
+
+## 7. Self-improvement loop (REQUIRED before you finish)
+
+When you think you're done: **STOP.** Re-read §2.
+
+1. Find the single weakest aspect of what you built and make it excellent. Repeat until nothing obvious remains.
+2. Run the self-review protocol: **lazy check** (any shortcut, any half-wire, any hardcoded value where dynamic belongs?), **user check** (first-time user — does it make sense, is it findable, does it feel polished?), **integration check** (connects to the rest of the platform, navigable to/from?), **edge-case check** (0 / 1 / 1000, long names, network failure, expired session), **pride check** (portfolio-worthy? if not, fix what's stopping you).
+3. Update `data/changelog.json` if user-visible.
+4. **Delete this task file** — `prompts/feature-innovation/01_06_import-avatar.md`.
+5. Report: what you shipped, what you *invented*, and the single best next idea you'd pursue.
+
+---
+
+## Reference shelf
+
+- **This feature's current UX:** `docs/ux-flows/01-onboarding-creation.md`
+- **Repo map:** `STRUCTURE.md` · **Operating rules:** `CLAUDE.md` · **Design tokens:** `DESIGN-TOKENS.md`
+- **Credentials / endpoints:** `.env`, `.env.example`
+- **Stack:** vanilla JS modules + Vite (`npm run dev`, port 3000); Three.js (glTF/GLB); Vercel functions in `api/`; Cloudflare workers in `workers/`; Solana / agent SDKs in `sdk/`, `solana-agent-sdk/`, `agent-payments-sdk/`.
diff --git a/prompts/feature-innovation/05_06_irl.md b/prompts/feature-innovation/05_06_irl.md
new file mode 100644
index 000000000..5c3f6832d
--- /dev/null
+++ b/prompts/feature-innovation/05_06_irl.md
@@ -0,0 +1,90 @@
+# 🚀 Innovation Brief — IRL (Location-Anchored AR Agents)
+
+> **Task file:** `prompts/feature-innovation/05_06_irl.md`
+> **Surface:** `/irl`
+> **Primary source:** `pages/irl.html`, `src/irl.js`, `src/irl/*`, `src/irl-net.js`, `/api/irl/*`
+> **Atlas reference:** `docs/ux-flows/05-discovery-social.md` (current UX, traced step-by-step)
+
+---
+
+## 0. How to use this brief
+
+You are **one agent in a fleet**. This one feature is yours to make world-class. Read this entire brief, then read the referenced source so you are changing reality and not a guess. Execute completely. When you are genuinely done (§6–7), **delete this task file**.
+
+You are not a task-completing machine. You are a senior engineer and product thinker who happens to write code. Act like it.
+
+## 1. Mission
+
+The end user wants to *leave an agent in the real world* — anchored to a physical spot — and discover the agents other people have left nearby, all without exposing anyone's location on a map. `/irl` is three.ws's location-anchored AR layer: pin your agent to a real floor via camera AR, GPS, and compass; walk around and have nearby agents fade in by proximity (dot → impostor → full mesh) with arrival cues and an interaction sheet. Location is *private* — agents appear only to people physically near them, never on a list or map.
+
+"Gamechanging" here means inventing a genuinely new social primitive: **agents you leave for each other in physical space**, discoverable only by being there. Geocaching meets the agent economy meets AR. The bar is a moment people travel to experience — finding a stranger's agent on a real street corner, leaving a reply, paying it in $THREE, and knowing the next passerby will find what you left. Privacy-first by design.
+
+## 2. The bar
+
+Build the version that makes someone screenshot it and share it. Benchmark against the best in the world (Pokémon GO's location magic, Niantic Lightship, Snap Local Lenses, Apple/Google AR anchoring, geocaching's treasure-hunt loop). **If your result merely matches what already exists, you have failed this brief.** Invent something true and new that creates real, obvious value for the user.
+
+## 3. Current state — ground truth (verify in source before you touch anything)
+
+- **Route(s):** `/irl` (param `?avatar=`).
+- **Source:** `pages/irl.html` (inline WebGL-gate boot), `src/irl.js`, `src/irl/*` (`onboarding.js`, `floor-anchor.js`, `room-anchor.js`, `room-session.js`, `tap-pick.js`, `gps-lifecycle.js`, `discovery.js`, `privacy-center.js`, `proximity-band.js`, `proximity-cue.js`, `sensor-fusion.js`, `share-frame.js`, `map-place.js`, `camera-fov.js`, `load-queue.js`, `perf-budget.js`), `src/irl-net.js`.
+- **Current flow:** 7 required (+ optional) — WebGL-gate at HTML load (else designed fatal overlay) → scene + default/`?avatar=` GLB, device token restored, discovery/onboarding init → tap **Camera AR** (grant `getUserMedia` environment) → `enableAR()` rear-camera feed + frozen gyro camera → tap **Pin here** (`setLocked(true)` requests location `watchPosition` + iOS motion permission, captures gyro lock pose) → first GPS fix anchors pin, starts 10s nearby poll, joins IrlNet (Colyseus) → aim at floor + **tap canvas** → caption → Confirm → `commitPin()` `POST /api/irl/pins` → poll `GET /api/irl/pins?lat=&lng=&radius=60` spawns nearby agents (LOD dot → impostor → mesh), labels + confidence rings, ENTER ~40m band fires arrival cue (haptic + chime + glow); tap nearby agent → bottom sheet → View (`GET /api/irl/agent-card`) / Pay ($THREE x402) / Message, interactions `POST /api/irl/interactions`. Optional: WebXR floor placement (Android Chrome hit-test) / iOS AR Quick Look (USDZ) / map placement (Leaflet, privacy-first); privacy center (precision Exact vs Nearby, ghost toggle); share PNG; "My pins" (`GET /api/irl/pins/mine`, `DELETE`, `PATCH` calibrate/refine).
+- **What works today:** Progressive permission onboarding with designed fallbacks; gyro-GPS + WebXR + Quick Look + map placement paths; compass-aligned vs relative anchoring; LOD proximity rendering with arrival cues; privacy-first model (no public map of pins); interaction sheet with $THREE x402 pay; Colyseus presence; rich designed error/empty states (WebGL fatal, perms denied recovery cards, GPS warm-up shimmer, 0-nearby CTA, poll-fail amber, rate-limit chip, context-lost reload).
+- **Real APIs / dependencies already wired:** `POST/PATCH/DELETE /api/irl/pins`, `GET /api/irl/pins` (+ `/mine`), `GET /api/irl/agent-card`, `POST /api/irl/interactions`, `GET /api/irl/interactions-stream` (SSE), `POST /api/irl/report`, `POST /api/irl/fix-token`; device APIs (camera, motion, geolocation, permissions, vibrate, AudioContext, WebXR immersive-ar); Colyseus (`IrlNet`, room `irl_world`); GLTFLoader (+Draco/meshopt), Leaflet/CARTO, in-browser USDZ exporter.
+- **Where it's mediocre, thin, or unfinished:** It's a remarkable engine but the *social/game loop is thin* — you pin and discover, but there's little reason to *return* or to *interact deeply*. No persistent agent personality at the spot (it's a static GLB, not a conversational presence). No replies/notes left between strangers (the SSE interactions stream exists but isn't a felt "someone left you something" loop). No trails, quests, or reasons to travel. No notification when someone interacts with your pin while you're away. Anchoring precision drifts with no collaborative correction. Discovery is purely "what's around me now" with no breadcrumbs toward nearby clusters.
+
+## 4. Innovation directions (seeds — you are expected to go beyond them)
+
+- **Leave-a-note / reply threads on a pin.** Make pins conversational drops: anyone nearby can leave a note, an emote, or a $THREE tip on your agent, and you get notified (push/SSE) when they do. The "someone left something for me here" loop is the whole magic — finish it end-to-end with real persistence.
+- **Talking agents at the spot.** Wire the placed agent to its character/persona so tapping it opens a short in-AR conversation (the platform already has character configs and worker LLM proxies) — a pinned agent that *responds* is categorically new.
+- **Proximity breadcrumbs & "warmer/colder".** Without revealing exact locations, give a directional "agents this way" hint and a heat sense as you approach a cluster — turn the city into a treasure map while preserving the privacy model.
+- **Trails & quests.** Creators can chain pins into a route ("follow my agents across the park"); completing a trail unlocks a reward. Geocaching for the agent economy.
+- **Away notifications.** When someone views/pays/replies to your pin, notify you (respecting the privacy model) so leaving an agent feels like planting something that grows.
+- **Collaborative anchor refinement.** When multiple users pin/observe the same spot, fuse their poses to tighten anchor accuracy over time (`PATCH /api/irl/pins` already exists) — crowd-sourced AR precision.
+
+> These are starting points, not a checklist. The best idea may not be listed — find it. Think second-order: `/irl` connects to characters (talking pins), payments SDK ($THREE drops), `/walk` (shared-floor AR), and agent profiles (the agent-card sheet); trails could surface in `/discover`. **Wire those connections** while never breaking the location-privacy guarantee. The best platforms feel like everything is linked.
+
+## 5. Hard rules (non-negotiable — from `CLAUDE.md`)
+
+- **Real APIs, real data, real integrations. No mocks, no fake/sample arrays, no placeholders, no `setTimeout` fake-loading or fake progress.** If credentials are missing, find them in `.env` / `.env.example` / `vercel env` — then proceed.
+- **Wire 100%.** Every button works, every link goes somewhere, every reachable state exists. Design *every* state: loading (skeletons over spinners), empty (tell the user what to do next), error (actionable recovery), populated, and overflow (0 / 1 / 1000 items, very long strings, mid-operation network failure, expired session).
+- **No TODO comments, no stubs, no `throw new Error("not implemented")`, no commented-out code.** If you write it, finish it.
+- **No errors without solutions.** Every error has a root cause; every root cause has a fix. Ship failsafes, not lazy propagation.
+- **$THREE is the only coin** (CA `FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`). Never name, add, hardcode, link, render, or recommend any other coin anywhere — code, copy, tests, fixtures, commits. The only exceptions are coin-agnostic runtime plumbing (user supplies a mint) and platform launch records rendered at runtime.
+- **Read before you write.** Match the existing patterns, naming, file organization, and the design tokens in `DESIGN-TOKENS.md`. Consistency compounds.
+- **Accessibility + responsive (320 / 768 / 1440) + microinteractions** are part of done, not polish. Semantic HTML, ARIA, keyboard nav, focus rings, sufficient contrast.
+- **Performance by default:** lazy-load heavy modules, debounce input handlers, paginate large lists, animate with `transform`/`opacity`. Ship no jank.
+- **Changelog:** append a holder-readable entry to `data/changelog.json` for any user-visible change, then run `npm run build:pages` to validate.
+- **Concurrent agents share this worktree.** Stage explicit paths only — **never** `git add -A` / `git add .`. Re-check `git status` + `git diff --staged` immediately before any commit. Never commit `api/*.js` esbuild bundles (check `head -1` for `__defProp` / `createRequire`).
+
+## 6. Definition of done
+
+- [ ] Feature is built, wired into navigation, and reachable by a real user.
+- [ ] Exercised in a real browser via `npm run dev`; **no console errors or warnings** from your code.
+- [ ] Network tab shows real API calls succeeding with real data.
+- [ ] Every interactive element has hover / active / focus states; fully keyboard-navigable.
+- [ ] Loading, empty, error, populated, and overflow states all designed and reachable.
+- [ ] Existing tests pass (`npm test`); add tests for new logic you introduce.
+- [ ] `git diff` self-reviewed — every changed line justified.
+- [ ] Changelog updated if the change is user-visible.
+- [ ] You would be proud to demo this to a room of senior engineers.
+
+> Note: do **not** run `npm install` in this codespace (the cache is corrupted and it hangs the box). Use the already-installed dependencies.
+
+## 7. Self-improvement loop (REQUIRED before you finish)
+
+When you think you're done: **STOP.** Re-read §2.
+
+1. Find the single weakest aspect of what you built and make it excellent. Repeat until nothing obvious remains.
+2. Run the self-review protocol: **lazy check** (any shortcut, any half-wire, any hardcoded value where dynamic belongs?), **user check** (first-time user — does it make sense, is it findable, does it feel polished?), **integration check** (connects to the rest of the platform, navigable to/from?), **edge-case check** (0 / 1 / 1000, long names, network failure, expired session), **pride check** (portfolio-worthy? if not, fix what's stopping you).
+3. Update `data/changelog.json` if user-visible.
+4. **Delete this task file** — `prompts/feature-innovation/05_06_irl.md`.
+5. Report: what you shipped, what you *invented*, and the single best next idea you'd pursue.
+
+---
+
+## Reference shelf
+
+- **This feature's current UX:** `docs/ux-flows/05-discovery-social.md`
+- **Repo map:** `STRUCTURE.md` · **Operating rules:** `CLAUDE.md` · **Design tokens:** `DESIGN-TOKENS.md`
+- **Credentials / endpoints:** `.env`, `.env.example`
+- **Stack:** vanilla JS modules + Vite (`npm run dev`, port 3000); Three.js (glTF/GLB); Vercel functions in `api/`; Cloudflare workers in `workers/`; Solana / agent SDKs in `sdk/`, `solana-agent-sdk/`, `agent-payments-sdk/`.
diff --git a/prompts/feature-innovation/07_05_watchlist.md b/prompts/feature-innovation/07_05_watchlist.md
new file mode 100644
index 000000000..6ad3ac3a8
--- /dev/null
+++ b/prompts/feature-innovation/07_05_watchlist.md
@@ -0,0 +1,90 @@
+# 🚀 Innovation Brief — Watchlist: Proactive Cross-Surface Alpha Tracker
+
+> **Task file:** `prompts/feature-innovation/07_05_watchlist.md`
+> **Surface:** `/watchlist` (+ the `ld_watchlist` key threaded across 8 routes)
+> **Primary source:** `pages/watchlist.html`, `src/watchlist.js` (imports `src/pump/coin-status-card.js`)
+> **Atlas reference:** `docs/ux-flows/07-crypto-trading-analytics.md` (current UX, traced step-by-step)
+
+---
+
+## 0. How to use this brief
+
+You are **one agent in a fleet**. This one feature is yours to make world-class. Read this entire brief, then read the referenced source so you are changing reality and not a guess. Execute completely. When you are genuinely done (§6–7), **delete this task file**.
+
+You are not a task-completing machine. You are a senior engineer and product thinker who happens to write code. Act like it.
+
+## 1. Mission
+
+The end user has spotted a handful of coins worth watching — on Oracle, radar, trades, smart-money, anywhere — and tapped ☆ Watch. They come to `/watchlist` to keep an eye on them without re-finding them. Today that's a private, device-local board of live status cards. The feature exists to be the trader's *personal command post*: the coins they care about, watched continuously, surfacing changes *before* the trader thinks to look.
+
+"Gamechanging" means turning a passive list into a **proactive, cross-surface alpha tracker** — one that doesn't just refresh cards but *notices things*: a tier upgrade, a proven wallet entering, a risk flag firing, a graduation, a price breakout — and tells the trader the moment it matters. The watchlist already detects tier upgrades; the leap is to make it the connective tissue that pulls every engine's intelligence (Oracle conviction, radar/intel risk, smart-money pedigree) onto the coins the trader has personally chosen, and to alert proactively. Build the watchlist a trader checks first every morning.
+
+## 2. The bar
+
+Build the version that makes someone screenshot it and share it. Benchmark against the best in the world (a great stock-watchlist with smart alerts, the calm signal of a well-tuned notification system, the "everything about this thing in one place" of a Linear issue view, a portfolio tracker that actually catches the move). **If your result merely matches what already exists, you have failed this brief.** Invent something true and new that creates real, obvious value for the user.
+
+## 3. Current state — ground truth (verify in source before you touch anything)
+
+- **Route(s):** `/watchlist`; the `ld_watchlist` localStorage key is written by oracle, radar, trades, watchlist, smart-money, coin-intel, pump-visualizer, and pump-live (8 surfaces).
+- **Source:** `pages/watchlist.html`, `src/watchlist.js`, `src/pump/coin-status-card.js`.
+- **Current flow:** (prereq) Watch a coin anywhere → mint stored in `ld_watchlist`. Arrive on `/watchlist` → `readList()` reads + validates mints (base58 32–44) → for each mint mounts a live coin-status card (`mountCoinStatus` → one `GET /api/pump/coin` per coin, deterministic mint identicon behind real pump.fun logo, refresh every 90s) → detects tier upgrades vs `wl_last_tiers`. Optional: toggle alerts (`#wl-alerts`, `wl_alerts_on`), clear list (`#wl-clear`), click card → full coin profile (`/launches/<mint>`). Cross-tab sync via `storage` event.
+- **What works today:** device-local private list (no account); validated mints; live status cards via shared `coin-status-card.js` component; 90s refresh; tier-upgrade detection vs `wl_last_tiers`; an alerts toggle; clear; cross-tab `storage` sync; deep links to `/launches/<mint>`; empty state directing users to Watch coins elsewhere.
+- **Real APIs / dependencies already wired:** `GET /api/pump/coin` (one per watched coin, via `coin-status-card.js`); `ld_watchlist` shared key; `wl_last_tiers`, `wl_alerts_on` localStorage.
+- **Where it's mediocre, thin, or unfinished:** the alerts toggle exists but there's no real delivery path — it's a flag, not a notification system (no in-app surfacing of fired events, no Telegram/webhook, no "what changed since I last looked"). Each card calls `/api/pump/coin` only — it ignores the platform's richer engines (no Oracle conviction, no radar/intel risk flags, no smart-money pedigree on the very coins the user cares most about). There's no organization (no sort, no grouping by tier/risk, no notes/reason-for-watching), no history of how a watched coin evolved, and being device-local with no export means a wiped browser loses everything. It's a viewer, not a tracker.
+
+## 4. Innovation directions (seeds — you are expected to go beyond them)
+
+- **Proactive change detection across every signal:** extend the existing tier-upgrade detection into a full "what changed" engine per watched coin — conviction tier moves, new proven-wallet entries, risk flags firing, graduation, price/MC breakouts — surfaced as a prioritized "since you last looked" digest at the top of the page, and (if alerts on) delivered in-app and via the platform's existing Telegram/webhook plumbing.
+- **One card, all engines:** enrich each status card with the platform's intelligence on demand — Oracle conviction + receipts, radar/intel verdict + top risk flag, smart-money pedigree — so the coins the trader personally chose get the *deepest* view on the platform, not the shallowest.
+- **Organize like a power user:** sort/group by tier, conviction, risk, recency; add a private "why I'm watching" note per coin; a calm "needs attention" lane that floats coins with fresh changes above the quiet ones.
+- **Watched-coin timeline:** a compact per-coin history (tier/risk/price trajectory since added) so the trader sees the arc, not just the snapshot — answering "is my thesis playing out?"
+- **Portability without an account:** keep it device-local and private by default, but add export/import (and, where a session exists, optional cross-device sync) so a cleared browser doesn't erase the trader's work.
+- **Cross-feature wiring (required):** the watchlist already receives writes from 8 surfaces — make it *give back*. Feed its change-events into the unified live feed (`/activity`+), let an Oracle armed agent optionally scope to watchlist coins, and make every Watch button across the platform reflect real watchlist membership state (filled star when watched) so the loop is visibly closed everywhere.
+
+> These are starting points, not a checklist. The best idea may not be listed — find it. Think second-order: how does improving this unlock value in adjacent three.ws features? **Wire those connections.** The best platforms feel like everything is linked.
+
+## 5. Hard rules (non-negotiable — from `CLAUDE.md`)
+
+- **Real APIs, real data, real integrations. No mocks, no fake/sample arrays, no placeholders, no `setTimeout` fake-loading or fake progress.** If credentials are missing, find them in `.env` / `.env.example` / `vercel env` — then proceed.
+- **Wire 100%.** Every button works, every link goes somewhere, every reachable state exists. Design *every* state: loading (skeletons over spinners), empty (tell the user what to do next), error (actionable recovery), populated, and overflow (0 / 1 / 1000 items, very long strings, mid-operation network failure, expired session).
+- **No TODO comments, no stubs, no `throw new Error("not implemented")`, no commented-out code.** If you write it, finish it.
+- **No errors without solutions.** Every error has a root cause; every root cause has a fix. Ship failsafes, not lazy propagation.
+- **$THREE is the only coin** (CA `FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`). Never name, add, hardcode, link, render, or recommend any other coin anywhere — code, copy, tests, fixtures, commits. The only exceptions are coin-agnostic runtime plumbing (user supplies a mint) and platform launch records rendered at runtime.
+- **Read before you write.** Match the existing patterns, naming, file organization, and the design tokens in `DESIGN-TOKENS.md`. Consistency compounds.
+- **Accessibility + responsive (320 / 768 / 1440) + microinteractions** are part of done, not polish. Semantic HTML, ARIA, keyboard nav, focus rings, sufficient contrast.
+- **Performance by default:** lazy-load heavy modules, debounce input handlers, paginate large lists, animate with `transform`/`opacity`. Ship no jank.
+- **Changelog:** append a holder-readable entry to `data/changelog.json` for any user-visible change, then run `npm run build:pages` to validate.
+- **Concurrent agents share this worktree.** Stage explicit paths only — **never** `git add -A` / `git add .`. Re-check `git status` + `git diff --staged` immediately before any commit. Never commit `api/*.js` esbuild bundles (check `head -1` for `__defProp` / `createRequire`).
+
+## 6. Definition of done
+
+- [ ] Feature is built, wired into navigation, and reachable by a real user.
+- [ ] Exercised in a real browser via `npm run dev`; **no console errors or warnings** from your code.
+- [ ] Network tab shows real API calls succeeding with real data.
+- [ ] Every interactive element has hover / active / focus states; fully keyboard-navigable.
+- [ ] Loading, empty, error, populated, and overflow states all designed and reachable.
+- [ ] Existing tests pass (`npm test`); add tests for new logic you introduce.
+- [ ] `git diff` self-reviewed — every changed line justified.
+- [ ] Changelog updated if the change is user-visible.
+- [ ] You would be proud to demo this to a room of senior engineers.
+
+> Note: do **not** run `npm install` in this codespace (the cache is corrupted and it hangs the box). Use the already-installed dependencies.
+
+## 7. Self-improvement loop (REQUIRED before you finish)
+
+When you think you're done: **STOP.** Re-read §2.
+
+1. Find the single weakest aspect of what you built and make it excellent. Repeat until nothing obvious remains.
+2. Run the self-review protocol: **lazy check** (any shortcut, any half-wire, any hardcoded value where dynamic belongs?), **user check** (first-time user — does it make sense, is it findable, does it feel polished?), **integration check** (connects to the rest of the platform, navigable to/from?), **edge-case check** (0 / 1 / 1000, long names, network failure, expired session), **pride check** (portfolio-worthy? if not, fix what's stopping you).
+3. Update `data/changelog.json` if user-visible.
+4. **Delete this task file** — `prompts/feature-innovation/07_05_watchlist.md`.
+5. Report: what you shipped, what you *invented*, and the single best next idea you'd pursue.
+
+---
+
+## Reference shelf
+
+- **This feature's current UX:** `docs/ux-flows/07-crypto-trading-analytics.md`
+- **Repo map:** `STRUCTURE.md` · **Operating rules:** `CLAUDE.md` · **Design tokens:** `DESIGN-TOKENS.md`
+- **Credentials / endpoints:** `.env`, `.env.example`
+- **Stack:** vanilla JS modules + Vite (`npm run dev`, port 3000); Three.js (glTF/GLB); Vercel functions in `api/`; Cloudflare workers in `workers/`; Solana / agent SDKs in `sdk/`, `solana-agent-sdk/`, `agent-payments-sdk/`.
diff --git a/prompts/feature-innovation/08_05_agent-wallet-x402.md b/prompts/feature-innovation/08_05_agent-wallet-x402.md
new file mode 100644
index 000000000..d0694c56d
--- /dev/null
+++ b/prompts/feature-innovation/08_05_agent-wallet-x402.md
@@ -0,0 +1,89 @@
+# 🚀 Innovation Brief — Agent Wallet x402 Pay (3D demo)
+
+> **Task file:** `prompts/feature-innovation/08_05_agent-wallet-x402.md`
+> **Surface:** `/play/agent-wallet`
+> **Primary source:** `pages/play/agent-wallet.html` → `src/play-agent-wallet.js`; `src/game/avatar-rig.js`, `src/game/play-handoff.js`; bridge `api/agent-wallet-bridge` (prod) or `scripts/agent-wallet-x402-bridge.mjs` on `127.0.0.1:4402` (dev)
+> **Atlas reference:** `docs/ux-flows/08-coin-launch-wallets.md` (current UX, traced step-by-step)
+
+---
+
+## 0. How to use this brief
+
+You are **one agent in a fleet**. This one feature is yours to make world-class. Read this entire brief, then read the referenced source so you are changing reality and not a guess. Execute completely. When you are genuinely done (§6–7), **delete this task file**.
+
+You are not a task-completing machine. You are a senior engineer and product thinker who happens to write code. Act like it.
+
+## 1. Mission
+
+The end user is someone who has heard "AI agents can pay for things autonomously" and wants to *see it actually happen* — not a diagram, a real transaction. The feature exists to make autonomous agent payments **tangible and trustworthy**: a 3D avatar walks to a kiosk and pays a real x402 endpoint $0.01 USDC on Solana mainnet, money genuinely leaving the agent's wallet, and returns with the purchased data. It's the most concrete proof that three.ws agents have economic agency.
+
+"Gamechanging" here means turning an abstract protocol (x402, HTTP 402 Payment Required + on-chain settlement) into a **believable, repeatable, trustworthy spectacle**. The user must come away certain the payment was real — real wallet, real chain, real settlement, real Solscan link — and delighted by the embodiment of it. This is the platform's flagship demo of autonomous payments; it should convert skeptics.
+
+## 2. The bar
+
+Build the version that makes someone screenshot it and share it. Benchmark against the best in the world (Stripe's payment UX clarity, Coinbase Commerce confidence, the polish of a AAA game interaction, Linear's status timelines). **If your result merely matches what already exists, you have failed this brief.** Invent something true and new that creates real, obvious value for the user.
+
+## 3. Current state — ground truth (verify in source before you touch anything)
+
+- **Route(s):** `/play/agent-wallet` (`#stage3d` 3D scene: avatar + kiosk + stage board; side panel with topic chips, endpoint card, Pay button).
+- **Source:** `pages/play/agent-wallet.html` → `src/play-agent-wallet.js`; `src/game/avatar-rig.js`, `src/game/play-handoff.js`. Bridge: hosted `api/agent-wallet-bridge` (prod) or local `scripts/agent-wallet-x402-bridge.mjs` on `127.0.0.1:4402` (dev).
+- **Current flow:** 6 required (+1 optional) — boot loads saved `/play` avatar (`CC_AVATAR_KEY`/`?avatar=`), builds 3D rig, `refreshStatus()` → bridge `?status=1` (address/mode + USD balance, repolls 30s) → `loadQuote()` → bridge `?quote=1&endpoint=…` (name/price/pay-to/tags) → optional topic chip (BTC/ETH/SOL) → "Send avatar to pay — $0.01 USDC" → avatar walks to kiosk, pay ring pulses → `POST` bridge `?pay=1` SSE streams `challenge`(402) → `signing` → `signed`/`submitting` → `done` (settled mainnet), board/kiosk/stepper animate in lockstep → receipt (amount, payer→payTo, Solscan link, purchased crypto-intel payload), avatar celebrates + walks home, session total accrues.
+- **What works today:** Real $0.01 USDC mainnet settlement via x402 facilitator; SSE-streamed pay stages animated across 3D scene + stepper; hosted vs. local-dev bridge with different auth models; 401 needs-auth (402→401 "Sign in to pay") and 429 rate-limit handling; live balance + session total; receipt with real Solscan tx link and the purchased intel payload.
+- **Real APIs / dependencies already wired:** bridge `status`/`quote`/`pay` (`/api/agent-wallet-bridge` or local `:4402`); paid endpoint `https://three.ws/api/x402/crypto-intel`; Solana mainnet settlement via x402 facilitator; Solscan (tx link). **The payment is real** — $0.01 USDC leaves the wallet.
+- **Where it's mediocre, thin, or unfinished:** It's a single demo of a single endpoint paying a fixed amount — it proves the concept but doesn't *expand* it. The trust evidence (this really happened on mainnet) is a Solscan link, not a designed, verifiable receipt a skeptic would accept. The 3D scene is a nice touch but the payment *protocol* (the 402 challenge, the signing, the settlement) is under-explained for the curious. There's no history of past payments, no sense of the agent's spending over time, and no path from "I saw it work" to "let me make my agent do this."
+
+## 4. Innovation directions (seeds — you are expected to go beyond them)
+
+- **Make the receipt undeniable.** Build a verifiable, designed receipt: amount, payer agent wallet → endpoint payTo, on-chain signature with a one-tap Solscan verify, and the exact x402 challenge/settlement trace — the artifact that converts a skeptic.
+- **Explain the protocol as it happens.** Annotate each SSE stage (402 challenge → sign → submit → settle) inline so the user *understands* what autonomous payment means, not just that it happened. Teach while you delight.
+- **A spend ledger.** Persist and surface the agent's real payment history (this session and prior) so the demo reads as an ongoing economic agent, not a one-shot trick. Show session and lifetime spend.
+- **More to buy.** Generalize beyond a single endpoint/topic to a small, real catalog of x402-priced data the avatar can fetch — each a genuine settlement — so the agent feels like it has a wallet it actually uses.
+- **Cross-feature wiring:** connect to the agent's real custodial wallet used elsewhere (the launch flow's agent wallet, `/avatar-wallet-chat`'s `/api/agent/wallet`) so balance and history are consistent across the platform; offer "fund this wallet" with the same deposit pattern as `/launch`; and let a user pick *their* agent (`/api/agents`) to run the payment, turning the demo into their agent doing real work.
+
+> These are starting points, not a checklist. The best idea may not be listed — find it. Think second-order: how does improving this unlock value in adjacent three.ws features? **Wire those connections.** The best platforms feel like everything is linked.
+
+## 5. Hard rules (non-negotiable — from `CLAUDE.md`)
+
+- **Real APIs, real data, real integrations. No mocks, no fake/sample arrays, no placeholders, no `setTimeout` fake-loading or fake progress.** If credentials are missing, find them in `.env` / `.env.example` / `vercel env` — then proceed. (The payment must stay a real on-chain settlement — never fake a tx or signature.)
+- **Wire 100%.** Every button works, every link goes somewhere, every reachable state exists. Design *every* state: loading (skeletons over spinners), empty (tell the user what to do next), error (actionable recovery), populated, and overflow (0 / 1 / 1000 items, very long strings, mid-operation network failure, expired session).
+- **No TODO comments, no stubs, no `throw new Error("not implemented")`, no commented-out code.** If you write it, finish it.
+- **No errors without solutions.** Every error has a root cause; every root cause has a fix. Ship failsafes, not lazy propagation. (Bridge offline, low balance, 401, 429, failed settlement must each have a designed, honest state — "no funds moved" when true.)
+- **$THREE is the only coin** (CA `FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`). Never name, add, hardcode, link, render, or recommend any other coin anywhere — code, copy, tests, fixtures, commits. The only exceptions are coin-agnostic runtime plumbing (user supplies a mint) and platform launch records rendered at runtime. (USDC here is the settlement currency of the x402 protocol, not a promoted token — keep it functional, never marketed.)
+- **Read before you write.** Match the existing patterns, naming, file organization, and the design tokens in `DESIGN-TOKENS.md`. Consistency compounds.
+- **Accessibility + responsive (320 / 768 / 1440) + microinteractions** are part of done, not polish. Semantic HTML, ARIA, keyboard nav, focus rings, sufficient contrast. (The 3D scene must have a reduced-motion-aware, accessible fallback for the pay flow.)
+- **Performance by default:** lazy-load heavy modules, debounce input handlers, paginate large lists, animate with `transform`/`opacity`. Ship no jank.
+- **Changelog:** append a holder-readable entry to `data/changelog.json` for any user-visible change, then run `npm run build:pages` to validate.
+- **Concurrent agents share this worktree.** Stage explicit paths only — **never** `git add -A` / `git add .`. Re-check `git status` + `git diff --staged` immediately before any commit. Never commit `api/*.js` esbuild bundles (check `head -1` for `__defProp` / `createRequire`).
+
+## 6. Definition of done
+
+- [ ] Feature is built, wired into navigation, and reachable by a real user.
+- [ ] Exercised in a real browser via `npm run dev`; **no console errors or warnings** from your code.
+- [ ] Network tab shows real API calls succeeding with real data.
+- [ ] Every interactive element has hover / active / focus states; fully keyboard-navigable.
+- [ ] Loading, empty, error, populated, and overflow states all designed and reachable.
+- [ ] Existing tests pass (`npm test`); add tests for new logic you introduce.
+- [ ] `git diff` self-reviewed — every changed line justified.
+- [ ] Changelog updated if the change is user-visible.
+- [ ] You would be proud to demo this to a room of senior engineers.
+
+> Note: do **not** run `npm install` in this codespace (the cache is corrupted and it hangs the box). Use the already-installed dependencies.
+
+## 7. Self-improvement loop (REQUIRED before you finish)
+
+When you think you're done: **STOP.** Re-read §2.
+
+1. Find the single weakest aspect of what you built and make it excellent. Repeat until nothing obvious remains.
+2. Run the self-review protocol: **lazy check** (any shortcut, any half-wire, any hardcoded value where dynamic belongs?), **user check** (first-time user — does it make sense, is it findable, does it feel polished?), **integration check** (connects to the rest of the platform, navigable to/from?), **edge-case check** (0 / 1 / 1000, long names, network failure, expired session), **pride check** (portfolio-worthy? if not, fix what's stopping you).
+3. Update `data/changelog.json` if user-visible.
+4. **Delete this task file** — `prompts/feature-innovation/08_05_agent-wallet-x402.md`.
+5. Report: what you shipped, what you *invented*, and the single best next idea you'd pursue.
+
+---
+
+## Reference shelf
+
+- **This feature's current UX:** `docs/ux-flows/08-coin-launch-wallets.md`
+- **Repo map:** `STRUCTURE.md` · **Operating rules:** `CLAUDE.md` · **Design tokens:** `DESIGN-TOKENS.md`
+- **Credentials / endpoints:** `.env`, `.env.example`
+- **Stack:** vanilla JS modules + Vite (`npm run dev`, port 3000); Three.js (glTF/GLB); Vercel functions in `api/`; Cloudflare workers in `workers/`; Solana / agent SDKs in `sdk/`, `solana-agent-sdk/`, `agent-payments-sdk/`.
diff --git a/prompts/feature-innovation/12_03_blog-tutorials-experience.md b/prompts/feature-innovation/12_03_blog-tutorials-experience.md
new file mode 100644
index 000000000..2db8cc0b8
--- /dev/null
+++ b/prompts/feature-innovation/12_03_blog-tutorials-experience.md
@@ -0,0 +1,102 @@
+# 🚀 Innovation Brief — Blog & Tutorials Experience
+
+> **Task file:** `prompts/feature-innovation/12_03_blog-tutorials-experience.md`
+> **Surface:** `/blog` (index + 26 posts), `/tutorials` (index + articles), newsletter capture
+> **Primary source:** `blog/index.html`, `blog/<slug>.html` (26 shared-template posts), `pages/tutorials.html`, `pages/tutorial.html`, `public/tutorials-manifest.js`, `docs/tutorials/<slug>.md`, `POST /api/newsletter/subscribe`
+> **Atlas reference:** `docs/ux-flows/12-home-and-content.md` (current UX, traced step-by-step)
+
+---
+
+## 0. How to use this brief
+
+You are **one agent in a fleet**. This one feature is yours to make world-class. Read this entire brief, then read the referenced source so you are changing reality and not a guess. Execute completely. When you are genuinely done (§6–7), **delete this task file**.
+
+You are not a task-completing machine. You are a senior engineer and product thinker who happens to write code. Act like it.
+
+## 1. Mission
+
+The end user is a reader who arrived from search, social, or the changelog — a curious developer, a $THREE holder, or a prospective builder — who wants to learn something (how to embed 3D on-chain, how to prompt for 3D, what the AWS/IBM/Google partnerships mean) and, ideally, to *act* on it. Blog and tutorials exist to turn readers into builders and subscribers: they are the platform's top-of-funnel content engine. Today they are honest but static — the blog index is a hardcoded list of 26 cards with no search or filter, posts are read-only templates with no related content or in-body conversion, and tutorials are well-built articles whose "steps" are prose, not runnable.
+
+"Gamechanging" here means content that is **discoverable, delightful to read, and quietly relentless at conversion** — a fast search across all posts and tutorials, related-content that keeps readers moving, *runnable* tutorial steps (a tutorial about prompting for 3D should let you forge a model right there via real `/api/forge`), and newsletter capture that feels earned, not bolted on. The bar is the best technical content experience in web3/3D — Stripe's blog polish, Josh Comeau / Smashing-grade interactive tutorials, and the discovery of a great docs/blog hybrid.
+
+## 2. The bar
+
+Build the version that makes someone screenshot it and share it. Benchmark against the best in the world — the Stripe and Vercel blogs (typography, motion, share affordances), Josh Comeau / Smashing Magazine / web.dev (interactive, runnable tutorials), and Linear's changelog/blog (clarity + momentum). **If your result merely matches what already exists, you have failed this brief.** Invent something true and new: tutorials where the reader builds a real 3D agent inside the article, and a content layer where every post is one keystroke from the next thing worth reading and one scroll from subscribing.
+
+## 3. Current state — ground truth (verify in source before you touch anything)
+
+- **Route(s):**
+ - `/blog` → `blog/index.html`; `/blog/<slug>` → `blog/<slug>.html` (`vercel.json` `/blog/([a-z0-9-]+) → /blog/$1.html`).
+ - `/tutorials` → `pages/tutorials.html`; `/tutorials/<slug>` → `pages/tutorial.html` (`vercel.json` `/tutorials/([a-z0-9-]+) → /tutorial.html`).
+- **Source:**
+ - **Blog index:** `blog/index.html` — static, hardcoded list of 26 post cards (title, date, informational tag); RSS `/rss/announcements.xml`; X/GitHub links.
+ - **Blog posts:** 26 routable static HTML files on **one shared template** (`.post-wrap`, `.post-meta`, `.post-tag`, shared nav/footer). Slugs include `text-to-3d-is-live`, `how-to-embed-3d-onchain-agents`, `see-your-3d-in-ar`, `agent-3d-web-component`, plus partnership announcements (AWS, IBM, Google Cloud, Alibaba, BNB Chain, CoinMarketCap, Anthropic MCP registry, etc.).
+ - **Tutorials index:** `pages/tutorials.html` — client-rendered from `public/tutorials-manifest.js` (`window.TUTORIALS`, 23 entries, 3 tiers: Easy 8 / Middle 10 / Advanced 5); hero jump-links per tier; cards link to `/tutorials/<slug>`.
+ - **Tutorial article:** `pages/tutorial.html` — slug from URL regex, metadata via `window.tutorialBySlug(slug)`, content `GET /docs/tutorials/<slug>.md` parsed with marked + highlight.js; per-`<pre>` **copy code** buttons; sticky TOC + scroll-spy; heading anchors; prev/next pager; back-to-top + top progress bar; manifest-driven hero CTA.
+- **Current flow:** Blog index = 1 required step (click a post) + optional RSS/social. Blog post = 1 step (read). Tutorials index = 4 steps (jump-links, browse, open, bottom CTA). Tutorial article = 1 required (read) + 4 optional (CTA, copy, TOC, pager).
+- **What works today:** Tutorial articles are genuinely solid (TOC scroll-spy, copy-code, pager, progress bar, error state "Page not found."). The newsletter form (`data-newsletter-form` → `POST /api/newsletter/subscribe`, aria-live result) is already wired and used on other pages (features, events).
+- **Real APIs / dependencies already wired:** `GET /docs/tutorials/<slug>.md` (tutorial body); `POST /api/newsletter/subscribe` (newsletter, used elsewhere); marked + highlight.js CDNs; `agent-3d` + `model-viewer` available platform-wide; `POST/GET /api/forge`, `GET /api/forge-gallery`, `GET /api/explore` available for embedding live demos.
+- **Where it's mediocre, thin, or unfinished:**
+ - **Blog index has no search, no filter, no pagination.** 26 cards, hardcoded; tags are display-only, not filterable. Discovery is "scroll and hope."
+ - **Blog posts are dead ends.** No related posts, no "next read," no share buttons, no TOC, no newsletter capture *in the post*, no embedded 3D demos — even posts literally about embedding 3D / AR / the web component show no live agent. Copy-button CSS exists in the template but sampled posts have no code blocks. A reader finishes and leaves.
+ - **Two unrelated content systems.** Blog (static HTML files) and tutorials (manifest + markdown SPA-ish template) don't share search, related-content, chrome, or discovery. They should feel like one content library.
+ - **Tutorial steps are prose, not runnable.** A tutorial on prompting for 3D or the generate-3D API explains the call but never lets the reader *run* it inline — despite `/api/forge` being free and already wired into the home Mini-Forge.
+ - **No cross-surface wiring.** Blog/tutorials don't surface in each other, don't link to the matching docs page, and don't feed the changelog reader or the home content strip. Two unrouted `.md` files exist (`blog/decision-optimization-3d-ai-crypto.md`, `blog/internets-second-species.md`) as source-only material, not live pages.
+ - **Newsletter capture is absent from the two highest-intent surfaces** (blog post end, tutorial completion) where a reader has just gotten value.
+
+## 4. Innovation directions (seeds — you are expected to go beyond them)
+
+- **One unified content library with instant search + filters.** Replace the hardcoded blog index (and unify with the tutorials index) with a fast client-side `⌘K`/typeahead search and tag/tier/type filters across all 26 posts + 23 tutorials. Drive it from a generated manifest (extend the tutorials-manifest pattern; generate a posts manifest via the existing `build:pages` pipeline so it never drifts from the HTML files). Keyboard-first, deep-linkable, with designed empty/no-results states.
+- **Runnable tutorial steps — the reader builds in the article.** For tutorials about prompting/forging/embedding, embed a real, sandboxed mini-widget inline: a prompt bar that calls the real free `/api/forge` and renders the result with `<model-viewer>`, or a live `<agent-3d>` whose attributes update as the article's code is edited. The reader *completes* the tutorial by doing it, not reading it. This is the read-and-do-are-the-same-action core. (This is also the ≥1 cross-feature wiring idea: tutorials drive the real Forge/embed pipeline.)
+- **Living blog posts.** Give the shared post template a designed reading layer: scroll progress, in-body TOC for long posts, share buttons (X, copy-link, "Open in Claude" for the post text), an author/date/reading-time meta strip, and — for posts about embed/AR/web-component — a live `<agent-3d>`/`<model-viewer>` demo so the post *shows* what it describes.
+- **Related content + "next read" everywhere.** End every post and tutorial with algorithmically-related items (shared tags/topics) spanning *both* blog and tutorials and the matching docs page (`/docs/embedding`, `/docs/api-reference`, etc.). Keep the reader in motion across the whole content graph.
+- **Earned newsletter capture at the moment of value.** Add the already-wired `data/newsletter-form` → `POST /api/newsletter/subscribe` block to the end of every post and to tutorial completion, with copy tuned to what they just read ("Get the next 3D-agent build guide"). Designed success/error/duplicate states; respect prior subscribers.
+- **Activate the two orphaned `.md` files** (`decision-optimization-3d-ai-crypto`, `internets-second-species`) by routing and rendering them through a markdown-driven post path so good source material becomes live, discoverable content — and consider migrating the blog from 26 hand-maintained HTML files toward the markdown+template model the tutorials already use, eliminating the divergence.
+
+> These are starting points, not a checklist. The best idea may not be listed — find it. Think second-order: blog + tutorials are the funnel into Forge, the SDK, and $THREE — wire runnable steps to real `/api/forge`, related-content into docs, and newsletter capture at peak intent. Surface fresh content on the home content strip and the changelog. **Wire those connections.** The best platforms feel like everything is linked.
+
+## 5. Hard rules (non-negotiable — from `CLAUDE.md`)
+
+- **Real APIs, real data, real integrations. No mocks, no fake/sample arrays, no placeholders, no `setTimeout` fake-loading or fake progress.** If credentials are missing, find them in `.env` / `.env.example` / `vercel env` — then proceed.
+- **Wire 100%.** Every button works, every link goes somewhere, every reachable state exists. Design *every* state: loading (skeletons over spinners), empty (tell the user what to do next), error (actionable recovery), populated, and overflow (0 / 1 / 1000 items, very long strings, mid-operation network failure, expired session).
+- **No TODO comments, no stubs, no `throw new Error("not implemented")`, no commented-out code.** If you write it, finish it.
+- **No errors without solutions.** Every error has a root cause; every root cause has a fix. Ship failsafes, not lazy propagation.
+- **$THREE is the only coin** (CA `FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`). Never name, add, hardcode, link, render, or recommend any other coin anywhere — code, copy, tests, fixtures, commits. The only exceptions are coin-agnostic runtime plumbing (user supplies a mint) and platform launch records rendered at runtime.
+- **Read before you write.** Match the existing patterns, naming, file organization, and the design tokens in `DESIGN-TOKENS.md`. Consistency compounds.
+- **Accessibility + responsive (320 / 768 / 1440) + microinteractions** are part of done, not polish. Semantic HTML, ARIA, keyboard nav, focus rings, sufficient contrast.
+- **Performance by default:** lazy-load heavy modules, debounce input handlers, paginate large lists, animate with `transform`/`opacity`. Ship no jank.
+- **Changelog:** append a holder-readable entry to `data/changelog.json` for any user-visible change, then run `npm run build:pages` to validate.
+- **Concurrent agents share this worktree.** Stage explicit paths only — **never** `git add -A` / `git add .`. Re-check `git status` + `git diff --staged` immediately before any commit. Never commit `api/*.js` esbuild bundles (check `head -1` for `__defProp` / `createRequire`).
+
+## 6. Definition of done
+
+- [ ] Feature is built, wired into navigation, and reachable by a real user.
+- [ ] Exercised in a real browser via `npm run dev`; **no console errors or warnings** from your code.
+- [ ] Network tab shows real API calls succeeding with real data.
+- [ ] Every interactive element has hover / active / focus states; fully keyboard-navigable.
+- [ ] Loading, empty, error, populated, and overflow states all designed and reachable.
+- [ ] Existing tests pass (`npm test`); add tests for new logic you introduce.
+- [ ] `git diff` self-reviewed — every changed line justified.
+- [ ] Changelog updated if the change is user-visible.
+- [ ] You would be proud to demo this to a room of senior engineers.
+
+> Note: do **not** run `npm install` in this codespace (the cache is corrupted and it hangs the box). Use the already-installed dependencies.
+
+## 7. Self-improvement loop (REQUIRED before you finish)
+
+When you think you're done: **STOP.** Re-read §2.
+
+1. Find the single weakest aspect of what you built and make it excellent. Repeat until nothing obvious remains.
+2. Run the self-review protocol: **lazy check** (any shortcut, any half-wire, any hardcoded value where dynamic belongs?), **user check** (first-time user — does it make sense, is it findable, does it feel polished?), **integration check** (connects to the rest of the platform, navigable to/from?), **edge-case check** (0 / 1 / 1000, long names, network failure, expired session), **pride check** (portfolio-worthy? if not, fix what's stopping you).
+3. Update `data/changelog.json` if user-visible.
+4. **Delete this task file** — `prompts/feature-innovation/12_03_blog-tutorials-experience.md`.
+5. Report: what you shipped, what you *invented*, and the single best next idea you'd pursue.
+
+---
+
+## Reference shelf
+
+- **This feature's current UX:** `docs/ux-flows/12-home-and-content.md`
+- **Repo map:** `STRUCTURE.md` · **Operating rules:** `CLAUDE.md` · **Design tokens:** `DESIGN-TOKENS.md`
+- **Credentials / endpoints:** `.env`, `.env.example`
+- **Stack:** vanilla JS modules + Vite (`npm run dev`, port 3000); Three.js (glTF/GLB); Vercel functions in `api/`; Cloudflare workers in `workers/`; Solana / agent SDKs in `sdk/`, `solana-agent-sdk/`, `agent-payments-sdk/`.