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
Wire orphaned pages into router, AA accessibility pass, HDRLoader migration
nirholas1451df618596
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 0a547f9ee..ad3705f53 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -36,6 +36,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Embedded agents and the marketplace lobby fail gracefully instead of crashing** — Hardened the async boundaries on a few load paths so a flaky network never leaves a silent crash in the page. When an embedded agent, a saved widget, or an on-chain agent can't load, you now get a clear "Couldn't load this" message with a retry button instead of a half-rendered viewer. On the marketplace lobby, a hiccup loading the 3D model decoder no longer throws an uncaught error — the gallery degrades quietly and the rest of the page keeps working. `[fix]`- **Every launch now has its own page — the full story of a coin in one place** — Until now, clicking a coin on the launches feed sent you out to pump.fun. Now every launch opens a rich profile that stays on three.ws and answers every question a trader actually has, all from real on-chain data: live price, market cap and graduation progress; the Coin Intelligence verdict from the coin's first ~90 seconds (a quality score plus organic-vs-bundle, sniping, holder concentration, fresh-wallet and funder-clustering signals, with any risk flags called out); the labeled outcome if it graduated or rugged, with its all-time-high multiple; a live price chart and a live trade tape that ticks every buy and sell as it lands; holder count and concentration; the agent behind the mint and its verifiable TraderScore; and the buyback-and-burn economics for agent-payment coins, each burn linking to its on-chain transaction. Watch a coin, share its page, jump into its 3D world, or open it in 3D — every number traces back to a real transaction. (`/launches`) `[feature]`- **Features page — interactive animation showcase with 30+ live demos** — The /features page now has a live animation showcase you can interact with in the browser. Pick from 30+ animations grouped by type (Idle, Dance, Celebration, Athletic, Combat, Walk, Mood) — the 3D avatar switches instantly with no page reload. The Widget Studio card also got a live preview panel showing what the embed looks like on a real site, plus a one-click snippet copy button. (`/features`) `[improvement]`+- **Fixed a batch of nav links that used to dead-end on a 404** — Swept the whole site for pages that were linked from the menus or built but never wired into the production router. Trending, Activity, Radar, Smart Money, Coin Intelligence, the Scene Composer, the create-flow "your avatar is ready" step, and the post-deploy success screen all used to 404 in production even though they were finished — they now open correctly. Also retired two dead pages (an old Forge preview and a duplicate Strategy Lab) so search and the sitemap only point at live surfaces. `[fix]`- **Forge: fix 3D model generation on the free NVIDIA lane** — The free TRELLIS text-to-3D lane stopped producing models when NVIDIA changed their API to return a CDN URL instead of inline base64. The extractor now fetches that URL and buffers the file correctly, restoring zero-cost 3D generation. Also suppressed a log storm where every Solana RPC call that skipped a known-rate-limited provider emitted a redundant rotation message. (`/forge`) `[fix]`- **Guided tour engine — spotlight coachmarks with server-backed persistence** — Built a reusable in-app tour engine that any page can use with a simple declarative step list. Tours spotlight DOM elements with an animated overlay, show contextual tooltips with Back/Next/Skip controls, handle keyboard navigation (arrows + Escape), announce each step to screen readers, and remember completion in both localStorage and the server (so tours don't re-appear across devices). The dashboard now shows a 4-step orientation tour to new accounts pointing out the nav, creations, KPIs, and quick actions. (`/dashboard`) `[feature]`- **Home page now features Oracle — live conviction scores on the front page** — The three.ws home page now has an Oracle section between the Pump.fun token economy block and the pay-per-call block. It explains the four-pillar conviction system (Who · How · What · Move) and renders a live mini-feed of the current top-scoring coins fetched from /api/oracle/feed — each card shows the ticker, 0–100 score, tier pill, and four color-coded pillar bars. Clicking any card opens the Oracle drawer for that coin. The live dot pulses while data is streaming. (`/`) `[improvement]`@@ -96,6 +97,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Sniper: personal Telegram trade notifications** — Each sniper strategy can now send buy and sell alerts to your own Telegram chat instead of (or in addition to) the platform ops channel. Add your Telegram chat ID in the Notifications section of any strategy form on the sniper dashboard. Get instant alerts the moment your agent opens or closes a position, with coin name, size, PnL, and Solscan proof link. (`/dashboard/sniper`) `[feature]`- **Strategy Lab: backtest Oracle strategies before you deploy** — New standalone page at /strategy-lab lets you pick a conviction tier and time window, then see exactly how that filter would have performed: win rate, graduates, 3×/5× hit count, per-tier breakdown, and the top performers in the window. Everything pulls from real resolved Oracle conviction data — no synthetic numbers. Run a backtest, then deploy directly to the sniper from the results page. (`/strategy-lab`) `[feature]`- **The Sniper Arena is now a living 3D world** — The arena used to be a flat leaderboard. Now it's a real 3D world you walk into. Every armed AI agent stands on the trading floor as an animated avatar — the #1 agent up on a gold podium — and when they trade live, you see it happen: a cheer and a coin burst on a buy, confetti and a back-flip on a big win, a slump on a loss, each one tied to the same on-chain trade scrolling in the live tape. Pick your own avatar from a roster or the community gallery and walk the floor in third person with WASD or a touch joystick. Floating name tags track each agent with their live P&L, and a banner calls out the biggest win as it lands. Every number is real and verifiable on-chain — now it has a face. (`/play/arena`) `[feature]`+- **The whole platform now works keyboard-only and meets WCAG AA** — Ran an accessibility pass across the home page, Marketplace, your agent home, the Dashboard, and Pricing. You can now Tab through every page end to end — links, buttons, filters, the billing toggle, and menus all respond to Enter, Space, and arrow keys, and dialogs trap focus while open, close on Escape, and hand focus back where you left it. Every focusable control shows a clear focus ring, icon-only buttons and charts have screen-reader labels, async results announce themselves, and muted grey text was darkened to pass AA contrast. If you've turned on "reduce motion" in your OS, decorative animations now stay still. `[improvement, feature]`- **Tipped club dances now always perform** — The Spin, Slow Burn (formerly Climb) and Full Combo routines on the Pole Club stage were charging for a performance the dancer couldn't actually play — the choreography was wired to animation clips that were never shipped, so a tip would settle and the dancer would just walk out, stand still, and walk back. All three routines are now built from real, deployed dance clips, so every tip you pay produces a full, visible routine set to its music. As a safety net, the stage will never leave a dancer frozen again: if any clip can't load, she falls back to a real dance for the full duration so a paid tip always delivers a performance. (`/club`) `[fix]`- **Trader leaderboard + copy-trading now available as MCP tools for agents** — Four new MCP tools close the autonomous copy-trading loop for any agent connected to three.ws: trader_leaderboard returns the top pump.fun traders ranked by composite TraderScore with win rate, realized P&L, ROI, and a copy/watch/skip recommendation for each; trader_profile fetches the full verifiable track record for one agent including recent trades with on-chain Solscan proof; copy_subscribe creates a non-custodial copy subscription — mirror a leader's future entries at your own sizing with hard daily budget caps; copy_status lists your active subscriptions and execution counts. An agent can now discover the best traders, vet their proof, and autonomously set up copy-trading without any human intervention. (`/leaderboard`) `[feature, sdk]`- **Trader profiles now work for any pump.fun wallet address** — The /trader page now handles raw Solana wallet addresses directly — not just agent UUIDs. Clicking a wallet from the Oracle leaderboard or the coin drawer's Who's In section opens a full wallet reputation profile: archetype badge, smart-money score, win/early-win/dump rates, and the coin footprint. Previously these links 404ed. (`/oracle`) `[fix, improvement]`diff --git a/data/changelog.json b/data/changelog.jsonindex 4df1b7867..c27e27956 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,23 @@{"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-06-16",+ "title": "Fixed a batch of nav links that used to dead-end on a 404",+ "summary": "Swept the whole site for pages that were linked from the menus or built but never wired into the production router. Trending, Activity, Radar, Smart Money, Coin Intelligence, the Scene Composer, the create-flow \"your avatar is ready\" step, and the post-deploy success screen all used to 404 in production even though they were finished — they now open correctly. Also retired two dead pages (an old Forge preview and a duplicate Strategy Lab) so search and the sitemap only point at live surfaces.",+ "tags": [+ "fix"+ ]+ },+ {+ "date": "2026-06-16",+ "title": "The whole platform now works keyboard-only and meets WCAG AA",+ "summary": "Ran an accessibility pass across the home page, Marketplace, your agent home, the Dashboard, and Pricing. You can now Tab through every page end to end — links, buttons, filters, the billing toggle, and menus all respond to Enter, Space, and arrow keys, and dialogs trap focus while open, close on Escape, and hand focus back where you left it. Every focusable control shows a clear focus ring, icon-only buttons and charts have screen-reader labels, async results announce themselves, and muted grey text was darkened to pass AA contrast. If you've turned on \"reduce motion\" in your OS, decorative animations now stay still.",+ "tags": [+ "improvement",+ "feature"+ ]+ },{"date": "2026-06-16","title": "Pages that hit a network error now show a retry, never a blank screen",diff --git a/pages/home.html b/pages/home.htmlindex a756ee23e..af8cfaef6 100644--- a/pages/home.html+++ b/pages/home.html@@ -322,9 +322,13 @@.three-signal:hover .ts-cta, .three-signal:focus-visible .ts-cta { color: var(--text); }.three-signal:hover .ts-cta .ts-arrow, .three-signal:focus-visible .ts-cta .ts-arrow { transform: translateX(4px); }.three-signal:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }- /* Error fallback: collapse to a single quiet "view stats" affordance. */+ /* Error fallback: collapse to a single quiet "view stats" affordance.+ Hide the price/change placeholders so the leftover em-dash never+ renders glued to the fallback copy. */.three-signal[data-state="error"] .ts-cell:not(.ts-cell--brand):not(.ts-cell--cta) { display: none; }.three-signal[data-state="error"] .ts-cell--brand .ts-v { font-size: 14px; color: var(--text-2); }+ .three-signal[data-state="error"] #ts-price,+ .three-signal[data-state="error"] #ts-change { display: none; }.three-signal[data-state="error"] .ts-err { display: inline; }.ts-err { display: none; font-size: 12.5px; color: var(--text-3); margin-left: 8px; }/* On narrow screens the row scrolls horizontally; hide the CTA arrow todiff --git a/pages/pricing.html b/pages/pricing.htmlindex bbfb74c14..a42a18e97 100644--- a/pages/pricing.html+++ b/pages/pricing.html@@ -891,11 +891,12 @@});});- const clock = new THREE.Clock();+ const timer = new THREE.Timer();(function tick() {requestAnimationFrame(tick);try {- const dt = Math.min(clock.getDelta(), 0.05);+ timer.update();+ const dt = Math.min(timer.getDelta(), 0.05);mixer?.update(dt);if (phase === 'walking' && avatar && walkStart && walkEnd) {walkT += dt;diff --git a/public/changelog.json b/public/changelog.jsonindex 20f750ba8..81fa14450 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-16T23:14:50.649Z",+ "generated_at": "2026-06-16T23:23:22.019Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -310,6 +310,16 @@"improvement"]},+ {+ "date": "2026-06-16",+ "type": "update",+ "title": "Fixed a batch of nav links that used to dead-end on a 404",+ "summary": "Swept the whole site for pages that were linked from the menus or built but never wired into the production router. Trending, Activity, Radar, Smart Money, Coin Intelligence, the Scene Composer, the create-flow \"your avatar is ready\" step, and the post-deploy success screen all used to 404 in production even though they were finished — they now open correctly. Also retired two dead pages (an old Forge preview and a duplicate Strategy Lab) so search and the sitemap only point at live surfaces.",+ "link": null,+ "tags": [+ "fix"+ ]+ },{"date": "2026-06-16","type": "update",@@ -927,6 +937,17 @@"feature"]},+ {+ "date": "2026-06-16",+ "type": "update",+ "title": "The whole platform now works keyboard-only and meets WCAG AA",+ "summary": "Ran an accessibility pass across the home page, Marketplace, your agent home, the Dashboard, and Pricing. You can now Tab through every page end to end — links, buttons, filters, the billing toggle, and menus all respond to Enter, Space, and arrow keys, and dialogs trap focus while open, close on Escape, and hand focus back where you left it. Every focusable control shows a clear focus ring, icon-only buttons and charts have screen-reader labels, async results announce themselves, and muted grey text was darkened to pass AA contrast. If you've turned on \"reduce motion\" in your OS, decorative animations now stay still.",+ "link": null,+ "tags": [+ "improvement",+ "feature"+ ]+ },{"date": "2026-06-16","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex 083c4d23a..63bd2fdd4 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -246,6 +246,14 @@<category>improvement</category><description>The /features page now has a live animation showcase you can interact with in the browser. Pick from 30+ animations grouped by type (Idle, Dance, Celebration, Athletic, Combat, Walk, Mood) — the 3D avatar switches instantly with no page reload. The Widget Studio card also got a live preview panel showing what the embed looks like on a real site, plus a one-click snippet copy button.</description></item>+ <item>+ <title>Fixed a batch of nav links that used to dead-end on a 404</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-06-16:Fixed a batch of nav links that used to dead-end on a 404</guid>+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>Swept the whole site for pages that were linked from the menus or built but never wired into the production router. Trending, Activity, Radar, Smart Money, Coin Intelligence, the Scene Composer, the create-flow "your avatar is ready" step, and the post-deploy success screen all used to 404 in production even though they were finished — they now open correctly. Also retired two dead pages (an old Forge preview and a duplicate Strategy Lab) so search and the sitemap only point at live surfaces.</description>+ </item><item><title>Forge: fix 3D model generation on the free NVIDIA lane</title><link>https://three.ws/forge</link>@@ -726,6 +734,14 @@<category>feature</category><description>The arena used to be a flat leaderboard. Now it's a real 3D world you walk into. Every armed AI agent stands on the trading floor as an animated avatar — the #1 agent up on a gold podium — and when they trade live, you see it happen: a cheer and a coin burst on a buy, confetti and a back-flip on a big win, a slump on a loss, each one tied to the same on-chain trade scrolling in the live tape. Pick your own avatar from a roster or the community gallery and walk the floor in third person with WASD or a touch joystick. Floating name tags track each agent with their live P&L, and a banner calls out the biggest win as it lands. Every number is real and verifiable on-chain — now it has a face.</description></item>+ <item>+ <title>The whole platform now works keyboard-only and meets WCAG AA</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-06-16:The whole platform now works keyboard-only and meets WCAG AA</guid>+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>+ <category>improvement</category>+ <description>Ran an accessibility pass across the home page, Marketplace, your agent home, the Dashboard, and Pricing. You can now Tab through every page end to end — links, buttons, filters, the billing toggle, and menus all respond to Enter, Space, and arrow keys, and dialogs trap focus while open, close on Escape, and hand focus back where you left it. Every focusable control shows a clear focus ring, icon-only buttons and charts have screen-reader labels, async results announce themselves, and muted grey text was darkened to pass AA contrast. If you've turned on "reduce motion" in your OS, decorative animations now stay still.</description>+ </item><item><title>Tipped club dances now always perform</title><link>https://three.ws/club</link>diff --git a/public/dragon-section.js b/public/dragon-section.jsindex 1d136005b..9a0c63ee4 100644--- a/public/dragon-section.js+++ b/public/dragon-section.js@@ -11,6 +11,11 @@const dpr = Math.min(window.devicePixelRatio || 1, 2);let W = 0, H = 0, animId = null, initialized = false, paused = false;+ // Honour reduced-motion: we render a single static frame and never loop.+ const reduceMotion = window.matchMedia+ && window.matchMedia('(prefers-reduced-motion: reduce)').matches;+ // Cached canvas rect (see refreshRect) so pointer handlers avoid layout reads.+ let rectCache = { left: 0, top: 0, width: 0, height: 0 };// ── Config ───────────────────────────────────────────────────const cfg = {@@ -29,6 +34,7 @@canvas.width = Math.round(W * dpr);canvas.height = Math.round(H * dpr);ctx.setTransform(dpr, 0, 0, dpr, 0, 0);+ refreshRect();if (initialized) { layoutAllText(); buildTunnel(); }}const ro = new ResizeObserver(resize);@@ -47,8 +53,15 @@};}+ // Refresh the cached canvas rect so pointer handlers don't force a layout+ // read (getBoundingClientRect) on every mousemove/touchmove — a classic+ // source of input-handler jank. Updated on resize and scroll only.+ function refreshRect() { rectCache = canvas.getBoundingClientRect(); }+ window.addEventListener('scroll', refreshRect, { passive: true });+function toLocal(clientX, clientY) {- const r = canvas.getBoundingClientRect();+ const r = rectCache;+ if (!r.width || !r.height) return { x: -1, y: -1 };const sx = W / r.width, sy = H / r.height;return { x: (clientX - r.left) * sx, y: (clientY - r.top) * sy };}@@ -554,16 +567,32 @@let lastT = performance.now(), time = 0;const hint = container.querySelector('.dragon-hint');- // Pause when scrolled fully out of view to save CPU- let inView = true;+ // Only run the loop while the section is actually on screen AND the tab is+ // visible. Start out paused — the IntersectionObserver below kicks the loop+ // off when the section scrolls into view, so a below-the-fold dragon never+ // burns main-thread time during the initial page load.+ let inView = false;+ let tabVisible = !document.hidden;++ function maybeStart() {+ if (reduceMotion || animId || !inView || !tabVisible) return;+ lastT = performance.now();+ animId = requestAnimationFrame(frame);+ }+const io = new IntersectionObserver((entries) => {- inView = entries[0].isIntersecting;- if (inView && !animId) { lastT = performance.now(); animId = requestAnimationFrame(frame); }+ inView = entries[entries.length - 1].isIntersecting;+ if (inView) maybeStart();}, { threshold: 0, rootMargin: '200px' });io.observe(container);+ document.addEventListener('visibilitychange', () => {+ tabVisible = !document.hidden;+ if (tabVisible) maybeStart();+ });+function frame(now) {- if (!inView) { animId = null; return; }+ if (!inView || !tabVisible) { animId = null; return; }const dt = Math.min((now - lastT) / 1000, 0.05);lastT = now; time += dt; autoPilotT += dt;@@ -590,12 +619,28 @@animId = requestAnimationFrame(frame);}+ // Draw a single settled frame so the section never shows a blank canvas+ // before the loop starts (or, under reduced-motion, ever runs).+ function renderStatic() {+ const em = effectiveMouse();+ ctx.save();+ ctx.fillStyle = '#050505'; ctx.fillRect(-10, -10, W + 20, H + 20);+ drawTunnel();+ drawRunes(0);+ drawLetters();+ drawDragon(0, em.x, em.y);+ ctx.restore();+ }+// Initresize();layoutAllText();buildTunnel();rebuildDragon();initialized = true;- document.fonts.ready.then(() => layoutAllText());- animId = requestAnimationFrame(frame);+ document.fonts.ready.then(() => { layoutAllText(); if (!animId) renderStatic(); });+ renderStatic();+ // maybeStart is a no-op until the section is in view (and the tab visible),+ // and under reduced-motion the static frame above is all we ever paint.+ maybeStart();})();diff --git a/public/features.json b/public/features.jsonindex 3e98c80cc..1e69e6131 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-16T23:14:50.511Z",+ "generated_at": "2026-06-16T23:23:21.972Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/public/pricing.css b/public/pricing.cssindex 74428fdc2..84764bf14 100644--- a/public/pricing.css+++ b/public/pricing.css@@ -40,11 +40,11 @@.pricing-hero h1 em {font-style: normal;- color: rgba(255, 255, 255, 0.45);+ color: rgba(255, 255, 255, 0.6);}.pricing-hero .lead {- color: rgba(255, 255, 255, 0.45);+ color: rgba(255, 255, 255, 0.6);font-size: 17px;max-width: 58ch;margin: 0 auto 44px;@@ -176,7 +176,7 @@font-size: 11px;letter-spacing: 0.18em;text-transform: uppercase;- color: rgba(255, 255, 255, 0.4);+ color: rgba(255, 255, 255, 0.6);margin-bottom: 14px;font-weight: 600;}@@ -194,13 +194,13 @@.pricing-amount sub {font-size: 16px;font-weight: 400;- color: rgba(255, 255, 255, 0.35);+ color: rgba(255, 255, 255, 0.6);letter-spacing: 0;}.pricing-cycle-info {font-size: 13px;- color: rgba(255, 255, 255, 0.35);+ color: rgba(255, 255, 255, 0.6);margin-bottom: 32px;min-height: 20px;}@@ -328,7 +328,7 @@.comparison-table thead th:first-child {text-align: left;- color: rgba(255, 255, 255, 0.3);+ color: rgba(255, 255, 255, 0.6);font-weight: 500;text-transform: none;letter-spacing: 0;@@ -363,7 +363,7 @@font-weight: 600;letter-spacing: 0.14em;text-transform: uppercase;- color: rgba(255, 255, 255, 0.3);+ color: rgba(255, 255, 255, 0.6);border-bottom: 1px solid rgba(255, 255, 255, 0.08);}@@ -463,7 +463,7 @@justify-content: center;border-radius: 50%;background: rgba(255, 255, 255, 0.06);- color: rgba(255, 255, 255, 0.4);+ color: rgba(255, 255, 255, 0.6);font-size: 16px;font-weight: 400;transition: background 0.15s, transform 0.2s;@@ -476,7 +476,7 @@}.pricing-faq details p {- color: rgba(255, 255, 255, 0.45);+ color: rgba(255, 255, 255, 0.6);margin: 14px 0 0;line-height: 1.65;font-size: 14.5px;@@ -510,7 +510,7 @@}.pricing-bottom-cta .cta-card p {- color: rgba(255, 255, 255, 0.4);+ color: rgba(255, 255, 255, 0.6);font-size: 16px;margin: 0 0 32px;}@@ -572,7 +572,7 @@.upgrade-banner-desc {font-size: 12px;- color: rgba(255, 255, 255, 0.4);+ color: rgba(255, 255, 255, 0.6);line-height: 1.4;}@@ -608,7 +608,7 @@font-size: 11px;letter-spacing: 0.16em;text-transform: uppercase;- color: rgba(255, 255, 255, 0.35);+ color: rgba(255, 255, 255, 0.6);margin-bottom: 14px;text-align: center;}@@ -624,7 +624,7 @@}.pricing-embed-section .section-lead {- color: rgba(255, 255, 255, 0.4);+ color: rgba(255, 255, 255, 0.6);font-size: 16px;text-align: center;max-width: 52ch;@@ -664,7 +664,7 @@font-size: 10px;letter-spacing: 0.16em;text-transform: uppercase;- color: rgba(255, 255, 255, 0.4);+ color: rgba(255, 255, 255, 0.6);margin-bottom: 10px;font-weight: 600;}@@ -682,12 +682,12 @@.pricing-embed-card .embed-price sub {font-size: 14px;font-weight: 400;- color: rgba(255, 255, 255, 0.35);+ color: rgba(255, 255, 255, 0.6);}.pricing-embed-card .embed-cycle {font-size: 12px;- color: rgba(255, 255, 255, 0.3);+ color: rgba(255, 255, 255, 0.6);margin-bottom: 20px;}@@ -712,7 +712,7 @@.pricing-embed-card .embed-feats li::before {content: '✓';- color: rgba(255, 255, 255, 0.3);+ color: rgba(255, 255, 255, 0.6);font-weight: 700;font-size: 11px;flex-shrink: 0;diff --git a/public/sitemap/index.html b/public/sitemap/index.htmlindex 41689933e..81eec51d8 100644--- a/public/sitemap/index.html+++ b/public/sitemap/index.html@@ -56,20 +56,6 @@.sm-brand img { width: 24px; height: 24px; border-radius: 5px; }.sm-brand:hover { text-decoration: none; }</style>-- <meta property="og:type" content="website">- <meta property="og:site_name" content="three.ws">- <meta property="og:title" content="Sitemap · three.ws">- <meta property="og:description" content="Human-readable index of every page on three.ws.">- <meta property="og:url" content="https://three.ws/sitemap">- <meta property="og:image" content="https://three.ws/og-image.png">- <meta property="og:image:width" content="1200">- <meta property="og:image:height" content="630">- <meta name="twitter:card" content="summary_large_image">- <meta name="twitter:title" content="Sitemap · three.ws">- <meta name="twitter:description" content="Human-readable index of every page on three.ws.">- <meta name="twitter:image" content="https://three.ws/og-image.png">- <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"Sitemap","description":"Human-readable index of every page on three.ws.","url":"https://three.ws/sitemap","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script></head><body><header class="sm-topbar">diff --git a/scripts/orphan-audit.mjs b/scripts/orphan-audit.mjsdeleted file mode 100644index a9afc34e8..000000000--- a/scripts/orphan-audit.mjs+++ /dev/null@@ -1,161 +0,0 @@-#!/usr/bin/env node-// Orphan & duplicate page audit (task A07).-//-// Cross-references every HTML file under pages/ and public/ against the Vite-// build inputs (vite.config.js) and the Vercel route table (vercel.json) to-// classify each file and flag broken routes.-//-// Build model (see vite.config.js):-// pages/<path>.html (a Rollup input) -> dist/pages/<path>.html -> flattened to dist/<path>.html-// pages/dashboard-next/*.html -> auto-discovered inputs (dn-<name>)-// public/** -> copied verbatim to dist/**-// A Vercel route `dest: /X.html` resolves only if dist/X.html exists, i.e. X is-// produced by a flattened pages input OR shipped as public/X.html.-//-// Usage: node scripts/orphan-audit.mjs (human summary)-// node scripts/orphan-audit.mjs --json (machine output)-// node scripts/orphan-audit.mjs --check (exit 1 if broken routes exist)--import { readFileSync, readdirSync, existsSync, statSync } from 'node:fs';-import { resolve, relative, dirname } from 'node:path';-import { fileURLToPath } from 'node:url';--const __dirname = dirname(fileURLToPath(import.meta.url));-const ROOT = resolve(__dirname, '..');-const r = (...p) => resolve(ROOT, ...p);--function walkHtml(dir) {- const out = [];- if (!existsSync(dir)) return out;- for (const name of readdirSync(dir)) {- const full = resolve(dir, name);- const st = statSync(full);- if (st.isDirectory()) {- if (['node_modules', '.git', 'dist'].includes(name)) continue;- out.push(...walkHtml(full));- } else if (name.endsWith('.html')) {- out.push(full);- }- }- return out;-}--// --- 1. Enumerate every HTML file ----------------------------------------const pagesFiles = walkHtml(r('pages')).map((f) => relative(ROOT, f));-const publicFiles = walkHtml(r('public')).map((f) => relative(ROOT, f));-const rootFiles = readdirSync(ROOT)- .filter((f) => f.endsWith('.html'))- .map((f) => f);--// --- 2. Parse Vite build inputs ------------------------------------------const viteSrc = readFileSync(r('vite.config.js'), 'utf8');-// `resolve(__dirname, 'pages/<x>.html')` only ever appears in the rollup input-// map, so scanning the whole file is safe (the flatten/promote plugins use-// dist/ paths, never pages/*.html).-const inputPagePaths = new Set();-for (const m of viteSrc.matchAll(/resolve\(__dirname,\s*'(pages\/[^']+\.html)'\)/g)) {- inputPagePaths.add(m[1]);-}-// Auto-discovered dashboard-next inputs.-for (const f of pagesFiles) {- if (f.startsWith('pages/dashboard-next/') && f.endsWith('.html')) inputPagePaths.add(f);-}--// Flattened dist name for a pages input: drop the leading "pages/".-const flatten = (p) => p.replace(/^pages\//, '');-const builtDist = new Set([...inputPagePaths].map(flatten)); // e.g. "features/ar.html"--// Public files ship verbatim: dist path = path relative to public/.-const publicDist = new Set(publicFiles.map((f) => f.replace(/^public\//, '')));--// Build-time copied trees (vite.config closeBundle cpSync): docs/ -> dist/docs,-// blog/ -> dist/blog. These never live under pages/ or public/ but DO ship.-const copiedDist = new Set();-for (const top of ['docs', 'blog']) {- for (const f of walkHtml(r(top))) copiedDist.add(`${top}/${relative(r(top), f)}`);-}--// Final set of HTML files that will exist in dist (keyed by dist-root-relative path).-const distHtml = new Set([...builtDist, ...publicDist, ...copiedDist]);-// Directory prefixes that have at least one backing dist file — used to validate-// parameterized ($1) route dests like /events/$1.html or /blog/$1.html.-const distDirs = new Set();-for (const f of distHtml) {- const parts = f.split('/');- for (let i = 1; i < parts.length; i++) distDirs.add(parts.slice(0, i).join('/'));-}--// --- 3. Parse Vercel routes ----------------------------------------------const vercel = JSON.parse(readFileSync(r('vercel.json'), 'utf8'));-const routes = vercel.routes || [];-const brokenRoutes = []; // literal dest .html with no backing dist file-const dynamicRoutes = []; // parameterized ($n) dests, validated by directory-const htmlDestTargets = new Set(); // literal dist paths referenced by a route dest--for (const route of routes) {- const dest = route.dest;- if (!dest || typeof dest !== 'string') continue;- // Only care about html destinations; strip query + leading slash.- const destPath = dest.split('?')[0].replace(/^\//, '');- if (!destPath.endsWith('.html')) continue;-- if (destPath.includes('$')) {- // Parameterized dest (e.g. events/$1.html). Can't resolve the exact file,- // so validate that the directory prefix ships at least one html file.- const prefix = destPath.slice(0, destPath.indexOf('$')).replace(/\/$/, '');- const dir = prefix.includes('/') ? prefix.slice(0, prefix.lastIndexOf('/')) : prefix;- const ok = dir === '' || distDirs.has(dir) || distHtml.has(`${dir}.html`);- dynamicRoutes.push({ src: route.src, dest, backed: ok });- if (!ok) brokenRoutes.push({ src: route.src, dest, note: 'parameterized: no backing dir' });- continue;- }- htmlDestTargets.add(destPath);- if (!distHtml.has(destPath)) {- brokenRoutes.push({ src: route.src, dest });- }-}--// --- 4. Classify pages/ files --------------------------------------------// A pages file is "built" if it's a Vite input; otherwise it never ships.-const orphanPages = pagesFiles.filter((f) => !inputPagePaths.has(f));-const builtPages = pagesFiles.filter((f) => inputPagePaths.has(f));--// --- 5. Routability of dist files ----------------------------------------// cleanUrls: a dist file at <path>.html is reachable at /<path> and /<path>.html-// even without an explicit route, as long as it's not shadowed. We treat any-// dist html as reachable-by-path; explicit route presence is informational.-const builtPagesUnreferenced = [...builtDist].filter((d) => !htmlDestTargets.has(d));--const result = {- counts: {- pagesFiles: pagesFiles.length,- publicFiles: publicFiles.length,- rootFiles: rootFiles.length,- viteInputs: inputPagePaths.size,- distHtml: distHtml.size,- routeHtmlDests: htmlDestTargets.size,- dynamicRoutes: dynamicRoutes.length,- },- brokenRoutes,- orphanPages, // pages/*.html NOT wired as a build input -> dead in prod- rootFiles, // root *.html — should not exist per repo hygiene- builtPagesUnreferenced, // built but no explicit vercel route (served via cleanUrls)-};--if (process.argv.includes('--json')) {- console.log(JSON.stringify(result, null, 2));-} else {- console.log('=== Orphan / duplicate page audit ===\n');- console.log('Counts:', JSON.stringify(result.counts, null, 2));- console.log(`\nBROKEN ROUTES (dest .html with no backing dist file): ${brokenRoutes.length}`);- for (const b of brokenRoutes) console.log(` ${b.src} -> ${b.dest}`);- console.log(`\nORPHAN pages/ files (not a build input, dead in prod): ${orphanPages.length}`);- for (const f of orphanPages) console.log(` ${f}`);- console.log(`\nROOT *.html (violate repo hygiene): ${rootFiles.length}`);- for (const f of rootFiles) console.log(` ${f}`);-}--if (process.argv.includes('--check') && brokenRoutes.length) {- console.error(`\n✗ ${brokenRoutes.length} broken route(s).`);- process.exit(1);-}diff --git a/src/club.js b/src/club.jsindex 2f1f8d626..b9bb07f45 100644--- a/src/club.js+++ b/src/club.js@@ -45,7 +45,7 @@ import {SMAAEffect,ToneMappingMode,} from 'postprocessing';-import { RGBELoader } from 'three/addons/loaders/RGBELoader.js';+import { HDRLoader } from 'three/addons/loaders/HDRLoader.js';import { clone as cloneSkinnedScene } from 'three/addons/utils/SkeletonUtils.js';import { gltfLoader } from './loaders/gltf.js';@@ -1080,7 +1080,7 @@ async function bootstrap() {setStatus('Loading club…');const loader = gltfLoader(renderer);- const rgbe = new RGBELoader();+ const rgbe = new HDRLoader();// Load everything in parallel — the venue + HDRI are the heaviest// payloads but the avatar + animation manifest + pole/stage props candiff --git a/tasks/site-overhaul/A-health/ORPHAN-REPORT.md b/tasks/site-overhaul/A-health/ORPHAN-REPORT.mdindex a7d331c09..533cb481f 100644--- a/tasks/site-overhaul/A-health/ORPHAN-REPORT.md+++ b/tasks/site-overhaul/A-health/ORPHAN-REPORT.md@@ -1,115 +1,173 @@# 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).+**Re-sweep:** 2026-06-16 · **Track:** Health · **Status:** Complete+**Verifier:** [`verify-routes.mjs`](verify-routes.mjs) (run from repo root)++Inventory of every `pages/**.html`, `public/**.html`, and root `*.html`,+cross-referenced against the production route table (`vercel.json`) and the+build/dev route map (`vite.config.js` — Rollup `input` + dev clean-URL+middleware). Each file is classified **live / orphan / duplicate / partial**, and+every orphan was routed, redirected, or deleted. No route points at a missing+file.++> An earlier sweep (2026-06-05) resolved a prior batch — `avatar-edit`,+> `create/video`, `extension-{privacy,terms}`, `embed-walk` (wired) and+> `deal`, `pump-3d-agent`, `pumpfun-{search,trending}` (deleted). All of those+> are now live/gone and verified. This re-sweep covers orphans that have+> accumulated since.++## How reachability is determined++```+pages/<path>.html ─(Rollup input)→ dist/pages/<path>.html ─(flatten-pages-dir)→ dist/<path>.html+public/** ─(publicDir copy)────────────────────────────────────────────→ dist/**+docs/ , blog/ ─(closeBundle cpSync)─────────────────────────────────────────→ dist/docs , dist/blog+```++- `public/**` ships verbatim, so every `public/x.html` is reachable at `/x.html`;+ a clean URL (`/x`) needs a `vercel.json` route.+- **`pages/*.html` ships only if it is a Rollup `input`** in `vite.config.js`. A+ `pages/*.html` that is **not** an input is never built — any route pointing at+ it 404s in production. The dev server's `/<slug>` → `pages/<slug>.html`+ fallback masks this locally, so the Rollup `input` map is the source of truth.+- Two route definitions must stay in sync: `vercel.json` `routes` (prod) and the+ `vite.config.js` dev clean-URL middleware. Both were updated.++## Headline numbers (post-sweep)++| Metric | Count |+|---|---|+| `pages/*.html` files | 151 — **100% are Rollup inputs** |+| `public/**/*.html` files | 255 |+| Root `*.html` files | 3 (untracked, never ship — see below) |+| Vercel literal `.html` route dests | 202 — **0 broken** |+| Vercel parameterized (`$1`) dests | 7 — all directory-backed |+| **Broken routes (dest → missing file)** | **0** |+| **Orphan `pages/` files (not built)** | **0** |++## Findings & actions — `pages/*.html`++### Orphans wired live — had a route + links, but were never built++These four had a Vercel route **and** inbound links, yet were absent from the+Rollup input map → the route 404'd in production. Added as build inputs in+`vite.config.js` (+ matching dev clean-URL aliases):++| Page | Route | Notes |+|---|---|---|+| `pages/activity.html` (Agent Activity · Oracle) | `/activity` | 14 inbound links; unbuilt |+| `pages/trending.html` (Trending) | `/trending` | 13 inbound links (nav, home); unbuilt |+| `pages/create-next.html` ("Your avatar is ready") | `/create/next` | wired as a create milestone; unbuilt |+| `pages/mint-success.html` ("Agent deployed") | `/mint-success` | post-deploy success page; unbuilt |++### Orphans wired live — linked, but had no route at all++Linked from nav / forge UI with neither a build input nor a route → the links+404'd. Added build input **and** route (`vercel.json` + dev alias):++| Page | New route | Linked from |+|---|---|---|+| `pages/coin-intel.html` (Coin Intelligence) | `/coin-intel` | nav-data, sitemap, `src/radar.js` |+| `pages/compose.html` (Scene Composer) | `/compose` | forge.html, `src/app.js`, `src/forge.js`, sitemap |++### Built pages missing a clean-URL prod route (dev/prod mismatch)++These ship as `dist/X.html` (reachable at `/X.html`) but their clean URL `/X`+was wired only in the dev middleware — linked by clean URL from nav/sitemap, so+they 404'd in prod. Added the missing prod routes:++| Page | New route | Linked from |+|---|---|---|+| `pages/radar.html` | `/radar` | nav, home, launches, sitemap |+| `pages/smart-money.html` | `/smart-money` | nav, sitemap |++### Deleted (dead)++| File | Reason |+|---|---|+| `pages/forge-v2.html` | "Forge v2 preview" — **0** inbound references anywhere; superseded by the canonical `pages/forge.html` (`/forge`). |+| `pages/strategy-lab.html` | Dead **duplicate**. The live, routed `/strategy-lab` is served by `public/strategy-lab.html` (registered in the dev middleware). The `pages/` copy was never a build input and differed — it shipped nothing. |++### Partial — kept intentionally++| File | Reason |+|---|---|+| `pages/gallery-picker.html` | Avatar gallery-picker component embedded by other surfaces (`public/demos/*`, worlds lobby). Build input so its scripts bundle; reachable at `/gallery-picker.html`. Not a nav page — intentional partial. |++## Findings & actions — `public/**.html`++`public/**` files all ship verbatim and are reachable at `/<path>.html` (the+final `vercel.json` catch route `"/(.*)" → "/$1"` serves them), so none are+"404 orphans." Categories:++- **Live (routed):** `login`, `register`, `studio/`, `pay/`, `discover/`,+ `gallery/`, `agents/`, `reputation/`, `validation/`, `demos/**`, `demo/**`,+ `news/**`, `sitemap/`, `strategy-lab`, etc. — all have routes / inputs.+- **Partials (not standalone routes):** `public/nav.html`, `public/footer.html`+ fragments injected via `#nav-container` / footer loader; `public/demos/404.html`+ is the demos lab's designed not-found page (also embedded as the index empty+ state, documented in the `docs/` demo-routes map). Left as-is.+- **Static-only demo/test surfaces:** reachable at `/<name>.html` (satisfy the+ no-404 bar) but not surfaced in nav. Flagged for a future curation pass rather+ than deleted here — several are referenced by docs.++### Root `*.html`++`demo5.html`, `demo6.html`, `example.html` exist in the repo root but are+**untracked** (not in git) and are **not** built or copied — Vite only processes+`pages/` and `public/`, so they never ship. Left as local scratch (deleting+untracked files outside scope); flagged so they are not mistaken for live pages.+`.gitignore` or deletion is recommended if they ever appear staged.++## Duplicate dashboards — status & hand-off to E06++The brief referenced `pages/dashboard/*`, `pages/dashboard-next/*`, and+`public/dashboard-classic/*`. Current ground truth:++- `pages/dashboard/` — **does not exist** (already removed).+- `public/dashboard-classic/` — **does not exist** (already removed). All+ `/dashboard-classic/*` URLs **301-redirect** into `/dashboard/*` (18 rules).+- `pages/dashboard-next/` — **canonical** built dashboard (24 auto-discovered+ inputs). `/dashboard/` and `/dashboard/<x>` serve / rewrite to+ `dist/dashboard-next/<x>.html`.+- `public/dashboard/` — **legacy static tree** (18 files). Every section URL+ either 301-redirects to its `dashboard-next` equivalent+ (`/dashboard/wallets → /dashboard/account`, `/dashboard/strategy → /dashboard/library`, …)+ or is caught by `/dashboard/([^./]+) → /dashboard-next/$1.html`. The static+ files are effectively shadowed by redirects.++**No dashboard route is broken** — the consolidation is already expressed as a+redirect layer. Physically deleting the shadowed `public/dashboard/*` files is+**owned by E06** and intentionally left untouched: that tree is under active+concurrent development (recent commits touch both `public/dashboard/` and+`pages/dashboard-next/`), and removing it mid-flight risks breaking redirect+fallbacks. Flagged for E06 to finish.## 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) ✓+$ node tasks/site-overhaul/A-health/verify-routes.mjs+(1) vercel routes whose .html dest has no build target: (none) ✓+(2) pages/*.html not registered as a Vite input: (none) ✓```-Live dev-server spot-checks (`npm run dev`, port 3000):+The verifier now (a) scans the whole `vite.config.js` for inputs (robust against+the input block's whitespace) and (b) validates parameterized (`$1`) dests by+checking the directory ships ≥1 file, instead of skipping them blindly.-| 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) |+An isolated Vite build of the six newly-wired pages (`activity`, `coin-intel`,+`trending`, `compose`, `create-next`, `mint-success`) completes with **exit 0** —+all module imports (`/src/shared/agent-3d.js`, `/src/erc8004/chain-meta.js`,+`/src/scene-compose.js`) resolve cleanly. (The full 437-page `npm run build` is+memory-bound in this sandbox and gets OOM-killed; route integrity is verified by+the script + isolated build, matching the prior sweep's approach.)## 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>+- `vite.config.js` — 6 new Rollup inputs (`activity`, `coin-intel`, `trending`,+ `compose`, `create-next`, `mint-success`) + dev clean-URL aliases for each.+- `vercel.json` — added routes `/radar`, `/smart-money`, `/coin-intel`,+ `/compose`.+- Deleted: `pages/forge-v2.html`, `pages/strategy-lab.html`.+- `tasks/site-overhaul/A-health/verify-routes.mjs` — hardened (whole-file input+ scan + parameterized-dest directory validation).diff --git a/tasks/site-overhaul/A-health/verify-routes.mjs b/tasks/site-overhaul/A-health/verify-routes.mjsindex efcb20046..e0ba1fe66 100644--- a/tasks/site-overhaul/A-health/verify-routes.mjs+++ b/tasks/site-overhaul/A-health/verify-routes.mjs@@ -17,14 +17,14 @@ 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) ---+// `resolve(__dirname, '<pages|public>/<x>.html')` only ever appears in the+// rollup input map (the flatten/promote plugins use dist/ paths), so scanning+// the whole file is robust against the input block's exact whitespace.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]);+while ((m = re.exec(cfg))) inputs.add(m[1]);// dashboard-next sub-pages are auto-discovered as inputs at build timeconst dnDir = resolve(ROOT, 'pages/dashboard-next');if (existsSync(dnDir))@@ -37,18 +37,35 @@ 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);+for (const top of ['docs', 'blog'])+ if (existsSync(resolve(ROOT, top)))+ for (const f of findHtml(top)) dist.add(`${top}/` + f.replace(new RegExp(`^${top}/`), ''));++// Directory prefixes that ship at least one html file — used to validate+// parameterized ($1) route dests (e.g. /events/$1.html, /blog/$1.html).+const distDirs = new Set();+for (const f of dist) {+ const parts = f.split('/');+ for (let i = 1; i < parts.length; i++) distDirs.add(parts.slice(0, i).join('/'));+}// --- 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];+ let d = r.dest.split('?')[0].replace(/^\//, '');if (!d.endsWith('.html')) continue;- if (/\$\d/.test(d)) continue; // dynamic $1 substitution — not a literal file- d = d.replace(/^\//, '');+ if (d.includes('$')) {+ // Parameterized dest: can't resolve the exact file, so require that the+ // directory prefix ships at least one html file (catches dests pointed at+ // a directory that doesn't exist at all).+ const prefix = d.slice(0, d.indexOf('$')).replace(/\/$/, '');+ const dir = prefix.includes('/') ? prefix.slice(0, prefix.lastIndexOf('/')) : prefix;+ if (dir !== '' && !distDirs.has(dir) && !dist.has(`${dir}.html`))+ deadRoutes.push(`${r.src} -> ${r.dest} (parameterized: no backing dir '${dir}')`);+ continue;+ }if (!dist.has(d)) deadRoutes.push(`${r.src} -> ${r.dest}`);}