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.

Refactor wallet claim messaging for clarity and verification; enhance market cap checks in alpha hunt strategy; update mayhem filter logic for stricter enforcement; improve trade execution safety checks; introduce market cap band reasoning in scoring; add documentation for custody and trader card features; implement trading arenas and surfaces for enhanced user engagement.

nrpo5987b2ca76e0
diff --git a/.gitignore b/.gitignore
index 5d8a14014..9f5fee220 100644
--- a/.gitignore
+++ b/.gitignore
@@ -319,3 +319,4 @@ Screenshot 2026-07-02 at 3.18.08 PM.png
.verify-tmp.mjs
.verify-runner.sh
+docs/content/social/x-article-backlog-leak.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e37c443e1..cd44c4faf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,10 +6,15 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
## 2026-07-03
+- **Docs · Claim Your Wallet & Trader Card** (`/docs/trader-card`) — Paste any Solana wallet for its on-chain pump.fun track record, then sign one gasless message to publish it as your public Trader Card.
+- **Docs · Competitive & Pooled Trading** (`/docs/trading-arenas`) — Arena tournaments with on-chain $THREE payouts, the 3D Sniper Arena, the Live Trading Theater and its one-click mirror, backable Vaults, and consensus-driven Trading Swarms.
+- **Docs · Custody You Can Verify** (`/docs/custody`) — Spend limits, the freeze switch, Merkle proof-of-custody with in-browser verification, and social recovery & inheritance for agent wallets.
+- **Docs · The Trading Surfaces** (`/docs/trading-surfaces`) — The five-page solo trading stack — Coin Radar, Coin Intelligence, Live Trade Feed, Watchlist, and the Mission Control cockpit — where the numbers come from and how the surfaces chain together.
- **Agents in the ring — platform agents now buy and sell services from each other** — The closed-loop x402 economy is no longer a scheduler paying itself: real platform agents with their own custodial wallets now do the buying. An endpoint-shopper hunts intel and health checks, an Agora citizen tips dancers and pays club cover after finishing work, and a curator buys marketplace listings and billboard slots — each purchase signed by the agent's own key, checked against its personal spend limits, logged to its custody trail, and attributed by agent in the activity feed. The treasury keeps every agent's small USDC float topped up between a floor and a ceiling and sweeps back the overflow, so the money still never leaves platform-controlled wallets. On a slower cadence the agents also touch the chain itself, emitting real on-chain agent-invocation events — visible, verifiable activity, not simulated volume. (`/docs/x402-ring-economy`) `[feature]`
- **Agents no longer buy pump.fun mayhem-mode coins** — Autonomous agent strategies and discretionary agent trades now refuse to buy pump.fun mayhem-mode coins — the high-volatility variant — and trade only regular coins. The check reads the mayhem flag straight off the on-chain bonding curve before any spend, so it can't be spoofed, and it's buy-only: an agent that already holds a mayhem coin can always sell to exit. Blocked buys show up as a clean skip in the activity feed, not an error. `[improvement]`
- **Autonomous trading experiment — take initials, hold a moon bag, never dump the whole bag** — You can now give one agent a real budget and let it trade newer pump.fun launches under a disciplined, documented risk policy. It only buys projects between $10k and $100k market cap, never buys pump.fun Mayhem tokens, and — the important part — it never sells 100% of a winner on the way up. When a position hits 2x it sells just enough to recover the initial stake, then holds the rest as a moon bag that rides on a trailing stop, with a hard stop-loss underneath. Every buy and every sell is written to a trade journal with its reasoning, so you can actually learn what works. Funding is manual from the agent wallet UI; nothing auto-funds, and it runs in simulate mode until you deliberately go live. (`/docs/trading-experiment`) `[feature]`
- **Copy a trader straight from the Live Trading Theater** — Tap any agent on the 3D stage and you can now set one of your own agents to mirror it — it buys what the leader buys, server-signed and sized by a per-trade SOL amount you choose, always capped by your own spend limits. Watching a good trader on stage now leads directly to copying it, no page-hopping. Sells are mirrored too, and you can manage or stop the mirror from your agent's profile at any time. (`/theater`) `[feature]`
+- **Custody and the Trader Card, explained end to end** — Two more guides for the trust layer. Custody You Can Verify walks through the four guarantees on every agent wallet — spend caps enforced before signing, a freeze switch that never blocks your own withdrawal, the six-hourly Merkle proof-of-custody you can re-verify in your own browser, and social recovery with a dead-man’s-switch inheritance flow. Claim Your Wallet explains how any Solana wallet’s pump.fun track record is computed from on-chain aggregates and how one gasless signature publishes it as your shareable Trader Card. (`/docs/custody`) `[docs]`
- **Every paid endpoint now settles — full x402 catalog coverage** — The x402 ring economy now exercises every paid endpoint on the platform, not just a handful. A single canonical catalog covers all 46 paid endpoints — tips, services, market intel, health checks and settlements — each with the exact request it needs to actually go through, read straight from the endpoint that handles it. The autonomous rotation is wired to this catalog and weighted so every safe-to-buy endpoint is paid at least once an hour, with the ones that shouldn't be bought on a loop (real coin mints, AI calls, third-party payouts) held out and verified separately. Several endpoints that would have silently rejected or mis-charged a real payment were fixed at the root: three were reading the request the wrong way and failing every paid call, and the old rotation was calling tip and cosmetic endpoints with the wrong method entirely. The result is continuous, provable coverage — a new paid endpoint now fails the test suite until it's in the catalog. `[feature, improvement]`
- **Every platform wallet is now watched for leaks — and arming a sniper no longer moves money** — Two safety upgrades to how the platform handles money. First, a new on-chain leak scanner watches every wallet the platform controls — the funding masters, all treasuries, the x402 ring wallets — not just a subset, and pages ops within minutes if a single lamport or token ever leaves one of them to an address outside the controlled set. Second, we closed an implicit-funding footgun: previously, simply arming an autonomous trading strategy could cause a master wallet to start pushing real SOL to that agent on a schedule. Now that only happens if the strategy explicitly opts in, and it is off by default, so arming a strategy never moves money on its own. `[security, infra]`
- **Every ring settlement is now proven on-chain — reconciliation blind spot closed** — The closed-loop agent economy settles real USDC through the platform's own facilitator, and until now those settlements were trusted but never verified against the blockchain. A new reconciler runs every 30 minutes and holds the ring to the same standard the funding wallet already meets: every recorded settlement and every treasury→payer sweep from the last 72 hours is checked to exist and succeed on-chain, a sample of each is parsed to prove the exact dollar amount and recipient match the books, and the two internal ledgers are cross-checked so a settlement with no matching spend record — the tell-tale sign of value leaking through our own facilitator — is caught. It also runs a silence alarm: if the ring is switched on but goes quiet for 30 minutes, operators are paged, closing the gap where 'it was working, then it wasn't' used to pass unnoticed. Any missing, failed, or mismatched settlement raises an immediate alert; every finding lands on the finance-integrity board, tagged so ring issues stand apart from the rest. `[security, infra]`
@@ -27,6 +32,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **The leaderboard now shows what each trader made it on** — Every ranked trader now carries their signature coin — the single token they earned (or lost) the most on, with the realized P&L and ROI to match. It shows up right on the leaderboard row next to the name, on the trader's profile as a "Made it on" breakdown of their top three coins (each linking to the coin's on-chain account), and on the shareable PnL card. A new Most Profitable Trader spotlight now crowns the top earner in the selected window at the top of the board — avatar, realized P&L, win rate, and the coin behind the run. Every number is computed from the same on-chain closed-trade ledger the rest of the track record uses, so the coin credited on the leaderboard, the profile, and the card can never disagree — and self-dealt coins a trader launched themselves are excluded from the credit, exactly as they already are from the score. (`/leaderboard`) `[feature, improvement]`
- **The Live Trading Theater got more alive — and shows its guardrails** — A pass of polish across the 3D stage: performers now cast contact shadows so no one floats, the camera pushes in on a marquee fill, the celebration coin scales with the real size of the buy, and receipts show the coin ticker. A new quiet-state heartbeat tells you exactly how long since the last on-chain move instead of a generic 'market is quiet'. There's an opt-in sound toggle that plays a subtle chime on big fills (off by default). And the live tape now surfaces safety refusals — when an agent declines a pump.fun mayhem coin or a rug/honeypot firewall blocks a buy, you see it happen, so the platform's guardrails are visible instead of silent. (`/theater`) `[improvement]`
- **The Live Trading Theater is now a dealing room, not a stage** — The 3D theater has been rebuilt from an abstract stage into a trading dealing room: every agent now stands at its own workstation — a desk with a lit monitor — arranged in staggered rows like a trading pit. Agents without their own avatar are now dressed in a variety of distinct rigged bodies instead of all sharing one mannequin, so the floor reads as a room of individuals. The monitor is a live status light: a resting glow when idle, a green flash when a real buy fills, and an amber flash when a safety rule refuses a bad trade, so you can read the room at a glance. The camera settles into the pit instead of spinning, and you can drop in your own environment (an office/floor backdrop) via a URL parameter without any code change. A new self-healing guard also catches any avatar whose animation misbehaves and quietly swaps in a clean figure, so the floor never shows a broken model. The point of the redesign: the setting now explains what the agents are doing — trading — instead of leaving you to guess why characters were celebrating on a stage. (`/theater`) `[improvement]`
+- **The trading stack is now fully documented** — Two new guides map the whole trading experience. Trading Surfaces covers the five solo pages — Coin Radar, Coin Intelligence, the Live Trade Feed, your Watchlist, and the keyboard-first Mission Control cockpit — including where every number comes from and how the pages chain together. Competitive & Pooled Trading covers the Arena tournaments with real on-chain $THREE payouts, the 3D Sniper Arena floor, the Live Trading Theater with one-click copy trading, backable Vaults, and consensus-driven Trading Swarms. Both are written for someone who has never opened the pages before. (`/docs/trading-surfaces`) `[docs]`
- **Treasury sweepback — every agent wallet cycles back to one root** — The economy's funding root now has a return leg. A scheduled sweep skims surplus SOL and stray token balances from every platform engine wallet back to the single master treasury, with an on-demand full-drain lever for emergencies. Destination is locked in code to the master wallet, every operational float is respected, dust is never moved, and every returned lamport lands on the same tamper-evident ledger that records outbound funding — one wallet funds the fleet, and the fleet settles back to one wallet. `[security, infra]`
- **x402 ring: paid endpoints now settle every minute, cap-coherent** — The platform's x402 endpoints now get paid continuously — a new per-minute ring tick sends a steady stream of real on-chain USDC payments across the catalog: cheap tips and services every minute, plus a larger ring-settle that carries volume for a few cents of network fees. It runs inside its own hard per-tick and daily spend caps, kept fully separate from the existing autonomous loop's budget, and pauses cleanly (with an alert) if the payer wallet dips below its SOL or USDC floor instead of retrying in a loop. We also fixed the long-standing quiet skip where the flagship ring-settle was dropped because its price exceeded a stale cap: the default caps now fit it, a config check flags any mismatch, and any skip is logged loudly with the exact setting to change. (`/docs/x402-ring-economy`) `[feature, infra]`
diff --git a/api/_lib/trade-firewall.js b/api/_lib/trade-firewall.js
index f231e89fd..614f20844 100644
--- a/api/_lib/trade-firewall.js
+++ b/api/_lib/trade-firewall.js
@@ -53,6 +53,40 @@ const PENALTY = Object.freeze({
const BLOCK_SCORE = 45; // at/under this composite → block on warnings alone
const WARN_SCORE = 70; // at/under this → warn
+// Reasons that are too dangerous to buy through on a `warn` verdict. The composite
+// score keeps these as `warn` (so a hiccup never halts a whole fleet), but for a
+// caller that opted into fail-closed enforcement they are hard blocks: we did NOT
+// prove the coin is safe. `criticalFirewallReason` lets such a caller (the sniper
+// at firewall_level='block') refuse the buy instead of proceeding on a warn — the
+// exact hole that was buying honeypots and infinite-mint rugs.
+// simulation_unavailable → the buy→sell round-trip couldn't run: sellability unproven
+// mint_authority_active → dev can mint unlimited supply and dilute you to zero
+// freeze_authority_active→ dev can freeze your token so you can never sell
+// authority_read_failed → couldn't read the mint's authorities at all
+// mint_not_found → the mint account isn't there to vet
+export const CRITICAL_FIREWALL_REASONS = Object.freeze(new Set([
+ 'simulation_unavailable',
+ 'mint_authority_active',
+ 'freeze_authority_active',
+ 'authority_read_failed',
+ 'mint_not_found',
+]));
+
+/**
+ * First critical (unproven-safety) reason in an assessment, or null when none.
+ * Pure — safe to unit-test. Used by fail-closed callers to block a `warn` verdict
+ * whose warnings mean "couldn't verify", not "verified safe".
+ * @param {{ checks?: Array<{status?:string, reason?:string}> }} assessment
+ * @returns {string|null}
+ */
+export function criticalFirewallReason(assessment) {
+ if (!assessment) return null;
+ for (const c of assessment.checks || []) {
+ if (c && c.status !== 'pass' && CRITICAL_FIREWALL_REASONS.has(c.reason)) return c.reason;
+ }
+ return null;
+}
+
function clampScore(n) {
return Math.max(0, Math.min(100, Math.round(n)));
}
diff --git a/data/changelog.json b/data/changelog.json
index 9bb1212e4..04ada761d 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,24 @@
{
"$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-07-03",
+ "title": "The trading stack is now fully documented",
+ "summary": "Two new guides map the whole trading experience. Trading Surfaces covers the five solo pages — Coin Radar, Coin Intelligence, the Live Trade Feed, your Watchlist, and the keyboard-first Mission Control cockpit — including where every number comes from and how the pages chain together. Competitive & Pooled Trading covers the Arena tournaments with real on-chain $THREE payouts, the 3D Sniper Arena floor, the Live Trading Theater with one-click copy trading, backable Vaults, and consensus-driven Trading Swarms. Both are written for someone who has never opened the pages before.",
+ "tags": [
+ "docs"
+ ],
+ "link": "/docs/trading-surfaces"
+ },
+ {
+ "date": "2026-07-03",
+ "title": "Custody and the Trader Card, explained end to end",
+ "summary": "Two more guides for the trust layer. Custody You Can Verify walks through the four guarantees on every agent wallet — spend caps enforced before signing, a freeze switch that never blocks your own withdrawal, the six-hourly Merkle proof-of-custody you can re-verify in your own browser, and social recovery with a dead-man’s-switch inheritance flow. Claim Your Wallet explains how any Solana wallet’s pump.fun track record is computed from on-chain aggregates and how one gasless signature publishes it as your shareable Trader Card.",
+ "tags": [
+ "docs"
+ ],
+ "link": "/docs/custody"
+ },
{
"date": "2026-07-03",
"title": "Oracle folds copycat launch spam into one card",
diff --git a/data/pages.json b/data/pages.json
index 146fae783..5056b16ca 100644
--- a/data/pages.json
+++ b/data/pages.json
@@ -1802,6 +1802,30 @@
"priority": 0.7,
"changefreq": "weekly",
"added": "2026-06-14"
+ },
+ {
+ "path": "/docs/trading-surfaces",
+ "title": "Docs · The Trading Surfaces",
+ "description": "The five-page solo trading stack — Coin Radar, Coin Intelligence, Live Trade Feed, Watchlist, and the Mission Control cockpit — where the numbers come from and how the surfaces chain together.",
+ "added": "2026-07-03"
+ },
+ {
+ "path": "/docs/trading-arenas",
+ "title": "Docs · Competitive & Pooled Trading",
+ "description": "Arena tournaments with on-chain $THREE payouts, the 3D Sniper Arena, the Live Trading Theater and its one-click mirror, backable Vaults, and consensus-driven Trading Swarms.",
+ "added": "2026-07-03"
+ },
+ {
+ "path": "/docs/custody",
+ "title": "Docs · Custody You Can Verify",
+ "description": "Spend limits, the freeze switch, Merkle proof-of-custody with in-browser verification, and social recovery & inheritance for agent wallets.",
+ "added": "2026-07-03"
+ },
+ {
+ "path": "/docs/trader-card",
+ "title": "Docs · Claim Your Wallet & Trader Card",
+ "description": "Paste any Solana wallet for its on-chain pump.fun track record, then sign one gasless message to publish it as your public Trader Card.",
+ "added": "2026-07-03"
}
]
},
diff --git a/docs/content/social/unannounced-backlog.md b/docs/content/social/unannounced-backlog.md
index 9db93751d..4a07e48bc 100644
--- a/docs/content/social/unannounced-backlog.md
+++ b/docs/content/social/unannounced-backlog.md
@@ -4,7 +4,7 @@ The gap list: features that are **shipped** but have **never had an X post** on
**Method.** Cross-referenced four sources against every original @trythreews post (138 tweets scraped 2026-07-03):
1. `data/changelog.json` — 635 `feature`-tagged entries, 2026-04-15 → 2026-07-03
-2. `data/pages.json` — 263 public pages
+2. `data/pages.json` — 374 public pages (per `npm run build:pages`)
3. `STRUCTURE.md` — the full surface map (31 MCP servers, 19 published `@three-ws/*` SDKs)
4. `docs/` + package READMEs — the documentation each post must link as proof
@@ -35,27 +35,27 @@ A feature counts as "announced" only if a tweet actually shows or names it — a
| Copy Trading (non-custodial) | Mirror proven traders on your own guardrails; Oracle gate; Telegram alerts | `/leaderboard` | [packages/copy-mcp/README.md](../../../packages/copy-mcp/README.md), [packages/strategies/README.md](../../../packages/strategies/README.md) |
| Trader Leaderboard | Verified track records — self-dealing excluded | `/leaderboard` | — |
| Smart Money Radar | Follow the wallets that actually win on pump.fun | `/smart-money` | [packages/intel/README.md](../../../packages/intel/README.md) |
-| Coin Radar | Every launch watched, scored, classified live | `/radar` | — |
-| Mission Control | Real-time pump.fun trading terminal, live candlesticks | `/terminal` | — |
-| Trades Terminal | Candlesticks, funder bubblemap, live tape per launch | coin pages | — |
-| Live Trade Feed | Every notable pump.fun win, one public stream | `/trades` | — |
-| Watchlist | Save any coin; live Oracle scores; tier-upgrade alerts | `/watchlist` | — |
-| Coin Intelligence | Per-signal win-rates explain every oracle call | `/coin-intel` | [docs/roadmap/coin-intelligence-engine.md](../../roadmap/coin-intelligence-engine.md) |
+| Coin Radar | Every launch watched, scored, classified live | `/radar` | [docs/trading-surfaces.md](../../trading-surfaces.md) |
+| Mission Control | Keyboard-first pump.fun cockpit — j/k/b/s, express mode, guarded execution | `/terminal` | [docs/trading-surfaces.md](../../trading-surfaces.md) |
+| Trades deep-dive | Candlesticks, funder bubblemap, live tape per coin (inside /trades) | `/trades` | [docs/trading-surfaces.md](../../trading-surfaces.md) |
+| Live Trade Feed | Every notable pump.fun win, one public stream | `/trades` | [docs/trading-surfaces.md](../../trading-surfaces.md) |
+| Watchlist | Save any coin; live Oracle scores; tier-upgrade alerts; shareable ?add= URL | `/watchlist` | [docs/trading-surfaces.md](../../trading-surfaces.md) |
+| Coin Intelligence | The engine's notebook — verdicts, learned weights, funder bubble maps | `/coin-intel` | [docs/trading-surfaces.md](../../trading-surfaces.md) |
| Signal Marketplace | Traders sell paid alpha; agents pay per signal, auto-mirror | `/signals` | [packages/signals-mcp/README.md](../../../packages/signals-mcp/README.md) |
-| The Arena — PvP tournaments | Live trading tournaments, $THREE prizes | `/arena` | — |
-| Sniper Arena (3D) | Watch AI agents trade pump.fun on a 3D floor | `/play/arena` | — |
-| Trading Swarms | Pool capital with other agents, split profits | changelog 2026-06-26 | — |
-| Back-an-Agent Vaults | Copy-trade a verified agent you can watch | `/vaults` | — |
+| The Arena — PvP tournaments | Tournaments with real $THREE payouts and an on-chain attested podium | `/arena` | [docs/trading-arenas.md](../../trading-arenas.md) |
+| Sniper Arena (3D) | Walk a 3D floor of autonomous agents trading live | `/play/arena` | [docs/trading-arenas.md](../../trading-arenas.md) |
+| Trading Swarms | Reputation-weighted consensus trades pooled SOL | `/swarms` | [docs/trading-arenas.md](../../trading-arenas.md) |
+| Back-an-Agent Vaults | Back a verified trader with USDC — own vault wallet, fee on gains only | `/vaults` | [docs/trading-arenas.md](../../trading-arenas.md) |
| Strategy Lab | Backtest Oracle strategies before deploying | `/strategy-lab` | — |
| Strategy Objects | Ownable, forkable strategies you equip | `/strategies` | [packages/strategies/README.md](../../../packages/strategies/README.md) |
| Programmable orders | Limit, stop, trailing, DCA, TWAP, conditional | changelog 2026-06-23 | [packages/strategies/README.md](../../../packages/strategies/README.md) |
| Pre-Launch Radar | Pre-arm a snipe at block-zero, on signal | changelog 2026-06-23 | — |
| Portfolio Command | Net worth, cost basis, P&L attribution, risk | changelog 2026-06-23 | [packages/portfolio-mcp/README.md](../../../packages/portfolio-mcp/README.md) |
| Conversational Trading Copilot | Talk to your agent and it trades | changelog 2026-06-23 | — |
-| Live Trading Theater + copy-a-trader | Watch traders live, copy one from the theater; "made it on" breakdown | `/theater` | — |
+| Live Trading Theater + copy-a-trader | Avatars perform their real on-chain fills; one-click custodial mirror | `/theater` | [docs/trading-arenas.md](../../trading-arenas.md) |
| Autonomous trading experiment | ~10 SOL, take-initials-at-2×, always keeps a moon bag; every decision journaled | homepage widget | [docs/trading-experiment.md](../../trading-experiment.md) |
| Alpha Co-pilot | Agent reads a launch in character, speaks its verdict | `/alpha-copilot` | — |
-| Claim Your Wallet / Trader Card | Verified pump.fun track record in seconds; shareable card | `/claim-wallet` | — |
+| Claim Your Wallet / Trader Card | Paste a wallet → on-chain track record; sign once (gasless) → public card | `/claim-wallet` | [docs/trader-card.md](../../trader-card.md) |
| GMGN smart-money integration | Smart-money directory feeds copy trading | `/gmgn` | — |
| AIXBT market intelligence | Agent-readable market intel | changelog 2026-06-07 | — |
| Market Maker capability | Watch a market-maker defend a coin's floor | `/dashboard/capabilities` | [docs/live-agent-tasks/16-market-maker-floor-defense.md](../../live-agent-tasks/16-market-maker-floor-defense.md) |
@@ -109,9 +109,9 @@ A feature counts as "announced" only if a tweet actually shows or names it — a
| Feature | Hook | Live | Docs |
| --- | --- | --- | --- |
| Plain-English spend rules / Wallet Intents | Tell the wallet what to do — in plain language | changelog 2026-06-23 | [packages/agent-guards/README.md](../../../packages/agent-guards/README.md), [docs/financial-controls.md](../../financial-controls.md) |
-| Self-defending wallet + freeze | Defends itself in real time; freeze in one tap | changelog 2026-06-23 | [docs/financial-controls.md](../../financial-controls.md) |
-| Proof-of-Custody + Custody Integrity | Verify custody on-chain yourself; audit trail; withdraw any time | `/proof`, `/integrity` | — (public doc; internal exists) |
-| Social recovery & inheritance | A funded agent that never dies with its owner | `/guardian` | — |
+| Self-defending wallet + freeze | Defends itself in real time; freeze never blocks owner withdrawal | changelog 2026-06-23 | [docs/financial-controls.md](../../financial-controls.md), [docs/custody.md](../../custody.md) |
+| Proof-of-Custody + Custody Integrity | Merkle attestation every 6h, anchored on-chain, re-verified in your browser | `/proof`, `/integrity` | [docs/custody.md](../../custody.md) |
+| Social recovery & inheritance | Guardians, 48h time-lock, dead-man's switch — keys never move | `/guardian` | [docs/custody.md](../../custody.md) |
| Embodied Finance | Avatars wear their wallet — nameplate, regalia, wealth-tier level-ups | changelog 2026-06-23/24 | — |
| Vanity economy | Grind-bounty market, proof-of-grind gallery, provably-trustless grinding, EVM too | `/vanity/bounties`, `/vanity/gallery`, `/evm-wallet` | [docs/PROTOCOL-vanity.md](../../PROTOCOL-vanity.md), [tutorials/mine-vanity-address.md](../../tutorials/mine-vanity-address.md), [packages/vanity-mcp/README.md](../../../packages/vanity-mcp/README.md) |
| Gasless checkout | Buy skills and assets with no SOL | changelog 2026-06-18 | — |
@@ -281,7 +281,7 @@ Every format show has its own spec in [docs/live-agent-tasks/](../../live-agent-
- **31 MCP servers** in the official registry (tweets have only ever claimed 1–2) — `STRUCTURE.md`
- **19 published zero-dependency SDKs**, 216 green tests — `STRUCTURE.md` SDK table
-- **263 public pages** — `data/pages.json`
+- **374 public pages** — `npm run build:pages` output over `data/pages.json`
- **635 feature entries** shipped since April 15 — `data/changelog.json`
- **40+ tutorials** — `docs/tutorials/`
- **60 real x402 payments per minute** — changelog 2026-06-27 (`[SOURCE: re-verify live at /agent-economy-volume before posting]`)
@@ -292,11 +292,11 @@ Every format show has its own spec in [docs/live-agent-tasks/](../../live-agent-
Per CLAUDE.md, a feature isn't done (or announceable — our posts must link proof a stranger can land on) without a doc. Rows marked **—** above. Highest-priority given the posting order:
-1. **Mission Control / Trades Terminal / Coin Radar / Live Trade Feed / Watchlist** — the whole trading-surface cluster shares zero reader-facing docs; one `docs/trading-surfaces.md` could cover all five.
-2. **Arena + Sniper Arena + Theater + Vaults + Swarms** — competitive/social trading cluster; same treatment.
-3. **Claim Your Wallet / Trader Card** — needed for the copy-trading post.
+1. ~~Mission Control / Coin Radar / Live Trade Feed / Watchlist / Coin Intelligence~~ — **done**: [docs/trading-surfaces.md](../../trading-surfaces.md).
+2. ~~Arena + Sniper Arena + Theater + Vaults + Swarms~~ — **done**: [docs/trading-arenas.md](../../trading-arenas.md).
+3. ~~Claim Your Wallet / Trader Card~~ — **done**: [docs/trader-card.md](../../trader-card.md).
4. **Instant Agent Genesis, Agent Genome, World Lines** — each is a headline feature with no doc at all.
-5. **Proof-of-Custody / Guardian recovery / Embodied Finance** — custody story needs a public doc (internal `AGENT-WALLET-CUSTODY.md` exists but isn't linkable).
+5. ~~Proof-of-Custody / Guardian recovery~~ — **done**: [docs/custody.md](../../custody.md). **Embodied Finance** still needs its doc.
6. **Pump Visualizer, Memetic Launcher, Coin Autopilot** — launch-stack gaps.
7. **Gaussian splats, Scene Capture, Talking Avatar Video, Cinematic FX, Game-Ready export** — creation-pipeline gaps (Game-Ready has only an improvement plan).
8. **Status page, Solana Blinks, Copy-to-AI docs, Credits, Gasless checkout** — small, fast wins.
diff --git a/docs/custody.md b/docs/custody.md
new file mode 100644
index 000000000..0083fae33
--- /dev/null
+++ b/docs/custody.md
@@ -0,0 +1,83 @@
+# Custody you can verify: limits, freeze, proof, recovery
+
+Every three.ws agent gets a custodial Solana wallet so it can act autonomously — trade, pay x402 endpoints, snipe — without you approving every transaction. Custodial is a strong word, so the platform's position is: **provable, not promised**. This doc is the public story of the controls: what limits you can set, what the freeze switch does, how you independently verify custody on-chain, and how a wallet survives a lost account — or its owner.
+
+The four guarantees, each with a verification path:
+
+1. **You cap it.** Opt-in spend limits are enforced server-side before anything is signed.
+2. **You can stop it.** A one-tap freeze pauses every autonomous path — and never blocks your own withdrawal.
+3. **You can check it.** Every wallet's balance is committed into a Merkle attestation on a schedule, and you can re-verify your leaf in your own browser.
+4. **You can lose your keys, or die, without losing the wallet.** Social recovery and a dead-man's-switch inheritance flow transfer ownership — never the secret.
+
+## Spend limits: caps enforced before signing
+
+Limits live per agent and are owner-configurable from the wallet hub (API: `GET/PUT /api/agents/:id/solana/limits`):
+
+- `daily_usd` — rolling 24-hour ceiling, summed over the custody event trail
+- `per_tx_usd` — single-transaction ceiling
+- `withdraw_allowlist` — destinations the wallet may withdraw to
+- Plus a trade-side daily SOL budget for trading agents
+
+Enforcement is uniform: the same policy module gates **every** outbound path — withdrawals, x402 payments, sniper buys, trades. A transaction that would breach a cap is refused with a structured `403` before signing; no funds move. Limits are opt-in (`null` means uncapped) — but they're hard once set. SPL tokens that can't be priced in USD are governed by the allowlist instead, so a price-feed outage can never strand your own withdrawal.
+
+You can also write these rules in plain English — see [financial-controls](financial-controls.md) for the natural-language rules layer and the real-time defense behaviors built on top of this same enforcement point.
+
+## Freeze: the kill switch that can't trap you
+
+`frozen` is a one-tap owner control. When set, **all autonomous spending stops** — trading, sniping, x402 — at the same server-side gate as the limits. Two deliberate asymmetries:
+
+- **Owner withdrawal is never blocked by a freeze.** Freezing a misbehaving agent must not take your funds hostage.
+- During a recovery dispute (below), the wallet is auto-frozen — but that automatic freeze is tracked separately, so it lifts when the dispute resolves without overriding a freeze *you* set.
+
+## Withdraw any time
+
+`POST /api/agents/:id/solana/withdraw` — owner-authenticated, server-signed, idempotent. Destination addresses are validated on-curve (program-derived addresses are rejected), Max-sweeps hold back the rent and fee reserve, and every withdrawal lands in the custody trail and the platform audit log.
+
+## The custody audit trail
+
+Every key recovery, withdrawal, spend, limit change, and freeze toggle is written to the wallet's custody event trail — owner-viewable at `GET /api/agents/:id/solana/custody`. This trail isn't decorative: it's the ledger the rolling daily cap is computed from, and its head is committed into every proof-of-custody leaf (below), which means the attestation also commits to the *history* of the wallet, not just its balance.
+
+## Proof of custody: verify it yourself
+
+Every six hours, an attestation epoch runs:
+
+1. Every custodial wallet's **live mainnet balance** is read.
+2. Each wallet becomes a leaf: agent, address, balance, and the current head of its custody event trail, hashed together.
+3. The leaves build a Merkle tree; the epoch and leaves are persisted.
+4. The root is anchored on Solana as a signed SPL-Memo transaction.
+
+Two public surfaces:
+
+- **[/integrity](https://three.ws/integrity)** — the aggregate view, no sign-in: latest epoch, Merkle root, the anchor transaction, wallet count, total SOL, recent epochs. API: `GET /api/custody/integrity`, `GET /api/custody/anchor?epoch=latest`.
+- **[/proof](https://three.ws/proof)** — your wallet's inclusion proof (owner-only, since it reveals a per-wallet balance). The page fetches your proof and then **re-verifies it in your browser** with an independent verifier: it recomputes your leaf hash from the public fields, walks the Merkle path, and checks the root against the anchor. The prover and verifier share one hashing module, so they cannot silently drift.
+
+Epochs also run a reconciliation pass: any balance drop since the previous epoch must be explained by authorized withdraw/spend events (plus fee tolerance), or it's flagged. "No unexplained outflows" is a checked property, not a slogan.
+
+**Honest limits.** The anchor transaction's network is deployment-configurable and may be Solana devnet rather than mainnet — the anchor reference returned by the API states its network; check it before treating an anchor as mainnet-final. Anchoring is best-effort: if the attester key is unavailable, the epoch's root still exists and is served, with its anchor status marked pending. Balance reads are mainnet regardless.
+
+## Social recovery & inheritance
+
+A funded agent shouldn't die with a lost password — or with its owner. The model is **ownership transfer, never key export**: recovery re-points the agent (and its avatar) to a new owner account. The wallet secret is never decrypted, displayed, or moved; it stays encrypted at rest and the platform simply signs for the new owner afterward. There is nothing for an attacker to intercept.
+
+**Setup (owner):** name up to 10 guardians (by username, @handle, email, or id), an approval threshold (default 2-of-N), and optionally a beneficiary — from the agent's wallet hub (`PUT /api/agents/:id/recovery`).
+
+**Recovery:** a guardian or the beneficiary opens a request nominating the new owner. Safety rails, in order:
+
+- The requester **cannot approve their own takeover** — at least one other guardian must approve.
+- The wallet **auto-freezes for autonomous spend** the moment a request opens (owner withdrawal stays open, as always).
+- Threshold approvals start a **48-hour time-lock** before the transfer can complete.
+- The real owner can cancel instantly at any point — their presence defeats the request.
+- Unmet requests expire after 14 days.
+
+**Inheritance (dead-man's switch):** the owner enables it with an inactivity threshold (7–365 days) and a grace window. "Alive" is inferred from sessions, custody events, usage, or an explicit check-in. When inactivity crosses the line, an inheritance request opens to the beneficiary; it needs guardian confirmation (or the beneficiary's own, if no guardians are set) *and* the grace window; a daily sweep arms, reminds (about a week ahead), and completes; any owner check-in cancels the whole thing.
+
+**The guardian console — [/guardian](https://three.ws/guardian)** — is the inbox for the *other* side: agents where you are the guardian or beneficiary, the active request's story, approval counts, countdowns, and the approve / decline / confirm actions. (Not to be confused with the Guardian *content-safety* model — `@three-ws/guardian` — which is an unrelated AI-moderation surface.)
+
+Every step of recovery and inheritance writes to the custody trail and the audit log, and notifies everyone involved.
+
+## Related
+
+- [Financial controls](financial-controls.md) — plain-English spend rules and real-time wallet defense on these rails
+- [Trading surfaces](trading-surfaces.md) — Mission Control executes through this same guarded path
+- [The trading experiment](trading-experiment.md) — an autonomous agent operating inside these limits, journaled
+- [x402](x402.md) — the payment protocol these wallets spend over
diff --git a/docs/start-here.md b/docs/start-here.md
index 1eb9eb852..53ec4128e 100644
--- a/docs/start-here.md
+++ b/docs/start-here.md
@@ -65,5 +65,7 @@ If you're here to create and share agents rather than write code, follow this pa
- **Just exploring?** → Open [Discover](/discover) to browse agents others have built
- **Creating your first agent** → Go to [/start](/start) — a 5-step wizard walks you through it
- **Meeting avatars in the worlds?** → Press <kbd>I</kbd> on anyone in `/play`, `/city`, a coin world, or `/agora` to see who they are — the [avatar inspector](./avatar-inspector.md) shows their reputation, wallet, and profile
+- **Trading?** → [The trading surfaces](./trading-surfaces.md) maps the solo stack (Radar, Coin Intelligence, Live Trade Feed, Watchlist, Mission Control); [trading arenas](./trading-arenas.md) covers tournaments, the theater, vaults, and swarms; [Oracle](./oracle.md) is the conviction engine underneath all of it
+- **Trusting an agent with money?** → [Custody you can verify](./custody.md) — spend limits, freeze, Merkle proof-of-custody, and social recovery; [claim your wallet](./trader-card.md) turns any pump.fun track record into a public, provable Trader Card
- **Developer docs** → Read the [Introduction](./introduction.md) for the full technical picture
- **Building UI?** → [ui-juice](./ui-juice.md) is the shared game-feel library (count-ups, sparklines, ring gauges, live dots, the "it shipped" ripple) every surface animates with
diff --git a/docs/trader-card.md b/docs/trader-card.md
new file mode 100644
index 000000000..e60395a89
--- /dev/null
+++ b/docs/trader-card.md
@@ -0,0 +1,51 @@
+# Claim Your Wallet: the verified pump.fun track record
+
+Paste any Solana wallet into [/claim-wallet](https://three.ws/claim-wallet) and get its pump.fun track record in seconds — computed from on-chain aggregates, not self-reported. If it's your wallet, sign one message (gasless) and it links to your account as your public **Trader Card** at `three.ws/trader/<wallet>`.
+
+## What the analysis shows
+
+The Wallet Intelligence view renders, for any base-58 address:
+
+- **The KPI row** — realized P&L, win rate, a 0–100 smart-money score gauge, coins traded, and volume
+- **Trade analysis & reputation** — early-win rate, dump rate, and the wallet's archetype label (smart money / sniper / dumper / rugger / fresh / neutral / unproven)
+- **ROI distribution and category mix** — where the wallet's wins actually come from
+- **The trade ledger** — every pump.fun position the engine observed, sortable and filterable, with 7D/30D/all-time windows, each row linking to the coin's launch page
+
+## Where the numbers come from
+
+Nothing here is typed in by the trader. The Oracle smart-money brain continuously indexes pump.fun trading: per-wallet, per-coin buy/sell aggregates observed on-chain, joined with each coin's outcome (graduated, rugged, ATH multiple). Rollup workers grade every indexed wallet into a reputation row — the same pedigree ledger that powers Oracle's WHO pillar ([the conviction engine](oracle.md)). Per-coin P&L is simply `sold − bought` in SOL, with USD as a live enrichment that hides itself rather than guessing when the price feed is down.
+
+If a wallet hasn't been indexed yet (the engine tracks wallets it has observed trading pump.fun launches), the page says "not indexed yet" instead of rendering an empty scorecard.
+
+**One precision worth knowing:** the pasted-wallet view reports *raw* on-chain aggregates. The platform's own [trader leaderboard](https://three.ws/leaderboard) — which ranks three.ws agents — applies a stricter pipeline on top: round-trips on coins the trader launched themselves are split out of the credited record ("self-dealing excluded"), snipe hit-rate only counts mints with a proven on-chain birth, and a verification badge requires minimum closed trades, unique coins, and a churn ceiling. Two truth layers, both honest about what they measure: external wallets get the raw read; verified agents get the audited one. Details in [trading-arenas](trading-arenas.md).
+
+## Claiming: one signature, no gas
+
+Claiming proves you control the wallet and links it to your three.ws account:
+
+1. Connect Phantom, Backpack, or Solflare — the connected key must match the analyzed wallet.
+2. The server issues a nonce message (`POST /api/auth/wallets/nonce-solana`).
+3. You sign it in the wallet — Sign-In With Solana, a message signature, **no transaction and no gas**.
+4. The signature links the address to your account (`POST /api/auth/wallets/link-solana`).
+
+Claiming moves nothing and changes no keys — it's an association, not a migration. If the address was previously linked to another account, the flow offers a takeover, since a fresh signature proves current control.
+
+## The public card
+
+Your claimed record is public at **`three.ws/trader/<wallet>`** — archetype title, smart-money score gauge, win/early/dump rates, the recent pump.fun footprint with Solscan links, and a jump into [Oracle's intel](https://three.ws/oracle) on the same wallet. The share button copies the link.
+
+## API
+
+The preview endpoint is public and cacheable:
+
+```bash
+curl 'https://three.ws/api/traders/preview?wallet=<BASE58_ADDRESS>'
+```
+
+Returns the identity summary, KPI aggregates, and the per-coin ledger — `known:false` for unindexed wallets. Agent-side, the same pedigree data flows through the intel MCP tools ([docs/mcp.md](mcp.md)).
+
+## Related
+
+- [Oracle](oracle.md) — the WHO pillar runs on this same wallet-reputation ledger
+- [Trading arenas](trading-arenas.md) — where a verified track record unlocks tournaments, vaults, and mirrors
+- [Trading surfaces](trading-surfaces.md) — the solo trading stack
diff --git a/docs/trading-arenas.md b/docs/trading-arenas.md
new file mode 100644
index 000000000..e1316694b
--- /dev/null
+++ b/docs/trading-arenas.md
@@ -0,0 +1,62 @@
+# Competitive & pooled trading: Arena, Sniper Arena, Theater, Vaults, Swarms
+
+Solo trading has the [five-surface stack](trading-surfaces.md). This doc covers the five surfaces where trading becomes a *spectator sport or a team sport*: tournaments with $THREE prizes, a 3D floor of autonomous agents, a live theater with one-click copy trading, backable vaults, and capital-pooling swarms.
+
+One shared truth layer underneath all of them: every ranking, prize, and payout on these pages is computed from `agent_sniper_positions` — the table of real, transaction-signed agent trades — through one scoring module (`api/_lib/trader-stats.js`). Same numbers everywhere; wins are provable by Solscan link, and round-trips on a trader's own launched coins are split out of the credited record rather than counted (the anti-self-dealing rule).
+
+| Surface | Route | You are… | Money involved |
+| --- | --- | --- | --- |
+| The Arena | [/arena](https://three.ws/arena) | competing (via your agent) | $THREE prize pools, paid on-chain |
+| Sniper Arena | [/play/arena](https://three.ws/play/arena) | spectating in 3D | none (read-only) |
+| Live Trading Theater | [/theater](https://three.ws/theater) | watching → copying | your agent mirrors real trades |
+| Back-an-Agent Vaults | [/vaults](https://three.ws/vaults) | backing a trader | real USDC deposits & redemptions |
+| Trading Swarms | [/swarms](https://three.ws/swarms) | pooling with other agents | real SOL contributions & payouts |
+
+## The Arena — /arena
+
+PvP trading tournaments. Anyone signed in can **create** one: pick the scoring metric (TraderScore, realized PnL, or ROI%), the window (5 minutes to 30 days), a $THREE prize pool, and the split (default 60/30/10). Anyone can **join** with an agent they own — joining snapshots the agent's all-time baseline, and only positions *opened inside the window* count.
+
+While a tournament runs, standings stream live over SSE every few seconds. Anti-gaming rules are enforced in the scoring, not the honor system: prize eligibility requires a minimum number of closed trades and unique coins, a churn ceiling, and — for prize brackets — trades with real on-chain signatures. Expand any standing row to see the entrant's trade-proof pills, each linking to the transaction on Solscan.
+
+When it ends, the creator **closes** the tournament — which freezes the final ranking and **attests the podium on-chain** (a signed SPL-Memo transaction, `threews.tournament.v1`, linked from the page) — and then **settles** it, which pays each winner their $THREE cut as a real SPL transfer. Settlement is idempotent, and if the prize wallet isn't configured on a deployment the UI says **BLOCKED** with the reason rather than pretending it paid.
+
+Honest limits: close and settle are creator actions today — an ended tournament waits for its creator; there is no auto-settle cron. Practice brackets (no prize) exist for zero-stakes runs.
+
+## Sniper Arena — /play/arena
+
+The 3D trading floor. Autonomous sniper agents trade pump.fun live, and you walk among them: pick a spectator avatar, wander in (WASD or touch joystick), and click any agent to open its drawer — real on-chain track record, Oracle conviction on its recent calls, and its reputation tier. An **Elite Floor** zone is gated by server-computed agent reputation; the client never decides who gets in.
+
+This surface is deliberately read-only — the agents on the floor are run by the autonomous sniper engine, not by buttons in this UI. If no platform agent has a provable record for the window, the board honestly falls back to a live ranking of top public Solana traders (labeled as such, wallets linked to Solscan) rather than showing a fake floor.
+
+## Live Trading Theater — /theater
+
+Agents as performers. The theater renders real avatars on a 3D stage reacting to their own **real confirmed on-chain events** — buys, launches, x402 payments — from the platform's live event feed, with a scrolling tape and a replay rail. Three themed rooms rotate the roster (top-trust agents, newest launches, and more). Click any performer for a read-only HUD: trust score, live wallet balances (SOL/USDC/$THREE), and its Solscan address.
+
+The theater's headline action is **Copy this trader**: signed in, you pick one of your own funded agents, set a fixed SOL size per trade, and start a *mirror*. From then on, the leader's trades fan out to your agent — every mirrored order runs through **your** agent's own spend policy, kill switch, and custody audit trail (see [custody](custody.md)). Unfollow or kill the mirror at any time; a track record and fill history per mirror are queryable.
+
+The **"made it on"** breakdown — which coin actually made each trader's PnL, with per-coin ROI — lives on the [/leaderboard](https://three.ws/leaderboard) page and each trader's profile, both one click from the theater.
+
+## Back-an-Agent Vaults — /vaults
+
+Back a trader with real money, on real terms. Any agent that has **earned the verified-trader badge** (minimum closed trades, unique coins, churn ceiling, self-dealing split out) can open a vault: it gets its **own dedicated custodial wallet** — backer capital is never co-mingled with the trader's personal wallet — plus owner-set terms: performance fee (0–50%, charged *only on realized gain at redemption*), max drawdown, per-trade ceiling, daily budget, per-backer cap.
+
+Backers deposit USDC from their own agent's wallet and receive shares at live NAV — NAV is re-derived from the chain, positions marked to market. The owner trades the pooled capital through real Jupiter swaps within the vault's limits; a drawdown circuit-breaker re-checks NAV after every trade and halts the vault if the floor is breached. Redeem any time at real NAV; if capital is deployed in positions, the redemption pays what's liquid and queues the remainder instead of inventing liquidity. Every movement is audited in the custody event trail, and each vault page shows its live NAV, ROI, positions, pseudonymous backer roster, and full ledger.
+
+## Trading Swarms — /swarms
+
+Pool capital with other agents and let **reputation-weighted consensus** pull the trigger. A swarm is created behind an owned agent with a policy: minimum consensus (default 60%), per-trade cap, per-member share cap, an optional smart-money gate, and take-profit. It gets a dedicated custodial treasury wallet.
+
+Members join with their own agents and contribute real SOL (guarded transfers, per-member caps enforced). The consensus engine's votes are not polls — they're *positions*: a candidate coin is one that member agents already hold with their own money. Each member's vote weight is their 0–100 reputation score; when weighted agreement clears the swarm's threshold (and the smart-money gate, and the firewall), the treasury buys, sized by conviction, and the full vote breakdown is logged and streamed live to the swarm's dashboard. Realized profits distribute pro-rata as real on-chain SOL payouts; exit any time to redeem your share.
+
+Honest limits: consensus trading runs in the long-lived sniper worker. On a deployment where that worker isn't running, swarms still accept joins and contributions and stream their dashboards, but the treasury won't auto-trade until the worker is up.
+
+## How they chain together
+
+Prove yourself solo (the [trading surfaces](trading-surfaces.md) → the [leaderboard](https://three.ws/leaderboard)) → your agent earns the **verified-trader badge** → that badge is the key to bigger stages: enter **Arena** tournaments, get ranked on the **Sniper Arena** floor, perform in the **Theater** where others can mirror you, open a **Vault** so backers fund your size, or lead a **Swarm**. Reputation, computed from provable on-chain results, is the currency that moves you up — and [Oracle](oracle.md) conviction is the intelligence all of these agents are acting on.
+
+## Related
+
+- [Trading surfaces](trading-surfaces.md) — the solo stack (Radar, Mission Control, Trade Feed, Watchlist, Coin Intelligence)
+- [Custody](custody.md) — the spend limits, freeze, and audit rails every mirrored/pooled trade runs through
+- [Oracle](oracle.md) — the conviction engine · [Trading experiment](trading-experiment.md) — one agent's journaled live run
+- [Agent reputation](agent-reputation.md) / [Solana reputation](solana-reputation.md) — how the trust scores are computed
diff --git a/docs/trading-surfaces.md b/docs/trading-surfaces.md
new file mode 100644
index 000000000..9ce999b1b
--- /dev/null
+++ b/docs/trading-surfaces.md
@@ -0,0 +1,137 @@
+# The trading surfaces: Radar, Mission Control, Live Trade Feed, Watchlist, Coin Intelligence
+
+The platform's trading stack is spread across five public pages. Four of them are read-only intelligence — they exist to answer "what's launching, what's real, who's winning" — and one, Mission Control, is the actual cockpit where a signed-in user trades from their agent's wallet. This doc explains what each surface is, where its numbers come from, and how they fit together.
+
+The one-line map:
+
+| Surface | Route | What it answers | Trades? |
+| --- | --- | --- | --- |
+| Coin Radar | [/radar](https://three.ws/radar) | What launched in the last 90 seconds, and is it real? | No |
+| Coin Intelligence | [/coin-intel](https://three.ws/coin-intel) | What did the intel engine learn about every launch? | No |
+| Live Trade Feed | [/trades](https://three.ws/trades) | Which trades actually won, and what did the winner see? | No |
+| Watchlist | [/watchlist](https://three.ws/watchlist) | What are *my* coins doing right now? | Buy via coin card |
+| Mission Control | [/terminal](https://three.ws/terminal) | Everything, live — and execute. | Yes, from your agent wallet |
+
+Everything below is public and works signed-out except executing trades in Mission Control, which requires a signed-in account with a trading agent.
+
+## Where the numbers come from
+
+All five surfaces read the same underlying truth: the Coin Intelligence Engine (`workers/agent-sniper/intel`) watches every new pump.fun coin's first ~90 seconds of trading over the live firehose and persists what it saw — bundle patterns, organic demand, wallet concentration, funder clusters — to Postgres (`pump_coin_intel`, `pump_coin_wallets`, `pump_coin_outcomes`, `pump_intel_weights`). Every number on these pages traces to an on-chain trade the engine observed. When a signal wasn't measured for a coin, the UI says "not measured" — it never renders a fake zero.
+
+On top of that base layer:
+
+- **Oracle conviction** ([the conviction engine](oracle.md)) enriches coins across all five surfaces with its 0–100 fused score and tier.
+- **Price history** (candlesticks) comes from Birdeye with GeckoTerminal fallback.
+- **Live trades** stream over server-sent events from `/api/pump/trades-stream` (PumpPortal websocket, relayed).
+- **Smart-money pedigree** comes from the proven-wallet ledger (`/api/intel/smart-money`).
+
+One naming trap for API users: `/radar` is served by `api/pump/coin-intel.js` and `/coin-intel` is served by `api/pump/intel.js`. The names look swapped; they are two distinct read models over the same engine.
+
+## Coin Radar — /radar
+
+The launch screener. Every new pump.fun coin appears here with the engine's first-90-seconds read: buyers, buy volume, snipe ratio, buy/sell ratio, net flow, concentration, and risk flags (`bundle_launch`, `dev_dumped`, `single_whale`, `low_diversity`, `fresh_wallet_swarm`). A market-pulse banner aggregates the whole tape.
+
+What you can do:
+
+- Filter by narrative category (meme / ai / tech / culture / …) and a minimum-quality slider; sort by buyers, buy volume, and more.
+- Click any coin for the detail drawer: wallet breakdown, top-trader ledger, the full signal grid, and Oracle conviction.
+- **Watch** any coin — one tap adds it to your [Watchlist](#watchlist--watchlist).
+
+The list refreshes every 12 seconds. Fully public, no account.
+
+## Coin Intelligence — /coin-intel
+
+The engine's own notebook, opened to the public. Where Radar is a screener, Coin Intelligence shows you *how the engine thinks*: a 0–100 quality ring and verdict pill (strong / watch / caution / avoid) per coin, the organic-vs-bundle split, timing entropy, fresh-wallet ratio, funder-cluster bubble map, and classified trader labels (smart_money, whale, serial, creator, sniper, bundled…).
+
+Four tabs:
+
+1. **Radar** — scored launch cards, searchable, filterable by category, verdict, and quality.
+2. **Leaderboard** — best-scored coins and confirmed winners.
+3. **Smart-Money Traders** — the cross-coin trader board.
+4. **What it learned** — the learned per-signal weights and outcome distribution. The engine grades its own predictions against real outcomes and shows you the weights it arrived at.
+
+If the engine is still warming up (fresh deploy, empty tables), the page says so honestly instead of rendering blanks. Public, no account, refreshes every 15 seconds.
+
+## Live Trade Feed — /trades
+
+The proof stream. The left rail is a public feed of closed positions where a platform agent turned a meaningful profit — realized PnL, hold time, exit reason, transaction signatures, Oracle context, and how many copiers followed the trade. Filter by time window (1h → all-time) and minimum PnL. $THREE is pinned at the top of the rail.
+
+Click any trade (or paste any mint) and the center pane becomes a full analytics workstation for that coin:
+
+- Candlestick chart with live SSE updates, plus the bonding-curve widget
+- Intel signal gauges (snipe ratio, top-10 concentration) and holder/cohort distribution
+- The **funder bubblemap** — who funded the buying wallets, clustered
+- Smart-money pedigree and a wallet-footprint table with Solscan links and DEV tags
+- The live trade tape, the outcome badge (with ATH multiple), and the agent's economics on the trade (buyback runs and burns)
+
+Every wallet links to Solscan; every coin links onward to its Oracle page. Public, no account.
+
+## Watchlist — /watchlist
+
+Your coins, on one live board — and deliberately device-local. The list lives in your browser's localStorage (never on our servers, no account needed) and syncs across your open tabs. Every other trading surface's **Watch** toggle writes to this same list.
+
+What you get:
+
+- A live status card per coin (market cap, price, graduation state, buy button), refreshing every 90 seconds
+- A summary bar: combined market cap, 24h volume, graduated count
+- Oracle conviction badges on every card, plus a **Movers** section showing the biggest 24h conviction swings among your coins
+- **Tier-upgrade alerts**: flip the alerts toggle and the page fires a browser notification when any watched coin's Oracle tier upgrades
+- A shareable URL — `/watchlist?add=<mint1>,<mint2>` pre-loads coins into a friend's watchlist
+
+Empty state suggests trending coins so the page is never a dead end.
+
+## Mission Control — /terminal
+
+The cockpit. Everything above is fused into one keyboard-first, three-pane terminal — and this is the surface where you can actually pull the trigger, because it trades through your agent's custodial Solana wallet on the server-side guarded path (firewall verdict, MEV protection, spend guards, and the custody audit trail are enforced server-side on every order — the same rails documented in [financial-controls](financial-controls.md)).
+
+The three panes:
+
+1. **Feed** (left) — three switchable sources: the live new-mint firehose (SSE), the intel engine's scored signals, and the sniper's pre-launch radar.
+2. **Focus** (center) — the selected coin's identity, market state, firewall verdict, smart-money read, candlestick chart, and live trade tape.
+3. **Positions** (right) — your agent's open positions with streaming unrealized PnL, spot holdings, and one-tap quick exit.
+
+The keyboard is the point:
+
+| Key | Action |
+| --- | --- |
+| `j` / `k` | Move through the feed |
+| `b` | Buy at the current size preset |
+| `1`–`6` | Switch buy-size presets |
+| `s` | Sell the whole position |
+| `/` | Filter the feed |
+| `x` | Express mode — toggle between confirm-first and instant execution |
+| `?` | Shortcut overlay |
+
+Signed-out, Mission Control is a read-only cockpit; the trade ticket becomes "Sign in to trade." Signed in with a trading agent, orders preview and execute against real pump.fun liquidity.
+
+## How the surfaces chain together
+
+The intended loop: **Radar** (or **Coin Intelligence**) surfaces a launch worth a look → **Watch** it → the **Watchlist** alerts you when Oracle's conviction tier upgrades → open it in **Mission Control** and execute → if the trade wins big, it shows up on the **Live Trade Feed** with the full receipt for everyone else to study. Every coin, on every surface, links to its [Oracle page](oracle.md) for the fused conviction verdict — and armed agents can run the same loop autonomously (see [the trading experiment](trading-experiment.md) and [Oracle's agent loop](oracle.md)).
+
+## API quick reference
+
+All read endpoints are public and IP rate-limited:
+
+```bash
+# Radar list + market pulse
+curl 'https://three.ws/api/pump/coin-intel?stats=1'
+
+# Intel engine: scored feed, leaderboard, learned weights, one coin
+curl 'https://three.ws/api/pump/intel?view=feed&limit=10'
+curl 'https://three.ws/api/pump/intel?mint=<MINT>'
+
+# Winning-trade feed
+curl 'https://three.ws/api/trades/feed'
+
+# Oracle conviction for a batch of mints
+curl 'https://three.ws/api/oracle/batch?mints=<MINT1>,<MINT2>&network=mainnet'
+```
+
+Agents wanting the same intel over MCP: see [docs/mcp.md](mcp.md) (`@three-ws/intel-mcp`, `@three-ws/portfolio-mcp`) — and the paid x402 lanes in [x402-endpoints](x402-endpoints.md).
+
+## Related
+
+- [Oracle — the conviction engine](oracle.md) · [/oracle/docs](https://three.ws/oracle/docs)
+- [The autonomous trading experiment](trading-experiment.md)
+- [Financial controls & custody guardrails](financial-controls.md)
+- [UX flows: crypto trading & analytics](ux-flows/07-crypto-trading-analytics.md) — screen-by-screen walkthrough
diff --git a/docs/ux-flows/07-crypto-trading-analytics.md b/docs/ux-flows/07-crypto-trading-analytics.md
index a29e5e735..6f08c5756 100644
--- a/docs/ux-flows/07-crypto-trading-analytics.md
+++ b/docs/ux-flows/07-crypto-trading-analytics.md
@@ -142,7 +142,7 @@ coin-intel, pump-visualizer and pump-live — adding a coin on any surface shows
4. System: detects tier upgrades vs `wl_last_tiers` and surfaces changes.
5. (optional) Toggle alerts (`#wl-alerts`, `wl_alerts_on`).
6. (optional) Clear list (`#wl-clear`).
- 7. (optional) Click a card → full coin profile (`/launches/<mint>`).
+ 7. (optional) Click a card → the coin's Oracle page (`/oracle/coin/<mint>`).
- **Decision points / branches:** empty list vs populated; tier-upgrade highlighting; alerts on/off; cross-tab storage sync.
- **External calls / dependencies:** `GET /api/pump/coin` (one per watched coin, via coin-status-card).
- **Success state:** private tracked-coin board with live status cards, tier-change detection, deep links back to profiles.
diff --git a/public/changelog.json b/public/changelog.json
index ad20356f8..500d0e5fe 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,11 +1,51 @@
{
- "generated_at": "2026-07-03T16:30:47.376Z",
+ "generated_at": "2026-07-03T17:24:58.906Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
"url": "https://three.ws"
},
"entries": [
+ {
+ "date": "2026-07-03",
+ "type": "launch",
+ "title": "Docs · Claim Your Wallet & Trader Card",
+ "summary": "Paste any Solana wallet for its on-chain pump.fun track record, then sign one gasless message to publish it as your public Trader Card.",
+ "link": "/docs/trader-card",
+ "tags": [
+ "launch"
+ ]
+ },
+ {
+ "date": "2026-07-03",
+ "type": "launch",
+ "title": "Docs · Competitive & Pooled Trading",
+ "summary": "Arena tournaments with on-chain $THREE payouts, the 3D Sniper Arena, the Live Trading Theater and its one-click mirror, backable Vaults, and consensus-driven Trading Swarms.",
+ "link": "/docs/trading-arenas",
+ "tags": [
+ "launch"
+ ]
+ },
+ {
+ "date": "2026-07-03",
+ "type": "launch",
+ "title": "Docs · Custody You Can Verify",
+ "summary": "Spend limits, the freeze switch, Merkle proof-of-custody with in-browser verification, and social recovery & inheritance for agent wallets.",
+ "link": "/docs/custody",
+ "tags": [
+ "launch"
+ ]
+ },
+ {
+ "date": "2026-07-03",
+ "type": "launch",
+ "title": "Docs · The Trading Surfaces",
+ "summary": "The five-page solo trading stack — Coin Radar, Coin Intelligence, Live Trade Feed, Watchlist, and the Mission Control cockpit — where the numbers come from and how the surfaces chain together.",
+ "link": "/docs/trading-surfaces",
+ "tags": [
+ "launch"
+ ]
+ },
{
"date": "2026-07-03",
"type": "update",
@@ -46,6 +86,16 @@
"feature"
]
},
+ {
+ "date": "2026-07-03",
+ "type": "update",
+ "title": "Custody and the Trader Card, explained end to end",
+ "summary": "Two more guides for the trust layer. Custody You Can Verify walks through the four guarantees on every agent wallet — spend caps enforced before signing, a freeze switch that never blocks your own withdrawal, the six-hourly Merkle proof-of-custody you can re-verify in your own browser, and social recovery with a dead-man’s-switch inheritance flow. Claim Your Wallet explains how any Solana wallet’s pump.fun track record is computed from on-chain aggregates and how one gasless signature publishes it as your shareable Trader Card.",
+ "link": "/docs/custody",
+ "tags": [
+ "docs"
+ ]
+ },
{
"date": "2026-07-03",
"type": "update",
@@ -228,6 +278,16 @@
"improvement"
]
},
+ {
+ "date": "2026-07-03",
+ "type": "update",
+ "title": "The trading stack is now fully documented",
+ "summary": "Two new guides map the whole trading experience. Trading Surfaces covers the five solo pages — Coin Radar, Coin Intelligence, the Live Trade Feed, your Watchlist, and the keyboard-first Mission Control cockpit — including where every number comes from and how the pages chain together. Competitive & Pooled Trading covers the Arena tournaments with real on-chain $THREE payouts, the 3D Sniper Arena floor, the Live Trading Theater with one-click copy trading, backable Vaults, and consensus-driven Trading Swarms. Both are written for someone who has never opened the pages before.",
+ "link": "/docs/trading-surfaces",
+ "tags": [
+ "docs"
+ ]
+ },
{
"date": "2026-07-03",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index 08e99bf37..1be18798d 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -6,6 +6,38 @@
<atom:link href="https://three.ws/changelog.xml" rel="self" type="application/rss+xml"/>
<description>What's new on three.ws — features, improvements, and releases, newest first.</description>
<language>en</language>
+ <item>
+ <title>Docs · Claim Your Wallet &amp; Trader Card</title>
+ <link>https://three.ws/docs/trader-card</link>
+ <guid isPermaLink="false">2026-07-03:Docs · Claim Your Wallet &amp; Trader Card</guid>
+ <pubDate>Fri, 03 Jul 2026 12:00:00 GMT</pubDate>
+ <category>launch</category>
+ <description>Paste any Solana wallet for its on-chain pump.fun track record, then sign one gasless message to publish it as your public Trader Card.</description>
+ </item>
+ <item>
+ <title>Docs · Competitive &amp; Pooled Trading</title>
+ <link>https://three.ws/docs/trading-arenas</link>
+ <guid isPermaLink="false">2026-07-03:Docs · Competitive &amp; Pooled Trading</guid>
+ <pubDate>Fri, 03 Jul 2026 12:00:00 GMT</pubDate>
+ <category>launch</category>
+ <description>Arena tournaments with on-chain $THREE payouts, the 3D Sniper Arena, the Live Trading Theater and its one-click mirror, backable Vaults, and consensus-driven Trading Swarms.</description>
+ </item>
+ <item>
+ <title>Docs · Custody You Can Verify</title>
+ <link>https://three.ws/docs/custody</link>
+ <guid isPermaLink="false">2026-07-03:Docs · Custody You Can Verify</guid>
+ <pubDate>Fri, 03 Jul 2026 12:00:00 GMT</pubDate>
+ <category>launch</category>
+ <description>Spend limits, the freeze switch, Merkle proof-of-custody with in-browser verification, and social recovery &amp; inheritance for agent wallets.</description>
+ </item>
+ <item>
+ <title>Docs · The Trading Surfaces</title>
+ <link>https://three.ws/docs/trading-surfaces</link>
+ <guid isPermaLink="false">2026-07-03:Docs · The Trading Surfaces</guid>
+ <pubDate>Fri, 03 Jul 2026 12:00:00 GMT</pubDate>
+ <category>launch</category>
+ <description>The five-page solo trading stack — Coin Radar, Coin Intelligence, Live Trade Feed, Watchlist, and the Mission Control cockpit — where the numbers come from and how the surfaces chain together.</description>
+ </item>
<item>
<title>Agents in the ring — platform agents now buy and sell services from each other</title>
<link>https://three.ws/docs/x402-ring-economy</link>
@@ -38,6 +70,14 @@
<category>feature</category>
<description>Tap any agent on the 3D stage and you can now set one of your own agents to mirror it — it buys what the leader buys, server-signed and sized by a per-trade SOL amount you choose, always capped by your own spend limits. Watching a good trader on stage now leads directly to copying it, no page-hopping. Sells are mirrored too, and you can manage or stop the mirror from your agent's profile at any time.</description>
</item>
+ <item>
+ <title>Custody and the Trader Card, explained end to end</title>
+ <link>https://three.ws/docs/custody</link>
+ <guid isPermaLink="false">2026-07-03:Custody and the Trader Card, explained end to end</guid>
+ <pubDate>Fri, 03 Jul 2026 12:00:00 GMT</pubDate>
+ <category>docs</category>
+ <description>Two more guides for the trust layer. Custody You Can Verify walks through the four guarantees on every agent wallet — spend caps enforced before signing, a freeze switch that never blocks your own withdrawal, the six-hourly Merkle proof-of-custody you can re-verify in your own browser, and social recovery with a dead-man’s-switch inheritance flow. Claim Your Wallet explains how any Solana wallet’s pump.fun track record is computed from on-chain aggregates and how one gasless signature publishes it as your shareable Trader Card.</description>
+ </item>
<item>
<title>Every paid endpoint now settles — full x402 catalog coverage</title>
<link>https://three.ws/changelog</link>
@@ -174,6 +214,14 @@
<category>improvement</category>
<description>The 3D theater has been rebuilt from an abstract stage into a trading dealing room: every agent now stands at its own workstation — a desk with a lit monitor — arranged in staggered rows like a trading pit. Agents without their own avatar are now dressed in a variety of distinct rigged bodies instead of all sharing one mannequin, so the floor reads as a room of individuals. The monitor is a live status light: a resting glow when idle, a green flash when a real buy fills, and an amber flash when a safety rule refuses a bad trade, so you can read the room at a glance. The camera settles into the pit instead of spinning, and you can drop in your own environment (an office/floor backdrop) via a URL parameter without any code change. A new self-healing guard also catches any avatar whose animation misbehaves and quietly swaps in a clean figure, so the floor never shows a broken model. The point of the redesign: the setting now explains what the agents are doing — trading — instead of leaving you to guess why characters were celebrating on a stage.</description>
</item>
+ <item>
+ <title>The trading stack is now fully documented</title>
+ <link>https://three.ws/docs/trading-surfaces</link>
+ <guid isPermaLink="false">2026-07-03:The trading stack is now fully documented</guid>
+ <pubDate>Fri, 03 Jul 2026 12:00:00 GMT</pubDate>
+ <category>docs</category>
+ <description>Two new guides map the whole trading experience. Trading Surfaces covers the five solo pages — Coin Radar, Coin Intelligence, the Live Trade Feed, your Watchlist, and the keyboard-first Mission Control cockpit — including where every number comes from and how the pages chain together. Competitive &amp; Pooled Trading covers the Arena tournaments with real on-chain $THREE payouts, the 3D Sniper Arena floor, the Live Trading Theater with one-click copy trading, backable Vaults, and consensus-driven Trading Swarms. Both are written for someone who has never opened the pages before.</description>
+ </item>
<item>
<title>Treasury sweepback — every agent wallet cycles back to one root</title>
<link>https://three.ws/changelog</link>
diff --git a/public/docs/index.html b/public/docs/index.html
index ad5f2b0f1..ce28aa785 100644
--- a/public/docs/index.html
+++ b/public/docs/index.html
@@ -158,6 +158,12 @@
['mcp-naming', 'Naming', 'Resolve .sol names and agent identities.'],
['mcp-marketplace', 'Marketplace', 'Browse the agent marketplace + skills.'],
]],
+ ['Trading & custody', [
+ ['trading-surfaces', 'Trading surfaces', 'Radar, Coin Intelligence, Trade Feed, Watchlist, Mission Control.'],
+ ['trading-arenas', 'Arenas, vaults & swarms', 'Tournaments, the theater, backable vaults, pooled swarms.'],
+ ['trader-card', 'Trader Card', 'Claim any wallet’s on-chain pump.fun track record.'],
+ ['custody', 'Custody', 'Spend limits, freeze, proof-of-custody, recovery.'],
+ ]],
['On-chain', [
['erc8004', 'ERC-8004', 'On-chain agent registration.'],
['reputation', 'Reputation', 'Reviews, attestations, trust scores.'],
diff --git a/public/features.json b/public/features.json
index 6b1c2bc8d..5aaaee832 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-03T16:30:47.036Z",
+ "generated_at": "2026-07-03T17:24:58.873Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
@@ -2276,6 +2276,46 @@
"indexable": true,
"tags": [],
"showcase": false
+ },
+ {
+ "path": "/docs/trading-surfaces",
+ "title": "Docs · The Trading Surfaces",
+ "description": "The five-page solo trading stack — Coin Radar, Coin Intelligence, Live Trade Feed, Watchlist, and the Mission Control cockpit — where the numbers come from and how the surfaces chain together.",
+ "added": "2026-07-03",
+ "auth": null,
+ "indexable": true,
+ "tags": [],
+ "showcase": false
+ },
+ {
+ "path": "/docs/trading-arenas",
+ "title": "Docs · Competitive & Pooled Trading",
+ "description": "Arena tournaments with on-chain $THREE payouts, the 3D Sniper Arena, the Live Trading Theater and its one-click mirror, backable Vaults, and consensus-driven Trading Swarms.",
+ "added": "2026-07-03",
+ "auth": null,
+ "indexable": true,
+ "tags": [],
+ "showcase": false
+ },
+ {
+ "path": "/docs/custody",
+ "title": "Docs · Custody You Can Verify",
+ "description": "Spend limits, the freeze switch, Merkle proof-of-custody with in-browser verification, and social recovery & inheritance for agent wallets.",
+ "added": "2026-07-03",
+ "auth": null,
+ "indexable": true,
+ "tags": [],
+ "showcase": false
+ },
+ {
+ "path": "/docs/trader-card",
+ "title": "Docs · Claim Your Wallet & Trader Card",
+ "description": "Paste any Solana wallet for its on-chain pump.fun track record, then sign one gasless message to publish it as your public Trader Card.",
+ "added": "2026-07-03",
+ "auth": null,
+ "indexable": true,
+ "tags": [],
+ "showcase": false
}
]
},
diff --git a/public/llms-full.txt b/public/llms-full.txt
index a61e5c924..e1619e13b 100644
--- a/public/llms-full.txt
+++ b/public/llms-full.txt
@@ -1390,6 +1390,30 @@ URL: https://three.ws/events/build-3d-agents-live
A live build session: from a single prompt to an interactive 3D AI agent embedded in any app, in minutes — then a live Q&A. Hosted by three.ws, in partnership with IBM.
+### Docs · The Trading Surfaces
+
+URL: https://three.ws/docs/trading-surfaces
+
+The five-page solo trading stack — Coin Radar, Coin Intelligence, Live Trade Feed, Watchlist, and the Mission Control cockpit — where the numbers come from and how the surfaces chain together.
+
+### Docs · Competitive & Pooled Trading
+
+URL: https://three.ws/docs/trading-arenas
+
+Arena tournaments with on-chain $THREE payouts, the 3D Sniper Arena, the Live Trading Theater and its one-click mirror, backable Vaults, and consensus-driven Trading Swarms.
+
+### Docs · Custody You Can Verify
+
+URL: https://three.ws/docs/custody
+
+Spend limits, the freeze switch, Merkle proof-of-custody with in-browser verification, and social recovery & inheritance for agent wallets.
+
+### Docs · Claim Your Wallet & Trader Card
+
+URL: https://three.ws/docs/trader-card
+
+Paste any Solana wallet for its on-chain pump.fun track record, then sign one gasless message to publish it as your public Trader Card.
+
## Blog
Long-form announcements, launches, and writing from three.ws.
diff --git a/public/llms.txt b/public/llms.txt
index 0805b61da..49fb3b03f 100644
--- a/public/llms.txt
+++ b/public/llms.txt
@@ -252,6 +252,10 @@ Docs, tutorials, and reference.
- [Glossary](https://three.ws/glossary): Plain-English definitions for the crypto and agent terms used across three.ws — no jargon required to get started.
- [Support](https://three.ws/support): Get help with three.ws — report bugs, ask integration questions, reach support and security via GitHub Issues, Discussions, and email, all in one place.
- [Building 3D AI Agents Live](https://three.ws/events/build-3d-agents-live): A live build session: from a single prompt to an interactive 3D AI agent embedded in any app, in minutes — then a live Q&A. Hosted by three.ws, in partnership with IBM.
+- [Docs · The Trading Surfaces](https://three.ws/docs/trading-surfaces): The five-page solo trading stack — Coin Radar, Coin Intelligence, Live Trade Feed, Watchlist, and the Mission Control cockpit — where the numbers come from and how the surfaces chain together.
+- [Docs · Competitive & Pooled Trading](https://three.ws/docs/trading-arenas): Arena tournaments with on-chain $THREE payouts, the 3D Sniper Arena, the Live Trading Theater and its one-click mirror, backable Vaults, and consensus-driven Trading Swarms.
+- [Docs · Custody You Can Verify](https://three.ws/docs/custody): Spend limits, the freeze switch, Merkle proof-of-custody with in-browser verification, and social recovery & inheritance for agent wallets.
+- [Docs · Claim Your Wallet & Trader Card](https://three.ws/docs/trader-card): Paste any Solana wallet for its on-chain pump.fun track record, then sign one gasless message to publish it as your public Trader Card.
## Blog
diff --git a/public/sitemap/index.html b/public/sitemap/index.html
index 6a7c69ff5..e8f4e53df 100644
--- a/public/sitemap/index.html
+++ b/public/sitemap/index.html
@@ -65,7 +65,7 @@
<main class="sm-wrap">
<div class="sm-hero">
<h1>Sitemap</h1>
- <p>All 370 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p>
+ <p>All 374 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p>
<div class="sm-formats">
<a href="/sitemap.xml"><code>sitemap.xml</code> · for search engines</a>
<a href="/llms.txt"><code>llms.txt</code> · for AI agents</a>
@@ -77,7 +77,7 @@
</div>
<div class="sm-filter">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>
- <input id="sm-filter-input" type="search" placeholder="Filter 370 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />
+ <input id="sm-filter-input" type="search" placeholder="Filter 374 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />
<kbd aria-hidden="true">/</kbd>
</div>
<p class="sm-filter-count" id="sm-filter-count" role="status" aria-live="polite"></p>
@@ -1382,7 +1382,7 @@
<section class="sm-section" id="learn">
<header>
- <h2>Learn<span class="sm-count" data-count>46</span></h2>
+ <h2>Learn<span class="sm-count" data-count>50</span></h2>
<p class="sm-section-desc">Docs, tutorials, and reference.</p>
</header>
<ul class="sm-list">
@@ -1708,6 +1708,34 @@
<span class="sm-desc">A live build session: from a single prompt to an interactive 3D AI agent embedded in any app, in minutes — then a live Q&amp;A. Hosted by three.ws, in partnership with IBM.</span>
</a>
</li>
+ <li>
+ <a href="/docs/trading-surfaces">
+ <span class="sm-title">Docs · The Trading Surfaces</span>
+ <span class="sm-path">/docs/trading-surfaces</span>
+ <span class="sm-desc">The five-page solo trading stack — Coin Radar, Coin Intelligence, Live Trade Feed, Watchlist, and the Mission Control cockpit — where the numbers come from and how the surfaces chain together.</span>
+ </a>
+ </li>
+ <li>
+ <a href="/docs/trading-arenas">
+ <span class="sm-title">Docs · Competitive &amp; Pooled Trading</span>
+ <span class="sm-path">/docs/trading-arenas</span>
+ <span class="sm-desc">Arena tournaments with on-chain $THREE payouts, the 3D Sniper Arena, the Live Trading Theater and its one-click mirror, backable Vaults, and consensus-driven Trading Swarms.</span>
+ </a>
+ </li>
+ <li>
+ <a href="/docs/custody">
+ <span class="sm-title">Docs · Custody You Can Verify</span>
+ <span class="sm-path">/docs/custody</span>
+ <span class="sm-desc">Spend limits, the freeze switch, Merkle proof-of-custody with in-browser verification, and social recovery &amp; inheritance for agent wallets.</span>
+ </a>
+ </li>
+ <li>
+ <a href="/docs/trader-card">
+ <span class="sm-title">Docs · Claim Your Wallet &amp; Trader Card</span>
+ <span class="sm-path">/docs/trader-card</span>
+ <span class="sm-desc">Paste any Solana wallet for its on-chain pump.fun track record, then sign one gasless message to publish it as your public Trader Card.</span>
+ </a>
+ </li>
</ul>
</section>
diff --git a/src/claim-wallet.js b/src/claim-wallet.js
index 1b125e1d6..35c727e30 100644
--- a/src/claim-wallet.js
+++ b/src/claim-wallet.js
@@ -597,7 +597,7 @@ function ctaHtml(wallet, data) {
return `<div class="cw-cta claimed">
<div class="cw-cta-body">
<h3>Your Trader Card is live</h3>
- <p>This wallet is verified and linked to your account. Share your record — followers can copy your entries from their own wallet, and you earn a performance fee when they profit.</p>
+ <p>This wallet is verified and linked to your account. Share your record — every number on it traces to an on-chain trade, so anyone you send it to can verify it themselves.</p>
</div>
<div class="cw-cta-actions">
<a class="cw-action primary" href="${esc(traderUrl)}">View Trader Card →</a>
@@ -606,8 +606,8 @@ function ctaHtml(wallet, data) {
</div>`;
}
const lead = STATE.signedIn
- ? `<h3>This is your record — claim it</h3><p>Sign a free, gasless message with this wallet to prove you control it and publish it as your official three.ws Trader Card. Provable, shareable, and open for followers to copy.</p>`
- : `<h3>Own this track record</h3><p>Sign in, then prove control of this wallet to publish it as your official three.ws Trader Card. Followers can copy your entries — and you earn a performance fee on their profits.</p>`;
+ ? `<h3>This is your record — claim it</h3><p>Sign a free, gasless message with this wallet to prove you control it and publish it as your official three.ws Trader Card. Provable, shareable, and verifiable on-chain by anyone.</p>`
+ : `<h3>Own this track record</h3><p>Sign in, then prove control of this wallet to publish it as your official three.ws Trader Card — a public, on-chain-verifiable record anyone can check.</p>`;
const action = STATE.signedIn
? `<button type="button" class="cw-action primary" id="cwClaim2">Claim this wallet →</button>`
: `<a class="cw-action primary" href="/login?next=${encodeURIComponent(`/claim-wallet?wallet=${wallet}`)}">Sign in to claim →</a>`;
diff --git a/workers/agent-sniper/alpha-hunt.js b/workers/agent-sniper/alpha-hunt.js
index 105ac9a7f..a93b0f410 100644
--- a/workers/agent-sniper/alpha-hunt.js
+++ b/workers/agent-sniper/alpha-hunt.js
@@ -61,8 +61,11 @@ export function scoreAlpha(rec, strat) {
}
}
- // max market cap in USD
- const maxMcapUsd = n(strat.alpha_max_mcap_usd);
+ // max market cap in USD. Prefer the standard `max_market_cap_usd` (the field the
+ // owner's $10k–$100k experiment actually sets); fall back to the alpha-only field
+ // for legacy alpha strategies. Reading only `alpha_max_mcap_usd` silently dropped
+ // the ceiling for every experiment strategy — that was a real out-of-band hole.
+ const maxMcapUsd = n(strat.max_market_cap_usd) ?? n(strat.alpha_max_mcap_usd);
if (maxMcapUsd != null) {
// mc_sol_first_seen is in SOL; strategy provides USD cap.
// We store/pass market_cap_usd on rec if available; else skip the check.
diff --git a/workers/agent-sniper/config.js b/workers/agent-sniper/config.js
index 89be1ee8b..92a115a07 100644
--- a/workers/agent-sniper/config.js
+++ b/workers/agent-sniper/config.js
@@ -100,11 +100,14 @@ export function loadConfig() {
// ── Mayhem exclusion (owner rule) ────────────────────────────────────────
// NEVER buy pump.fun "Mayhem"-mode tokens — only regular launches. Reads the
// bonding curve's isMayhemMode once per mint (cached). On by default; set
- // SNIPER_MAYHEM_FILTER=0 to disable. SNIPER_MAYHEM_STRICT=1 skips a buy when
- // the curve can't be read (default allows-on-unknown so a flaky RPC read
- // can't silently halt trading).
+ // SNIPER_MAYHEM_FILTER=0 to disable. FAIL CLOSED by default: when the curve
+ // can't be read we skip the buy, because we can't confirm it isn't Mayhem —
+ // and the owner rule is NEVER buy Mayhem, not "buy when unsure". A fresh
+ // mint's curve exists at creation, so an unreadable read is an RPC hiccup, not
+ // a missing account; the right response is to pass on that coin, not buy blind.
+ // Set SNIPER_MAYHEM_STRICT=0 to restore allow-on-unknown (raw speed).
mayhemFilter: bool('SNIPER_MAYHEM_FILTER', true),
- mayhemStrict: bool('SNIPER_MAYHEM_STRICT', false),
+ mayhemStrict: bool('SNIPER_MAYHEM_STRICT', true),
// Global emergency stop — set SNIPER_GLOBAL_KILL=1 to halt all new buys
// while still letting the position loop manage/exit open positions.
globalKill: bool('SNIPER_GLOBAL_KILL', false),
diff --git a/workers/agent-sniper/executor.js b/workers/agent-sniper/executor.js
index f5237ed8e..e0f64c2db 100644
--- a/workers/agent-sniper/executor.js
+++ b/workers/agent-sniper/executor.js
@@ -9,6 +9,7 @@ import { sql } from '../../api/_lib/db.js';
import { log } from './log.js';
import { loadAgentKeypair } from './keys.js';
import { mayhemGate } from './mayhem-gate.js';
+import { marketCapBandReason } from './scorer.js';
import { recordJournal, journalEntry } from './journal.js';
import { getTradeCtx, signAndSend, submitProtectedTrade } from './trade-client.js';
import { countOpenPositions, getDailySpend } from './strategy-store.js';
@@ -21,7 +22,7 @@ import {
SOL_FEE_HEADROOM_LAMPORTS,
} from '../../api/_lib/agent-trade-guards.js';
import { buildAmmSellInstructions } from './amm-exit.js';
-import { assessTradeSafety, recordFirewallDecision } from '../../api/_lib/trade-firewall.js';
+import { assessTradeSafety, recordFirewallDecision, criticalFirewallReason } from '../../api/_lib/trade-firewall.js';
import { recordDecision } from '../../api/_lib/reasoning-ledger.js';
import { screenPush } from './screen-push.js';
@@ -243,6 +244,16 @@ export async function executeBuy({ cfg, strat, mint, throttle }) {
const mayhem = await mayhemGate(mint.mint, cfg);
if (!mayhem.pass) return skip(tag, mayhem.reason);
+ // 0b. Market-cap band (owner rule: buy only $10k–$100k). Enforced HERE at the
+ // shared chokepoint — not just in scoreMint/scoreIntel — so alpha_hunt,
+ // first_claim, prelaunch_radar and swarm can't bypass the band the way
+ // they did before. FAIL CLOSED: a strategy that declares a band never buys
+ // a coin whose market cap we can't confirm is inside it. Paths that carry
+ // no mcap (e.g. pre-launch triggers) are correctly skipped when a band is
+ // set — you cannot buy "$10k–$100k" on a coin you can't price.
+ const bandReason = marketCapBandReason(mint.market_cap_usd, strat);
+ if (bandReason) return skip(tag, bandReason);
+
// 1. global throttle (platform-wide backstop)
if (!throttle.tryConsume()) return skip(tag, 'global_throttle');
@@ -337,8 +348,27 @@ export async function executeBuy({ cfg, strat, mint, throttle }) {
log.warn?.('firewall_check_failed', { ...tag, message: err?.message });
return null;
});
- if (assessment) {
- const enforced = firewallLevel === 'block' && assessment.verdict === 'block';
+ // FAIL CLOSED. Two ways this used to buy an unvetted rug and no longer does:
+ // 1. assessment === null (the whole firewall threw) → a 'block'-level
+ // strategy must NOT broadcast a coin it never vetted.
+ // 2. verdict === 'warn' but a CRITICAL check (round-trip sim couldn't
+ // run, mint/freeze authority active, authority unreadable) → the
+ // warning means "couldn't prove it's safe", not "safe". Block it.
+ if (!assessment) {
+ if (firewallLevel === 'block') {
+ await sql`
+ UPDATE agent_sniper_positions
+ SET status = 'failed', error = 'firewall_block: firewall_unavailable', closed_at = now()
+ WHERE id = ${posId}
+ `;
+ log.warn('buy blocked — firewall unavailable (fail-closed)', { ...tag });
+ screenPush(`$${(mint.symbol || mint.mint.slice(0, 6)).toUpperCase()} blocked — safety check unavailable`, 'analysis');
+ return { status: 'failed', reason: 'firewall_unavailable' };
+ }
+ // warn/off levels keep the raw-speed escape hatch: proceed without a vet.
+ } else {
+ const critical = criticalFirewallReason(assessment);
+ const enforced = firewallLevel === 'block' && (assessment.verdict === 'block' || !!critical);
recordFirewallDecision({
mint: mint.mint, network: cfg.network, side: 'buy',
verdict: assessment.verdict, score: assessment.score, simulated: assessment.simulated,
@@ -347,13 +377,13 @@ export async function executeBuy({ cfg, strat, mint, throttle }) {
quoteLamports: perTrade, enforced,
}).catch(() => {});
if (enforced) {
- const reason = assessment.reasons?.[0] || 'firewall_blocked';
+ const reason = critical || assessment.reasons?.[0] || 'firewall_blocked';
await sql`
UPDATE agent_sniper_positions
SET status = 'failed', error = ${`firewall_block: ${reason}`.slice(0, 280)}, closed_at = now()
WHERE id = ${posId}
`;
- log.warn('buy blocked by firewall', { ...tag, score: assessment.score, reasons: assessment.reasons });
+ log.warn('buy blocked by firewall', { ...tag, score: assessment.score, critical: critical || null, reasons: assessment.reasons });
screenPush(`$${(mint.symbol || mint.mint.slice(0, 6)).toUpperCase()} blocked by firewall: ${reason}`, 'analysis');
return { status: 'failed', reason: 'firewall_block' };
}
diff --git a/workers/agent-sniper/index.js b/workers/agent-sniper/index.js
index 633515371..ea67bee86 100644
--- a/workers/agent-sniper/index.js
+++ b/workers/agent-sniper/index.js
@@ -176,7 +176,7 @@ async function main() {
if (og.skipped) log.info('oracle unscored — proceeding', { agent: strat.agent_id, mint: rec.mint });
await executeBuy({
cfg, strat, throttle,
- mint: { mint: rec.mint, symbol: rec.symbol, name: rec.name, entry_trigger: 'intel_confirmed', trigger_ref: rec.mint },
+ mint: { mint: rec.mint, symbol: rec.symbol, name: rec.name, market_cap_usd: rec.market_cap_usd, entry_trigger: 'intel_confirmed', trigger_ref: rec.mint },
});
});
})
@@ -198,7 +198,7 @@ async function main() {
if (og.skipped) log.info('oracle unscored — proceeding', { agent: strat.agent_id, mint: rec.mint });
await executeBuy({
cfg, strat, throttle,
- mint: { mint: rec.mint, symbol: rec.symbol, name: rec.name, entry_trigger: 'alpha_hunt', trigger_ref: rec.mint },
+ mint: { mint: rec.mint, symbol: rec.symbol, name: rec.name, market_cap_usd: rec.market_cap_usd, entry_trigger: 'alpha_hunt', trigger_ref: rec.mint },
});
});
}).catch((err) => log.error('alpha score failed', { mint: rec.mint, err: err?.message }));
diff --git a/workers/agent-sniper/scorer.js b/workers/agent-sniper/scorer.js
index acc181c78..59eadc4ad 100644
--- a/workers/agent-sniper/scorer.js
+++ b/workers/agent-sniper/scorer.js
@@ -46,6 +46,28 @@ function tightenMax(stratMax, ceil) {
return Math.min(stratMax, ceil);
}
+/**
+ * Market-cap band gate — the single source of truth for the owner's "buy only
+ * $10k–$100k" rule. The effective band is the per-strategy bound tightened by the
+ * fleet-wide safety band (SNIPER_MIN_MC_FLOOR_USD / SNIPER_MAX_MC_CEIL_USD). It
+ * FAILS CLOSED: an unknown market cap fails the min gate, because we must never
+ * buy blind into a band we can't even price the coin into — that was the rug hole.
+ * Returns a skip reason string when out of band (or unknown while a min exists),
+ * or null when the coin is inside the band / no band is configured.
+ *
+ * Shared by scoreMint, scoreIntel, AND the executeBuy chokepoint so EVERY trigger
+ * path (new_mint / intel / alpha / first_claim / radar / swarm) enforces the same
+ * rule — not just the two scorers that happened to implement it.
+ */
+export function marketCapBandReason(mcUsdRaw, strat) {
+ const mcUsd = n(mcUsdRaw);
+ const minMc = tightenMin(n(strat.min_market_cap_usd), MC_FLOOR);
+ const maxMc = tightenMax(n(strat.max_market_cap_usd), MC_CEIL);
+ if (minMc != null && (mcUsd == null || mcUsd < minMc)) return `mc_below_min:${mcUsd ?? 'n/a'}<${minMc}`;
+ if (maxMc != null && mcUsd != null && mcUsd > maxMc) return `mc_above_max:${Math.round(mcUsd)}>${maxMc}`;
+ return null;
+}
+
/**
* @param {object} mint enriched PumpPortal mint event
* @param {object} strat agent_sniper_strategies row
@@ -60,26 +82,19 @@ export function scoreMint(mint, strat) {
return { pass: false, score: 0, reasons: ['quote_not_sol'] };
}
- const mcUsd = n(mint.market_cap_usd);
- // Effective band = the per-strategy bound tightened by the fleet-wide safety
- // band. An unknown market cap fails a min gate — we never buy blind into a
- // coin we can't even price into the band (that was the rug hole).
- const minMc = tightenMin(n(strat.min_market_cap_usd), MC_FLOOR);
- const maxMc = tightenMax(n(strat.max_market_cap_usd), MC_CEIL);
- if (minMc != null && (mcUsd == null || mcUsd < minMc)) {
- return { pass: false, score: 0, reasons: [`mc_below_min:${mcUsd ?? 'n/a'}<${minMc}`] };
- }
- if (maxMc != null && mcUsd != null && mcUsd > maxMc) {
- return { pass: false, score: 0, reasons: [`mc_above_max:${Math.round(mcUsd)}>${maxMc}`] };
- }
+ const bandReason = marketCapBandReason(mint.market_cap_usd, strat);
+ if (bandReason) return { pass: false, score: 0, reasons: [bandReason] };
const launches = n(mint.creator_launches);
const graduated = n(mint.creator_graduated);
const maxLaunches = n(strat.max_creator_launches);
const minGrad = n(strat.min_creator_graduated);
- // Serial-rugger guard: many launches, none graduated.
- if (maxLaunches != null && launches != null && launches > maxLaunches) {
- return { pass: false, score: 0, reasons: ['creator_too_many_launches'] };
+ // Serial-rugger guard, FAIL CLOSED: many launches → skip; and if a launch cap
+ // is set but the creator's history couldn't be read (enrich timeout), skip too
+ // rather than let a serial rugger slip through on a null. Matches the fail-closed
+ // launch gate in api/_lib/agent-strategy-runtime.js.
+ if (maxLaunches != null && (launches == null || launches > maxLaunches)) {
+ return { pass: false, score: 0, reasons: [launches == null ? 'creator_launches_unknown' : 'creator_too_many_launches'] };
}
if (minGrad != null && (graduated == null || graduated < minGrad)) {
return { pass: false, score: 0, reasons: ['creator_too_few_graduated'] };
@@ -121,15 +136,8 @@ export function scoreIntel(rec, strat, weights = null) {
// Market-cap band first — this is the trigger meant to buy INSIDE the band
// (a coin observed after it pumped into range), so the fleet band applies here
// too. Unknown mcap fails a min gate: never buy what we can't price into band.
- const mcUsd = n(rec.market_cap_usd);
- const minMc = tightenMin(n(strat.min_market_cap_usd), MC_FLOOR);
- const maxMc = tightenMax(n(strat.max_market_cap_usd), MC_CEIL);
- if (minMc != null && (mcUsd == null || mcUsd < minMc)) {
- return { pass: false, score: 0, reasons: [`mc_below_min:${mcUsd ?? 'n/a'}<${minMc}`] };
- }
- if (maxMc != null && mcUsd != null && mcUsd > maxMc) {
- return { pass: false, score: 0, reasons: [`mc_above_max:${Math.round(mcUsd)}>${maxMc}`] };
- }
+ const bandReason = marketCapBandReason(rec.market_cap_usd, strat);
+ if (bandReason) return { pass: false, score: 0, reasons: [bandReason] };
const minQ = n(strat.min_quality_score);
if (minQ != null && (rec.quality_score == null || rec.quality_score < minQ)) {
return { pass: false, score: 0, reasons: [`quality_below_min:${rec.quality_score}`] };