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
Oracle: conviction-weighted position sizing
nirholas5922843019de
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex c4efc4591..6a7806818 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -9,6 +9,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Agent Activity — Oracle conviction in real time** (`/activity`) — The trading floor: every Oracle conviction action from every autonomous 3D agent on pump.fun, live. Filter by tier and mode, track outcomes, and copy the winners.- **Oracle — AI Conviction Engine** (`/oracle`) — A fused AI conviction engine for every pump.fun launch: pedigree (who's buying), structure (bundle vs organic), narrative (what story is it riding), and momentum — fused into a single 0–100 conviction score with transparent pillar reasoning.- **Watchlist** (`/watchlist`) — Your privately-stored watchlist of pump.fun coins — live market caps, graduation status, and quick links to full coin profiles. No account required; stored in your browser.+- **3D Visualizer: Oracle conviction and watchlist in token panel** — The 3D token visualizer now shows Oracle conviction scores when you click any token sphere. The detail panel fetches the live conviction score and tier in the background and displays it with tier color-coding. Also adds a Watch button and Oracle deep-link directly in the panel, so you can add a coin to your watchlist or open its full conviction breakdown without leaving the 3D view. (`/pump-visualizer`) `[improvement]`- **Agent Activity — live oracle trading floor** — New page at /activity shows every Oracle conviction trade made by every autonomous 3D agent, in real time. Filter by tier (prime/strong/lean/watch) and mode (live/simulate). Each entry shows agent avatar, ticker, conviction score, size, and once settled outcome (win/loss/flat) and realized PnL. Win and open entries link directly to the agent's trader profile for one-click copy subscriptions. Platform-level KPIs (agents active, win rate, 7-day PnL) appear at the top. Auto-refreshes every 30 seconds. (`/activity`) `[feature]`- **Agent trading record — proof-of-edge on every agent profile** — Agent profiles now show a live TRADING RECORD panel that pulls directly from the Oracle's action ledger. Win rate, wins/losses/open, realized PnL, and ROI are computed from real settled trades. Below the summary, the 8 most recent Oracle trades appear as quick-glance rows: outcome dot (green/red/yellow), ticker, conviction tier, peak multiple, and realized PnL. When an agent has profitable exits, a 'Copy this trader' link lets visitors subscribe. The panel stays hidden until the agent has at least one Oracle action, so profiles without trading history are unchanged. (`/agents`) `[feature]`- **Agents: Oracle and Sniper trading status on agent cards** — The agents dashboard now shows live trading badges on each card. If an agent has Oracle conviction history, its win rate and realized PnL appear inline. If a sniper strategy is armed and active, the agent card shows the strategy's realized PnL. Both badges link to the relevant dashboard so you can drill in from the agents list. (`/dashboard/agents`) `[improvement]`@@ -18,6 +19,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Copy trading — mirror proven traders, non-custodially, on your own terms** — You can now copy any trader from their profile. Pick how to size each copy (a fixed amount of SOL, a multiple of the leader's size, or a percentage of your wallet), set a hard per-trade cap and a daily budget, and optionally filter by market cap or require a coin-safety pass. When a trader you follow makes a move, a sized, safety-checked intent lands in your new Copy Trading dashboard — you review it and execute it yourself, from your own wallet. We never take custody and never sign for you; every copy is capped by your rules so a runaway leader can't drain you. Exits are mirrored too, but only for trades you actually entered, and skipped copies show exactly why they were skipped. Leaders earn a performance fee on the profit you make copying them — charged only on gains above your prior peak (a high-water mark), never on losses, settled in $THREE with 80% to the trader and the rest funding buybacks and reflecting to holders. Manage everything — pause, resume, stop, edit size — in one place. (`/dashboard/copy`) `[feature]`- **Copy trading: Oracle conviction gate** — Copy subscriptions now support a minimum Oracle conviction score. Set a threshold (0–100) on any subscription and the platform will skip copy intents when the coin's Oracle score is below it. Lets you follow a trader's volume while still only copying their highest-conviction picks. The setting appears in the Advanced filters of the copy setup form on any trader profile. (`/leaderboard`) `[feature]`- **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]`+- **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]`- **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]`- **IRL and XR: choose any of your 3D avatars from a bottom-sheet picker** — Both /irl and /xr now let you swap your 3D avatar without leaving the page. Tap Avatar (IRL) or Change (XR) to open a thumbnail grid of all your uploaded avatars. Selecting one hot-swaps the model in the scene instantly — camera, animations, half-body mode, and AR state all carry over. Signed-out users see a prompt to sign in; empty accounts link to the creation flow. (`/irl`) `[feature]`- **Leaderboard: Oracle Conviction Rankings — agents ranked by conviction win rate** — The Trader Leaderboard now includes an Oracle Conviction Rankings section below the main board. Agents are ranked by conviction win rate across their full Oracle action history (minimum 3 resolved calls required). Each row shows wins/losses, realized PnL, and ROI. A new /api/oracle/leaderboard endpoint drives the data. The Arena agent drawer also now shows the agent's Oracle stats — actions, win rate, and recent calls — alongside their trading record. (`/leaderboard`) `[feature]`@@ -34,12 +36,15 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Oracle social signal — X posts now feed into coin conviction scores** — The Oracle's Narrative pillar now receives real-time social signal from X. When a coin's $SYMBOL is mentioned in a tweet, the post's reach and engagement — views, likes, retweets — translate into a virality boost that raises the Oracle's conviction score. KOL accounts (verified smart-money voices on X) apply a 1.5× multiplier. The POST /api/oracle/social endpoint accepts raw tweet batches from any scraper, and the three.surf chart tool ships a --push-social flag that pipes its tweet analysis directly into the Oracle after each run. (`/oracle`) `[feature, improvement]`- **Oracle wallet drawer: trader profile and copy-trades links** — When you open a wallet from the Oracle's Top Wallets leaderboard, the drawer now shows 'Trader profile ↗' and 'Copy trades →' links below the track record — connecting the wallet reputation system directly to copy trading. The wallet list rows also gain a hover-reveal '→' button that opens the trader profile without needing to open the drawer first. (`/oracle`) `[improvement]`- **Oracle: Activity feed and Agent leaderboard** — Two new tabs on the Oracle page. Activity shows a live trading floor — every Oracle-armed agent action (buy/outcome/PnL) in real time, filterable by mode, tier, and outcome. Agents ranks every conviction agent by their real track record: win rate, realized PnL, and ROI across all graded calls. Subscribe to copy the top performers directly from the leaderboard. (`/oracle`) `[feature]`+- **Oracle: Conviction-weighted position sizing** — Oracle agents can now scale their position size by conviction strength. Enable 'Scale by conviction' in the Arm your agent panel to have the engine buy up to 1.5× the base size for the highest-scoring coins (score 100) and 1.0× at the minimum threshold. Positions are still capped by the daily SOL budget — this rewards the highest-conviction calls without increasing risk on lower-scoring entries. (`/oracle`) `[feature, improvement]`- **Portfolio: Oracle conviction for every token you hold** — The portfolio dashboard now shows Oracle conviction scores on Solana tokens. Each row gets a live badge showing the Oracle score and tier (prime / strong / lean). The pump.fun tokens table adds an Oracle column. And when you open any token's detail drawer, a conviction breakdown appears — score dial, pillar bars, and a link to the full Oracle analysis. Helps you make informed hold / sell decisions from the portfolio view. (`/dashboard/portfolio`) `[improvement]`- **Pump Dashboard: live Oracle conviction panel on the main trading desk** — The Pump Dashboard now has a High Conviction panel alongside the live feed — showing the top 5 Oracle-scored coins (score ≥ 60) with their tier badge, 4-pillar bars, and a link to the Oracle drawer. The panel auto-refreshes every 90 seconds and pulses with a live indicator. Clicking any coin opens the full conviction breakdown. (`/pump-dashboard`) `[improvement]`- **Radar drawer: Oracle conviction scores now inline with coin intelligence** — When you open a coin in the /radar drawer, it now shows the Oracle conviction score alongside the coin intelligence analysis — score, tier badge, and four pillar bars (pedigree/structure/narrative/momentum), with a link to the full Oracle breakdown. Data loads asynchronously so the drawer opens instantly. (`/radar`) `[improvement]`- **Rich OG cards on every shared coin link — price, score, and live status in the preview** — Every /launches/<mint> page now generates a dynamic social card — visible in X, Telegram, Discord, Slack, and iMessage link previews. The card shows the coin's logo, name and symbol, the Coin Intelligence quality score, the organic vs. bundle signal bars, unique buyer count, live market cap, and an outcome badge (GRADUATED / RUGGED / LIVE with a pulsing dot). Every shared link becomes a signal at a glance — no click required. (`/launches`) `[improvement]`- **Sniper Strategies dashboard — manage autonomous trading agents** — A new dashboard page at /dashboard/sniper lets you arm, configure, and monitor your autonomous pump.fun sniper agents without touching code. Each agent gets its own strategy card: set daily budget, per-trade size, take-profit, stop-loss, trailing stop, and max hold time. Entry filters (market-cap range, creator history, social requirements) narrow which launches the agent snipes. Two trigger modes — new mint (snipe every launch) and first-claim (snipe when a creator claims rewards for the first time). A live-position strip streams open trades via SSE, with per-position unrealized PnL and Solscan links. Kill-switch is one click. All four sniper API endpoints (strategy, stream, trader, leaderboard) are now routed in production. (`/dashboard/sniper`) `[feature]`- **Sniper: Oracle conviction gate** — Agent sniper strategies now support a Min Oracle conviction setting (0–100). When set, the sniper checks the Oracle score before executing any buy — coins below the threshold are skipped and logged. The gate applies to all three trigger modes: new mint, first-claim, and intel-confirmed. Coins without a score yet (brand-new mints) are allowed through so launch speed is never sacrificed. Configure it in the sniper strategy form on the dashboard. (`/dashboard/sniper`) `[feature]`+- **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]`- **Watchlist — save any coin and track it with live Oracle scores** — Every launch card now has a bookmark button. Tap it to add the coin to your Watchlist at /watchlist — a personal live board of every coin you're watching. Each card refreshes every 30 seconds with real price, market cap, volume, and graduation progress. If Oracle has scored the coin, a conviction badge appears right on the card: tier (PRIME / STRONG / LEAN), overall score, and a compact pillar breakdown — Pedigree, Structure, Narrative, Momentum — so the four reads that matter are always visible without opening the coin's full page. (`/watchlist`) `[feature]`- **Watchlist: live Oracle conviction badges on every watched coin** — Your watchlist now shows the Oracle conviction score and tier for every pinned coin — prime, strong, lean, watch, or avoid — right on the card. Scores load with a single batch API call (/api/oracle/batch) after the cards render, so the page stays fast. Tap any badge to open the full Oracle breakdown. The smart-money radar coin drawer also now shows the full Oracle verdict (score, tier, and four pillar bars) alongside the existing pedigree data. (`/watchlist`) `[improvement]`diff --git a/api/_lib/migrations/20260616200000_oracle_size_scaling.sql b/api/_lib/migrations/20260616200000_oracle_size_scaling.sqlnew file mode 100644index 000000000..5b5e55f36--- /dev/null+++ b/api/_lib/migrations/20260616200000_oracle_size_scaling.sql@@ -0,0 +1,16 @@+-- Oracle agent watch: conviction-weighted position sizing.+--+-- When size_scaling is true, the agent loop scales each buy up to 1.5× the+-- configured per_trade_sol based on how far above the minimum threshold the+-- coin's conviction score lands. A coin at 100 gets 1.5× the base size; one+-- at the exact minimum gets 1.0×. The executor still applies its hard SOL cap.++begin;++alter table oracle_agent_watch+ add column if not exists size_scaling boolean not null default false;++comment on column oracle_agent_watch.size_scaling is+ 'When true, scale position size by conviction: 1.0× at min_score, up to 1.5× at 100.';++commit;diff --git a/api/_lib/oracle/agent-eval.js b/api/_lib/oracle/agent-eval.jsindex 5a6005e4f..871a397bd 100644--- a/api/_lib/oracle/agent-eval.js+++ b/api/_lib/oracle/agent-eval.js@@ -7,9 +7,25 @@const TIER_RANK = { avoid: 0, watch: 1, lean: 2, strong: 3, prime: 4 };+/**+ * When size_scaling is enabled, scale the position up to 1.5× the base+ * per_trade_sol based on how far above the minimum threshold the score lands:+ * scaleFactor = 1.0 + clamp((score - min_score) / (100 - min_score), 0, 1) × 0.5+ *+ * A coin at the exact minimum scores at 1.0× base; one at 100 scores at 1.5×.+ * The executor still applies its hard per-trade SOL cap on top.+ */+function scaledSize(base, score, minScore) {+ const range = 100 - minScore;+ if (range <= 0) return base;+ const factor = 1.0 + Math.max(0, Math.min(1, (score - minScore) / range)) * 0.5;+ // Round to 4 decimal places so the logged reason stays readable.+ return Math.round(base * factor * 10000) / 10000;+}+/*** @param {object} args- * @param {object} args.watch oracle_agent_watch row (armed, mode, min_score, min_tier, categories, per_trade_sol, max_daily_sol, max_open, require_smart_money)+ * @param {object} args.watch oracle_agent_watch row (armed, mode, min_score, min_tier, categories, per_trade_sol, max_daily_sol, max_open, require_smart_money, size_scaling)* @param {object} args.coin scored coin { score, tier, category, smart_wallet_count }* @param {number} args.openCount agent's currently-open positions* @param {number} args.spentTodaySol agent's SOL committed today@@ -44,14 +60,20 @@ export function evaluateWatch({ watch, coin, openCount = 0, spentTodaySol = 0 })if (openCount >= (Number(watch.max_open) || 5)) {return block(`at max open positions (${openCount})`);}- const size = Number(watch.per_trade_sol) || 0;- if (size <= 0) return block('per-trade size is zero');++ const base = Number(watch.per_trade_sol) || 0;+ if (base <= 0) return block('per-trade size is zero');++ // Conviction-weighted sizing: larger positions for higher-scoring coins.+ const size = watch.size_scaling ? scaledSize(base, score, minScore) : base;+const maxDaily = Number(watch.max_daily_sol) || 0;if (maxDaily > 0 && spentTodaySol + size > maxDaily + 1e-9) {return block(`daily budget reached (${spentTodaySol.toFixed(3)}/${maxDaily} SOL)`);}- return { act: true, size, reason: `conviction ${score} ≥ ${minScore} (${coin.tier}); ${coin.smart_wallet_count || 0} smart in` };+ const scalingNote = watch.size_scaling && size !== base ? ` → ${size} SOL (conviction-scaled)` : '';+ return { act: true, size, reason: `conviction ${score} ≥ ${minScore} (${coin.tier}); ${coin.smart_wallet_count || 0} smart in${scalingNote}` };}function block(reason) { return { act: false, size: 0, reason }; }diff --git a/api/_lib/oracle/store.js b/api/_lib/oracle/store.jsindex 1b507c157..5790617cc 100644--- a/api/_lib/oracle/store.js+++ b/api/_lib/oracle/store.js@@ -256,12 +256,12 @@ export async function upsertWatch(agentId, userId, network, cfg) {const row = await sql`insert into oracle_agent_watch (agent_id, user_id, network, armed, mode, min_score, min_tier, categories,- per_trade_sol, max_daily_sol, max_open, require_smart_money, updated_at+ per_trade_sol, max_daily_sol, max_open, require_smart_money, size_scaling, updated_at) values (${agentId}, ${userId || null}, ${network}, ${!!cfg.armed}, ${cfg.mode || 'simulate'},${cfg.min_score ?? 80}, ${cfg.min_tier || 'strong'}, ${JSON.stringify(cfg.categories || [])}::jsonb,${cfg.per_trade_sol ?? 0.05}, ${cfg.max_daily_sol ?? 0.5}, ${cfg.max_open ?? 5},- ${cfg.require_smart_money !== false}, now()+ ${cfg.require_smart_money !== false}, ${!!cfg.size_scaling}, now())on conflict (agent_id, network) do update setuser_id = coalesce(excluded.user_id, oracle_agent_watch.user_id),@@ -269,7 +269,7 @@ export async function upsertWatch(agentId, userId, network, cfg) {min_tier = excluded.min_tier, categories = excluded.categories,per_trade_sol = excluded.per_trade_sol, max_daily_sol = excluded.max_daily_sol,max_open = excluded.max_open, require_smart_money = excluded.require_smart_money,- updated_at = now()+ size_scaling = excluded.size_scaling, updated_at = now()returning *`;return row[0];diff --git a/api/oracle/watch.js b/api/oracle/watch.jsindex e25bb0b76..8a30d645b 100644--- a/api/oracle/watch.js+++ b/api/oracle/watch.js@@ -38,6 +38,7 @@ const WATCH_SCHEMA = z.object({max_daily_sol: numish.optional(),max_open: numish.optional(),require_smart_money: z.boolean().optional(),+ size_scaling: z.boolean().optional(),});async function resolveUserId(req) {diff --git a/data/changelog.json b/data/changelog.jsonindex 35b0bbe7d..f15a653c0 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,13 @@{"$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": "Oracle: Conviction-weighted position sizing",+ "summary": "Oracle agents can now scale their position size by conviction strength. Enable 'Scale by conviction' in the Arm your agent panel to have the engine buy up to 1.5× the base size for the highest-scoring coins (score 100) and 1.0× at the minimum threshold. Positions are still capped by the daily SOL budget — this rewards the highest-conviction calls without increasing risk on lower-scoring entries.",+ "tags": ["feature", "improvement"],+ "link": "/oracle"+ },{"date": "2026-06-16","title": "3D Visualizer: Oracle conviction and watchlist in token panel",diff --git a/public/changelog.json b/public/changelog.jsonindex a9aaa9084..7a91412e2 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-16T06:34:54.299Z",+ "generated_at": "2026-06-16T07:02:32.992Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -36,6 +36,16 @@"launch"]},+ {+ "date": "2026-06-16",+ "type": "update",+ "title": "3D Visualizer: Oracle conviction and watchlist in token panel",+ "summary": "The 3D token visualizer now shows Oracle conviction scores when you click any token sphere. The detail panel fetches the live conviction score and tier in the background and displays it with tier color-coding. Also adds a Watch button and Oracle deep-link directly in the panel, so you can add a coin to your watchlist or open its full conviction breakdown without leaving the 3D view.",+ "link": "/pump-visualizer",+ "tags": [+ "improvement"+ ]+ },{"date": "2026-06-16","type": "update",@@ -128,6 +138,16 @@"feature"]},+ {+ "date": "2026-06-16",+ "type": "update",+ "title": "Forge: fix 3D model generation on the free NVIDIA lane",+ "summary": "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.",+ "link": "/forge",+ "tags": [+ "fix"+ ]+ },{"date": "2026-06-16","type": "update",@@ -291,6 +311,17 @@"feature"]},+ {+ "date": "2026-06-16",+ "type": "update",+ "title": "Oracle: Conviction-weighted position sizing",+ "summary": "Oracle agents can now scale their position size by conviction strength. Enable 'Scale by conviction' in the Arm your agent panel to have the engine buy up to 1.5× the base size for the highest-scoring coins (score 100) and 1.0× at the minimum threshold. Positions are still capped by the daily SOL budget — this rewards the highest-conviction calls without increasing risk on lower-scoring entries.",+ "link": "/oracle",+ "tags": [+ "feature",+ "improvement"+ ]+ },{"date": "2026-06-16","type": "update",@@ -351,6 +382,26 @@"feature"]},+ {+ "date": "2026-06-16",+ "type": "update",+ "title": "Sniper: personal Telegram trade notifications",+ "summary": "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.",+ "link": "/dashboard/sniper",+ "tags": [+ "feature"+ ]+ },+ {+ "date": "2026-06-16",+ "type": "update",+ "title": "Strategy Lab: backtest Oracle strategies before you deploy",+ "summary": "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.",+ "link": "/strategy-lab",+ "tags": [+ "feature"+ ]+ },{"date": "2026-06-16","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex f0f1c2865..83eb97dc5 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -30,6 +30,14 @@<category>launch</category><description>Your privately-stored watchlist of pump.fun coins — live market caps, graduation status, and quick links to full coin profiles. No account required; stored in your browser.</description></item>+ <item>+ <title>3D Visualizer: Oracle conviction and watchlist in token panel</title>+ <link>https://three.ws/pump-visualizer</link>+ <guid isPermaLink="false">2026-06-16:3D Visualizer: Oracle conviction and watchlist in token panel</guid>+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>+ <category>improvement</category>+ <description>The 3D token visualizer now shows Oracle conviction scores when you click any token sphere. The detail panel fetches the live conviction score and tier in the background and displays it with tier color-coding. Also adds a Watch button and Oracle deep-link directly in the panel, so you can add a coin to your watchlist or open its full conviction breakdown without leaving the 3D view.</description>+ </item><item><title>Agent Activity — live oracle trading floor</title><link>https://three.ws/activity</link>@@ -102,6 +110,14 @@<category>feature</category><description>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.</description></item>+ <item>+ <title>Forge: fix 3D model generation on the free NVIDIA lane</title>+ <link>https://three.ws/forge</link>+ <guid isPermaLink="false">2026-06-16:Forge: fix 3D model generation on the free NVIDIA lane</guid>+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>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.</description>+ </item><item><title>Home page now features Oracle — live conviction scores on the front page</title><link>https://three.ws/</link>@@ -230,6 +246,14 @@<category>feature</category><description>Two new tabs on the Oracle page. Activity shows a live trading floor — every Oracle-armed agent action (buy/outcome/PnL) in real time, filterable by mode, tier, and outcome. Agents ranks every conviction agent by their real track record: win rate, realized PnL, and ROI across all graded calls. Subscribe to copy the top performers directly from the leaderboard.</description></item>+ <item>+ <title>Oracle: Conviction-weighted position sizing</title>+ <link>https://three.ws/oracle</link>+ <guid isPermaLink="false">2026-06-16:Oracle: Conviction-weighted position sizing</guid>+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>Oracle agents can now scale their position size by conviction strength. Enable 'Scale by conviction' in the Arm your agent panel to have the engine buy up to 1.5× the base size for the highest-scoring coins (score 100) and 1.0× at the minimum threshold. Positions are still capped by the daily SOL budget — this rewards the highest-conviction calls without increasing risk on lower-scoring entries.</description>+ </item><item><title>Portfolio: Oracle conviction for every token you hold</title><link>https://three.ws/dashboard/portfolio</link>@@ -278,6 +302,22 @@<category>feature</category><description>Agent sniper strategies now support a Min Oracle conviction setting (0–100). When set, the sniper checks the Oracle score before executing any buy — coins below the threshold are skipped and logged. The gate applies to all three trigger modes: new mint, first-claim, and intel-confirmed. Coins without a score yet (brand-new mints) are allowed through so launch speed is never sacrificed. Configure it in the sniper strategy form on the dashboard.</description></item>+ <item>+ <title>Sniper: personal Telegram trade notifications</title>+ <link>https://three.ws/dashboard/sniper</link>+ <guid isPermaLink="false">2026-06-16:Sniper: personal Telegram trade notifications</guid>+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>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.</description>+ </item>+ <item>+ <title>Strategy Lab: backtest Oracle strategies before you deploy</title>+ <link>https://three.ws/strategy-lab</link>+ <guid isPermaLink="false">2026-06-16:Strategy Lab: backtest Oracle strategies before you deploy</guid>+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>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.</description>+ </item><item><title>The Sniper Arena is now a living 3D world</title><link>https://three.ws/play/arena</link>diff --git a/src/oracle.js b/src/oracle.jsindex 0ad9ce2b5..ba3933fbf 100644--- a/src/oracle.js+++ b/src/oracle.js@@ -977,6 +977,10 @@ function renderArmForm() {<div class="t-lab"><b>Require smart money in</b><span>Only act if ≥1 proven wallet has bought</span></div><div class="sw on" id="agSmart" role="switch" aria-checked="true"></div></div>+ <div class="toggle">+ <div class="t-lab"><b>Scale by conviction</b><span id="agScaleSub">1.0× at min score → up to 1.5× at score 100</span></div>+ <div class="sw" id="agScale" role="switch" aria-checked="false"></div>+ </div><div class="toggle"><div class="t-lab"><b>Mode</b><span id="agModeSub">Simulate — logs actions, spends nothing</span></div><div class="sw live" id="agLive" role="switch" aria-checked="false"></div>@@ -990,6 +994,12 @@ function renderArmForm() {// toggleswireSwitch('#agSmart');+ wireSwitch('#agScale', (on) => {+ const sizeInput = $('#agSize');+ $('#agScaleSub').textContent = on+ ? `${Number(sizeInput?.value || 0.05).toFixed(3)} SOL base → up to ${(Number(sizeInput?.value || 0.05) * 1.5).toFixed(3)} SOL at score 100`+ : '1.0× at min score → up to 1.5× at score 100';+ });wireSwitch('#agLive', (on) => { $('#agModeSub').textContent = on ? 'Live — real SOL from the agent wallet (capped)' : 'Simulate — logs actions, spends nothing'; $('#agLive').classList.toggle('on', on); });wireSwitch('#agArm');$('#agCats').addEventListener('click', (e) => { const b = e.target.closest('.cchip'); if (b) b.classList.toggle('on'); });@@ -1021,9 +1031,14 @@ async function loadWatch(agentId) {$('#agDaily').value = w.max_daily_sol ?? 0.5;$('#agOpen').value = w.max_open ?? 5;setSwitch('#agSmart', w.require_smart_money !== false);+ setSwitch('#agScale', !!w.size_scaling);setSwitch('#agArm', !!w.armed);const live = w.mode === 'live'; setSwitch('#agLive', live);$('#agModeSub').textContent = live ? 'Live — real SOL from the agent wallet (capped)' : 'Simulate — logs actions, spends nothing';+ const base = Number(w.per_trade_sol) || 0.05;+ $('#agScaleSub').textContent = w.size_scaling+ ? `${base.toFixed(3)} SOL base → up to ${(base * 1.5).toFixed(3)} SOL at score 100`+ : '1.0× at min score → up to 1.5× at score 100';const cats = new Set(w.categories || []);$$('#agCats .cchip').forEach((b) => b.classList.toggle('on', cats.has(b.dataset.cat)));}@@ -1046,6 +1061,7 @@ async function saveWatch() {max_daily_sol: Number($('#agDaily').value) || 0.5,max_open: Number($('#agOpen').value) || 5,require_smart_money: $('#agSmart').classList.contains('on'),+ size_scaling: $('#agScale').classList.contains('on'),};const { ok, data } = await api('/api/oracle/watch', {method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(payload),diff --git a/tests/oracle/agent-eval.test.js b/tests/oracle/agent-eval.test.jsindex 3e5d770db..21d0b2073 100644--- a/tests/oracle/agent-eval.test.js+++ b/tests/oracle/agent-eval.test.js@@ -59,4 +59,40 @@ describe('evaluateWatch', () => {const d = evaluateWatch({ watch: baseWatch, coin: goodCoin, openCount: 0, spentTodaySol: 0.45 });expect(d.act).toBe(true);});++ describe('size_scaling', () => {+ const scalingWatch = { ...baseWatch, size_scaling: true, min_score: 72, per_trade_sol: 0.1 };++ it('returns base size at the minimum score', () => {+ const d = evaluateWatch({ watch: scalingWatch, coin: { ...goodCoin, score: 72 } });+ expect(d.act).toBe(true);+ expect(d.size).toBe(0.1); // 1.0× at min score+ });++ it('returns 1.5× base at score 100', () => {+ const d = evaluateWatch({ watch: scalingWatch, coin: { ...goodCoin, score: 100 } });+ expect(d.act).toBe(true);+ expect(d.size).toBeCloseTo(0.15, 4); // 1.5× at max+ });++ it('scales proportionally in the middle', () => {+ // score 86 is (86-72)/(100-72) = 14/28 = 0.5 of the range → 1.25×+ const d = evaluateWatch({ watch: scalingWatch, coin: { ...goodCoin, score: 86 } });+ expect(d.act).toBe(true);+ expect(d.size).toBeCloseTo(0.125, 4);+ });++ it('does not scale when size_scaling is false', () => {+ const d = evaluateWatch({ watch: { ...scalingWatch, size_scaling: false }, coin: { ...goodCoin, score: 100 } });+ expect(d.act).toBe(true);+ expect(d.size).toBe(0.1); // no scaling+ });++ it('blocks when scaled size would exceed daily budget', () => {+ // base 0.1 × 1.5 = 0.15; spent 0.45 + 0.15 = 0.60 > 0.5 max+ const d = evaluateWatch({ watch: scalingWatch, coin: { ...goodCoin, score: 100 }, openCount: 0, spentTodaySol: 0.45 });+ expect(d.act).toBe(false);+ expect(d.reason).toMatch(/daily budget/);+ });+ });});