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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
docs: add site-overhaul roadmap (workstreams A–G)
nirholasd0ac98390875
diff --git a/tasks/site-overhaul/A-health/A01-fix-localhost-fallbacks.md b/tasks/site-overhaul/A-health/A01-fix-localhost-fallbacks.mdnew file mode 100644index 000000000..8a127fb1b--- /dev/null+++ b/tasks/site-overhaul/A-health/A01-fix-localhost-fallbacks.md@@ -0,0 +1,33 @@+# A01 — Kill production-breaking `localhost` fallbacks++**Track:** Health · **Size:** S · **Priority:** P0 (breaks features in prod)++## Goal+Two modules fall back to a hardcoded `localhost` URL when an env var is unset. In production+that silently breaks the feature. Resolve them to real production defaults and fail loudly in+dev if misconfigured — never ship a dead `localhost` to users.++## Why it matters+Multiplayer `/walk` and the avatar creator both die on real deployments if their env var isn't+present. This is the kind of bug that makes the platform look broken to a first-time visitor.++## Context+- [src/walk-net.js](src/walk-net.js#L48) — `defaultServerUrl()` returns `'ws://localhost:2567'` as the final fallback.+- [src/avatar-creator.js](src/avatar-creator.js#L21) — `getStudioUrl()` returns `'http://localhost:5173'` when `VITE_CHARACTER_STUDIO_URL` is unset.+- Check how other modules resolve prod URLs (meta tags, `import.meta.env`, `window.location.origin`) and follow that pattern.++## Scope+- Replace each `localhost` fallback with: (1) the real production URL (find it in `vercel env`, `.env`, or existing config), resolved via the same mechanism the rest of the app uses; (2) in dev, keep `localhost` only when `import.meta.env.DEV` is true.+- If no env var is set in prod, surface a clear, user-facing error/empty state ("multiplayer is temporarily unavailable") rather than attempting a doomed `localhost` socket.+- Grep the whole tree for other hardcoded `localhost`/`127.0.0.1` in non-dev/non-test code and fix the same way.++## Out of scope+- Dev tooling, scripts/, tests/ (localhost is fine there).++## Definition of done+- With the env var unset, `/walk` and the avatar creator degrade gracefully (no console flood, designed message), and with it set, they connect to the real service.+- No `localhost`/`127.0.0.1` remains in shipped `src/` runtime paths outside `import.meta.env.DEV` guards.++## Verify+- `npm run dev`, open `/walk` and the create flow; confirm real connections.+- `grep -rn "localhost\|127.0.0.1" src | grep -v "env.DEV"` returns only guarded or commented cases.diff --git a/tasks/site-overhaul/A-health/A02-dead-links-and-unhandled-promises.md b/tasks/site-overhaul/A-health/A02-dead-links-and-unhandled-promises.mdnew file mode 100644index 000000000..6c65d7038--- /dev/null+++ b/tasks/site-overhaul/A-health/A02-dead-links-and-unhandled-promises.md@@ -0,0 +1,30 @@+# A02 — Fix dead links & unhandled promise rejections++**Track:** Health · **Size:** M · **Priority:** P0/P1++## Goal+Eliminate dead interactive elements and unhandled async failures. Every button works, every+link goes somewhere, every promise has a boundary (`CLAUDE.md`: "If a button exists, it must work").++## Why it matters+Dead paths and silent crashes read as "this product is half-built." They're cheap to fix and+high-signal for quality.++## Context (known instances — fix these, then sweep)+- [src/marketplace.js](src/marketplace.js#L4384) — `#rel-more` "View More ›" link with `href="#"` and **no handler**. Wire it to actually expand/paginate the Related Agents list (reuse the list's existing data source).+- [src/avatar-drop.js](src/avatar-drop.js#L365) — `Promise.all([...])` loading animation clips with **no `.catch()`**; the inner `fetchClip` (line ~364) also lacks error handling. Add a boundary; on failure, skip the interactive animation gracefully (don't crash init).++## Scope+1. Fix the two known issues above with real behavior (not just a swallow — the "View More" must do something useful).+2. Sweep `src/` and `pages/` for: `href="#"` with no click handler, `onclick`/listeners that are empty, and `<button>`s with no bound action. For each, either wire it or remove it.+3. Sweep for `Promise.all(`, `.then(` chains, and `await fetch(` in event handlers/init paths that lack a `.catch`/`try`. Add boundaries at network/user-input edges (internal code may trust itself, per `CLAUDE.md`).++## Out of scope+- Console-log triage (that's `A05`). Test failures (that's `A03`).++## Definition of done+- "View More" expands the related list; no dead `href="#"` remains without intent.+- No unhandled rejection appears in the console while exercising the home page, marketplace, and create flow.++## Verify+- `npm run dev`; click every CTA on the home page, `/marketplace`, and an agent detail page. Console shows zero unhandled rejections.diff --git a/tasks/site-overhaul/A-health/A03-green-test-suite.md b/tasks/site-overhaul/A-health/A03-green-test-suite.mdnew file mode 100644index 000000000..fb0876c49--- /dev/null+++ b/tasks/site-overhaul/A-health/A03-green-test-suite.md@@ -0,0 +1,28 @@+# A03 — Get the test suite green++**Track:** Health · **Size:** M · **Priority:** P1++## Goal+`npm test` currently reports **14 failing tests across 7 files** (3164 passing). Drive it to+green, or — where a failure reflects intentional churn from concurrent work — quarantine with a+documented reason, never by deleting coverage.++## Why it matters+A red suite means no one trusts CI, and real regressions hide in the noise. At least one failure+is a genuine security-relevant regression.++## Context+- Run `npm test 2>&1 | tail -60` to see the current failures. Known real one:+ - `tests/api/webhooks-replicate.test.js:214` — expects `200` for a Replicate prediction that matches no job row ("ignored"), but the handler now returns `401`. Either the webhook auth changed and the test is stale, or auth is rejecting unrelated-but-valid webhooks. **Investigate the handler** (`api/webhooks/replicate*`) and decide which is correct — an unrelated prediction should be acknowledged (`200 ignored`), not rejected, unless the signature genuinely failed.+- Per the swarm context, some redness is transient churn from ~20 agents editing concurrently. Re-run before assuming a failure is yours.++## Scope+- Triage all 7 failing files. For each: fix the code if it's a real bug; fix the test if the contract legitimately changed; skip with `it.skip` + a `// reason:` comment only if it depends on unfinished concurrent work.+- Do **not** mask failures by loosening assertions.++## Definition of done+- `npm test` is green, or every remaining skip has a one-line documented reason.+- The webhooks-replicate auth behavior is correct and explained in the PR description.++## Verify+- `npm test 2>&1 | tail -10` shows 0 unexpected failures.diff --git a/tasks/site-overhaul/A-health/A04-error-boundaries-audit.md b/tasks/site-overhaul/A-health/A04-error-boundaries-audit.mdnew file mode 100644index 000000000..6ad55bde9--- /dev/null+++ b/tasks/site-overhaul/A-health/A04-error-boundaries-audit.md@@ -0,0 +1,30 @@+# A04 — Network & input error-boundary audit++**Track:** Health · **Size:** M · **Priority:** P1 · **Depends on:** A02 (overlaps; coordinate)++## Goal+Every network call and user-input handler that can fail must fail *into a designed state*, not a+blank screen or a console error. Establish boundaries at the edges, consistently.++## Why it matters+`CLAUDE.md`: "Errors handled at boundaries (network, user input)." The UX audit found pages that+go blank or silently fail on fetch errors — that's invisible breakage for users.++## Context+- The app is vanilla JS; there's no React error boundary. Boundaries are manual `try/catch` around `fetch`/`await` at handler level.+- A reusable error/empty/loading state treatment should come from Track B's shared components once they exist — coordinate so you're not inventing a one-off.+- ~324 `console.error/warn` calls exist; many mark spots where a user-facing state is missing.++## Scope+- Inventory `fetch(`/`await`-in-handler sites in `src/` that render user-facing data. For each, ensure: a loading state, a catch that renders an **actionable** error ("Couldn't load X — retry"), and an empty state.+- Prioritize the high-traffic surfaces: home, `/discover`, `/marketplace`, `/dashboard`, agent detail, `/create`.+- Standardize a small helper (e.g. `src/shared/async-state.js`) if one doesn't exist, so every surface uses the same loading/error/empty pattern.++## Out of scope+- Rewriting the data sources; just add boundaries + states.++## Definition of done+- The prioritized surfaces show designed loading/empty/error states; a forced network failure (DevTools offline) never yields a blank page or an unhandled rejection.++## Verify+- `npm run dev`; toggle DevTools "Offline" and reload each prioritized surface — each shows a retryable error, not a void.diff --git a/tasks/site-overhaul/A-health/A05-console-hygiene.md b/tasks/site-overhaul/A-health/A05-console-hygiene.mdnew file mode 100644index 000000000..236da5eba--- /dev/null+++ b/tasks/site-overhaul/A-health/A05-console-hygiene.md@@ -0,0 +1,27 @@+# A05 — Console hygiene++**Track:** Health · **Size:** S/M · **Priority:** P2++## Goal+Reduce ~324 `console.error`/`console.warn` calls in `src/` to a clean, intentional set. A+production console should be quiet; noise hides real problems and looks unprofessional when a+developer-user opens DevTools.++## Why it matters+`CLAUDE.md` definition of done: "No console errors. No console warnings from your code."++## Context+- `grep -rn "console\.\(error\|warn\|log\)" src | wc -l` to size it; group by file.+- Many are legitimate diagnostics; the goal is *intentional* logging, not zero.++## Scope+- Introduce/adopt a tiny logger (`src/shared/log.js`) gated on `import.meta.env.DEV` (or a `?debug` flag) so verbose diagnostics don't ship to prod consoles.+- Convert noisy `console.*` to the logger. Keep genuine error reporting that a user/operator should see, but ensure it's paired with a user-facing state (coordinate with `A04`).+- Remove dead `console.log` debug breadcrumbs entirely.++## Definition of done+- Loading the home page, `/discover`, `/dashboard`, and an agent page produces **zero** warnings/errors from our code in a production build.+- Verbose logs are available behind the dev/debug gate.++## Verify+- `npm run build && npm run preview` (or serve `dist/`); open each surface — clean console.diff --git a/tasks/site-overhaul/A-health/A06-reconcile-home-variants.md b/tasks/site-overhaul/A-health/A06-reconcile-home-variants.mdnew file mode 100644index 000000000..3a08eda43--- /dev/null+++ b/tasks/site-overhaul/A-health/A06-reconcile-home-variants.md@@ -0,0 +1,27 @@+# A06 — Reconcile the homepage variants++**Track:** Health · **Size:** M · **Priority:** P1++## Goal+There are 5+ home pages: `home.html`, `home-v2`, `home-v3`, `home-v4`, `home-classic`. Pick the+canonical one, make `/` serve it, and redirect or delete the rest. One front door.++## Why it matters+Multiple half-maintained homepages dilute the brand, fragment SEO, and guarantee inconsistency.+The audit identifies `pages/home-v4.html` ("Give your AI a body") as the current canonical.++## Context+- Files: `pages/home.html`, `pages/home-v2.html`, `pages/home-v3.html`, `pages/home-v4.html`, `pages/home-classic.html`.+- Routing: `vite.config.js` (dev) + `vercel.json` (prod) define `/`, `/home`, `/home-v2…`.+- Note: Track C (C01) will rewrite the canonical home's copy for newcomers — coordinate so you converge on **one** file C01 then edits.++## Scope+- Confirm the canonical (default to `home-v4.html` unless you find a clearly better/newer one) and make `/` and `/home` serve it in both dev and prod routing.+- For the others: `301` redirect to `/` if they have inbound links/SEO value, otherwise delete the file and its routes. Don't leave orphaned routes (`A07` covers the broader orphan sweep).+- Update any internal links pointing at a non-canonical variant.++## Definition of done+- `/`, `/home`, and every former variant URL all resolve to the single canonical homepage (directly or via redirect). No variant renders a different, competing design.++## Verify+- Hit `/`, `/home`, `/home-v2`, `/home-v3`, `/home-classic` in dev — all land on the canonical page or redirect to it. `grep -rn "home-v2\|home-v3\|home-classic" pages public src` shows no live internal links.diff --git a/tasks/site-overhaul/A-health/A07-orphan-page-sweep.md b/tasks/site-overhaul/A-health/A07-orphan-page-sweep.mdnew file mode 100644index 000000000..750a1e4fa--- /dev/null+++ b/tasks/site-overhaul/A-health/A07-orphan-page-sweep.md@@ -0,0 +1,31 @@+# A07 — Orphaned & duplicate page sweep++**Track:** Health · **Size:** M · **Priority:** P2 · **Depends on:** A06++## Goal+Inventory every `pages/` and `public/*.html` file, classify each as **live / orphaned /+duplicate**, then route, redirect, or delete. Shrink the surface to what's actually reachable+and maintained.++## Why it matters+The route audit found 200+ routes with many dangling pages (`deal.html`, `embed-test.html`,+`pump-coin-page.html`, `pump-3d-agent.html`, `pumpfun-{buy,counter,search,trending,widget}.html`,+duplicate dashboard trees). Dead pages rot, drift from the design system, and confuse search.++## Context+- Cross-reference each HTML file against `vite.config.js` and `vercel.json` route definitions to find files with no route, and routes with no file.+- Some "orphans" are intentional partials/components (e.g. `gallery-picker.html`) — confirm before deleting.++## Scope+- Produce a short classification table (live / orphan / duplicate / partial) committed as `tasks/site-overhaul/A-health/ORPHAN-REPORT.md`.+- For each orphan: delete the file + any stale route, OR wire a real route if it's a feature that should be live, OR mark it a partial with a comment.+- Consolidate duplicate dashboards (`pages/dashboard/*` vs `pages/dashboard-next/*` vs `public/dashboard-classic/*`) — keep one canonical, redirect the rest (coordinate with E06).++## Out of scope+- Home variants (A06 owns those).++## Definition of done+- Every HTML file is either reachable via a real route or intentionally removed. No route points at a missing file (404). The classification report is committed.++## Verify+- A script/grep confirms no `vercel.json` route targets a non-existent file and no shipped `pages/*.html` is unreachable. Spot-check former orphan URLs return a real page or a clean redirect.diff --git a/tasks/site-overhaul/A-health/ORPHAN-REPORT.md b/tasks/site-overhaul/A-health/ORPHAN-REPORT.mdnew file mode 100644index 000000000..a7d331c09--- /dev/null+++ b/tasks/site-overhaul/A-health/ORPHAN-REPORT.md@@ -0,0 +1,115 @@+# A07 — Orphaned & Duplicate Page Sweep — Report++**Date:** 2026-06-05 · **Track:** Health · **Status:** Complete++Inventory of every `pages/**.html` and `public/**.html`, cross-referenced against the+production route table (`vercel.json`, 625 routes) and the dev/build route map+(`vite.config.js` — Rollup `input`, dev `fileMap`, and dynamic regex branches). Each file is+classified **live / orphan / duplicate / partial**, and every orphan was routed, redirected, or+deleted. No route now points at a missing file.++## How reachability was determined++Production output (`dist/`) is built by `npm run build:vercel` → Vite. The reachability rules:++- **`public/**`** is copied verbatim into `dist/` (the `dist/public` mirror is then flattened+ away), so every `public/x.html` is served at `/x.html`. A clean URL (e.g. `/bazaar`) needs a+ `vercel.json` route → `/bazaar.html`.+- **`pages/*.html`** is emitted **only if it is a Rollup `input`** in `vite.config.js`. Built+ pages land at `dist/pages/...` and are flattened to `dist/<name>.html` (subdirs like+ `ibm/`, `features/`, `dashboard-next/`, `create/` keep their structure). **A `pages/*.html`+ that is not a Rollup input is never built — any route pointing at it 404s in production.**+- The dev server has a generic `/<slug>` → `pages/<slug>.html` fallback, which masks these+ orphans in dev. Production has no such fallback, so the Rollup `input` map is the source of+ truth for what's actually shipped.++A validator script (below) flags (a) `vercel.json` `.html` dests with no build target and+(b) `pages/*.html` files absent from the Rollup inputs. Both now return clean.++## Findings & actions++### pages/*.html — orphans found (9) and resolved++| File | Route | Classification | Action |+|------|-------|----------------|--------|+| `pages/avatar-edit.html` (692 ln, `/src/avatar-edit.js` 27 KB) | `/avatars/:id/edit` (prod route existed → **404**) | **orphan — real feature, unbuilt** | **Wired** — added Rollup input + dev regex branch |+| `pages/create/video.html` (556 ln, `/src/create-video.js` 12 KB) | `/create/video` (prod route existed → **404**) | **orphan — real feature, unbuilt** | **Wired** — added Rollup input + dev `fileMap` |+| `pages/extension-privacy.html` | `/extension/privacy` (prod route existed → **404**) | **orphan — required legal page, unbuilt** | **Wired** — added Rollup input + dev `fileMap` |+| `pages/extension-terms.html` | `/extension/terms` (prod route existed → **404**) | **orphan — required legal page, unbuilt** | **Wired** — added Rollup input + dev `fileMap` |+| `pages/embed-walk.html` (647 ln — Walk-embed snippet generator, actively maintained) | `/embed/walk` (prod route existed → **404**) | **orphan — real feature, unbuilt** | **Wired** — added Rollup input + dev `fileMap` |+| `pages/deal.html` (995 ln — "Agent Deal" payments demo) | `/deal`, `/deal/` | **orphan — superseded by `/demo`, `/pay`, `/agent-exchange`; no inbound links** | **Deleted** file + both routes |+| `pages/pump-3d-agent.html` (16 ln — client-side redirect stub → `/pump-live`) | none | **orphan — dead stub** | **Deleted** |+| `pages/pumpfun-search.html` | none | **orphan — superseded by `/pump-dashboard`, `/pump-live`** | **Deleted** |+| `pages/pumpfun-trending.html` | none | **orphan — superseded by `/pump-dashboard`, `/pump-live`** | **Deleted** |++> The earlier route audit also named `pumpfun-{buy,counter,widget}.html`; those were already+> removed by a sibling agent during this sweep.++After this pass **every `pages/*.html` (114 files) is a Rollup input** — none are orphaned.++### Broken route dest fixed++| Route | Was | Now |+|-------|-----|-----|+| `/paywall`, `/paywall/` | `dest: /public/paywall.html` (**404** — `public/` is stripped in `dist/`) | `dest: /paywall.html` (the flattened verbatim copy). Dev `fileMap` entry added for parity. |++### Duplicate dashboards consolidated++Three dashboard trees existed. Canonical is **`pages/dashboard-next/`** (served at both+`/dashboard/*` and `/dashboard-next/*`).++| Tree | Files | Status | Action |+|------|-------|--------|--------|+| `pages/dashboard-next/` | 16 | **canonical (live)** | keep |+| `public/dashboard-classic/` | 19 | **duplicate** — every `/dashboard-classic/*` is already a `301` to `/dashboard/*` (catch-all `301` covers `index.html`), so the files were dead bytes never served | **Deleted** entire tree |+| `public/dashboard/` | 17 | **duplicate (mostly)** — all clean `/dashboard/*` slugs `301`/rewrite to `dashboard-next`; only `/dashboard/x402` → `public/dashboard/x402.html` is still canonically served | **Left for E06** (owns the dashboard merge); `x402.html` is live, the rest are shadowed |++## public/**.html — classification summary++`public/**` files are all reachable as static `/<path>.html` even without a clean route, so none+are "404 orphans." Notable categories:++- **Live (routed):** `bazaar`, `login`, `register`, `studio/`, `pay/`, `discover/`, `gallery/`,+ `agents/`, `reputation/`, `demos/**`, `demo/**`, `news/**`, `sitemap/`, `validation/`,+ `hydrate/`, etc. — all have `vercel.json` routes and/or Rollup inputs.+- **Partials (intentional, not standalone):** `public/nav.html` (198 ln) and+ `public/footer.html` (125 ln) are fragments injected into every page via `#nav-container` /+ footer loader — **not** routes. Left as-is (do not delete or route).+- **Static-only (reachable at `/<name>.html`, not surfaced in nav):** e.g. `crypto-demo.html`,+ `gmgn.html`, `arbitrage.html`, `siwx-test.html`, `pump-grid-poc.html`,+ `studio-deposit-harness.html`, `wallet-connect-demo.html`. These satisfy the DoD's+ reachability bar (no 404) but are demo/test surfaces; flagged here for a future curation pass+ rather than deleted in this sweep (several are referenced by docs/marketing).++## Verification++```+# (1) vercel.json .html dests with no build target → real 404 routes+# (2) pages/*.html absent from Rollup inputs → unbuilt+node tasks/site-overhaul/A-health/verify-routes.mjs+# (1) → (none) ✓+# (2) → (none) ✓+```++Live dev-server spot-checks (`npm run dev`, port 3000):++| URL | HTTP | Title |+|-----|------|-------|+| `/extension/privacy` | 200 | Privacy Policy — three.ws Walk Avatar Extension |+| `/extension/terms` | 200 | Terms of Service — three.ws Walk Avatar Extension |+| `/create/video` | 200 | Talking avatar video · three.ws |+| `/embed/walk` | 200 | Walk Avatar Embed Generator · three.ws |+| `/avatars/:id/edit` | 200 | Customize Avatar · three.ws |+| `/paywall.html` | 200 | Payment Required — three.ws |+| `/deal`, `/pumpfun-search`, `/pump-3d-agent` | 404 | (deleted, as expected) |++## Files changed++- `vite.config.js` — 5 new Rollup inputs (`avatar-edit`, `create-video`, `extension-privacy`,+ `extension-terms`, `embed-walk`); dev `fileMap` + regex branches for `/create/video`,+ `/extension/{privacy,terms}`, `/embed/walk`, `/avatars/:id/edit`, `/paywall`.+- `vercel.json` — removed dead `/deal` routes; fixed `/paywall` dest.+- Deleted: `pages/deal.html`, `pages/pump-3d-agent.html`, `pages/pumpfun-search.html`,+ `pages/pumpfun-trending.html`, `public/dashboard-classic/` (19 files).+</content>+</invoke>diff --git a/tasks/site-overhaul/A-health/verify-routes.mjs b/tasks/site-overhaul/A-health/verify-routes.mjsnew file mode 100644index 000000000..efcb20046--- /dev/null+++ b/tasks/site-overhaul/A-health/verify-routes.mjs@@ -0,0 +1,71 @@+#!/usr/bin/env node+// A07 route-integrity verifier.+//+// Flags two failure modes that produce dead pages / 404 routes in production:+// (1) a vercel.json route whose literal .html dest has no build target+// (2) a pages/*.html file that is NOT a Vite Rollup input (never built → any+// route pointing at it 404s; the dev server's /<slug> fallback hides this)+//+// Run from the repo root: node tasks/site-overhaul/A-health/verify-routes.mjs+// Exits non-zero if either check fails, so it can gate CI.++import { readFileSync, readdirSync, existsSync } from 'node:fs';+import { execSync } from 'node:child_process';+import { fileURLToPath } from 'node:url';+import { dirname, resolve } from 'node:path';++const ROOT = resolve(dirname(fileURLToPath(import.meta.url)), '../../..');++// --- Rollup inputs declared in vite.config.js (the prod build's source of truth) ---+const cfg = readFileSync(resolve(ROOT, 'vite.config.js'), 'utf8');+const inputStart = cfg.indexOf('input: {');+const inputEnd = cfg.indexOf('},\n\t\t\t},', inputStart);+const inputBlock = cfg.slice(inputStart, inputEnd);+const inputs = new Set();+const re = /resolve\(__dirname,\s*'((?:pages|public)\/[^']+\.html)'\)/g;+let m;+while ((m = re.exec(inputBlock))) inputs.add(m[1]);+// dashboard-next sub-pages are auto-discovered as inputs at build time+const dnDir = resolve(ROOT, 'pages/dashboard-next');+if (existsSync(dnDir))+ for (const f of readdirSync(dnDir)) if (f.endsWith('.html')) inputs.add('pages/dashboard-next/' + f);++// --- Predicted dist/ html set ---+const findHtml = (dir) =>+ execSync(`find ${dir} -name '*.html'`, { cwd: ROOT }).toString().trim().split('\n').filter(Boolean);+const dist = new Set();+for (const f of findHtml('public')) dist.add(f.replace(/^public\//, ''));+for (const f of inputs) dist.add(f.replace(/^(pages|public)\//, ''));+dist.add('docs/index.html');+if (existsSync(resolve(ROOT, 'blog')))+ for (const f of readdirSync(resolve(ROOT, 'blog'))) if (f.endsWith('.html')) dist.add('blog/' + f);++// --- Check (1): vercel route dests with no build target ---+const vercel = JSON.parse(readFileSync(resolve(ROOT, 'vercel.json'), 'utf8'));+const deadRoutes = [];+for (const r of vercel.routes || []) {+ if (!r.dest) continue;+ let d = r.dest.split('?')[0];+ if (!d.endsWith('.html')) continue;+ if (/\$\d/.test(d)) continue; // dynamic $1 substitution — not a literal file+ d = d.replace(/^\//, '');+ if (!dist.has(d)) deadRoutes.push(`${r.src} -> ${r.dest}`);+}++// --- Check (2): pages/*.html not built ---+const unbuilt = findHtml('pages').filter((f) => !inputs.has(f));++let ok = true;+console.log('(1) vercel routes whose .html dest has no build target:');+if (deadRoutes.length) {+ ok = false;+ for (const x of deadRoutes) console.log(' 404 ' + x);+} else console.log(' (none) ✓');++console.log('(2) pages/*.html not registered as a Vite input (never built):');+if (unbuilt.length) {+ ok = false;+ for (const x of unbuilt) console.log(' unbuilt ' + x);+} else console.log(' (none) ✓');++process.exit(ok ? 0 : 1);diff --git a/tasks/site-overhaul/B-ui-uniformity/B01-canonical-design-tokens.md b/tasks/site-overhaul/B-ui-uniformity/B01-canonical-design-tokens.mdnew file mode 100644index 000000000..b47f564ea--- /dev/null+++ b/tasks/site-overhaul/B-ui-uniformity/B01-canonical-design-tokens.md@@ -0,0 +1,33 @@+# B01 — One canonical design-token system++**Track:** UI Uniformity · **Size:** M · **Priority:** P0 (unblocks all of Track B)++## Goal+Establish a single source of truth for design tokens — color, spacing, typography, radius,+shadow, motion — that every page imports. This is the foundation the rest of Track B builds on.++## Why it matters+The audit found 8+ competing token systems. You cannot unify buttons, cards, or pages until+there is *one* token vocabulary. `public/app-next.css` (`--nxt-*`) is the most modern, semantic+set and `public/style.css` `:root` already has a good monochrome + phi-ratio base.++## Context+- Best existing direction: [public/app-next.css](public/app-next.css) (`--nxt-*`) + [public/style.css](public/style.css) `:root` (phi spacing `--space-*`, type scale `--text-*`, `--surface-*`/`--stroke-*`/`--ink-*`, semantic `--success/--danger/--warn`).+- Competing systems to subsume (B02 deletes them): `--mk-*`, `--pd-*`, `--ibm-*`, `--gx-*`, `--ho-*`, `--saas-*`, `--sdk-*`, `--t-*`.++## Scope+- Create/normalize **one** token file (`public/tokens.css` or consolidate into `public/style.css` `:root`) defining the full token set with semantic names: surfaces, ink/text, strokes, accent, state colors, spacing scale, type scale + families, radii, shadows, blur, motion durations/easings.+- Promote the strongest `--nxt-*` values into this canonical layer. Pick one prefix (recommend keeping `--nxt-*` since it's modern, or rename to a neutral `--tw-*`/`--ds-*`) and document it.+- Provide a short mapping doc (`DESIGN-TOKENS.md`) so other agents know "use `--ds-surface-1`, not `#0a0a0a`."+- Load it globally (it should be imported by the shared nav/footer and every page entry CSS).++## Out of scope+- Migrating pages off hardcoded colors (that's B08) and deleting the dead systems (B02) — but make those trivial by having the canonical set ready.++## Definition of done+- A single token file defines every design primitive with semantic names and is loaded site-wide.+- `DESIGN-TOKENS.md` documents the vocabulary and the "no hardcoded values" rule.+- Visual regression: the canonical pages (home, dashboard, app-next) render identically or better.++## Verify+- `npm run dev`; confirm home/dashboard/app-next look correct sourcing the new tokens. No color/spacing regressions.diff --git a/tasks/site-overhaul/B-ui-uniformity/B02-kill-dead-token-systems.md b/tasks/site-overhaul/B-ui-uniformity/B02-kill-dead-token-systems.mdnew file mode 100644index 000000000..4f0ef435d--- /dev/null+++ b/tasks/site-overhaul/B-ui-uniformity/B02-kill-dead-token-systems.md@@ -0,0 +1,26 @@+# B02 — Delete the competing/dead token systems++**Track:** UI Uniformity · **Size:** M · **Priority:** P0 · **Depends on:** B01++## Goal+Remove or migrate the 7 redundant CSS token systems so only the B01 canonical set remains.++## Why it matters+Eight design languages on one site is the root cause of the inconsistency. Each dead system is+also dead weight shipped to users.++## Context (systems found in the audit)+- Migrate-then-delete: `--mk-*` ([public/marketplace.css](public/marketplace.css)), `--pd-*` ([public/pump-dashboard.css](public/pump-dashboard.css)), `--t-*` (`public/theme.css`), `--sdk-*` ([public/avatar-sdk.css](public/avatar-sdk.css)).+- Likely pure-dead, verify then delete: `--ibm-*` ([public/ibm.css](public/ibm.css)), `--gx-*` ([public/galaxy.css](public/galaxy.css)), `--ho-*` (`public/home-overhaul.css`), `--saas-*` (`public/home-saas.css`).++## Scope+- For each system: grep for actual usage. If a page uses it, map its tokens to the canonical B01 tokens and update the page's CSS to consume the canonical names. If unused, delete the file and remove its `<link>`/import references.+- Preserve intentional *aesthetic* differences (e.g. the IBM galaxy's distinct look) by expressing them as a **theme layer on top of** the canonical tokens, not a parallel system.+- Remove the now-dead `<link rel="stylesheet">` tags from the HTML pages.++## Definition of done+- `grep -rEn "\-\-(mk|pd|t|sdk|ibm|gx|ho|saas)-" public pages src` returns nothing (or only inside a documented theme file that itself maps to canonical tokens).+- No page links a deleted CSS file. Visual output unchanged or improved.++## Verify+- Load marketplace, pump-dashboard, avatar-sdk, and an IBM page in dev — each still looks right, now on canonical tokens.diff --git a/tasks/site-overhaul/B-ui-uniformity/B03-shared-button-system.md b/tasks/site-overhaul/B-ui-uniformity/B03-shared-button-system.mdnew file mode 100644index 000000000..4330f87a4--- /dev/null+++ b/tasks/site-overhaul/B-ui-uniformity/B03-shared-button-system.md@@ -0,0 +1,28 @@+# B03 — Shared button system++**Track:** UI Uniformity · **Size:** M · **Priority:** P1 · **Depends on:** B01++## Goal+Replace **387 unique button class names** with one shared button system: a small set of+semantic classes (`.btn`, `.btn--primary`, `.btn--ghost`, `.btn--danger`, sizes, `:disabled`,+loading) used everywhere.++## Why it matters+Buttons are the most-touched control; 387 bespoke variants is the single clearest symptom of+the fragmentation. One system = instant site-wide consistency and a fraction of the CSS.++## Context+- Fragments include `.h-btn-primary` (home), `.nxt-signin` (app-next), `.btn-primary` (marketplace), `.pumpfun-btn`, `.chs-btn-primary` (characters), `.create-avatar-btn`, etc.+- Tokens from B01 supply padding/radius/color. The best reference styling is in `public/app-next.css`.++## Scope+- Define the canonical button classes in the shared layer (a `buttons.css` partial or in `style.css`), token-driven. Cover: primary, secondary/ghost, danger, link, icon-only; sizes sm/md/lg; states hover/active/focus-visible/disabled/loading. Include a focus ring (a11y).+- Migrate the highest-traffic surfaces first (nav, home, dashboard, create, marketplace), replacing bespoke classes with the shared ones. Then sweep the rest.+- Delete the bespoke button CSS as you migrate.++## Definition of done+- A representative set of pages uses only the shared button classes; `grep` shows the bespoke button class definitions shrinking toward zero.+- Every button has hover/active/focus-visible/disabled states from the shared system.++## Verify+- `npm run dev`; tab through buttons on home/dashboard/marketplace — consistent look, visible focus rings, working disabled/loading states.diff --git a/tasks/site-overhaul/B-ui-uniformity/B04-shared-card-surface-system.md b/tasks/site-overhaul/B-ui-uniformity/B04-shared-card-surface-system.mdnew file mode 100644index 000000000..e08ec23f0--- /dev/null+++ b/tasks/site-overhaul/B-ui-uniformity/B04-shared-card-surface-system.md@@ -0,0 +1,27 @@+# B04 — Shared card / surface / panel system++**Track:** UI Uniformity · **Size:** M · **Priority:** P1 · **Depends on:** B01++## Goal+One set of surface primitives — `.card`, `.panel`, `.surface` (+ elevation/hover variants) —+replacing the per-page bespoke card treatments.++## Why it matters+Cards are everywhere (agents, avatars, marketplace, dashboard, gallery) and each surface rolls+its own radius/shadow/border. The audit found radii ranging 5/10/14px and hardcoded skeleton+colors like `#2a2a3a`. Unifying cards makes the whole site feel like one product.++## Context+- Bespoke cards: marketplace (`.market-*`), home bento (`.h-bento-card--lg`), agent detail (`.ad-card`, hardcoded skeleton colors in [pages/agent-detail.html](pages/agent-detail.html)), pump-dashboard, app-next (the good reference).+- B01 tokens supply surface/stroke/shadow/radius.++## Scope+- Define `.card`/`.panel`/`.surface` with elevation tiers and an optional hover-lift, all token-driven, plus a shared **skeleton** loading treatment (replacing hardcoded `#2a2a3a`/`#3a3a4a`).+- Migrate agent/avatar/marketplace/gallery/dashboard cards to the shared classes; delete the bespoke CSS.+- Ensure cards are responsive (test 320/768/1440) and use the shared spacing scale.++## Definition of done+- Card-heavy surfaces use the shared primitives; skeletons use the shared treatment; radii/shadows are consistent site-wide.++## Verify+- Compare a card on `/discover`, `/marketplace`, and the dashboard side by side — same radius, border, shadow, hover behavior.diff --git a/tasks/site-overhaul/B-ui-uniformity/B05-shared-nav-everywhere.md b/tasks/site-overhaul/B-ui-uniformity/B05-shared-nav-everywhere.mdnew file mode 100644index 000000000..6bc1d0b2f--- /dev/null+++ b/tasks/site-overhaul/B-ui-uniformity/B05-shared-nav-everywhere.md@@ -0,0 +1,26 @@+# B05 — Shared nav on every page++**Track:** UI Uniformity · **Size:** M · **Priority:** P1++## Goal+Every user-facing page uses the one shared header (`public/nav.{html,css,js}` via+`#nav-container`). Convert the ~40 pages that ship a bespoke `<nav>`.++## Why it matters+The shared nav is good and already on ~216 pages, but ~40 pages reinvent it (different brand,+spacing, colors) — the most visible inconsistency a user hits on every navigation. Memory note:+the shared nav is the single global header; never add a per-page brand.++## Context+- Shared system: [public/nav.html](public/nav.html), [public/nav.css](public/nav.css), [public/nav.js](public/nav.js); injected into `#nav-container`.+- Bespoke-nav offenders: `public/arbitrage.html`, `public/bazaar.html`, `public/providers.html`, `public/characters.html` (`.chs-nav`), `public/character.html` (`.ch-nav`), `public/login.html` (`.features-nav`), `public/404.html` (inline nav), `public/forever.html`, and others.++## Scope+- For each offender: remove the bespoke `<nav>` + its CSS, add `<div id="nav-container"></div>` and the standard nav injection, verify the page's top spacing still works under the shared sticky header.+- Pages that intentionally have **no** chrome (embeds: `/widget`, `/embed/*`, `/walk-embed`) stay chrome-less — do not add nav there.++## Definition of done+- The bespoke-nav pages all render the shared header; `grep -rn "chs-nav\|ch-nav\|features-nav" public` (and other one-off nav classes) returns nothing live. Embeds remain chrome-free.++## Verify+- Visit each former offender in dev — identical header to the homepage, working dropdowns/mobile drawer.diff --git a/tasks/site-overhaul/B-ui-uniformity/B06-shared-footer-everywhere.md b/tasks/site-overhaul/B-ui-uniformity/B06-shared-footer-everywhere.mdnew file mode 100644index 000000000..81ee001c7--- /dev/null+++ b/tasks/site-overhaul/B-ui-uniformity/B06-shared-footer-everywhere.md@@ -0,0 +1,26 @@+# B06 — Shared footer on every page++**Track:** UI Uniformity · **Size:** S/M · **Priority:** P2 · **Depends on:** B05 pattern++## Goal+Add the shared footer (`public/footer.html`, `--h-footer-*`) to the ~60% of pages that currently+have none, so every standard page has consistent bottom chrome (links, legal, socials).++## Why it matters+The audit found ~60% of pages have no footer — inconsistent page edges and missing legal/nav+links hurt trust and navigation.++## Context+- Shared footer: [public/footer.html](public/footer.html) (injected like the nav).+- Same injection pattern as B05; reuse it.++## Scope+- Audit which standard pages lack the footer; inject the shared footer on all of them.+- Skip embeds and full-bleed 3D experiences where a footer doesn't belong (`/play`, `/walk`, `/xr`, embeds) — but ensure those still expose legal links somewhere (e.g. in a menu).+- Fix any layout that hides the footer (e.g. marketplace grid) so it's reachable.++## Definition of done+- Every standard content page renders the shared footer; full-bleed/embed surfaces are intentionally exempt but still expose legal links.++## Verify+- Scroll to the bottom of 10 representative pages — consistent footer. Embeds have no footer by design.diff --git a/tasks/site-overhaul/B-ui-uniformity/B07-typography-unification.md b/tasks/site-overhaul/B-ui-uniformity/B07-typography-unification.mdnew file mode 100644index 000000000..c318f9277--- /dev/null+++ b/tasks/site-overhaul/B-ui-uniformity/B07-typography-unification.md@@ -0,0 +1,28 @@+# B07 — Typography unification++**Track:** UI Uniformity · **Size:** M · **Priority:** P2 · **Depends on:** B01++## Goal+One type system: a single font stack (display + body + mono), the shared type scale, and+consistent weights/line-heights — replacing hardcoded `px` sizes and the Space-Grotesk-vs-Inter+split.++## Why it matters+The audit found the home page is "Space Grotesk heavy" while nav/root/app-next are "Inter+primary," and sizes are hardcoded per page (`14px`, `13.5px`, `11px`…) ignoring the `--text-*`+phi scale. Typography is half of perceived polish.++## Context+- Root scale: `--text-*` in [public/style.css](public/style.css). Fonts currently vary: nav uses Inter Tight/Inter/JetBrains Mono; home uses Space Grotesk/Inter; root lists Space Grotesk/Inter/SF Mono.+- Decide one display family and one body family (recommend: keep **one** display for marketing headers, **Inter** for product/body, one mono) and document it in B01's `DESIGN-TOKENS.md`.++## Scope+- Define `--font-display`, `--font-body`, `--font-mono` in the canonical tokens; set the type scale + standard heading/body classes.+- Migrate pages off hardcoded font-sizes/families to the scale and font tokens, starting with home, nav, dashboard, marketplace.+- Ensure font files are loaded once, with `font-display: swap`, no FOUT jank.++## Definition of done+- Headings and body text are visually consistent across home/dashboard/marketplace; no page declares a competing font family; sizes come from the scale.++## Verify+- `npm run dev`; compare H1/H2/body across 5 pages — same families, harmonious scale. Network tab shows fonts loaded once.diff --git a/tasks/site-overhaul/B-ui-uniformity/B08-replace-hardcoded-colors.md b/tasks/site-overhaul/B-ui-uniformity/B08-replace-hardcoded-colors.mdnew file mode 100644index 000000000..b295f0ddd--- /dev/null+++ b/tasks/site-overhaul/B-ui-uniformity/B08-replace-hardcoded-colors.md@@ -0,0 +1,29 @@+# B08 — Replace hardcoded colors with tokens++**Track:** UI Uniformity · **Size:** M · **Priority:** P2 · **Depends on:** B01++## Goal+Replace the 100+ hardcoded color literals that already have token equivalents with the canonical+tokens, and excise the home-only orange-gradient accent so the site reads as one monochrome+brand.++## Why it matters+Hardcoded colors are how the site drifts. The audit found `#1a1a1a`×43, `#e8e8e8`×36 (=`--ink`),+`#4ade80`×31 (=`--success`), `#f87171`×26 (=`--danger`), `#0a0a0a`×25, plus a home-exclusive+orange (`rgba(255,215,106,…)`, `rgba(255,175,60,…)`). Memory: the site is monochrome; never+reintroduce purple/colored accents.++## Context+- B01 tokens define every needed value. The monochrome system is the brand.+- The home orange is the biggest off-brand element (`public/home.css`).++## Scope+- Sweep `public/`, `pages/`, `src/` for hex/rgb literals that map to existing tokens; replace with `var(--…)`.+- Resolve the home orange: either remove it for monochrome consistency, or — if the founder wants a single accent — promote **one** accent token in B01 and apply it consistently site-wide (not just home). Default to removing it unless told otherwise.+- Leave genuinely content-specific colors (e.g. data-viz categorical scales, brand logos of partners) alone, but token-ize them if reused.++## Definition of done+- `grep -rEn "#[0-9a-fA-F]{3,6}|rgba?\(" public pages src | grep -v "var(--"` shrinks dramatically; remaining literals are justified (logos, data-viz). No home-only orange accent remains.++## Verify+- Visual pass across home/dashboard/marketplace/agent pages — uniform monochrome; no stray colored accents.diff --git a/tasks/site-overhaul/B-ui-uniformity/B09-spacing-and-radius.md b/tasks/site-overhaul/B-ui-uniformity/B09-spacing-and-radius.mdnew file mode 100644index 000000000..480909da8--- /dev/null+++ b/tasks/site-overhaul/B-ui-uniformity/B09-spacing-and-radius.md@@ -0,0 +1,26 @@+# B09 — Spacing & radius unification++**Track:** UI Uniformity · **Size:** S/M · **Priority:** P3 · **Depends on:** B01++## Goal+Adopt the shared spacing scale and a small set of radii everywhere, replacing ad-hoc `px` gaps+and the 5/10/14px radius chaos.++## Why it matters+Inconsistent spacing/radius is subtle but pervasive — it's why surfaces "feel" different even+when colors match. The phi-ratio `--space-*` scale exists but is almost never used.++## Context+- `--space-*` phi scale in [public/style.css](public/style.css). Radii currently vary: `5px` (style.css), `10px` (marketplace), `14px` (root/app-next).+- B01 should define `--radius-sm/md/lg/pill`.++## Scope+- Standardize on ≤4 radius tokens and apply them via the shared button/card systems (B03/B04) and across pages.+- Migrate hardcoded gaps/padding to the spacing scale on the high-traffic surfaces.+- Don't over-engineer — pixel-perfect parity isn't the goal; *consistency* is.++## Definition of done+- Cards/buttons/inputs share radii; spacing on home/dashboard/marketplace uses the scale; no jarring per-section spacing jumps.++## Verify+- Inspect spacing/radius on 4 surfaces in DevTools — values resolve to tokens, not arbitrary px.diff --git a/tasks/site-overhaul/C-ux-newcomers/C01-homepage-plain-language.md b/tasks/site-overhaul/C-ux-newcomers/C01-homepage-plain-language.mdnew file mode 100644index 000000000..ca33f7e92--- /dev/null+++ b/tasks/site-overhaul/C-ux-newcomers/C01-homepage-plain-language.md@@ -0,0 +1,32 @@+# C01 — Rewrite the homepage for a non-crypto first-timer++**Track:** UX for Newcomers · **Size:** M · **Priority:** P0 · **Depends on:** A06 (one canonical home)++## Goal+Rewrite the canonical homepage so a person who has never touched crypto immediately understands+what three.ws is, what they can make, and why they'd want to — with crypto demoted to an+optional, clearly-labeled layer.++## Why it matters+The UX audit scored the homepage 3/10 for newcomers: the hero leads with "Mint it on Solana,"+lists `Metaplex Core / MCP / A2A` as features with no explanation, and the "crypto is optional"+truth is buried in the pricing FAQ. The creation tools themselves are great (8/10) — the problem+is the front door turns normal people away before they reach them.++## Context+- Canonical home: [pages/home-v4.html](pages/home-v4.html) (hero "Give your AI a body").+- The real, plain value: *make a 3D avatar from a selfie, give it an AI brain, embed it anywhere.* Crypto (ownership, payments) is an optional add-on.+- Honesty rule (memory): marketing visuals must be honest examples, no fake live data.++## Scope+- Rewrite the hero + the 4-step flow in plain language. Lead with the outcome a normal person wants. Move "mint/Solana/on-chain" into an explicitly **optional** section ("Want to own it on-chain or get paid? That's optional — here's how").+- Replace bare jargon tokens (`Metaplex Core`, `MCP`, `A2A`) with plain descriptions; link them to the glossary (C04).+- Add a one-line, prominent "**No crypto needed to start.**" reassurance (promotes the buried FAQ — see C08).+- Keep it honest: any numbers/visuals must be real (tie to the activity feed if showing live data).+- Use the unified design system (Track B) — don't reintroduce the home-only orange (B08).++## Definition of done+- A non-crypto reader can state, after 10 seconds, what three.ws lets them make and that crypto is optional. No unexplained jargon above the fold. Clear primary CTA into `/create`.++## Verify+- Read it cold as a non-crypto user; confirm comprehension. `npm run dev`, check responsive 320/768/1440, working CTAs, no console errors.diff --git a/tasks/site-overhaul/C-ux-newcomers/C02-what-is-threews-usecases.md b/tasks/site-overhaul/C-ux-newcomers/C02-what-is-threews-usecases.mdnew file mode 100644index 000000000..7991a54be--- /dev/null+++ b/tasks/site-overhaul/C-ux-newcomers/C02-what-is-threews-usecases.md@@ -0,0 +1,29 @@+# C02 — "What is three.ws?" + concrete use-cases page++**Track:** UX for Newcomers · **Size:** M · **Priority:** P1++## Goal+A plain-language explainer page that answers "what is this and who is it for?" with 3–4 concrete,+relatable use-cases — and link it from the nav and homepage.++## Why it matters+The audit found users have "no idea these are all part of one platform" (avatar creator,+animation, AI chatbot, embeddable widget, optional tokens, paid APIs, 3D worlds). Concrete+use-cases convert abstract capability into "oh, I could use this for X."++## Context+- The platform's capabilities are real and listed in the route inventory; the gap is *framing*.+- Suggested use-cases (validate against real features): (1) a customer-service avatar embedded on a website, (2) a streamer/creator avatar for YouTube/Twitch, (3) a 3D character for a community/token, (4) a personal AI agent with a face.+- There is a `/start` and `/features` page already — coordinate so this doesn't duplicate (C05 rewrites `/features`).++## Scope+- New page (`pages/what-is.html` or repurpose `/start`) with: a one-paragraph plain definition, the 3–4 use-cases as cards (each: who, what they build, the steps, a live example/CTA), and a "start free" CTA.+- Each use-case links to the actual flow that achieves it (`/create`, `/scan`, embed, etc.).+- Add a nav entry ("What is three.ws?" or "Use cases") and link from the homepage.+- Built on Track B components; honest examples only.++## Definition of done+- The page exists, is linked from nav + home, and each use-case is real and actionable (its CTA reaches a working flow).++## Verify+- Click each use-case CTA — lands on the right working surface. Non-crypto reader can name a use-case that applies to them.diff --git a/tasks/site-overhaul/C-ux-newcomers/C03-getting-started-flow.md b/tasks/site-overhaul/C-ux-newcomers/C03-getting-started-flow.mdnew file mode 100644index 000000000..77224295a--- /dev/null+++ b/tasks/site-overhaul/C-ux-newcomers/C03-getting-started-flow.md@@ -0,0 +1,28 @@+# C03 — Getting-started / first-5-minutes guided flow++**Track:** UX for Newcomers · **Size:** M · **Priority:** P1 · **Pairs with:** D05 (tour engine)++## Goal+A guided first-run path that takes a new user from landing to a finished, embeddable avatar in+~5 minutes, distinguishing the free core (create → animate → embed) from optional add-ons+(on-chain, monetize).++## Why it matters+The audit: "onboarding is nearly non-existent — no tutorial, no progressive disclosure." Users+who reach the creation tools succeed; the job is to *get them there* with a clear path.++## Context+- Entry experiences: `/create`, `/scan`, `/forge`, `/avatar-studio`. Strong individually, unconnected as a journey.+- A reusable coachmark/tour engine is specced in `D05` — if it lands first, build on it; otherwise a simple linear stepper is fine.++## Scope+- A first-run flow (triggered for new/anonymous users, dismissible, resumable) that: welcomes, states the value in one line, routes to "create your first avatar," then after creation surfaces "what's next" (embed / give it a brain / optional: own it / monetize).+- A persistent, low-key "Getting started" progress affordance (e.g. a checklist) the user can reopen.+- Free core steps require no wallet; optional steps are clearly marked optional.+- Don't trap the user — always skippable.++## Definition of done+- A brand-new visitor is guided from home to an embeddable avatar without hitting unexplained crypto, and can see/resume their progress.++## Verify+- In a fresh/incognito session, follow the flow end-to-end; confirm no crypto wall in the core path and that "what's next" links work.diff --git a/tasks/site-overhaul/C-ux-newcomers/C04-glossary-and-tooltips.md b/tasks/site-overhaul/C-ux-newcomers/C04-glossary-and-tooltips.mdnew file mode 100644index 000000000..328fa8da0--- /dev/null+++ b/tasks/site-overhaul/C-ux-newcomers/C04-glossary-and-tooltips.md@@ -0,0 +1,27 @@+# C04 — Plain-language glossary + hover-tooltip system++**Track:** UX for Newcomers · **Size:** M · **Priority:** P1++## Goal+A reusable "explain this term" tooltip component plus a `/glossary` page, so every unavoidable+piece of jargon has a one-line plain-language definition on hover/tap and a deeper link.++## Why it matters+The audit catalogued jargon appearing in user-facing copy with zero explanation: **x402, USDC,+Solana, Metaplex Core, on-chain, ERC-8004, mint, bonding curve, graduation, MCP, A2A, skills,+brain, rig**. A glossary + inline tooltips lets you keep necessary terms without losing newcomers.++## Context+- Terms and their locations are enumerated in the UX audit; they appear across `/features`, `/home-v4`, `/pricing`, dashboard, `/club`, agent edit.+- Build the tooltip as a shared component (Track B styling) so any page can wrap a term: e.g. `<span data-term="x402">x402</span>` auto-enhanced.++## Scope+- Shared tooltip module (`src/shared/term-tooltip.js` + styles) reading definitions from one `src/shared/glossary.js` map (term → {short, long, link}). Accessible: keyboard-focusable, `aria-describedby`, dismissible, mobile tap support.+- `/glossary` page rendering the full map (also serves SEO).+- Wrap the jargon on the highest-traffic surfaces (home, features, dashboard, agent edit). Definitions must be **plain** ("x402 = a way to charge a tiny payment when someone uses your agent — like a paywall for APIs"), not circular.++## Definition of done+- Hovering/focusing any wrapped term shows a plain definition; `/glossary` lists them; the top surfaces have their jargon wrapped.++## Verify+- Keyboard-tab to a term, confirm the tooltip opens and is screen-reader labeled. Non-crypto reader understands each definition.diff --git a/tasks/site-overhaul/C-ux-newcomers/C05-features-page-core-vs-optional.md b/tasks/site-overhaul/C-ux-newcomers/C05-features-page-core-vs-optional.mdnew file mode 100644index 000000000..c8d042910--- /dev/null+++ b/tasks/site-overhaul/C-ux-newcomers/C05-features-page-core-vs-optional.md@@ -0,0 +1,27 @@+# C05 — Rewrite `/features`: Core vs Optional, use-case-driven++**Track:** UX for Newcomers · **Size:** M · **Priority:** P1 · **Depends on:** C04++## Goal+Restructure the features page into two clear sections — **Core (works today, no crypto)** and+**Optional (on-chain, payments, tokens)** — with use-case-driven, plain descriptions.++## Why it matters+The audit scored `/features` **1/10** for newcomers: "Very High" jargon density, no plain+explanations, crypto presented as the headline. It's the page that most alienates normal users.++## Context+- [pages/features.html](pages/features.html). Current copy: "x402 Paid Skills — Charge per call in USDC over the x402 protocol… signed and on-chain auditable" (four jargon sentences, no plain meaning).+- Glossary/tooltips from C04 handle the unavoidable terms inline.++## Scope+- Reorganize into **Core** (create avatars, 70+ animations, AI brain/chat, embed anywhere, dashboard) and **Optional / Advanced** (on-chain identity, x402 payments, token launch). Lead each feature with what it does for the user, then how.+- Rewrite every jargon-heavy blurb into plain language; wrap residual terms with C04 tooltips.+- Add a "no crypto needed for Core" banner.+- Use Track B components.++## Definition of done+- `/features` clearly separates free-core from optional-crypto; every feature blurb is comprehensible to a non-crypto reader; residual jargon is tooltip-explained.++## Verify+- Non-crypto read-through: reader can identify which features need crypto and which don't, and what each does.diff --git a/tasks/site-overhaul/C-ux-newcomers/C06-designed-empty-states.md b/tasks/site-overhaul/C-ux-newcomers/C06-designed-empty-states.mdnew file mode 100644index 000000000..19318ae5d--- /dev/null+++ b/tasks/site-overhaul/C-ux-newcomers/C06-designed-empty-states.md@@ -0,0 +1,27 @@+# C06 — Designed empty states site-wide++**Track:** UX for Newcomers · **Size:** M · **Priority:** P2 · **Depends on:** B04 (card/surface)++## Goal+Replace bare "No X yet" one-liners with designed empty states that explain *what the thing is,+why it's useful, and the next action* — everywhere a list can be empty.++## Why it matters+`CLAUDE.md`: "Empty state is designed and helpful (tells user what to do, not just 'no data')."+The audit found minimal empty states across dashboard agents/avatars, my-agents, pump dashboard,+club, three-live.++## Context+- Examples to fix: dashboard agents ("No agents yet — create your first one."), avatars, my-agents, pump dashboard ("No custom agents yet — click + New agent."), club tips, three-live ("Listening to the $THREE bonding curve…").+- A shared empty-state component (icon/illustration + title + one-line value + primary CTA + optional "learn more") keeps them consistent.++## Scope+- Build one shared empty-state component (Track B styled). Migrate the listed surfaces to it.+- Each empty state: says what populates here, why it matters in plain words, and a CTA to the action (e.g. "Agents are AI characters you can embed and chat with. [Create your first agent →] [What's an agent?]").+- The `three-live` empty state must be plain ("Live trades will appear here") with the technical detail tucked behind a tooltip.++## Definition of done+- Every listed surface shows a guided empty state via the shared component; no bare "No data" strings remain on user-facing lists.++## Verify+- With a fresh account (no agents/avatars), visit each surface — each explains and guides, not just states emptiness.diff --git a/tasks/site-overhaul/C-ux-newcomers/C07-wallet-money-explainer-wizard.md b/tasks/site-overhaul/C-ux-newcomers/C07-wallet-money-explainer-wizard.mdnew file mode 100644index 000000000..5866d29d4--- /dev/null+++ b/tasks/site-overhaul/C-ux-newcomers/C07-wallet-money-explainer-wizard.md@@ -0,0 +1,28 @@+# C07 — Wallet & money explainer + setup wizard++**Track:** UX for Newcomers · **Size:** M · **Priority:** P2 · **Depends on:** C04++## Goal+When (and only when) a user opts into a crypto feature, give them a plain-language explainer and+a step-by-step wizard: what a Solana wallet is, what USDC is, what fees are, how to get set up,+and how withdrawals work.++## Why it matters+The audit: monetization says "Withdrawals land in your Solana wallet" but never explains what a+wallet is, how to get one, which wallet, or what USDC/fees are. Users hit a money wall with no+ladder.++## Context+- Friction points: homepage step 4 (monetize), `/club` tipping, agent-edit token launch, dashboard Monetize/Portfolio/Tokens.+- Wallet auth already exists (the `authenticate-wallet` skill; "Sign in with Solana"). This task is the *education + guided setup* layer, not new auth.++## Scope+- A reusable "before you go on-chain" explainer (modal or page) covering: what a wallet is (plain), recommended wallet(s), what USDC is, what fees are (~cents on Solana), and that nothing here costs anything until they choose to transact.+- A wizard that walks a first-timer through connecting a wallet and (optionally) funding it — reuse the existing `fund`/`authenticate-wallet` flows; don't reinvent.+- Gate it: only surfaces when the user opts into a crypto action. Never blocks the free core.++## Definition of done+- Opting into any crypto feature presents a clear explainer + guided setup; a non-crypto user can follow it without prior knowledge; the free product is untouched.++## Verify+- As a non-crypto user, click "monetize"/"deploy on-chain" — the explainer/wizard appears, terms are plain, and the path to a connected wallet works.diff --git a/tasks/site-overhaul/C-ux-newcomers/C08-crypto-optional-messaging.md b/tasks/site-overhaul/C-ux-newcomers/C08-crypto-optional-messaging.mdnew file mode 100644index 000000000..039508394--- /dev/null+++ b/tasks/site-overhaul/C-ux-newcomers/C08-crypto-optional-messaging.md@@ -0,0 +1,26 @@+# C08 — "Crypto is optional" messaging, promoted everywhere++**Track:** UX for Newcomers · **Size:** S · **Priority:** P2++## Goal+Surface the (currently buried) truth that the core product works with no wallet, and frame every+crypto feature as explicit opt-in across the site.++## Why it matters+The audit found a great FAQ answer — "Do I need crypto to use three.ws? No…" — buried in+`/pricing`. Promoting it removes the single biggest false barrier for normal users.++## Context+- Source copy: [pages/pricing.html](pages/pricing.html) FAQ ("The web component, dashboard, and API work without a wallet. Crypto unlocks: on-chain identity, payable skills, payouts.").+- Crypto features should read as optional add-ons, not prerequisites.++## Scope+- Add a concise, consistent "No crypto required to start — it's optional" message to: homepage (C01), `/features` (C05), the create flow, and the dashboard first-run.+- Wherever a crypto action appears, label it "Optional" with a one-line plain benefit + a "what's this?" tooltip (C04).+- Keep the message honest and identical in tone everywhere (one reusable snippet/component).++## Definition of done+- The "crypto is optional" message appears on the top entry surfaces; every crypto action is labeled optional with a plain benefit.++## Verify+- A non-crypto user, on home/features/create/dashboard, can plainly see they can use the product without a wallet.diff --git a/tasks/site-overhaul/C-ux-newcomers/C09-dashboard-contextual-help.md b/tasks/site-overhaul/C-ux-newcomers/C09-dashboard-contextual-help.mdnew file mode 100644index 000000000..f09146875--- /dev/null+++ b/tasks/site-overhaul/C-ux-newcomers/C09-dashboard-contextual-help.md@@ -0,0 +1,26 @@+# C09 — Dashboard contextual help & first-run onboarding++**Track:** UX for Newcomers · **Size:** M · **Priority:** P2 · **Pairs with:** D05, E06++## Goal+Make the feature-dense dashboard legible to a first-timer: contextual help on each section, a+first-run orientation, and tooltips on every jargon label.++## Why it matters+The audit scored the dashboard **2/10** for newcomers: "dumped into a feature-rich dashboard with+zero contextual help… no tooltips, no 'what is X?', no wizard." It has 30+ tabs.++## Context+- Dashboard: [pages/dashboard-next/index.html](pages/dashboard-next/index.html) and its many sub-pages (agents, avatars, monetize, payments, tokens, portfolio, x402, etc.).+- E06 restructures the dashboard IA; C04 supplies tooltips; D05 may supply the tour engine. Coordinate.++## Scope+- Add a per-section help affordance (a "?" that explains what the section is for, in plain words) to each major dashboard area, especially the crypto-heavy ones (Monetize, Tokens, Portfolio, x402).+- A first-run dashboard orientation (dismissible, resumable) pointing out: where your agents/avatars live, how to create, and which sections are optional/advanced.+- Wrap jargon labels with C04 tooltips. Mark crypto sections "Optional."++## Definition of done+- A new user opening the dashboard gets oriented (first-run), can get plain help on any section, and isn't confronted with unexplained crypto terms.++## Verify+- Fresh account: open the dashboard, confirm the orientation appears, each major section has working help, and jargon is tooltip-explained.diff --git a/tasks/site-overhaul/D-new-features/D01-command-palette.md b/tasks/site-overhaul/D-new-features/D01-command-palette.mdnew file mode 100644index 000000000..a26af618a--- /dev/null+++ b/tasks/site-overhaul/D-new-features/D01-command-palette.md@@ -0,0 +1,29 @@+# D01 — Site-wide command palette (⌘K)++**Track:** New Features · **Size:** M · **Priority:** P1++## Goal+A universal `⌘K` / `Ctrl-K` command palette to jump to any route, search agents/avatars/coins,+run actions (create, deploy, embed), and open docs — from anywhere on the site.++## Why it matters+With 200+ routes, discoverability is a real problem. A command palette is the single highest-+leverage navigation upgrade and a hallmark of top-tier products (Linear, Vercel). It also makes+the sprawling surface feel intentional.++## Context+- Routes are enumerable from the router config; agents/avatars/coins are queryable via existing APIs (`/api/agents`, discover endpoints, pump search).+- Shared nav is global ([public/nav.js](public/nav.js)) — a natural mount point so it's available everywhere.+- Track B components for styling; honest data only (real search results).++## Scope+- A global palette component (keyboard-opened, accessible, focus-trapped) mounted via the nav so every page gets it.+- Sources: static routes/pages, live agent/avatar/coin search (debounced, real API), quick actions, docs/glossary entries.+- Keyboard nav, recent/suggested items, empty + loading + error states.+- Mobile affordance (a search button in the nav opens the same palette).++## Definition of done+- `⌘K` opens the palette on any page; typing finds routes, real agents/coins, actions, and docs; selecting navigates/acts; all states designed; fully keyboard-accessible.++## Verify+- `npm run dev`; open the palette on 5 different pages, search a real agent and a real coin, run "create avatar," navigate via keyboard only.diff --git a/tasks/site-overhaul/D-new-features/D02-notifications-activity-center.md b/tasks/site-overhaul/D-new-features/D02-notifications-activity-center.mdnew file mode 100644index 000000000..3a4bc7972--- /dev/null+++ b/tasks/site-overhaul/D-new-features/D02-notifications-activity-center.md@@ -0,0 +1,28 @@+# D02 — Unified notifications / activity center++**Track:** New Features · **Size:** M · **Priority:** P2 · **Builds on:** the feed bus++## Goal+A per-user notifications/activity center in the nav: launches, sales/tips, agent events,+follows, system messages — built on the existing site-wide feed bus, not a new system.++## Why it matters+Engagement and retention depend on a reason to come back. The platform already has a feed bus+(`feed:events` on Redis) powering the site-wide FOMO ticker — extend it into a personalized,+persistent inbox.++## Context+- Memory: live activity feed uses the Redis `feed:events` bus (API + multiplayer producers), nav-loaded widget `public/feed.js`; **extend the event shape, don't fork it.**+- Personalization needs a per-user filter/store on top of the existing events.++## Scope+- A nav bell with unread count opening a panel of the user's relevant events (their agents' launches/sales/tips, follows, system notices).+- Persist read/unread per user; mark-all-read; deep links to the relevant surface.+- Reuse `feed:events`; add only the fields/filtering needed (per memory, extend the shape). Real events only — no fabricated notifications.+- Designed empty ("You're all caught up"), loading, error states.++## Definition of done+- Signed-in users see real, personalized notifications from the existing bus, with unread state and deep links; the global ticker still works unchanged.++## Verify+- Trigger a real event (e.g. a launch) and confirm it appears for the relevant user with a working deep link; unread count updates.diff --git a/tasks/site-overhaul/D-new-features/D03-agent-template-gallery.md b/tasks/site-overhaul/D-new-features/D03-agent-template-gallery.mdnew file mode 100644index 000000000..6808b4345--- /dev/null+++ b/tasks/site-overhaul/D-new-features/D03-agent-template-gallery.md@@ -0,0 +1,27 @@+# D03 — Agent template gallery / "clone this agent"++**Track:** New Features · **Size:** M · **Priority:** P1 · **Pairs with:** C02 use-cases++## Goal+A gallery of ready-made agent templates (customer-service bot, streamer companion, community+mascot, etc.) that a user can clone in one click and customize — turning the blank-page problem+into a pick-and-go.++## Why it matters+The audit's #1 newcomer gap is "what's an agent and why would I make one?" Templates answer it by+example and collapse time-to-first-agent. It also directly supports the C02 use-cases.++## Context+- Agent creation/registration exists (`agent-identities`, the create/deploy flows). A template is a pre-filled agent config (persona, brain, skills, sample avatar) the user can fork.+- Discover/marketplace surfaces exist to host the gallery; reuse Track B cards.++## Scope+- Define a template schema + a curated, real set (no fake data — each template is a working agent config). Store them where the app can read them (DB table or a versioned JSON the build ships).+- A gallery surface (under `/discover` or a new `/templates`) with cards, preview, and "Use this template" → creates a real editable agent from the template.+- Each template maps to a C02 use-case and explains who it's for.++## Definition of done+- A user can browse templates, preview one, and clone it into a real, editable agent in their account; every template is genuinely functional.++## Verify+- Clone 2 templates; confirm they produce working agents pre-filled correctly and are independently editable.diff --git a/tasks/site-overhaul/D-new-features/D04-shareable-og-cards.md b/tasks/site-overhaul/D-new-features/D04-shareable-og-cards.mdnew file mode 100644index 000000000..2c8f8e46b--- /dev/null+++ b/tasks/site-overhaul/D-new-features/D04-shareable-og-cards.md@@ -0,0 +1,28 @@+# D04 — Shareable agent/coin OG cards + share sheet++**Track:** New Features · **Size:** M · **Priority:** P2++## Goal+Every agent, avatar, and coin page gets a beautiful auto-generated social share image (OG card)+and a one-tap share sheet — so anything on the platform is screenshot-and-share ready.++## Why it matters+`CLAUDE.md` quality bar: "What would make someone screenshot this and share it?" Great OG cards+are free distribution; right now links shared to X/Discord likely render plain.++## Context+- Dynamic OG images can be generated by a Vercel function (e.g. `@vercel/og` / satori) per agent/coin, pulling real data (name, avatar render, on-chain badge, key stats).+- On-chain badge is a shared module (memory: `src/shared/onchain-badge.js`) — reflect it on the card.+- Honest data only.++## Scope+- An OG-image endpoint (`api/og/[type].js`) rendering a branded card for agents/avatars/coins from real data; wire `<meta og:image>`/Twitter tags on the respective pages.+- A share sheet component (copy link, X, Discord, download image) on those pages.+- Designed fallback when an entity has no avatar/image yet.+- three.ws branding consistent with Track B; `$THREE` only.++## Definition of done+- Pasting an agent/coin URL into X/Discord/Slack shows a rich, on-brand card with real data; the on-page share sheet works.++## Verify+- Use a social-card validator (or the platform's link preview) on 3 real entity URLs; confirm correct, branded images and working share actions.diff --git a/tasks/site-overhaul/D-new-features/D05-guided-tour-engine.md b/tasks/site-overhaul/D-new-features/D05-guided-tour-engine.mdnew file mode 100644index 000000000..f36f7e2f3--- /dev/null+++ b/tasks/site-overhaul/D-new-features/D05-guided-tour-engine.md@@ -0,0 +1,27 @@+# D05 — Reusable guided-tour / coachmark engine++**Track:** New Features · **Size:** M · **Priority:** P1 · **Powers:** C03, C09++## Goal+A small, reusable in-app tour engine (spotlight + tooltip steps, anchored to DOM elements,+dismissible, resumable, progress-tracked) that any surface can drive with a declarative step list.++## Why it matters+C03 (getting started) and C09 (dashboard onboarding) both need guided overlays. Build the engine+once, well, instead of two bespoke implementations — and unlock lightweight tours anywhere.++## Context+- Vanilla JS app; no tour library assumed. Keep it dependency-light.+- Persistence of "seen/completed" per user (reuse the existing user prefs/storage; don't fake with only localStorage if a server pref store exists).+- Track B tokens/components for styling; a11y is mandatory.++## Scope+- Engine API: `startTour([{ target, title, body, placement, action? }], { id, onComplete })`. Handles spotlight, positioning, next/back/skip, resize/scroll, focus management, and `aria` roles.+- Persistence so a tour isn't re-shown once completed (server-backed when available).+- A couple of real tours wired as proof: the getting-started path (C03) and the dashboard orientation (C09) — coordinate with those owners.++## Definition of done+- Any page can define a tour declaratively; tours are accessible, dismissible, resumable, and remembered per user; C03/C09 use it.++## Verify+- Run a tour, skip mid-way, reload — it resumes/respects completion. Keyboard + screen-reader pass.diff --git a/tasks/site-overhaul/D-new-features/D06-trending-leaderboard.md b/tasks/site-overhaul/D-new-features/D06-trending-leaderboard.mdnew file mode 100644index 000000000..0d12532a2--- /dev/null+++ b/tasks/site-overhaul/D-new-features/D06-trending-leaderboard.md@@ -0,0 +1,28 @@+# D06 — Public trending / leaderboard++**Track:** New Features · **Size:** M · **Priority:** P2++## Goal+A public "what's hot on three.ws" surface: trending agents, coins, and creators ranked by real+activity (launches, volume, tips, chats) — connecting discover + the activity feed + on-chain data.++## Why it matters+`CLAUDE.md`: wire connections between features ("a marketplace that doesn't link to agent+profiles is half-built"). A leaderboard creates a reason to explore, gives creators a goal, and+showcases real platform activity to visitors.++## Context+- Real signals exist: pump feed/volume, the activity feed bus, agent chat metrics, on-chain badge data.+- Discover SPA (`public/discover/`) is a natural home or sibling.+- Honesty rule: rankings must reflect real data, no seeded fake leaders.++## Scope+- Define ranking metrics from real sources (with clear, honest definitions shown to users). Compute server-side (a function/cron) and expose via an endpoint.+- A leaderboard surface (cards/rows via Track B) linking each entry to its real profile/coin page; time-window filters (24h/7d/all).+- Designed empty/loading/error states; the on-chain badge where relevant.++## Definition of done+- A public leaderboard ranks real agents/coins/creators by transparent metrics, updates from live data, and links to real detail pages.++## Verify+- Confirm rankings match the underlying data for a known entity; links resolve; windows filter correctly.diff --git a/tasks/site-overhaul/D-new-features/D07-embed-wizard.md b/tasks/site-overhaul/D-new-features/D07-embed-wizard.mdnew file mode 100644index 000000000..f22ee0f70--- /dev/null+++ b/tasks/site-overhaul/D-new-features/D07-embed-wizard.md@@ -0,0 +1,28 @@+# D07 — One-click "embed on your site" wizard++**Track:** New Features · **Size:** M · **Priority:** P1++## Goal+A guided wizard that turns any agent/avatar into a copy-paste embed snippet with a live preview,+configuration (size, theme, behavior), and platform-specific instructions (plain HTML,+React, WordPress, Webflow, Shopify).++## Why it matters+"Embed anywhere" is a core value prop and a top use-case (C02), but the audit notes users don't+know *how* or *why*. A great embed wizard converts a created avatar into real-world usage — the+platform's stickiest outcome.++## Context+- Embed infrastructure exists: `/embed`, `/embed/v1.js`, `pages/widget.html`, avatar/agent embed pages, CSP-safe iframes.+- Reuse the existing embed endpoints; this is the *guided UX* around them.++## Scope+- A wizard (in the dashboard and/or on each agent page) that: picks the agent, configures appearance/behavior, shows a **live preview** of the actual embed, generates the real snippet, and gives copy buttons + per-platform paste instructions.+- Validate the snippet works (the preview *is* the embed). Designed states throughout.+- Plain language — assume the user has never embedded anything.++## Definition of done+- A user selects an agent, configures it, sees a live working preview, and copies a snippet that actually renders that agent on an external page.++## Verify+- Generate a snippet, paste it into a blank HTML file served locally — the agent renders and works.diff --git a/tasks/site-overhaul/D-new-features/D08-fiat-onramp-path.md b/tasks/site-overhaul/D-new-features/D08-fiat-onramp-path.mdnew file mode 100644index 000000000..231c1ba9e--- /dev/null+++ b/tasks/site-overhaul/D-new-features/D08-fiat-onramp-path.md@@ -0,0 +1,30 @@+# D08 — Fiat-friendly on-ramp for non-crypto users++**Track:** New Features · **Size:** L · **Priority:** P2 · **Depends on:** C07++## Goal+Give non-crypto users a path to participate in the optional paid/monetization features without+already understanding wallets — e.g. card-funded USDC via the existing fund flow, with crypto+abstracted as far as possible.++## Why it matters+The audit's deepest barrier: monetization assumes a funded Solana wallet. For the platform to+serve "anyone," there must be a fiat-to-usable path. This is what lets a normal creator actually+earn or pay without a crypto crash-course.++## Context+- A `fund` skill/flow exists (onramp/buy USDC). Wallet auth exists. This task wires a **guided, plain-language** funding path into the product UX and abstracts the mechanics.+- Verify what onramp providers/keys are configured (`.env`, `vercel env`) before designing — use the real one. No mocks.+- Coordinate with C07 (wallet explainer) so the education and the on-ramp are one coherent flow.++## Scope+- A funding entry point at the moment a user needs balance (pay/tip/launch), using the real configured on-ramp; show fees/amounts honestly; confirm balance on completion.+- Abstract jargon: present it as "add funds," with the crypto detail available but not required reading.+- Handle the unfunded/failed/pending states with designed UI.+- If a provider isn't configured, surface a clear path (and flag to the founder which env/keys are needed) rather than faking it.++## Definition of done+- A non-crypto user can go from "I want to tip/launch/pay" to a funded balance through a guided, real on-ramp, with honest fees and designed states.++## Verify+- Run the funding flow end-to-end against the real provider (test mode if available); confirm balance updates and the gated action then succeeds.diff --git a/tasks/site-overhaul/E-improve-features/E01-create-flow-whats-next.md b/tasks/site-overhaul/E-improve-features/E01-create-flow-whats-next.mdnew file mode 100644index 000000000..7b235fb8a--- /dev/null+++ b/tasks/site-overhaul/E-improve-features/E01-create-flow-whats-next.md@@ -0,0 +1,28 @@+# E01 — `/create` → a connected "what's next" path++**Track:** Improve Features · **Size:** M · **Priority:** P1++## Goal+After a user creates an avatar, guide them into the next valuable step (give it a brain → embed →+optional: own/monetize) instead of dead-ending at "you made a model."++## Why it matters+The audit: the create flow is clear (8/10) but "doesn't explain what happens after creation, no+sense of progression to 'agent'." The drop-off between "made an avatar" and "has a useful agent"+is where users are lost.++## Context+- Entry: [pages/create.html](pages/create.html) and the sub-flows (`/create/selfie`, `/scan`, `/forge`, `/avatar-studio`).+- Memory: selfie handoff to `/create/selfie` via sessionStorage `threews:selfie-handoff` — preserve it.+- Pairs with C03 (getting started) and D07 (embed wizard).++## Scope+- A post-creation "next steps" surface presenting the progression: name + brain → embed → optional own/monetize. Each step is a real, working link with a one-line plain benefit.+- Show the user their just-created avatar in context (carry the real artifact, not a placeholder).+- Make "give it an AI brain" and "embed it" the primary next actions; crypto steps marked optional.++## Definition of done+- Finishing any create sub-flow lands the user on a guided next-steps screen wired to real follow-on actions, with their actual new avatar shown.++## Verify+- Complete `/scan` and `/forge`; confirm the next-steps screen shows the real result and its CTAs work.diff --git a/tasks/site-overhaul/E-improve-features/E02-play-walk-newcomer-framing.md b/tasks/site-overhaul/E-improve-features/E02-play-walk-newcomer-framing.mdnew file mode 100644index 000000000..cc5bcb144--- /dev/null+++ b/tasks/site-overhaul/E-improve-features/E02-play-walk-newcomer-framing.md@@ -0,0 +1,28 @@+# E02 — `/play` & `/walk` newcomer framing++**Track:** Improve Features · **Size:** M · **Priority:** P2++## Goal+Give `/play` and `/walk` a newcomer-friendly cold open: explain what's happening, give a first+objective, and remove the crypto-first framing — without dumbing down the experience.++## Why it matters+The audit scored `/play` **2/10** for newcomers: it opens on "COIN COMMUNITIES" with no context,+and a user expecting a game lands in a token-economy sim. `/walk` is clearer but assumes the user+already has an avatar.++## Context+- [pages/play.html](pages/play.html), [pages/walk.html](pages/walk.html).+- Memory: **never tell users they're playing single-player in `/play`** ([play-no-singleplayer-framing]); the $THREE home town + NPC agent commerce are real features to surface, not hide.+- Memory: `/walk` has real Rapier physics + companion; respect those.++## Scope+- `/play`: a brief, skippable intro that explains the world in plain words and gives a first goal; provide a guest/just-explore path before any wallet/coin concept; keep the economy discoverable, not mandatory up front.+- `/walk`: if the user has no avatar, offer a default/sample to walk immediately, with a clear path to create their own.+- Honor the existing framing rules and features; don't strip the depth — gate it behind a gentle intro.++## Definition of done+- A first-timer entering `/play` or `/walk` understands what to do within seconds and can act without first grasping crypto; existing features remain intact.++## Verify+- Fresh session into `/play` and `/walk`; confirm the intro/objective appears, a no-wallet path works, and framing rules are respected.diff --git a/tasks/site-overhaul/E-improve-features/E03-discover-marketplace-parity.md b/tasks/site-overhaul/E-improve-features/E03-discover-marketplace-parity.mdnew file mode 100644index 000000000..da445288e--- /dev/null+++ b/tasks/site-overhaul/E-improve-features/E03-discover-marketplace-parity.md@@ -0,0 +1,27 @@+# E03 — `/discover` & `/marketplace` sorting/filtering/search parity++**Track:** Improve Features · **Size:** M · **Priority:** P2 · **Depends on:** B04 cards++## Goal+Bring discovery surfaces to a consistent, powerful baseline: shared sorting, filtering, search,+pagination, and unified cards across `/discover`, `/marketplace`, `/my-agents`, `/gallery`.++## Why it matters+`CLAUDE.md` innovation standard: "if you're adding a list view and notice the existing ones lack+sorting — add sorting." These browse surfaces are how users find value; inconsistent, weak+browsing buries the catalog.++## Context+- Surfaces: `public/discover/`, [pages/marketplace.html](pages/marketplace.html) (`--mk-*`, being unified in B02), `public/my-agents/`, `public/gallery/`.+- Real data via existing agent/marketplace/discover endpoints.++## Scope+- A shared list/grid toolkit: sort (recent/trending/name), filter (type/chain/status), text search (debounced, real API), pagination/infinite scroll, and the B04 cards.+- Apply it across the four surfaces so they behave identically.+- Designed empty/loading(skeleton)/error states; URL-synced filters (shareable/back-button safe).++## Definition of done+- All four discovery surfaces share sorting/filtering/search/pagination and unified cards, backed by real data, with filters reflected in the URL.++## Verify+- Sort/filter/search on each surface; confirm results are real, the URL updates, and back/forward works.diff --git a/tasks/site-overhaul/E-improve-features/E04-scan-forge-clarity.md b/tasks/site-overhaul/E-improve-features/E04-scan-forge-clarity.mdnew file mode 100644index 000000000..60ec5b598--- /dev/null+++ b/tasks/site-overhaul/E-improve-features/E04-scan-forge-clarity.md@@ -0,0 +1,28 @@+# E04 — `/scan` & `/forge` inline clarity + flywheel value++**Track:** Improve Features · **Size:** S/M · **Priority:** P2++## Goal+Explain the choices these tools present (fidelity levels, output formats, style) inline in plain+language, and surface the value the user gets — without cluttering the clean flows.++## Why it matters+The audit: `/scan` and `/forge` are strong (7–8/10) but use unexplained terms — "rigged 3D+model," "GLB," "High/Med/Low fidelity," "photorealistic vs stylized." Small inline explanations+remove the last friction on otherwise great flows.++## Context+- [pages/scan.html](pages/scan.html), [pages/forge.html](pages/forge.html).+- Memory: `/scan` selfie→3D pipeline + auto-rig chain; `/forge` is the in-house text→3D pipeline + data flywheel — **extend, don't fork** these.+- C04 glossary/tooltips can supply the term definitions.++## Scope+- Add concise inline helpers (tooltips or one-liners) explaining fidelity, format, rig, and style choices in plain words ("Rigged = your model can move and be animated").+- Surface what the user gains (e.g. "rigged so you can use all 70+ animations").+- Keep the flows visually clean — progressive disclosure, not walls of text.++## Definition of done+- Every choice in `/scan` and `/forge` has a plain-language explanation available inline; the flows stay clean; pipelines unchanged.++## Verify+- Walk both flows as a non-expert; confirm each option is understandable and the pipelines still run correctly.diff --git a/tasks/site-overhaul/E-improve-features/E05-studio-launch-mark-and-clarity.md b/tasks/site-overhaul/E-improve-features/E05-studio-launch-mark-and-clarity.mdnew file mode 100644index 000000000..64de7a7e5--- /dev/null+++ b/tasks/site-overhaul/E-improve-features/E05-studio-launch-mark-and-clarity.md@@ -0,0 +1,29 @@+# E05 — `/studio` launch panel: integrate the `3ws` mark + plain-language launch++**Track:** Improve Features · **Size:** M · **Priority:** P2 · **Relates to:** `tasks/vanity-3ws/`++## Goal+Make the /studio coin-launch panel both branded (the `3ws` mint mark) and understandable to a+non-crypto creator: explain what launching a coin means and does, in plain words, with the brand+moment as a feature.++## Why it matters+Launching a token is the most jargon-dense action (bonding curve, mint, buyback_bps). It's also a+flagship outcome. The separate `tasks/vanity-3ws/` program adds the `3ws` mark; this task wires+its **UX** into /studio and de-jargons the panel.++## Context+- [public/studio/launch-panel.js](public/studio/launch-panel.js) (state near lines 423–431; `PUMP_BASE_COST`, success `.lp-ok-mint`).+- The `3ws` mark + branded success state are specced in `tasks/vanity-3ws/05-ux-branded-success-state.md` — implement/consume that here for /studio.+- C04 tooltips for residual terms; C07 wallet explainer for the funding step.++## Scope+- Integrate the `3ws`-mark grind + branded success state (per the vanity-3ws UX task) into the /studio launch flow.+- Rewrite the panel's copy in plain language: what a launch is, what it costs (honest SOL estimate), what the user gets, what's optional. Wrap unavoidable terms with tooltips.+- Designed stamping/loading, success (mark emphasized), and error states.++## Definition of done+- /studio launches produce a `3ws…` mint with the branded success state, and a non-crypto creator can understand what the launch does and costs before confirming.++## Verify+- Run a launch in /studio (devnet/test); confirm the `3ws` mark, the branded success UI, and that the copy is comprehensible.diff --git a/tasks/site-overhaul/E-improve-features/E06-dashboard-ia-cleanup.md b/tasks/site-overhaul/E-improve-features/E06-dashboard-ia-cleanup.mdnew file mode 100644index 000000000..42903b66c--- /dev/null+++ b/tasks/site-overhaul/E-improve-features/E06-dashboard-ia-cleanup.md@@ -0,0 +1,28 @@+# E06 — Dashboard information-architecture cleanup++**Track:** Improve Features · **Size:** L · **Priority:** P1 · **Pairs with:** C09, A07++## Goal+Consolidate the dashboard's 30+ flat tabs into a coherent, grouped navigation a normal person can+scan, and reconcile the duplicate dashboard trees.++## Why it matters+The audit: the dashboard is feature-rich but overwhelming (2/10 for newcomers), with 30+ tabs+(agents, avatars, monetize, payments, subscriptions, billing, revenue, withdrawals, earnings,+tokens, x402, mcp, keys, …) and three overlapping implementations.++## Context+- New: [pages/dashboard-next/index.html](pages/dashboard-next/index.html) (+ sub-pages). Legacy: `public/dashboard-classic/`. Plus `pages/dashboard/`. A07 covers the orphan/duplicate reconciliation — coordinate.+- Tokens/components from Track B; help/tooltips from C09.++## Scope+- Group the tabs into a small number of logical sections (e.g. **Build** [agents, avatars, create, library], **Grow** [embed, widgets, analytics, monetize], **Money** [payments, payouts, tokens, x402], **Account** [keys, api, settings]). Collapse the billing/revenue/withdrawals/earnings sprawl into one coherent "Money" area.+- Pick one canonical dashboard implementation; redirect the others.+- Mark advanced/crypto sections clearly; default view favors the common path.+- Preserve every working feature — this is reorganization, not removal.++## Definition of done+- The dashboard presents a grouped, scannable nav with one canonical implementation; every prior feature is still reachable; advanced/crypto areas are labeled.++## Verify+- Enumerate the old tabs and confirm each is reachable in the new IA; the duplicate trees redirect to the canonical one.diff --git a/tasks/site-overhaul/E-improve-features/E07-ibm-suite-shared-shell.md b/tasks/site-overhaul/E-improve-features/E07-ibm-suite-shared-shell.mdnew file mode 100644index 000000000..f4230f2d3--- /dev/null+++ b/tasks/site-overhaul/E-improve-features/E07-ibm-suite-shared-shell.md@@ -0,0 +1,28 @@+# E07 — `/ibm` suite: shared shell & cross-nav++**Track:** Improve Features · **Size:** M · **Priority:** P3++## Goal+Give the seven IBM demos a consistent shared shell (nav between them, common header/footer,+unified styling) so the flagship partner suite feels like one cohesive showcase.++## Why it matters+The `/ibm` suite is a marquee partnership surface (galaxy, oracle, trust-layer, proof, twin,+identity, vision) but the demos were swarm-built separately and risk visual/nav drift. A coherent+shell makes the partnership look first-class — directly supporting Track G.++## Context+- Pages under [pages/ibm/](pages/ibm/). Memories: the suite spans galaxy/oracle/trust-layer/proof/twin/identity/vision; canonical helpers noted per-feature (e.g. `api/_lib/watsonx-forecast.js`); keep IBM affiliation language accurate (platform on watsonx.ai; community-built MCP).+- Track B tokens (an IBM theme layer on top of canonical tokens per B02).++## Scope+- A shared `/ibm` shell: consistent header with cross-links between all seven demos, a common intro, unified card/section styling (canonical tokens + an IBM theme layer).+- A landing index that explains the suite and routes to each demo with a one-line value.+- Verify affiliation/trademark language stays accurate (reuse the co-marketing guardrails).+- Don't break the underlying demos' functionality.++## Definition of done+- All seven IBM demos share a consistent shell and let users navigate between them; the index explains the suite; affiliation language is accurate.++## Verify+- Navigate across all seven demos via the shared nav; confirm consistent chrome and that each demo still works.diff --git a/tasks/site-overhaul/F-advertise-value/F01-interactive-feature-showcase.md b/tasks/site-overhaul/F-advertise-value/F01-interactive-feature-showcase.mdnew file mode 100644index 000000000..f3d0c0106--- /dev/null+++ b/tasks/site-overhaul/F-advertise-value/F01-interactive-feature-showcase.md@@ -0,0 +1,29 @@+# F01 — Interactive feature showcase / live tour landing++**Track:** Advertise & Value · **Size:** M · **Priority:** P1++## Goal+A landing surface that *demonstrates* each core capability live (not just describes it): a+scrollable, interactive tour where a visitor sees a real avatar animate, a real agent reply, a+real embed, etc. — proving the value in seconds.++## Why it matters+The audit found users don't realize all the capabilities are one platform, and telling beats+showing poorly. A "show, don't tell" showcase is the strongest top-of-funnel asset and is highly+screenshot/share-worthy (`CLAUDE.md` quality bar).++## Context+- Real capabilities to demo: selfie→3D, 70+ animations, AI chat, embed, optional on-chain/x402.+- Honesty rule (memory): demos must be real, no fake live data. Use real renders/agents.+- Headless WebGL caveat (memory): verify 3D via `renderer.info`/DOM, not pixel screenshots.++## Scope+- An interactive showcase (its own page or a homepage section) where each capability is a live, working mini-demo with a CTA into the real flow.+- Performance-conscious: lazy-load heavy 3D, intersection-observer to start demos on scroll, graceful fallback for low-power devices.+- Built on Track B; mobile-friendly.++## Definition of done+- A visitor can interact with a real demo of each core capability on one page and click through to do it themselves; demos use real data; no jank.++## Verify+- `npm run dev`; scroll the showcase, interact with each demo, confirm real behavior and working CTAs; check mobile + performance.diff --git a/tasks/site-overhaul/F-advertise-value/F02-per-feature-landing-pages.md b/tasks/site-overhaul/F-advertise-value/F02-per-feature-landing-pages.mdnew file mode 100644index 000000000..20794adf6--- /dev/null+++ b/tasks/site-overhaul/F-advertise-value/F02-per-feature-landing-pages.md@@ -0,0 +1,28 @@+# F02 — Per-feature SEO landing pages++**Track:** Advertise & Value · **Size:** M · **Priority:** P2 · **Depends on:** C04, B*++## Goal+A dedicated, SEO-optimized landing page for each flagship capability (selfie→3D scan, text→3D+forge, AR walk, agents/embed, x402 payments, play worlds) — each with a clear value prop, demo,+use-cases, and CTA.++## Why it matters+The platform's value is spread thin across a generic features page. Focused landing pages rank+for intent searches ("turn selfie into 3D avatar," "embed AI avatar on website") and give each+capability a real front door to advertise.++## Context+- Capabilities map to real flows: `/scan`, `/forge`, `/walk`, agents/`/embed`, x402, `/play`.+- Reuse C02 use-cases and F01 demos; Track B components; honest copy/data.++## Scope+- One landing page per flagship feature: H1 with the searched outcome, plain value prop, a live or recorded demo, 2–3 use-cases, social proof (real), and a strong CTA into the flow.+- Proper SEO: titles, meta descriptions, OG tags (tie to D04), structured data, sitemap entries, fast load.+- Internal-link them from the homepage/features so they're discoverable and pass authority.++## Definition of done+- Each flagship feature has a focused, fast, SEO-complete landing page with a working demo and CTA, linked from the site and present in the sitemap.++## Verify+- Lighthouse SEO/performance pass on each; confirm OG tags render a card (D04); CTAs reach the real flow.diff --git a/tasks/site-overhaul/F-advertise-value/F03-honest-social-proof.md b/tasks/site-overhaul/F-advertise-value/F03-honest-social-proof.mdnew file mode 100644index 000000000..fe58597e1--- /dev/null+++ b/tasks/site-overhaul/F-advertise-value/F03-honest-social-proof.md@@ -0,0 +1,27 @@+# F03 — Honest social-proof & traction surfaces++**Track:** Advertise & Value · **Size:** S/M · **Priority:** P2++## Goal+Surface real platform traction — agents created, coins launched, live activity, notable creations+— as honest social proof on the homepage and landing pages.++## Why it matters+Social proof converts, but the founder's honesty rule is absolute: **no fabricated numbers or+fake live data** (memory: homepage marketing must be honest examples). This task wires *real*+signals so the proof is both persuasive and true.++## Context+- Real signals: the activity feed bus (`feed:events`), counts from the agents/coins tables, the leaderboard (D06).+- Memory: homepage-honesty — marketing visuals must be honest examples; no fake live data.++## Scope+- A live "real activity" strip (recent real launches/creations) and honest aggregate counts, sourced from real endpoints, on the homepage and key landing pages.+- If a real number is too small to impress, show it honestly or show a qualitative proof (real featured creations) instead of inflating — never fake.+- Designed empty state for low-activity windows.++## Definition of done+- Homepage/landing pages show real, live traction signals that match the underlying data; nothing is fabricated; low-data states degrade honestly.++## Verify+- Cross-check displayed counts/activity against the database/feed; confirm they're real and update.diff --git a/tasks/site-overhaul/F-advertise-value/F04-lifecycle-onboarding-comms.md b/tasks/site-overhaul/F-advertise-value/F04-lifecycle-onboarding-comms.mdnew file mode 100644index 000000000..0b65b7ee2--- /dev/null+++ b/tasks/site-overhaul/F-advertise-value/F04-lifecycle-onboarding-comms.md@@ -0,0 +1,26 @@+# F04 — Lifecycle / onboarding communications++**Track:** Advertise & Value · **Size:** M · **Priority:** P3++## Goal+A value-led lifecycle comms sequence (welcome → activate → first embed → optional monetize) that+re-engages users with the right next step at the right time.++## Why it matters+Activation and retention need nudges. Users who create an avatar but never embed it, or sign up+but never create, are recoverable with honest, helpful, well-timed messages.++## Context+- Check what email/notification infrastructure already exists (transactional email provider in `.env`/`api/`, the D02 notification center) before adding anything — reuse it.+- Coordinate with C03 (getting started) so in-app and out-of-app onboarding tell one story.++## Scope+- Define the lifecycle stages and the one helpful message each (in-app via D02 and/or email via the existing provider). Each message: one clear value + one CTA; honest; easy unsubscribe.+- Trigger on real events (created avatar, no embed after N days, etc.) — no spam, real triggers only.+- If no email provider is configured, implement the in-app (D02) path and flag the email gap to the founder rather than stubbing.++## Definition of done+- Real lifecycle triggers send one helpful, honest message via available channels, each driving a concrete next step, with working unsubscribe.++## Verify+- Simulate a real trigger (e.g. created-but-not-embedded) and confirm the correct message fires through the real channel.diff --git a/tasks/site-overhaul/F-advertise-value/F05-task-oriented-docs.md b/tasks/site-overhaul/F-advertise-value/F05-task-oriented-docs.mdnew file mode 100644index 000000000..4f56c5487--- /dev/null+++ b/tasks/site-overhaul/F-advertise-value/F05-task-oriented-docs.md@@ -0,0 +1,27 @@+# F05 — Task-oriented docs overhaul++**Track:** Advertise & Value · **Size:** M · **Priority:** P2++## Goal+Reorient the docs around what users want to *do* — "Build a customer-service avatar in 5 minutes,"+"Embed an agent on your website," "Launch a coin for your community" — not around internal+architecture.++## Why it matters+Docs are both support and marketing. Task-oriented guides reduce friction, rank in search, and+double as proof the platform works. The audit shows users need plain, goal-driven guidance.++## Context+- Docs hub: [docs/index.html](docs/index.html) (SPA, `/docs/:page`). Existing integration docs (e.g. IBM) are nav-wired — follow that pattern.+- Reuse C02 use-cases, C04 glossary, F02 landing pages; honest examples only.++## Scope+- A "Guides" section with 5–8 task-oriented walkthroughs for the top jobs-to-be-done, each with real steps, screenshots/embeds, and links into the product.+- Keep reference docs but lead with guides; wire glossary terms (C04).+- Ensure docs use the unified design system and are searchable (tie to D01 command palette).++## Definition of done+- The docs lead with task-oriented guides covering the top user goals; each guide is accurate, real, and links into the product; nav-wired and searchable.++## Verify+- Follow one guide end-to-end as a new user and reach the promised outcome; confirm guides appear in nav + command palette.diff --git a/tasks/site-overhaul/F-advertise-value/F06-why-threews-positioning.md b/tasks/site-overhaul/F-advertise-value/F06-why-threews-positioning.mdnew file mode 100644index 000000000..7b5169894--- /dev/null+++ b/tasks/site-overhaul/F-advertise-value/F06-why-threews-positioning.md@@ -0,0 +1,28 @@+# F06 — "Why three.ws" positioning page++**Track:** Advertise & Value · **Size:** S/M · **Priority:** P3++## Goal+A clear positioning page that states what three.ws is best at and why someone would choose it —+honestly framed against the alternatives a user would otherwise consider (generic avatar makers,+chatbot builders, NFT launchers).++## Why it matters+Prospects evaluate options. A confident, honest positioning page that names the unique combination+(3D avatar + AI brain + embed + optional on-chain ownership/payments, all in one) helps them+decide — and arms partners and press with the narrative.++## Context+- The unique value is the *integration* of capabilities the audit listed as currently feeling disconnected. This page makes the integration the point.+- Honesty rule: comparisons must be fair and accurate; don't disparage or misrepresent competitors. Focus on what three.ws uniquely combines.++## Scope+- A positioning page: the core thesis, who it's for, the unique combination, and honest "use three.ws when… / it's overkill when…" guidance.+- An optional, fair comparison (capability matrix) — accurate, not a hit piece.+- Strong CTA; Track B styling; link from nav/footer and the homepage.++## Definition of done+- A visitor can read the page and understand precisely what makes three.ws different and whether it fits their need; claims are accurate and fair.++## Verify+- Fact-check every claim against real platform capabilities; confirm the page links from nav/footer and reads as confident, not hype.diff --git a/tasks/site-overhaul/G-partnerships-content/G01-partnership-kit-generator.md b/tasks/site-overhaul/G-partnerships-content/G01-partnership-kit-generator.mdnew file mode 100644index 000000000..550019130--- /dev/null+++ b/tasks/site-overhaul/G-partnerships-content/G01-partnership-kit-generator.md@@ -0,0 +1,27 @@+# G01 — Partnership one-pager / co-marketing kit system++**Track:** Partnerships & Content · **Size:** M · **Priority:** P2++## Goal+A repeatable co-marketing kit pattern for new partners (one-pager, messaging, solution brief,+social assets), generalized from the existing IBM kit so a new partnership can be packaged fast.++## Why it matters+You want more partnerships. Each one needs collateral. The IBM kit already proves the format —+turn it into a reusable template so partner #2..#N is a fill-in-the-blanks afternoon, not a+from-scratch project.++## Context+- Existing reference (memory): `docs/ibm-co-marketing/` — one-pager, messaging, press release, solution briefs, social, FAQ, with partner/trademark guardrails.+- The `/ibm` suite (E07) and `/aws` hub show the on-site partner-surface pattern.++## Scope+- Extract the IBM kit into a documented **template** (`docs/partner-kit-template/`) with placeholders and the trademark/affiliation guardrails baked in.+- A short "how to onboard a partner" guide: what assets to produce, where on-site surfaces live, accuracy/legal guardrails.+- Optionally a generator script that scaffolds a new `docs/<partner>-co-marketing/` from the template.++## Definition of done+- A reusable partner-kit template + onboarding guide exists; producing a new partner's kit is a guided fill-in, with guardrails preserved.++## Verify+- Dry-run the template for a hypothetical partner; confirm it yields a complete, guardrail-compliant kit skeleton.diff --git a/tasks/site-overhaul/G-partnerships-content/G02-demo-video-scripts.md b/tasks/site-overhaul/G-partnerships-content/G02-demo-video-scripts.mdnew file mode 100644index 000000000..9f1ade0d2--- /dev/null+++ b/tasks/site-overhaul/G-partnerships-content/G02-demo-video-scripts.md@@ -0,0 +1,27 @@+# G02 — Demo video scripts + storyboards (record-ready)++**Track:** Partnerships & Content · **Size:** M · **Priority:** P2 · **Pairs with:** F01++## Goal+Record-ready scripts and shot-by-shot storyboards for short demo videos of the flagship features+and partner integrations — so the founder (or an editor) can capture polished content quickly.++## Why it matters+You want videos and content for partners. The bottleneck is usually scripting/planning, not+recording. Tight scripts + storyboards that map to real, working flows make production fast and+consistent.++## Context+- Flagship flows to script: selfie→3D scan, text→3D forge, AR walk, build-an-agent + embed, a coin launch with the `3ws` mark, and the IBM/partner demos.+- Demos must show **real** product behavior (honesty rule). The flows exist today — script against what's actually on screen.++## Scope+- For each flagship: a short script (hook → value → demo beats → CTA), a storyboard (per-shot: on-screen action, what to click, expected result, b-roll), target length, and the exact route/steps to capture.+- A consistent intro/outro and brand framing ($THREE only, accurate partner language).+- Deliver as `docs/video-scripts/<feature>.md`; keep them in sync with the real flows.++## Definition of done+- Each flagship has a record-ready script + storyboard mapping to the real flow, with a clear CTA and consistent branding.++## Verify+- Walk one storyboard against the live product — every beat matches what's actually on screen.diff --git a/tasks/site-overhaul/G-partnerships-content/G03-powered-by-partner-widget.md b/tasks/site-overhaul/G-partnerships-content/G03-powered-by-partner-widget.mdnew file mode 100644index 000000000..c490b6427--- /dev/null+++ b/tasks/site-overhaul/G-partnerships-content/G03-powered-by-partner-widget.md@@ -0,0 +1,27 @@+# G03 — "Powered by three.ws" partner widget + co-brand surface++**Track:** Partnerships & Content · **Size:** M · **Priority:** P3 · **Depends on:** D07 embed++## Goal+A co-brandable embeddable widget and a partner showcase surface, so partners can drop three.ws+into their product with attribution and you can feature them — a two-way distribution loop.++## Why it matters+Partnerships compound when they're embeddable and visible. A clean "powered by three.ws" widget+gets the brand onto partner sites; a partner showcase on three.ws reciprocates and advertises the+relationships.++## Context+- Embed infra exists (`/embed`, D07 wizard). This adds co-brand options + attribution + a partner directory.+- Accuracy guardrails (memory): keep partner/trademark/affiliation language correct.++## Scope+- A co-brand mode for the embed (partner logo + "powered by three.ws" attribution, themeable within the design system) generated via the D07 wizard.+- A `/partners` showcase page listing real partners with honest descriptions and links (reuse Track B + the kit from G01).+- Don't claim partnerships that don't exist; founder confirms the partner list.++## Definition of done+- Partners can generate a co-branded embed with attribution; a `/partners` page showcases real, confirmed partners; affiliation language is accurate.++## Verify+- Generate a co-branded embed and render it externally; confirm attribution + theming; `/partners` lists only confirmed partners.diff --git a/tasks/site-overhaul/G-partnerships-content/G04-content-engine.md b/tasks/site-overhaul/G-partnerships-content/G04-content-engine.mdnew file mode 100644index 000000000..835f4a2a0--- /dev/null+++ b/tasks/site-overhaul/G-partnerships-content/G04-content-engine.md@@ -0,0 +1,28 @@+# G04 — Content engine: blog/tutorial pipeline + templates++**Track:** Partnerships & Content · **Size:** M · **Priority:** P3++## Goal+A low-friction pipeline and templates for publishing blog posts, tutorials, and partner+showcases consistently — so content (a stated goal) ships regularly without bespoke effort each+time.++## Why it matters+Content drives SEO, activation, and partner visibility. The blocker is consistency and format.+Templates + a clear pipeline make publishing routine.++## Context+- Existing surfaces: `blog/` (static posts), `pages/tutorials.html` + `pages/tutorial.html` (hydrates `/api/tutorials/:slug`), docs guides (F05).+- Reuse the unified design system and the OG cards (D04) for share-ability.++## Scope+- Templates for: a feature/announcement post, a how-to tutorial, and a partner showcase — each with front-matter, structure, SEO/OG fields, and a CTA.+- Document the publishing pipeline (where files go, how they get routed, how they appear in nav/sitemap, how OG cards generate).+- Wire 1–2 real inaugural pieces (e.g. a real feature post and one tutorial) as working proof — real content, not lorem.+- Ensure posts are searchable (D01) and listed on the blog/tutorials indexes.++## Definition of done+- Templates + a documented pipeline exist; at least one real post and one real tutorial are published through it, correctly routed, OG-carded, and discoverable.++## Verify+- Publish a test piece via the template; confirm it routes, appears in the index/sitemap, generates an OG card, and is searchable.diff --git a/tasks/site-overhaul/README.md b/tasks/site-overhaul/README.mdnew file mode 100644index 000000000..47f292731--- /dev/null+++ b/tasks/site-overhaul/README.md@@ -0,0 +1,61 @@+# three.ws Site Overhaul — 50 agent prompts++A complete, grounded work program to: **fix the site, unify the UI, make the UX accessible+to non-crypto people, build and improve features, and advertise/explain the value** — plus a+partnerships & content track. Each file below is a self-contained prompt you can hand to one+agent and work with closely.++Every prompt was written against a real audit of this codebase (routes, design system, bugs,+and a non-crypto-user UX pass) — they reference real files, real line numbers, and real+findings, not generic advice.++## How to use this++- Each `.md` is one agent's mission. Open it, read the **Context**, hand it over.+- Tracks are ordered by leverage. **Do Track A (health) and B01–B02 first** — they unblock+ everything else (you can't unify UI on top of broken pages and 8 competing token systems).+- Files are numbered within each track. Dependencies are called out per file.+- All work obeys `CLAUDE.md`: real implementations only, no mocks/placeholders, `$THREE` is the+ only coin, monochrome design tokens, push to both remotes, run the completionist before done.++## The seven tracks++| Track | Theme (your goal) | Files |+|-------|-------------------|-------|+| **A — Health** | Fix errors & issues | `A01`–`A07` |+| **B — UI Uniformity** | One design system, site-wide | `B01`–`B09` |+| **C — UX for Newcomers** | Anyone (non-crypto) can use it | `C01`–`C09` |+| **D — New Features** | Build more | `D01`–`D08` |+| **E — Improve Features** | Make existing features better | `E01`–`E07` |+| **F — Advertise & Value** | Features understood & valued | `F01`–`F06` |+| **G — Partnerships & Content** | Partners, videos, content | `G01`–`G04` |++## Baseline (captured 2026-06-05, verify before trusting)++- **Build:** green (`npm run build` produces `dist/`, PWA precaches ~858 entries).+- **Tests:** 14 failing across 7 files, 3164 passing (`npm test`). Some red is swarm churn;+ one real regression is the `webhooks-replicate` auth test (see `A03`).+- **Routes:** 200+ user-facing routes; many duplicate/orphaned (home-v2/v3/v4/classic, stray+ `pages/*`). See `A06`, `A07`.+- **Design system:** 8+ competing CSS token systems (`--nxt-*`, `--mk-*`, `--pd-*`, `--ibm-*`,+ `--gx-*`, `--ho-*`, `--saas-*`, `--sdk-*`, `--t-*`), 387 unique button classes, ~40 pages with+ bespoke navs, ~60% pages with no footer, 100+ hardcoded colors that already have tokens.+ `public/app-next.css` (`--nxt-*`) is the best existing direction. See Track B.+- **UX:** strong, jargon-light creation tools (`/create`, `/scan`, `/forge`) but the homepage,+ `/features`, dashboard, `/play`, `/club` are wedged with unexplained crypto jargon (x402, USDC,+ mint, on-chain, ERC-8004, bonding curve, MCP, A2A). No onboarding, no glossary; the+ "crypto is optional" message is buried in the pricing FAQ. See Track C.+- **Canonical homepage:** `pages/home-v4.html` ("Give your AI a body").++## Cross-cutting rules for every agent++1. **Read before you write.** Match existing patterns; don't add a 9th token system or a+ 388th button class — that's the problem you're here to fix.+2. **Every state designed:** loading (skeletons), empty (guided), error (actionable), populated.+3. **Real data only.** No sample arrays in prod, no fake timers. Wire real endpoints.+4. **Verify in a real browser** (`npm run dev`, port 3000). Headless WebGL can't screenshot 3D —+ assert via DOM + network + `renderer.info`, per the project's screenshot gotcha.+5. **Non-crypto first.** If you add user-facing copy, a person who has never touched crypto must+ understand it. Crypto features are opt-in, never the headline.+6. **Coordinate the hot files.** `api/pump/[action].js`, `public/style.css`, `public/nav.*`,+ `pages/home-v4.html` are touched by many tracks — land changes in small, reviewed diffs.