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.

feat(oracle): add oracle docs page and assets

nirholasd718dbbe5415
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 51d3b2f93..87c5723fd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,12 +6,14 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
## 2026-06-30
+- **Oracle Docs — the conviction engine, end to end** (`/oracle/docs`) — The complete Oracle reference: the thesis behind fused pump.fun conviction, the four-pillar scoring model and its exact math, the data pipeline and worker loops, the calibration and backtest evidence, the agent action loop, the full API, the data model, limitations, and where it scales next — written for everyone from first-time readers to researchers.
- **Viability** (`/viability`) — The honest signal behind three.ws — real marketplace and trading viability. Live $THREE skill GMV, take-rate, repeat buyers and trading pairs, plus real guarded coin-trade flow, cost and realized P&L on closed positions. Real on-chain data only.
- **Agent Labor Market escrow is live** — The Agent Labor Market now settles in real $THREE on-chain. When an agent posts a bounty, the reward moves from its wallet into a dedicated escrow wallet that actually holds the funds until the work is verified — then releases the worker's payout and the skill author's royalty, or refunds the poster if the work fails the neutral verifier. The market header shows escrow status as Live, posting a bounty is open, and the escrow wallet keeps its own gas topped up so settlements never stall. Every move is a real SPL transfer with an explorer link. (`/labor-market`) `[feature]`
- **Agent profiles show the agent's real 3D body again** — An agent page now renders the avatar the agent actually wears — including non-humanoid bodies like animals and props — instead of falling back to the default mannequin. The profile was discarding the model link returned for the agent's avatar before it reached the 3D stage, so any agent whose body came through that field silently showed the placeholder figure. The real model now flows through to the hero and fullscreen viewers, and bodies with their own built-in animation play it on the spot. `[fix]`
- **Agent Studio movement previews now play on the live avatar** — On the Body tab of Agent Studio, clicking a move in the Movement library — and pinning a looping idle as your resting pose — now actually animates your agent on the stage. The live avatar was loading without its shared clip library, so previews quietly did nothing and the avatar held its bind pose. The full motion library is now wired to the studio stage, so every clip plays the moment you click it and your pinned resting pose loops everywhere your agent appears. (`/agent-studio`) `[fix]`
- **Marketplace & trading viability get a dedicated page** — The two "honest signal" panels — marketplace viability (real $THREE skill GMV, take-rate, repeat buyers, trading pairs) and trading viability (real guarded coin-trade flow, cost and realized P&L on closed positions) — now live on their own page at /viability. The Money Pulse stays focused on the live event feed and links across to the full viability breakdown, so each surface does one thing well. Same real on-chain numbers, just easier to read and share. (`/viability`) `[improvement]`
- **Memory seeding no longer times out** — Building your agent's memory seed from your connected accounts could fail with an opaque error when the language model took a moment to respond — the request was being cut off before it finished and the page showed a generic failure. The synthesis step now has the time it needs to complete, automatically falls over to a backup provider if one is slow, and when it genuinely can't run it tells you plainly instead of failing silently. `[fix]`
+- **Oracle now has full documentation** — Everything behind the conviction score, in one place. The new Oracle docs explain — in plain English and, where you want it, full mathematical detail — how Oracle reads every pump.fun launch: the four pillars (who's buying, how it's structured, what story it rides, how it's moving), exactly how they fuse into a 0–100 score, where the hard caps come from, how the engine is calibrated and backtested against real outcomes, how to arm an agent on it, the full public API, and where it's headed. Real screenshots throughout, a quickstart for traders, builders, and skeptics, and a researcher-level appendix. (`/oracle/docs`) `[docs, feature]`
## 2026-06-29
diff --git a/CLAUDE.md b/CLAUDE.md
index 4a4270504..725a1d86a 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -39,18 +39,17 @@ Before writing a single line of code, answer these questions internally:
8. **No "good enough."** If you notice something is mediocre while building, fix it now. Don't leave it for later. Later never comes.
9. **No errors without solutions.** There is always a correct answer — find it. Never let something fail because finding the fix felt hard. Every error has a root cause; every root cause has a fix. Ship working fallbacks and failsafes. Lazy error propagation is not engineering.
-## The only coin — $THREE (absolute, no exceptions)
+## The promoted coin — $THREE (commit gate on every other coin)
-**The only coin this platform may ever reference is `$THREE`. Contract address: `FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`. There are no other coins. Full stop.**
+**`$THREE` is the only coin this platform promotes. Contract address: `FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`. Discussing or building with other coins is allowed — but nothing referencing another crypto project gets committed without explicit owner approval first.**
-- **Never mention, name, add, hardcode, link, import, render, recommend, or talk about any other coin or token** — anywhere: code, comments, tests, fixtures, sample data, docs, blog posts, UI copy, metadata, commit messages, PR descriptions, or direct conversation with the user.
-- **This includes any other coin three.ws itself has launched.** $THREE is the one and only. Do not reference or acknowledge past, related, partner, demo, or test launches. If asked, the answer is: $THREE is the only coin.
-- **No third-party or real mainnet mints in tests/fixtures.** If a token address is needed, use `$THREE` (CA above) or a clearly-synthetic placeholder (e.g. `THREEsynthetic1111…`). Never paste a real coin's mint, creator, or holder address.
-- If you find any reference to another coin in the codebase, **remove it** — treat it the same as a leaked secret.
-- Two mechanical exceptions, both runtime-data-only:
+- **Other coins are fine in conversation and in the working tree.** You may discuss, prototype, and write code that references other coins/tokens/projects while building. Do NOT strip existing other-coin references as if they were leaked secrets — that enforcement is retired.
+- **Commit gate (hard rule):** Before any `git commit` whose diff references any crypto project other than `$THREE` — in code, comments, tests, fixtures, sample data, docs, UI copy, metadata, commit messages, or PR text — STOP and ask the owner for explicit approval. No exceptions. Staging/committing is not self-approving here; the owner must say yes to that specific content.
+- **$THREE stays the promoted coin.** Default marketing, recommendations, and "the platform's coin" framing remain $THREE. Other coins are worked-with, not promoted, unless the owner directs otherwise.
+- **No real mainnet mints in tests/fixtures by default.** Prefer `$THREE` (CA above) or a clearly-synthetic placeholder (e.g. `THREEsynthetic1111…`). A real third-party mint, creator, or holder address in committed code falls under the commit gate above — ask first.
+- Two mechanical exceptions that never need the gate, both runtime-data-only (no specific mint hardcoded):
1. Generic, coin-agnostic plumbing where a mint is supplied at runtime by the user (e.g. the pump.fun launcher accepting an arbitrary mint as input).
2. Platform launch directories that render coins users launched through three.ws from the platform's own launch records at runtime (the `/launches` feed, agent-profile launch history, `/api/pump/launches` over `pump_agent_mints`). These are product features, not endorsements — do not remove them.
- In both cases, never hardcode, market, or recommend a specific non-`$THREE` mint anywhere in source, copy, or conversation. $THREE remains the only coin the platform promotes.
## Engineering excellence
@@ -111,6 +110,7 @@ A feature is NOT done until ALL of these are true:
- [ ] Error state is designed and actionable (tells user what went wrong and how to recover).
- [ ] Loading state uses real async indicators (skeleton screens preferred over spinners).
- [ ] Existing tests still pass (`npm test`).
+- [ ] Documentation written and wired (see **Documentation** below) — feature doc/README, `STRUCTURE.md` if a new surface or directory landed, and a `data/changelog.json` entry.
- [ ] `git diff` reviewed by you before claiming completion — every changed line justified.
- [ ] You would be proud to demo this feature to a room of senior engineers.
@@ -147,6 +147,26 @@ $THREE holders follow the public changelog (three.ws/changelog, RSS, JSON, Teleg
- After the change is deployed, `npm run changelog:push` posts new entries to the holders' Telegram channel (needs `TELEGRAM_BOT_TOKEN` + `TELEGRAM_CHANGELOG_CHAT_ID`; use `--dry-run` to preview). Skip silently if creds are absent locally.
- Internal-only chores (CI, lockfiles, refactors with no visible effect) do NOT get entries.
+## Documentation: every feature ships with its docs
+
+We have strong product-level docs (README, STRUCTURE.md, changelog) but feature-level docs have drifted — half-built features land with no doc explaining what they are or how to use them. That stops now. **Documentation is part of the feature, not a follow-up.** A feature is not done until someone who didn't build it could find it, understand what it does, and use it from the docs alone.
+
+Match the doc to the kind of work — do every layer that applies, skip the ones that don't:
+
+- **New page or public route** → add it to `data/pages.json` (path, title, description, `added` date). This feeds the sitemap, `llms.txt`, `features.json`, and the changelog automatically. This is the one mandatory step for anything user-reachable.
+- **New SDK, package, worker, service, or top-level directory** → a `README.md` *in that directory* is required: what it does, how to install/use it, its public API/exports, and one runnable example. New package under `packages/*`, new `workers/<name>/`, new SDK — no exceptions. This is the gap we're closing; ~40% of dirs are missing one.
+- **New product surface or directory** → add a row to `STRUCTURE.md` mapping it to its location and status. Nothing enforces this in CI, so it's on you. If you moved or graduated a surface, update its existing row.
+- **New developer-facing capability** (API endpoint, MCP tool, protocol, integration, CLI) → add or update the relevant file in `docs/` (`docs/api-reference.md`, `docs/mcp.md`, `docs/tutorials/*`, etc.). Follow the format of the neighboring docs in that folder. A genuinely new subsystem gets its own `docs/<feature>.md` linked from `docs/start-here.md`.
+- **New load-bearing contract or wire format** (manifest schema, on-chain interface, embed protocol, permission model) → write or update the spec in `specs/`. Specs are contracts other code depends on, not tutorials.
+- **Always** → add the `data/changelog.json` entry per the Changelog section above. Use the `docs` tag when the change *is* documentation.
+
+Rules:
+- **Public, non-obvious surfaces get a doc.** Internal refactors, one-off scripts, and changes with no user- or developer-visible effect do not — don't manufacture filler docs for them.
+- **Write for the reader who has zero context.** No commit jargon, no "see the code." Explain the why, show a working example, link to related surfaces (`STRUCTURE.md`, the page, the spec).
+- **Docs are real implementations too** — the no-mocks, no-placeholders, no-TODO rules apply. Every code sample must actually run. Every link must resolve to a live path. A `// TODO: document` is a failed feature, not a doc.
+- **Update, don't duplicate.** If a doc already covers the area, extend it. Read the neighboring docs before adding a new file so you match their structure and depth.
+- **If you touched a feature and its existing docs are now wrong, fix them in the same change.** Stale docs are worse than none.
+
## Commit & push: do it immediately, no questions
When the user says commit and/or push, execute it right away. Do NOT run the completionist subagent, audits, tests, diff reviews, scans, or any other pre-commit step first. Do NOT ask clarifying questions or pause for confirmation — staging, committing, and pushing IS the explicit approval. Just run the git commands and report the result.
diff --git a/data/changelog.json b/data/changelog.json
index 084079c14..a5d99ae17 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-06-30",
+ "title": "Oracle now has full documentation",
+ "summary": "Everything behind the conviction score, in one place. The new Oracle docs explain — in plain English and, where you want it, full mathematical detail — how Oracle reads every pump.fun launch: the four pillars (who's buying, how it's structured, what story it rides, how it's moving), exactly how they fuse into a 0–100 score, where the hard caps come from, how the engine is calibrated and backtested against real outcomes, how to arm an agent on it, the full public API, and where it's headed. Real screenshots throughout, a quickstart for traders, builders, and skeptics, and a researcher-level appendix.",
+ "tags": [
+ "docs",
+ "feature"
+ ],
+ "link": "/oracle/docs"
+ },
{
"date": "2026-06-30",
"title": "Agent Studio movement previews now play on the live avatar",
diff --git a/data/pages.json b/data/pages.json
index 9fb95d4c2..255dc2a40 100644
--- a/data/pages.json
+++ b/data/pages.json
@@ -667,6 +667,14 @@
"changefreq": "realtime",
"added": "2026-06-16"
},
+ {
+ "path": "/oracle/docs",
+ "title": "Oracle Docs — the conviction engine, end to end",
+ "description": "The complete Oracle reference: the thesis behind fused pump.fun conviction, the four-pillar scoring model and its exact math, the data pipeline and worker loops, the calibration and backtest evidence, the agent action loop, the full API, the data model, limitations, and where it scales next — written for everyone from first-time readers to researchers.",
+ "priority": 0.75,
+ "changefreq": "weekly",
+ "added": "2026-06-30"
+ },
{
"path": "/oracle/arm",
"title": "Arm your agent — automate Oracle conviction",
diff --git a/pages/oracle-docs.html b/pages/oracle-docs.html
new file mode 100644
index 000000000..50c3046ee
--- /dev/null
+++ b/pages/oracle-docs.html
@@ -0,0 +1,970 @@
+<!doctype html>
+<html lang="en" data-theme="dark">
+<head>
+ <script>/* three.ws theme boot — no-flash; runtime in /theme-switcher.js */(function(){try{var m=localStorage.getItem('twx_theme');var l=m==='auto'?(window.matchMedia&&window.matchMedia('(prefers-color-scheme: light)').matches):m==='light';document.documentElement.setAttribute('data-theme',l?'light':'dark');}catch(e){document.documentElement.setAttribute('data-theme','dark');}})();</script>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
+ <title>Oracle Docs — the conviction engine, end to end · three.ws</title>
+ <meta name="description" content="The complete Oracle reference: the thesis behind fused pump.fun conviction, the four-pillar scoring model and its exact math, the data pipeline and worker loops, the calibration and backtest evidence, the agent action loop, the full API, the data model, limitations, and where it scales — written for everyone from first-time readers to researchers." />
+ <meta property="og:title" content="Oracle Docs · three.ws" />
+ <meta property="og:description" content="How Oracle turns every pump.fun launch into one transparent 0–100 conviction score — the thesis, the math, the data, the evidence, the API, and where it scales." />
+ <meta property="og:type" content="article" />
+ <meta property="og:site_name" content="three.ws" />
+ <meta property="og:url" content="https://three.ws/oracle/docs" />
+ <meta property="og:image" content="https://three.ws/api/page-og?s=crypto&amp;t=Oracle+Docs&amp;d=The+conviction+engine%2C+end+to+end+%E2%80%94+thesis%2C+math%2C+data%2C+evidence%2C+API%2C+and+scale.&amp;p=%2Foracle%2Fdocs" />
+ <meta name="twitter:card" content="summary_large_image" />
+ <meta name="twitter:title" content="Oracle Docs — the conviction engine, end to end" />
+ <meta name="twitter:description" content="Plain-English to PhD-level: how Oracle scores every pump.fun launch, with the real math and the real evidence." />
+ <link rel="canonical" href="https://three.ws/oracle/docs" />
+ <link rel="icon" href="/favicon.ico" />
+ <link rel="stylesheet" href="/nav.css" />
+ <script type="application/ld+json">{"@context":"https://schema.org","@type":"TechArticle","headline":"Oracle — the conviction engine, end to end","description":"Complete reference for three.ws Oracle: the thesis, the four-pillar fused conviction model and its math, the data pipeline, worker loops, calibration evidence, the agent action loop, API, data model, limitations, and roadmap.","about":"pump.fun conviction scoring","url":"https://three.ws/oracle/docs","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"audience":{"@type":"Audience","audienceType":"Traders, builders, and researchers"}}</script>
+ <style>
+ :root {
+ --bg: #05060c; --panel: rgba(13,15,23,0.72); --panel-2: rgba(18,21,31,0.6); --panel-solid: #0c0e16; --line: rgba(255,255,255,0.09); --line-2: rgba(255,255,255,0.055);
+ --ink: #eaeefa; --muted: #8a92a8; --faint: rgba(255,255,255,0.45);
+ /* monochrome cool-gray ramp; semantics by lightness (brighter = stronger/positive) — matches /oracle */
+ --cyan: #cdd2e0; --violet: #a6acbc; --gold: #c4c9d6; --up: #e4e8f2; --down: #6c7280; --amber: #b6bcca;
+ --accent: #cdd2e0; --stroke-strong: rgba(255,255,255,0.22);
+ --r: 16px; --r-sm: 11px;
+ --mono: ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, monospace;
+ --shadow: 0 18px 52px -22px rgba(0,0,0,0.86), 0 1px 0 rgba(255,255,255,0.05) inset;
+ --blur: saturate(160%) blur(16px);
+ /* pillar accents */
+ --p-ped: #d8dce8; --p-str: #b0b6c4; --p-nar: #888ea0; --p-mom: #c2c7d4;
+ --maxw: 1280px;
+ }
+ [data-theme="light"] {
+ --bg: #f6f7fb; --panel: rgba(255,255,255,0.82); --panel-2: rgba(248,249,253,0.9); --panel-solid: #ffffff; --line: rgba(10,14,28,0.12); --line-2: rgba(10,14,28,0.07);
+ --ink: #131726; --muted: #5a6378; --faint: rgba(10,14,28,0.5);
+ --cyan: #3a4154; --violet: #545b6e; --gold: #4a5266; --up: #1f2738; --down: #9aa0b0; --amber: #7a5a30;
+ --accent: #2c3344; --stroke-strong: rgba(10,14,28,0.22);
+ --shadow: 0 18px 52px -28px rgba(20,26,48,0.28), 0 1px 0 rgba(255,255,255,0.6) inset;
+ --p-ped: #2c3344; --p-str: #5a6378; --p-nar: #8a91a2; --p-mom: #3a4154;
+ }
+ * { box-sizing: border-box; }
+ html { scroll-behavior: smooth; scroll-padding-top: 90px; }
+ html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink);
+ font: 15.5px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
+ body { background:
+ radial-gradient(58% 48% at 82% -6%, color-mix(in srgb, var(--violet) 15%, transparent), transparent 70%),
+ radial-gradient(48% 42% at 3% -2%, color-mix(in srgb, var(--cyan) 11%, transparent), transparent 66%), var(--bg); }
+ a { color: inherit; text-decoration: none; }
+ button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
+ code, kbd, .mono { font-family: var(--mono); }
+
+ /* reading progress */
+ #progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 60;
+ background: linear-gradient(90deg, var(--p-nar), var(--up)); transition: width .1s linear; }
+
+ .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px 120px; }
+
+ /* ===== hero ===== */
+ .masthead { padding: 46px 0 26px; border-bottom: 1px solid var(--line); }
+ .crumb { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; flex-wrap: wrap; }
+ .crumb a:hover { color: var(--ink); }
+ .crumb i { opacity: .5; font-style: normal; }
+ .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 6px 11px; border-radius: 999px; background: var(--panel); }
+ .eyebrow b { width: 6px; height: 6px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(228,232,242,.5); animation: pulse 2.6s infinite; }
+ @keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(228,232,242,.45)} 70%{box-shadow:0 0 0 7px rgba(228,232,242,0)} 100%{box-shadow:0 0 0 0 rgba(228,232,242,0)} }
+ h1.title { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: -0.02em; font-weight: 800; margin: 18px 0 14px; }
+ h1.title .g { background: linear-gradient(98deg, var(--ink), var(--muted)); -webkit-background-clip: text; background-clip: text; color: transparent; }
+ .lede { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 70ch; margin: 0 0 22px; }
+ .lede b { color: var(--ink); font-weight: 600; }
+ .meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
+ .pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--panel); }
+ .pill b { color: var(--ink); font-weight: 600; }
+ .hero-shot { margin: 30px 0 6px; }
+
+ /* ===== layout: sidebar + content ===== */
+ .shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 46px; align-items: start; margin-top: 38px; }
+ nav.toc { position: sticky; top: 78px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; padding-right: 6px; font-size: 13.5px; scrollbar-width: thin; }
+ nav.toc::-webkit-scrollbar { width: 6px; } nav.toc::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
+ .toc-h { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin: 18px 0 9px; padding-left: 12px; }
+ .toc-h:first-child { margin-top: 0; }
+ nav.toc a { display: block; padding: 5px 12px; border-left: 2px solid transparent; color: var(--muted); border-radius: 0 6px 6px 0; transition: color .12s, border-color .12s, background .12s; }
+ nav.toc a:hover { color: var(--ink); background: var(--panel-2); }
+ nav.toc a.on { color: var(--ink); border-left-color: var(--up); background: linear-gradient(90deg, color-mix(in srgb, var(--up) 8%, transparent), transparent); }
+ main { min-width: 0; }
+
+ /* ===== content typography ===== */
+ section { scroll-margin-top: 88px; padding: 30px 0; border-top: 1px solid var(--line-2); }
+ section:first-of-type { border-top: none; padding-top: 6px; }
+ .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
+ h2 { font-size: clamp(23px, 3vw, 30px); line-height: 1.15; letter-spacing: -0.015em; font-weight: 750; margin: 4px 0 14px; }
+ h3 { font-size: 18.5px; font-weight: 700; margin: 28px 0 10px; letter-spacing: -.01em; }
+ h4 { font-size: 15px; font-weight: 700; margin: 20px 0 8px; color: var(--ink); }
+ main p { color: var(--muted); margin: 0 0 14px; max-width: 74ch; }
+ main p b, main li b { color: var(--ink); font-weight: 600; }
+ main ul, main ol { color: var(--muted); margin: 0 0 16px; padding-left: 22px; max-width: 74ch; }
+ main li { margin: 6px 0; }
+ main a.inl { color: var(--ink); border-bottom: 1px solid var(--stroke-strong); }
+ main a.inl:hover { border-color: var(--up); }
+ hr.soft { border: none; border-top: 1px solid var(--line-2); margin: 26px 0; }
+ .lead-in { font-size: 17px; color: var(--ink); font-weight: 500; max-width: 72ch; margin-bottom: 18px; }
+
+ code.t { font-size: 12.8px; background: var(--panel-2); border: 1px solid var(--line-2); padding: 1.5px 6px; border-radius: 6px; color: var(--ink); }
+ kbd { font-size: 11.5px; background: var(--panel-2); border: 1px solid var(--line); border-bottom-width: 2px; padding: 1px 6px; border-radius: 5px; color: var(--ink); }
+
+ /* callouts */
+ .note { border: 1px solid var(--line); border-left: 3px solid var(--up); background: var(--panel); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 14px 18px; margin: 18px 0; }
+ .note.tip { border-left-color: var(--p-ped); }
+ .note.warn { border-left-color: var(--amber); }
+ .note .nt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); display: block; margin-bottom: 5px; }
+ .note p { margin: 0; color: var(--muted); }
+ .note p + p { margin-top: 8px; }
+
+ /* audience layer chips */
+ .layer { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 3px 9px; border: 1px solid var(--line); color: var(--muted); vertical-align: middle; }
+ .layer.basic b { background: #8fd6a8; } .layer.deep b { background: var(--p-ped); }
+ .layer b { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
+
+ /* code blocks */
+ pre { background: var(--panel-solid); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 15px 16px; overflow-x: auto; margin: 14px 0; font-family: var(--mono); font-size: 12.8px; line-height: 1.6; color: #d7dcec; }
+ [data-theme="light"] pre { color: #2a3142; }
+ pre .c { color: var(--faint); } pre .k { color: var(--up); } pre .n { color: var(--p-ped); }
+
+ /* deep-dive disclosure */
+ details.dive { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel-2); margin: 16px 0; overflow: hidden; }
+ details.dive > summary { list-style: none; cursor: pointer; padding: 13px 16px; display: flex; align-items: center; gap: 11px; font-weight: 600; color: var(--ink); user-select: none; }
+ details.dive > summary::-webkit-details-marker { display: none; }
+ details.dive > summary .chev { margin-left: auto; color: var(--muted); transition: transform .2s; }
+ details.dive[open] > summary .chev { transform: rotate(90deg); }
+ details.dive > summary:hover { background: var(--panel); }
+ details.dive .body { padding: 4px 16px 16px; border-top: 1px solid var(--line-2); }
+ details.dive .body > *:first-child { margin-top: 12px; }
+
+ /* cards / grids */
+ .cards { display: grid; gap: 14px; margin: 18px 0; }
+ .cards.c3 { grid-template-columns: repeat(3, 1fr); }
+ .cards.c2 { grid-template-columns: repeat(2, 1fr); }
+ .cards.c4 { grid-template-columns: repeat(4, 1fr); }
+ .card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--r); padding: 17px 18px; backdrop-filter: var(--blur); transition: transform .14s, border-color .14s; }
+ .card:hover { transform: translateY(-3px); border-color: var(--stroke-strong); }
+ .card h4 { margin: 0 0 6px; }
+ .card p { margin: 0; font-size: 13.5px; }
+ .card .ic { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: .12em; text-transform: uppercase; }
+ .card.link::after { content: "→"; float: right; color: var(--muted); transition: transform .14s; }
+ .card.link:hover::after { transform: translateX(3px); color: var(--ink); }
+
+ /* stat strip */
+ .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
+ .stat { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 15px; background: var(--panel); }
+ .stat .v { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
+ .stat .l { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-top: 3px; }
+
+ /* tables */
+ .tbl-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--r-sm); }
+ table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 540px; }
+ thead th { text-align: left; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 11px 13px; border-bottom: 1px solid var(--line); background: var(--panel-2); position: sticky; top: 0; }
+ tbody td { padding: 10px 13px; border-bottom: 1px solid var(--line-2); color: var(--muted); vertical-align: top; }
+ tbody tr:last-child td { border-bottom: none; }
+ tbody tr:hover td { background: var(--panel-2); }
+ td b, td .ink { color: var(--ink); }
+ td code { font-family: var(--mono); font-size: 12px; color: var(--ink); }
+
+ /* figures */
+ figure { margin: 22px 0; }
+ figure img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
+ figure figcaption { margin-top: 9px; font-size: 12.5px; color: var(--faint); padding-left: 2px; }
+ figure figcaption b { color: var(--muted); font-weight: 600; }
+
+ /* ===== diagrams ===== */
+ .diagram { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin: 20px 0; background: var(--panel); }
+ .diagram .cap { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
+
+ /* pipeline flow */
+ .flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 9px; }
+ .flow .node { flex: 1 1 120px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 13px; background: var(--panel-2); min-width: 120px; position: relative; }
+ .flow .node .t { font-weight: 700; font-size: 13.5px; color: var(--ink); }
+ .flow .node .d { font-size: 11.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
+ .flow .node .tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
+ .flow .arrow { align-self: center; color: var(--faint); font-size: 18px; padding: 0 1px; }
+
+ /* pillar weight donut + legend */
+ .weighbox { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center; }
+ .legend .lrow { display: flex; align-items: center; gap: 11px; padding: 7px 0; border-bottom: 1px solid var(--line-2); }
+ .legend .lrow:last-child { border-bottom: none; }
+ .legend .sw { width: 12px; height: 12px; border-radius: 3px; flex: none; }
+ .legend .nm { font-weight: 600; color: var(--ink); min-width: 92px; }
+ .legend .wt { font-family: var(--mono); color: var(--ink); font-weight: 700; }
+ .legend .ds { font-size: 12.5px; color: var(--muted); }
+
+ /* tier ladder */
+ .ladder { display: flex; flex-direction: column; gap: 7px; }
+ .ladder .rung { display: grid; grid-template-columns: 86px 1fr auto; align-items: center; gap: 14px; }
+ .ladder .bar { height: 30px; border-radius: 7px; display: flex; align-items: center; padding: 0 12px; font-weight: 700; font-size: 13px; color: #06070d; white-space: nowrap; overflow: hidden; }
+ .ladder .rng { font-family: var(--mono); font-size: 12px; color: var(--muted); }
+ .ladder .nm { font-weight: 700; }
+
+ /* score equation */
+ .eq { font-family: var(--mono); font-size: 13.5px; line-height: 2; background: var(--panel-solid); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 18px; overflow-x: auto; color: var(--ink); }
+ .eq .w { color: var(--p-ped); } .eq .op { color: var(--faint); }
+
+ /* footer */
+ .foot { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; color: var(--faint); font-size: 13px; }
+ .foot a { color: var(--muted); } .foot a:hover { color: var(--ink); }
+ .foot .links { display: flex; gap: 18px; flex-wrap: wrap; }
+
+ .controls { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 2px; }
+ .btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--panel); border-radius: var(--r-sm); padding: 9px 15px; font-size: 13.5px; font-weight: 600; transition: transform .12s, border-color .12s; }
+ .btn:hover { transform: translateY(-1px); border-color: var(--stroke-strong); }
+ .btn.primary { background: var(--up); color: #06070d; border-color: transparent; }
+
+ @media (max-width: 1000px) {
+ .shell { grid-template-columns: 1fr; }
+ nav.toc { display: none; }
+ .cards.c3, .cards.c4 { grid-template-columns: 1fr 1fr; }
+ .stats { grid-template-columns: 1fr 1fr; }
+ .weighbox { grid-template-columns: 1fr; }
+ }
+ @media (max-width: 560px) {
+ .cards.c3, .cards.c4, .cards.c2 { grid-template-columns: 1fr; }
+ .flow .arrow { transform: rotate(90deg); }
+ .ladder .rung { grid-template-columns: 70px 1fr; }
+ .ladder .rng { display: none; }
+ }
+ @media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto; } }
+ </style>
+</head>
+<body>
+ <div id="progress"></div>
+ <div id="nav-container"></div>
+ <script defer src="/nav.js"></script>
+
+ <div class="wrap">
+ <!-- ===================== MASTHEAD ===================== -->
+ <header class="masthead">
+ <div class="crumb">
+ <a href="/">three.ws</a> <i>/</i> <a href="/oracle">Oracle</a> <i>/</i> <span>Docs</span>
+ </div>
+ <span class="eyebrow"><b></b> Documentation · living reference</span>
+ <h1 class="title">Oracle — <span class="g">the conviction engine, end to end</span></h1>
+ <p class="lede">Oracle reads every <b>pump.fun</b> launch the moment it appears and answers one question: <b>how much conviction does the on-chain evidence actually support?</b> It fuses four independent reads — <b>who</b> is buying, <b>how</b> the launch is structured, <b>what</b> story it rides, and <b>how</b> it is moving — into a single transparent <b>0–100 score</b>, 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.</p>
+ <div class="meta-row">
+ <span class="pill">📖 <b>~35 min</b> read</span>
+ <span class="pill">🟢 Plain-English throughout</span>
+ <span class="pill">🔬 <b>Deep dives</b> for the math</span>
+ <span class="pill">Updated <b>2026-06-30</b></span>
+ </div>
+ <div class="controls" style="margin-top:18px">
+ <a class="btn primary" href="/oracle">Open the live Oracle →</a>
+ <a class="btn" href="/oracle/arm">Arm an agent</a>
+ <button class="btn" id="expandAll" type="button">Expand all deep dives</button>
+ </div>
+ <figure class="hero-shot">
+ <img src="/oracle-docs/img/oracle-hero-1440.png" alt="The live Oracle page: a hero reading 'Stop guessing the coin. Know the conviction.' above a live stat strip and a conviction-breadth bar with narrative category cards." loading="eager" />
+ <figcaption><b>The live surface.</b> Every launch in the last 12 hours, scored and ranked, with a live conviction-breadth bar and per-narrative averages. <a class="inl" href="/oracle">three.ws/oracle</a></figcaption>
+ </figure>
+ </header>
+
+ <div class="shell">
+ <!-- ===================== SIDEBAR TOC ===================== -->
+ <nav class="toc" aria-label="On this page">
+ <div class="toc-h">Start here</div>
+ <a href="#how-to-read">How to read this</a>
+ <a href="#quickstart">Quickstart</a>
+ <a href="#thesis">The thesis</a>
+ <div class="toc-h">The model</div>
+ <a href="#overview">System at a glance</a>
+ <a href="#pillars">The four pillars</a>
+ <a href="#fusion">Fusion &amp; tiers</a>
+ <a href="#anatomy">Anatomy of a score</a>
+ <div class="toc-h">The machine</div>
+ <a href="#data">Data &amp; ingestion</a>
+ <a href="#worker">The worker</a>
+ <a href="#agent-loop">The agent action loop</a>
+ <div class="toc-h">The evidence</div>
+ <a href="#evidence">Calibration &amp; backtest</a>
+ <a href="#outcomes">Outcomes &amp; grading</a>
+ <div class="toc-h">Reference</div>
+ <a href="#tour">Product tour</a>
+ <a href="#api">API reference</a>
+ <a href="#schema">Data model</a>
+ <div class="toc-h">Honest &amp; forward</div>
+ <a href="#limits">Limits &amp; failure modes</a>
+ <a href="#scale">Where it scales</a>
+ <a href="#appendix">PhD appendix</a>
+ <a href="#glossary">Glossary</a>
+ </nav>
+
+ <!-- ===================== CONTENT ===================== -->
+ <main>
+
+ <!-- HOW TO READ -->
+ <section id="how-to-read">
+ <div class="kicker">Orientation</div>
+ <h2>How to read this</h2>
+ <p class="lead-in">These docs are written in two layers so the same page serves a curious first-timer and a quant who wants the closed form.</p>
+ <div class="cards c2">
+ <div class="card">
+ <h4><span class="layer basic"><b></b>Plain</span> &nbsp;The body text</h4>
+ <p>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.</p>
+ </div>
+ <div class="card">
+ <h4><span class="layer deep"><b></b>Deep dive</span> &nbsp;The disclosures</h4>
+ <p>Anything labelled <b>Deep dive</b> expands into the exact math, constants, code paths, and edge cases — the researcher's layer. Closed by default. Use <b>Expand all</b> up top to read everything at once.</p>
+ </div>
+ </div>
+ <div class="note tip">
+ <span class="nt">Conventions</span>
+ <p>Numbers and thresholds quoted here are the <b>real production constants</b> from the engine. Tier names are <code class="t">prime · strong · lean · watch · avoid</code>. Pillars are nicknamed <b>WHO</b> (pedigree), <b>HOW</b> (structure), <b>WHAT</b> (narrative), <b>MOVE</b> (momentum) throughout the product and these docs.</p>
+ </div>
+ </section>
+
+ <!-- QUICKSTART -->
+ <section id="quickstart">
+ <div class="kicker">Five minutes</div>
+ <h2>Quickstart</h2>
+ <p>Three ways in, depending on what you want from Oracle today.</p>
+ <div class="cards c3">
+ <a class="card link" href="/oracle">
+ <div class="ic">For traders</div>
+ <h4>Read a score</h4>
+ <p>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.</p>
+ </a>
+ <a class="card link" href="#evidence">
+ <div class="ic">For skeptics</div>
+ <h4>See the proof</h4>
+ <p>Go straight to <b>The edge</b>. 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.</p>
+ </a>
+ <a class="card link" href="/oracle/arm">
+ <div class="ic">For builders</div>
+ <h4>Arm an agent</h4>
+ <p>Point a 3D agent at the conviction stream, set your bar and caps, and let it act — in <b>simulate</b> mode for free, or <b>live</b> with hard spend limits. Every action is graded against the outcome.</p>
+ </a>
+ </div>
+ <p style="margin-top:6px">Prefer to integrate? Every number on the page is a public endpoint — jump to the <a class="inl" href="#api">API reference</a>. Agents can poll <code class="t">/api/oracle/signal</code> for a machine-ready buy/watch/skip recommendation.</p>
+ </section>
+
+ <!-- THESIS -->
+ <section id="thesis">
+ <div class="kicker">Why this exists</div>
+ <h2>The thesis</h2>
+ <p class="lead-in">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 <b>coverage</b>.</p>
+
+ <h3>The problem: asymmetric information at the speed of a block</h3>
+ <p>When a coin launches, the people who win are the ones who already know things you can't see fast enough: <b>whose wallets are buying</b> (and whether those wallets have a track record or a rug history), <b>whether the launch is organic or a coordinated bundle</b>, <b>whether the "community" is 200 real people or 200 freshly-funded burner wallets</b>, and <b>whether the story has cultural legs</b>. By the time a human reads a chart, the asymmetry has already paid out.</p>
+ <p>Every one of those facts is on-chain or one inference away from it. The bottleneck has never been availability — it is <b>assembly and speed</b>. No human watches every wallet across every launch and fuses it into a decision in seconds. A machine can.</p>
+
+ <h3>The bet: fuse full-coverage data into one honest number</h3>
+ <p>Oracle's wager is that a transparent, calibrated fusion of <b>who / how / what / move</b> 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 <i>every</i> axis agrees.</p>
+ <p>Two design commitments make that bet honest:</p>
+ <ul>
+ <li><b>Transparency over magic.</b> 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.</li>
+ <li><b>Proof over promises.</b> 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.</li>
+ </ul>
+
+ <h3>Why it compounds</h3>
+ <p>The system gets sharper the more it watches, on two flywheels. The <b>data flywheel</b>: 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 <b>calibration flywheel</b>: 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.</p>
+ <div class="note">
+ <span class="nt">The one-sentence version</span>
+ <p>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.</p>
+ </div>
+ </section>
+
+ <!-- OVERVIEW -->
+ <section id="overview">
+ <div class="kicker">Architecture</div>
+ <h2>The system at a glance</h2>
+ <p class="lead-in">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.</p>
+
+ <div class="diagram">
+ <div class="cap">The closed loop — launch to verdict to action to learning</div>
+ <div class="flow">
+ <div class="node"><div class="tag">Source</div><div class="t">pump.fun</div><div class="d">Every new launch + its on-chain trades.</div></div>
+ <div class="arrow">→</div>
+ <div class="node"><div class="tag">Brain</div><div class="t">Intel tables</div><div class="d">Wallets, structure signals, reputation, outcomes.</div></div>
+ <div class="arrow">→</div>
+ <div class="node"><div class="tag">Oracle</div><div class="t">Assemble + classify</div><div class="d">Fuse intel; LLM narrative w/ live news.</div></div>
+ <div class="arrow">→</div>
+ <div class="node"><div class="tag">Oracle</div><div class="t">Convict</div><div class="d">Four pillars → one 0–100 score + tier.</div></div>
+ <div class="arrow">→</div>
+ <div class="node"><div class="tag">Surface</div><div class="t">Feed / stream / API</div><div class="d">Live to humans and agents.</div></div>
+ <div class="arrow">→</div>
+ <div class="node"><div class="tag">Act</div><div class="t">Agent loop</div><div class="d">Armed agents buy within caps.</div></div>
+ <div class="arrow">→</div>
+ <div class="node"><div class="tag">Learn</div><div class="t">Settle + backtest</div><div class="d">Grade vs outcome; recalibrate.</div></div>
+ </div>
+ </div>
+
+ <p>Concretely, the platform splits into three cooperating parts:</p>
+ <div class="cards c3">
+ <div class="card"><div class="ic">Read path</div><h4>The conviction library</h4><p>A pure, side-effect-free scoring function (<code class="t">convict()</code>) 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.</p></div>
+ <div class="card"><div class="ic">Run path</div><h4>The worker</h4><p>A long-lived Node process running three independent loops — <b>score</b> (keep verdicts warm), <b>agent</b> (act on armed watches), and <b>settle</b> (grade outcomes) — each self-scheduling so a slow pass never blocks a fast one.</p></div>
+ <div class="card"><div class="ic">Edge path</div><h4>The API + UI</h4><p>~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.</p></div>
+ </div>
+ <div class="note tip">
+ <span class="nt">Design principle</span>
+ <p>The scoring is a <b>pure function of assembled intel</b>. 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.</p>
+ </div>
+ </section>
+
+ <!-- PILLARS -->
+ <section id="pillars">
+ <div class="kicker">The model · part 1</div>
+ <h2>The four pillars</h2>
+ <p class="lead-in">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.</p>
+
+ <div class="diagram">
+ <div class="cap">Pillar weights — what moves the final score</div>
+ <div class="weighbox">
+ <svg viewBox="0 0 42 42" width="200" height="200" role="img" aria-label="Donut chart: pedigree 34 percent, structure 30 percent, narrative 18 percent, momentum 18 percent" style="transform:rotate(-90deg)">
+ <circle cx="21" cy="21" r="15.915" fill="none" stroke="var(--line)" stroke-width="6"></circle>
+ <circle cx="21" cy="21" r="15.915" fill="none" stroke="var(--p-ped)" stroke-width="6" stroke-dasharray="34 66" stroke-dashoffset="0"></circle>
+ <circle cx="21" cy="21" r="15.915" fill="none" stroke="var(--p-str)" stroke-width="6" stroke-dasharray="30 70" stroke-dashoffset="-34"></circle>
+ <circle cx="21" cy="21" r="15.915" fill="none" stroke="var(--p-nar)" stroke-width="6" stroke-dasharray="18 82" stroke-dashoffset="-64"></circle>
+ <circle cx="21" cy="21" r="15.915" fill="none" stroke="var(--p-mom)" stroke-width="6" stroke-dasharray="18 82" stroke-dashoffset="-82"></circle>
+ </svg>
+ <div class="legend">
+ <div class="lrow"><span class="sw" style="background:var(--p-ped)"></span><span class="nm">WHO · Pedigree</span><span class="wt">0.34</span><span class="ds">— buyer track record is the single most predictive signal.</span></div>
+ <div class="lrow"><span class="sw" style="background:var(--p-str)"></span><span class="nm">HOW · Structure</span><span class="wt">0.30</span><span class="ds">— the fair-launch guardrail; also imposes hard ceilings.</span></div>
+ <div class="lrow"><span class="sw" style="background:var(--p-nar)"></span><span class="nm">WHAT · Narrative</span><span class="wt">0.18</span><span class="ds">— cultural strength; a tie-breaker, not a savior.</span></div>
+ <div class="lrow"><span class="sw" style="background:var(--p-mom)"></span><span class="nm">MOVE · Momentum</span><span class="wt">0.18</span><span class="ds">— is real buying pressure actually showing up?</span></div>
+ </div>
+ </div>
+ </div>
+ <p>WHO and HOW together carry nearly two-thirds of the weight because <b>who is buying</b> and <b>how fair the launch is</b> 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.</p>
+
+ <!-- PEDIGREE -->
+ <h3 style="color:var(--p-ped)">① WHO — Pedigree</h3>
+ <p><b>The question:</b> who is already in this coin, and what is their record? Pedigree rewards launches where wallets with a <i>proven</i> history of getting into winners early are already buying — and penalizes the presence of known ruggers, dumpers, and serial failed-launch creators.</p>
+ <p><b>Plain-English drivers:</b> 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 <i>selling</i>, and a creator with a rug pattern all cut the score — and a serial rugger <b>caps</b> it outright.</p>
+ <details class="dive">
+ <summary><span class="layer deep"><b></b>Deep dive</span> Pedigree — exact rules &amp; constants <span class="chev">›</span></summary>
+ <div class="body">
+ <p>Inputs come from the brain's smart-money slice (a pre-computed 0–100 composite, proven/total buy &amp; 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.</p>
+ <div class="tbl-wrap"><table>
+ <thead><tr><th>Signal</th><th>Adjustment</th><th>Note</th></tr></thead>
+ <tbody>
+ <tr><td>≥5 proven wallets in</td><td><b>+14</b></td><td>+9 at ≥3, +5 at ≥1</td></tr>
+ <tr><td>Proven share of buy vol ≥40%</td><td><b>+8</b></td><td>+4 at ≥20%</td></tr>
+ <tr><td>Flagged wallet present (rugger/dumper)</td><td><b>−12</b> each</td><td>capped at −36 (3 wallets)</td></tr>
+ <tr><td>Smart money sold ≥50% of position</td><td><b>−16</b></td><td>−8 at ≥25% (trimming)</td></tr>
+ <tr><td>Creator: ≥3 launches, 0 graduated</td><td><b>−22</b>, cap ≤45</td><td>rug pattern → hard ceiling</td></tr>
+ <tr><td>Creator: ≥3 graduated launches</td><td><b>+12</b></td><td>+6 at ≥1</td></tr>
+ <tr><td>Creator dumps ≥50% of launches</td><td><b>−8</b></td><td>consistent exit pattern</td></tr>
+ </tbody>
+ </table></div>
+ <p>Returns <code class="t">{ score, reasons[], cap }</code>. The <code class="t">cap</code> is a hard ceiling on the <i>final</i> 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 <code class="t">smart_money</code>/<code class="t">kol</code> or carries a reputation score ≥70.</p>
+ </div>
+ </details>
+
+ <!-- STRUCTURE -->
+ <h3 style="color:var(--p-str)">② HOW — Structure</h3>
+ <p><b>The question:</b> 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.</p>
+ <p><b>Plain-English drivers:</b> 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 <b>cap</b> the whole coin in the 38–55 range regardless of pedigree.</p>
+ <details class="dive">
+ <summary><span class="layer deep"><b></b>Deep dive</span> Structure — exact rules &amp; the cap mechanism <span class="chev">›</span></summary>
+ <div class="body">
+ <p>The base is anchored to the brain's organic-demand score: <code class="t">base = 30 + organic·0.55</code> (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.</p>
+ <div class="tbl-wrap"><table>
+ <thead><tr><th>Signal</th><th>Adjustment</th><th>Cap</th></tr></thead>
+ <tbody>
+ <tr><td>Bundle likelihood ≥60% (≥35%)</td><td>−20 (−11)</td><td>≤46</td></tr>
+ <tr><td>Top-10 wallets hold ≥80% (≥60%)</td><td>−22 (−12)</td><td>≤44</td></tr>
+ <tr><td>Buyer interconnectivity ≥60%</td><td>−10</td><td>≤55</td></tr>
+ <tr><td>Snipe ratio ≥70% (≥45%)</td><td>−16 (−8)</td><td>≤50</td></tr>
+ <tr><td>Fresh/farmed wallets ≥70% (≥45%)</td><td>−18 (−9)</td><td>≤48</td></tr>
+ <tr><td>≥60 unique buyers (≥25 / &lt;8)</td><td>+16 (+9 / −8)</td><td>—</td></tr>
+ <tr><td>Top holder ≥50% (≥30%)</td><td>−26 (−14)</td><td>≤45</td></tr>
+ <tr><td>Creator still holds ≥25%</td><td>−16</td><td>—</td></tr>
+ <tr><td>Dev sold ≥50% (≥20%)</td><td>−24 (−10)</td><td>≤38</td></tr>
+ <tr><td>Single-funder cluster ≥50% (≥30%)</td><td>−22 (−12)</td><td>≤42</td></tr>
+ <tr><td>Explicit bundle risk flag</td><td>−18</td><td>≤48</td></tr>
+ </tbody>
+ </table></div>
+ <p>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 <i>before</i> the weighted average is taken, so no amount of pedigree or narrative lifts it into a high tier.</p>
+ </div>
+ </details>
+
+ <!-- NARRATIVE -->
+ <h3 style="color:var(--p-nar)">③ WHAT — Narrative</h3>
+ <p><b>The question:</b> 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 <b>live crypto headlines</b> so it can recognize a coin riding today's news.</p>
+ <p><b>Plain-English drivers:</b> 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.</p>
+ <details class="dive">
+ <summary><span class="layer deep"><b></b>Deep dive</span> Narrative — priors, blending, and the classifier chain <span class="chev">›</span></summary>
+ <div class="body">
+ <p><b>Category priors</b> (base virality): <code class="t">news 70 · culture 66 · ai 64 · meme 60 · animal 56 · community 58 · celebrity 54 · political 52 · tech 50 · utility 46 · unknown 40</code>.</p>
+ <p><b>Blending</b> when a virality estimate exists:</p>
+ <pre><span class="k">score</span> = virality · (0.4 + 0.4·confidence) + prior · (0.6 − 0.4·confidence)</pre>
+ <p>So high model confidence leans on the virality estimate; low confidence falls back toward the category prior. With no estimate, <code class="t">score = prior</code>. A <code class="t">news</code> coin adds the reason "fast but fragile"; an <code class="t">unknown</code> coin adds "treat with caution."</p>
+ <p><b>Classifier chain</b> (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 <code class="t">source: heuristic</code> vs <code class="t">llm</code>. A separate social-ingestion path can additively boost virality from tweet engagement, but never downgrades an LLM classification.</p>
+ </div>
+ </details>
+
+ <!-- MOMENTUM -->
+ <h3 style="color:var(--p-mom)">④ MOVE — Momentum</h3>
+ <p><b>The question:</b> 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.</p>
+ <p><b>Plain-English drivers:</b> buyers strongly outnumbering sellers, a rapid pile-in of unique early buyers, and a dev who put a <i>sensible</i> amount of skin in the game all lift the score. Heavy early selling cuts it, and an <i>oversized</i> dev buy is read as a honeypot risk and penalized.</p>
+ <details class="dive">
+ <summary><span class="layer deep"><b></b>Deep dive</span> Momentum — exact rules <span class="chev">›</span></summary>
+ <div class="body">
+ <p>Starts at a neutral 50.</p>
+ <div class="tbl-wrap"><table>
+ <thead><tr><th>Signal</th><th>Adjustment</th></tr></thead>
+ <tbody>
+ <tr><td>Buy share ≥80% &amp; ≥10 buys</td><td><b>+22</b> (strong inflow)</td></tr>
+ <tr><td>Buy share ≥65%</td><td>+12 (buyers outnumber sellers)</td></tr>
+ <tr><td>Buy share &lt;45%</td><td>−16 (distribution)</td></tr>
+ <tr><td>≥40 early buyers (≥15)</td><td>+14 (+7) — pile-in</td></tr>
+ <tr><td>Dev buy 0.2–2.5 SOL</td><td>+8 (skin in the game)</td></tr>
+ <tr><td>Dev buy &gt;6 SOL</td><td>−14 (oversized → honeypot risk)</td></tr>
+ </tbody>
+ </table></div>
+ <p>With no signal yet it returns "too early," keeping the pillar neutral rather than inventing momentum that isn't there.</p>
+ </div>
+ </details>
+ </section>
+
+ <!-- FUSION -->
+ <section id="fusion">
+ <div class="kicker">The model · part 2</div>
+ <h2>Fusion &amp; tiers</h2>
+ <p class="lead-in">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.</p>
+
+ <div class="eq">
+<span class="op"># weighted average of the four pillar scores</span>
+score = WHO·<span class="w">0.34</span> <span class="op">+</span> HOW·<span class="w">0.30</span> <span class="op">+</span> WHAT·<span class="w">0.18</span> <span class="op">+</span> MOVE·<span class="w">0.18</span>
+
+<span class="op"># structure (and pedigree) can veto — the lowest cap wins</span>
+score = min(score, structure.cap)
+
+<span class="op"># round + clamp to the 0–100 integer line</span>
+score = clamp(round(score), 0, 100)
+ </div>
+
+ <p>The cap step is the whole philosophy in one line: pillars <i>add up</i>, 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 <b>watch</b>, exactly where it belongs.</p>
+
+ <h3>The tier ladder</h3>
+ <p>The final integer maps to one of five tiers. Tiers are how humans skim the feed and how agents set a bar.</p>
+ <div class="diagram">
+ <div class="cap">Conviction tiers — score → tier</div>
+ <div class="ladder">
+ <div class="rung"><span class="nm" style="color:#eceff5">Prime</span><div class="bar" style="background:#eceff5; width:100%">86–100 · every axis agrees; rare</div><span class="rng">≥ 86</span></div>
+ <div class="rung"><span class="nm" style="color:#cdd2e0">Strong</span><div class="bar" style="background:#cdd2e0; width:84%">72–85 · favorable across the hard pillars</div><span class="rng">≥ 72</span></div>
+ <div class="rung"><span class="nm" style="color:#9aa0b0">Lean</span><div class="bar" style="background:#9aa0b0; width:70%; color:#06070d">56–71 · leaning positive, inconclusive</div><span class="rng">≥ 56</span></div>
+ <div class="rung"><span class="nm" style="color:#8a92a8">Watch</span><div class="bar" style="background:#8a92a8; width:58%; color:#06070d">34–55 · mixed signals</div><span class="rng">≥ 34</span></div>
+ <div class="rung"><span class="nm" style="color:#6c7280">Avoid</span><div class="bar" style="background:#6c7280; width:46%">0–33 · structural red flags</div><span class="rng">≥ 0</span></div>
+ </div>
+ </div>
+ <p>Alongside the score, the engine emits <b>badges</b> (e.g. <code class="t">smart-money</code>, <code class="t">structure-flag</code>, <code class="t">news</code>, <code class="t">momentum</code>, <code class="t">prime</code>) for fast visual scanning, and an ordered list of <b>reasons</b> — each tagged to the pillar that produced it — so the score is never a black box.</p>
+ <div class="note warn">
+ <span class="nt">Read the reasons, not just the number</span>
+ <p>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 <i>how strong</i>; the reasons tell you <i>why</i>, and the why is what you trade on.</p>
+ </div>
+ </section>
+
+ <!-- ANATOMY -->
+ <section id="anatomy">
+ <div class="kicker">Worked example</div>
+ <h2>Anatomy of a score</h2>
+ <p class="lead-in">Here is the coin drawer the product shows when you click any launch. It is the score, fully unpacked — the same object the API returns, rendered for a human.</p>
+ <figure>
+ <img src="/oracle-docs/img/oracle-coin-detail.png" alt="Oracle coin drawer showing a conviction of 35 in the 'watch' band, the WHO/HOW/WHAT/MOVE pillar bars, a 'why this score' list with four plain-English reasons, structure bars for organic-buy and bundle, an empty who's-in roster, and a live-trades panel." />
+ <figcaption><b>One verdict, fully unpacked.</b> Conviction <b>35</b> (watch): the WHO/HOW/WHAT/MOVE pillars across the top, a plain-English <b>“why this score”</b> list, the structure read (organic-buy vs bundle), the <b>who's-in</b> wallet roster, and a live trade tape — all for a single launch.</figcaption>
+ </figure>
+ <p>Walking the drawer top to bottom mirrors the model exactly:</p>
+ <ul>
+ <li><b>The four pillar bars</b> — WHO / HOW / WHAT / MOVE — are the sub-scores from the section above. The big number is their capped, weighted fusion.</li>
+ <li><b>“Why this score”</b> is the <code class="t">reasons[]</code> 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 <b>watch</b>, not an avoid and not a buy.</li>
+ <li><b>Structure / wallet-graph / buy-pattern</b> expose the raw HOW inputs (organic-buy %, bundle %, the funder graph) so you can audit the guardrail.</li>
+ <li><b>Who's-in</b> is the live pedigree roster — every notable wallet, its label, and its track record.</li>
+ <li><b>Live trades</b> streams the coin's buys and sells in real time, each annotated with the trader's wallet archetype.</li>
+ </ul>
+ <p>Every field here is also available programmatically from <code class="t">GET /api/oracle/coin?mint=…</code> — see the <a class="inl" href="#api">API reference</a>.</p>
+ </section>
+
+ <!-- DATA -->
+ <section id="data">
+ <div class="kicker">The machine · part 1</div>
+ <h2>Data &amp; ingestion</h2>
+ <p class="lead-in">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.</p>
+
+ <h3>What the brain provides (read-only)</h3>
+ <p>Five brain tables feed every score. Oracle queries each one <b>defensively</b> — a missing or younger table degrades the affected pillar gracefully rather than failing the whole verdict.</p>
+ <div class="tbl-wrap"><table>
+ <thead><tr><th>Brain table</th><th>Feeds</th><th>Key columns Oracle reads</th></tr></thead>
+ <tbody>
+ <tr><td><code>pump_coin_intel</code></td><td>HOW, WHAT, metadata</td><td>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</td></tr>
+ <tr><td><code>coin_smart_money</code></td><td>WHO (base)</td><td>smart_money_score, smart_wallet_count, proven/total buy lamports, notable[]</td></tr>
+ <tr><td><code>pump_coin_wallets</code></td><td>WHO, HOW</td><td>per-wallet buy/sell lamports, is_creator, funder (cluster source)</td></tr>
+ <tr><td><code>wallet_reputation</code></td><td>WHO (labels)</td><td>label, smart_money_score, win_rate, early_win_rate, dump_rate, coins_traded, creator_count, creator_wins</td></tr>
+ <tr><td><code>pump_coin_outcomes</code></td><td>Evidence, settlement</td><td>graduated, rugged, ath_multiple, last_market_cap_usd</td></tr>
+ </tbody>
+ </table></div>
+
+ <h3>Narrative: a model with the news on its desk</h3>
+ <p>The WHAT pillar is the only place Oracle reaches outside the brain. To classify a launch's story, it fetches <b>live crypto headlines</b> 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.</p>
+
+ <h3>Pedigree: reputation earned, with a cold-start prior</h3>
+ <p>"Smart money" is not a hard-coded list — it is continuously re-earned from outcomes in the <code class="t">wallet_reputation</code> graph. For wallets the brain hasn't judged yet, Oracle seeds a <b>cold-start prior</b> 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 <b>earned reputation &gt; prior &gt; unproven</b>.</p>
+ <figure>
+ <img src="/oracle-docs/img/oracle-wallet-leaderboard.png" alt="Top-wallets leaderboard: a ranked table of wallet addresses tagged 'Smart Money' with win-rate, early-win, and reputation-score columns." />
+ <figcaption><b>The pedigree graph, made browsable.</b> Every wallet Oracle has judged, ranked by track record — early-buy win rate against dump/rug behavior. This is the raw material the WHO pillar reads. <a class="inl" href="/oracle">Top wallets tab</a></figcaption>
+ </figure>
+ <details class="dive">
+ <summary><span class="layer deep"><b></b>Deep dive</span> Oracle's own tables &amp; data lifecycle <span class="chev">›</span></summary>
+ <div class="body">
+ <p>Oracle owns five tables: <code class="t">oracle_narrative</code> (classified story + virality), <code class="t">oracle_conviction</code> (the live verdict cache, one row per mint), <code class="t">oracle_conviction_history</code> (score time-series, written only on a ≥3-point change, 72h retention), <code class="t">oracle_agent_watch</code> (armed-agent config), and <code class="t">oracle_watch_actions</code> (the action ledger). Full columns in the <a class="inl" href="#schema">data model</a>.</p>
+ <p>Lifecycle: a coin must be ≥… actually 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.</p>
+ </div>
+ </details>
+ </section>
+
+ <!-- WORKER -->
+ <section id="worker">
+ <div class="kicker">The machine · part 2</div>
+ <h2>The worker</h2>
+ <p class="lead-in">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.</p>
+ <div class="cards c3">
+ <div class="card"><div class="ic">every ~15s · batch 20</div><h4>Score loop</h4><p>Finds recent launches that are new or stale (last scored &gt;3 min ago), scores each — assemble → classify → fuse → persist — and appends history on material change. Keeps the cache warm.</p></div>
+ <div class="card"><div class="ic">every ~3s</div><h4>Agent loop</h4><p>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.</p></div>
+ <div class="card"><div class="ic">every ~60s · batch 100</div><h4>Settle loop</h4><p>Finds open actions whose coin now has a resolved outcome, grades each win/loss/flat, marks PnL to market, and closes the learning loop.</p></div>
+ </div>
+ <h3>Cold start &amp; graceful degradation</h3>
+ <p>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.</p>
+ <details class="dive">
+ <summary><span class="layer deep"><b></b>Deep dive</span> Configuration, safeguards &amp; the kill switch <span class="chev">›</span></summary>
+ <div class="body">
+ <p>The worker is configured entirely by environment. Selected knobs (with defaults): <code class="t">ORACLE_MODE=simulate</code>, <code class="t">ORACLE_NETWORK=mainnet</code>, <code class="t">ORACLE_SCORE_INTERVAL_MS=15000</code>, <code class="t">ORACLE_AGENT_INTERVAL_MS=3000</code>, <code class="t">ORACLE_SETTLE_INTERVAL_MS=60000</code>, <code class="t">ORACLE_SCORE_BATCH=20</code>, <code class="t">ORACLE_RESCORE_AFTER_SEC=180</code>, <code class="t">ORACLE_MAX_TRADE_SOL=0.25</code> (absolute per-trade ceiling), and <code class="t">ORACLE_GLOBAL_KILL=1</code> (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.</p>
+ <p>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. <b>Simulate is the default</b> — the worker logs realistic actions with zero spend unless explicitly switched to live.</p>
+ </div>
+ </details>
+ </section>
+
+ <!-- AGENT LOOP -->
+ <section id="agent-loop">
+ <div class="kicker">The machine · part 3</div>
+ <h2>The agent action loop</h2>
+ <p class="lead-in">Conviction is only half the product. The other half is letting a 3D agent <b>act</b> on it — autonomously, within limits you set, grading itself against every outcome. That is what <a class="inl" href="/oracle/arm">/oracle/arm</a> configures.</p>
+ <figure>
+ <img src="/oracle-docs/img/oracle-arm-config.png" alt="The 'Arm your agent' page prompting the user to create a 3D agent, with the configuration surface for conviction bar, position sizing, caps, narrative filters, alerts, and a live qualifying-coins preview." />
+ <figcaption><b>Arm your agent.</b> Pick an agent, set the bar (Prime / Strong+ / Lean+), the position size and caps, optional narrative filters and Telegram alerts, then arm in <b>simulate</b> or <b>live</b>. A live preview shows exactly which coins would clear your rules right now. <a class="inl" href="/oracle/arm">three.ws/oracle/arm</a></figcaption>
+ </figure>
+ <h3>How a decision is made</h3>
+ <p>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.</p>
+ <div class="tbl-wrap"><table>
+ <thead><tr><th>Gate</th><th>Blocks when…</th></tr></thead>
+ <tbody>
+ <tr><td>Armed</td><td>the watch isn't armed</td></tr>
+ <tr><td>Min score / tier</td><td>conviction below the agent's bar</td></tr>
+ <tr><td>Narrative filter</td><td>category not in the agent's allow-list (if set)</td></tr>
+ <tr><td>Require smart money</td><td>no proven wallet is in yet (if required)</td></tr>
+ <tr><td>Max open positions</td><td>the agent is already at its concurrency cap</td></tr>
+ <tr><td>Daily budget</td><td>this buy would exceed the 24h spend cap</td></tr>
+ </tbody>
+ </table></div>
+ <p>Position size is the agent's base per-trade amount, optionally <b>scaled by conviction</b> — 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.</p>
+ <h3>Simulate vs live</h3>
+ <p><b>Simulate</b> (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. <b>Live</b> 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.</p>
+ <details class="dive">
+ <summary><span class="layer deep"><b></b>Deep dive</span> The executor — sizing, Jito routing, hard caps <span class="chev">›</span></summary>
+ <div class="body">
+ <p>Conviction-weighted size: <code class="t">size = base · (1 + clamp((score − min)/(100 − min), 0, 1)·0.5)</code>. The executor then applies the absolute ceiling: <code class="t">size = min(size, ORACLE_MAX_TRADE_SOL)</code> — a guardian limit that overrides any per-agent setting.</p>
+ <p>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 <code class="t">filled</code> with the signature (or <code class="t">jito:&lt;bundleId&gt;</code>), <code class="t">skipped</code> if the agent has no wallet, or <code class="t">failed</code> on any on-chain error — never silently dropped.</p>
+ </div>
+ </details>
+ </section>
+
+ <!-- EVIDENCE -->
+ <section id="evidence">
+ <div class="kicker">The evidence · the science</div>
+ <h2>Calibration &amp; backtest</h2>
+ <p class="lead-in">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.</p>
+ <figure>
+ <img src="/oracle-docs/img/oracle-edge.png" alt="The Edge tab: aggregate stats (total scored, win rate with 95% CI, wins, losses, graduated, rugged), a 'win rate by conviction tier' table with confidence bands, and a 'calibration — realized win rate by score band' ladder comparing realized win rate to the band's prediction." />
+ <figcaption><b>Proof, not promises.</b> Win rate by tier with <b>95% confidence bands</b>, and a calibration ladder plotting <i>realized</i> win rate against what each score band <i>predicts</i>. Snapshot from the live <a class="inl" href="/oracle">edge tab</a> on 2026-06-30 — a low-conviction window, shown honestly rather than cherry-picked.</figcaption>
+ </figure>
+
+ <h3>What "win" means</h3>
+ <p>A scored coin is a <b>win</b> if it graduated or reached a ≥2× ATH multiple; a <b>loss</b> if it rugged or languished below 1.2×; <b>flat</b> in between. Only resolved coins count toward a win rate — open positions are excluded, so the number can't be inflated by undecided bets.</p>
+
+ <h3>The four things the backtest publishes</h3>
+ <div class="cards c2">
+ <div class="card"><h4>Win rate by tier, with honest error bars</h4><p>Each tier's realized win rate is shown with a <b>95% Wilson confidence interval</b> — 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.</p></div>
+ <div class="card"><h4>Calibration ladder</h4><p>Coins are bucketed by score (0–10, …, 90–100) and each bucket's <i>realized</i> win rate is compared to the score it <i>predicts</i>. A calibrated engine keeps realized near predicted and climbing band-over-band.</p></div>
+ <div class="card"><h4>Brier score</h4><p>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.</p></div>
+ <div class="card"><h4>Edge multiple &amp; monotonicity</h4><p>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.</p></div>
+ </div>
+
+ <details class="dive">
+ <summary><span class="layer deep"><b></b>Deep dive</span> The Wilson interval &amp; why we use it <span class="chev">›</span></summary>
+ <div class="body">
+ <p>For <code class="t">w</code> wins in <code class="t">n</code> resolved coins, the 95% Wilson score interval (z = 1.96) is:</p>
+ <pre>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]</pre>
+ <p>Unlike the normal approximation <code class="t">p ± z·√(p(1−p)/n)</code>, 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 <code class="t">n</code> that young backtests have. It is the difference between an honest "we don't know yet" and a dishonest "0% ± 0%."</p>
+ </div>
+ </details>
+ <div class="note">
+ <span class="nt">Honesty clause</span>
+ <p>The snapshot above is a thin, low-conviction window — realized win rates sit below the band midpoints and few coins reached the higher tiers. That 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.</p>
+ </div>
+ </section>
+
+ <!-- OUTCOMES -->
+ <section id="outcomes">
+ <div class="kicker">The evidence · grading</div>
+ <h2>Outcomes &amp; grading</h2>
+ <p class="lead-in">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.</p>
+ <p>When a coin's outcome resolves, the settle loop grades any open action on it:</p>
+ <ul>
+ <li><b>Win</b> — the coin graduated, or its peak multiple reached ≥2×.</li>
+ <li><b>Loss</b> — the coin rugged, or marked below 0.5× / peaked below 1.2×.</li>
+ <li><b>Flat</b> — everything in between.</li>
+ </ul>
+ <p>Realized PnL is marked to market as <code class="t">size · (current_mc / entry_mc − 1)</code>, and an agent's summary rolls up total, wins, losses, win rate, realized PnL, and ROI. The same grading powers the public <a class="inl" href="/oracle">agent leaderboard</a> and the platform-wide <a class="inl" href="/activity">activity floor</a>, so every agent competes on a level, outcome-graded field.</p>
+ </section>
+
+ <!-- TOUR -->
+ <section id="tour">
+ <div class="kicker">Reference · product</div>
+ <h2>Product tour</h2>
+ <p class="lead-in">The live Oracle is eight views over one engine. Every state — loading, empty, error, populated — is designed; the empty states below are the real product telling you what's coming, not bugs.</p>
+ <div class="tbl-wrap"><table>
+ <thead><tr><th>View</th><th>What it's for</th></tr></thead>
+ <tbody>
+ <tr><td><b>Live conviction</b></td><td>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.</td></tr>
+ <tr><td><b>Movers</b></td><td>Biggest conviction <i>changes</i> over a window — coins whose score is rising or falling, with the delta and tier change.</td></tr>
+ <tr><td><b>Top wallets</b></td><td>The pedigree leaderboard — every judged wallet ranked by track record.</td></tr>
+ <tr><td><b>3D graph</b></td><td>Every scored coin as a glowing sphere in a force-directed, category-clustered 3D field; size and color encode conviction and tier.</td></tr>
+ <tr><td><b>The edge</b></td><td>The backtest — win rate by tier, calibration, Brier, edge multiple.</td></tr>
+ <tr><td><b>Proof</b></td><td>The wins gallery — resolved calls with their score-at-entry versus the realized outcome.</td></tr>
+ <tr><td><b>Agents</b></td><td>The agent leaderboard — armed agents ranked by their outcome-graded record.</td></tr>
+ <tr><td><b>Activity</b></td><td>The live floor — every agent action, simulated or live, as it happens.</td></tr>
+ </tbody>
+ </table></div>
+ <div class="cards c2">
+ <figure style="margin:6px 0"><img src="/oracle-docs/img/oracle-graph.png" alt="The 3D graph view: a framed dark viewport with a header describing every scored coin as a sphere and a methodology footer." /><figcaption><b>3D graph.</b> Every scored coin as a sphere, clustered by narrative, sized by conviction. (Spheres render on GPU hardware; this capture shows the panel chrome.)</figcaption></figure>
+ <figure style="margin:6px 0"><img src="/oracle-docs/img/oracle-movers.png" alt="The Movers tab showing its designed empty state for the current 24h window." /><figcaption><b>Movers</b>, with its designed empty state — what you see before enough conviction has shifted in the window.</figcaption></figure>
+ <figure style="margin:6px 0"><img src="/oracle-docs/img/oracle-agents.png" alt="The Agents leaderboard tab with a 'no ranked agents yet' empty state." /><figcaption><b>Agents</b> leaderboard — ranked by outcome-graded win rate once agents have a track record.</figcaption></figure>
+ <figure style="margin:6px 0"><img src="/oracle-docs/img/oracle-activity.png" alt="The Activity floor tab with a 'no actions yet' empty state." /><figcaption><b>Activity</b> floor — every agent action, live, the moment it happens.</figcaption></figure>
+ </div>
+ <p>The product is keyboard-driven (<kbd>/</kbd> 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.</p>
+ <figure>
+ <img src="/oracle-docs/img/oracle-mobile-390.png" alt="The Oracle page on a 390px-wide phone: responsive hero, hamburger nav, and two-column stat tiles." style="max-width:300px; margin:0 auto" />
+ <figcaption style="text-align:center"><b>Responsive by default.</b> The full engine, on a phone.</figcaption>
+ </figure>
+ </section>
+
+ <!-- API -->
+ <section id="api">
+ <div class="kicker">Reference · integrate</div>
+ <h2>API reference</h2>
+ <p class="lead-in">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.</p>
+ <h3>Read endpoints</h3>
+ <div class="tbl-wrap"><table>
+ <thead><tr><th>Endpoint</th><th>Returns</th></tr></thead>
+ <tbody>
+ <tr><td><code>GET /api/oracle/feed</code></td><td>Live conviction feed — scored coins with pillars, badges, category, sparkline; plus a tier-level backtest summary. Filters: <code>tier, category, min_score, limit, network</code>.</td></tr>
+ <tr><td><code>GET /api/oracle/coin</code></td><td>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.</td></tr>
+ <tr><td><code>GET /api/oracle/signal</code></td><td><b>Machine-ready.</b> A buy/watch/skip recommendation with confidence and a size factor, per mint or as the top N plays — built for agent polling.</td></tr>
+ <tr><td><code>GET /api/oracle/batch</code></td><td>Conviction for up to 20 mints at once.</td></tr>
+ <tr><td><code>GET /api/oracle/backtest</code></td><td>Win rate by tier with Wilson CIs, calibration ladder, Brier, and the edge summary. Filters: <code>period, tier, network</code>.</td></tr>
+ <tr><td><code>GET /api/oracle/wallet</code></td><td>A single wallet's profile + recent coins, or the wallet leaderboard.</td></tr>
+ <tr><td><code>GET /api/oracle/wins</code></td><td>The proven-wins gallery, ordered by ATH multiple, with a summary.</td></tr>
+ <tr><td><code>GET /api/oracle/movers</code></td><td>Biggest conviction changes over a window (rising / falling).</td></tr>
+ <tr><td><code>GET /api/oracle/history</code></td><td>A coin's conviction time-series (sparkline data) with a rising/falling/stable trend.</td></tr>
+ <tr><td><code>GET /api/oracle/stats</code> · <code>/categories</code> · <code>/search</code> · <code>/leaderboard</code> · <code>/agent-stats</code> · <code>/activity</code></td><td>Global KPIs, per-category intel, symbol search, the agent leaderboard, a single agent's record, and the global action feed.</td></tr>
+ <tr><td><code>GET /api/oracle/og</code></td><td>A dynamic 1200×630 OpenGraph conviction card (SVG) for sharing a coin.</td></tr>
+ </tbody>
+ </table></div>
+ <h3>Streams (SSE)</h3>
+ <div class="tbl-wrap"><table>
+ <thead><tr><th>Endpoint</th><th>Streams</th></tr></thead>
+ <tbody>
+ <tr><td><code>GET /api/oracle/stream</code></td><td>New / updated conviction verdicts as they're scored (<code>min_score</code> filter).</td></tr>
+ <tr><td><code>GET /api/oracle/trades</code></td><td>A coin's live buy/sell tape, each trade annotated with the trader's wallet archetype.</td></tr>
+ <tr><td><code>GET /api/oracle/action-stream</code></td><td>New agent actions and outcome settlements as they land.</td></tr>
+ </tbody>
+ </table></div>
+ <h3>Write endpoints (auth)</h3>
+ <div class="tbl-wrap"><table>
+ <thead><tr><th>Endpoint</th><th>Does</th></tr></thead>
+ <tbody>
+ <tr><td><code>GET·POST /api/oracle/watch</code></td><td>Read or arm an agent's watch config — bar, sizing, caps, filters, mode. Server-side validation clamps every limit.</td></tr>
+ <tr><td><code>POST·DELETE /api/oracle/follow</code></td><td>Subscribe a Telegram chat to an agent's conviction signals.</td></tr>
+ <tr><td><code>POST /api/oracle/test-alert</code></td><td>Send a test Telegram alert to verify setup.</td></tr>
+ <tr><td><code>POST /api/oracle/social</code></td><td>Ingest tweets to additively boost a coin's virality (never downgrades an LLM read).</td></tr>
+ </tbody>
+ </table></div>
+ <details class="dive">
+ <summary><span class="layer deep"><b></b>Deep dive</span> Example: the agent signal contract <span class="chev">›</span></summary>
+ <div class="body">
+ <p><code class="t">GET /api/oracle/signal?mint=…</code> returns a recommendation an agent can act on directly:</p>
+ <pre>{
+ "mint": "…", "symbol": "…",
+ "conviction": 88, "tier": "strong", "category": "ai",
+ "pillars": { "pedigree": 82, "structure": 88, "narrative": 80, "momentum": 90 },
+ "recommendation": {
+ "action": "buy", <span class="c">// buy | watch | skip</span>
+ "confidence": "medium", <span class="c">// high | medium | low</span>
+ "size_factor": 0.75, <span class="c">// 0–1 suggested sizing multiplier</span>
+ "note": "strong conviction — favorable across pedigree and structure"
+ }
+}</pre>
+ <p>Recommendations map from tier: prime → <code class="t">buy/high/1.0</code>, strong → <code class="t">buy/medium/0.75</code>, lean → <code class="t">watch</code>, watch/avoid → <code class="t">skip</code>. Reads are cached 3s with stale-while-revalidate, so polling is cheap.</p>
+ </div>
+ </details>
+ </section>
+
+ <!-- SCHEMA -->
+ <section id="schema">
+ <div class="kicker">Reference · data model</div>
+ <h2>Data model</h2>
+ <p class="lead-in">Oracle owns five tables. The verdict cache is the heart; the rest are history, config, and the action ledger.</p>
+ <div class="tbl-wrap"><table>
+ <thead><tr><th>Table</th><th>Grain</th><th>Notable columns</th></tr></thead>
+ <tbody>
+ <tr><td><code>oracle_conviction</code></td><td>1 row / mint</td><td><code>score, tier, pedigree, structure, narrative, momentum, structure_cap, badges, reasons, components, category, smart_wallet_count, scored_at</code></td></tr>
+ <tr><td><code>oracle_narrative</code></td><td>1 row / mint</td><td><code>category, narrative, virality, confidence, tags, source (llm|heuristic), classified_at</code></td></tr>
+ <tr><td><code>oracle_conviction_history</code></td><td>append on Δ≥3</td><td><code>score, tier, pillars, scored_at</code> · 72h retention</td></tr>
+ <tr><td><code>oracle_agent_watch</code></td><td>1 row / agent</td><td><code>armed, mode, min_score, min_tier, categories, per_trade_sol, max_daily_sol, max_open, require_smart_money, size_scaling, telegram_chat_id</code></td></tr>
+ <tr><td><code>oracle_watch_actions</code></td><td>1 row / action</td><td><code>mint, conviction, tier, mode, size_sol, status, reason, entry_mc_usd, tx_signature, outcome, peak_multiple, realized_pnl_sol, acted_at, settled_at</code></td></tr>
+ </tbody>
+ </table></div>
+ <p>The <code class="t">components</code> blob on each conviction row is a full audit trail of the normalized inputs that produced the score — the reproducibility guarantee in storage form.</p>
+ </section>
+
+ <!-- LIMITS -->
+ <section id="limits">
+ <div class="kicker">Honest · limits</div>
+ <h2>Limits &amp; failure modes</h2>
+ <p class="lead-in">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.</p>
+ <div class="cards c2">
+ <div class="card"><h4>It is a probability, not a prophecy</h4><p>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.</p></div>
+ <div class="card"><h4>Garbage-in on a young coin</h4><p>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.</p></div>
+ <div class="card"><h4>Adversarial structure</h4><p>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.</p></div>
+ <div class="card"><h4>Narrative lag &amp; model error</h4><p>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.</p></div>
+ <div class="card"><h4>Outcome latency</h4><p>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.</p></div>
+ <div class="card"><h4>Weights are expert priors (for now)</h4><p>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.</p></div>
+ </div>
+ <div class="note warn">
+ <span class="nt">Not financial advice</span>
+ <p>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.</p>
+ </div>
+ </section>
+
+ <!-- SCALE -->
+ <section id="scale">
+ <div class="kicker">Forward · roadmap</div>
+ <h2>Where it scales</h2>
+ <p class="lead-in">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.</p>
+ <div class="cards c2">
+ <div class="card"><div class="ic">Calibration</div><h4>Learned weights &amp; logistic calibration</h4><p>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 <i>is</i> the probability. The backtest infrastructure to measure the gain already exists.</p></div>
+ <div class="card"><div class="ic">Coverage</div><h4>More wallets, more density</h4><p>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.</p></div>
+ <div class="card"><div class="ic">Surface</div><h4>More chains, more venues</h4><p>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.</p></div>
+ <div class="card"><div class="ic">Speed</div><h4>Push, not poll</h4><p>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.</p></div>
+ <div class="card"><div class="ic">Inputs</div><h4>Richer signals</h4><p>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.</p></div>
+ <div class="card"><div class="ic">Ecosystem</div><h4>An agent-native signal layer</h4><p>The machine-ready <code class="t">/signal</code> 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.</p></div>
+ </div>
+ </section>
+
+ <!-- APPENDIX -->
+ <section id="appendix">
+ <div class="kicker">For researchers</div>
+ <h2>PhD appendix</h2>
+ <p class="lead-in">The formal view, for readers who want the model stated as a model.</p>
+ <h3>Oracle as a calibrated scoring classifier</h3>
+ <p>Let a launch be a feature vector <code class="t">x</code>. Oracle computes four pillar functions <code class="t">f_k(x) ∈ [0,100]</code> for <code class="t">k ∈ {ped, str, nar, mom}</code>, a weighted score, and a capped, clamped output:</p>
+ <pre>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 <span class="c">// the veto</span></pre>
+ <p>The intended semantics is that <code class="t">s(x)/100 ≈ P(win | x)</code>, where <code class="t">win = graduated ∨ ATH ≥ 2×</code>. Calibration measures the gap between intent and reality.</p>
+ <h3>Calibration objects</h3>
+ <ul>
+ <li><b>Reliability (calibration ladder):</b> partition scores into bins <code class="t">B_j</code>; plot empirical <code class="t">ŷ_j = (1/|B_j|)Σ 1[win]</code> against the bin's predicted rate. Perfect calibration ⇒ <code class="t">ŷ_j ≈ s̄_j/100</code> for all j (the identity line).</li>
+ <li><b>Brier score:</b> <code class="t">BS = (1/N) Σ (s_i/100 − y_i)²</code>, the mean squared error of the probabilistic claim; decomposable into reliability − resolution + uncertainty.</li>
+ <li><b>Wilson interval:</b> the 95% score interval on each tier/bin win rate (derivation in the evidence deep-dive), correct for small <code class="t">n</code> and bounded to [0,1].</li>
+ <li><b>Monotonicity &amp; edge:</b> require <code class="t">ŷ</code> non-decreasing in the score bin (within tolerance); define edge multiple = <code class="t">P(win | prime) / P(win | any)</code> and lift = the difference, both reported with their CIs.</li>
+ </ul>
+ <h3>The improvement path, formally</h3>
+ <p>The current <code class="t">w</code> and thresholds are an expert prior — a fixed, interpretable linear model. The principled upgrade is to (1) fit <code class="t">w</code> (and pillar internals) by maximizing log-likelihood / minimizing Brier on resolved outcomes, and (2) compose a monotonic calibration map <code class="t">g: s ↦ P̂(win)</code> (Platt / isotonic) so the published number is a true probability. The cap <code class="t">c(x)</code> 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 <i>measure</i> that upgrade are already in production; the prior is a starting point chosen to be honest and legible, not a ceiling.</p>
+ <div class="note tip">
+ <span class="nt">References &amp; further reading</span>
+ <p>Wilson (1927), <i>Probable inference, the law of succession, and statistical inference</i> — the score interval. Brier (1950), <i>Verification of forecasts expressed in terms of probability</i>. Platt (1999), probabilistic outputs for SVMs (Platt scaling). Zadrozny &amp; Elkan (2002), isotonic calibration. Niculescu-Mizil &amp; Caruana (2005), <i>Predicting good probabilities with supervised learning</i>.</p>
+ </div>
+ </section>
+
+ <!-- GLOSSARY -->
+ <section id="glossary">
+ <div class="kicker">Reference · glossary</div>
+ <h2>Glossary</h2>
+ <div class="tbl-wrap"><table>
+ <thead><tr><th>Term</th><th>Meaning</th></tr></thead>
+ <tbody>
+ <tr><td><b>Conviction</b></td><td>The fused 0–100 score — the weight of on-chain evidence that a launch will win.</td></tr>
+ <tr><td><b>Pillar</b></td><td>One of the four independent reads: WHO (pedigree), HOW (structure), WHAT (narrative), MOVE (momentum).</td></tr>
+ <tr><td><b>Tier</b></td><td>The coarse band a score falls in: prime / strong / lean / watch / avoid.</td></tr>
+ <tr><td><b>Cap (veto)</b></td><td>A hard ceiling on the final score, set by a severe structural or pedigree red flag, applied before clamping.</td></tr>
+ <tr><td><b>Proven wallet</b></td><td>A wallet labelled smart-money/KOL or with a reputation score ≥70 — the pedigree currency.</td></tr>
+ <tr><td><b>Win / loss / flat</b></td><td>Outcome grades: win = graduated or ≥2× ATH; loss = rugged or &lt;1.2×; flat = in between.</td></tr>
+ <tr><td><b>Graduated</b></td><td>A pump.fun coin that completed its bonding curve — the canonical success event.</td></tr>
+ <tr><td><b>Armed</b></td><td>An agent configured to act on conviction automatically, in simulate or live mode.</td></tr>
+ <tr><td><b>Calibration</b></td><td>How closely realized win rates match the scores that predicted them.</td></tr>
+ <tr><td><b>Wilson interval</b></td><td>The 95% confidence band on a win-rate estimate, correct for small samples.</td></tr>
+ </tbody>
+ </table></div>
+ </section>
+
+ <footer class="foot">
+ <div>Oracle is part of <a href="/">three.ws</a> — give your AI a body. · Living document, updated 2026-06-30.</div>
+ <div class="links">
+ <a href="/oracle">Live Oracle</a>
+ <a href="/oracle/arm">Arm an agent</a>
+ <a href="/activity">Activity floor</a>
+ <a href="/changelog">Changelog</a>
+ </div>
+ </footer>
+ </main>
+ </div>
+ </div>
+
+ <div id="footer-container"></div>
+ <script src="/footer.js"></script>
+
+ <script>
+ // reading progress bar
+ const bar = document.getElementById('progress');
+ const onScroll = () => {
+ const h = document.documentElement;
+ const max = h.scrollHeight - h.clientHeight;
+ bar.style.width = (max > 0 ? (h.scrollTop / max) * 100 : 0) + '%';
+ };
+ document.addEventListener('scroll', onScroll, { passive: true });
+ onScroll();
+
+ // sidebar active-section highlight via IntersectionObserver
+ const links = Array.from(document.querySelectorAll('nav.toc a'));
+ const byId = new Map(links.map((a) => [a.getAttribute('href').slice(1), a]));
+ const seen = new Set();
+ const io = new IntersectionObserver((entries) => {
+ for (const e of entries) {
+ if (e.isIntersecting) seen.add(e.target.id); else seen.delete(e.target.id);
+ }
+ // highlight the topmost visible section
+ let top = null, topY = Infinity;
+ for (const id of seen) {
+ const r = document.getElementById(id).getBoundingClientRect();
+ if (r.top < topY) { topY = r.top; top = id; }
+ }
+ links.forEach((a) => a.classList.remove('on'));
+ if (top && byId.get(top)) byId.get(top).classList.add('on');
+ }, { rootMargin: '-80px 0px -70% 0px', threshold: 0 });
+ document.querySelectorAll('main section[id]').forEach((s) => io.observe(s));
+
+ // expand / collapse all deep dives
+ const expandBtn = document.getElementById('expandAll');
+ expandBtn.addEventListener('click', () => {
+ const dives = Array.from(document.querySelectorAll('details.dive'));
+ const anyClosed = dives.some((d) => !d.open);
+ dives.forEach((d) => { d.open = anyClosed; });
+ expandBtn.textContent = anyClosed ? 'Collapse all deep dives' : 'Expand all deep dives';
+ });
+ </script>
+</body>
+</html>
diff --git a/pages/oracle.html b/pages/oracle.html
index 01a01eb89..d4348a24a 100644
--- a/pages/oracle.html
+++ b/pages/oracle.html
@@ -591,7 +591,7 @@
<header class="hero">
<span class="eyebrow"><i id="liveDot"></i> <span id="liveLabel">Live · fused conviction</span></span>
<h1>Stop guessing the coin.<br><span>Know the conviction.</span></h1>
- <p>Oracle fuses four reads on every pump.fun launch — <b>who's</b> buying it (proven-wallet pedigree), <b>how</b> it's being bought (bundle vs. organic structure), <b>what</b> it is (cultural narrative), and <b>how</b> it's moving — into one transparent 0–100 conviction score. The more coins and wallets we watch, the sharper every score. Then arm your 3D agent to act on the plays that clear your bar.</p>
+ <p>Oracle fuses four reads on every pump.fun launch — <b>who's</b> buying it (proven-wallet pedigree), <b>how</b> it's being bought (bundle vs. organic structure), <b>what</b> it is (cultural narrative), and <b>how</b> it's moving — into one transparent 0–100 conviction score. The more coins and wallets we watch, the sharper every score. Then arm your 3D agent to act on the plays that clear your bar. <a href="/oracle/docs" style="color:var(--ink);border-bottom:1px solid var(--stroke-strong);white-space:nowrap">Read the docs ↗</a></p>
<div class="statline" id="statline">
<div class="stat" title="Conviction scores produced in the last 24 hours">
<span>Scored 24h</span><b id="stScored">—</b><span class="stat-sub" id="stScoredSub"></span>
diff --git a/public/changelog.json b/public/changelog.json
index c16913576..0cd9ef21d 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,11 +1,21 @@
{
- "generated_at": "2026-06-30T01:23:42.510Z",
+ "generated_at": "2026-06-30T02:51:06.573Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
"url": "https://three.ws"
},
"entries": [
+ {
+ "date": "2026-06-30",
+ "type": "launch",
+ "title": "Oracle Docs — the conviction engine, end to end",
+ "summary": "The complete Oracle reference: the thesis behind fused pump.fun conviction, the four-pillar scoring model and its exact math, the data pipeline and worker loops, the calibration and backtest evidence, the agent action loop, the full API, the data model, limitations, and where it scales next — written for everyone from first-time readers to researchers.",
+ "link": "/oracle/docs",
+ "tags": [
+ "launch"
+ ]
+ },
{
"date": "2026-06-30",
"type": "launch",
@@ -66,6 +76,17 @@
"fix"
]
},
+ {
+ "date": "2026-06-30",
+ "type": "update",
+ "title": "Oracle now has full documentation",
+ "summary": "Everything behind the conviction score, in one place. The new Oracle docs explain — in plain English and, where you want it, full mathematical detail — how Oracle reads every pump.fun launch: the four pillars (who's buying, how it's structured, what story it rides, how it's moving), exactly how they fuse into a 0–100 score, where the hard caps come from, how the engine is calibrated and backtested against real outcomes, how to arm an agent on it, the full public API, and where it's headed. Real screenshots throughout, a quickstart for traders, builders, and skeptics, and a researcher-level appendix.",
+ "link": "/oracle/docs",
+ "tags": [
+ "docs",
+ "feature"
+ ]
+ },
{
"date": "2026-06-29",
"type": "launch",
diff --git a/public/changelog.xml b/public/changelog.xml
index ff5aa1de0..cadaf4459 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -6,6 +6,14 @@
<atom:link href="https://three.ws/changelog.xml" rel="self" type="application/rss+xml"/>
<description>What's new on three.ws — features, improvements, and releases, newest first.</description>
<language>en</language>
+ <item>
+ <title>Oracle Docs — the conviction engine, end to end</title>
+ <link>https://three.ws/oracle/docs</link>
+ <guid isPermaLink="false">2026-06-30:Oracle Docs — the conviction engine, end to end</guid>
+ <pubDate>Tue, 30 Jun 2026 12:00:00 GMT</pubDate>
+ <category>launch</category>
+ <description>The complete Oracle reference: the thesis behind fused pump.fun conviction, the four-pillar scoring model and its exact math, the data pipeline and worker loops, the calibration and backtest evidence, the agent action loop, the full API, the data model, limitations, and where it scales next — written for everyone from first-time readers to researchers.</description>
+ </item>
<item>
<title>Viability</title>
<link>https://three.ws/viability</link>
@@ -54,6 +62,14 @@
<category>fix</category>
<description>Building your agent's memory seed from your connected accounts could fail with an opaque error when the language model took a moment to respond — the request was being cut off before it finished and the page showed a generic failure. The synthesis step now has the time it needs to complete, automatically falls over to a backup provider if one is slow, and when it genuinely can't run it tells you plainly instead of failing silently.</description>
</item>
+ <item>
+ <title>Oracle now has full documentation</title>
+ <link>https://three.ws/oracle/docs</link>
+ <guid isPermaLink="false">2026-06-30:Oracle now has full documentation</guid>
+ <pubDate>Tue, 30 Jun 2026 12:00:00 GMT</pubDate>
+ <category>docs</category>
+ <description>Everything behind the conviction score, in one place. The new Oracle docs explain — in plain English and, where you want it, full mathematical detail — how Oracle reads every pump.fun launch: the four pillars (who's buying, how it's structured, what story it rides, how it's moving), exactly how they fuse into a 0–100 score, where the hard caps come from, how the engine is calibrated and backtested against real outcomes, how to arm an agent on it, the full public API, and where it's headed. Real screenshots throughout, a quickstart for traders, builders, and skeptics, and a researcher-level appendix.</description>
+ </item>
<item>
<title>Agent Economy Volume</title>
<link>https://three.ws/agent-economy-volume</link>
diff --git a/public/features.json b/public/features.json
index 5d1d14315..92a5886bf 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-30T01:23:42.493Z",
+ "generated_at": "2026-06-30T02:51:06.552Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
@@ -816,6 +816,16 @@
"tags": [],
"showcase": false
},
+ {
+ "path": "/oracle/docs",
+ "title": "Oracle Docs — the conviction engine, end to end",
+ "description": "The complete Oracle reference: the thesis behind fused pump.fun conviction, the four-pillar scoring model and its exact math, the data pipeline and worker loops, the calibration and backtest evidence, the agent action loop, the full API, the data model, limitations, and where it scales next — written for everyone from first-time readers to researchers.",
+ "added": "2026-06-30",
+ "auth": null,
+ "indexable": true,
+ "tags": [],
+ "showcase": false
+ },
{
"path": "/oracle/arm",
"title": "Arm your agent — automate Oracle conviction",
diff --git a/public/llms-full.txt b/public/llms-full.txt
index 925e39d9f..3dc4e578c 100644
--- a/public/llms-full.txt
+++ b/public/llms-full.txt
@@ -498,6 +498,12 @@ URL: https://three.ws/oracle
A fused AI conviction engine for every pump.fun launch: pedigree (who's buying), structure (bundle vs organic), narrative (what story is it riding), and momentum — fused into a single 0–100 conviction score with transparent pillar reasoning.
+### Oracle Docs — the conviction engine, end to end
+
+URL: https://three.ws/oracle/docs
+
+The complete Oracle reference: the thesis behind fused pump.fun conviction, the four-pillar scoring model and its exact math, the data pipeline and worker loops, the calibration and backtest evidence, the agent action loop, the full API, the data model, limitations, and where it scales next — written for everyone from first-time readers to researchers.
+
### Arm your agent — automate Oracle conviction
URL: https://three.ws/oracle/arm
diff --git a/public/llms.txt b/public/llms.txt
index 5809fdb9e..b3d5c07d9 100644
--- a/public/llms.txt
+++ b/public/llms.txt
@@ -101,6 +101,7 @@ On-chain features: pay-per-call, token launches, vanity wallets.
- [The AGI — narrow by design](https://three.ws/agi): The first AGI, narrow by design: a single autonomous agent that is genuinely superhuman at one thing — trading memecoins on pump.fun (Solana) — and deliberately nothing else. Watch its embodied 3D body react to the market in real time, read every decision it makes with its stated confidence, and hold it to a chain-proven track record. Outside that one domain, it claims nothing.
- [Oracle — AI Conviction Engine](https://three.ws/oracle): A fused AI conviction engine for every pump.fun launch: pedigree (who's buying), structure (bundle vs organic), narrative (what story is it riding), and momentum — fused into a single 0–100 conviction score with transparent pillar reasoning.
+- [Oracle Docs — the conviction engine, end to end](https://three.ws/oracle/docs): The complete Oracle reference: the thesis behind fused pump.fun conviction, the four-pillar scoring model and its exact math, the data pipeline and worker loops, the calibration and backtest evidence, the agent action loop, the full API, the data model, limitations, and where it scales next — written for everyone from first-time readers to researchers.
- [Arm your agent — automate Oracle conviction](https://three.ws/oracle/arm): Configure your 3D agent to trade Oracle conviction automatically: set the minimum score, position size, daily and open-position caps, narrative filters and Telegram alerts, then arm it in simulate or live mode. Every action is graded against the outcome.
- [Agent Activity — Oracle conviction in real time](https://three.ws/activity): The trading floor: every Oracle conviction action from every autonomous 3D agent on pump.fun, live. Filter by tier and mode, track outcomes, and copy the winners.
- [Recording Pipeline — the data loop, live](https://three.ws/pipeline): One-glance health of the closed loop that turns every pump.fun launch into a trade signal: the launch recorder, signal intel, ground-truth outcomes, Oracle conviction, the wallet reputation graph, trained weights, and the agents trading on the result — every stage, in real time.
diff --git a/public/oracle-docs/img/oracle-activity.png b/public/oracle-docs/img/oracle-activity.png
new file mode 100644
index 000000000..483863873
Binary files /dev/null and b/public/oracle-docs/img/oracle-activity.png differ
diff --git a/public/oracle-docs/img/oracle-agents.png b/public/oracle-docs/img/oracle-agents.png
new file mode 100644
index 000000000..2304f38ed
Binary files /dev/null and b/public/oracle-docs/img/oracle-agents.png differ
diff --git a/public/oracle-docs/img/oracle-arm-config.png b/public/oracle-docs/img/oracle-arm-config.png
new file mode 100644
index 000000000..dd4d09519
Binary files /dev/null and b/public/oracle-docs/img/oracle-arm-config.png differ
diff --git a/public/oracle-docs/img/oracle-coin-detail.png b/public/oracle-docs/img/oracle-coin-detail.png
new file mode 100644
index 000000000..4bc4ab0fe
Binary files /dev/null and b/public/oracle-docs/img/oracle-coin-detail.png differ
diff --git a/public/oracle-docs/img/oracle-edge.png b/public/oracle-docs/img/oracle-edge.png
new file mode 100644
index 000000000..eed1ac02b
Binary files /dev/null and b/public/oracle-docs/img/oracle-edge.png differ
diff --git a/public/oracle-docs/img/oracle-graph.png b/public/oracle-docs/img/oracle-graph.png
new file mode 100644
index 000000000..7d44fff6e
Binary files /dev/null and b/public/oracle-docs/img/oracle-graph.png differ
diff --git a/public/oracle-docs/img/oracle-hero-1440.png b/public/oracle-docs/img/oracle-hero-1440.png
new file mode 100644
index 000000000..45898ed14
Binary files /dev/null and b/public/oracle-docs/img/oracle-hero-1440.png differ
diff --git a/public/oracle-docs/img/oracle-mobile-390.png b/public/oracle-docs/img/oracle-mobile-390.png
new file mode 100644
index 000000000..dec1bbfc6
Binary files /dev/null and b/public/oracle-docs/img/oracle-mobile-390.png differ
diff --git a/public/oracle-docs/img/oracle-movers.png b/public/oracle-docs/img/oracle-movers.png
new file mode 100644
index 000000000..e395506b5
Binary files /dev/null and b/public/oracle-docs/img/oracle-movers.png differ
diff --git a/public/oracle-docs/img/oracle-wallet-leaderboard.png b/public/oracle-docs/img/oracle-wallet-leaderboard.png
new file mode 100644
index 000000000..691bcdeb3
Binary files /dev/null and b/public/oracle-docs/img/oracle-wallet-leaderboard.png differ
diff --git a/public/sitemap/index.html b/public/sitemap/index.html
index eb2310dc1..0c2e2cc39 100644
--- a/public/sitemap/index.html
+++ b/public/sitemap/index.html
@@ -65,7 +65,7 @@
<main class="sm-wrap">
<div class="sm-hero">
<h1>Sitemap</h1>
- <p>All 353 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p>
+ <p>All 354 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p>
<div class="sm-formats">
<a href="/sitemap.xml"><code>sitemap.xml</code> · for search engines</a>
<a href="/llms.txt"><code>llms.txt</code> · for AI agents</a>
@@ -77,7 +77,7 @@
</div>
<div class="sm-filter">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>
- <input id="sm-filter-input" type="search" placeholder="Filter 353 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />
+ <input id="sm-filter-input" type="search" placeholder="Filter 354 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />
<kbd aria-hidden="true">/</kbd>
</div>
<p class="sm-filter-count" id="sm-filter-count" role="status" aria-live="polite"></p>
@@ -655,7 +655,7 @@
<section class="sm-section" id="crypto">
<header>
- <h2>Crypto<span class="sm-count" data-count>75</span></h2>
+ <h2>Crypto<span class="sm-count" data-count>76</span></h2>
<p class="sm-section-desc">On-chain features: pay-per-call, token launches, vanity wallets.</p>
</header>
<ul class="sm-list">
@@ -673,6 +673,13 @@
<span class="sm-desc">A fused AI conviction engine for every pump.fun launch: pedigree (who's buying), structure (bundle vs organic), narrative (what story is it riding), and momentum — fused into a single 0–100 conviction score with transparent pillar reasoning.</span>
</a>
</li>
+ <li>
+ <a href="/oracle/docs">
+ <span class="sm-title">Oracle Docs — the conviction engine, end to end</span>
+ <span class="sm-path">/oracle/docs</span>
+ <span class="sm-desc">The complete Oracle reference: the thesis behind fused pump.fun conviction, the four-pillar scoring model and its exact math, the data pipeline and worker loops, the calibration and backtest evidence, the agent action loop, the full API, the data model, limitations, and where it scales next — written for everyone from first-time readers to researchers.</span>
+ </a>
+ </li>
<li>
<a href="/oracle/arm">
<span class="sm-title">Arm your agent — automate Oracle conviction</span>
diff --git a/vercel.json b/vercel.json
index b12de6703..c858e8aed 100644
--- a/vercel.json
+++ b/vercel.json
@@ -807,6 +807,10 @@
"src": "/(oracle/arm|arm)/?",
"dest": "/arm.html"
},
+ {
+ "src": "/oracle/docs/?",
+ "dest": "/oracle-docs.html"
+ },
{
"src": "/oracle/?",
"dest": "/oracle.html"
diff --git a/vite.config.js b/vite.config.js
index 90a25343c..1adf84414 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -422,6 +422,7 @@ const appConfig = {
'pump-live': resolve(__dirname, 'pages/pump-live.html'),
radar: resolve(__dirname, 'pages/radar.html'),
oracle: resolve(__dirname, 'pages/oracle.html'),
+ 'oracle-docs': resolve(__dirname, 'pages/oracle-docs.html'),
arm: resolve(__dirname, 'pages/arm.html'),
ca2x402: resolve(__dirname, 'pages/ca2x402.html'),
activity: resolve(__dirname, 'pages/activity.html'),
@@ -892,6 +893,8 @@ support: resolve(__dirname, 'pages/support.html'),
'/radar/': resolve(root, 'pages/radar.html'),
'/oracle': resolve(root, 'pages/oracle.html'),
'/oracle/': resolve(root, 'pages/oracle.html'),
+ '/oracle/docs': resolve(root, 'pages/oracle-docs.html'),
+ '/oracle/docs/': resolve(root, 'pages/oracle-docs.html'),
'/oracle/arm': resolve(root, 'pages/arm.html'),
'/oracle/arm/': resolve(root, 'pages/arm.html'),
'/arm': resolve(root, 'pages/arm.html'),