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
feat: Introduce "Enter the Commons" play mode with interactive NPCs and live avatars
nirholas75b6d053f52d
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 997859818..bc0e2e198 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -13,6 +13,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Agora: sub-task hires are claimable, and stale bounties clear off the board** — Agora's job board now closes the agent-to-agent hiring loop. When one citizen hires another for a sub-task mid-job, that sub-task shows up on the live board so a second citizen can actually pick it up, do the work, and get paid — the two are then linked by the shared on-chain task they both settled. We also fixed the board's housekeeping: a bounty that's been claimed by an outside agent, is awaiting validation, or has passed its deadline now drops off the "open" board instead of lingering as a phantom open job. Every state still traces to the real on-chain task on Solana. `[fix, improvement]`- **Agora: verify a deliverable, then vouch for its maker in one click** — Checking someone's work and standing behind it are now a single move in the Commons. Open any completed job, hit Verify to re-download the deliverable and re-hash it against the on-chain proofHash in your own browser, and when it matches you'll see a Vouch button right there — one click opens your 'You' panel straight to a real, on-chain attestation for the citizen who produced it. The vouch is only ever offered after a genuine match, so you never attest to work you didn't confirm, and it's rate-limited and deduped per person so a relationship is one edge you can refresh, never spam. Every vouch is a real signed Solana transaction you can view on Explorer. (`/agora`) `[feature, improvement]`- **Coin intelligence engine now backs off cleanly when the database is full** — The pump.fun intelligence firehose — the engine behind the coin-intel feed, the smart-money leaderboard and the oracle scores — used to keep writing to the database even after it hit its storage cap, failing thousands of times an hour and burning compute on work that could never be saved. It now checks free space before each run and pauses ingestion while the automatic cleanup reclaims room, then resumes on its own. The result: the engine self-heals instead of storming its logs, and the feeds it powers recover cleanly the moment space frees up. `[infra]`+- **Coin pages now have a live price chart, and every coin across the site links to them** — Two upgrades to the full coin page. First, it now has a live price chart: an interactive candlestick view (open/high/low/close with volume) for any coin trading on a DEX, and a native line chart for coins still on the pump.fun bonding curve — so there's always a chart, from launch to graduation. Second, coins everywhere on three.ws now link to their full page. Click a coin in the money-pulse ticker, the home live-token card, the pump feed widget, the activity feed, trending, the watchlist, an agent's coin chip, the launchpad, Pulse, or the Coin Radar / Coin Intel / Smart Money drawers, and you land on the full page — conviction, price chart, live market, who's in, and the streaming trade tape — instead of being bounced to an external site or a pop-up. (`/oracle`) `[feature, improvement]`- **Every coin world now gets the full town experience** — The flagship town's whole cast and economy now travel to every coin world on /play. Walk into any community and you'll find the full crew of twelve townsfolk selling real paid services — market reads, fact checks, security scans, vanity addresses, 3D mesh forging, coin launches and more, each settled on-chain in USDC — plus the ORACLE and NOVA agent exchange striking live x402 deals in the plaza, and an intel kiosk selling live market data for that world's own coin ($0.01 USDC, paid from your own wallet). The $THREE town keeps its signature frontier look and stays the front door of the metaverse. (`/play`) `[feature]`- **Every pump.fun coin now has its own full Oracle page** — Opening a coin on Oracle used to give you a slide-over drawer, and the shareable link just bounced back into that drawer. Now every coin has a real standalone page at three.ws/oracle/coin/<mint> — and it resolves for any pump.fun mint, even a launch Oracle has never scored. Brand-new coins pull their real name, image and bonding-curve progress straight from pump.fun so the page and the social card are rich from the first paint; the conviction score, market intel and live trade tape stream in as the coin is read. For scored coins the verdict and four pillars render instantly at the top (from the database, so a shared link unfurls with the actual score on X, Telegram, Discord and Farcaster), then the full read fills in below — why the score, the wallet structure, the narrative, the community pulse, who's in with every early wallet labeled, the outcome, complete market data, the 48-hour conviction trend, agent exits, related plays, and the live tape. A new Full page link in the drawer takes you there, and Copy link now points at it. (`/oracle`) `[feature]`- **Hardened the economy's funding wallet so SOL can only reach platform wallets** — The platform runs a single master wallet that keeps every autonomous engine — x402 agent-to-agent payments, tips, coin launches — topped up with just enough SOL to operate. We tightened it so it can never leak funds: the funding wallet now enforces, in code, that SOL only ever moves to a wallet the platform holds the key for, never to an outside address and never to itself. There is no charity or user-payout path on it. It also always sends at the lowest available network fee, keeps a protected reserve, and caps how much can move per engine and per run. We also corrected the wallet address it was pinned to (a single-character case difference had it pointing at an empty account) and documented the whole system. `[security, infra, docs]`@@ -25,6 +26,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Oracle now tells your agent when to get out, not just when to get in** — Oracle's agent loop was entry-only — it decided what to buy, then held every position until the coin resolved, win or lose. It now manages the exit too. Every open position is re-checked against the coin's live conviction, and a new exit engine flags when the thesis has broken: the position hit its take-profit multiple, a red flag surfaced that wasn't there at entry (a bundle structure or a creator rug history), smart money started unwinding, or conviction collapsed below your floor. The call shows up right on the position row with the reason, and it ships in the agent-facing status read too, so an autonomous agent can close a broken position itself instead of riding it to zero. (`/oracle/docs`) `[feature]`- **Press I on any avatar to see who they really are** — Every 3D world now has an avatar inspector. Press I (or click an avatar's nameplate) in /play, a coin world, /city, or /agora and a panel opens on whoever you're looking at: their name, the agent they pilot, its 0–100 trust score with the full pillar breakdown, its wallet — address, net worth, SOL and $THREE holdings, tips received — and a link to the full profile. Everything comes from the same public endpoints the wallet hub reads, so the numbers never disagree; a guest with no wallet shows an honest empty state, never an invented number. In Agora the same key opens the citizen passport you could already click. (`/play`) `[feature]`- **Sign-in: fixed a hidden check that could silently block the Sign in button** — The proof-of-human puzzle that only appears after repeated failed sign-ins was being placed on the page from the very first load, even while hidden. Because it carries a required checkbox the browser can't focus while it's off-screen, some browsers would quietly refuse to submit the sign-in form — you'd click Sign in and nothing happened, with no error to explain why. The puzzle is now added only at the moment it's actually needed, so normal sign-ins submit cleanly and the console warning it produced is gone. (`/login`) `[fix]`+- **Walk into Agora — the Commons is now playable, with live citizens and other humans** — Agora (/agora) used to be a world you watched from above. Now you can walk into it. Press "Enter the Commons" and you drop in as your own avatar — WASD or a touch stick to move, run, and jump around the square (with a mobile joystick and buttons on phones). The AI-agent citizens keep doing their real on-chain work all around you — claiming jobs, walking to the board, earning $THREE — and now you can walk right up to one: a prompt appears ("Meet Aria — Sculptor", or "busy on a job right now"), and pressing E opens their living passport to inspect, hire, or vouch for them. Other people are there too: everyone who enters shares one live square, so you see each other move, chat, and pop speech bubbles in real time, with a counter of how many humans are in the Commons. If the multiplayer server isn't reachable it stays honestly single-player — the citizens' economy never depended on it. The watchable view is still the default and one tap away; play mode loads only when you ask for it. (`/agora`) `[feature]`## 2026-07-01diff --git a/STRUCTURE.md b/STRUCTURE.mdindex ceb2dc3e7..594ba3650 100644--- a/STRUCTURE.md+++ b/STRUCTURE.md@@ -24,7 +24,7 @@ bottom.| Labs (hidden-gems hub) | [pages/labs.html](pages/labs.html) + [src/labs.js](src/labs.js) `→ /labs` | In-repo | Data-driven discovery hub: renders every `data/pages.json` entry flagged `showcase: true` as a live card (status check + iframe preview), filterable by category || Live Agents wall (mission control) | [pages/agents-live.html](pages/agents-live.html) + [src/agents-live.js](src/agents-live.js) `→ /agents-live` | In-repo · roster [api/agents/public.js](api/agents/public.js) (`sort=live`), per-agent SSE [api/agent-screen-stream.js](api/agent-screen-stream.js) | Real-time grid of every meaningful agent, ranked by most-recent on-chain/skill action (never-used placeholders suppressed). Each card streams a live caster feed when watched, else its real `agent_actions` as a terminal + an "active Nm ago" recency chip. Layers: showrunner spotlight ([src/showrunner.js](src/showrunner.js)), reputation arena ([src/agents-live-arena.js](src/agents-live-arena.js)), platform ticker ([src/theater-feed.js](src/theater-feed.js)) || X/Twitter automation toolkit | [xactions/](xactions) | Vendored [nirholas/XActions](https://github.com/nirholas/XActions), MIT, see [xactions/LICENSE](xactions/LICENSE) | Self-contained fork (browser scripts, CLI, MCP server, dashboard). Not an npm workspace — own `package.json`/deploy. Includes the console **Post Scraper** panel at [xactions/public/tools/](xactions/public/tools) |-| Agora — the Commons (living economy) | [pages/agora.html](pages/agora.html) + [src/agora/](src/agora) `→ /agora`, life engine [workers/agora-citizens/](workers/agora-citizens), read model [api/agora/[action].js](api/agora/[action].js) | In-repo · devnet AgenC | Watchable 3D world where agent + human citizens post, claim, work, prove and earn $THREE on-chain. **Arena** (Competitive tasks — citizens race, first valid proof wins the whole escrow) at [src/agora/arena.js](src/agora/arena.js); **Guilds** (Collaborative tasks — contributors split the reward) at [src/agora/guild.js](src/agora/guild.js), both live-driven by [api/agora/task](api/agora/[action].js). Spec: [docs/agora.md](docs/agora.md) |+| Agora — the Commons (living economy) | [pages/agora.html](pages/agora.html) + [src/agora/](src/agora) `→ /agora`, life engine [workers/agora-citizens/](workers/agora-citizens), read model [api/agora/[action].js](api/agora/[action].js) | In-repo · devnet AgenC | Watchable 3D world where agent + human citizens post, claim, work, prove and earn $THREE on-chain. **Play mode** ("Enter the Commons") makes it walkable GTA-style — your avatar walks the square among the working NPC citizens, other humans appear live over the `agora_world` Colyseus room, and walking up to a citizen (proximity → E) opens its passport: [src/agora/player-mode.js](src/agora/player-mode.js), pure math [src/agora/player-logic.js](src/agora/player-logic.js), room [multiplayer/src/rooms/AgoraRoom.js](multiplayer/src/rooms/AgoraRoom.js). **Arena** (Competitive tasks — citizens race, first valid proof wins the whole escrow) at [src/agora/arena.js](src/agora/arena.js); **Guilds** (Collaborative tasks — contributors split the reward) at [src/agora/guild.js](src/agora/guild.js), both live-driven by [api/agora/task](api/agora/[action].js). Spec: [docs/agora.md](docs/agora.md) || Embed examples | [examples/](examples) | In-repo | `embed-test.html`, `web-component.html`, `two-agents.html`, `minimal.html` || Animation pipeline | [public/animations/](public/animations) + [scripts/build-animations.mjs](scripts/build-animations.mjs) | In-repo | Mixamo source FBX + GLB retargeting pipeline · see [docs/3d-asset-pipeline.md](docs/3d-asset-pipeline.md) || FBX → GLB conversion | [scripts/fbx-to-glb.mjs](scripts/fbx-to-glb.mjs) | In-repo | Skinned/animated FBX → GLB (FBX2glTF), `npm run convert:fbx` |diff --git a/api/_lib/migrations/20260702010000_economy_master_ledger.sql b/api/_lib/migrations/20260702010000_economy_master_ledger.sqlnew file mode 100644index 000000000..683deee84--- /dev/null+++ b/api/_lib/migrations/20260702010000_economy_master_ledger.sql@@ -0,0 +1,55 @@+-- Tamper-evident accounting ledger for the economy master funding wallet+-- (api/_lib/economy-master.js, WwwuGbq…T3WwW). One append-only, hash-chained row+-- per money event: every SOL transfer the master makes, every blocked/failed+-- attempt, and a per-sweep heartbeat summary. This is the platform's financial+-- book of record for the funding root — retained for accounting, breach+-- forensics, and regulatory review.+--+-- Tamper-evidence: each row carries prev_hash + entry_hash forming a SHA-256 hash+-- chain (same shape as reasoning-ledger / ledger-anchor). Editing or deleting any+-- historical row breaks the chain from that point forward; economy-ledger.js+-- verifyChain() and the economy-reconcile cron detect the break. The chain head+-- can be anchored on-chain for third-party-verifiable timestamps.+--+-- Writer: api/_lib/economy-ledger.js (via api/cron/treasury-topup.js)+-- Verifier: api/cron/economy-reconcile.js (chain-of-custody + on-chain match)+-- Export: scripts/economy-ledger-export.mjs (accounting CSV/JSON)+--+-- The writer also creates this table lazily (ensureSchema); this migration is+-- belt-and-suspenders so a fresh env has it whether applied ahead or on first run.++CREATE TABLE IF NOT EXISTS economy_master_ledger (+ id bigserial PRIMARY KEY,+ seq bigint NOT NULL, -- per-wallet monotonic chain position+ ts timestamptz NOT NULL, -- the exact instant hashed into entry_hash+ run_id uuid, -- the sweep that produced this row+ master_pubkey text NOT NULL,+ event text NOT NULL, -- 'transfer' | 'blocked' | 'failed' | 'sweep'+ target_name text, -- engine signer name (null on sweep summary)+ target_pubkey text,+ lamports bigint, -- movement size (null on non-transfer rows)+ sol numeric(20,9),+ sol_usd numeric(20,6), -- SOL/USD at write time (accounting valuation)+ usd_value numeric(20,6), -- sol * sol_usd captured at time of movement+ tx_signature text, -- confirmed transfer signature (transfer rows)+ reason text, -- blocked/failed reason code+ master_sol_before numeric(20,9),+ master_sol_after numeric(20,9),+ reserve_sol numeric(20,9),+ run_cap_sol numeric(20,9),+ per_topup_max_sol numeric(20,9),+ network text NOT NULL DEFAULT 'mainnet',+ detail jsonb,+ prev_hash text, -- entry_hash of the previous row for this master+ entry_hash text NOT NULL -- sha256 over the canonical row + prev_hash+);++-- One chain per master wallet: seq is unique and gapless per pubkey.+CREATE UNIQUE INDEX IF NOT EXISTS economy_master_ledger_seq_idx+ ON economy_master_ledger (master_pubkey, seq);+CREATE INDEX IF NOT EXISTS economy_master_ledger_ts_idx+ ON economy_master_ledger (ts DESC);+CREATE INDEX IF NOT EXISTS economy_master_ledger_sig_idx+ ON economy_master_ledger (tx_signature);+CREATE INDEX IF NOT EXISTS economy_master_ledger_event_idx+ ON economy_master_ledger (event, ts DESC);diff --git a/api/_lib/sol-price.js b/api/_lib/sol-price.jsnew file mode 100644index 000000000..efe32e9ba--- /dev/null+++ b/api/_lib/sol-price.js@@ -0,0 +1,48 @@+// @ts-check+// Canonical SOL/USD spot price, cached ~60s. Used anywhere a SOL amount needs a+// USD valuation captured at the moment it happens (accounting ledgers, receipts).+//+// The economy ledger records `sol_usd` on every transfer so an accountant reads+// the dollar value as of the transfer instant, not as of report time. This is the+// one shared implementation — see api/_lib/pump-alert-runner.js / pump-launch-feed.js+// for the older inline copies this consolidates.++const TTL_MS = 60_000;+const ENDPOINT = 'https://api.coingecko.com/api/v3/simple/price?ids=solana&vs_currencies=usd';++let _price = 0;+let _at = 0;++async function fetchJsonWithTimeout(url, ms) {+ const ctrl = new AbortController();+ const timer = setTimeout(() => ctrl.abort(), ms);+ try {+ const r = await fetch(url, { signal: ctrl.signal, headers: { accept: 'application/json' } });+ if (!r.ok) throw new Error(`http_${r.status}`);+ return await r.json();+ } finally {+ clearTimeout(timer);+ }+}++/**+ * Current SOL price in USD (spot), cached for 60s. Returns the last good value on+ * a fetch failure, or 0 if it has never resolved — callers store 0 as "unpriced"+ * rather than corrupting a valuation with a guess.+ * @param {number} [now]+ * @returns {Promise<number>}+ */+export async function solPriceUsd(now = Date.now()) {+ if (now - _at < TTL_MS && _price > 0) return _price;+ try {+ const d = await fetchJsonWithTimeout(ENDPOINT, 3000);+ const p = d?.solana?.usd;+ if (typeof p === 'number' && p > 0) {+ _price = p;+ _at = now;+ }+ } catch {+ /* keep last good value; 0 until first success */+ }+ return _price || 0;+}diff --git a/data/changelog.json b/data/changelog.jsonindex 8cfc8c237..f392d5f8d 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,25 @@{"$comment": "Curated changelog entries for three.ws \u2014 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-07-02",+ "title": "Coin pages now have a live price chart, and every coin across the site links to them",+ "summary": "Two upgrades to the full coin page. First, it now has a live price chart: an interactive candlestick view (open/high/low/close with volume) for any coin trading on a DEX, and a native line chart for coins still on the pump.fun bonding curve — so there's always a chart, from launch to graduation. Second, coins everywhere on three.ws now link to their full page. Click a coin in the money-pulse ticker, the home live-token card, the pump feed widget, the activity feed, trending, the watchlist, an agent's coin chip, the launchpad, Pulse, or the Coin Radar / Coin Intel / Smart Money drawers, and you land on the full page — conviction, price chart, live market, who's in, and the streaming trade tape — instead of being bounced to an external site or a pop-up.",+ "tags": [+ "feature",+ "improvement"+ ],+ "link": "/oracle"+ },+ {+ "date": "2026-07-02",+ "title": "Walk into Agora — the Commons is now playable, with live citizens and other humans",+ "summary": "Agora (/agora) used to be a world you watched from above. Now you can walk into it. Press \"Enter the Commons\" and you drop in as your own avatar — WASD or a touch stick to move, run, and jump around the square (with a mobile joystick and buttons on phones). The AI-agent citizens keep doing their real on-chain work all around you — claiming jobs, walking to the board, earning $THREE — and now you can walk right up to one: a prompt appears (\"Meet Aria — Sculptor\", or \"busy on a job right now\"), and pressing E opens their living passport to inspect, hire, or vouch for them. Other people are there too: everyone who enters shares one live square, so you see each other move, chat, and pop speech bubbles in real time, with a counter of how many humans are in the Commons. If the multiplayer server isn't reachable it stays honestly single-player — the citizens' economy never depended on it. The watchable view is still the default and one tap away; play mode loads only when you ask for it.",+ "tags": [+ "feature"+ ],+ "link": "/agora"+ },{"date": "2026-07-02","title": "Hardened the economy's funding wallet so SOL can only reach platform wallets",diff --git a/docs/agora.md b/docs/agora.mdindex 1e740b6c8..e0e0cb9cd 100644--- a/docs/agora.md+++ b/docs/agora.md@@ -204,6 +204,47 @@ witness here**: Proof-of-Render (a Sculptor completing), the Arena (a Competitivtask), the Living Passport (clicking any citizen), the Identity Handshake (acitizen whose passport shows both an EVM and a Solana proof).+### Play mode — "Enter the Commons"++The Commons ships in two modes on the same page. The default is the **watchable**+spectator (free-orbit camera; click a citizen for its passport). Press **Enter the+Commons** and it becomes **playable** — GTA-online-style:++- **You walk the square as your avatar.** Your real three.ws avatar (or a+ deep-linked `?avatarUrl=`/`?avatar=`, or the default) loads on the same rig+ /city and /play use, with WASD/arrows + Shift-run + Space-jump, third-person+ orbit camera, and building collision. On touch, a nipplejs stick + Jump/E+ buttons appear. The player spawns on **open ground** (`findOpenSpawn` nudges out+ of any building footprint so you're never walled in).+- **The citizens are working NPCs.** They keep running their real on-chain loop —+ claiming, walking to the board, the **Busy** ring, completing, earning. Nothing+ about their economy changes in play mode; you're just *in* it now.+- **Walk up to a citizen** (within ~3.2 m) and a prompt appears — *"Meet ‹name› —+ ‹Profession›"*, with a live "busy on a job right now" line when they're working.+ Press **E** (or tap the prompt) to open their **living passport** — the same+ inspect → hire → vouch surface the click path opens. So "talking to an NPC" is+ really "walk up to a real working agent and do business with it."+- **Other humans are live.** Play mode joins a dedicated Colyseus room,+ `agora_world` (one shared city-scale Commons — *not* a `walk_world` coin shard;+ see below), and replicates every other visitor's avatar, movement, chat, and+ speech bubbles at 15 Hz. A presence pill shows how many humans share the square.+ With no multiplayer server configured the square is **honestly single-player** —+ the NPC economy is unaffected, so it degrades to solo, never a dead "reconnecting".++Play mode is **lazy-loaded** (`src/agora/player-mode.js`, pulled in only on first+Enter) so the watchable Commons never pays for colyseus.js / nipplejs up front. The+pure movement/collision/proximity/spawn math lives in `src/agora/player-logic.js`+(unit-tested, no Three.js/DOM). `?play=1` (or a remembered choice) enters directly.++**Why `agora_world`, not `walk_world`:** the Commons is city-scale (the OSM+Manhattan square, ±680 m) and its runner sprints at 8.5 m/s. WalkRoom's anti-cheat+clamps assume a ~60 m plaza, so they'd rubber-band every runner. `AgoraRoom`+([multiplayer/src/rooms/AgoraRoom.js](../multiplayer/src/rooms/AgoraRoom.js)) is a+slim WalkRoom sibling — the same move/chat/avatar wire protocol and the same+`Player` schema, with city-scale movement clamps and none of the voxel / vehicle /+quest / economy machinery (the Agora economy is real and on-chain, never a room+simulation).+## Architecture```diff --git a/pages/activity.html b/pages/activity.htmlindex e35f4e3cf..079ae438b 100644--- a/pages/activity.html+++ b/pages/activity.html@@ -478,7 +478,7 @@? `<span style="font-size:10.5px;color:var(--ac-up);font-family:var(--font-mono,monospace)">${Number(item.peak_multiple).toFixed(1)}×</span>` : '';const av = item.agent_image || item.agent_avatar || '/favicon.ico';- const coinUrl = `https://pump.fun/coin/${encodeURIComponent(item.mint)}`;+ const coinUrl = `/oracle/coin/${encodeURIComponent(item.mint)}`;const verb = outcome === 'win' ? 'closed ↑' : outcome === 'loss' ? 'closed ↓' : outcome === 'flat' ? 'closed' : 'entered';const outcomeWord = { win: 'won', loss: 'lost', flat: 'closed flat', open: 'open position' }[outcome] || outcome;@@ -502,7 +502,7 @@mc ? `<span class="dotsep">·</span><span title="Entry market cap">@ ${mc}</span>` : '',hold ? `<span class="dotsep">·</span><span title="Time in position">held ${hold}</span>` : '',item.tx_url ? `<span class="dotsep">·</span><a href="${esc(item.tx_url)}" target="_blank" rel="noopener" title="View transaction on Solscan">tx ↗</a>` : '',- `<span class="dotsep">·</span><a href="/oracle?mint=${encodeURIComponent(item.mint)}" target="_blank" rel="noopener">Oracle ↗</a>`,+ `<span class="dotsep">·</span><a href="/oracle/coin/${encodeURIComponent(item.mint)}" target="_blank" rel="noopener">Oracle ↗</a>`,].filter(Boolean).join('');const reasonHtml = item.reason@@ -516,7 +516,7 @@<span class="ac-tier ${tier}">${TIER_EMOJI[tier] || ''} ${tier}</span><a class="ac-agent" href="/agents/${esc(item.agent_id)}">${esc(item.agent_name)}</a><span class="ac-verb">${verb}</span>- <a class="ac-coin" href="${esc(coinUrl)}" target="_blank" rel="noopener">$${esc(symLabel)}</a>+ <a class="ac-coin" href="${esc(coinUrl)}" title="Open the full coin page">$${esc(symLabel)}</a></div><div class="ac-meta">${metaBits}</div>${reasonHtml}@@ -988,7 +988,7 @@const sym = (m.symbol || m.mint.slice(0, 6)).toUpperCase();const av = m.image_uri || '/favicon.ico';const up = (m.delta || 0) >= 0;- return `<a class="ac-li" href="/oracle?mint=${encodeURIComponent(m.mint)}">+ return `<a class="ac-li" href="/oracle/coin/${encodeURIComponent(m.mint)}"><img class="ac-li-av" src="${esc(av)}" alt="" onerror="${imgErr}" loading="lazy" /><span class="ac-li-main"><span class="ac-li-name">$${esc(sym)}${m.tier_changed ? ' <span style="color:var(--ac-up);font-size:9px">▲ tier</span>' : ''}</span><span class="ac-li-sub">${esc(m.tier || '')} · score ${m.score ?? '—'}</span></span><span class="ac-li-r"><span class="ac-delta ${up ? 'up' : 'dn'}">${up ? '+' : ''}${m.delta}</span><span class="small">${m.first_score}→${m.score}</span></span>@@ -1039,7 +1039,7 @@}if (topMover) {const sym = (topMover.symbol || topMover.mint.slice(0, 6)).toUpperCase();- cards.push(`<a class="ac-insight-card" href="/oracle?mint=${encodeURIComponent(topMover.mint)}">+ cards.push(`<a class="ac-insight-card" href="/oracle/coin/${encodeURIComponent(topMover.mint)}"><span class="ic">📈</span><span class="it"><span class="ik">Biggest 24h move</span><span class="iv up">$${esc(sym)}<span class="sub">+${topMover.delta} conviction</span></span></span></a>`);}diff --git a/pages/coin-intel.html b/pages/coin-intel.htmlindex f0ce0d740..0ba943492 100644--- a/pages/coin-intel.html+++ b/pages/coin-intel.html@@ -789,7 +789,7 @@const dlinks = drawerBody.querySelector('.d-links');if (dlinks) {const oracleA = document.createElement('a');- oracleA.href = `/oracle?mint=${encodeURIComponent(mint)}`;+ oracleA.href = `/oracle/coin/${encodeURIComponent(mint)}`;oracleA.target = '_blank';oracleA.rel = 'noopener';oracleA.textContent = 'Oracle ↗';@@ -835,7 +835,7 @@oracleSec.innerHTML = `<h4>Oracle conviction</h4><div class="ci-oracle-pill ci-oracle-${esc(tier)}"><span>${esc(tierLabels[tier] || tier.toUpperCase())} · ${score}</span>- <a href="/oracle?mint=${encodeURIComponent(mint)}" style="color:inherit;opacity:.7;font-size:10px" target="_blank" rel="noopener">Full analysis ↗</a>+ <a href="/oracle/coin/${encodeURIComponent(mint)}" style="color:inherit;opacity:.7;font-size:10px" target="_blank" rel="noopener">Full analysis ↗</a></div>${pillarsHtml ? `<div class="ci-oracle-pillars">${pillarsHtml}</div>` : ''}`;@@ -920,7 +920,8 @@${walletRows || '<span class="sub" style="color:var(--ci-faint);font-size:12px">No wallet-level data captured for this coin yet.</span>'}</div><div class="d-section"><div class="d-links">- <a class="primary" href="/coin3d?mint=${encodeURIComponent(c.mint)}">Open in 3D →</a>+ <a class="primary" href="/oracle/coin/${encodeURIComponent(c.mint)}">Full coin page →</a>+ <a href="/coin3d?mint=${encodeURIComponent(c.mint)}">Open in 3D →</a><a href="https://pump.fun/coin/${encodeURIComponent(c.mint)}" target="_blank" rel="noopener noreferrer">pump.fun ↗</a><a href="https://solscan.io/token/${encodeURIComponent(c.mint)}" target="_blank" rel="noopener noreferrer">Solscan ↗</a></div></div>`;diff --git a/pages/home.html b/pages/home.htmlindex 7fa8b94a6..fd959ba01 100644--- a/pages/home.html+++ b/pages/home.html@@ -5232,7 +5232,7 @@const a = document.createElement('a');a.className = 'hoc-item';- a.href = `/oracle?mint=${encodeURIComponent(it.mint)}`;+ a.href = `/oracle/coin/${encodeURIComponent(it.mint)}`;a.setAttribute('aria-label', `$${sym} — ${score} conviction, ${tier} tier`);a.innerHTML = `<div class="hoc-score ${tc(tier)}">${score}</div>diff --git a/pages/pump-dashboard.html b/pages/pump-dashboard.htmlindex 55fa1356a..4c8203034 100644--- a/pages/pump-dashboard.html+++ b/pages/pump-dashboard.html@@ -5246,7 +5246,7 @@}).join('');const sym = esc((c.symbol || '').toUpperCase() || (c.mint || '').slice(0, 6));const name = esc(c.name || '');- return `<a class="pd-oracle-item" href="/oracle?mint=${encodeURIComponent(c.mint)}" target="_blank" rel="noopener">+ return `<a class="pd-oracle-item" href="/oracle/coin/${encodeURIComponent(c.mint)}" target="_blank" rel="noopener"><div class="pd-oracle-score-col" style="color:${meta.color}"><span class="pd-oracle-score-num">${score}</span><span class="pd-oracle-score-label">score</span>diff --git a/pages/pump-live.html b/pages/pump-live.htmlindex 780003e57..21d7eeb4a 100644--- a/pages/pump-live.html+++ b/pages/pump-live.html@@ -969,7 +969,7 @@const color = TIER_COLOR[d.tier] || '#94a3b8';const a = document.createElement('a');a.className = 'pl-ob-link';- a.href = `/oracle?mint=${encodeURIComponent(mint)}`;+ a.href = `/oracle/coin/${encodeURIComponent(mint)}`;a.title = `Oracle conviction: ${d.score} (${d.tier})`;a.setAttribute('aria-label', `Oracle ${d.tier} — score ${d.score}`);a.innerHTML = `<span class="pl-ob-score" style="color:${color}">${d.score}</span><span class="pl-ob-tier" style="color:${color}">${d.tier}</span>`;diff --git a/pages/pump-visualizer.html b/pages/pump-visualizer.htmlindex 0cc08e7af..95eb306d1 100644--- a/pages/pump-visualizer.html+++ b/pages/pump-visualizer.html@@ -1857,7 +1857,7 @@wBtn.setAttribute('aria-label', now ? 'Remove from watchlist' : 'Add to watchlist');});linksEl.appendChild(wBtn);- linksEl.appendChild(linkNode(`/oracle?mint=${encodeURIComponent(token.mint)}`, 'Oracle →', { internal: true }));+ linksEl.appendChild(linkNode(`/oracle/coin/${encodeURIComponent(token.mint)}`, 'Oracle →', { internal: true }));}detailEl.classList.add('is-open');@@ -1871,7 +1871,7 @@if (!cv) { oracleSlot.innerHTML = ''; return; }const TIER_COLOR = { prime: '#c084fc', strong: '#34d399', lean: '#fbbf24', watch: '#94a3b8', avoid: '#f87171' };const color = TIER_COLOR[cv.tier] || '#94a3b8';- oracleSlot.innerHTML = `<a class="vz-oracle" href="/oracle?mint=${encodeURIComponent(token.mint)}" aria-label="Oracle conviction: ${cv.score} — ${cv.tier}">+ oracleSlot.innerHTML = `<a class="vz-oracle" href="/oracle/coin/${encodeURIComponent(token.mint)}" aria-label="Oracle conviction: ${cv.score} — ${cv.tier}"><div><div class="vz-oracle-label">Oracle conviction</div><div class="vz-oracle-score" style="color:${color}">${cv.score}</div>diff --git a/pages/smart-money.html b/pages/smart-money.htmlindex 4c56081d3..528051e97 100644--- a/pages/smart-money.html+++ b/pages/smart-money.html@@ -875,7 +875,7 @@${oraclePillarBar('Momentum', p.momentum, PILLAR_COLOR.momentum)}</div></div>- <a href="/oracle?mint=${encodeURIComponent(mint)}" class="sm-oracle-link" target="_blank" rel="noopener">Full conviction breakdown →</a>`;+ <a href="/oracle/coin/${encodeURIComponent(mint)}" class="sm-oracle-link" target="_blank" rel="noopener">Full coin page →</a>`;});} catch (e) {$('drBody').innerHTML = `<div class="state"><b>Not scored yet.</b>This coin hasn't been picked up by the radar.</div>`;diff --git a/pages/trending.html b/pages/trending.htmlindex 80204a52b..f62f8f7a6 100644--- a/pages/trending.html+++ b/pages/trending.html@@ -441,8 +441,9 @@const sym = (c.symbol || '?').slice(0, 5);const symFull = c.symbol || 'coin';const rankCls = c.rank <= 3 ? ` tr-rank-${c.rank}` : '';- const fallback = c.mint ? `/oracle?mint=${encodeURIComponent(c.mint)}` : null;- const href = safeHref(c.coin_url, fallback);+ // Primary: our full coin page. Fall back to the server-provided link.+ const internal = c.mint ? `/oracle/coin/${encodeURIComponent(c.mint)}` : null;+ const href = internal || safeHref(c.coin_url, null);const tag = href ? 'a' : 'div';const label = `Rank ${c.rank}: $${symFull}, Oracle score ${c.score} of 100`;const attrs = hrefdiff --git a/public/changelog.json b/public/changelog.jsonindex 37c3711ae..96f58a9ae 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-02T23:38:29.949Z",+ "generated_at": "2026-07-02T23:53:40.916Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -80,6 +80,17 @@"infra"]},+ {+ "date": "2026-07-02",+ "type": "update",+ "title": "Coin pages now have a live price chart, and every coin across the site links to them",+ "summary": "Two upgrades to the full coin page. First, it now has a live price chart: an interactive candlestick view (open/high/low/close with volume) for any coin trading on a DEX, and a native line chart for coins still on the pump.fun bonding curve — so there's always a chart, from launch to graduation. Second, coins everywhere on three.ws now link to their full page. Click a coin in the money-pulse ticker, the home live-token card, the pump feed widget, the activity feed, trending, the watchlist, an agent's coin chip, the launchpad, Pulse, or the Coin Radar / Coin Intel / Smart Money drawers, and you land on the full page — conviction, price chart, live market, who's in, and the streaming trade tape — instead of being bounced to an external site or a pop-up.",+ "link": "/oracle",+ "tags": [+ "feature",+ "improvement"+ ]+ },{"date": "2026-07-02","type": "update",@@ -205,6 +216,16 @@"fix"]},+ {+ "date": "2026-07-02",+ "type": "update",+ "title": "Walk into Agora — the Commons is now playable, with live citizens and other humans",+ "summary": "Agora (/agora) used to be a world you watched from above. Now you can walk into it. Press \"Enter the Commons\" and you drop in as your own avatar — WASD or a touch stick to move, run, and jump around the square (with a mobile joystick and buttons on phones). The AI-agent citizens keep doing their real on-chain work all around you — claiming jobs, walking to the board, earning $THREE — and now you can walk right up to one: a prompt appears (\"Meet Aria — Sculptor\", or \"busy on a job right now\"), and pressing E opens their living passport to inspect, hire, or vouch for them. Other people are there too: everyone who enters shares one live square, so you see each other move, chat, and pop speech bubbles in real time, with a counter of how many humans are in the Commons. If the multiplayer server isn't reachable it stays honestly single-player — the citizens' economy never depended on it. The watchable view is still the default and one tap away; play mode loads only when you ask for it.",+ "link": "/agora",+ "tags": [+ "feature"+ ]+ },{"date": "2026-07-01","type": "launch",diff --git a/public/changelog.xml b/public/changelog.xmlindex 74a741701..8655866cc 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -62,6 +62,14 @@<category>infra</category><description>The pump.fun intelligence firehose — the engine behind the coin-intel feed, the smart-money leaderboard and the oracle scores — used to keep writing to the database even after it hit its storage cap, failing thousands of times an hour and burning compute on work that could never be saved. It now checks free space before each run and pauses ingestion while the automatic cleanup reclaims room, then resumes on its own. The result: the engine self-heals instead of storming its logs, and the feeds it powers recover cleanly the moment space frees up.</description></item>+ <item>+ <title>Coin pages now have a live price chart, and every coin across the site links to them</title>+ <link>https://three.ws/oracle</link>+ <guid isPermaLink="false">2026-07-02:Coin pages now have a live price chart, and every coin across the site links to them</guid>+ <pubDate>Thu, 02 Jul 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>Two upgrades to the full coin page. First, it now has a live price chart: an interactive candlestick view (open/high/low/close with volume) for any coin trading on a DEX, and a native line chart for coins still on the pump.fun bonding curve — so there's always a chart, from launch to graduation. Second, coins everywhere on three.ws now link to their full page. Click a coin in the money-pulse ticker, the home live-token card, the pump feed widget, the activity feed, trending, the watchlist, an agent's coin chip, the launchpad, Pulse, or the Coin Radar / Coin Intel / Smart Money drawers, and you land on the full page — conviction, price chart, live market, who's in, and the streaming trade tape — instead of being bounced to an external site or a pop-up.</description>+ </item><item><title>Every coin world now gets the full town experience</title><link>https://three.ws/play</link>@@ -158,6 +166,14 @@<category>fix</category><description>The proof-of-human puzzle that only appears after repeated failed sign-ins was being placed on the page from the very first load, even while hidden. Because it carries a required checkbox the browser can't focus while it's off-screen, some browsers would quietly refuse to submit the sign-in form — you'd click Sign in and nothing happened, with no error to explain why. The puzzle is now added only at the moment it's actually needed, so normal sign-ins submit cleanly and the console warning it produced is gone.</description></item>+ <item>+ <title>Walk into Agora — the Commons is now playable, with live citizens and other humans</title>+ <link>https://three.ws/agora</link>+ <guid isPermaLink="false">2026-07-02:Walk into Agora — the Commons is now playable, with live citizens and other humans</guid>+ <pubDate>Thu, 02 Jul 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>Agora (/agora) used to be a world you watched from above. Now you can walk into it. Press "Enter the Commons" and you drop in as your own avatar — WASD or a touch stick to move, run, and jump around the square (with a mobile joystick and buttons on phones). The AI-agent citizens keep doing their real on-chain work all around you — claiming jobs, walking to the board, earning $THREE — and now you can walk right up to one: a prompt appears ("Meet Aria — Sculptor", or "busy on a job right now"), and pressing E opens their living passport to inspect, hire, or vouch for them. Other people are there too: everyone who enters shares one live square, so you see each other move, chat, and pop speech bubbles in real time, with a counter of how many humans are in the Commons. If the multiplayer server isn't reachable it stays honestly single-player — the citizens' economy never depended on it. The watchable view is still the default and one tap away; play mode loads only when you ask for it.</description>+ </item><item><title>AgenC · Embodied</title><link>https://three.ws/agenc/embodied</link>diff --git a/public/features.json b/public/features.jsonindex 419a09652..883385ec3 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-02T23:38:29.913Z",+ "generated_at": "2026-07-02T23:53:40.892Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/public/oracle-coin.css b/public/oracle-coin.cssindex bbb025906..122a4974e 100644--- a/public/oracle-coin.css+++ b/public/oracle-coin.css@@ -200,6 +200,24 @@ button { font: inherit; color: inherit; cursor: pointer; }.tape-sol.buy { color: var(--up); } .tape-sol.sell { color: var(--down); }.tape-mc { color: var(--faint); font-size: 10px; white-space: nowrap; }+/* price chart */+.oc-chart { margin-top: 20px; }+.oc-chart-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }+.oc-seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }+.oc-seg-btn { padding: 6px 14px; border-radius: 999px; border: none; background: none; color: var(--muted); font: 600 12px/1 var(--mono); transition: background .16s, color .16s; }+.oc-seg-btn.on { background: color-mix(in srgb, var(--cyan) 20%, transparent); color: var(--ink); }+.oc-seg-btn:hover:not(.on) { color: var(--ink); }+.oc-seg-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }+.oc-chart-canvas { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: rgba(0,0,0,0.18); min-height: 300px; position: relative; }+.oc-chart-frame { width: 100%; height: 440px; border: 0; display: block; opacity: 0; transition: opacity .3s; }+.oc-chart-canvas.ready .oc-chart-frame { opacity: 1; }+.oc-chart-skel { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,0.02) 30%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.02) 70%); background-size: 200% 100%; animation: mktShimmer 1.2s linear infinite; }+.oc-chart-svg { display: block; width: 100%; height: 260px; padding: 10px 6px 4px; }+.oc-chart-readout { display: flex; align-items: baseline; gap: 10px; padding: 12px 14px 0; font: 700 15px/1 var(--mono); }+.oc-chart-readout .mkt-up, .oc-chart-readout .mkt-down, .oc-chart-readout .mkt-flat { font-size: 12px; }+.oc-chart-price { color: var(--ink); }+@media (prefers-reduced-motion: reduce) { .oc-chart-skel { animation: none; } }+/* states */.state { padding: 40px 22px; text-align: center; color: var(--muted); }.state b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 8px; }diff --git a/public/oracle-coin.js b/public/oracle-coin.jsindex dcfa2baf5..1f0b087ae 100644--- a/public/oracle-coin.js+++ b/public/oracle-coin.js@@ -617,6 +617,7 @@if (!deep) return;deep.innerHTML = `<div id="ocTake"></div>+ <div id="ocChart" class="oc-chart"></div><div id="ocHistory"></div><div class="oc-cols"><div id="ocConviction">@@ -633,6 +634,8 @@<div id="ocRelated"></div></div></div>`;+ const chartEl = $('#ocChart');+ if (chartEl) mountChart(chartEl, mint);loadMarket(mint);loadHistory(mint);loadProofTrades(mint); // renders into #ocProof once the conviction column existsdiff --git a/src/agent-detail.js b/src/agent-detail.jsindex 111d3a97b..8ac8cbcbe 100644--- a/src/agent-detail.js+++ b/src/agent-detail.js@@ -2212,7 +2212,7 @@ async function renderOracleTrackRecord(agentId) {: '';const row = document.createElement('a');row.className = 'ad-trade-row';- row.href = a.oracle_url || `https://three.ws/oracle?mint=${a.mint}`;+ row.href = a.oracle_url || `https://three.ws/oracle/coin/${a.mint}`;row.target = '_blank';row.rel = 'noopener noreferrer';row.innerHTML = `<span class="ad-trade-outcome ${outcome}"></span><span class="ad-trade-symbol">$${escapeText((a.symbol || '?').toUpperCase())}</span><span class="ad-trade-tier">${tierE} ${escapeText(a.tier || '')}</span><span class="ad-trade-peak">${peak}</span><span class="ad-trade-pnl ${pnlVal != null && pnlVal >= 0 ? 'positive' : pnlVal != null ? 'negative' : ''}">${pnlText}</span>`;diff --git a/src/agent-home-pumpfun.js b/src/agent-home-pumpfun.jsindex b52b6261e..c4e445277 100644--- a/src/agent-home-pumpfun.js+++ b/src/agent-home-pumpfun.js@@ -147,7 +147,7 @@ export function mountPumpFunCard({ panel, identity, skills, memory, protocol })const explorer =s.network === 'devnet'? `https://pump.fun/coin/${s.mint}?cluster=devnet`- : `https://pump.fun/coin/${s.mint}`;+ : `/oracle/coin/${s.mint}`;const grad = s.graduated;return `<div class="pumpfun-card ${grad ? 'pumpfun-card--graduated' : ''}">@@ -270,7 +270,7 @@ export function mountPumpFunCard({ panel, identity, skills, memory, protocol })const network = state.network;const explorer = network === 'devnet'? `https://pump.fun/coin/${mint}?cluster=devnet`- : `https://pump.fun/coin/${mint}`;+ : `/oracle/coin/${mint}`;return `<div class="pumpfun-stamp-success"><div class="pumpfun-stamp-success-head">$${escapeHtml(symbol || 'TOKEN')} stamped & live</div>@@ -764,7 +764,7 @@ export function mountPumpFunCard({ panel, identity, skills, memory, protocol })const url =state.network === 'devnet'? `https://pump.fun/coin/${state.mint}?cluster=devnet`- : `https://pump.fun/coin/${state.mint}`;+ : `/oracle/coin/${state.mint}`;window.open(url, '_blank', 'noopener');}};diff --git a/src/agora/player-mode.js b/src/agora/player-mode.jsindex 10f84f30a..11d1c92ec 100644--- a/src/agora/player-mode.js+++ b/src/agora/player-mode.js@@ -464,8 +464,13 @@ export async function mountPlayerMode(ctx) {// ── Touch stick (lazy nipplejs — only where touch is the medium) ──────────let stickManager = null;+ let disposed = false; // set by dispose(); guards the async nipplejs import belowif (window.matchMedia?.('(hover: none), (max-width: 640px)').matches) {import('nipplejs').then(({ default: nipplejs }) => {+ // Leaving play mode before this dynamic import resolved would otherwise+ // create a stick (with live listeners writing to a disposed player) that+ // dispose() already ran past — tear it down immediately instead.+ if (disposed) return;stickManager = nipplejs.create({zone: stickZone,mode: 'dynamic',@@ -549,6 +554,7 @@ export async function mountPlayerMode(ctx) {}function dispose() {+ disposed = true; // stop a still-pending nipplejs import from creating a stickwindow.removeEventListener('keydown', onKeyDown);window.removeEventListener('keyup', onKeyUp);offStatus(); offAdd(); offChange(); offRemove(); offChat();diff --git a/src/coin3d/main.js b/src/coin3d/main.jsindex f490c180e..de2530adc 100644--- a/src/coin3d/main.js+++ b/src/coin3d/main.js@@ -632,7 +632,7 @@ function renderOracleSlot(cv, mintAddr) {return;}const color = TIER_COLORS[cv.tier] || '#97a0c4';- el.innerHTML = `<a class="c3d-oracle" href="/oracle?mint=${encodeURIComponent(mintAddr)}" aria-label="Oracle conviction: ${cv.score} ${cv.tier}">+ el.innerHTML = `<a class="c3d-oracle" href="/oracle/coin/${encodeURIComponent(mintAddr)}" aria-label="Oracle conviction: ${cv.score} ${cv.tier}"><span class="c3d-oracle-label">Oracle</span><span class="c3d-oracle-score" style="color:${color}">${cv.score}</span><span class="c3d-oracle-tier" style="color:${color}">${escapeHtml(cv.tier)}</span>diff --git a/src/dashboard-next/pages/copy.js b/src/dashboard-next/pages/copy.jsindex 54990f54e..c219e0b9d 100644--- a/src/dashboard-next/pages/copy.js+++ b/src/dashboard-next/pages/copy.js@@ -267,7 +267,7 @@ async function enrichIntentOracle(container) {const badge = row.querySelector('.cp-oracle');if (!badge || badge.hasChildNodes()) continue;const color = CP_TIER_COLOR[d.tier] || '#94a3b8';- badge.innerHTML = `<a class="cp-ob" href="/oracle?mint=${encodeURIComponent(mint)}" title="Oracle conviction: ${d.score} (${d.tier})">+ badge.innerHTML = `<a class="cp-ob" href="/oracle/coin/${encodeURIComponent(mint)}" title="Oracle conviction: ${d.score} (${d.tier})"><span class="cp-ob-score" style="color:${color}">${d.score}</span><span class="cp-ob-tier" style="color:${color}">${d.tier}</span></a>`;diff --git a/src/dashboard-next/pages/home.js b/src/dashboard-next/pages/home.jsindex 47a6df19e..58d1a4b2c 100644--- a/src/dashboard-next/pages/home.js+++ b/src/dashboard-next/pages/home.js@@ -491,7 +491,7 @@ async function loadTradingOverview(host) {${strategies.length > 0 ? `<span class="${pnlClass}">${pnlStr}</span>` : ''}</div></a>- <a class="dnx-tc" href="${oPrimePick ? `/oracle?mint=${encodeURIComponent(oPrimePick.mint)}` : '/oracle'}">+ <a class="dnx-tc" href="${oPrimePick ? `/oracle/coin/${encodeURIComponent(oPrimePick.mint)}` : '/oracle'}"><div class="dnx-tc-label">Oracle</div><div class="dnx-tc-value">${oValueText}</div><div class="dnx-tc-meta">${oMeta1}${oMeta2}${oMeta3 ? oMeta3 : ''}</div>diff --git a/src/dashboard-next/pages/portfolio.js b/src/dashboard-next/pages/portfolio.jsindex 16d1c4e0d..3ea621fa2 100644--- a/src/dashboard-next/pages/portfolio.js+++ b/src/dashboard-next/pages/portfolio.js@@ -617,7 +617,7 @@ async function enrichHoldingsOracle(tbody) {const badge = row.querySelector('.pf-oracle-badge');if (!badge || badge.hasChildNodes()) continue;const color = PF_TIER_COLOR[d.tier] || '#94a3b8';- badge.innerHTML = `<a class="pf-ob" href="/oracle?mint=${encodeURIComponent(mint)}" title="Oracle conviction: ${d.score} · ${d.tier}" onclick="event.stopPropagation()" style="color:${color}">◎ ${d.score}</a>`;+ badge.innerHTML = `<a class="pf-ob" href="/oracle/coin/${encodeURIComponent(mint)}" title="Oracle conviction: ${d.score} · ${d.tier}" onclick="event.stopPropagation()" style="color:${color}">◎ ${d.score}</a>`;}}@@ -631,7 +631,7 @@ async function enrichPumpOracle(tbody) {const d = results[mint];if (!d || d.score == null) { cell.textContent = '—'; continue; }const color = PF_TIER_COLOR[d.tier] || '#94a3b8';- cell.innerHTML = `<a class="pf-ob pf-ob-pump" href="/oracle?mint=${encodeURIComponent(mint)}" title="${d.score} · ${d.tier}" style="color:${color}">◎ ${d.score} <span style="font-size:9px;opacity:.8;text-transform:uppercase;letter-spacing:.05em">${d.tier}</span></a>`;+ cell.innerHTML = `<a class="pf-ob pf-ob-pump" href="/oracle/coin/${encodeURIComponent(mint)}" title="${d.score} · ${d.tier}" style="color:${color}">◎ ${d.score} <span style="font-size:9px;opacity:.8;text-transform:uppercase;letter-spacing:.05em">${d.tier}</span></a>`;}}@@ -662,7 +662,7 @@ async function enrichDrawerOracle(host, mint) {<span class="pf-oracle-tier" style="color:${color}">${cv.tier || ''}</span></div>${pillarHtml ? `<div class="pf-oracle-pillars">${pillarHtml}</div>` : ''}- <a class="pf-oracle-link" href="/oracle?mint=${encodeURIComponent(mint)}" target="_blank" rel="noopener">Full conviction breakdown ↗</a>+ <a class="pf-oracle-link" href="/oracle/coin/${encodeURIComponent(mint)}" target="_blank" rel="noopener">Full conviction breakdown ↗</a></div>`;} catch { /* non-fatal */ }}diff --git a/src/dashboard-next/pages/sniper.js b/src/dashboard-next/pages/sniper.jsindex a56a7621b..66a4ab360 100644--- a/src/dashboard-next/pages/sniper.js+++ b/src/dashboard-next/pages/sniper.js@@ -722,7 +722,7 @@ async function enrichPositionOracle() {const badge = row.querySelector('.sn-pos-oracle');if (!badge || badge.hasChildNodes()) continue;const color = SN_TIER_COLOR[d.tier] || '#94a3b8';- badge.innerHTML = `<a class="sn-ob" href="/oracle?mint=${encodeURIComponent(mint)}" title="Oracle conviction: ${d.score} (${d.tier})">+ badge.innerHTML = `<a class="sn-ob" href="/oracle/coin/${encodeURIComponent(mint)}" title="Oracle conviction: ${d.score} (${d.tier})"><span class="sn-ob-score" style="color:${color}">${d.score}</span><span class="sn-ob-tier" style="color:${color}">${d.tier}</span></a>`;diff --git a/src/dashboard-next/pages/tokens.js b/src/dashboard-next/pages/tokens.jsindex fc89ba051..327bc7812 100644--- a/src/dashboard-next/pages/tokens.js+++ b/src/dashboard-next/pages/tokens.js@@ -256,7 +256,7 @@ function renderTokenCard({ agent, mint, token, stats, coin }) {<div class="tk-oracle-slot" data-oracle-mint="${esc(mint)}" style="margin-bottom:14px"></div><div style="display:flex;gap:8px;flex-wrap:wrap"><button class="dn-btn primary" data-action="fees" style="font-size:12.5px">Fees & rewards</button>- <a class="dn-btn" href="/oracle?mint=${encodeURIComponent(mint)}" rel="noopener" style="font-size:12.5px">Oracle ↗</a>+ <a class="dn-btn" href="/oracle/coin/${encodeURIComponent(mint)}" rel="noopener" style="font-size:12.5px">Oracle ↗</a><a class="dn-btn" href="/pump-3d-agent?mint=${encodeURIComponent(mint)}" target="_blank" rel="noopener" style="font-size:12.5px">3D Agent view ↗</a><a class="dn-btn" href="https://solscan.io/token/${encodeURIComponent(mint)}" target="_blank" rel="noopener" style="font-size:12.5px">Solscan ↗</a>${mint ? `<button class="dn-btn" data-action="copy-mint" data-mint="${esc(mint)}" style="font-size:12.5px">Copy CA</button>` : ''}diff --git a/src/home-live-token.js b/src/home-live-token.jsindex 3a2c513ef..89216c910 100644--- a/src/home-live-token.js+++ b/src/home-live-token.js@@ -252,8 +252,8 @@ class HomeLiveToken {}}if (this.el.link) {- this.el.link.href = `https://pump.fun/coin/${coin.mint}`;- this.el.link.title = `View $${sym} on pump.fun`;+ this.el.link.href = `/oracle/coin/${coin.mint}`;+ this.el.link.title = `View $${sym} — conviction, market & live trades`;}this._renderPrice();}diff --git a/src/launch-detail.js b/src/launch-detail.jsindex 89c4c0ca4..a868793ef 100644--- a/src/launch-detail.js+++ b/src/launch-detail.js@@ -817,7 +817,7 @@ async function renderOracleConviction() {const actions = el('div', { class: 'ld-oracle-actions' }, [el('a', {class: 'ld-btn ld-btn-ghost ld-btn-sm ld-btn-block',- href: `/oracle?mint=${encodeURIComponent(state.mint)}`,+ href: `/oracle/coin/${encodeURIComponent(state.mint)}`,target: '_blank',rel: 'noopener',text: 'Full conviction breakdown ↗',diff --git a/src/launches.js b/src/launches.jsindex 29a22821e..dd14bfcb5 100644--- a/src/launches.js+++ b/src/launches.js@@ -435,7 +435,7 @@ function paintOracleBadge(card, mint, data) {const badge = card.querySelector('.lx-oracle-badge');if (!badge || !data || data.score == null) return;const color = ORACLE_TIER_COLOR[data.tier] || '#94a3b8';- badge.innerHTML = `<a class="lx-ob-link" href="/oracle?mint=${encodeURIComponent(mint)}" title="Oracle conviction: ${data.score} — ${data.tier || 'unscored'}" tabindex="-1" aria-hidden="true">+ badge.innerHTML = `<a class="lx-ob-link" href="/oracle/coin/${encodeURIComponent(mint)}" title="Oracle conviction: ${data.score} — ${data.tier || 'unscored'}" tabindex="-1" aria-hidden="true"><span class="lx-ob-score" style="color:${color}">${data.score}</span><span class="lx-ob-tier" style="color:${color}">${data.tier || ''}</span></a>`;diff --git a/src/launchpad/landing.js b/src/launchpad/landing.jsindex 25ce9cdaf..4f216384e 100644--- a/src/launchpad/landing.js+++ b/src/launchpad/landing.js@@ -219,7 +219,7 @@ function coinRowHTML(c) {const thumb = c.agent?.avatar_thumbnail_url;const monoInner = thumb ? `<img loading="lazy" alt="" src="${esc(thumb)}" />` : esc(monogram(sym));return `- <a class="lp-coin" href="/launches/${esc(c.mint)}" title="${esc(c.name || sym)} — view coin">+ <a class="lp-coin" href="/oracle/coin/${esc(c.mint)}" title="${esc(c.name || sym)} — view coin"><span class="mono">${monoInner}</span><span class="meta"><span class="nm">${esc(c.name || sym)}${c.symbol ? ` <span class="tk">$${esc(c.symbol)}</span>` : ''}</span>diff --git a/src/oracle.js b/src/oracle.jsindex e692dfa50..460394a3a 100644--- a/src/oracle.js+++ b/src/oracle.js@@ -1711,7 +1711,7 @@ function renderDrawer(d) {setMeta('og:title', ogTitle);setMeta('og:description', ogDesc);setMeta('og:image', ogImg);- setMeta('og:url', `https://three.ws/oracle?mint=${encodeURIComponent(c.mint)}`);+ setMeta('og:url', `https://three.ws/oracle/coin/${encodeURIComponent(c.mint)}`);setMeta('twitter:card', 'summary_large_image');setMeta('twitter:title', ogTitle);setMeta('twitter:description', ogDesc);diff --git a/src/play/arena.js b/src/play/arena.jsindex a08841588..c4bfadb26 100644--- a/src/play/arena.js+++ b/src/play/arena.js@@ -625,7 +625,7 @@ async function enrichDrawerWithOracle(id) {const peak = a.peak_multiple != null ? `${Number(a.peak_multiple).toFixed(1)}×` : '—';const sym = esc((a.symbol || a.mint.slice(0, 6)).toUpperCase());const peakCls = (a.peak_multiple ?? 0) >= 2 ? ' up' : '';- return `<a class="dw-oracle-action" href="/oracle?mint=${encodeURIComponent(a.mint)}" target="_blank" rel="noopener">+ return `<a class="dw-oracle-action" href="/oracle/coin/${encodeURIComponent(a.mint)}" target="_blank" rel="noopener"><span class="dw-oracle-dot ${outcome}"></span><span class="dw-oracle-sym">${sym}</span><span class="dw-oracle-tier">${tier}</span>diff --git a/src/pulse.js b/src/pulse.jsindex 16f9e391c..213ef3730 100644--- a/src/pulse.js+++ b/src/pulse.js@@ -195,7 +195,7 @@ function renderLaunches(list) {: `<span class="px-lb-av px-lb-av--mono" aria-hidden="true">${esc((c.symbol || c.coin_name || '?').charAt(0).toUpperCase())}</span>`;const title = c.symbol ? `$${esc(c.symbol)}` : esc(c.coin_name || 'Coin');return (- `<a class="px-lb-row" href="/launches/${esc(c.mint)}">` ++ `<a class="px-lb-row" href="/oracle/coin/${esc(c.mint)}">` +av +`<span class="px-lb-name">${title}<small>by ${esc(a.name || 'agent')}</small></span>` +`<span class="px-lb-metric">${esc(timeAgo(c.ts))}</span>` +diff --git a/src/radar.js b/src/radar.jsindex feeb0fb2b..76f376b33 100644--- a/src/radar.js+++ b/src/radar.js@@ -1390,6 +1390,11 @@ function renderDrawerContent(panel, coin) {// links + socialsconst links = el('div', 'rd-section rd-links');+ if (coin.network !== 'devnet') {+ const page = el('a', 'radar-btn', 'Full coin page →');+ page.href = `/oracle/coin/${coin.mint}`;+ links.append(page);+ }const scan = el('a', 'radar-btn radar-btn--ghost', 'Solscan');scan.href = solscanToken(coin.mint, coin.network); scan.target = '_blank'; scan.rel = 'noopener noreferrer';links.append(scan);@@ -1449,7 +1454,7 @@ function renderDrawerContent(panel, coin) {}const link = el('a', 'radar-btn radar-btn--ghost rd-oracle-link', 'Full conviction →');- link.href = `/oracle?mint=${encodeURIComponent(coin.mint)}`;+ link.href = `/oracle/coin/${encodeURIComponent(coin.mint)}`;link.target = '_blank';link.rel = 'noopener noreferrer';link.style.cssText = 'color:' + meta.color + ';border-color:' + meta.color + '40;margin-top:8px';diff --git a/src/trades-detail.js b/src/trades-detail.jsindex 9ef233b99..acffeac28 100644--- a/src/trades-detail.js+++ b/src/trades-detail.js@@ -488,7 +488,7 @@ function shell({ mint, network, sym, name, img, isThree }) {</div><div class="dd-hero-actions"><a href="https://pump.fun/${escapeHtml(mint)}" target="_blank" rel="noopener" class="dd-btn">pump.fun ↗</a>- <a href="/oracle?mint=${encodeURIComponent(mint)}" class="dd-btn dd-btn--oracle">Oracle ↗</a>+ <a href="/oracle/coin/${encodeURIComponent(mint)}" class="dd-btn dd-btn--oracle">Oracle ↗</a></div></header>diff --git a/src/watchlist.js b/src/watchlist.jsindex cb9274842..d101ce9cf 100644--- a/src/watchlist.js+++ b/src/watchlist.js@@ -247,7 +247,7 @@ function maybeFire(mint, newTier, oldTier) {const n = new Notification(title, { body, icon: '/favicon-32x32.png', tag: mint });// Navigate the watchlist tab itself rather than spawning an orphaned new// tab — keeps the browser Back button as a reliable return path.- n.onclick = () => { window.focus(); location.href = `/oracle?mint=${encodeURIComponent(mint)}`; n.close(); };+ n.onclick = () => { window.focus(); location.href = `/oracle/coin/${encodeURIComponent(mint)}`; n.close(); };} catch { /* Notification blocked mid-flight */ }}@@ -264,11 +264,11 @@ function teardown() {// ── cards ────────────────────────────────────────────────────────────────────function watchCard(mint, index) {- // Primary card link opens the Oracle conviction breakdown for this coin.+ // Primary card link opens the coin's full page (conviction + market + trades).const link = el('a', {class: 'wl-card-link',- href: `/oracle?mint=${mint}`,- 'aria-label': 'Open Oracle conviction breakdown',+ href: `/oracle/coin/${mint}`,+ 'aria-label': 'Open the full coin page',});const market = el('div', { class: 'wl-market' });const removeBtn = el('button', {@@ -528,7 +528,7 @@ function paintOracleBadge(mint, data) {`<span class="wl-ob-pbar" title="${k} ${Math.round(v)}"><span style="height:${Math.max(8, Math.min(100, v))}%;background:${color}"></span></span>`,).join('')}</span>`: '';- badge.innerHTML = `<a class="wl-ob-link" href="/oracle?mint=${encodeURIComponent(mint)}" aria-label="Oracle conviction: ${data.score} ${tier}">+ badge.innerHTML = `<a class="wl-ob-link" href="/oracle/coin/${encodeURIComponent(mint)}" aria-label="Oracle conviction: ${data.score} ${tier}"><span class="wl-ob-top"><span class="wl-ob-score" style="color:${color}">${data.score}</span><span class="wl-ob-tier" style="color:${color}">${tier}</span>diff --git a/src/widgets/pumpfun-feed.js b/src/widgets/pumpfun-feed.jsindex d4112e417..ba29c4aee 100644--- a/src/widgets/pumpfun-feed.js+++ b/src/widgets/pumpfun-feed.js@@ -341,6 +341,7 @@ function renderFirstGithubClaim(ev) {}const links = [];+ if (mint) links.push(`<a href="/oracle/coin/${encodeURIComponent(mint)}" style="color:#6ce0c8">📈 coin page</a>`);if (mint) links.push(`<a href="https://pump.fun/coin/${encodeURIComponent(mint)}" target="_blank" rel="noopener" style="color:#6ce0c8">📊 pump.fun</a>`);if (ghTwitter) links.push(`<a href="https://x.com/${encodeURIComponent(ghTwitter)}" target="_blank" rel="noopener" style="color:#6ce0c8">𝕏 ${escapeHtml(ghTwitter)}</a>`);if (repoFull) links.push(`<a href="https://github.com/${repoFull.split('/').map(encodeURIComponent).join('/')}" target="_blank" rel="noopener" style="color:#6ce0c8">🌐 github.com/${escapeHtml(repoFull)}</a>`);@@ -499,6 +500,7 @@ function renderGraduation(ev) {<div style="font-family:ui-monospace,monospace;font-size:10px;opacity:0.55;margin-top:4px;word-break:break-all">${escapeHtml(mint)}</div><div style="font-size:10px;opacity:0.55;margin-top:2px;display:flex;gap:8px;flex-wrap:wrap">${sig ? `🔗 <a href="https://solscan.io/tx/${encodeURIComponent(sig)}" target="_blank" rel="noopener" style="color:#888888">TX</a>` : ''}+ ${mint ? `· <a href="/oracle/coin/${m}" style="color:#888888">coin page</a>` : ''}${mint ? `· <a href="https://pump.fun/coin/${m}" target="_blank" rel="noopener" style="color:#888888">pump.fun</a>` : ''}${tsStr ? `· 🕐 ${escapeHtml(tsStr)}` : ''}</div>