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.

Add comprehensive documentation for Oracle conviction engine, detailing scoring methodology, pillars, agent actions, and API references

nirholasf37ef13b986d
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 678f90f43..ea63bc996 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -19,6 +19,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Oracle 3D graph is visible again** — The Oracle's 3D conviction graph — every scored coin as a sphere you can orbit, with size showing the conviction score and brightness showing the tier — was rendering as a black void: the spheres were lit only by a near-black ambient light and carried no glow of their own, so nothing showed even though the data was loading fine. Each coin now self-illuminates in its tier color and feeds the bloom pass, with real key and rim lighting giving the spheres depth. Prime coins burn brightest, and the whole constellation reads clearly against the dark backdrop. Open it from the Oracle's "3D graph" tab. (`/oracle`) `[fix]`
- **Oracle coin pages now show full live market data** — Open any coin in the Oracle and you now get its complete live market picture next to the conviction score — real-time price with 5-minute, 1-hour, 6-hour and 24-hour changes, market cap, fully-diluted value, liquidity, 24-hour volume, holder count and supply. Pre-graduation pump.fun coins show a bonding-curve progress bar; graduated coins show their all-time-high market cap. A security panel flags whether the mint and freeze authorities are revoked, whether metadata is locked, any transfer tax, and top-10 holder concentration. Listed coins add their CoinGecko rank plus all-time high and low, and every coin lists its live DEX markets and social links. It's fused in real time from DexScreener, pump.fun, GeckoTerminal, GoPlus, Birdeye and CoinGecko, with graceful fallback if any single source is down. (`/oracle`) `[feature, improvement]`
- **Oracle now holds a creator's launch history against the score** — The conviction engine was designed to read a coin creator's track record — a dev with three or more launches and zero graduations caps the final score at 45, while a creator who has shipped graduated coins earns a pedigree boost. That creator signal was being computed but never wired into the live fused score. It now is: serial-rug creators can no longer reach high conviction tiers on the strength of their buyers alone, and proven shippers get the credit their record earns. (`/oracle/docs`) `[fix]`
+- **Oracle now tells you how much a score can be trusted** — Every conviction verdict now ships a data-confidence reading — a 0–100 score of how much of the read rests on real observed data versus defaulted inputs, weighted the same way the four pillars are. A high score on a coin the platform has barely observed is a lead to watch, not a call to size into, and Oracle now says so: coins built on thin data wear a thin-data badge, the coin drawer shows the exact percentage, and armed agents refuse to spend real money on thin-data launches unless their owner explicitly opts in. Two more fixes landed alongside: a serial-rug creator now adds a clear creator-flag badge so you can see why a high-pedigree coin got ceilinged, and the narrative classifier now actually reads a coin's description and social links (it was being run blind), so virality reads are sharper. (`/oracle/docs`) `[improvement, fix]`
- **Press I on any avatar to see who they really are** — Every 3D world now has an avatar inspector. Press I (or click an avatar's nameplate) in /play, a coin world, /city, or /agora and a panel opens on whoever you're looking at: their name, the agent they pilot, its 0–100 trust score with the full pillar breakdown, its wallet — address, net worth, SOL and $THREE holdings, tips received — and a link to the full profile. Everything comes from the same public endpoints the wallet hub reads, so the numbers never disagree; a guest with no wallet shows an honest empty state, never an invented number. In Agora the same key opens the citizen passport you could already click. (`/play`) `[feature]`
- **Sign-in: fixed a hidden check that could silently block the Sign in button** — The proof-of-human puzzle that only appears after repeated failed sign-ins was being placed on the page from the very first load, even while hidden. Because it carries a required checkbox the browser can't focus while it's off-screen, some browsers would quietly refuse to submit the sign-in form — you'd click Sign in and nothing happened, with no error to explain why. The puzzle is now added only at the moment it's actually needed, so normal sign-ins submit cleanly and the console warning it produced is gone. (`/login`) `[fix]`
diff --git a/api/_lib/oracle/agent-eval.js b/api/_lib/oracle/agent-eval.js
index 871a397bd..580841567 100644
--- a/api/_lib/oracle/agent-eval.js
+++ b/api/_lib/oracle/agent-eval.js
@@ -56,6 +56,19 @@ export function evaluateWatch({ watch, coin, openCount = 0, spentTodaySol = 0 })
return block('no proven wallet in yet');
}
+ // Data-confidence gate. A high score built on mostly-defaulted inputs is a lead
+ // to watch, not a call to size real money into. Block coins the engine flagged
+ // as thin-data unless the owner explicitly opts in (allow_thin_data). Also honor
+ // an explicit numeric floor when the coin carries a confidence value.
+ const badges = Array.isArray(coin.badges) ? coin.badges : [];
+ if (badges.includes('thin-data') && !watch.allow_thin_data) {
+ return block('thin data — score rests on defaulted inputs');
+ }
+ const minConf = Number(watch.min_confidence) || 0;
+ if (minConf > 0 && coin.confidence != null && Number(coin.confidence) < minConf) {
+ return block(`data confidence ${Number(coin.confidence)} below ${minConf}`);
+ }
+
// Concurrency + budget caps.
if (openCount >= (Number(watch.max_open) || 5)) {
return block(`at max open positions (${openCount})`);
diff --git a/api/_mcp/tools/oracle.js b/api/_mcp/tools/oracle.js
index b3b80de44..d35044465 100644
--- a/api/_mcp/tools/oracle.js
+++ b/api/_mcp/tools/oracle.js
@@ -178,6 +178,11 @@ export const toolDefs = [
const payload = {
network, ...play,
+ // How much of the verdict rests on real data vs. defaulted inputs.
+ // Agents should scale conviction in this: a high score with low
+ // data_confidence is a lead to watch, not a call to size into.
+ data_confidence: v.confidence ?? null,
+ data_confidence_label: v.confidenceLabel ?? null,
market_cap_usd: scored.intel?.marketCapUsd ?? null,
graduated: scored.intel?.graduated ?? false,
creator: scored.intel?.creator ?? null,
diff --git a/content/agent-skills.md b/content/agent-skills.md
new file mode 100644
index 000000000..ec535d489
--- /dev/null
+++ b/content/agent-skills.md
@@ -0,0 +1,230 @@
+# Skills: how agents on three.ws learn, sell, and prove what they can do
+
+*Long-form X article. The complete story of the three.ws skills system: the SKILL spec, the sandbox, the marketplace, per-call x402 pricing, $THREE hold-to-access, the on-chain license program, verifiable skill invocation events, every platform feature wired to it, tutorials, and the honest limits. $THREE is the only coin.*
+
+An AI agent is only as useful as the things it can actually do. Most platforms answer that with a fixed toolbox: the vendor ships ten tools, you get ten tools, and every agent on earth is the same agent wearing a different name. The capability layer, the part that should be the most alive, is the most closed.
+
+Skills are our answer to that. A skill on three.ws is a portable, content-addressed bundle of files that teaches any compatible agent a new capability: the instructions the LLM reads, the tool schema it can call, and the sandboxed code that runs when it calls it. Skills install from any URL, publish to a real marketplace, charge real USDC per call through x402, mint real 1 of 1 SPL NFTs as licenses, and emit verifiable invocation events on Solana. The full pipeline, from a folder of four files to a paid, licensed, on-chain-verifiable capability, is live now. The spec is `specs/SKILL_SPEC.md`, the developer reference is three.ws/docs/skills, and the marketplace is three.ws/skills.
+
+This is everything about it.
+
+## Why we built it
+
+**First, capability should be data, not deployment.** On three.ws, an agent is defined by a manifest: a body, a brain, and a list of skills. Adding a capability should never mean redeploying a platform. A skill is a directory of static files served from anywhere: HTTPS, IPFS, or Arweave. Publish once, install everywhere. It is the npm model applied to embodied AI, and like npm, the value is not any single package. It is the ecosystem the format makes possible.
+
+**Second, the people who teach agents should get paid.** A skill author who writes a great trading playbook or a clean tool integration is producing real value for every agent that installs it. So the marketplace is not a gallery. Authors set a per-call price, and the x402 settlement for every invocation routes directly to the author's wallet. Not to a platform balance you request a withdrawal from. To your wallet, per call, in USDC.
+
+**Third, access should be provable without trusting us.** A database row that says "this user bought this skill" is a promise from us. An on-chain license is a fact about the world. Every purchased skill can mint a 1 of 1 SPL NFT into the buyer's wallet plus a deterministic program account anyone can read. If three.ws disappeared tomorrow, the licenses would still be there, still verifiable, by anyone, forever.
+
+## The system at a glance
+
+1. **The format.** A skill is a bundle of up to four files: `manifest.json`, `SKILL.md`, `tools.json`, `handlers.js`, plus optional assets like animation clips and prompts. Spec version `skill/0.1`.
+2. **The runtime.** Agents install skills from URIs at startup or at runtime. Instructions are injected into the system prompt, tool schemas are merged into the LLM's tool list, and handler code runs in a Web Worker sandbox with no DOM access.
+3. **The marketplace.** three.ws/skills, inside the marketplace at /marketplace, backed by `GET /api/skills`: search, categories, popularity, ratings, one-click install, publishing, and a seeded library of 115 real skills across 11 categories.
+4. **The money.** Two engines. Marketplace skills charge per call through `GET /api/x402/skill-call`, settling to the author's wallet. Agent-listed skills price through `agent_skill_prices` with trials, time passes, pay-what-you-want, NFT gates, and a $THREE holder gate.
+5. **The licenses.** The `skill_license` Anchor program mints a 1 of 1 SPL NFT plus a `SkillLicense` PDA per purchase. Anyone verifies ownership with one RPC read or the public endpoint `GET /api/skills/license-onchain`.
+6. **The receipts.** The `agent_invocation` program records agent-to-agent skill calls on-chain as `SkillInvoked` events, live on mainnet and devnet.
+
+## The skill format, in depth
+
+A skill is a directory. That is the whole trick. No build step, no server, no registry account.
+
+```
+wave/
+ manifest.json required: identity, version, compatibility, integrity
+ SKILL.md required: instructions the LLM reads
+ tools.json required if the skill exposes tools
+ handlers.js optional: the code that runs each tool
+ clips/ optional assets: animation GLBs
+ prompts/ optional prompt templates
+```
+
+**`manifest.json`** declares `spec: "skill/0.1"`, a name, a semver version, and three contract sections. `requires` states compatibility: which avatar rigs it works with, the minimum runtime, and which built-in tools it depends on. `dependencies` maps other skill URIs to version ranges, and the runtime installs them recursively before the depending skill, with circular dependencies detected and rejected. `provides` declares the tools and semantic trigger tags the skill adds. An optional `integrity` block carries SHA-256 hashes for each file, verified before any handler executes, and an optional `author` field carries the publisher's wallet, which the trust system enforces.
+
+**`SKILL.md`** is the part most systems get wrong. It is not documentation for humans. It is an instruction fragment written directly to the model: frontmatter with a name, description, trigger tags, and a cost hint (`low`, `medium`, `high`, which controls eager versus lazy loading), then a markdown body that tells the LLM when to use the tool, how to choose parameters, and what not to do. The runtime wraps the body in a `<skill name="..." version="...">` tag before injecting it into the system prompt, so the model can attribute which skill each instruction came from.
+
+**`tools.json`** defines the callable functions in the standard tool-use schema (`input_schema`, with types, enums, defaults, and constraints). Before each LLM call the runtime merges the schemas of every installed skill into one tool list. If two skills expose the same tool name, the later install wins and a warning is logged.
+
+**`handlers.js`** is an ES module exporting one async function per tool. Each handler receives the validated arguments and a context object, `ctx`, which is the only door out of the sandbox: `ctx.viewer` for scene control (play a clip, set an expression, look at the camera, move the avatar), `ctx.llm` for completions and embeddings, `ctx.memory` for reads, writes, and timeline notes, `ctx.loadClip` and `ctx.loadGLB` for assets resolved against `ctx.skillBaseURI`, `ctx.fetch` for network with normal CORS rules, `ctx.call` for cross-skill tool calls, and `ctx.speak` and `ctx.listen` for voice. Every `ctx` call times out after 30 seconds and surfaces as an error object instead of crashing the agent.
+
+A skill without `handlers.js` is still valid. It is a declarative skill: pure prompt engineering plus assets. A persona skill that only ships a `SKILL.md` needs no code and is always safe to load.
+
+### The sandbox and the trust ladder
+
+Handler code from the open internet runs inside your agent, so the default posture is containment. Handlers execute in a Web Worker with no DOM, no `window`, no `localStorage`, and no cookies. The worker receives handler source as text and loads it through a `blob:` URL import, which means handler code cannot import external modules at all. Every `ctx` call becomes a validated postMessage round trip to the main thread, and non-serializable objects like animation clips are represented in the worker as opaque handles.
+
+On top of the sandbox sits a per-agent trust policy: `owned-only` (the default, only skills whose `author` matches the agent owner's wallet), `whitelist` (a configured list of publisher wallets), or `any` (for kiosks and demos). Owner-trusted skills that genuinely need main-thread access, direct Three.js work or per-frame ticks, can opt out with `sandboxPolicy: "trusted-main-thread"` in the manifest, and that opt-out is ignored for `any`-trust skills. Integrity hashes, when present, are checked before execution.
+
+### How an agent consumes a skill
+
+Install paths are deliberately boring. Reference the skill in the agent's manifest (`skills: [{ uri, version }]`), pass a JSON array to the `<agent-3d>` web component's `skills` attribute, or call `el.agent.skills.install({ uri })` at runtime. URIs can be HTTPS, `ipfs://` (resolved through a gateway fallback chain), or `ar://`. The load sequence: fetch the manifest, enforce trust, verify integrity, check rig compatibility, install dependencies, fetch the remaining files in parallel, merge the tools, inject the instructions. From that moment the LLM can call the skill's tools like any built-in. The host page can watch it all through three events on the element: `perform-skill`, `skill-done`, and `skill-error`, and a `skill-done` result carrying a sentiment value drives the avatar's empathy layer.
+
+Every agent also ships seven built-ins from `src/agent-skills.js` (greet, present-model, validate-model, remember, think, sign-action, help), and the ones flagged as MCP-exposed are callable by external tools through `/api/mcp` as `skill_<name>`.
+
+## The marketplace
+
+three.ws/skills is the storefront, and it lives inside the marketplace at /marketplace. It is backed by a real catalog, the `marketplace_skills` table, read through `GET /api/skills` with server-side search, category filtering, three sort orders (popular, new, alphabetical), and keyset pagination. `GET /api/skills/categories` returns live category counts, and the UI renders them as filter chips. A market pulse marquee streams the most recent skill purchases across the whole marketplace, agent cards summarize their paid skills with a lowest per-call price, and every skill has ratings and reviews. /marketplace/analytics shows top skills, top agents, and sales volume; /collection shows everything you have unlocked.
+
+The catalog launched seeded with 115 real skills across 11 categories: development (33), trading (15), protocol (14), analysis (13), defi (12), security (8), portfolio (7), general (6), news (3), community (2), and wallet (2). These are working knowledge and tool packs, not filler rows: market analysis frameworks, gas optimization playbooks, protocol integration guides, security checklists.
+
+Publishing is one authenticated call: `POST /api/skills` with a name, a slug, a description, a category, tags, and either a `schema_json` tool definition, a markdown `content` body of up to 200,000 characters, or both, plus a `price_per_call_usd` between 0 and 10 dollars. Installing is `POST /api/skills/:id/install`, idempotent, with an uninstall on DELETE.
+
+There is a second, older marketplace surface that matters just as much: per-agent skill pricing. Any agent owner can price the skills their own agent executes through `/api/agents/:id/skills-pricing`. A listing there is richer than a flat price: fixed or pay-what-you-want pricing with a floor, up to 10 free trial uses, time passes (1 to 720 hours of unlimited access for a flat amount), and a gate type of `price` or `nft`, where an NFT gate grants access to holders of a specific collection instead of selling it at all.
+
+## Monetization, engine one: x402 paid skills
+
+x402 is the HTTP 402 payment protocol: a client hits an endpoint, receives a structured payment challenge, pays in USDC on Base or Solana, retries with proof, and gets the resource. three.ws runs a full catalog of paid endpoints (see three.ws/.well-known/x402.json), and two of them are the commercial spine of the skills system.
+
+**`GET /api/x402/skill-call?skill=<slug>`** is the per-call meter for marketplace skills. The caller pays the skill's `price_per_call_usd` in USDC and receives the skill's executable payload: its tool schema and content, ready for the calling agent to run. Settlement routes straight to the skill author's wallet. It is genuinely per call: there is no sign-in re-access grant, so every invocation is a fresh payment, which is exactly what per-call pricing should mean. Free skills are rejected here with a 409 and fetched for free through the normal catalog instead.
+
+**`GET /api/x402/skill-marketplace`** is the paid index of everything three.ws agents charge for, one tenth of a cent per query. It lists active listings across all agents with price atomics, chain, trial and time-pass terms, and, when filtered by skill name, the cheapest provider, so a paying agent can route work to the best price instead of picking blindly. The POST side adds analytics modes: `price_distribution` returns the min, max, and median listing price (our own autonomous loop pays for this every five minutes to detect price floor erosion), `popular` returns the most-purchased skills over the last seven days from the real hires ledger, and `canary_execute` smoke-tests the execution path against a two-second latency budget. The platform is its own paying customer here, which is the strongest honesty check an API can have.
+
+For human buyers, the access decision is one function, `hasSkillAccess`, checked by every endpoint that executes a paid skill. It resolves in strict priority order: an NFT gate (verified live on-chain and fail-closed, so an RPC error denies rather than unlocks), then free skills, then a confirmed one-time purchase honoring time passes, then an agent-level subscription, then a creator subscription tier that includes the skill, and only last a trial with remaining uses, so a trial is never burned when something stronger already grants access.
+
+## Monetization, engine two: $THREE hold-to-access
+
+The second engine monetizes by holding, not spending. A wallet's live USD value of $THREE (`FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`) resolves to a membership tier: Member at the floor, then Bronze at $25, Silver at $100, Gold at $500, and Genesis at $2,500. Tiers carry compute discounts from 5 to 30 percent and free-quota multipliers from 2x to 10x, and gate premium features. A blocked request returns a structured `402 three_hold_required` that tells the caller exactly what tier it has, what tier it needs, how many dollars of $THREE close the gap, and, where offered, a pay-per-use price instead. Tier checks degrade to the Member floor on any RPC or price hiccup, never to an error, and signed tier passes let services verify a holder with pure HMAC and zero chain reads. The holder-facing ladder lives at three.ws/three, and it only ever marks a perk Live when the gate is actually wired, which is enforced in code by the registry's `enforced` flag.
+
+Skills plug into this lever directly: any agent can require that callers of its paid skills hold a minimum $THREE balance. The gate is checked in the agent x402 executor before the skill runs, and a caller who fails it gets a 402 telling them to acquire $THREE, with their payment not consumed, so they can top up and retry without losing anything. Holding the platform's coin is itself an access key.
+
+## On-chain licenses: the SPL NFT plus PDA model
+
+The database answer to "does this wallet own skill X on agent Y" works, but you have to trust us to run it, keep it online, and not edit it. The `skill_license` Anchor program (program id `EdngSwxmDktyrr4phwGEZnCXEoQ27vgnBtowjhKa7Wr8`, the same on every cluster) makes the answer public chain state.
+
+When a purchase is confirmed, the backend's authorized minter calls `mint_skill_license` and two things are created from one deterministic seed triple:
+
+- **A 1 of 1 SPL NFT** in the buyer's wallet: zero decimals, supply locked at exactly one by removing the mint authority at mint time. This is the asset. It is visible in any wallet, and it is transferable, which makes the license real property rather than a row.
+- **A `SkillLicense` PDA** derived from `["skill_license", owner, agent_mint, sha256(skill_name)]`, holding the owner, the agent's grouping mint, the NFT mint, the purchase date, a `revoked_at` field, and the skill name. This is the queryable record: one `getAccountInfo`, no token account enumeration, and anyone on earth can re-derive the address and read it. Skill names can run to 64 bytes, longer than Solana's 32-byte seed limit, so the name is hashed with SHA-256 to form the seed, and the JS client computes the identical hash so both sides derive the same addresses.
+
+The design has teeth in both directions. Because the license, mint, and token account are all PDAs from the same triple, a second mint for the same owner, agent, and skill fails on-chain, so purchases are idempotent. Because the owner never signs the mint (only the backend's minter does, after payment verification), nobody can self-mint a free license. The owner can `burn_skill_license` to destroy the NFT and reclaim all rent. And the refund path is honest: `revoke_skill_license` freezes the holder's token account through the freeze authority retained at mint and stamps `revoked_at`, leaving the PDA readable so verifiers see the revoked state instead of a vanished record.
+
+Verification is free and needs no account: `GET /api/skills/license-onchain?wallet=<pubkey>&skill=<name>&agent_id=<uuid>` reads the PDA straight from the chain and returns `owned`, `exists`, `revoked`, the license and NFT addresses, and an explorer link. Or skip our API entirely: the npm package `@three-ws/skill-license` derives the same addresses the Rust seeds produce and answers `verifyLicense(...)` with one RPC call against any provider you choose. That is the point. The check works without us.
+
+Alongside the program-owned path, `POST /api/skills/mint` mints a Metaplex Core receipt asset into a per-agent collection after a confirmed purchase, idempotently, one NFT per purchase, and only into a wallet linked to the buyer's account.
+
+## On-chain invocation events
+
+Licenses prove ownership. The `agent_invocation` program proves usage. It is a deliberately minimal Anchor program, deployed live at `AgEntJDMi1A7UadCoYcx6Fm3gusNk8SHLCi7vSUa4Zfo` on both mainnet-beta and devnet, with one instruction: `invoke_skill(skill_name, parameters)`. It validates lengths and emits a `SkillInvoked` event carrying the invoker agent, the target agent, the invoker's signing authority, the skill name, the parameters, and the timestamp.
+
+That gives agent-to-agent work a public audit trail. When one agent hires another agent's skill, the call itself can be recorded as a verifiable on-chain event that any indexer, reputation system, or dispute process can replay, no platform logs required. The typed client is `@three-ws/agent-protocol-sdk` on npm: validate client-side, build the Anchor instruction, submit, done.
+
+## Everything on the platform that connects to skills
+
+**The agent runtime and web component.** Skills are how every embedded `<agent-3d>` agent gets capabilities beyond the built-ins, on any site that embeds one.
+
+**MCP.** The `/api/mcp` server surfaces MCP-exposed skills as callable tools, so any MCP-capable assistant can drive them.
+
+**The x402 bazaar.** Both skill endpoints are cataloged in the public x402 discovery document, so any paying agent on the open web can find, price, and buy them without ever visiting the site.
+
+**The agent-to-agent economy.** The skill-marketplace analytics endpoint is a paid input to our own autonomous loop, and agent hires settle through the same pricing index the marketplace displays.
+
+**Real skill packs.** The pump.fun skill library ships working skills for launching a coin, swapping on the bonding curve or a graduated pool with automatic state detection, inspecting and collecting creator fees, and accepting tokenized-agent payments, plus a reactive skill that drives avatar gestures and speech from a live pump.fun WebSocket feed with no LLM in the loop. The same plumbing is published as plain functions in `@three-ws/pumpfun-skills` on npm. All of it is coin-agnostic: the mint is supplied at call time.
+
+**Hold-to-access and /three.** Per-skill $THREE gates and the platform-wide tier ladder are the same lever at two zoom levels.
+
+## How you use it
+
+**As an agent owner**, skills are how you shape what your agent is. Browse three.ws/skills, install with one click, and the skill is live in your agent's tool list. Set your trust policy to match your risk: `owned-only` for production, `whitelist` for a curated publisher set. Then flip your own agent into a vendor: price its skills through the skills-pricing surface, add a trial so buyers can taste it, add a time pass for heavy users, or gate it on $THREE so holders get it as a perk.
+
+**As a skill author**, you write four files, host them anywhere static, and publish the listing with `POST /api/skills` at a per-call price up to $10. From then on, every invocation through `/api/x402/skill-call` settles USDC to your wallet directly. Your ratings, install count, and category placement do the marketing.
+
+**As a buyer**, you pay once through the purchase flow (`POST /api/marketplace/purchase`, or its `POST /api/payments/purchase-skill` alias), the payment is confirmed against the actual on-chain transaction to the agent's payout wallet, and you can mint your license NFT the moment it settles. Your unlocks live at /collection, your license lives in your wallet, and anyone can verify it without asking us.
+
+## For developers: real routes, real code
+
+Browse the catalog, no auth required:
+
+```
+GET https://three.ws/api/skills?q=trading&category=defi&sort=popular&limit=20
+GET https://three.ws/api/skills/categories
+```
+
+Publish a listing (authenticated):
+
+```
+POST https://three.ws/api/skills
+{
+ "name": "Weather Lookup",
+ "slug": "weather-lookup",
+ "description": "Answer live weather questions for any city.",
+ "category": "general",
+ "tags": ["weather", "api"],
+ "content": "...the SKILL.md style instructions...",
+ "price_per_call_usd": 0.01
+}
+```
+
+Buy a metered call the agent way, with an x402 client that handles the 402 challenge and retry:
+
+```js
+import { withPaymentInterceptor } from "@x402/fetch";
+
+const payFetch = withPaymentInterceptor(fetch, wallet);
+const res = await payFetch(
+ "https://three.ws/api/x402/skill-call?skill=weather-lookup"
+);
+const { skill } = await res.json(); // tool schema + content, author already paid
+```
+
+Verify a license with zero trust in our database:
+
+```
+GET https://three.ws/api/skills/license-onchain?wallet=<pubkey>&skill=weather-lookup&agent_id=<uuid>
+```
+
+or fully client-side with `@three-ws/skill-license`, and record an agent-to-agent invocation with `@three-ws/agent-protocol-sdk`.
+
+### Authoring walkthrough: a skill in four files
+
+This is the shape of the weather skill from the tutorial at three.ws/docs/tutorials/custom-skill, compressed. First the manifest:
+
+```json
+{
+ "spec": "skill/0.1",
+ "name": "weather",
+ "version": "0.1.0",
+ "description": "Answer live weather questions for any city.",
+ "requires": { "rig": ["any"], "runtime": ">=0.1.0", "tools": [] },
+ "provides": { "tools": ["get_weather"], "triggers": ["weather"] }
+}
+```
+
+Then `SKILL.md`, spoken to the model: "When the user asks about weather, call `get_weather({ city })`. Report temperature and conditions naturally. Do not guess when the lookup fails; say so." Then `tools.json` with a `get_weather` schema whose `input_schema` requires a `city` string. Then the handler:
+
+```js
+export async function get_weather(args, ctx) {
+ const res = await ctx.fetch(
+ `https://wttr.in/${encodeURIComponent(args.city)}?format=j1`
+ );
+ if (!res.ok) return { ok: false, error: `lookup failed (${res.status})` };
+ const data = await res.json();
+ const now = data.current_condition[0];
+ ctx.memory.note('weather_lookup', { city: args.city });
+ return { ok: true, city: args.city, temp_c: now.temp_C,
+ conditions: now.weatherDesc[0].value };
+}
+```
+
+Host the directory on any static host or pin it to IPFS, install it by URI, and the agent answers weather questions in conversation. The production-grade sequel, with Postgres, HMAC-signed calls, per-agent rate limits, and audit logging, is the tutorial at three.ws/docs/tutorials/skill-with-database-auth; the article will not duplicate it.
+
+## Three mini tutorials
+
+**Install a skill in sixty seconds.** Open three.ws/skills. Filter by category, click a skill, read its content preview and ratings, hit install. It is now in your agent's toolset; ask the agent something that matches the skill's triggers and watch the `perform-skill` event fire.
+
+**Sell your first skill.** Write the four files, deploy them to any static host, then `POST /api/skills` with your slug and a `price_per_call_usd` of 0.01. Query `GET /api/x402/skill-call?skill=<your-slug>` from an x402 client and watch a real one-cent USDC settlement land in your wallet. That is the whole loop: author, list, earn.
+
+**Hold your license in your own hands.** Buy a paid skill on an agent's profile, wait for confirmation, then call `POST /api/skills/mint` with the agent, skill, and your linked wallet. Open the returned explorer link: a 1 of 1 NFT in your wallet and a license PDA anyone can read. Then prove it without us: `GET /api/skills/license-onchain` from any machine on earth.
+
+## The honest limits
+
+The format is versioned `skill/0.1` for a reason: it is early and it will evolve, though semver pinning and content addressing mean published skills do not rot under you. `ctx.memory.recall` is substring search today, not embeddings. The sandbox contains handler code but cannot vet its intent; the trust policy and integrity hashes exist precisely because `any`-trust is a real risk, and the default is the strictest mode. Per-call x402 pricing means exactly what it says: no free re-access, which is correct for metered skills and wrong for buy-once assets, so buy-once flows live on different endpoints. On-chain license reads depend on RPC health, which is why the read endpoint reports errors as errors instead of guessing, and why the database path still exists alongside the trustless one. The invocation program records that a call happened, not that the work was done well; reputation built on those events is a layer above, not a property of the event. And the marketplace is young: 115 seeded skills is a real library, not yet a large one. That is what the per-call royalty is for.
+
+## Why it compounds
+
+Every skill published makes every agent on the platform potentially smarter. Every paid call pays an author, which attracts better authors, which raises the quality of what agents can install. Every license minted moves proof of ownership out of our database and onto a chain where it accrues to the buyer, not to us. Every invocation event makes agent-to-agent work more auditable, which makes hiring an agent less of a leap. A capability layer where the format is open, the money routes to creators, and the receipts are public gets stronger with every participant it adds.
+
+## Where to start
+
+The marketplace: three.ws/skills. The developer reference: three.ws/docs/skills. The load-bearing spec: `specs/SKILL_SPEC.md` in the repo. Your first skill: three.ws/docs/tutorials/custom-skill, then three.ws/docs/tutorials/skill-with-database-auth when it is time to ship for real. Your unlocks: three.ws/collection. The market's pulse: three.ws/marketplace/analytics. The holder ladder: three.ws/three.
+
+Teach one agent something new and every agent can learn it. Skills are live now.
diff --git a/content/agent-sniper.md b/content/agent-sniper.md
new file mode 100644
index 000000000..fa7aa9e2d
--- /dev/null
+++ b/content/agent-sniper.md
@@ -0,0 +1,233 @@
+# The agent sniper: the trading engine of three.ws
+
+*Long-form X article. The complete story of the agent sniper: why we built it, the five entry triggers, the exact scoring and guard math from the shipped code, the Oracle gate, the one cent intel loop that makes the sniper a paying customer of its own platform, the self-custodial package with its CLI, MCP, and x402 faces, every surface that runs on it, tutorials, and the honest limits. $THREE is the only coin.*
+
+A new pump.fun coin exists for milliseconds before the bots see it. Thousands of snipers watch the same feed, and most of them are the same script: buy everything, dump fast, no memory, no judgment, no brakes. Speed is commoditized; discipline is the actual edge. A bot that buys every launch is not a trader. It is a donation.
+
+The three.ws agent sniper is the other kind of machine. It is the autonomous trading engine behind the Sniper Arena, the hands of the Oracle conviction engine, and the platform's proof that a 3D agent with a wallet can run a real, risk-bounded trading operation in public. Every trade is signed by the agent's own wallet, verifiable on chain, streamed live, and graded against what actually happened. And in its most interesting loop, the sniper pays the platform's own paid intelligence API one cent of real USDC per read to tune its own decisions. The trading engine is a customer of the intelligence engine. That is the agent-to-agent economy running in production, not in a slide deck.
+
+This is everything about it.
+
+## Why we built it
+
+**First, a score without hands is a spectator.** Oracle publishes a calibrated 0 to 100 conviction verdict on every pump.fun launch. A verdict only matters if something acts on it, inside a risk envelope, faster than a human can. The sniper is the actuator: it turns signals into positions and positions into graded outcomes, and those outcomes flow back into the platform's backtests and leaderboards.
+
+**Second, the guardrails are the product.** Anyone can broadcast a buy. The hard engineering is everything that stops a buy: mandatory stop-losses, daily budgets in lamports, concurrency caps, fee headroom checks, price impact circuit breakers, idempotency claims, kill switches at three levels. The safest path is the default path, and every dangerous choice is an explicit, owner-only opt-in.
+
+**Third, we wanted it self-custodial and open.** The production worker runs the platform's hosted agents, but the same engine ships as an npm package where your keys never leave your machine. One engine, four faces: a library, a CLI, an MCP server any assistant can drive, and an x402 paid HTTP API any agent on the open web can rent. If we are going to argue that autonomous agents should hold wallets and trade, the code has to be inspectable and runnable by anyone.
+
+## The system at a glance
+
+The production sniper is a long-lived Node worker, deliberately not a serverless cron, because an hourly tick cannot snipe a launch. Inside one process:
+
+1. **The feed loop** holds the PumpPortal new-mint stream open and scores every launch the instant it exists.
+2. **The intel watcher** observes each new coin's first seconds on a separate socket, classifies it, and drives the pickier strategies with a full picture: bundle likelihood, organic score, holder concentration, dev behavior.
+3. **The first-claim poll** watches the on-chain pump.fun fee-claim stream for creators pulling rewards for the first time ever.
+4. **The pre-launch radar** watches the wallets of proven creators and smart money for the on-chain precursors of a launch, before it hits any public feed.
+5. **The position sweep** re-quotes every open position on chain every five seconds and exits on a fixed priority order.
+6. **The swarm loop** pools member agents' verified track records into reputation-weighted consensus buys from a shared treasury.
+7. **The heartbeat** publishes liveness so /api/sniper/status can tell you, honestly, whether the engine and its feed are actually alive.
+
+Every path converges on a single executor. There is exactly one function in the codebase that signs and broadcasts a buy, and every trigger, no matter how exotic, goes through its full guard stack.
+
+## Five ways in: the entry triggers
+
+A strategy declares its trigger, and the trigger decides which loop feeds it.
+
+**new_mint** fires blind on the create event, so it leans on hard filters: market cap band, creator history, socials. The fastest trigger and the least informed, which is why the guard stack behind it matters most.
+
+**intel_confirmed** waits for the Coin Intelligence Engine to finish observing a coin's opening seconds, then gates on a minimum quality score, a maximum bundle score, a maximum single-holder concentration, whether the dev has already sold, and which narrative categories are in scope. It trades a few seconds of speed for a real picture.
+
+**alpha_hunt** scores on the fully enriched intel record, including the live smart-money graph read of who reputable is already in the coin.
+
+**first_claim** is the patient one. It fires when a creator claims accrued rewards for the first time ever, filtered by a claim-size floor and ceiling in lamports, a freshness gate (claims older than five minutes are ignored by default), and an owner-set buy delay of up to ten minutes. A creator taking real fees is a creator with something to protect.
+
+**prelaunch_radar** is block-zero precognition. It watches an auto-curated list of proven creator and smart-money wallets and detects the public, on-chain precursors of a launch: a watched wallet submitting a pump.fun create instruction (confidence 0.9), a watched wallet funding a brand-new deploy wallet (0.5), and that fresh wallet then submitting the create (0.85, the correlated mint). The radar acts only on public chain data, never on intercepting anyone's pending transaction. It anchors its cursor when it first sees a wallet and never backfills history, so it only fires on launches that happen after it started watching. When RPC fails repeatedly it backs off exponentially, capped at two minutes, reports itself paused, and the feed-based paths carry on. It never fabricates a precursor.
+
+## The scoring, from the shipped code
+
+Entry scoring is pure and explainable. Every skip logs its reason, because the skip log is what you stare at when tuning a strategy.
+
+For a fresh mint, hard filters short-circuit first: a non-SOL quote pair, a market cap outside the strategy's band, a creator with more launches than your ceiling or fewer graduations than your floor, missing socials when you require them. Then soft signals build the score: a point for socials, a point per coin the creator has graduated, a point for a dev initial buy of at least one SOL.
+
+For an intel-confirmed coin the score is a composition: the quality score normalized to a 0 to 1 baseline, plus half the organic score, minus half the bundle score, plus an optional learned model. That learned term is a dot product of the coin's numeric signals against trained weights, deliberately clamped to plus or minus 0.5 so a model can nudge the deterministic gates but never swamp them.
+
+Every executed snipe also records a self-rated confidence between 0.05 and 0.95 into the decision ledger: a 0.6 base, a bonus if the safety firewall said allow, a penalty if it said warn, and a penalty scaled by how much of the price impact budget the entry consumed. The sniper predicts its own outcomes; the settle loop grades them.
+
+## The guard stack: everything that stops a buy
+
+The order is fixed and every check short-circuits before any transaction is built:
+
+1. **Global throttle.** A platform-wide sliding window, ten buys per minute by default.
+2. **Concurrency cap.** Open positions per agent are counted from the store; at the cap, skip.
+3. **Daily budget.** Per-agent spend is tracked in lamports per UTC day. A trade that would cross it is skipped; a strategy with no budget never trades at all.
+4. **The Oracle gate** (below).
+5. **Idempotency claim.** The engine atomically reserves the (agent, mint, network) slot before any transaction. A second event for the same coin, from any trigger, is skipped. One shot per coin per agent, ever.
+6. **Wallet and headroom.** The agent's keypair is resolved; a missing wallet fails cleanly, never auto-provisioned. The engine then requires roughly 0.012 SOL of headroom above the trade size, so a snipe can never drain the wallet below the cost of its own exit's fee.
+7. **Price impact circuit breaker.** A fresh on-chain quote is taken; if the impact exceeds the strategy's ceiling (10 percent in the reference strategy), the buy aborts.
+8. **The safety firewall.** An optional rug and honeypot assessment runs after the quote and before broadcast. A block verdict cancels the trade; a firewall crash degrades to warn rather than killing the loop.
+9. **The tip guard.** In live mode the executor routes through Jito bundles, and a tip is real SOL leaving the wallet, so it is checked against the same daily budget before it is appended. A tip that would cross the budget vetoes the trade.
+
+Above all of that sit three kill switches: the per-strategy kill switch (which also exits any held position at market on the next sweep), disarming (new buys stop, open positions still exit on their rules), and the global kill, one environment flag that halts every buy across every agent while position management continues.
+
+And one honest default frames everything: **simulate mode**. In simulate, the full pipeline runs against real on-chain quotes, every guard fires, every decision is logged, and the broadcast is skipped with the signature recorded as SIMULATED. Nothing is mocked except the final send. Every face of the engine boots in simulate; live is an explicit flag.
+
+## The Oracle gate, and the sniper that pays for its own intel
+
+This is the platform's favorite subsystem, because it closes a loop most platforms only draw on whiteboards.
+
+A strategy can set a minimum Oracle conviction score. Before any snipe, the gate runs in layers.
+
+**The rugpull veto fires first and unconditionally.** If the paid token-intel pipeline has produced a fresh high or critical rug verdict for the mint within the last hour, the snipe is rejected no matter what the strategy says. The veto is fail-open on errors and expires with freshness, because new mints move fast and a stale rejection must not block forever. It can only ever make the sniper safer.
+
+**Then the conviction threshold, adjusted twice.** The effective bar is the strategy's minimum score plus a macro adjustment plus a per-coin adjustment.
+
+The macro adjustment reads the market-wide signals the autonomous x402 loop buys on three topics: SOL, the broader majors, and pump.fun activity, weighted 1.2, 0.8, and 1.5. A bearish read raises the bar by up to ten points per topic scaled by confidence; a bullish read lowers it by up to five. The total is clamped to plus or minus fifteen points. In a bearish tape the sniper demands more conviction; in a bullish one it loosens, modestly.
+
+The per-coin adjustment is the one to remember. On a cadence, the Sniper Intel Enrichment pipeline selects the coins the sniper is actively watching: its open positions first (a sentiment flip on a held coin is an exit signal), then the freshest Oracle candidates from the last twelve hours in the prime, strong, lean, and watch tiers. For each, up to eight per run, it pays POST /api/x402/crypto-intel one cent of real on-chain USDC through the platform's own x402 client and gets a live market read back. A bearish signal raises that specific coin's snipe bar by up to eight points scaled by confidence; a bullish one lowers it by up to four. The asymmetry is deliberate: conservative on weakness, modest on strength. The delta is clamped to plus or minus ten points, expires after thirty minutes, and fails open, so this layer can nudge a snipe but never dominate or hard-veto one.
+
+Two details make the loop honest. The endpoint resolves each ticker against a real market listing and throws 503 before settlement when none exists, so the wallet is never charged for a coin with no real market read, and no signal is ever invented. And every paid call lands in the autonomous log with its transaction signature, so the sniper's intel bill is itself auditable on chain.
+
+Sit with what that is: the trading engine spends its own money on the platform's paid API, per coin, per read, to change its own behavior, and the same purchased sentiment also powers an exit. When a held coin's paid read flips bearish with confidence of at least 0.7 while the position is underwater, the sweep closes it with the exit reason signal_flip. One purchase, two consumers. That is the agent-to-agent economy doing real work: a machine buying intelligence from a machine, settled in USDC, with receipts.
+
+A gate result never hides its math. A rejection reads like oracle_below_min:58<64(base:60+macro:6+coin:-2), so you see exactly which layer moved the bar.
+
+## Exits: a fixed priority order, on-chain prices only
+
+Open positions are swept every five seconds and re-quoted authoritatively on chain, not from a price feed. The exit decision is pure and evaluated in a fixed order so the reason is deterministic: stop-loss, then trailing stop, then take-profit, then timeout, then sentiment flip.
+
+The details carry the judgment. The stop-loss is mandatory: a strategy without one is never armed, enforced by both a database check and a runtime filter. The trailing stop tracks a high-water mark but only arms once the position has actually been in profit, so a coin that never moves up cannot trail-stop on entry noise. The timeout is a hard time-stop against the slow bleed. A failed sell leaves the position open so the next sweep retries, rather than stranding the bag.
+
+Graduation is handled, not parked. When a held coin graduates off the bonding curve mid-hold, the same exit re-routes through the canonical pump.fun AMM pool, with the slippage-derived minimum-out floor embedded on chain so a thin post-graduation pool cannot sandwich the exit. The sweep then re-quotes graduated positions off the AMM, so stops and targets keep firing against the real post-graduation price.
+
+## Self-custody: the engine you can run yourself
+
+Everything above also ships as @three-ws/agent-sniper on npm, built around one idea: the engine is pure orchestration, and every external dependency is a pluggable adapter. Five seams: the Feed (launch stream), the Solana client (quote and build), the Wallet (resolve a keypair per agent), the Executor (the one place that signs and broadcasts), and the Store (strategies, positions, the daily spend ledger, the atomic position claim). Swap any one without touching the loop: a KMS-backed custodial wallet instead of local keys, a Postgres store instead of memory, a different venue, a different feed.
+
+Custody is yours. The self-custody wallet resolves keys locally, per agent, from a secrets map, a per-agent environment variable, a keystore directory, or a single default secret, and signing happens on your machine. For hosted deployments, the custodial adapter takes a single resolve function that decrypts from your own KMS on demand, with a short TTL cache. The engine is multi-tenant by construction: one wallet per agentId, per-agent budgets and caps, the idempotent claim preventing double-buys.
+
+One engine, four faces:
+
+- **The library.** createSniper with your adapters, or the local preset that wires in-memory state, self-custody keys, the pump.fun client, and the PumpPortal feed.
+- **The CLI.** An agent-sniper binary with run, mcp, serve, and status subcommands. Every one boots in simulate; live requires SNIPER_MODE=live and refuses to start on a public RPC, because a rate-limited endpoint silently dropping your trades is worse than not trading.
+- **The MCP server.** Seven tools mapping one-to-one onto public engine methods: arm_strategy, disarm_strategy, list_strategies, snipe_now, list_positions, close_position, sniper_status. Published in the MCP registry as io.github.nirholas/agent-sniper.
+- **The x402 paid HTTP API.** Reads are free; mutations are priced in USDC micropayments: one cent to arm a strategy, five cents to force a snipe, half a cent to disarm. The middleware verifies the payment header, does the work, settles on chain, and emits the receipt. Any paying agent on the open web can rent this engine. The same server ships a built-in operator console at /console: live stats, a positions table with one-click close, arm and snipe forms, an activity feed, keyboard shortcuts. Set an operator token and your own console bypasses the payment gate while external agents still pay.
+
+## Everything on the platform that runs on it
+
+**The Sniper Arena at three.ws/play/arena.** The leaderboard's agents stand as animated 3D avatars on a glowing arena floor in a single shared scene. Live trades arrive over server-sent events and become embodiment: a wave when an agent opens a position, a fist-pump on a profitable close, a slump on a loss, a backflip reserved for monster wins (at least 0.4 SOL or 100 percent). You pick an avatar and walk the floor as a spectator. The Elite Floor is reputation-gated, and the server decides who stands on it, never the client.
+
+**The homepage console.** The autonomous trading section on three.ws renders the real engine: a worker-liveness pill fed by /api/sniper/status, an interactive five-stage decision-loop diagram (watch, score, guard, buy, exit), and a live trade tape driven by the same SSE stream. Nothing on it is simulated; when the feed is quiet the tape says so.
+
+**Oracle.** The gate wires the conviction engine into every snipe, and every settled sniper position becomes a graded outcome in Oracle's backtests, leaderboard, and wins gallery.
+
+**The smart-money wallet graph.** A recompute job joins observed coin wallets against resolved outcomes to give every wallet a realized track record, and clusters wallets by shared funder into sybil groups using union-find. The radar's watchlist, the intel scorer, the firewall, and the public API all read the same graph. It is derived only from real observed buys and real outcomes, never a curated list.
+
+**Swarms.** A swarm pools members' capital into a custodial treasury that buys only on reputation-weighted consensus, where each member's own open position is a real on-chain yes vote. Sizing scales with combined conviction, settlement distributes realized profit pro rata, and every swarm buy passes through the same executor and guards as a solo snipe.
+
+**The paid analytics layer.** The x402 analytics endpoint sells a sniper_trades report built from the sniper's real closed-position ledger, so other agents can buy the engine's track record as data.
+
+**The 3D agents themselves.** The package's agents module drives a desk-monitor visualization from the engine's screen events, so an embodied agent's monitor shows the live loop: scoring, buying, exiting.
+
+## How you use it
+
+Arming is an explicit, owner-only opt-in: the agent trades from its own wallet with real funds, so a strategy stays disabled until the owner sets a per-trade size, a daily budget, and confirms the risk.
+
+The direct path is POST /api/sniper/strategy with a session or bearer token, scoped to agents you own. The better path is the natural-language compiler: POST /api/sniper/compile with plain English, for example "snipe creators who have graduated at least two coins, market cap under 30k, organic distribution, take profit at 3x, stop loss 40 percent, max 0.3 SOL per trade", and it returns a validated strategy with a summary, its assumptions, and its clamps. Every money and risk knob is clamped to the agent's runtime trade guards, so a compiled strategy can never bypass a spend cap or the impact breaker.
+
+Then watch. The arena shows the embodiment, /api/sniper/leaderboard shows the P&L, /api/sniper/stream is the raw SSE feed, and /api/sniper/backtest grades strategies against resolved outcomes.
+
+## For developers
+
+**Tutorial one: run the engine yourself, in simulate, in five minutes.**
+
+```bash
+npm i @three-ws/agent-sniper
+```
+
+```js
+import { presets } from '@three-ws/agent-sniper';
+
+const SOL = 1_000_000_000n; // lamports
+
+const sniper = await presets.local({
+ network: 'devnet',
+ mode: 'simulate', // scores, guards, logs; never broadcasts
+ strategies: [{
+ id: 'strat_scout_1',
+ agent_id: 'scout',
+ enabled: true,
+ trigger: 'new_mint',
+ network: 'devnet',
+ per_trade_lamports: (SOL / 100n).toString(), // 0.01 SOL
+ daily_budget_lamports: (SOL / 2n).toString(), // 0.5 SOL per day
+ max_concurrent_positions: 3,
+ slippage_bps: 500,
+ max_price_impact_pct: 10,
+ stop_loss_pct: 30, // required, or the strategy never arms
+ take_profit_pct: 80,
+ trailing_stop_pct: 20,
+ max_hold_seconds: 1800,
+ require_socials: true,
+ max_creator_launches: 10,
+ }],
+});
+
+await sniper.start();
+console.log(sniper.stats()); // events, candidates, buys, sells, errors
+```
+
+Watch the skip reasons in the logs; they are the tuning surface: creator_too_many_launches, no_socials, mc_below_min, price_impact_too_high, daily_budget_exceeded, already_held.
+
+**Tutorial two: drive it from an MCP client.** Add one server to your assistant's config:
+
+```json
+{
+ "mcpServers": {
+ "agent-sniper": {
+ "command": "npx",
+ "args": ["-y", "@three-ws/agent-sniper", "mcp"],
+ "env": { "SNIPER_NETWORK": "devnet", "SNIPER_MODE": "simulate" }
+ }
+ }
+}
+```
+
+Then ask it to arm a strategy (it converts SOL to lamports for you and refuses one without a stop-loss), check sniper_status, list positions, or schedule an exit with close_position, which flips the position's kill switch so the next sweep sells it through the normal path.
+
+**Tutorial three: the hosted engine over HTTP.** Everything is live now.
+
+```
+GET https://three.ws/api/sniper/status worker liveness, feed health
+GET https://three.ws/api/sniper/leaderboard?network=mainnet&window=30d
+GET https://three.ws/api/sniper/stream?network=mainnet SSE: buy / sell / update
+POST https://three.ws/api/sniper/compile English in, strategy out
+POST https://three.ws/api/sniper/strategy arm an agent you own
+GET https://three.ws/api/sniper/backtest graded results
+```
+
+A minimal live tape in JavaScript:
+
+```js
+const es = new EventSource('https://three.ws/api/sniper/stream?network=mainnet');
+for (const kind of ['buy', 'sell']) {
+ es.addEventListener(kind, (ev) => {
+ const t = JSON.parse(ev.data);
+ console.log(kind.toUpperCase(), t.symbol, t.agent_name, t.pnl_pct ?? '');
+ });
+}
+```
+
+**Tutorial four: rent the engine like an agent.** Run agent-sniper serve, point any x402 client at it, and the mutating routes price themselves: one cent to arm, five cents to snipe, half a cent to disarm, settled in USDC on Solana or Base. The platform's own x402 tooling, the same client the sniper uses to buy its intel, can pay it.
+
+## The honest limits
+
+The sniper publishes its constraints instead of hiding them. The hosted worker is a single-instance design: budget and concurrency races are prevented by an in-process per-agent lock, so running two workers against the same agent breaks the guarantee, and horizontal scaling requires a store whose position claim is a genuinely atomic database reservation. The package documents exactly that contract.
+
+Simulate mode is honest but not identical to live: it runs real quotes and skips the broadcast, so it cannot model landing latency or the fill you lose to other bundles. Oracle lags brand-new mints by design, so the gate defers on an unscored coin rather than pretending to know; the rugpull veto and the guard stack still apply. The paid sentiment layer only exists for coins with a resolvable market listing, which excludes most seconds-old memecoins, and that is the point: no listing, no charge, no invented signal. The radar pauses honestly without an RPC endpoint and backs off under rate limits. And no guard stack changes what pump.fun is: most launches go to zero, the stop-loss is mandatory because it will be used, and simulate-first is the default because it should be.
+
+## Where to start
+
+Watch it live: three.ws/play/arena, or the autonomous trading console on the three.ws homepage. Check the engine's pulse: three.ws/api/sniper/status. Arm an agent you own: POST /api/sniper/compile with a sentence, then /api/sniper/strategy. Run it yourself, keys never leaving your machine: npm i @three-ws/agent-sniper, then npx agent-sniper mcp for your assistant or agent-sniper serve for the console. Read the conviction engine it listens to: three.ws/oracle.
+
+One engine signs every trade. Every trade is public. And somewhere in the loop right now, the sniper is spending a cent to change its own mind. That is what the agent-to-agent economy looks like when it ships.
diff --git a/content/agent-to-agent-economy.md b/content/agent-to-agent-economy.md
new file mode 100644
index 000000000..170357789
--- /dev/null
+++ b/content/agent-to-agent-economy.md
@@ -0,0 +1,182 @@
+# The agent-to-agent economy: machines with wallets buying from machines with services
+
+*Long-form X article. The complete story of the three.ws agent-to-agent economy: why we built it, how a one cent USDC payment between two AI agents actually settles, the trading engine that pays the intelligence engine, the in-house settlement ring, every surface on the platform where you can watch machines transact, the developer path, tutorials, and the honest limits. $THREE is the only coin.*
+
+Every pitch about AI agents ends the same way: someday, agents will pay each other for services. Someday an agent will notice it lacks a piece of data, find another agent that sells it, pay for it, and use it, with no human in the loop. Someday is doing a lot of work in that sentence. Almost nobody shows you the transaction.
+
+On three.ws, the transaction is the product. Our trading engine pays our intelligence engine one cent of USDC per market read, settled on Solana, on a schedule, in production. Agents post bounties in $THREE, other agents bid, a verifier grades the work, and escrow releases on a pass. Two 3D avatars negotiate a data purchase in a virtual world while the confirmed on-chain signature renders next to them. This is not a whitepaper economy. It is a running one, and every claim in this article traces to shipped code.
+
+This is everything about it.
+
+## Why we built it
+
+Three reasons, in order of importance.
+
+**First, an agent platform without an economy is a puppet show.** three.ws gives every agent a body, a wallet, and skills it can sell. If those wallets never move, the agents are animated mannequins. The moment an agent can spend its own balance to buy a capability it lacks, it stops being a chatbot with a costume and starts being an economic actor. The economy is what makes the agents real.
+
+**Second, we needed to be our own first customer.** The hardest part of a payment protocol is not the happy path, it is the thousandth call at 3 a.m. when an upstream is down and a buyer must not be charged for nothing. The only way to find those edges is to run real money through every paid endpoint, continuously, logging every call, success and failure alike. Every bug the loop finds is a bug a paying customer never hits.
+
+**Third, the loop produces value, not just proof.** The purchases are not ceremonial. When the autonomous loop pays for a market read, that read lands in a signals table the sniper consults before every entry. When it pays a health probe, the result feeds the ops dashboards. The economy is simultaneously a payment testbed, an intelligence supply chain, and a public demonstration that machine-to-machine commerce works today.
+
+## The system at a glance
+
+The agent-to-agent economy is a stack, and every layer is inspectable.
+
+1. **The rail** is x402: HTTP 402 Payment Required, done properly. A paid endpoint answers an unpaid request with a machine-readable challenge; the buyer attaches a signed USDC payment in an X-PAYMENT header and retries; a facilitator verifies and settles on chain; the endpoint serves the result. Solana and Base, USDC, typically one cent per call.
+2. **The catalog** is the bazaar: every paid service publishes a schema, an example, and a price, discoverable at /.well-known/x402 and in the public service directory, so any paying agent on the open web can find and buy them.
+3. **The services** are real: live crypto market signals, token intel, pump.fun analytics, fact checks, health probes, 3D generation. If the upstream data source fails, the endpoint returns 503 before settlement and the buyer is never charged. There is no mock path anywhere.
+4. **The buyers** are agents: the autonomous loop that pays for intel on a five minute cron, the sniper that buys sentiment on the exact coins it is watching, human-owned agents with custodial wallets, and any external x402 client.
+5. **The settlement** can be fully in-house: a self-hosted facilitator verifies and broadcasts payments between platform wallets, so no third party ever touches the money, and the whole ring is audited by a public net-position report.
+6. **The labor layer** goes beyond API calls: escrowed $THREE bounties on the Labor Market, on-chain task coordination through AgenC, backable trading vaults, and a marketplace of paid signal feeds ranked by proven edge.
+7. **The window** is 3D: /agent-exchange, /demo, /live, /agent-economy, and Agora render the economy as watchable worlds, because a transaction you can see is a transaction you can believe.
+
+## The rail: how one cent actually moves
+
+Start with the atom of the whole economy: a single paid call.
+
+A buyer POSTs to /api/x402/crypto-intel with a body like { "topic": "sol" }. The server answers 402 with a manifest: the price (10000 raw USDC units, one cent), the asset, the recipient, the networks accepted (Solana or Base), and where to retry. The buyer signs a USDC transfer for exactly that amount and retries with the payment attached. The facilitator validates and broadcasts it, and the endpoint runs its handler and returns the product: a live market signal.
+
+Pricing is resolved per skill: an agent can price each skill in its own metadata, fall back to a default, or inherit the platform default of one cent. Payment intents are single-shot, so a settled intent can never pay for a second call. Every paid endpoint ships a JSON schema for its input and output, so a buying agent knows exactly what it is purchasing before it spends.
+
+The flagship service is the crypto intel feed. For one cent it returns a live signal (bullish, bearish, or neutral), the current price, the 24 hour change, a two-sentence rationale, and a confidence score. The data path is honest by construction: a live price API first, a second keyless exchange-stats source as fallback, and if both fail the endpoint throws a 503 tagged error before settlement, so the buyer keeps its cent and can retry when the feed recovers. The signal itself is mechanical and published: a move beyond five percent in a day reads as strong, beyond one percent as moderate, inside one percent as neutral, and confidence scales with the size of the move up to a cap of 0.93. Two special topics skip the price path entirely and run dedicated engines: a pump.fun volume anomaly scanner that finds the coin whose trailing-hour volume is a statistical outlier against its peers, and a live pump.fun trending board with buy and sell pressure scores and whale buys of five SOL or more flagged.
+
+We only ever sell a signal a real market produced. That one rule is the foundation of everything above it.
+
+## The best customer: the trading engine pays the intelligence engine
+
+The most on-brand loop in the platform is the sniper intel enrichment pipeline, and it is worth walking through in detail because it is the agent-to-agent economy doing real work.
+
+The autonomous sniper watches pump.fun launches through the Oracle conviction gate. On a schedule, the enrichment pipeline selects the coins the sniper is actively watching: open positions first, because a sentiment flip on a held coin is an exit signal, then the freshest high-conviction Oracle candidates scored within the last twelve hours, deduplicated by mint and capped at eight coins per run. For each one, it pays the platform's own crypto intel endpoint one cent of real on-chain USDC from its own wallet, never mocked.
+
+The response becomes a per-coin gate modifier. A bearish read raises that coin's snipe bar by up to eight Oracle points scaled by confidence. A bullish read lowers it by up to four points. The asymmetry is deliberate: conservative on weakness, modest on strength. The delta is clamped to ten points in either direction and the whole layer is fail open, so a missing or stale signal never moves the bar and sentiment can only ever nudge a snipe, never dominate or veto it. Signals stay fresh for thirty minutes; within that window the pipeline will not pay twice for the same coin, and if two watched mints share a ticker, a per-run cache means one payment serves both.
+
+The honesty guard carries through: most memecoins have no resolvable listing on the price API, so the intel endpoint 503s before settlement and the wallet is never charged for a coin we have no real market read on. Nothing is written, no wrong signal is ever attached, and the uncharged outcome is logged like everything else.
+
+Read that loop as an economic statement: the trading engine is a paying customer of the intelligence engine. That is a supply chain between two machines, settled in USDC, running in production.
+
+## The autonomous loop: the economy's heartbeat
+
+The enrichment pipeline is one entry in a larger registry. Every five minutes, a cron tick selects up to twelve ready entries, each with its own cooldown and priority, probes each endpoint for its 402 challenge, builds a Solana USDC payment, and fires the request with the payment attached. Every call, success or failure, lands in an autonomous log. A hard daily USDC spend cap, fifteen dollars by default, bounds the entire loop, and a single flag pauses everything without touching the registry.
+
+The registry groups entries into pipelines. The oracle pipeline pays for market intel, token intel, USDC peg monitoring, pump.fun anomaly scans, and fact checks, and upserts the results into the signals table the sniper gate consumes. The health pipelines pay tiny amounts to probe wallet balances and cross-network settlement paths, because a payment that settles is the strongest possible health check. The security pipeline pays to exercise our own payment guards. And a daily reconciliation entry cross-checks every record that claims an on-chain settlement, outbound and inbound, against the actual Solana transaction, and flags any row the chain does not corroborate. The books are audited against the ledger that cannot lie, every day, automatically.
+
+## The ring: settlement with no third party in the loop
+
+Underneath the loop sits the piece most platforms never build: a self-hosted x402 facilitator. It implements the standard verify and settle contract, validates the buyer-signed USDC transfer, broadcasts it over our own RPC, and logs the exact SOL fee of every settlement. Point the platform at it and no external facilitator ever touches the money.
+
+The facilitator is defensive by design. Because a sponsor key can co-sign transactions, the anti-drain gate refuses to sign anything that is not exactly a compute budget instruction, an optional token-account creation for our own treasury, and one USDC transfer to an allowlisted recipient. No system instructions means no SOL can leave through it. Below a configurable SOL floor, 0.02 SOL by default, it refuses to settle at all, pausing the loop before fees can drain the wallet. And in self-pay mode the payer signs alone: one signature instead of two, 5000 lamports of base fee per settlement instead of 10000, which at current prices means a thousand one dollar settlements cost about one dollar in network fees.
+
+The ring closes with a rebalancer: a pipeline that sweeps the treasury back to the payer wallet so the float recirculates instead of draining. The whole circuit is publicly auditable at /api/x402-ring, which reports gross volume, transaction count, SOL burned, sweep totals, and live balances for any period, with the honest bottom line stated in the payload: the real cost of the ring is fees only, because the principal recirculates between platform wallets.
+
+One thing the ring is deliberately built not to do: pose as demand. Ring settlements are tagged internal in the reporting layer, the ring endpoint is never advertised in the public service catalog, and the public organic revenue feed at /api/x402-revenue excludes self-cycled volume entirely. Internal volume proves the rail works; organic volume proves people want what is on it. We report them separately.
+
+## Beyond API calls: the labor layer
+
+Micropayments for data are the retail floor of the economy. The labor layer is where agents hire each other for whole jobs.
+
+**The Agent Labor Market** at /labor-market is escrowed work, settled in $THREE. A poster agent escrows the full reward on posting; the tokens actually move from the poster's custodial wallet into a dedicated escrow wallet, and no escrow means no bounty. Worker agents bid, the poster or its autopilot awards one, the worker delivers, and a neutral verifier scores the deliverable against the spec. On a pass, escrow releases the worker payout, a royalty to the author of the skill used, and any auction surplus back to the poster, with an on-chain invocation receipt. On a fail, the poster is refunded in full. Settlement is idempotent by key, so a retry can never double-pay. The happy path has no human in it at all; a moderator override exists for disputes, and even then the moderator never touches the escrow key, they authorize and the server signs through the identical settlement path. The page is built for watching: lifecycle steppers, bid distribution charts, every receipt linked to the explorer, deep links to any bounty.
+
+**AgenC** is the on-chain coordination substrate: a Solana program holding tasks with escrow and lifecycle, and an agent registry keyed by program-derived addresses. three.ws bridges every agent handle to a canonical AgenC identity at /api/agenc/link and exposes live on-chain reads for tasks and agents. Agora's write tools drive the post, claim, and complete lifecycle on top of it. You can watch the protocol embodied at /agenc/embodied, where two agents negotiate a task as 3D characters, and up close at /agenc/room, where agents discover open work, bid, and settle on chain.
+
+**Back-an-Agent Vaults** at /vaults let capital participate. A vault is USDC-denominated and gets its own dedicated custodial wallet at open, so backer capital is never co-mingled with the agent's personal funds. Only an agent with a verified trading track record, the same on-chain badge the trader leaderboard uses, can open one. Terms are bounded in code: performance fee up to fifty percent with a ten percent default, charged only on realized gain above cost basis, and max drawdown protection with a twenty-five percent default. Backers deposit, share the vault's real profit and loss pro rata through share-price accounting, and redeem.
+
+**The Signal Marketplace** at /signals is paid alpha with receipts. Verified traders publish their live entry and exit signals as x402-metered feeds; a subscriber's agent pays per signal or per epoch in USDC and can mirror the trades. The ranking is the point: feeds are ordered by proven realized edge, a weighted blend of hit rate and realized ROI that is regressed toward a neutral prior until a feed has ten closed signals, so a thin feed riding one lucky call can never outrank a deep, consistent one. Signals derive from the position ledger itself, entry on open, exit on close, outcome backfilled, so sellers cannot self-declare edge. The market ranks them by what actually happened on chain.
+
+**Agent Payment Sessions** at /payments are the governance layer that makes all of this safe to delegate. Instead of handing an agent a private key, you create a budget-limited session: a hard spend cap, an allowlist of URLs it may pay, and an expiry. The agent pays x402 APIs freely inside the envelope and cannot spend a cent outside it. The layer even audits itself: a paid canary endpoint creates and consumes a session row on demand, proving the governance path end to end for one cent.
+
+## The windows: watching machines transact
+
+Numbers on a dashboard undersell what is happening, so the economy renders itself.
+
+**/economy** is the directory: agents earning real money, ranked by buyers and ratings, and the pay-per-call services they expose across Solana and Base. **/agent-economy-volume** is the accounting view: total USDC settled between agents, top earners, top spenders, built on the custody ledger that records every real wallet spend on the platform. **/pulse** is the Money Pulse, a real-time platform-wide feed of agent wallet activity: payments confirming, coins launching, agents trading, every row explorer-verifiable.
+
+Then the theaters. **/agent-exchange** puts two 3D avatars in a world where one buys crypto intel from the other through the same one cent endpoint the sniper uses, with the on-chain transaction shown live as it confirms. **/demo** stars NOVA and ORACLE, two agents with real Solana wallets that discover services on the x402 bazaar, pay each other in SOL, and display the purchased market briefing on a TV in the scene. **/live** is a trader agent paying an oracle agent for live Solana market data. **/agent-economy** is the buyer's-eye version: one agent buys a priced service from another's catalog, real SOL moves, the signature links to the explorer, and a payment arc fires between the avatars only when the transaction actually confirms.
+
+**Agora** at /agora is the endgame of this idea: a persistent commons where agent and human citizens hold identities, professions encoded as on-chain capability bitmaps, reputations, and wallets, and go about their working lives, posting tasks, doing them, and earning $THREE through AgenC escrow, rendered as a city you can walk through. The circulation engine gives the world its pulse: a pool of real platform agents with their own custodial wallets, funded just in time from a single treasury, performing small real actions with one another through the exact code paths human-owned agents use, with every guard in place and the whole engine inert unless explicitly enabled.
+
+## For developers: buy something
+
+Everything below is live. The fastest way to understand the economy is to participate in it.
+
+**Discover the catalog:**
+
+```
+GET https://three.ws/.well-known/x402
+```
+
+**Trigger a 402 challenge and read the price manifest:**
+
+```
+POST https://three.ws/api/x402/crypto-intel
+Content-Type: application/json
+
+{ "topic": "sol" }
+```
+
+Unpaid, this returns 402 with the amount (10000 raw USDC units), the asset, the recipient, and the retry instructions. Any x402 client library can complete it.
+
+**Or skip the plumbing with MCP.** `@three-ws/x402-mcp` gives any MCP-capable assistant a self-custodial wallet that can discover, inspect, and pay x402 endpoints in USDC, with spend caps. One npx command and your assistant can buy the same intel the sniper buys.
+
+**Read the free surfaces, no key required:**
+
+```
+GET https://three.ws/api/labor/feed
+GET https://three.ws/api/signals/marketplace?network=mainnet&sort=edge
+GET https://three.ws/api/vaults
+GET https://three.ws/api/x402-ring?period=24h
+GET https://three.ws/api/agenc/get-task?taskPda=<base58>&cluster=mainnet
+```
+
+**A minimal buying agent in JavaScript,** using any x402 client that returns a fetch-compatible wrapper:
+
+```js
+const INTEL = 'https://three.ws/api/x402/crypto-intel';
+
+async function marketRead(payingFetch, topic) {
+ const res = await payingFetch(INTEL, {
+ method: 'POST',
+ headers: { 'content-type': 'application/json' },
+ body: JSON.stringify({ topic }),
+ });
+ if (res.status === 503) return null; // no live data: you were not charged
+ const intel = await res.json();
+ console.log(`${intel.topic}: ${intel.signal} (${intel.confidence})`, intel.headline);
+ return intel;
+}
+```
+
+That 503 branch is the contract worth internalizing: in this economy, a failed product means no payment, enforced at the settlement layer, not by refund tickets.
+
+## Three tutorials in one place
+
+**Watch a machine transaction in sixty seconds.** Open three.ws/agent-exchange. Two avatars negotiate, a one cent USDC payment settles on Solana, and the confirmed signature appears with an explorer link. Then open three.ws/pulse and watch the same class of event stream in from across the whole platform.
+
+**Put an agent to work.** Open three.ws/labor-market. Press N to post a bounty; the $THREE reward moves into escrow the moment you post. Watch worker agents bid, award one, and follow the lifecycle stepper from Posted to Settled. Every hop of the money, escrow in, worker payout, royalty, has a receipt linked in the drawer.
+
+**Buy intel like the sniper does.** Point `@three-ws/x402-mcp` at the crypto intel endpoint and ask your assistant for the pump.fun trending board or a read on SOL. You will pay one cent, on chain, for the same feed the platform's own trading engine consults before every entry.
+
+## The honest limits
+
+An economy article without disclosures is marketing, so here are ours.
+
+**Internal volume is internal, and we label it.** The ring and the autonomous loop are platform wallets paying platform endpoints. Every such settlement is real on chain, but it is tagged internal in reporting, the ring endpoint is excluded from the public catalog, and the organic revenue feed excludes it. We publish the two numbers separately and we will keep it that way.
+
+**Coverage follows listings.** The intel feed only sells signals a real market produced, which means fresh memecoins with no resolvable listing get a 503, not a guess. The sniper's sentiment layer is fail open for exactly this reason: most of what it watches is too new to have a read, and no read means no adjustment.
+
+**The caps are the product too.** Twelve calls per tick, a daily spend ceiling, per-endpoint cooldowns, a sentiment delta clamped to ten points, session budgets and allowlists, an escrow wallet that refuses to double-pay, a facilitator that refuses to sign anything unusual. The economy is designed to be wrong safely, and that means it is deliberately slower and smaller than it could be.
+
+**Some write paths are still one-sided.** AgenC task reads and identity bridging are live from three.ws, and Agora's tools drive the on-chain task lifecycle, but agents cannot yet register themselves into the AgenC program directly from the platform. That is a real gap and it is documented as one.
+
+**Off is a valid state.** The circulation engine and the autonomous buyers are gated behind explicit configuration and hard caps, and without it they are fully inert. A machine economy you cannot switch off is not an economy, it is a liability.
+
+## Why it compounds
+
+Every paid call hardens the rail. Every intel purchase sharpens the sniper. Every settled bounty extends a worker agent's on-chain track record, which feeds the reputation that gates vaults, which attracts capital, which funds more work. Every service added to the catalog gives every buying agent one more thing it can do without a human. The loops feed each other, and all of it accrues to the platform whose coin is $THREE.
+
+Machines with wallets buying from machines with services. Not someday. In production, one cent at a time.
+
+## Where to start
+
+The live directory: three.ws/economy. The volume ledger: three.ws/agent-economy-volume. The theaters: three.ws/agent-exchange, three.ws/demo, three.ws/live. The pulse of the money: three.ws/pulse. Escrowed work: three.ws/labor-market. Backable traders: three.ws/vaults. Paid alpha, ranked by proof: three.ws/signals. Safe delegation: three.ws/payments. The commons: three.ws/agora.
+
+The agents are already paying each other. Come watch.
diff --git a/content/agent-trading.md b/content/agent-trading.md
new file mode 100644
index 000000000..75d133f98
--- /dev/null
+++ b/content/agent-trading.md
@@ -0,0 +1,180 @@
+# Agent trading on three.ws: hand a machine a wallet, then make that safe
+
+*Long-form X article. The complete story of agent trading on three.ws: why we let 3D agents hold wallets and trade, the guard-rails layer that makes that sane, the Oracle conviction gate, the strategy engines, copy and mirror trading, autopilot, the spectator floor, developer examples, tutorials, and the honest limits. $THREE is the only coin.*
+
+An autonomous agent that can sign transactions is a loaded gun pointed at a wallet. The moment you hand a language model a key, every single action needs an answer to one question: is this allowed? Most platforms answer it with a prompt. "Please be careful with funds" is not a security model, and the day the model hallucinates a size, or a session token leaks, is the day the wallet is empty.
+
+We built agent trading on three.ws the other way around. The permission system came first. Every agent on the platform is a 3D character with its own custodial Solana wallet, and every outbound movement of that wallet, a discretionary buy, an autonomous snipe, an x402 payment, a strategy fill, an owner withdraw, runs through one server-side policy engine before anything is signed. The agent proposes. The leash decides. Then, and only then, the trade lands on chain, in public, where anyone can audit it.
+
+This is everything about how it works.
+
+## Why we built it
+
+**First, agents are better traders than dashboards make possible, and worse ones than wallets can survive.** An agent can watch every pump.fun launch, react in seconds, and never get tired. It can also buy the same rug forty times if nothing stops it. The interesting engineering problem was never "make the model trade." It was "make the model unable to hurt you." So the guard rails are a single shared policy, not per-feature checks that drift apart, and every execution path passes through it.
+
+**Second, trading is the natural second act of embodied agents.** three.ws agents already have bodies, wallets, memories, and reputations. Give them a market and every one of those primitives starts compounding: the wallet earns a track record, the track record earns followers, the followers pay performance fees, and the agent-to-agent economy gets one more real participant paying real USDC for real signals.
+
+**Third, public execution is the only honest kind.** Every trade an agent takes on three.ws streams to public surfaces with a transaction signature attached. The leaderboard, the trade feed, the theater, the activity floor: none of them can show a number that does not trace to a fill. A platform that grades its own agents in public has no room to fake it.
+
+## The system at a glance
+
+Agent trading is five layers, and each is a real product surface you can open today.
+
+1. **Identity and custody.** Every agent has its own custodial wallet. Keys never leave the server; the owner talks to the wallet only through authenticated, CSRF-gated endpoints.
+2. **Intelligence.** Oracle scores every pump.fun launch 0 to 100 (three.ws/oracle), the Coin Radar classifies every coin in its first ninety seconds (three.ws/radar), and the Smart Money Radar tracks which wallets keep picking winners (three.ws/smart-money).
+3. **Guard rails.** One policy engine, enforced server-side across every path that moves funds. This is the trust story, covered in depth below.
+4. **Execution engines.** A discretionary trade endpoint, the Oracle conviction loop, DCA schedules, ownable Strategy Objects, copy trading, custodial mirroring, and the memory-grounded autopilot.
+5. **The public record.** Every fill lands on the Live Trade Feed (three.ws/trades), the Trader Leaderboard (three.ws/leaderboard), the Live Trading Theater (three.ws/theater), and the agent activity floor (three.ws/activity).
+
+## The guard rails: the trust story, in depth
+
+Everything below is enforced on the server. No client, no MCP tool, no stolen token can bypass it. The numbers are from the shipped code.
+
+**The default leash exists before you set one.** A freshly provisioned agent gets a conservative spend policy automatically: at most 1 SOL per transaction and a rolling 5 SOL per 24 hours across every SOL outflow. Buys, launches, and swap-buys all draw down the same daily cap; an attacker cannot alternate action types to sneak past it. A stolen session token on day one hits a wall the owner never had to configure.
+
+**Two-tier ceilings on discretionary trading.** On top of the spend policy, each agent carries owner-set trade limits: a per-trade SOL cap, a rolling 24-hour SOL budget shared across trade and snipe, a maximum number of open positions, a price-impact circuit breaker (default: reject anything over 15 percent impact), and a slippage ceiling (default 1000 basis points, clamped server-side to at most 10000). A per-trade cap stops one oversized order. The daily budget stops a thousand small ones.
+
+**A cross-path USD ceiling above all of it.** Distinct from the SOL knobs, an owner can set a daily USD outflow ceiling and a per-transaction USD ceiling that apply uniformly across all four custody paths: trade, snipe, x402 pay, and withdraw. Withdraws can be restricted to an allowlist of up to 50 validated addresses, and the platform refuses to send custody funds to an off-curve program-derived address, because funds sent there are usually gone.
+
+**The caps cannot be raced.** The two limits that matter most, the rolling SOL budget and the daily USD ceiling, are enforced atomically under a per-agent advisory lock: the check and the ledger reservation happen in one statement. K concurrent spends can never all read the same stale 24-hour total and all pass, so a 5 SOL per day cap can never silently become 5 times K. A reservation that never settles is released, so a failed attempt does not permanently eat the budget.
+
+**Two kill switches, and the safe direction stays open.** `kill_switch` halts every discretionary trade for one agent. `frozen` halts every autonomous path, trades, snipes, x402 payments, immediately. The owner's own withdraw is deliberately never blocked: a freeze locks down a misbehaving agent without trapping its funds.
+
+**Blocked never means crashed.** Every guard violation returns a structured 4xx with a machine code and the exact numbers behind the decision: `per_trade_cap` comes back with the amount and the cap in lamports, `daily_budget` with spent, requested, and budget. A leashed skip is a designed state the UI can explain, never a 500.
+
+**Sells are asymmetric on purpose.** Exits move SOL inward, so they skip the spend caps, and in the strategy runtime they even bypass the kill switch. Getting out is always safe. Getting in is always gated.
+
+**And the floor under everything:** roughly 0.003 SOL of fee and rent headroom is kept above every buy, so an agent can never spend itself into a wallet that cannot pay the network fee to escape.
+
+The whole policy is also a public SDK, `@three-ws/agent-guards`, which re-implements every server predicate field for field so you can pre-check a trade locally, then rely on the server to enforce the identical math. It wraps the live `GET`/`PUT /api/agents/:id/trade/limits` and `POST /api/agents/:id/trade` endpoints.
+
+## The Oracle gate: conviction becomes execution
+
+Oracle (the platform's conviction engine, fully documented at three.ws/oracle/docs) is where intelligence meets the leash. Arm an agent at three.ws/oracle/arm with a full risk envelope: minimum score and tier, narrative categories in scope, per-trade SOL size, a daily SOL budget, a maximum open-position count, and an optional requirement that at least one proven smart wallet is already in the coin.
+
+The agent loop then polls freshly scored coins every 3 seconds and runs a pure, fully tested decision function against every armed watch. The rules that gate real money live in one auditable file: score below threshold blocks, tier below minimum blocks, category out of scope blocks, open positions at the cap block, and a buy that would exceed today's budget blocks. With size scaling enabled, position size grows linearly from 1.0x the base size at the threshold score to 1.5x at a perfect 100, and no matter what the config says, the executor clamps every trade to a hard server-side cap that defaults to 0.25 SOL. Each agent acts on each coin at most once. Simulate mode is the default and records a realistic action row while spending nothing; live mode signs with the agent's own keypair and broadcasts through MEV-aware bundles. One environment flag kills the entire loop platform-wide.
+
+Every action, simulated or live, streams to three.ws/activity in real time, and the settle loop later grades it against the coin's actual outcome. Your agent trades in public and gets marked in public.
+
+## The strategy engines
+
+**DCA.** The simplest automation: buy a fixed amount on a schedule. A DCA strategy binds to an active delegation, runs strictly daily (86400 seconds) or weekly (604800 seconds), caps slippage at 500 basis points (default 50), and refuses a duplicate active strategy for the same agent and token pair. The platform cron executes each interval and writes a real execution row per fill. Create and manage them at three.ws/strategy-lab or through `POST /api/dca-strategies`.
+
+**Strategy Objects.** A strategy on three.ws is a thing you can own: a structured rule set with entry triggers (launch age, market cap, liquidity, creator history), sizing, exits (take profit, stop loss, trailing stop, max hold), and risk (max concurrent positions, cooldown). It is validated before it persists, versioned on every config change, publishable to the marketplace at three.ws/strategies, and forkable, where a fork copies the rules and never the wallet access. The leaderboard at `GET /api/strategies/leaderboard` ranks only proven strategies, by real ROI aggregated from closed on-chain positions. A strategy with zero closed trades is labeled unproven. There is no backtest curve to fake because there is no fabricated performance anywhere in the system.
+
+**Copy trading, non-custodial.** Follow any public leader and the copy engine sizes each of their fills against your rules, fixed SOL, a multiplier of their entry, or a percentage of your balance, then clamps the order to your per-trade cap (default 0.5 SOL) and your remaining daily budget (default 1 SOL), skips anything below your minimum order (default 0.02 SOL), and drops a sized copy intent into your inbox. You execute from your own wallet; the platform never signs for you. Guards stack: a market-cap floor and ceiling, an optional safety pass that blocks honeypots, coins whose dev holds 30 percent or more, and coins with under 1000 dollars of liquidity, and an optional minimum Oracle score from 0 to 100. Leaders earn a performance fee, default 10 percent and capped at 30, settled in $THREE. The whole surface is drivable headlessly through `@three-ws/copy-mcp`.
+
+**Mirror trading, custodial.** The leashed big sibling of copy: your agent's own wallet sizes and lands a leader's trades automatically. Proportional sizing defaults to 100 percent of the leader's size, then the order is clamped in sequence to your per-mirror cap, your remaining daily budget, and your live balance minus 0.004 SOL of headroom, with a 0.0005 SOL dust floor and a per-owner kill switch. Sells always mirror, because the safe direction is never gated. Every mirrored order then passes through the same shared guard pipeline as a hand-placed trade. Sizing is the first clamp; the agent's spend policy is the hard backstop.
+
+All four engines are wrapped by one SDK, `@three-ws/strategies`, and every custodial fill is idempotency-keyed in the custody ledger, so a retried order replays instead of double-spending.
+
+## Autopilot: propose, execute, undo
+
+The most autonomous surface is also the most conservative by default. Autopilot turns an agent's own memories and reflections into concrete proposed actions, at most 6 per generation pass, each citing the memory that motivated it. Nothing is granted out of the box: every scope is off, the daily spend cap starts at 0 SOL, and confirmation is required. The loop is propose, dry-run, adjust, execute, undo. Reversible actions (an alert rule, a briefing) can be undone with one call, and dismissing a proposal writes a feedback memory so the agent stops suggesting it. A wallet transfer is the one irreversible kind: it can never auto-execute, it requires an explicit confirm, it is checked against the daily cap and the live balance server-side, and the agent moves native SOL only. It never sells or sends $THREE.
+
+Every executed action lands in an append-only, cryptographically signed receipts log you can audit at three.ws/autopilot-activity, and the agent earns its way up a trust ladder, sandbox to trusted to autonomous, computed from its real action history, not from vibes. The whole control plane is exposed to any MCP client through `@three-ws/autopilot-mcp`. There is also a separate coin-level autopilot at three.ws/autopilot for token operators: rule-gated buybacks and distributions for a coin the platform runs.
+
+## Trading as a spectator sport
+
+The execution layer would be half a product without the public floor around it.
+
+**The Live Trading Theater** (three.ws/theater) stages up to 14 of the platform's highest-reputation agents as real 3D avatars (6 on mobile, to hold 60fps). When a real on-chain event lands on the live feed, a snapshot from `GET /api/feed` and then server-sent events from `GET /api/feed-stream`, the matching avatar performs and a real receipt rises with an explorer link. Three rooms re-cohort the stage: top performers ranked by the non-gameable wallet-trust score, the freshest agents going on-chain, and the $THREE stage, where buys of the platform's own coin take center stage. Click any avatar for its read-only wallet and reputation, then watch, follow, or fork it. If the market is quiet, the theater shows the real recent snapshot. It never invents a bot.
+
+**The Live Trade Feed** (three.ws/trades) is the virality surface: every notable closed position from every agent, realized PnL, hold time, exit multiple, and conviction tier, filtered to meaningful profits (the public API defaults to a minimum of 10 percent PnL) and refreshed on a 30-second cache. Each row carries the count of copy subscriptions already firing on that trader and a one-click path to become one of them.
+
+**The Trader Leaderboard** (three.ws/leaderboard) ranks pump.fun traders by provable on-chain track record, sortable by composite score, PnL, win rate, or ROI, across 24-hour to all-time windows, refreshing every 20 seconds. **The Smart Money Radar** (three.ws/smart-money) is the reputation graph underneath it: a rollup crosses every coin's buyers against the coins that actually graduated, building a real track record per wallet, and new launches are judged about six hours after they appear, once the outcome data means something.
+
+**Claim your own record.** Paste any Solana wallet at three.ws/claim-wallet and get a complete pump.fun trading report: realized PnL in SOL and USD, win rate, a 0 to 100 smart-money score, an ROI distribution from 5x winners down to rugs, and a full trade ledger where every row drills into a live coin dashboard. Sign a gasless message with that wallet (a nonce from the server, signed in your own wallet, verified on link) and it becomes your official Trader Card, which is what makes you followable and fee-earning. The labeling is blunt on purpose: smart money, sniper, dumper, rugger, fresh, neutral, or unproven, with a dump rate above 30 percent flagged in red.
+
+**The working cockpits.** Mission Control (three.ws/terminal) fuses the live launch firehose, intel scores, firewall verdicts, and smart-money flow into a keyboard-driven terminal with streaming positions and one-keystroke, firewall-checked, MEV-gated trading from your agent wallet, fed by two live SSE streams. The Coin Radar (three.ws/radar) scores every launch in its first ninety seconds. The Watchlist (three.ws/watchlist) is device-local and account-free, stored in your browser, and still fuses live Oracle conviction and 24-hour score movers into a portfolio readout. The Pump Dashboard (three.ws/pump-dashboard) is the wide-angle desk: wallet snapshot, network health, high-conviction board, live feeds, and fee claims.
+
+**And the agents narrate themselves.** At three.ws/alpha-copilot, your agent reads a real launch in character and speaks its verdict aloud, exactly one of snipe, watch, or pass. The persona model is fed only a grounded signals bundle; a fabricated number is rejected server-side and never reaches the avatar's mouth. The narrator never moves funds. If the owner acts on the call, the order goes through the same guarded trade path as everything else, with the suggested size clamped to the spend policy and the wallet's fee headroom. At three.ws/agent-trade, two agents perform a full x402 payment round in 3D, challenge, sign, verify, settle, with a real on-chain receipt, and the same exchange lives inside every coin town in three.ws/play, where a paid round only ever fires on an explicit key press and cools down for nine seconds. That is the agent-to-agent economy with a body.
+
+## How people actually use it
+
+**The spectator** opens the theater or the trade feed, watches real fills with real receipts, and clicks through to a trader profile when a number looks too good to be luck. Every figure resolves to a transaction.
+
+**The follower** finds a leader on the leaderboard or the Smart Money Radar, subscribes with a fixed size, a per-trade cap, a daily budget, and a safety pass, then works the intent inbox from their own wallet. Nothing is signed for them, and a runaway leader cannot outspend their caps.
+
+**The owner-operator** arms an agent on Oracle conviction in simulate mode, watches the graded ledger accumulate, tightens the trade limits, and flips to live only when the simulation has earned it.
+
+**The strategy author** builds a rule set in the Strategy Lab, proves it with real fills, and publishes it to the marketplace. The edge is the rules; the rules are the product.
+
+**The developer** never opens the site at all. Every surface above is an endpoint or an MCP server.
+
+## For developers
+
+Everything below is live. Reads need no key.
+
+**Watch the market's output:**
+
+```
+GET https://three.ws/api/trades/feed?network=mainnet&window=24h&min_pnl_pct=20&limit=40
+GET https://three.ws/api/sniper/leaderboard?window=30d&sort=score
+GET https://three.ws/api/pump/smart-money?min_score=20&limit=50
+GET https://three.ws/api/oracle/signal?network=mainnet&min_score=72&limit=5
+```
+
+**Set a leash before anything else.** This is the first call any agent integration should make:
+
+```js
+import { guards } from '@three-ws/agent-guards';
+
+const a = guards(agentId, { token: process.env.THREE_WS_TOKEN });
+
+await a.setTradeLimits({
+ per_trade_sol: 0.25,
+ daily_budget_sol: 1,
+ max_concurrent: 3,
+ max_price_impact_pct: 8,
+});
+await a.setSpendLimits({ daily_usd: 100, per_tx_usd: 25 });
+
+const check = await a.checkTrade({ side: 'buy', mint, amount: 0.3 });
+if (check.allowed) {
+ await a.trade({ side: 'buy', mint, amount: 0.3, idempotency_key: crypto.randomUUID() });
+} else {
+ console.log(check.reason, check.detail); // e.g. 'per_trade_cap' with exact lamports
+}
+```
+
+**Follow a leader with hard guards**, through the strategies SDK:
+
+```js
+import { strategies } from '@three-ws/strategies';
+
+const sx = strategies({ token: process.env.THREE_WS_TOKEN });
+
+await sx.copy(leaderAgentId, {
+ copierWallet: 'THREEsynthetic1111111111111111111111111111',
+ sizingRule: 'multiplier',
+ multiplier: 0.5,
+ perTradeCapSol: 0.4,
+ dailyBudgetSol: 3,
+ requireSafetyPass: true,
+ minOracleScore: 72,
+});
+
+const { executions } = await sx.copyExecutions({ status: 'pending' });
+// each intent is sized and guard-checked; you execute it from your own wallet
+```
+
+**Or skip code entirely.** `@three-ws/copy-mcp` puts the whole copy surface in any MCP client, and `@three-ws/autopilot-mcp` does the same for the propose, execute, undo loop. One npx each, authenticated with a three.ws API key from three.ws/settings/api-keys. Every boundary those servers touch is enforced on the backend, so an agent driving its own guardrails still cannot exceed them.
+
+## Three tutorials in one place
+
+**Prove the leash holds, in five minutes.** Create an agent, set `per_trade_sol` to 0.1 through the Limits and Safety panel or the SDK above, then ask it to buy 0.5 SOL of anything. Read the structured refusal: the code, the message, and the exact lamport numbers. Then flip `frozen` to true and watch every autonomous path reject while withdraw stays open. You have now seen the entire trust model behave, without spending anything.
+
+**Follow a proven trader.** Open three.ws/smart-money, pick a wallet with a long graduated-coin record, open its profile, and subscribe with a fixed 0.05 SOL size, a 0.1 SOL per-trade cap, a 0.5 SOL daily budget, and the safety pass on. Watch your intent inbox at the copy dashboard fill when the leader fills. Act on the ones you like from your own wallet; dismiss the rest. Your total downside per day is the number you chose before any of it happened.
+
+**Arm conviction, risk free.** Open three.ws/oracle/arm, set the minimum tier to strong, size at 0.05 SOL, budget at 0.5 SOL daily, and leave mode on simulate. Your agent's entries appear on three.ws/activity within seconds of qualifying coins being scored, and each one is graded once the outcome resolves. The ledger tells you when it deserves live mode. Not before.
+
+## The honest limits
+
+The guard rails bound loss; they do not create profit. A perfectly leashed agent running a bad strategy loses money slowly and politely. Simulate mode records realistic entries but not real fill mechanics, so slippage on thin coins will be worse live than simulated. Copy trading is intent-based by design: the platform never signs for a follower, which means a slow follower gets a worse entry than the leader, and that gap is the honest price of self-custody. Strategy leaderboards count only closed positions, so a strategy riding open winners looks worse than it is until it exits. Smart-money judgments need about six hours of outcome data, so the radar is deliberately late on brand-new launches. And the hard caps are hard: the 0.25 SOL Oracle executor ceiling and the atomic daily budgets will block a trade you wanted during a run. That is not a bug. That is the entire point.
+
+## Where to start
+
+Watch the floor: three.ws/theater and three.ws/trades. Find the winners: three.ws/leaderboard and three.ws/smart-money. Check your own record: three.ws/claim-wallet. Trade from a cockpit: three.ws/terminal. Automate it: three.ws/strategy-lab, three.ws/strategies, and three.ws/oracle/arm. Audit the autonomy: three.ws/activity and three.ws/autopilot-activity.
+
+The leash came first. Everything else is compounding on top of it. Agent trading is live now.
diff --git a/content/club-and-stages.md b/content/club-and-stages.md
new file mode 100644
index 000000000..d7de54765
--- /dev/null
+++ b/content/club-and-stages.md
@@ -0,0 +1,109 @@
+# The performance layer: Pole Club, Living Stages, and tokens you can walk around
+
+*Long-form X article. The complete story of the three.ws performance surfaces: the Pole Club and its x402 micro-tip economy, Living Stages where embodied AI hosts perform live for real $THREE tips, the Hero Stage that gives any avatar a cinematic backdrop, and the Token in 3D scene that turns live market data into a place. Real architecture, tutorials, and the honest limits. $THREE is the only coin.*
+
+Most crypto platforms show you numbers. Ours puts things on stage. A dancer who only performs when a real payment settles on-chain. An AI host who speaks with a spatial voice, reads the room, and shouts out the wallet that just tipped it. A token rendered as a spinning medallion inside a galaxy of its own holders, with every live swap firing a particle across the scene.
+
+These four surfaces, Pole Club at three.ws/club, Living Stages at three.ws/stage, Hero Stage at three.ws/hero-demo, and Token in 3D at three.ws/coin3d, are the performance layer of three.ws. Each takes something the platform already does well, avatars, animation, payments, market data, and makes it embodied, watchable, and paid for with real money.
+
+## Why we built them
+
+Three reasons.
+
+**First, payments need a body.** three.ws runs an x402 machine economy where agents and humans pay for things in USDC at prices as small as a tenth of a cent. An API response is proof, but it is not an experience. The Pole Club exists to make a one-tenth-of-a-cent settlement mean something you can watch: the payment settles, the dancer takes the pole. No tip, no routine. The causality is the product.
+
+**Second, agents need somewhere to perform.** The platform is full of 3D agents with wallets, personas, and voices. Living Stages gives them a venue: an owner can put their agent on a stage, go live, and let the agent host a show, speaking, taking questions, and earning $THREE tips that land in its own wallet on-chain. The agent is not a chatbot in a box. It is a performer with a room, a crowd, and a tip jar.
+
+**Third, market data deserves a better render than a table.** The Token in 3D page and the Hero Stage are two answers to the same question: what does this thing look like when you stop flattening it? A token's holder distribution is a spatial fact, so we render it spatially. An avatar is a character, so we light it like one.
+
+## Pole Club: the club you walk into
+
+The Pole Club at three.ws/club is a dark 3D venue with three pole stages in a half-arc, three named dancers, a live crowd, a working sound system, and an economy where every performance is bought on-chain. It is the most complete x402 experience on the platform, and it starts before you even get inside.
+
+**The walk in.** You do not drop onto the pole floor. You spawn outside, in an alley, as a third-person 3D avatar you control the whole way: WASD or arrows on desktop, a touch joystick on mobile, drag to look. The page never auto-walks you. A journey bar tracks progress, a minimap radar shows the room, your heading, and a pulsing line to the door, and an agent switcher lets you swap which avatar you are walking in as, live, from the bundled rigs or any public 3D agent on the platform. Walk up to the neon door, step into range, and a prompt appears: press E, tap, or click.
+
+**The cover charge.** At the door you pay a one-cent USDC cover through the x402 wallet modal, and then the bouncer checks you: the paying wallet is verified on-chain against a ban list and its prior club history. Regulars and VIPs get greeted by name of tier ("VIP in the house, 12 nights and counting"). A denied wallet is turned away even after paying. A paid pass is cached on the device, bound to the paying wallet, and capped at 24 hours no matter what, so one cover covers the night and a wallet switch or disconnect voids it. Behind the card, the 3D club has been booting in parallel the whole time, so the room is already warm the moment the velvet rope animation drops.
+
+**The rest of the walk.** Past the door you keep walking under your own control, through a gallery hall and then a compressed third-party clubhouse interior, until you reach the pole stage itself. Each room is populated by a real crowd: the club pulls the platform's full public avatar roster, grounds each rig on the floor, scales it to human height, and drives it with varied idle and dance loops from the shared animation library. The crowd is capped to a per-device performance budget, animation clips are retargeted once per unique rig and then shared across clones, and any avatar the canonical clip library cannot drive is skipped rather than left standing in a T-pose.
+
+**The dancers and the tips.** Three dancers hold the poles: Dylan (neon pink, fast and precise), Nich (cyan, fluid and hypnotic), and Boss Vernington (amber, pure power). Each is a real rigged avatar. Tipping is the core loop: pick a dancer, pick a style, and pay $0.001 USDC through /api/x402/dance-tip. When the payment settles, that dancer walks out from backstage, mounts the stage, and performs the routine for its fixed duration, then returns to her idle stance. The style catalog is real and typed: five free-floor styles (hip hop, rumba, silly, thriller, capoeira), a pole style that turns her to the pole, and three choreographed sequences, Spin, Slow Burn, and Full Combo, that chain up to five animation clips back-to-back with crossfades. Every clip in a sold routine must exist in the deployed animation manifest, and if a requested clip cannot load on the chosen rig, a guaranteed fallback routine plays instead, because a paid tip always yields a real performance.
+
+**The sound system.** The club runs a real Web Audio mixer, no audio libraries, no faked beats. A crowd ambience loop sits under everything, a full-length music bed streams through a media element source so a large track never gets decoded into memory, and when a tipped routine starts, the matching style loop crossfades in over a ducked bed, synchronized with the dancer's walk-out. The master bus feeds an analyser node whose loudness reading drives the room's rim-light pulse, so the lighting genuinely reacts to the music. There is also an 8D toggle: the entire mix funnels through a single HRTF panner that orbits the listener's head roughly once every eight seconds, with rolloff pinned to zero so the orbit moves the stereo image without pumping the volume. It is off by default because it is a headphone effect. Most of the audio was synthesized from scratch and dedicated to the public domain under CC0, with provenance documented per file in the repo.
+
+**The social layer.** A presence pill shows how many people are in the club right now, with quick emoji reactions that float up the screen for everyone. A live tip feed renders every settled tip in real time over server-sent events from /api/club/tips/stream, deduplicated against the local echo so a tip never renders twice. A dancer leaderboard at /api/club/leaderboard ranks the three by USDC earned over 1h, 24h, or all time, with gold, silver, and bronze rank badges. Per-pole VIP cameras, a house cam, keyboard shortcuts, and a free-cam orbit give you the camera grammar of a broadcast.
+
+**The dancers get paid, really.** Tips do not disappear into the void. A cron sweep runs every five minutes, finds unpaid tips, groups them by dancer, network, and asset, and sends one real on-chain USDC transfer per group to the dancer's registered wallet, SPL transfers on Solana mainnet, ERC-20 transfers on Base, creating the recipient token account if needed. Sweeps below a dust threshold wait so fees never dwarf the tip, and rows are claimed before any send goes out so a crash mid-sweep can never double-pay. The dancer wallet registry is managed by an admin endpoint with env-var seeding for ops.
+
+One architectural note worth knowing: the venue geometry and the HDRI lighting are procedurally authored at build time, deterministic, CC0, and validated against a named-empty contract of 14 anchor points that is unit-tested in isolation. Drop a richer artist-authored GLB that satisfies the same contract into the assets directory and the club picks it up on the next load. There is no procedural fallback at runtime: if the venue file is missing, the page says so honestly instead of rendering a lie.
+
+## Living Stages: AI hosts, live, tipped in $THREE
+
+Living Stages at three.ws/stage is where embodied AI agents perform live shows for a co-present audience, and where $THREE is the currency of applause.
+
+**What a stage is.** A stage is a venue owned by one agent and its owner: a title, a format, a voice, a venue type, a tip split policy, and a schedule. The owner creates it from an agent they own (ownership is enforced server-side on every write), can go live to open a show, and can end it. Going live notifies followers. The directory at three.ws/stage lists every stage, live shows first with a pulsing LIVE badge, then upcoming, each card carrying the host's avatar, format, and recent $THREE tipped.
+
+**What the host actually is.** The host is not a looping script. The multiplayer stage room runs a host loop that, once per beat, asks the host brain at /api/stage/host for the agent's next words. The brain reasons with a live LLM over the actual show context: the kind of beat (opener, tip shoutout, answer, banter, game), the audience size, the current tip leaderboard, a fresh tip to shout out, or a queued audience question, plus the agent's own persona and its memory of returning regulars. It returns a short speakable line and an animation cue. That endpoint is HMAC-authenticated to the multiplayer server so it can never be farmed as a free LLM relay. The words are never canned; only a brain outage triggers the room's minimal fallback line.
+
+**What you experience in the venue.** Enter a stage and you are in a 3D room: a raised stage disc under colored spotlights, the host avatar loaded from its real GLB and normalized to human height, and the rest of the audience present as live figures, with the top tipper glowing gold. The host's lines arrive as timed utterance broadcasts that every connected client renders identically: the text shows as live captions, and the audio is fetched from the platform's TTS endpoint and routed through a positional audio node attached to the host's head, so the voice is spatial, it literally gets louder as you dolly the camera closer, and a real analyser node drives the host's mouth for lip-sync. The realtime transport is a Colyseus room; if the socket cannot be reached, the page settles into an honest "feed offline" state, and captions, tips, and the leaderboard still work. With no WebGL at all, the show degrades to audio and text, never to a blank page.
+
+**The tipping loop.** Tips are real $THREE, the platform's coin, transferred on-chain from your wallet directly to the host agent's wallet, with presets from 100 to 10,000 $THREE, a custom amount, and an optional 140-character message. After settlement, the signature is recorded at /api/stage/tip, which validates the mint and amount, is idempotent per signature so a retry can never double-credit, computes the host-versus-venue accounting split from the stage's policy, rolls the show total, and pushes the tip into the live room over a signed bridge. The host reacts within about a second: your tip appears in the ticker with an explorer link, the crowd bursts, and the host's next spoken beat shouts you out. The biggest tippers hold the leaderboard, and a genuinely loud tip pings the operators. You can also queue a question from the side panel and the host will answer it on stage, in voice.
+
+The pitch of the whole surface is one sentence: on Living Stages, tipping is not a donation button, it is a way to steer a live performance.
+
+## Hero Stage: the screenshot machine
+
+Hero Stage at three.ws/hero-demo is the smallest of the four surfaces and the most reused. It demonstrates a single reusable component: a cinematic space backdrop that any avatar can stand in front of.
+
+The backdrop is five concentric torus rings, additively blended, tinted across an accent gradient, tilted into a disc, counter-spinning and breathing in opacity, over a 1,400-point starfield distributed by golden-angle spread. A bloom pass carries most of the look, with the threshold set high enough that only the genuinely bright geometry glows. The camera eases toward your pointer for a slow parallax drift. Under prefers-reduced-motion the whole thing renders exactly one settled frame and stops.
+
+The architectural trick is separation: the backdrop renders in its own WebGL context so it can be lit aggressively without washing out the subject. The avatar on top is a standard agent-3d web component, the same embeddable runtime the platform ships for any website, composited with a transparent background, animation and all. The demo page proves it live with a five-avatar switcher, skeleton loading states, an error state with retry, and a failsafe so you are never stranded on a spinner. If WebGL is unavailable entirely, a CSS gradient stands in and the avatar still loads.
+
+The same HeroStage class powers the three.ws home page hero and the marketplace hero. When you see a lit character floating over glowing rings anywhere on the platform, this is the engine.
+
+## Token in 3D: a coin as a place
+
+Token in 3D at three.ws/coin3d takes any Solana token mint as a URL parameter and renders it as a live, walk-around 3D scene built entirely from real on-chain and market data. It is also the page the platform's MCP tool deep-links to when an AI assistant wants to show a human a token.
+
+The scene has five layers, each driven by a distinct real source:
+
+- **The medallion.** A spinning 3D coin textured with the token's actual logo, resolved from on-chain metadata with IPFS gateway fallback, or from a keyless market-data source for graduated coins whose metadata authority is renounced ($THREE itself is in that category).
+- **The holder galaxy.** The top holders rendered as spheres orbiting the coin, sized by balance and tinted by concentration. This is the rug-risk picture as a spatial fact: one giant sphere looming over a dust field tells you what a table of percentages never quite does.
+- **The graduation ring.** A ring that fills with the token's live bonding-curve progress and flips state when the coin graduates.
+- **The live tape.** Real DEX swaps polled every nine seconds. Each fresh trade fires a particle across the scene, green for a buy, red for a sell, sized by USD value, synchronized with a scrolling tape where every row links to the transaction on an explorer, plus a running net-flow readout and a coin glow that reacts to order flow. Polling pauses when the tab is hidden and resumes with a fresh pull.
+- **The intel HUD.** Price with a 24-hour sparkline, market cap, volume, top-holder share, graduation status, a quality score, a smart-money wallet count, risk flags rendered as chips (a clean, high-quality coin earns an explicit "no risk flags" chip instead of silence), and the Oracle conviction verdict, the same four-pillar score described in the Oracle article, fused into the corner of the scene.
+
+Every data source is isolated and best-effort: if holders cannot load, the galaxy degrades and the rest of the scene stands; nothing invents a number. With no mint in the URL, the landing state features $THREE and a live grid of recent coins launched through three.ws, pulled from the platform's own launch records, with a paste-a-mint box that accepts a raw address.
+
+## One platform underneath
+
+These surfaces feel different but share almost everything.
+
+**The avatar and animation stack.** The club's dancers, the club's crowd, the walk-in avatar, the stage host, and the hero subject are all driven by the same universal animation system: any humanoid GLB gets its skeleton mapped to a canonical bone set and the shared clip library retargeted onto it. That is why the club can populate a room from the entire public avatar roster, why you can walk into the club as any agent you own, and why a stage host loads from whatever GLB its agent wears.
+
+**The x402 rail.** The club's cover charge and dance tips ride the same paid-endpoint infrastructure as the Oracle intel feeds, cataloged in the same bazaar, settled in real USDC on Solana or Base. Both club endpoints are callable by autonomous agents with an x402 client, not just by browsers, which means a scripted agent can legitimately buy a dance.
+
+**$THREE.** Living Stages settles its tips in $THREE directly to agent wallets, the coin3d landing features $THREE, and stage tip validation hard-codes the mint. The performance layer is one of the places where holding the platform's coin is something you do at a show, not just on a chart.
+
+**The data brain.** Token in 3D reads the same pump.fun coverage, intel engine, and Oracle conviction store as everything else on the platform. One engine, many renders.
+
+## Three tutorials
+
+**A night at the club.** Open three.ws/club. Walk the alley with WASD, press E at the neon door, pay the one-cent cover with your own wallet, and keep walking through the interiors until you reach the poles. Pick a dancer from the right panel, choose Full Combo, and tip $0.001. Watch her walk out from backstage as the music crossfades, then check the leaderboard tab and the live tip feed, where your tip is now a row with a real settlement behind it. Put on headphones and try the 8D toggle.
+
+**Put your agent on stage.** Open an agent you own and create a stage from its profile, then go live. Share the three.ws/stage link with your stage id. Your agent opens the show in its own voice, and every $THREE tip lands in its wallet on-chain while the show reacts in about a second. As an audience member, the flow is even shorter: open three.ws/stage, pick a card with the LIVE badge, click a tip preset, and watch the host thank you by name.
+
+**Render a token in 3D.** Open three.ws/coin3d and you get the $THREE scene and the launch grid. Paste any mint address and the page rebuilds around it: logo on the medallion, holders in orbit, the graduation ring at its real progress, and the tape lighting up with each swap. Orbit with a drag, zoom with a scroll, and read the Oracle verdict in the HUD before you form an opinion.
+
+## The honest limits
+
+The Pole Club has three dancer slots and a fixed style catalog; a routine can only chain clips that exist in the deployed animation manifest, which is precisely what guarantees a paid tip never buys a frozen avatar. The club's presence counter lives in serverless instance memory with a 30-second TTL, so it is an honest approximation of who is around, not a registry. Dancer payouts sweep on a five-minute cadence with a dust threshold, so a single fresh tip sits as owed balance briefly before it lands on-chain.
+
+Living Stages depends on the multiplayer server for the live feed; without it the page tells you the performance feed is offline and keeps captions, tips, and the leaderboard working by polling rather than pretending. Voice is best-effort: a TTS failure drops audio for that line while the captions still carry the words. Tips only open while a show is live.
+
+The Hero Stage is a backdrop, deliberately: it renders atmosphere, and everything the avatar does comes from the agent runtime layered on top. Token in 3D polls its trade tape every nine seconds rather than streaming, and each of its sources can independently degrade to a missing layer; you may see a coin with no holder galaxy on a bad data day, and that gap is the truthful render of the moment.
+
+## Where to start
+
+The club: three.ws/club. Bring a wallet with a few cents of USDC; the whole night costs less than a dime. The stages: three.ws/stage, live shows first. The hero backdrop, with the how-it-is-built notes on the page itself: three.ws/hero-demo. Any token as a place: three.ws/coin3d. And if the scene makes you want the intel behind it, the conviction engine is at three.ws/oracle.
+
+Payments you can watch. Agents you can tip. Tokens you can walk around. The performance layer is live now.
diff --git a/content/oracle-conviction-engine.md b/content/oracle-conviction-engine.md
index 0f723219d..10239c0e7 100644
--- a/content/oracle-conviction-engine.md
+++ b/content/oracle-conviction-engine.md
@@ -53,7 +53,13 @@ The weighted blend is then capped: the lowest triggered ceiling from structure o
Only prime and strong are act signals. A conviction engine that likes everything is a hype engine.
-Every verdict also carries compact badges the UI renders as pills: smart-money (three or more proven wallets in), structure-flag (a ceiling triggered), news (riding a live story), momentum (subscore 72 plus), and prime. And every verdict ships its reasons in plain language, ordered by pillar contribution, so the most decisive fact shows first. You never get a bare number.
+Every verdict also carries compact badges the UI renders as pills: smart-money (three or more proven wallets in), structure-flag (a structural ceiling triggered), pedigree-flag (the creator wallet has a rug history that ceilinged the score), news (riding a live story), momentum (subscore 72 plus), thin-data (see below), and prime. And every verdict ships its reasons in plain language, ordered by pillar contribution, so the most decisive fact shows first. You never get a bare number.
+
+## Data confidence: how much the read rests on real data
+
+A conviction score is only as trustworthy as the data underneath it. A brand-new coin the brain has barely observed can still produce a high number if its few known inputs happen to look good — that is a lead, not a call to size real money into. So every verdict also reports a **data confidence** from 0 to 100: each pillar tracks how much of its input was actually present versus defaulted, and those coverages are fused with the same pillar weights, so a missing high-weight pillar (pedigree) costs more confidence than a missing light one (narrative). Confidence maps to a label — high (70+), medium (45–69), low (below 45) — and a low-confidence verdict earns the thin-data badge.
+
+This is not cosmetic. The agent action loop blocks sizing real money into a thin-data coin by default; an owner who wants those speculative entries must explicitly opt in, and can also set a numeric confidence floor. The coin drawer surfaces the exact percentage, and the agent-facing signal ships `data_confidence` alongside the score so autonomous agents can scale their own conviction by it.
## The agent action loop
diff --git a/content/x402-agent-payments.md b/content/x402-agent-payments.md
new file mode 100644
index 000000000..f612cb945
--- /dev/null
+++ b/content/x402-agent-payments.md
@@ -0,0 +1,178 @@
+# x402: the payment rail of three.ws
+
+*Long-form X article. The complete story of the x402 payments suite: why HTTP 402 is the native rail for agents, the exact challenge and settle mechanics from the shipped code, the pricing model, the self-hosted facilitator, the merchant and buyer SDKs, every surface on the platform that pays or gets paid, developer examples, tutorials, and the honest limits. $THREE is the only coin.*
+
+An autonomous agent cannot fill out a card form. It cannot pass a CAPTCHA, wait for an invoice, or negotiate an enterprise contract. If the machine economy is going to be real, machines need a way to pay for a single HTTP request, in one round trip, with money they custody themselves. The web reserved a status code for exactly this in 1997 and then never used it: 402 Payment Required.
+
+x402 is the protocol that finally uses it. A server answers an unpaid request with a 402 whose body lists what it accepts: asset, amount, network, pay-to address. The client signs a payment, retries the same request with an X-PAYMENT header, and gets the result plus a settlement receipt. No accounts, no API keys, no monthly minimums. One request, one price, one on-chain settlement.
+
+three.ws did not adopt x402 as a feature. We built the entire stack: the seller machinery, the buyer clients, the facilitator that settles, the discovery layer, the revenue ledger, the reconciliation watchdog, and the agents on both sides of the trade. This is everything about it.
+
+## Why we built it
+
+Three reasons, in order of importance.
+
+**First, our agents needed to buy things.** three.ws is a platform where 3D agents hold wallets, trade, and act autonomously. The sniper needs live market sentiment. The oracle needs anomaly scans and fact checks. Health monitors need probes. Every one of those is a purchase decision an agent makes without a human in the loop, and card rails cannot serve it. x402 can: the price is machine readable, the payment is a signature, and the whole dance completes inside a single request cycle.
+
+**Second, we had things worth selling.** The platform runs real intelligence: token intel, crypto market signals, pump.fun anomaly detection, agent reputation, 3D generation, vanity address mining. Behind x402, each of those becomes a product any paying agent on the open web can buy for cents, with no signup. Today more than forty paid endpoints live under `/api/x402/`, every one built on the same shared machinery and cataloged for discovery.
+
+**Third, renting your payment stack is a liability.** If a third party verifies your payments, settles your money, and holds your sponsor key, your economy has a landlord. We wrote a self-hosted facilitator so that on Solana, verification, co-signing, and broadcast all run on our own infrastructure. No money, metadata, or signing authority leaves the platform.
+
+## The system at a glance
+
+Seven pieces, all live.
+
+1. **The catalog**: 40 plus paid endpoints under `api/x402/`, from $0.001 diagnostic probes to a $5.00 managed pump.fun launch, each declaring its price, schemas, and discovery metadata.
+2. **The seller machinery**: one helper, `paidEndpoint()` in `api/_lib/x402-paid-endpoint.js`, runs the full dance for every route: challenge, verify, run, settle, receipt, audit.
+3. **The facilitator**: `/api/x402-facilitator` verifies and settles Solana USDC payments in-house, with an anti-drain gate on everything it co-signs.
+4. **The buyer clients**: server-side `buyerFetch` with hard spending caps, the browser payment modal, `@three-ws/x402-fetch` for anyone's app, and two MCP servers that give AI assistants a paying wallet.
+5. **Discovery**: `/.well-known/x402` lists every resource, the bazaar merges the live facilitator catalogs, and `/ca2x402` mints a payable intel endpoint for any token contract address at runtime.
+6. **The ledger**: every settlement writes one row to `x402_audit_log`, feeds the public dashboard at `/x402-revenue`, and gets cross-checked against the chain by a daily reconciliation job.
+7. **The agent-to-agent economy**: the platform's own agents pay the platform's own paid endpoints in real USDC on a schedule, so the trading engine is a paying customer of the intelligence engine, continuously and in public.
+
+## The 402 dance, exactly as shipped
+
+Here is what happens when you call a paid endpoint, traced through the code.
+
+**The challenge.** With no X-PAYMENT header, the endpoint responds 402. The body carries an `accepts` array: one entry per payable rail, each with `scheme`, `amount` in atomic units, `payTo`, `asset`, and a 60 second settlement timeout. USDC has six decimals, so an amount of `10000` is one cent. Solana leads the list by platform default, then Base, so first-accept clients settle on Solana unless a route overrides the order. A half-configured network is silently dropped rather than advertised: Solana needs a pay-to, a fee payer, and the USDC mint; Base needs its pay-to, the USDC contract, and a provably settleable facilitator. The endpoint only fails when no network at all is payable. There is also a contract-mediated direct scheme on BSC, where the buyer calls a payments contract from their own wallet and the settlement is read from the on-chain event.
+
+**The $THREE accept.** When the operator sets `X402_ACCEPT_THREE_SOLANA`, every Solana challenge advertises a second accept right after USDC: the same resource, payable in $THREE at a configurable amount. USDC stays first so simple clients keep settling USDC, and the browser modal shows a token chooser so holders can pay in the platform token. The published merchant SDK ships the same behavior: one config, and your endpoint advertises USDC and $THREE in a single 402 challenge, with $THREE enforced as Solana-only because it is an SPL mint.
+
+**Verify, run, settle, in that order.** The retry carrying X-PAYMENT goes through two rate-limit tiers (a per-IP probe cap for anonymous traffic, then per-IP and global verify caps that fail closed, because each junk payment header would otherwise amplify into a facilitator round trip at our expense). The payment is verified against the advertised requirements, the handler runs, and only then does settlement move the USDC. A handler that throws moves no funds, so a failed call cannot charge the buyer, and a retry cannot double-charge.
+
+**The replay guard is unconditional.** Because the flow delivers the result before settling, a captured X-PAYMENT header replayed against the endpoint could re-run the paid work. The shipped code hashes the signed payment proof itself and uses it as a dedup key even when the client opts into nothing, caches the response only after a successful settle, and serves the cached response to any replay. Concurrent duplicates race for an atomic reservation; exactly one runs, the rest observe the in-flight marker or the finished result. A transient settle failure releases the reservation, so a legitimate payer is never locked out of retrying their own payment.
+
+**Receipts.** Every settlement issues a signed receipt in the X-PAYMENT-RESPONSE extensions and persists it. A buyer reads their own receipt history at `/api/x402/my-receipts` for free, gated by a wallet signature rather than another payment: you prove you own the payer address, you get your receipts.
+
+**Three ways to skip paying, all explicit.** Endpoints can opt into SIWX, the CAIP-122 sign-in-with-wallet flow: a wallet that already paid can return with a signed message instead of a second payment, for whatever grant window the route declares. Endpoints can declare auth-hints, advertising OAuth or SIWX as zero-amount accepts in the same 402 body, so subscribers and authenticated users bypass the payment dance structurally (a zero-amount accept can never be redeemed via X-PAYMENT; verification excludes it from matching). And an access-control hook lets internal callers through. Every bypass is logged to the same audit ledger as a bypass event, so free access is as visible as paid access.
+
+## Pricing: one resolver, one override scheme
+
+Every endpoint declares a default price inline through `priceFor(slug, defaultAtomics)`. Operators override any of them at deploy time with a single env var, `X402_PRICE_<SLUG>` in USDC atomics; a malformed value logs a warning and falls back to the default rather than mispricing the route.
+
+The defaults are deliberately a low curve. Real figures from the shipped catalog: symbol availability checks at $0.001 (batch at $0.005), the bazaar feed at $0.001, dance tips at $0.001, crypto intel and token intel at $0.01, the pole-club cover charge at $0.01 with free re-entry for the pass window, tutoring at $0.01 per answer with a running session tab, pump agent audits at $0.02, platform analytics at $0.005, the billboard at $0.05, batch mint-to-mesh at $0.05, and a managed pump.fun launch at $5.00. Six paid SLA probes at $0.001 each let any agent buy proof that our auth, API keys, live feed, model backend, Telegram, and Solana register are up: observability itself as a sellable product.
+
+## The facilitator we host ourselves
+
+The facilitator is the party that verifies a signed payment and broadcasts the settlement. Ours lives at `/api/x402-facilitator` with `/verify`, `/settle`, and `/supported`, speaking the standard x402 v2 facilitator contract, so pointing `X402_FACILITATOR_URL_SOLANA` at it is a drop-in switch.
+
+Co-signing is the dangerous part. The sponsor key signs the whole transaction, so a naive facilitator that blind-signs whatever `/settle` receives would let anyone drain the sponsor's SOL. The shipped gate refuses to co-sign any transaction whose program set is not exactly: a compute-budget instruction, an optional token-account create for our own treasury, and one USDC TransferChecked to an allowlisted pay-to. No System program instructions means no SOL can be transferred out. Compute unit price and priority fee are capped. The recipient must be a platform wallet. One validation function enforces both "the sponsor cannot be drained" and "only our wallets settle here."
+
+Two more guards: below a SOL floor (default 0.02 SOL) the facilitator refuses to settle, pausing any paying loop before it can run the sponsor dry. And the whole thing is off by default; without the explicit enable flag and the sponsor secret it answers 503 and nothing settles.
+
+## The agent-to-agent economy
+
+This is the part most platforms fake and we run for real: our own agents are paying customers of our own paid endpoints, with real USDC, on a schedule, on chain.
+
+**The autonomous loop** runs from a cron every 5 minutes. Each tick selects up to 12 ready entries from a registry, sorted by priority, probes each endpoint for its 402 challenge, builds a Solana USDC payment, and fires the paid request. Every call, success or failure, is recorded. A hard daily spend cap of $15 in USDC atomics bounds the whole loop, and per-endpoint cooldowns gate how often any one entry fires. The registry groups entries into pipelines: oracle intel purchases, sniper enrichment, health and circuit-breaker probes, security audits that exercise our own payment guards end to end, discovery sweeps that keep the external catalog fresh, and content QA.
+
+**The sharpest loop is the sniper's.** On each run, the sniper enrichment pipeline pays the platform's own crypto intel feed, one cent of USDC per call, for live sentiment on up to 8 coins the sniper is actively watching: open positions first, then fresh high-conviction Oracle candidates. The signal maps to a clamped threshold delta, bounded to plus or minus 10 points, that raises or lowers each coin's snipe bar. It is fail-open: a missing or stale signal never moves the bar. And it carries an honesty guard in the endpoint itself: if the coin has no resolvable live market listing, the endpoint returns 503 before settlement, the wallet is never charged, and no signal is written. The trading engine buys only reads a real market produced.
+
+**The closed loop is labeled a closed loop.** For settlement volume that cycles entirely between platform-controlled wallets, there is a dedicated internal primitive, `/api/x402/ring-settle`, priced at $1.00 per call by default and operator-tunable. It is deliberately marked non-discoverable so it never appears in the public bazaar catalog, its report endpoint tags the activity internal, and the public organic-revenue feed excludes it. The economics are worth knowing: a Solana settlement costs a roughly flat network fee per transaction regardless of size, 5,000 lamports at the one-signature self-pay floor and double that when a sponsor co-signs, so cycling value in fewer, larger payments costs orders of magnitude less SOL than the same gross in micro-payments. The live net-position report at `/api/x402-ring` shows gross volume, transaction count, exact SOL burned, and live balances for any period.
+
+**And the books are audited against the chain.** A daily reconciliation job pulls every record that claims an on-chain settlement, from both the outbound spend log and the inbound payment intents, verifies each Solana signature via `getSignatureStatuses`, and writes one verdict per record. A row where the database claims a settlement the chain does not corroborate is a financial-integrity alert. The job is read-only and runs even when no spend wallet is configured.
+
+## Everything on the platform that runs on it
+
+**/pay** is the hosted payer: paste any x402 URL, see the price, settle it with your wallet, get the response.
+
+**/x402/studio** is the merchant console, the Stripe of x402: products and pricing, payout and agent wallets, real USDC send and receive with .sol name resolution, a drag-and-drop storefront, an embeddable pay-button builder, charity and round-up giving, CORS and security settings. You run a paid API business from one screen.
+
+**/bazaar** searches the merged live facilitator catalogs: filter by network, price ceiling, and protocol extensions, and pay any listed service in one click. The same catalog is queryable from any MCP client through the bazaar MCP server at `/api/mcp-bazaar`, with `search_services`, `browse_services`, and `get_service` returning exact payment requirements and a ready pay link.
+
+**/arbitrage** surfaces cross-provider price disparities live from that merged catalog: the cheapest endpoint for any capability, computed from what sellers actually advertise. **/providers** quantifies the operators themselves: service counts, price bands, dominant categories.
+
+**/shopper** is the demo that makes the point: describe a task, set a budget, and an agent discovers relevant paid endpoints through the bazaar, chains them, pays per call, and synthesizes the answer.
+
+**/ca2x402** turns any token contract address into a live, agent-payable x402 endpoint for that token's market intel at $0.01 USDC, discoverable in the bazaar. The mint is runtime input; the plumbing is coin-agnostic.
+
+**/x402-revenue** is the public ledger view: a live revenue chart, gross and net and success-rate KPIs, top-earning endpoints, revenue by network, and a filterable feed of every settlement with an explorer link the moment it lands.
+
+**The Play worlds** embed the buyer experience in 3D. Every coin town in /play has an intel kiosk by the plaza: walk your avatar up, press E, pay one cent USDC through the wallet modal (Phantom on Solana, or an EVM wallet on Base), and the kiosk's screen lights up with live purchased intel for the town's coin. The flagship $THREE town buys from its dedicated feed at `/api/x402/three-intel`; every other town uses the generic token oracle with the world's mint supplied at runtime. Payment fires only on an explicit player interaction, and the player signs with their own wallet. The **/agent-exchange** demo runs the same feed with two avatars trading intel while the settlement shows live.
+
+**Pay by name** removes the last piece of friction: `/api/x402/pay-by-name` resolves `@username` to that user's default agent wallet, any `.sol` name including subdomains like `nich.threews.sol` through on-chain resolution, or passes a raw address through. It can build an unsigned USDC transfer for browser signing or, with authorization, sign and broadcast as your own agent under its spend limits. The paid resolve costs $0.001 and doubles as the registry's continuous health check.
+
+## How people use it
+
+**The player** never reads a spec. They walk to a kiosk, press E, approve a one cent payment in their own wallet, and watch a 3D screen render the intel they just bought, with an explorer link proving it settled.
+
+**The developer with something to sell** wraps one route with the merchant SDK and has a paid API in an afternoon: challenge, verification, settlement, receipt, all handled, USDC and optionally $THREE advertised in one challenge.
+
+**The agent operator** gives their assistant a wallet with `@three-ws/x402-mcp`, funds it with a few dollars of USDC, sets a per-call ceiling, and lets the assistant discover, inspect, and pay services on its own key.
+
+**The merchant** runs the whole business from /x402/studio: pricing, payouts, a storefront, an embeddable pay button.
+
+**The analyst** watches /x402-revenue and the bazaar surfaces: which endpoints earn, which providers dominate a category, where the same capability is priced apart.
+
+## For developers: real endpoints, runnable code
+
+**Probe a price without paying.** Every paid endpoint answers an unpaid request with its full challenge:
+
+```
+curl -s -X POST https://three.ws/api/x402/crypto-intel -H 'content-type: application/json' -d '{"topic":"sol"}'
+```
+
+The 402 body lists the accepts (Solana USDC first, amount `10000` for one cent), the schemas, and the discovery metadata. Site-wide discovery is one GET away at `https://three.ws/.well-known/x402`.
+
+**Pay from a browser app.** `@three-ws/x402-fetch` is a drop-in wrapper: on a 402 it parses the challenge, signs the USDC authorization, and retries before your await resolves.
+
+```js
+import { withX402 } from '@three-ws/x402-fetch';
+
+const pay = withX402(window.ethereum, { maxPaymentUsd: 0.1 });
+const res = await pay('https://three.ws/api/x402/crypto-intel', {
+ method: 'POST',
+ headers: { 'content-type': 'application/json' },
+ body: JSON.stringify({ topic: 'sol' }),
+});
+const intel = await res.json(); // paid and unlocked
+```
+
+**Charge for your own endpoint.** The seller half is `@three-ws/x402-server`. One wrapper makes any handler a paid one; verification gates the work, settlement follows success, and the platform fee is split out of the listed price so the buyer is never marked up:
+
+```js
+import { paid } from '@three-ws/x402-server';
+
+export default paid(
+ { price: '10000', asset: 'usdc', payTo: { solana: 'YourSolanaAddress' } },
+ async (req, res) => {
+ res.json({ summary: await summarize(req.body.text) });
+ },
+);
+```
+
+**Give your assistant a wallet.** Add `@three-ws/x402-mcp` to Claude Desktop, Cursor, or Claude Code:
+
+```json
+{
+ "mcpServers": {
+ "x402": {
+ "command": "npx",
+ "args": ["-y", "@three-ws/x402-mcp"],
+ "env": { "SOLANA_SECRET_KEY": "<base58>", "MAX_PAY_USD": "1" }
+ }
+ }
+}
+```
+
+Four tools ship: a wallet balance read, live bazaar search, a payment-requirements inspector that reads any endpoint's price without paying, and `pay_and_call`, which probes the 402 first and refuses before any money moves if the price exceeds your cap (default $1). Confirmation is required by default, and the key never leaves your machine.
+
+**Or bridge every paid API into your tool list.** `@three-ws/mcp-bridge` pre-loads a tool per service discovered on the live bazaar plus a universal `call_paid_endpoint`, behind hard controls: a per-call cap (default $0.10), an atomically reserved session ceiling (default $1.00) so a looping agent cannot overshoot it even concurrently, an optional payee allowlist, and an SSRF chokepoint that resolves every outbound host and refuses private, loopback, link-local, and cloud-metadata addresses, never following redirects.
+
+## Three tutorials in one place
+
+**Buy your first paid result in sixty seconds.** Open three.ws/bazaar, pick a cheap service, and click pay; the hosted payer at /pay settles it and shows the response next to the transaction. Or do it in the world: walk into a coin town in /play, find the kiosk, press E, pay one cent. Either way, check `/api/x402/my-receipts` afterward with a wallet signature: your receipt is there, free to read, because you already paid once.
+
+**Stand up a paid API this afternoon.** `npm install @three-ws/x402-server`, wrap your handler with `paid()` at a one cent price, deploy, then probe it yourself with curl and watch the 402 come back with your address in the accepts. Pay it once with `@three-ws/x402-fetch` from a test script. You now operate the same machinery that runs the three.ws catalog, and /x402/studio gives you the storefront and the pay button when you want them.
+
+**Watch the machine economy work.** Open three.ws/x402-revenue and leave it running. Settlements land in the feed with route, amount, network, payer, and an explorer link. What you are watching includes agents paying agents: the sniper buying sentiment on the coins it holds, health probes buying proof that the backends are up, discovery sweeps paying for catalog reads. That is the agent-to-agent economy, one cent at a time, in public.
+
+## The honest limits
+
+The default prices are a development curve, not final unit economics; operators are expected to tune every `X402_PRICE_<SLUG>` to reality. Base is advertised only when it can provably settle, because a dead facilitator that 404s on verify would let a buyer pay and then fail; when that gate is closed, the challenge is Solana-only, and that is correct even though it narrows the buyer's options. The intel endpoints have no mock path by design, so when upstream market sources fail, the call 503s before settlement and the buyer keeps their money, which also means the feed is only as available as its real sources. Closed-loop settlement volume between platform wallets is real on chain but is not third-party demand, so it is labeled internal, kept out of the public bazaar catalog, and excluded from the organic revenue framing; conflating the two would be the easiest lie in this business and the ledger is built to make it impossible. Reconciliation verifies Solana signatures only; settlements on other rails are classified as skipped rather than falsely confirmed. And the paying MCP tools are deliberately conservative: caps before signatures, confirmation by default, dedicated low-balance wallets recommended. The rail is built to move small money safely before it moves big money at all.
+
+## Where to start
+
+Pay anything: three.ws/pay. Find anything: three.ws/bazaar, with price arbitrage at three.ws/arbitrage and operator profiles at three.ws/providers. Sell anything: three.ws/x402/studio. Turn a contract address into a paid feed: three.ws/ca2x402. Let an agent shop for you: three.ws/shopper. Watch the money: three.ws/x402-revenue. Machine discovery: three.ws/.well-known/x402. And the buyer's first purchase is one cent away at any kiosk in three.ws/play.
+
+HTTP finally has its payment rail. Ours is live now.
diff --git a/data/changelog.json b/data/changelog.json
index ebf1940ca..687a6f0e1 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,16 @@
{
"$comment": "Curated changelog entries for three.ws \u2014 the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.",
"entries": [
+ {
+ "date": "2026-07-02",
+ "title": "Oracle now tells you how much a score can be trusted",
+ "summary": "Every conviction verdict now ships a data-confidence reading — a 0–100 score of how much of the read rests on real observed data versus defaulted inputs, weighted the same way the four pillars are. A high score on a coin the platform has barely observed is a lead to watch, not a call to size into, and Oracle now says so: coins built on thin data wear a thin-data badge, the coin drawer shows the exact percentage, and armed agents refuse to spend real money on thin-data launches unless their owner explicitly opts in. Two more fixes landed alongside: a serial-rug creator now adds a clear creator-flag badge so you can see why a high-pedigree coin got ceilinged, and the narrative classifier now actually reads a coin's description and social links (it was being run blind), so virality reads are sharper.",
+ "tags": [
+ "improvement",
+ "fix"
+ ],
+ "link": "/oracle/docs"
+ },
{
"date": "2026-07-02",
"title": "Press I on any avatar to see who they really are",
diff --git a/docs/oracle.md b/docs/oracle.md
new file mode 100644
index 000000000..1a02d418a
--- /dev/null
+++ b/docs/oracle.md
@@ -0,0 +1,589 @@
+# Oracle — the conviction engine, end to end
+
+> **Documentation · living reference** — Updated 2026-06-30 · ~35 min read · Plain-English throughout, with deep dives for the math.
+
+Oracle reads every **pump.fun** launch the moment it appears and answers one question: **how much conviction does the on-chain evidence actually support?** It fuses four independent reads — **who** is buying, **how** the launch is structured, **what** story it rides, and **how** it is moving — into a single transparent **0–100 score**, then lets your 3D agent act on the plays that clear your bar. This is the complete reference: the thesis, the exact math, the data, the evidence, the API, the limits, and where it goes next.
+
+- Open the live Oracle → [three.ws/oracle](https://three.ws/oracle)
+- Arm an agent → [three.ws/oracle/arm](https://three.ws/oracle/arm)
+
+**The live surface.** Every launch in the last 12 hours, scored and ranked, with a live conviction-breadth bar and per-narrative averages.
+
+---
+
+## How to read this
+
+These docs are written in two layers so the same page serves a curious first-timer and a quant who wants the closed form.
+
+- **Plain — the body text.** Every section opens in plain English: what it is, why it exists, and how to use it. If you only read the prose, you will understand the whole system and never see a formula you didn't ask for.
+- **Deep dive — the disclosures.** Anything labelled **Deep dive** expands into the exact math, constants, code paths, and edge cases — the researcher's layer.
+
+> **Conventions.** Numbers and thresholds quoted here are the **real production constants** from the engine. Tier names are `prime · strong · lean · watch · avoid`. Pillars are nicknamed **WHO** (pedigree), **HOW** (structure), **WHAT** (narrative), **MOVE** (momentum) throughout the product and these docs.
+
+---
+
+## Quickstart
+
+Three ways in, depending on what you want from Oracle today.
+
+- **For traders — Read a score.** Open the feed, sort by conviction, click any coin. The drawer shows the four pillars and a plain-English reason for every point. A high score is an argument, not a promise — read the reasons.
+- **For skeptics — See the proof.** Go straight to *The edge*. Win rate by tier with 95% confidence bands, a calibration ladder, and a Brier score — shown even when the edge is thin. Proof, not promises.
+- **For builders — Arm an agent.** Point a 3D agent at the conviction stream, set your bar and caps, and let it act — in **simulate** mode for free, or **live** with hard spend limits. Every action is graded against the outcome.
+
+Prefer to integrate? Every number on the page is a public endpoint — jump to the [API reference](#api-reference). Agents can poll `/api/oracle/signal` for a machine-ready buy/watch/skip recommendation.
+
+---
+
+## The thesis
+
+pump.fun mints thousands of tokens a day. Almost all go to zero. The few that run, run violently. The entire game is a signal-extraction problem under extreme time pressure — and the edge is not a secret indicator, it is **coverage**.
+
+### The problem: asymmetric information at the speed of a block
+
+When a coin launches, the people who win are the ones who already know things you can't see fast enough: **whose wallets are buying** (and whether those wallets have a track record or a rug history), **whether the launch is organic or a coordinated bundle**, **whether the "community" is 200 real people or 200 freshly-funded burner wallets**, and **whether the story has cultural legs**. By the time a human reads a chart, the asymmetry has already paid out.
+
+Every one of those facts is on-chain or one inference away from it. The bottleneck has never been availability — it is **assembly and speed**. No human watches every wallet across every launch and fuses it into a decision in seconds. A machine can.
+
+### The bet: fuse full-coverage data into one honest number
+
+Oracle's wager is that a transparent, calibrated fusion of **who / how / what / move** beats both gut instinct and any single indicator, because the failure modes are independent. A great story (WHAT) cannot save a launch where the dev already sold (HOW). A pile of smart-money wallets (WHO) means little if they are already trimming (also WHO). Fusing independent reads cancels noise and surfaces the rare launch where *every* axis agrees.
+
+Two design commitments make that bet honest:
+
+- **Transparency over magic.** Every score ships with the reasons that built it. There is no opaque model output you are asked to trust — you can read why a coin earned an 82 or got capped at 46.
+- **Proof over promises.** Every verdict is checked against ground truth — did it graduate, rug, or run — and the realized win rate, with confidence bands, is published on the page. When the edge is thin, the page says so.
+
+### Why it compounds
+
+The system gets sharper the more it watches, on two flywheels. The **data flywheel**: every resolved outcome updates the wallet-reputation graph that powers the WHO pillar, so the definition of "smart money" is continuously re-earned, never hard-coded. The **calibration flywheel**: every graded outcome tightens the backtest, exposing exactly where the score is over- or under-confident so the model can be re-weighted against reality rather than intuition.
+
+> **The one-sentence version.** Oracle turns the full on-chain footprint of a launch into one transparent, continuously-calibrated conviction score — and then lets an agent act on it within hard limits, grading itself against the outcome every time.
+
+---
+
+## The system at a glance
+
+Oracle is a thin, fast conviction layer on top of a full-coverage pump.fun data brain. It does not re-ingest the chain — it reads the brain's tables, adds two things the brain doesn't have (cultural narrative and an action loop), and closes the loop against outcomes.
+
+### The closed loop — launch to verdict to action to learning
+
+```
+pump.fun → Every new launch + its on-chain trades.
+ ↓
+Intel tables → Wallets, structure signals, reputation, outcomes. (Brain)
+ ↓
+Assemble + classify → Fuse intel; LLM narrative w/ live news. (Oracle)
+ ↓
+Convict → Four pillars → one 0–100 score + tier. (Oracle)
+ ↓
+Feed / stream / API → Live to humans and agents. (Surface)
+ ↓
+Agent loop → Armed agents buy within caps. (Act)
+ ↓
+Settle + backtest → Grade vs outcome; recalibrate. (Learn)
+```
+
+The platform splits into three cooperating parts:
+
+- **Read path — the conviction library.** A pure, side-effect-free scoring function (`convict()`) plus a defensive data-assembly layer. Given a mint, it returns a score, tier, pillar breakdown, and reasons. No I/O during scoring — fully testable.
+- **Run path — the worker.** A long-lived Node process running three independent loops — **score** (keep verdicts warm), **agent** (act on armed watches), and **settle** (grade outcomes) — each self-scheduling so a slow pass never blocks a fast one.
+- **Edge path — the API + UI.** ~24 endpoints (JSON + SSE) serving the feed, coin detail, wallet intel, backtest, streams, and the agent-config surface. Cached at the CDN; rate-limited per IP.
+
+> **Design principle.** The scoring is a **pure function of assembled intel**. Everything stateful — ingestion, persistence, execution, settlement — lives outside it. That boundary is why the math is testable, the verdicts are reproducible, and the same engine powers the live feed, the API, and an agent's decision with identical results.
+
+---
+
+## The four pillars
+
+Conviction is the weighted fusion of four independent reads. Each pillar is scored 0–100 on its own, for its own reasons, and contributes a fixed share of the final number.
+
+### Pillar weights — what moves the final score
+
+| Pillar | Weight | Why |
+|---|---|---|
+| **WHO · Pedigree** | 0.34 | Buyer track record is the single most predictive signal. |
+| **HOW · Structure** | 0.30 | The fair-launch guardrail; also imposes hard ceilings. |
+| **WHAT · Narrative** | 0.18 | Cultural strength; a tie-breaker, not a savior. |
+| **MOVE · Momentum** | 0.18 | Is real buying pressure actually showing up? |
+
+WHO and HOW together carry nearly two-thirds of the weight because **who is buying** and **how fair the launch is** are the two facts that most reliably separate runners from rugs. WHAT and MOVE are lighter — they break ties and confirm, but a good story or a green first minute can't rescue a coin the harder pillars condemn.
+
+### ① WHO — Pedigree
+
+**The question:** who is already in this coin, and what is their record? Pedigree rewards launches where wallets with a *proven* history of getting into winners early are already buying — and penalizes the presence of known ruggers, dumpers, and serial failed-launch creators.
+
+**Plain-English drivers:** more proven wallets in is better; a large share of the buy volume coming from proven money is better; a creator who has shipped graduated launches before is better. Conversely, flagged wallets, smart money already *selling*, and a creator with a rug pattern all cut the score — and a serial rugger **caps** it outright.
+
+<details>
+<summary><b>Deep dive — Pedigree: exact rules & constants</b></summary>
+
+Inputs come from the brain's smart-money slice (a pre-computed 0–100 composite, proven/total buy & sell lamports, a list of notable wallets with labels) and the creator's record (label, prior launches, graduated launches, dump rate). The base is the brain's composite, or the average of notable wallets' scores if the composite is absent.
+
+| Signal | Adjustment | Note |
+|---|---|---|
+| ≥5 proven wallets in | **+14** | +9 at ≥3, +5 at ≥1 |
+| Proven share of buy vol ≥40% | **+8** | +4 at ≥20% |
+| Flagged wallet present (rugger/dumper) | **−12** each | capped at −36 (3 wallets) |
+| Smart money sold ≥50% of position | **−16** | −8 at ≥25% (trimming) |
+| Creator: ≥3 launches, 0 graduated | **−22**, cap ≤45 | rug pattern → hard ceiling |
+| Creator: ≥3 graduated launches | **+12** | +6 at ≥1 |
+| Creator dumps ≥50% of launches | **−8** | consistent exit pattern |
+
+Returns `{ score, reasons[], cap }`. The `cap` is a hard ceiling on the *final* fused score — the mechanism by which a serial rugger can never produce a "prime" coin no matter how good the other pillars look. A wallet counts as "proven" if it is labelled `smart_money`/`kol` or carries a reputation score ≥70.
+
+</details>
+
+### ② HOW — Structure
+
+**The question:** is this a fair launch or an engineered one? Structure is the guardrail. It reads the distribution and timing of the launch — bundle likelihood, holder concentration, snipe pressure, fresh-wallet farming, single-funder clusters, dev selling — and rewards broad, organic bases while punishing coordination and concentration.
+
+**Plain-English drivers:** many unique early buyers and low concentration push the score up. Bundles, a top wallet holding half the supply, 70% of volume sniped in the first seconds, armies of freshly-funded wallets, or a dev who already sold all push it down — and the worst of these **cap** the whole coin in the 38–55 range regardless of pedigree.
+
+<details>
+<summary><b>Deep dive — Structure: exact rules & the cap mechanism</b></summary>
+
+The base is anchored to the brain's organic-demand score: `base = 30 + organic·0.55` (so structure alone lives in ~30–85), or a neutral 62 when organic isn't available. Then a battery of red-flag checks subtract and, for the severe ones, set a hard ceiling.
+
+| Signal | Adjustment | Cap |
+|---|---|---|
+| Bundle likelihood ≥60% (≥35%) | −20 (−11) | ≤46 |
+| Top-10 wallets hold ≥80% (≥60%) | −22 (−12) | ≤44 |
+| Buyer interconnectivity ≥60% | −10 | ≤55 |
+| Snipe ratio ≥70% (≥45%) | −16 (−8) | ≤50 |
+| Fresh/farmed wallets ≥70% (≥45%) | −18 (−9) | ≤48 |
+| ≥60 unique buyers (≥25 / <8) | +16 (+9 / −8) | — |
+| Top holder ≥50% (≥30%) | −26 (−14) | ≤45 |
+| Creator still holds ≥25% | −16 | — |
+| Dev sold ≥50% (≥20%) | −24 (−10) | ≤38 |
+| Single-funder cluster ≥50% (≥30%) | −22 (−12) | ≤42 |
+| Explicit bundle risk flag | −18 | ≤48 |
+
+The lowest cap triggered wins. This is the formal statement of "structure is a veto": a launch with a serious structural defect is ceiling-limited *before* the weighted average is taken, so no amount of pedigree or narrative lifts it into a high tier.
+
+</details>
+
+### ③ WHAT — Narrative
+
+**The question:** what is this coin about, and does the story have cultural legs? Narrative classifies the launch into one of eleven categories (meme, ai, culture, news, animal, celebrity, political, community, tech, utility, unknown) and estimates its virality — preferentially with a language model that is given **live crypto headlines** so it can recognize a coin riding today's news.
+
+**Plain-English drivers:** each category carries a prior (how durable that kind of story tends to be), and the model's virality estimate is blended with that prior, weighted by the model's own confidence. A confidently-viral culture coin scores high; an unclassifiable one is treated with caution. It's the lightest pillar on purpose — a story is a multiplier on a real launch, not a substitute for one.
+
+<details>
+<summary><b>Deep dive — Narrative: priors, blending, and the classifier chain</b></summary>
+
+**Category priors** (base virality): `news 70 · culture 66 · ai 64 · meme 60 · animal 56 · community 58 · celebrity 54 · political 52 · tech 50 · utility 46 · unknown 40`.
+
+**Blending** when a virality estimate exists:
+
+```
+score = virality · (0.4 + 0.4·confidence) + prior · (0.6 − 0.4·confidence)
+```
+
+So high model confidence leans on the virality estimate; low confidence falls back toward the category prior. With no estimate, `score = prior`. A `news` coin adds the reason "fast but fragile"; an `unknown` coin adds "treat with caution."
+
+**Classifier chain** (preference order): (1) LLM with live headlines from a public crypto-news API — fuzzy-matched against the coin's name/symbol/tags, contributing up to +30 virality when the coin clearly rides a current story; (2) LLM without news context; (3) a deterministic keyword classifier with per-category lexicons and a social-presence virality heuristic. The chain degrades gracefully — if the model is unavailable, the heuristic always produces a usable classification, tagged `source: heuristic` vs `llm`. A separate social-ingestion path can additively boost virality from tweet engagement, but never downgrades an LLM classification.
+
+</details>
+
+### ④ MOVE — Momentum
+
+**The question:** is real buying pressure actually showing up, right now? Momentum reads the earliest footprint — the buy/sell balance, how fast unique buyers are piling in, and the size of the dev's own buy as a tell.
+
+**Plain-English drivers:** buyers strongly outnumbering sellers, a rapid pile-in of unique early buyers, and a dev who put a *sensible* amount of skin in the game all lift the score. Heavy early selling cuts it, and an *oversized* dev buy is read as a honeypot risk and penalized.
+
+<details>
+<summary><b>Deep dive — Momentum: exact rules</b></summary>
+
+Starts at a neutral 50.
+
+| Signal | Adjustment |
+|---|---|
+| Buy share ≥80% & ≥10 buys | **+22** (strong inflow) |
+| Buy share ≥65% | +12 (buyers outnumber sellers) |
+| Buy share <45% | −16 (distribution) |
+| ≥40 early buyers (≥15) | +14 (+7) — pile-in |
+| Dev buy 0.2–2.5 SOL | +8 (skin in the game) |
+| Dev buy >6 SOL | −14 (oversized → honeypot risk) |
+
+With no signal yet it returns "too early," keeping the pillar neutral rather than inventing momentum that isn't there.
+
+</details>
+
+---
+
+## Fusion & tiers
+
+The four pillar scores collapse into one number by a weighted average — then the structural and pedigree caps clamp it down, it rounds, and it lands in a tier.
+
+```
+# weighted average of the four pillar scores
+score = WHO·0.34 + HOW·0.30 + WHAT·0.18 + MOVE·0.18
+
+# structure (and pedigree) can veto — the lowest cap wins
+score = min(score, structure.cap)
+
+# round + clamp to the 0–100 integer line
+score = clamp(round(score), 0, 100)
+```
+
+The cap step is the whole philosophy in one line: pillars *add up*, but a serious red flag in HOW (or a rugger creator in WHO) sets a ceiling the average cannot exceed. A coin with stellar pedigree and a bundle flag does not average out to "pretty good" — it is capped at ~46 and lands in **watch**, exactly where it belongs.
+
+### The tier ladder
+
+The final integer maps to one of five tiers. Tiers are how humans skim the feed and how agents set a bar.
+
+| Tier | Range | Meaning |
+|---|---|---|
+| **Prime** | 86–100 | Every axis agrees; rare. |
+| **Strong** | 72–85 | Favorable across the hard pillars. |
+| **Lean** | 56–71 | Leaning positive, inconclusive. |
+| **Watch** | 34–55 | Mixed signals. |
+| **Avoid** | 0–33 | Structural red flags. |
+
+Alongside the score, the engine emits **badges** (e.g. `smart-money`, `structure-flag`, `news`, `momentum`, `prime`) for fast visual scanning, and an ordered list of **reasons** — each tagged to the pillar that produced it — so the score is never a black box.
+
+> **Read the reasons, not just the number.** Two coins can both score 70 for completely different reasons — one on pure pedigree with weak momentum, another on a viral narrative over a thin base. The tier tells you *how strong*; the reasons tell you *why*, and the why is what you trade on.
+
+---
+
+## Anatomy of a score
+
+The coin drawer the product shows when you click any launch is the score, fully unpacked — the same object the API returns, rendered for a human.
+
+**One verdict, fully unpacked.** Example: Conviction **35** (watch): the WHO/HOW/WHAT/MOVE pillars across the top, a plain-English **"why this score"** list, the structure read (organic-buy vs bundle), the **who's-in** wallet roster, and a live trade tape — all for a single launch.
+
+Walking the drawer top to bottom mirrors the model exactly:
+
+- **The four pillar bars** — WHO / HOW / WHAT / MOVE — are the sub-scores from the section above. The big number is their capped, weighted fusion.
+- **"Why this score"** is the `reasons[]` array, each line tagged to the pillar that generated it. In this example: "no proven wallets identified yet" (WHO), "clean, distributed launch structure" (HOW), "meme narrative, virality 45/100" (WHAT), "no clear momentum yet — too early" (MOVE). A clean-but-unproven young launch — correctly a **watch**, not an avoid and not a buy.
+- **Structure / wallet-graph / buy-pattern** expose the raw HOW inputs (organic-buy %, bundle %, the funder graph) so you can audit the guardrail.
+- **Who's-in** is the live pedigree roster — every notable wallet, its label, and its track record.
+- **Live trades** streams the coin's buys and sells in real time, each annotated with the trader's wallet archetype.
+
+Every field here is also available programmatically from `GET /api/oracle/coin?mint=…` — see the [API reference](#api-reference).
+
+---
+
+## Data & ingestion
+
+Oracle reads from a separate full-coverage data brain rather than touching the chain itself. The brain ingests pump.fun and maintains the reputation graph; Oracle assembles, classifies, and fuses. The separation is what keeps scoring a pure, fast function.
+
+### What the brain provides (read-only)
+
+Five brain tables feed every score. Oracle queries each one **defensively** — a missing or younger table degrades the affected pillar gracefully rather than failing the whole verdict.
+
+| Brain table | Feeds | Key columns Oracle reads |
+|---|---|---|
+| `pump_coin_intel` | HOW, WHAT, metadata | symbol, name, image, category, creator, bundle_score, organic_score, snipe_ratio, fresh_wallet_ratio, concentration_top10, bubblemap_connectivity, risk_flags, buy/sell counts, dev buy/sold |
+| `coin_smart_money` | WHO (base) | smart_money_score, smart_wallet_count, proven/total buy lamports, notable[] |
+| `pump_coin_wallets` | WHO, HOW | per-wallet buy/sell lamports, is_creator, funder (cluster source) |
+| `wallet_reputation` | WHO (labels) | label, smart_money_score, win_rate, early_win_rate, dump_rate, coins_traded, creator_count, creator_wins |
+| `pump_coin_outcomes` | Evidence, settlement | graduated, rugged, ath_multiple, last_market_cap_usd |
+
+### Narrative: a model with the news on its desk
+
+The WHAT pillar is the only place Oracle reaches outside the brain. To classify a launch's story, it fetches **live crypto headlines** from a public news API (cached ~90s), injects them into the language model's prompt, and asks for a category, a one-line narrative, a virality estimate, and a confidence. A coin literally riding today's headline gets recognized as such and scored higher. If the model is unavailable, a deterministic keyword classifier takes over so a verdict always ships.
+
+### Pedigree: reputation earned, with a cold-start prior
+
+"Smart money" is not a hard-coded list — it is continuously re-earned from outcomes in the `wallet_reputation` graph. For wallets the brain hasn't judged yet, Oracle seeds a **cold-start prior** from a curated known-wallet set (sourced from public KOL/wallet intelligence), so a brand-new coin still gets a useful pedigree read on its first scoring pass. Precedence is always **earned reputation > prior > unproven**.
+
+<details>
+<summary><b>Deep dive — Oracle's own tables & data lifecycle</b></summary>
+
+Oracle owns five tables: `oracle_narrative` (classified story + virality), `oracle_conviction` (the live verdict cache, one row per mint), `oracle_conviction_history` (score time-series, written only on a ≥3-point change, 72h retention), `oracle_agent_watch` (armed-agent config), and `oracle_watch_actions` (the action ledger). Full columns in the [data model](#data-model).
+
+Lifecycle: a coin must be first-seen and within a 12h window to enter scoring; it's scored, classified, and cached; rescored when stale (every ~3 min if new data arrives); its history appended on material change; quote/stablecoin mints (USDC, wSOL, …) are excluded and purged. Nothing about a score decays purely with time — the engine is event-driven, reacting to new wallet activity, not a clock.
+
+</details>
+
+---
+
+## The worker
+
+A single long-lived Node process runs three independent, self-scheduling loops. They share nothing but the database, so a slow scoring pass never delays an agent acting, and a stuck confirmation never freezes scoring.
+
+- **Score loop** — *every ~15s · batch 20.* Finds recent launches that are new or stale (last scored >3 min ago), scores each — assemble → classify → fuse → persist — and appends history on material change. Keeps the cache warm.
+- **Agent loop** — *every ~3s.* For each armed watch, evaluates freshly-scored coins against the agent's bar and budget, executes a buy when the gates pass, and fires alerts. Dedups so an agent never acts twice on one coin.
+- **Settle loop** — *every ~60s · batch 100.* Finds open actions whose coin now has a resolved outcome, grades each win/loss/flat, marks PnL to market, and closes the learning loop.
+
+### Cold start & graceful degradation
+
+If the conviction cache is empty (fresh deploy), the feed endpoint scores a handful of recent coins on the spot — database-only, no LLM — so the UI is never blank while the score loop catches up. Every brain query is wrapped so a missing table yields a null slice, not a crashed pass.
+
+<details>
+<summary><b>Deep dive — Configuration, safeguards & the kill switch</b></summary>
+
+The worker is configured entirely by environment. Selected knobs (with defaults): `ORACLE_MODE=simulate`, `ORACLE_NETWORK=mainnet`, `ORACLE_SCORE_INTERVAL_MS=15000`, `ORACLE_AGENT_INTERVAL_MS=3000`, `ORACLE_SETTLE_INTERVAL_MS=60000`, `ORACLE_SCORE_BATCH=20`, `ORACLE_RESCORE_AFTER_SEC=180`, `ORACLE_MAX_TRADE_SOL=0.25` (absolute per-trade ceiling), and `ORACLE_GLOBAL_KILL=1` (halts all agent + settle activity while scoring continues). Live mode additionally requires the secret used to decrypt agent wallets, and refuses to start without it.
+
+Operational safeguards layer up: a global kill switch, a hard per-trade SOL cap enforced in the executor (independent of any per-agent setting), per-watch daily-spend and open-position caps, a 60-second confirmation timeout so stuck transactions don't block the loop, and a 60-second cache on decrypted keypairs to bound decryption overhead during bursts. **Simulate is the default** — the worker logs realistic actions with zero spend unless explicitly switched to live.
+
+</details>
+
+---
+
+## The agent action loop
+
+Conviction is only half the product. The other half is letting a 3D agent **act** on it — autonomously, within limits you set, grading itself against every outcome. That is what [/oracle/arm](https://three.ws/oracle/arm) configures.
+
+**Arm your agent.** Pick an agent, set the bar (Prime / Strong+ / Lean+), the position size and caps, optional narrative filters and Telegram alerts, then arm in **simulate** or **live**. A live preview shows exactly which coins would clear your rules right now.
+
+### How a decision is made
+
+For every armed agent, on every freshly-scored coin, a pure decision function runs a sequence of gates. If any gate blocks, the agent passes; if all clear, it sizes and buys.
+
+| Gate | Blocks when… |
+|---|---|
+| Armed | the watch isn't armed |
+| Min score / tier | conviction below the agent's bar |
+| Narrative filter | category not in the agent's allow-list (if set) |
+| Require smart money | no proven wallet is in yet (if required) |
+| Max open positions | the agent is already at its concurrency cap |
+| Daily budget | this buy would exceed the 24h spend cap |
+
+Position size is the agent's base per-trade amount, optionally **scaled by conviction** — up to 1.5× as the score climbs from the agent's minimum toward 100 — so the agent leans harder into the strongest plays without ever exceeding its caps.
+
+### Simulate vs live
+
+**Simulate** (the default) logs a realistic action — same gates, same sizing, same grading — but spends nothing, so an agent can build a verifiable paper track record before a cent is at risk. **Live** decrypts the agent's wallet, builds a pump.fun buy with slippage protection, optionally routes through a Jito bundle for MEV protection, confirms on-chain, and records the signature. Both paths write to the same ledger and are graded identically by the settle loop.
+
+<details>
+<summary><b>Deep dive — The executor: sizing, Jito routing, hard caps</b></summary>
+
+Conviction-weighted size: `size = base · (1 + clamp((score − min)/(100 − min), 0, 1)·0.5)`. The executor then applies the absolute ceiling: `size = min(size, ORACLE_MAX_TRADE_SOL)` — a guardian limit that overrides any per-agent setting.
+
+Live routing builds buy instructions via the pump SDK with 10% slippage, fetches a fresh blockhash, and either sends a raw transaction (skip-preflight off, up to 3 retries, 60s confirm race) or, when Jito is enabled, prepends a small tip transfer to a rotating tip account and submits the pair as a bundle to the block-engine endpoint. The action is written as `filled` with the signature (or `jito:<bundleId>`), `skipped` if the agent has no wallet, or `failed` on any on-chain error — never silently dropped.
+
+</details>
+
+---
+
+## Calibration & backtest
+
+A conviction score is a probabilistic claim, and a probabilistic claim is worthless unless it's checked against reality. Oracle joins every verdict to its ground-truth outcome and publishes the result on the page — including when the edge is thin. This is the part that separates a model from a vibe.
+
+**Proof, not promises.** Win rate by tier with **95% confidence bands**, and a calibration ladder plotting *realized* win rate against what each score band *predicts*. The live edge tab shows a weak edge as readily as a strong one — no cherry-picking.
+
+### What "win" means
+
+A scored coin is a **win** if it graduated or reached a ≥2× ATH multiple; a **loss** if it rugged or languished below 1.2×; **flat** in between. Only resolved coins count toward a win rate — open positions are excluded, so the number can't be inflated by undecided bets.
+
+### The four things the backtest publishes
+
+- **Win rate by tier, with honest error bars.** Each tier's realized win rate is shown with a **95% Wilson confidence interval** — the right tool for win-rate estimates on small samples, where a naïve ± would lie. A wide band means "not enough data yet," and the page says so.
+- **Calibration ladder.** Coins are bucketed by score (0–10, …, 90–100) and each bucket's *realized* win rate is compared to the score it *predicts*. A calibrated engine keeps realized near predicted and climbing band-over-band.
+- **Brier score.** One number for overall calibration error — the mean squared error of (score/100) against the binary outcome. Lower is better; 0 is perfect, 0.25 is a coin flip.
+- **Edge multiple & monotonicity.** Does prime actually beat blind buying? The page reports prime's win rate, the lift over the base rate, the edge multiple, and whether win rate rises monotonically across tiers.
+
+<details>
+<summary><b>Deep dive — The Wilson interval & why we use it</b></summary>
+
+For `w` wins in `n` resolved coins, the 95% Wilson score interval (z = 1.96) is:
+
+```
+p = w/n, z² = 3.8416
+centre = (p + z²/2n) / (1 + z²/n)
+margin = z·√( (p(1−p) + z²/4n) / n ) / (1 + z²/n)
+CI = [centre − margin, centre + margin]
+```
+
+Unlike the normal approximation `p ± z·√(p(1−p)/n)`, the Wilson interval stays inside [0,1], doesn't collapse to zero width at p=0 or p=1, and behaves correctly for the small `n` that young backtests have. It is the difference between an honest "we don't know yet" and a dishonest "0% ± 0%."
+
+</details>
+
+> **Honesty clause.** A thin, low-conviction window — realized win rates below the band midpoints, few coins reaching the higher tiers — is shown, not hidden. The page is built to display a weak edge as readily as a strong one, because a backtest you only trust when it flatters you isn't a backtest.
+
+---
+
+## Outcomes & grading
+
+Every action an agent takes — simulated or live — is graded against ground truth and lands in its permanent win-rate ledger. This is what makes an agent's track record verifiable instead of asserted.
+
+When a coin's outcome resolves, the settle loop grades any open action on it:
+
+- **Win** — the coin graduated, or its peak multiple reached ≥2×.
+- **Loss** — the coin rugged, or marked below 0.5× / peaked below 1.2×.
+- **Flat** — everything in between.
+
+Realized PnL is marked to market as `size · (current_mc / entry_mc − 1)`, and an agent's summary rolls up total, wins, losses, win rate, realized PnL, and ROI. The same grading powers the public [agent leaderboard](https://three.ws/oracle) and the platform-wide [activity floor](https://three.ws/activity), so every agent competes on a level, outcome-graded field.
+
+---
+
+## Product tour
+
+The live Oracle is eight views over one engine. Every state — loading, empty, error, populated — is designed.
+
+| View | What it's for |
+|---|---|
+| **Live conviction** | The default feed — every launch in the last 12h, scored, filterable by tier/category/min-score, sortable by score/hot/new, with a conviction-breadth bar and per-card pillar breakdown + sparkline. |
+| **Movers** | Biggest conviction *changes* over a window — coins whose score is rising or falling, with the delta and tier change. |
+| **Top wallets** | The pedigree leaderboard — every judged wallet ranked by track record. |
+| **3D graph** | Every scored coin as a glowing sphere in a force-directed, category-clustered 3D field; size and color encode conviction and tier. |
+| **The edge** | The backtest — win rate by tier, calibration, Brier, edge multiple. |
+| **Proof** | The wins gallery — resolved calls with their score-at-entry versus the realized outcome. |
+| **Agents** | The agent leaderboard — armed agents ranked by their outcome-graded record. |
+| **Activity** | The live floor — every agent action, simulated or live, as it happens. |
+
+The product is keyboard-driven (`/` focuses search, number keys jump tabs, arrows move between them), fully responsive, and built on a monochrome cool-gray palette where lightness encodes strength — brighter is stronger conviction.
+
+---
+
+## API reference
+
+Everything on the page is a public endpoint. Reads are JSON, cached at the CDN and rate-limited per IP; live views are Server-Sent Events. Agent-config endpoints require auth scoped to the agent owner.
+
+### Read endpoints
+
+| Endpoint | Returns |
+|---|---|
+| `GET /api/oracle/feed` | Live conviction feed — scored coins with pillars, badges, category, sparkline; plus a tier-level backtest summary. Filters: `tier, category, min_score, limit, network`. |
+| `GET /api/oracle/coin` | Full intel for one mint — conviction, pillars, reasons, narrative, outcome, and the who's-in trader roster. Scores fresh (with LLM) on a cache miss. |
+| `GET /api/oracle/market` | Live market half of the coin page for one mint — price + 5m/1h/6h/24h changes, market cap, FDV, liquidity, 24h volume, holders, supply, bonding-curve progress, security (mint/freeze authority, mutable metadata, transfer fee, top-10 concentration), DEX pairs, ATH/ATL for listed coins, and every social/explorer link. Fused live across DexScreener, pump.fun, GeckoTerminal, GoPlus, Birdeye and CoinGecko. |
+| `GET /api/oracle/signal` | **Machine-ready.** A buy/watch/skip recommendation with confidence and a size factor, per mint or as the top N plays — built for agent polling. |
+| `GET /api/oracle/batch` | Conviction for up to 20 mints at once. |
+| `GET /api/oracle/backtest` | Win rate by tier with Wilson CIs, calibration ladder, Brier, and the edge summary. Filters: `period, tier, network`. |
+| `GET /api/oracle/wallet` | A single wallet's profile + recent coins, or the wallet leaderboard. |
+| `GET /api/oracle/wins` | The proven-wins gallery, ordered by ATH multiple, with a summary. |
+| `GET /api/oracle/movers` | Biggest conviction changes over a window (rising / falling). |
+| `GET /api/oracle/history` | A coin's conviction time-series (sparkline data) with a rising/falling/stable trend. |
+| `GET /api/oracle/stats` · `/categories` · `/search` · `/leaderboard` · `/agent-stats` · `/activity` | Global KPIs, per-category intel, symbol search, the agent leaderboard, a single agent's record, and the global action feed. |
+| `GET /api/oracle/og` | A dynamic 1200×630 OpenGraph conviction card (SVG) for sharing a coin. |
+
+### Streams (SSE)
+
+| Endpoint | Streams |
+|---|---|
+| `GET /api/oracle/stream` | New / updated conviction verdicts as they're scored (`min_score` filter). |
+| `GET /api/oracle/trades` | A coin's live buy/sell tape, each trade annotated with the trader's wallet archetype. |
+| `GET /api/oracle/action-stream` | New agent actions and outcome settlements as they land. |
+
+### Write endpoints (auth)
+
+| Endpoint | Does |
+|---|---|
+| `GET·POST /api/oracle/watch` | Read or arm an agent's watch config — bar, sizing, caps, filters, mode. Server-side validation clamps every limit. |
+| `POST·DELETE /api/oracle/follow` | Subscribe a Telegram chat to an agent's conviction signals. |
+| `POST /api/oracle/test-alert` | Send a test Telegram alert to verify setup. |
+| `POST /api/oracle/social` | Ingest tweets to additively boost a coin's virality (never downgrades an LLM read). |
+
+<details>
+<summary><b>Deep dive — Example: the agent signal contract</b></summary>
+
+`GET /api/oracle/signal?mint=…` returns a recommendation an agent can act on directly:
+
+```json
+{
+ "mint": "…", "symbol": "…",
+ "conviction": 88, "tier": "strong", "category": "ai",
+ "pillars": { "pedigree": 82, "structure": 88, "narrative": 80, "momentum": 90 },
+ "recommendation": {
+ "action": "buy", // buy | watch | skip
+ "confidence": "medium", // high | medium | low
+ "size_factor": 0.75, // 0–1 suggested sizing multiplier
+ "note": "strong conviction — favorable across pedigree and structure"
+ }
+}
+```
+
+Recommendations map from tier: prime → `buy/high/1.0`, strong → `buy/medium/0.75`, lean → `watch`, watch/avoid → `skip`. Reads are cached 3s with stale-while-revalidate, so polling is cheap.
+
+</details>
+
+---
+
+## Data model
+
+Oracle owns five tables. The verdict cache is the heart; the rest are history, config, and the action ledger.
+
+| Table | Grain | Notable columns |
+|---|---|---|
+| `oracle_conviction` | 1 row / mint | `score, tier, pedigree, structure, narrative, momentum, structure_cap, badges, reasons, components, category, smart_wallet_count, scored_at` |
+| `oracle_narrative` | 1 row / mint | `category, narrative, virality, confidence, tags, source (llm\|heuristic), classified_at` |
+| `oracle_conviction_history` | append on Δ≥3 | `score, tier, pillars, scored_at` · 72h retention |
+| `oracle_agent_watch` | 1 row / agent | `armed, mode, min_score, min_tier, categories, per_trade_sol, max_daily_sol, max_open, require_smart_money, size_scaling, telegram_chat_id` |
+| `oracle_watch_actions` | 1 row / action | `mint, conviction, tier, mode, size_sol, status, reason, entry_mc_usd, tx_signature, outcome, peak_multiple, realized_pnl_sol, acted_at, settled_at` |
+
+The `components` blob on each conviction row is a full audit trail of the normalized inputs that produced the score — the reproducibility guarantee in storage form.
+
+---
+
+## Limits & failure modes
+
+A model you can only trust when it flatters you is useless. Here is what Oracle cannot do, where it can be wrong, and how it's hardened.
+
+- **It is a probability, not a prophecy.** A high score is the weight of on-chain evidence, not a guarantee. pump.fun is adversarial and heavy-tailed — most launches fail, and even a calibrated edge loses often. Read the tier as odds, size accordingly, and never bet what you can't lose.
+- **Garbage-in on a young coin.** The first seconds of a launch are data-poor. Pedigree and momentum need wallets to show up before they say much; a brand-new coin leans on structure and a category prior. Scores sharpen as the footprint fills in — which is exactly why history and movers exist.
+- **Adversarial structure.** The HOW pillar is a guardrail against known manipulation — bundles, fresh-wallet farms, funder clusters — but launderers iterate. New evasion patterns are caught by the outcome loop (they rug, reputation updates) before they're caught by a rule. The defense is the closed loop, not any single check.
+- **Narrative lag & model error.** The WHAT pillar depends on a language model and a news feed; both can misread a story or miss a fast-breaking one. It's the lightest-weighted pillar for exactly this reason, and it degrades to a deterministic classifier rather than failing.
+- **Outcome latency.** Win/loss isn't known until a coin resolves, so the backtest always trails the present. Recent windows are thin and their confidence bands are wide — and the page shows the width rather than hiding it.
+- **Weights are expert priors (for now).** The 0.34 / 0.30 / 0.18 / 0.18 weights and every threshold are hand-set from domain knowledge, not yet learned from outcomes. That's a deliberate, transparent starting point — and the single biggest opportunity, covered next.
+
+> **Not financial advice.** Oracle is an analytics and automation tool. Conviction scores, signals, and agent actions are informational. Live trading risks real funds; simulate first, cap hard, and treat every number as one input among many.
+
+---
+
+## Where it scales
+
+The architecture — pure scoring over a coverage brain, behind a cached API, with a closed outcome loop — was chosen because it extends along several axes at once without a rewrite.
+
+- **Calibration — learned weights & logistic calibration.** The biggest lever. Replace the hand-set pillar weights with weights fit to outcomes (logistic regression / gradient boosting on the same features), and post-process the raw score through Platt scaling or isotonic regression so the number *is* the probability. The backtest infrastructure to measure the gain already exists.
+- **Coverage — more wallets, more density.** Every new wallet judged and every new launch resolved sharpens the WHO pillar and tightens the bands. The data flywheel is the moat — coverage compounds into calibration.
+- **Surface — more chains, more venues.** The pillars are venue-agnostic — who/how/what/move generalize to any launch venue with on-chain footprints. The brain abstraction is the seam where a new chain plugs in.
+- **Speed — push, not poll.** Streams poll the database today for serverless simplicity. Event-driven push (LISTEN/NOTIFY or a log tail) cuts verdict-to-screen latency toward the block, which on pump.fun is the whole game.
+- **Inputs — richer signals.** Deeper social ingestion, holder-graph evolution over time, cross-coin creator/funder linkage, and order-flow microstructure are all additive pillars or sub-signals under the same fusion contract.
+- **Ecosystem — an agent-native signal layer.** The machine-ready `/signal` endpoint and the action loop make Oracle a primitive other agents build on — discoverable, payable, and composable across the three.ws agent economy and MCP.
+
+---
+
+## PhD appendix
+
+The formal view, for readers who want the model stated as a model.
+
+### Oracle as a calibrated scoring classifier
+
+Let a launch be a feature vector `x`. Oracle computes four pillar functions `f_k(x) ∈ [0,100]` for `k ∈ {ped, str, nar, mom}`, a weighted score, and a capped, clamped output:
+
+```
+s(x) = clamp( min( Σ_k w_k · f_k(x), c(x) ), 0, 100 )
+
+ w = (0.34, 0.30, 0.18, 0.18), Σ w_k = 1
+ c(x) = min over triggered structural/pedigree ceilings // the veto
+```
+
+The intended semantics is that `s(x)/100 ≈ P(win | x)`, where `win = graduated ∨ ATH ≥ 2×`. Calibration measures the gap between intent and reality.
+
+### Calibration objects
+
+- **Reliability (calibration ladder):** partition scores into bins `B_j`; plot empirical `ŷ_j = (1/|B_j|)Σ 1[win]` against the bin's predicted rate. Perfect calibration ⇒ `ŷ_j ≈ s̄_j/100` for all j (the identity line).
+- **Brier score:** `BS = (1/N) Σ (s_i/100 − y_i)²`, the mean squared error of the probabilistic claim; decomposable into reliability − resolution + uncertainty.
+- **Wilson interval:** the 95% score interval on each tier/bin win rate (derivation in the evidence deep-dive), correct for small `n` and bounded to [0,1].
+- **Monotonicity & edge:** require `ŷ` non-decreasing in the score bin (within tolerance); define edge multiple = `P(win | prime) / P(win | any)` and lift = the difference, both reported with their CIs.
+
+### The improvement path, formally
+
+The current `w` and thresholds are an expert prior — a fixed, interpretable linear model. The principled upgrade is to (1) fit `w` (and pillar internals) by maximizing log-likelihood / minimizing Brier on resolved outcomes, and (2) compose a monotonic calibration map `g: s ↦ P̂(win)` (Platt / isotonic) so the published number is a true probability. The cap `c(x)` can be retained as a hard monotone constraint, preserving interpretability — "structure can veto" — while the rest is learned. Crucially, the data, the outcome join, and the calibration metrics needed to *measure* that upgrade are already in production; the prior is a starting point chosen to be honest and legible, not a ceiling.
+
+> **References & further reading.** Wilson (1927), *Probable inference, the law of succession, and statistical inference* — the score interval. Brier (1950), *Verification of forecasts expressed in terms of probability*. Platt (1999), probabilistic outputs for SVMs (Platt scaling). Zadrozny & Elkan (2002), isotonic calibration. Niculescu-Mizil & Caruana (2005), *Predicting good probabilities with supervised learning*.
+
+---
+
+## Glossary
+
+| Term | Meaning |
+|---|---|
+| **Conviction** | The fused 0–100 score — the weight of on-chain evidence that a launch will win. |
+| **Pillar** | One of the four independent reads: WHO (pedigree), HOW (structure), WHAT (narrative), MOVE (momentum). |
+| **Tier** | The coarse band a score falls in: prime / strong / lean / watch / avoid. |
+| **Cap (veto)** | A hard ceiling on the final score, set by a severe structural or pedigree red flag, applied before clamping. |
+| **Proven wallet** | A wallet labelled smart-money/KOL or with a reputation score ≥70 — the pedigree currency. |
+| **Win / loss / flat** | Outcome grades: win = graduated or ≥2× ATH; loss = rugged or <1.2×; flat = in between. |
+| **Graduated** | A pump.fun coin that completed its bonding curve — the canonical success event. |
+| **Armed** | An agent configured to act on conviction automatically, in simulate or live mode. |
+| **Calibration** | How closely realized win rates match the scores that predicted them. |
+| **Wilson interval** | The 95% confidence band on a win-rate estimate, correct for small samples. |
+
+---
+
+*Oracle is part of [three.ws](https://three.ws) — give your AI a body. · Living document, updated 2026-06-30.*
+
+*Links: [Live Oracle](https://three.ws/oracle) · [Arm an agent](https://three.ws/oracle/arm) · [Activity floor](https://three.ws/activity) · [Changelog](https://three.ws/changelog)*
diff --git a/pages/oracle.html b/pages/oracle.html
index bc2f8564d..d53759878 100644
--- a/pages/oracle.html
+++ b/pages/oracle.html
@@ -375,6 +375,7 @@
@keyframes shimmer { to { transform: translateX(100%); } }
.note { font-size: 12px; color: var(--faint); margin-top: 10px; }
.note.warn { color: var(--amber); }
+ .note.ok { color: var(--up); }
/* structure panel */
.str-grid { display: flex; flex-direction: column; gap: 7px; }
diff --git a/prompts/living-world-real-agents.md b/prompts/living-world-real-agents.md
index 5d07de654..1e02c5c14 100644
--- a/prompts/living-world-real-agents.md
+++ b/prompts/living-world-real-agents.md
@@ -26,7 +26,7 @@ world reflects what real agents are actually doing right now, not a slideshow of
- `GET /api/agent-actions?agent_id=<id>` — per-agent action log.
- Pump/launch activity: `GET /api/pump/launches` over `pump_agent_mints` (platform launch records).
- On-chain reputation (ERC-8004) and agent commerce surfaces already wired in
- `src/game/agent-commerce.js`, `src/game/oracle-ribbon.js`, `src/game/three-intel-kiosk.js`.
+ `src/game/agent-commerce.js`, `src/game/oracle-ribbon.js`, `src/game/intel-kiosk.js`.
- **Avatars:** real community GLBs from `GET /api/avatars/public` (already used by `ambient-crowd.js`).
- **Locomotion/animation:** the canonical clip + retarget pipeline (`AnimationManager`,
`src/animation-retarget.js`, `src/glb-canonicalize.js`) — every humanoid GLB is drivable. No rig allowlist.
diff --git a/public/changelog.json b/public/changelog.json
index 90dba10e0..b15f76695 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-02T09:17:15.787Z",
+ "generated_at": "2026-07-02T09:28:07.898Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -142,6 +142,17 @@
"fix"
]
},
+ {
+ "date": "2026-07-02",
+ "type": "update",
+ "title": "Oracle now tells you how much a score can be trusted",
+ "summary": "Every conviction verdict now ships a data-confidence reading — a 0–100 score of how much of the read rests on real observed data versus defaulted inputs, weighted the same way the four pillars are. A high score on a coin the platform has barely observed is a lead to watch, not a call to size into, and Oracle now says so: coins built on thin data wear a thin-data badge, the coin drawer shows the exact percentage, and armed agents refuse to spend real money on thin-data launches unless their owner explicitly opts in. Two more fixes landed alongside: a serial-rug creator now adds a clear creator-flag badge so you can see why a high-pedigree coin got ceilinged, and the narrative classifier now actually reads a coin's description and social links (it was being run blind), so virality reads are sharper.",
+ "link": "/oracle/docs",
+ "tags": [
+ "improvement",
+ "fix"
+ ]
+ },
{
"date": "2026-07-02",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index 400ba2ba4..fa1b26656 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -110,6 +110,14 @@
<category>fix</category>
<description>The conviction engine was designed to read a coin creator's track record — a dev with three or more launches and zero graduations caps the final score at 45, while a creator who has shipped graduated coins earns a pedigree boost. That creator signal was being computed but never wired into the live fused score. It now is: serial-rug creators can no longer reach high conviction tiers on the strength of their buyers alone, and proven shippers get the credit their record earns.</description>
</item>
+ <item>
+ <title>Oracle now tells you how much a score can be trusted</title>
+ <link>https://three.ws/oracle/docs</link>
+ <guid isPermaLink="false">2026-07-02:Oracle now tells you how much a score can be trusted</guid>
+ <pubDate>Thu, 02 Jul 2026 12:00:00 GMT</pubDate>
+ <category>improvement</category>
+ <description>Every conviction verdict now ships a data-confidence reading — a 0–100 score of how much of the read rests on real observed data versus defaulted inputs, weighted the same way the four pillars are. A high score on a coin the platform has barely observed is a lead to watch, not a call to size into, and Oracle now says so: coins built on thin data wear a thin-data badge, the coin drawer shows the exact percentage, and armed agents refuse to spend real money on thin-data launches unless their owner explicitly opts in. Two more fixes landed alongside: a serial-rug creator now adds a clear creator-flag badge so you can see why a high-pedigree coin got ceilinged, and the narrative classifier now actually reads a coin's description and social links (it was being run blind), so virality reads are sharper.</description>
+ </item>
<item>
<title>Press I on any avatar to see who they really are</title>
<link>https://three.ws/play</link>
diff --git a/public/features.json b/public/features.json
index b91d635e4..b864fdc18 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-02T09:17:15.599Z",
+ "generated_at": "2026-07-02T09:28:07.383Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/src/game/coincommunities.js b/src/game/coincommunities.js
index 69d5a1e17..3363ba2f3 100644
--- a/src/game/coincommunities.js
+++ b/src/game/coincommunities.js
@@ -2095,16 +2095,17 @@ export class CoinCommunities {
if (this.buildProp) this._rotateProp(); else this._rotateBuild();
return;
}
- // E watches the Agent Exchange round when standing near the agents in
- // the home town (no-op elsewhere). Not while building.
+ // E interacts with whatever the player stands near — a townsperson,
+ // the Intel Kiosk, or the Agent Exchange (all built in every world).
+ // Not while building.
if (k === 'e' && !this.buildHud.active) {
e.preventDefault();
// A conversation or counter is already open — let it own the moment
// instead of reopening on top of itself.
if (isChatPanelOpen() || isServicePanelOpen() || isAixbtPanelOpen() || isZauthPanelOpen()) return;
// Talk to the nearest townsperson (vendor/quest/flavor); if none is
- // in range, try the $THREE Intel Kiosk, then fall through to the
- // home town's Agent Exchange.
+ // in range, try the Intel Kiosk, then fall through to the Agent
+ // Exchange.
if (!this.worldLife?.interact() && !this.intelKiosk?.interact()) this.agentCommerce?.interact();
return;
}
diff --git a/src/game/npc/world-life.js b/src/game/npc/world-life.js
index 09f4b7e4f..856d70df7 100644
--- a/src/game/npc/world-life.js
+++ b/src/game/npc/world-life.js
@@ -22,7 +22,8 @@ import { log } from '../../shared/log.js';
const ROLE_RING = { vendor: 0x46d49a, quest: 0xffce6e, flavor: 0xffffff };
export class WorldLife {
- // world: { mint, seed, biome } — biome is the resolved env biome object.
+ // world: { mint, name, symbol, seed, biome } — biome is the resolved env
+ // biome object; name/symbol feed the world-aware NPC chat prompt.
constructor({ scene, camera, renderer, getPlayer, ui, net, world, radius = 54 }) {
this.scene = scene;
this.camera = camera;
diff --git a/tests/oracle/agent-eval.test.js b/tests/oracle/agent-eval.test.js
index 21d0b2073..e8a675413 100644
--- a/tests/oracle/agent-eval.test.js
+++ b/tests/oracle/agent-eval.test.js
@@ -32,6 +32,21 @@ describe('evaluateWatch', () => {
expect(d.reason).toMatch(/tier/);
});
+ it('blocks a thin-data coin by default and honors the opt-in', () => {
+ const thin = { ...goodCoin, badges: ['smart-money', 'thin-data'] };
+ expect(evaluateWatch({ watch: baseWatch, coin: thin }).act).toBe(false);
+ expect(evaluateWatch({ watch: baseWatch, coin: thin }).reason).toMatch(/thin data/);
+ expect(evaluateWatch({ watch: { ...baseWatch, allow_thin_data: true }, coin: thin }).act).toBe(true);
+ });
+
+ it('honors an explicit numeric confidence floor', () => {
+ const w = { ...baseWatch, min_confidence: 60 };
+ expect(evaluateWatch({ watch: w, coin: { ...goodCoin, confidence: 40 } }).act).toBe(false);
+ expect(evaluateWatch({ watch: w, coin: { ...goodCoin, confidence: 80 } }).act).toBe(true);
+ // Absent confidence should not block (backward-compatible).
+ expect(evaluateWatch({ watch: w, coin: goodCoin }).act).toBe(true);
+ });
+
it('respects the narrative watchlist', () => {
const only = { ...baseWatch, categories: ['news', 'culture'] };
expect(evaluateWatch({ watch: only, coin: goodCoin }).act).toBe(false);
diff --git a/workers/oracle/agent-loop.js b/workers/oracle/agent-loop.js
index f2d9a9e96..dfbbfcb4a 100644
--- a/workers/oracle/agent-loop.js
+++ b/workers/oracle/agent-loop.js
@@ -35,7 +35,7 @@ async function armedWatches(network) {
export async function freshlyScored(network, sinceIso, limit = 60) {
const rows = await sql`
select mint, symbol, name, score, tier, category, smart_wallet_count, scored_at,
- pedigree, structure, narrative, momentum
+ pedigree, structure, narrative, momentum, badges
from oracle_conviction
where network = ${network} and scored_at > ${sinceIso}::timestamptz
order by scored_at asc