Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

Oracle conviction leaderboard + arena drawer integration

nirholase19fe8940468
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 152b361d7..88588a2d4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,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]`
- **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]`
- **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]`
+- **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]`
- **Oracle — live trade tape and 3D conviction graph in the war room** — Two new war-room surfaces: every coin in Oracle now has a live trade tape inside its drawer that streams every buy and sell in real time, annotated with the trader's archetype — Smart Money, KOL, Sniper, Rugger — the moment it lands on-chain. Known wallets from the reputation graph are labeled inline, so you can see a proven wallet enter in real time without hunting through the holder list. Alongside that, the new 3D conviction graph tab plots every scored coin as a sphere in 3D space: size is conviction score, color is tier, and the graph runs a force-directed physics simulation grouping coins by cultural narrative — meme, AI, tech, culture coins cluster together while you orbit and zoom. Click any sphere to open its full conviction breakdown. Both surfaces are live when you open Oracle. (`/oracle`) `[feature, improvement]`
- **Oracle — one conviction score per launch, and an agent that acts on it** — Oracle is a new way to read pump.fun: instead of a wall of separate metrics, every launch gets one transparent 0–100 conviction score that fuses four reads — WHO is buying it (the proven track record of the wallets in the book), HOW it's being bought (organic vs. a bundle or a single-funder cluster), WHAT it is (a live cultural-narrative read — meme, tech, AI, a news-story meme, a culture or community coin), and HOW it's moving. A hard structural cap means a coordinated bundle or a dumping dev can never read 'strong,' no matter who's in it. Open any coin to see the full breakdown, the exact reasons, and a live 'who's in' panel that labels every early wallet by archetype — smart money, sniper, dumper, rugger — with its real win rate. A wallet leaderboard ranks the proven money, and an honest 'edge' tab shows the realized graduation rate by conviction tier — no backfilled numbers. It also starts sharp on day one: hundreds of known smart-money and KOL wallets are pre-seeded, so the moment one shows up in a launch's order book it's credited immediately, even before the platform has judged it from outcomes. Best of all, you can arm your 3D AI agent to act: it watches the live conviction stream and buys a small position the moment a coin clears your bar, starting in simulate so you can watch it work before any real spend. The more coins and wallets the platform watches, the sharper every score. (`/oracle`) `[feature]`
- **Oracle conviction in the MCP — agents can now read the fused score and the full trader roster** — The pump.fun MCP server now exposes a new get_oracle_conviction tool: it returns the Oracle's fused 0–100 conviction score, tier (prime / strong / lean / watch / avoid), per-pillar breakdown (Pedigree, Structure, Narrative, Momentum), natural-language reasons, badge labels, the complete classified trader roster with reputation labels and win-rates, and the narrative read. The existing get_coin_intel tool has also been upgraded — it now includes the Oracle score inline alongside the raw signals, so a single call is enough for a trade decision. 3D AI agents on the platform can read conviction data and act on it in real time. (`/oracle`) `[feature, sdk]`
@@ -24,6 +25,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Oracle pre-seeded with hundreds of proven smart-money wallets** — Wallet reputation now starts sharp instead of blank. A daily background job pulls the top-100 wallets across seven smart-money cohorts from gmgn.ai — smart degens, pump traders, KOLs, snipers, top devs — and seeds them into the platform's wallet reputation table. Wallets with fewer than five coins traded get the imported label and score; wallets the platform has already observed keep the track record it has built from watching real outcomes. Every Oracle pedigree score from this point on benefits from years of externally-verified wallet history, not just what three.ws has seen itself. (`/oracle`) `[improvement]`
- **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]`
- **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]`
- **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]`
- **Win exit alerts — Telegram fires when an agent's trade resolves profitable** — The Oracle settle-loop now fires a Telegram notification to the signals channel whenever an agent's tracked position resolves as a win (graduated or ATH multiple ≥ 2×). The message shows agent name, realized PnL or peak multiple, conviction tier at entry, size, and direct links to pump.fun, Oracle, and the agent's track record. Simulate-mode wins are labelled [sim] so the channel clearly distinguishes paper trades from live exits. (`/oracle`) `[feature, improvement]`
diff --git a/api/oracle/leaderboard.js b/api/oracle/leaderboard.js
new file mode 100644
index 000000000..ed997d106
--- /dev/null
+++ b/api/oracle/leaderboard.js
@@ -0,0 +1,88 @@
+/**
+ * Oracle — agent conviction leaderboard.
+ *
+ * GET /api/oracle/leaderboard?network=mainnet&limit=20&min_actions=3
+ *
+ * Returns agents ranked by Oracle conviction win rate across their full action
+ * ledger. Only agents with at least `min_actions` resolved (non-open) actions
+ * are included — this prevents 1-trade wonders from dominating. Includes name,
+ * avatar, and summary stats so the caller needs no extra fetch.
+ *
+ * Cache: 120s public CDN.
+ */
+
+import { cors, json, method, rateLimited } from '../_lib/http.js';
+import { limits, clientIp } from '../_lib/rate-limit.js';
+import { sql } from '../_lib/db.js';
+
+const NETWORKS = new Set(['mainnet', 'devnet']);
+
+export default async function handleOracleLeaderboard(req, res) {
+ if (cors(req, res, { methods: 'GET,OPTIONS', origins: '*' })) return;
+ if (!method(req, res, ['GET'])) return;
+
+ const ip = clientIp(req);
+ const rl = await limits.publicIp(ip);
+ if (!rl.success) return rateLimited(res, rl);
+
+ const params = new URL(req.url, 'http://x').searchParams;
+ const network = NETWORKS.has(params.get('network')) ? params.get('network') : 'mainnet';
+ const limit = Math.min(50, Math.max(1, parseInt(params.get('limit') || '20', 10)));
+ const minActions = Math.max(1, parseInt(params.get('min_actions') || '3', 10));
+
+ // Aggregate per agent: count wins, losses, open, realized PnL, total size.
+ // Join agent_identities for display fields. Filter to agents with enough
+ // resolved actions to trust the win rate.
+ const rows = await sql`
+ select
+ a.agent_id,
+ i.name as agent_name,
+ i.image_url as agent_image,
+ count(*)::int as total,
+ count(*) filter (where a.outcome = 'win')::int as wins,
+ count(*) filter (where a.outcome = 'loss')::int as losses,
+ count(*) filter (where a.outcome = 'open' or a.outcome is null)::int as open,
+ coalesce(sum(a.realized_pnl_sol), 0)::float as realized_pnl_sol,
+ coalesce(sum(a.size_sol), 0)::float as deployed_sol
+ from oracle_watch_actions a
+ left join agent_identities i on i.id = a.agent_id
+ where a.network = ${network}
+ group by a.agent_id, i.name, i.image_url
+ having count(*) filter (where a.outcome in ('win','loss')) >= ${minActions}
+ order by
+ round(
+ count(*) filter (where a.outcome = 'win')::numeric /
+ nullif(count(*) filter (where a.outcome in ('win','loss')), 0) * 100
+ ) desc nulls last,
+ count(*) desc
+ limit ${limit}
+ `.catch(() => []);
+
+ const agents = rows.map((r, idx) => {
+ const resolved = r.wins + r.losses;
+ const win_rate = resolved > 0 ? Math.round((r.wins / resolved) * 100) : null;
+ const roi_pct = r.deployed_sol > 0
+ ? Math.round((r.realized_pnl_sol / r.deployed_sol) * 100)
+ : null;
+ return {
+ rank: idx + 1,
+ agent_id: r.agent_id,
+ name: r.agent_name || null,
+ image_url: r.agent_image || null,
+ trader_url: `https://three.ws/trader/${encodeURIComponent(r.agent_id)}`,
+ total: r.total,
+ wins: r.wins,
+ losses: r.losses,
+ open: r.open,
+ win_rate,
+ realized_pnl_sol: +Number(r.realized_pnl_sol).toFixed(4),
+ roi_pct,
+ };
+ });
+
+ return json(res, 200, {
+ network,
+ min_actions: minActions,
+ agents,
+ }, { 'cache-control': 'public, max-age=120, s-maxage=120' });
+}
diff --git a/data/changelog.json b/data/changelog.json
index 7a0ecb739..c07eb3b40 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": "Leaderboard: Oracle Conviction Rankings — agents ranked by conviction win rate",
+ "summary": "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.",
+ "tags": ["feature"],
+ "link": "/leaderboard"
+ },
{
"date": "2026-06-16",
"title": "Sniper Strategies dashboard — manage autonomous trading agents",
diff --git a/pages/leaderboard.html b/pages/leaderboard.html
index 561a3d736..2613a998b 100644
--- a/pages/leaderboard.html
+++ b/pages/leaderboard.html
@@ -142,6 +142,30 @@
<div id="lb-state" class="lb-state" aria-live="polite"></div>
+ <!-- Oracle Conviction Rankings -->
+ <section class="lb-oracle-section" aria-label="Oracle conviction leaderboard" id="lb-oracle-section">
+ <div class="lb-oracle-head">
+ <div class="lb-oracle-title-row">
+ <span class="lb-oracle-icon" aria-hidden="true">◎</span>
+ <h2 class="lb-oracle-title">Oracle Conviction Rankings</h2>
+ <span class="lb-oracle-badge">Agent win rates · all-time</span>
+ </div>
+ <a class="lb-oracle-link" href="/oracle">Open Oracle →</a>
+ </div>
+ <p class="lb-oracle-sub">Agents ranked by Oracle conviction win rate — how often their fused conviction score led to a confirmed win. Requires at least 3 resolved calls.</p>
+ <div class="lb-oracle-board-wrap">
+ <div class="lb-oracle-board-head" role="row" aria-hidden="true">
+ <span class="lb-col-rank">#</span>
+ <span class="lb-col-trader">Agent</span>
+ <span class="lb-col-num">Win rate</span>
+ <span class="lb-col-num">Actions</span>
+ <span class="lb-col-num lb-hide-sm">Realized P&amp;L</span>
+ <span class="lb-col-num lb-hide-sm">ROI</span>
+ </div>
+ <div id="lb-oracle-rows" class="lb-oracle-rows" aria-live="polite" aria-busy="true"></div>
+ </div>
+ </section>
+
<aside class="lb-ticker-wrap" aria-label="Recent closed trades">
<h2 class="lb-ticker-title">Latest closes</h2>
<div id="lb-ticker" class="lb-ticker"></div>
diff --git a/pages/play/arena.html b/pages/play/arena.html
index 0b38bd6af..d9ca55674 100644
--- a/pages/play/arena.html
+++ b/pages/play/arena.html
@@ -203,6 +203,25 @@
.dw-sim { font-size: 9px; color: var(--faint); }
.dw-cta { display: flex; gap: 8px; margin-top: 18px; }
.dw-cta .btn { flex: 1; justify-content: center; }
+ .dw-oracle-h { display: flex; align-items: center; gap: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 18px 2px 10px; }
+ .dw-oracle-h::after { content: ''; flex: 1; height: 1px; background: var(--line); }
+ .dw-oracle-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
+ .dw-oracle-kpi { background: var(--panel-solid); padding: 9px 11px; }
+ .dw-oracle-kpi span { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-bottom: 3px; }
+ .dw-oracle-kpi b { font: 700 13px/1.1 var(--mono); }
+ .dw-oracle-kpi b.up { color: var(--up); } .dw-oracle-kpi b.down { color: var(--down); }
+ .dw-oracle-actions { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 4px; }
+ .dw-oracle-action { display: grid; grid-template-columns: 10px 1fr auto 40px; gap: 6px; align-items: center; background: var(--panel-solid); padding: 7px 11px; font-size: 12px; text-decoration: none; color: var(--ink); }
+ .dw-oracle-action:hover { background: rgba(255,255,255,0.04); }
+ .dw-oracle-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
+ .dw-oracle-dot.win { background: var(--up); }
+ .dw-oracle-dot.loss { background: var(--down); }
+ .dw-oracle-dot.open { background: #fbbf24; }
+ .dw-oracle-dot.flat { background: var(--muted); }
+ .dw-oracle-sym { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+ .dw-oracle-tier { font-size: 9.5px; color: var(--faint); text-transform: uppercase; text-align: center; }
+ .dw-oracle-peak { font: 600 12px/1 var(--mono); text-align: right; }
+ .dw-oracle-peak.up { color: var(--up); }
@media (max-width: 560px) {
.drawer { top: auto; left: 0; right: 0; width: 100%; max-width: none; height: 82vh; border-left: none; border-top: 1px solid var(--line);
border-radius: 18px 18px 0 0; transform: translateY(calc(100% + 24px)); }
diff --git a/public/changelog.json b/public/changelog.json
index 3488b6f8a..ed7cebe32 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-16T05:08:59.044Z",
+ "generated_at": "2026-06-16T05:19:45.702Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -98,6 +98,16 @@
"improvement"
]
},
+ {
+ "date": "2026-06-16",
+ "type": "update",
+ "title": "Leaderboard: Oracle Conviction Rankings — agents ranked by conviction win rate",
+ "summary": "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.",
+ "link": "/leaderboard",
+ "tags": [
+ "feature"
+ ]
+ },
{
"date": "2026-06-16",
"type": "update",
@@ -191,6 +201,16 @@
"improvement"
]
},
+ {
+ "date": "2026-06-16",
+ "type": "update",
+ "title": "Sniper Strategies dashboard — manage autonomous trading agents",
+ "summary": "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.",
+ "link": "/dashboard/sniper",
+ "tags": [
+ "feature"
+ ]
+ },
{
"date": "2026-06-16",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index 56bfb58d6..bcf880391 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -78,6 +78,14 @@
<category>improvement</category>
<description>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.</description>
</item>
+ <item>
+ <title>Leaderboard: Oracle Conviction Rankings — agents ranked by conviction win rate</title>
+ <link>https://three.ws/leaderboard</link>
+ <guid isPermaLink="false">2026-06-16:Leaderboard: Oracle Conviction Rankings — agents ranked by conviction win rate</guid>
+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>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.</description>
+ </item>
<item>
<title>Oracle — live trade tape and 3D conviction graph in the war room</title>
<link>https://three.ws/oracle</link>
@@ -150,6 +158,14 @@
<category>improvement</category>
<description>Every /launches/&lt;mint&gt; 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.</description>
</item>
+ <item>
+ <title>Sniper Strategies dashboard — manage autonomous trading agents</title>
+ <link>https://three.ws/dashboard/sniper</link>
+ <guid isPermaLink="false">2026-06-16:Sniper Strategies dashboard — manage autonomous trading agents</guid>
+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>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.</description>
+ </item>
<item>
<title>The Sniper Arena is now a living 3D world</title>
<link>https://three.ws/play/arena</link>
diff --git a/public/features.json b/public/features.json
index 95715b639..7ddc3e7fb 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-16T05:08:59.023Z",
+ "generated_at": "2026-06-16T05:19:45.687Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/src/leaderboard.css b/src/leaderboard.css
index 1e1dfd68b..2f81efcb2 100644
--- a/src/leaderboard.css
+++ b/src/leaderboard.css
@@ -441,11 +441,118 @@
.lb-btn-primary { background: var(--accent); color: var(--btn-primary-fg); border-color: transparent; }
.lb-btn:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: var(--focus-ring-offset); }
+/* ---- Oracle Conviction Rankings ---- */
+.lb-oracle-section {
+ margin: var(--space-2xl) 0 var(--space-xl);
+ border: 1px solid var(--stroke);
+ border-radius: var(--radius-xl);
+ overflow: hidden;
+ background: var(--surface-1);
+}
+.lb-oracle-head {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: var(--space-md);
+ padding: var(--space-lg) var(--space-lg) 0;
+}
+.lb-oracle-title-row {
+ display: flex;
+ align-items: center;
+ gap: var(--space-sm);
+}
+.lb-oracle-icon {
+ font-size: 20px;
+ color: var(--accent);
+}
+.lb-oracle-title {
+ font-size: var(--text-lg);
+ font-weight: 700;
+ letter-spacing: -0.01em;
+}
+.lb-oracle-badge {
+ font-size: 10.5px;
+ font-weight: 600;
+ text-transform: uppercase;
+ letter-spacing: .06em;
+ color: var(--ink-dim);
+ padding: 3px 9px;
+ border-radius: var(--radius-pill);
+ background: var(--surface-2);
+ border: 1px solid var(--stroke);
+}
+.lb-oracle-link {
+ font-size: 13px;
+ color: var(--accent);
+ text-decoration: none;
+ white-space: nowrap;
+ flex-shrink: 0;
+}
+.lb-oracle-link:hover { text-decoration: underline; }
+.lb-oracle-sub {
+ font-size: 13px;
+ color: var(--ink-dim);
+ padding: var(--space-xs) var(--space-lg) var(--space-md);
+ line-height: 1.5;
+}
+.lb-oracle-board-wrap {
+ border-top: 1px solid var(--stroke);
+}
+.lb-oracle-board-head {
+ display: grid;
+ grid-template-columns: 36px minmax(0, 2.4fr) 0.9fr 0.8fr 1.1fr 0.8fr;
+ align-items: center;
+ gap: var(--space-xs);
+ padding: var(--space-sm) var(--space-md);
+ font-size: var(--text-2xs);
+ text-transform: uppercase;
+ letter-spacing: 0.06em;
+ color: var(--ink-faint);
+ background: var(--surface-2);
+ border-bottom: 1px solid var(--stroke);
+}
+.lb-oracle-rows { display: flex; flex-direction: column; }
+.lb-oracle-row {
+ display: grid;
+ grid-template-columns: 36px minmax(0, 2.4fr) 0.9fr 0.8fr 1.1fr 0.8fr;
+ align-items: center;
+ gap: var(--space-xs);
+ padding: var(--space-sm) var(--space-md);
+ border-bottom: 1px solid var(--hairline);
+ text-decoration: none;
+ color: inherit;
+ transition: background var(--duration-fast) var(--ease-standard);
+}
+.lb-oracle-row:last-child { border-bottom: 0; }
+.lb-oracle-row:hover { background: var(--surface-2); }
+.lb-oracle-row .lb-rank { color: var(--ink-faint); font: 600 13px/1 var(--font-mono); }
+.lb-oracle-row[data-rank='1'] .lb-rank { color: #fcd34d; }
+.lb-oracle-row[data-rank='2'] .lb-rank { color: #d4d4d8; }
+.lb-oracle-row[data-rank='3'] .lb-rank { color: #d8a06a; }
+.lb-oracle-row .lb-col-num { text-align: right; font-variant-numeric: tabular-nums; font: 600 13.5px/1 var(--font-mono); }
+.lb-oracle-empty {
+ padding: var(--space-xl) var(--space-md);
+ text-align: center;
+ color: var(--ink-dim);
+ font-size: 13px;
+}
+.lb-oracle-empty a { color: var(--accent); }
+.lb-oracle-sk {
+ display: block;
+ height: 44px;
+ border-bottom: 1px solid var(--hairline);
+ background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-1) 37%, var(--surface-2) 63%);
+ background-size: 400% 100%;
+ animation: lb-shimmer 1.4s infinite;
+}
+
/* ---- Responsive ---- */
@media (max-width: 880px) {
.lb-hide-md { display: none !important; }
.lb-board-head,
.lb-row { grid-template-columns: 30px minmax(0, 2.2fr) 0.9fr 1.1fr 0.9fr 0.8fr 0.8fr 88px; }
+ .lb-oracle-board-head,
+ .lb-oracle-row { grid-template-columns: 30px minmax(0, 2.2fr) 0.9fr 0.8fr 1.1fr 0.8fr; }
}
@media (max-width: 620px) {
.lb-shell { padding: var(--space-lg) var(--space-sm) var(--space-xl); }
@@ -456,6 +563,9 @@
.lb-board-head,
.lb-row { grid-template-columns: 26px minmax(0, 1.7fr) 0.8fr 1fr 70px; }
.lb-avatar { width: 32px; height: 32px; }
+ .lb-oracle-board-head,
+ .lb-oracle-row { grid-template-columns: 26px minmax(0, 1.7fr) 0.9fr 0.8fr; }
+ .lb-oracle-head { flex-direction: column; align-items: flex-start; gap: var(--space-xs); padding-bottom: var(--space-xs); }
}
@media (prefers-reduced-motion: reduce) {
diff --git a/src/leaderboard.js b/src/leaderboard.js
index 141cec522..4677e0c46 100644
--- a/src/leaderboard.js
+++ b/src/leaderboard.js
@@ -256,6 +256,65 @@ function ambientField() {
draw();
}
+// --- Oracle Conviction Rankings -------------------------------------------
+async function loadOracleLeaderboard() {
+ const container = document.getElementById('lb-oracle-rows');
+ if (!container) return;
+ container.innerHTML = [1, 2, 3, 4, 5].map(() => '<span class="lb-oracle-sk"></span>').join('');
+ container.setAttribute('aria-busy', 'true');
+
+ let data;
+ try {
+ const r = await fetch('/api/oracle/leaderboard?network=mainnet&limit=10&min_actions=3');
+ if (!r.ok) throw new Error(`HTTP ${r.status}`);
+ data = await r.json();
+ } catch {
+ container.innerHTML = `<div class="lb-oracle-empty">Could not load conviction rankings — <a href="/oracle">browse Oracle →</a></div>`;
+ container.setAttribute('aria-busy', 'false');
+ return;
+ }
+
+ const agents = data.agents || [];
+ if (agents.length === 0) {
+ container.innerHTML = `<div class="lb-oracle-empty">No agents with enough resolved conviction calls yet. <a href="/oracle">Explore Oracle →</a></div>`;
+ container.setAttribute('aria-busy', 'false');
+ return;
+ }
+
+ container.innerHTML = '';
+ for (const a of agents) {
+ const img = a.image_url
+ ? `<img class="lb-avatar" src="${escapeHtml(a.image_url)}" alt="" loading="lazy" onerror="this.remove()" />`
+ : `<span class="lb-avatar">${identicon(a.agent_id)}</span>`;
+ const name = escapeHtml(a.name || a.agent_id.slice(0, 8) + '…');
+ const wr = a.win_rate != null
+ ? `<span class="${a.win_rate >= 60 ? 'lb-pos' : a.win_rate >= 40 ? '' : 'lb-neg'}">${a.win_rate}%</span>`
+ : '—';
+ const wl = `${a.wins}W · ${a.losses}L${a.open > 0 ? ` · ${a.open}↗` : ''}`;
+ const pnl = a.realized_pnl_sol != null
+ ? `<span class="${pnlClass(a.realized_pnl_sol)}">${fmtSol(a.realized_pnl_sol)}</span>`
+ : '—';
+ const roi = a.roi_pct != null
+ ? `<span class="${pnlClass(a.roi_pct)}">${a.roi_pct > 0 ? '+' : ''}${a.roi_pct}%</span>`
+ : '—';
+
+ const row = document.createElement('a');
+ row.className = 'lb-oracle-row';
+ row.href = `/trader/${encodeURIComponent(a.agent_id)}`;
+ row.setAttribute('data-rank', String(a.rank));
+ row.innerHTML = `
+ <span class="lb-rank">${a.rank}</span>
+ <span class="lb-trader">${img}<span class="lb-trader-meta"><span class="lb-trader-name">${name}</span></span></span>
+ <span class="lb-col-num">${wr}</span>
+ <span class="lb-col-num lb-neg" style="font-size:12px;color:var(--ink-dim)">${wl}</span>
+ <span class="lb-col-num lb-hide-sm">${pnl}</span>
+ <span class="lb-col-num lb-hide-sm">${roi}</span>
+ `;
+ container.appendChild(row);
+ }
+ container.setAttribute('aria-busy', 'false');
+}
+
// --- Boot --------------------------------------------------------------------
readUrl();
syncControlsToState();
@@ -263,3 +322,4 @@ wireControls();
ambientField();
load();
startTimer();
+loadOracleLeaderboard();
diff --git a/src/play/arena.js b/src/play/arena.js
index 390029c69..007c3ab83 100644
--- a/src/play/arena.js
+++ b/src/play/arena.js
@@ -270,14 +270,64 @@ async function openAgentDrawer(id) {
drawerAbort = new AbortController();
try {
const r = await fetch(`/api/sniper/trader?agent_id=${encodeURIComponent(id)}&network=${NETWORK}&window=all`, { signal: drawerAbort.signal });
- if (!r.ok) throw new Error(r.status === 404 ? 'This trader isn’t public yet.' : `HTTP ${r.status}`);
+ if (!r.ok) throw new Error(r.status === 404 ? ‘This trader isn’t public yet.’ : `HTTP ${r.status}`);
renderAgentDrawer(await r.json(), id);
+ enrichDrawerWithOracle(id);
} catch (e) {
- if (e.name === 'AbortError') return;
+ if (e.name === ‘AbortError’) return;
body.innerHTML = `<div class="dw-empty"><b>Couldn’t load this trader</b>${esc(e.message)}<br/><a href="/trader/${encodeURIComponent(id)}" target="_blank" rel="noopener">Open full profile ↗</a></div>`;
}
}
+async function enrichDrawerWithOracle(id) {
+ try {
+ const r = await fetch(`/api/oracle/agent-stats?agent_id=${encodeURIComponent(id)}&network=${NETWORK}&limit=5`);
+ if (!r.ok) return;
+ const data = await r.json();
+ const s = data.summary;
+ if (!s || s.total === 0) return;
+ const body = $(‘drawerBody’);
+ if (!body) return;
+ const cta = body.querySelector(‘.dw-cta’);
+ if (!cta) return;
+
+ const wrVal = s.win_rate;
+ const wr = wrVal != null ? `<b class="${wrVal >= 50 ? ‘up’ : ‘down’}">${wrVal}%</b>` : ‘<b>—</b>’;
+ const pnlVal = s.realized_pnl_sol;
+ const pnlStr = pnlVal != null
+ ? `<b class="${pnlVal >= 0 ? ‘up’ : ‘down’}">${pnlVal >= 0 ? ‘+’ : ‘’}${Number(pnlVal).toFixed(3)}</b>`
+ : ‘<b>—</b>’;
+ const openStr = s.open > 0 ? ` · ${s.open} open` : ‘’;
+
+ const actions = (data.recent_actions || []).slice(0, 5);
+ const actionsHtml = actions.map((a) => {
+ const outcome = a.outcome || ‘open’;
+ const tier = a.tier || ‘’;
+ 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">
+ <span class="dw-oracle-dot ${outcome}"></span>
+ <span class="dw-oracle-sym">${sym}</span>
+ <span class="dw-oracle-tier">${tier}</span>
+ <span class="dw-oracle-peak${peakCls}">${peak}</span>
+ </a>`;
+ }).join(‘’);
+
+ const block = document.createElement(‘div’);
+ block.innerHTML = `
+ <div class="dw-oracle-h">Oracle conviction</div>
+ <div class="dw-oracle-kpis">
+ <div class="dw-oracle-kpi"><span>Actions</span><b>${s.total}${openStr}</b></div>
+ <div class="dw-oracle-kpi"><span>Win rate</span>${wr}</div>
+ <div class="dw-oracle-kpi"><span>Realized</span>${pnlStr}</div>
+ </div>
+ ${actions.length > 0 ? `<div class="dw-oracle-actions">${actionsHtml}</div>` : ‘’}
+ `;
+ body.insertBefore(block, cta);
+ } catch { /* non-fatal */ }
+}
+
function closeAgentDrawer() {
$('agentDrawer').classList.remove('open');
if (drawerAbort) { drawerAbort.abort(); drawerAbort = null; }
diff --git a/vercel.json b/vercel.json
index 46305d536..b4dc8cfc1 100644
--- a/vercel.json
+++ b/vercel.json
@@ -183,6 +183,10 @@
"includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}",
"maxDuration": 30
},
+ "api/oracle/leaderboard.js": {
+ "includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}",
+ "maxDuration": 30
+ },
"api/copy/executions.js": {
"includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}",
"maxDuration": 30
@@ -1845,6 +1849,10 @@
"src": "/api/oracle/agent-stats",
"dest": "/api/oracle/agent-stats.js"
},
+ {
+ "src": "/api/oracle/leaderboard",
+ "dest": "/api/oracle/leaderboard.js"
+ },
{
"src": "/api/copy/executions",
"dest": "/api/copy/executions.js"