Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
feat(satellites): add Oracle Desk, a self-custody pump.fun trading desk that fires its own strategies
nirholas07a1ab3b53ec
diff --git a/STRUCTURE.md b/STRUCTURE.mdindex e64e2a354..315d59c71 100644--- a/STRUCTURE.md+++ b/STRUCTURE.md@@ -145,7 +145,7 @@ bottom.| Premium vanity inventory (sell pre-ground addresses) | [public/vanity/premium/](public/vanity/premium/index.html) `→ /vanity/premium`, batch grinder [workers/vanity-grinder/](workers/vanity-grinder), store [api/_lib/vanity-inventory-store.js](api/_lib/vanity-inventory-store.js), sell [api/x402/vanity-premium.js](api/x402/vanity-premium.js), replenish [api/cron/vanity-inventory-replenish.js](api/cron/vanity-inventory-replenish.js) | In-repo · GCP spot CPU | Long (4–5+ char) brandable Solana addresses ground ahead of time on cheap spot CPU, sealed at rest (AES-256-GCM or GCP-KMS envelope, [api/_lib/vanity-vault.js](api/_lib/vanity-vault.js)), and sold from stock via x402 — priced by rarity ($1–$50) on `vanity-premium`, or by fixed 4–5 char tiers ($2.50/$10) directly through [`/api/x402/vanity`](docs/vanity.md#tier-1--live-grinder) (instant delivery, `source:"inventory"`) and the [pump-launch vanity upsell](docs/pump-launcher.md) — delivered exactly once, ciphertext destroyed on delivery. An hourly cron watches stock and fires a fresh grind batch (Cloud Run Job) when low. Free `vanity_premium` MCP browse tool. Runbook: [docs/ops/gcp-credits.md](docs/ops/gcp-credits.md) || Embed examples | [examples/](examples) | In-repo | `embed-test.html`, `web-component.html`, `two-agents.html`, `minimal.html`, [agent-native-3d/](examples/agent-native-3d) (below). Also: [skills/](examples/skills) (six installable skill bundles), [three-concierge/](examples/three-concierge) (Trinity, reference agent for manifest spec agent-manifest/0.2), [monicas-apartment/](examples/monicas-apartment) (walkable first-person Three.js scene demo, added 2026-07-17), [agenc-task-roundtrip/](examples/agenc-task-roundtrip) (end-to-end AgenC task flow on Solana devnet), [metamask-agent-wallet/](examples/metamask-agent-wallet) (single-page demo giving an agent a server-side MetaMask wallet), [pump-fun-agent/](examples/pump-fun-agent) (example manifest composing the four production pump.fun skills), [paid-mcp-server/](examples/paid-mcp-server) (an MCP server whose tools charge per call in USDC on Solana over x402: one free orientation tool, one paid glTF/GLB inspector, 15 tests, added 2026-07-30) || Examples satellite repo (public developer front door) | Exporter [scripts/export-satellites.mjs](scripts/export-satellites.mjs) (`npm run export:satellites`), runbook [docs/ops/examples-repo-export.md](docs/ops/examples-repo-export.md), curated source [examples/](examples) + the published `@three-ws/*` SDKs | Built and gated in-repo; publishing is owner-gated (the `three-ws` GitHub org does not exist yet) | Assembles the public `three-ws/examples` repo from this monorepo as a strictly ONE-WAY export: the monorepo is the only source of truth, the satellite history is disposable, and it is never pulled, fetched, or merged from (same rule as the retired 3D-Agent mirror). No CI is involved (GitHub Actions are unavailable here), so the export runs locally from the push routine. Every relative reference is resolved against its real location and routed by where it lands rather than regex-swept: to the shipped file, to another exported unit (so an agent manifest's skill `uri` still resolves), to the published package on jsDelivr, to the live docs page, or to a monorepo permalink. A four-stage smoke gate then aborts the export on any failure, because a broken public example is anti-marketing: structure (no reference escapes or dangles, no `file:` dep survives), registry (every pinned `@three-ws/*` version exists on npm), install (`npm install` plus each example's own check command), and links (every `https://three.ws` URL reachable). On success it stamps a single-parent git history into the staging tree and prints the org-creation and push commands; it never touches a remote. Examples referencing a crypto project other than $THREE are held out of the manifest under the CLAUDE.md commit gate (`pump-fun-agent`, `three-concierge`, `agenc-task-roundtrip`). |-| Product-led growth satellites | Canonical source [satellites/](satellites), exporter [scripts/export-growth-satellites.mjs](scripts/export-growth-satellites.mjs) (`npm run export:growth-satellites`), runbook [docs/ops/growth-satellite-export.md](docs/ops/growth-satellite-export.md) | Built and gated in-repo; destination repositories require the `nirholas` owner identity | Two focused acquisition surfaces whose first experience is deliberately smaller than this monorepo: [satellites/agent-starter/](satellites/agent-starter) is a responsive, Codespaces-ready live `<agent-3d>` page with real motion, speech, a keyless create command, a ten-minute learning path, and a structural check; [satellites/glb-quality-gate/](satellites/glb-quality-gate) is a Node 24 GitHub Action that discovers changed GLBs through the pull-request API, reads base/head bytes without a checkout, runs the published `@three-ws/glb-diff` engine, upserts a PR report, writes the workflow summary, and gates at a configurable severity. The exporter installs locked dependencies, runs real tests, builds the committed Action bundle, copies Apache legal files, and stamps one clean history per destination. The monorepo remains the only source of truth. |+| Product-led growth satellites | Canonical source [satellites/](satellites), exporter [scripts/export-growth-satellites.mjs](scripts/export-growth-satellites.mjs) (`npm run export:growth-satellites`), runbook [docs/ops/growth-satellite-export.md](docs/ops/growth-satellite-export.md) | Built and gated in-repo; destination repositories require the `nirholas` owner identity | Three focused acquisition surfaces whose first experience is deliberately smaller than this monorepo: [satellites/agent-starter/](satellites/agent-starter) is a responsive, Codespaces-ready live `<agent-3d>` page with real motion, speech, a keyless create command, a ten-minute learning path, and a structural check; [satellites/glb-quality-gate/](satellites/glb-quality-gate) is a Node 24 GitHub Action that discovers changed GLBs through the pull-request API, reads base/head bytes without a checkout, runs the published `@three-ws/glb-diff` engine, upserts a PR report, writes the workflow summary, and gates at a configurable severity. [satellites/oracle-desk/](satellites/oracle-desk) is a self-custody Node trading desk over the public Oracle API: radar (PumpPortal launches plus the Oracle SSE stream), four research seats with bars over each verdict, a risk desk, execution priced by the official pump.fun curve and PumpSwap SDKs with the fleet's exit ladder and round-trip firewall, an audit loop that moves a seat's binding bar on each graded trade, a head of desk that fires the worst seat and refits it from its own trades, and a treasury freeze and sweep; paper by default, live behind an explicit acknowledgement, dashboard in the Oracle theme, 38 `node:test` tests. The exporter installs locked dependencies, runs real tests, builds the committed Action bundle, copies Apache legal files, and stamps one clean history per destination. The monorepo remains the only source of truth. || Agent-native 3D + embeddable distribution | MCP tool [api/_mcp/tools/agents.js](api/_mcp/tools/agents.js) (`attach_avatar_to_agent`); shared oEmbed provider [api/agent-oembed.js](api/agent-oembed.js) `→ /api/oembed` + builder [api/_lib/embed.js](api/_lib/embed.js) (`forgeEmbedTarget`, shared by `get_embed_code` in [api/_mcp/tools/embed.js](api/_mcp/tools/embed.js)); Forge share page oEmbed discovery [api/forge-share.js](api/forge-share.js) `→ /forge/share/:id`; distribution snippet builders [src/forge-embed-snippets.js](src/forge-embed-snippets.js) + panel [src/forge-embed-panel.js](src/forge-embed-panel.js); autonomous demo [examples/agent-native-3d/](examples/agent-native-3d) | In-repo | Closes the loop: create → own → discover/remix → **use everywhere**. `attach_avatar_to_agent` gives a registered agent identity a persistent body (chains into `register_agent` for on-chain identity + `anchor_provenance` for a signed authenticity credential). Any Forge creation now unfurls via real oEmbed (paste `/forge/share/:id` into Notion/Discord/Slack) with the same `type:rich` iframe payload `get_embed_code` returns via MCP. The Forge "Embed this model" panel hands out five real distribution flavours from one GLB — iframe, `<model-viewer>`, `<agent-3d>`, a `@three-ws/page-agent` talking guide, and a `@three-ws/walk` companion — all built from one shared, pure snippet module so every surface stays byte-identical. `examples/agent-native-3d/run.mjs` drives the full agent-native chain live against `/api/mcp-studio` (mesh_forge → rig_mesh → create_agent_persona → persona_say → get_agent_persona → every distribution snippet) with zero mocks and a documented, logged fallback if the shared free-tier generation lane is rate-limited at run time. Spec: [specs/EMBED_SPEC.md](specs/EMBED_SPEC.md#share-routes-on-chain-agents). Docs: [docs/mcp.md#attach_avatar_to_agent](docs/mcp.md#attach_avatar_to_agent). Roadmap prompt 10 (closes the roadmap campaign). || Animation pipeline | [public/animations/](public/animations) + [scripts/build-animations.mjs](scripts/build-animations.mjs) | In-repo | Mixamo source FBX + GLB retargeting pipeline · see [docs/3d-asset-pipeline.md](docs/3d-asset-pipeline.md) || Procedural animation (runtime IK layers) | [src/procedural/](src/procedural) — analytic two-bone IK [two-bone-ik.js](src/procedural/two-bone-ik.js), gaze [look-at.js](src/procedural/look-at.js), terrain foot planting [foot-plant.js](src/procedural/foot-plant.js), drift-free re-application [pose-baseline.js](src/procedural/pose-baseline.js) | Live | Post-mixer layers that do what no baked clip can: the chest/neck/head chain turns toward a world point, and each foot lands on its own patch of uneven ground. Rig-agnostic via `canonicalNodeMapFromObject`; an unsupported rig reports `enabled === false` and no-ops. Wired into the corner companion ([walk-sdk/src/companion.js](walk-sdk/src/companion.js) `_updateGaze`), the walkaround world ([src/walk.js](src/walk.js) `rebuildFootPlant`), and agent avatars ([src/agent-avatar.js](src/agent-avatar.js) `_applyLookTarget` — which is what finally makes `setLookTarget()` and the `LOOK_AT` action move the rig). Ambient idle motion (breathing/blink/saccade/weight-shift) stays in [src/idle-animation.js](src/idle-animation.js). Docs: [docs/procedural-animation.md](docs/procedural-animation.md). Tests: [tests/procedural-anim.test.js](tests/procedural-anim.test.js), [tests/agent-avatar-look-target.test.js](tests/agent-avatar-look-target.test.js) |diff --git a/docs/ops/growth-satellite-export.md b/docs/ops/growth-satellite-export.mdindex 5f3012284..f8493edde 100644--- a/docs/ops/growth-satellite-export.md+++ b/docs/ops/growth-satellite-export.md@@ -1,6 +1,6 @@# Growth satellite export and publication-The agent starter and GLB Quality Gate are intentionally small public front doors. Their+The agent starter, GLB Quality Gate, and Oracle Desk are intentionally small public front doors. Theircanonical source stays in this monorepo under [`satellites/`](../../satellites), and a one-wayexport creates standalone Git histories ready for their own repositories.@@ -26,7 +26,7 @@ For a structural export without network-dependent installs:npm run export:growth-satellites -- --offline```-Build only one tree with `--target agent-starter` or `--target glb-quality-gate`. A custom+Build only one tree with `--target agent-starter`, `--target glb-quality-gate`, or `--target oracle-desk`. A custom`--out` is allowed only beneath this repository's `dist/` directory.## Publish@@ -35,6 +35,7 @@ The destination repositories are:- `https://github.com/nirholas/threews-agent-starter`- `https://github.com/nirholas/glb-quality-gate`+- `https://github.com/nirholas/oracle-desk`Create each as a public, empty repository. The exporter prints the exact `remote add` and`push` commands for the generated tree. Never pull, fetch, or merge a satellite into the@@ -56,6 +57,14 @@ Marketplace publication requires a separate public repository with one root actifile. The release tag is the install contract, so move `v1` only after the exported tests andbundle pass.+After publishing Oracle Desk:++1. clone the published repository fresh, run `npm ci` and `npm start`, and confirm the dashboard at+ `http://127.0.0.1:4180` shows radar live and Oracle verdicts arriving;+2. confirm the exported tree holds no `data/` directory or `.env` (the exporter drops a satellite's+ top-level operator state, but check the manifest's file count against the source);+3. add the repository topics `solana`, `trading-desk`, `autonomous-agents`, and `three-ws`.+## Update the monorepo after publication- Replace planned repository links in `marketing/growth/opportunities.csv` with live URLs.diff --git a/satellites/README.md b/satellites/README.mdindex 2e0aa7fcd..8419631f1 100644--- a/satellites/README.md+++ b/satellites/README.md@@ -8,8 +8,9 @@ main repository.| --- | --- | --- || [`agent-starter`](./agent-starter) | One-click Codespaces introduction to an animated 3D agent | `nirholas/threews-agent-starter` || [`glb-quality-gate`](./glb-quality-gate) | GitHub Action that reviews changed GLB files in pull requests | `nirholas/glb-quality-gate` |+| [`oracle-desk`](./oracle-desk) | Autonomous pump.fun trading desk on the three.ws Oracle: six desks, a head that fires losing strategy seats, paper by default | `nirholas/oracle-desk` |-Build both publishable trees with:+Build every publishable tree with:```bashnpm run export:growth-satellitesdiff --git a/satellites/oracle-desk/.gitignore b/satellites/oracle-desk/.gitignorenew file mode 100644index 000000000..426fdcdff--- /dev/null+++ b/satellites/oracle-desk/.gitignore@@ -0,0 +1,5 @@+node_modules/+data/+.env+.DS_Store+npm-debug.log*diff --git a/satellites/oracle-desk/CONTRIBUTING.md b/satellites/oracle-desk/CONTRIBUTING.mdnew file mode 100644index 000000000..8d5a7eff2--- /dev/null+++ b/satellites/oracle-desk/CONTRIBUTING.md@@ -0,0 +1,15 @@+# Contributing++Oracle Desk stays honest: every number on the desk comes from a real launch, a real Oracle verdict, or+a real on-chain quote. Changes should preserve that.++1. Fork the repository and create a focused branch.+2. Run `npm ci` and `npm test`.+3. Run the desk in paper mode and exercise the dashboard at 320px, 768px, and a desktop width.+4. Open a pull request describing what the desk now decides differently, and why.++Do not add simulated markets, synthetic launches, or fake API responses to the runtime. Anything that+signs or moves funds must stay behind live mode's explicit acknowledgement and the risk desk's caps.++This repository is exported one way from the three.ws monorepo (`satellites/oracle-desk`); accepted+changes are applied there and re-exported.diff --git a/satellites/oracle-desk/README.md b/satellites/oracle-desk/README.mdnew file mode 100644index 000000000..059189e80--- /dev/null+++ b/satellites/oracle-desk/README.md@@ -0,0 +1,157 @@+# Oracle Desk++**An autonomous pump.fun trading desk that fires its own strategies.** Six desks and a head of desk run+every new launch through radar, research, risk and execution. Every trade is graded on realized P&L.+When a strategy seat keeps losing, the head fires it, and the audit desk rewrites that seat's bars from+its own trade history.++Nothing on this desk is simulated. Launches come off the real pump.fun firehose, every coin is scored by+the live [three.ws Oracle](https://three.ws/oracle), and every fill is priced by the official pump.fun+SDKs against the real bonding curve or PumpSwap pool. Paper mode, the default, books those real quotes+and signs nothing. Live mode signs the same trades from your own keypair.++```+LAUNCHES ─▶ RADAR ─▶ RESEARCH ─▶ RISK ─▶ EXECUTION ─▶ AUDIT ─▶ seat bars move+ (every mint) (Oracle verdicts) (4 seats) (caps) (curve / pool) (graded P&L)+ │+ HEAD OF DESK ◀── realized record ────────┘+ promotes the best seat · fires the worst · rewrites it from its own trades+ TREASURY freezes on drawdown, sweeps profit+```++## Quickstart++```bash+git clone https://github.com/nirholas/oracle-desk+cd oracle-desk+npm install+npm start+```++Open **http://127.0.0.1:4180**. The desk starts in paper mode with 5 SOL of paper balance, connects to+the pump.fun launch feed and the Oracle's live verdict stream, and begins judging coins immediately. No+API key and no account are needed.++`npm run status` prints the scoreboard from the saved book at any time, and `Ctrl+C` stops the desk and+prints it too. The book, the seats and their history are saved under `data/`, so a restart continues+where it left off. `node bin/oracle-desk.js run --reset` starts a fresh book.++## The desk++| Desk | Agents | What it does |+| --- | --- | --- |+| **Head of desk** | HEAD | Never trades. Each review (hourly by default) it grades every seat on its current window, adds budget to the best, and fires the worst if it is under the bar. At most one firing per cooldown, and never a seat with fewer than four closed trades. |+| **01 Radar** | LAUNCHES, STREAM, SWEEP | Sees everything, buys nothing. Counts every pump.fun mint from PumpPortal, receives every Oracle verdict over SSE the moment it is scored, and sweeps the Oracle feed on a timer so nothing is missed between stream connections. |+| **02 Research** | PRIME, MOMENTUM, STRUCTURE, SMART-MONEY | Four strategy seats, each a set of bars over the Oracle's published verdict: conviction score, rug risk, give-back risk, the four pillars, smart-wallet count, and coin age. Every seat judges every verdict; the seat with the widest margin claims the coin and owns the result. |+| **03 Execution** | SNIPER, ROUTER, LADDER | Quotes the bonding curve or the PumpSwap pool, runs the firewall, takes the fill, and works the exit ladder on every holding every few seconds. |+| **04 Risk** | RISK | Outranks everyone, the head included. Position size, open-position cap, hourly entry cap, daily loss cap, wallet reserve, a price-impact breaker, and a floor on the real SOL in a graduated pool. |+| **05 Audit** | GRADER, TUNER | Grades every closed trade against the seat that claimed it. After a loss, the check that came closest to refusing that coin moves one step stricter; after a clean win (1.5x or better) it relaxes half a step. Every bar has hard clamps, so the loop can never strangle a seat into silence. |+| **06 Treasury** | VAULT | Freezes new entries when equity falls below 60% of the start, lifts the freeze at 90%, and sweeps profit above 1.5x the start out of the hot wallet. |++### How a firing works++A seat's grade is half its smoothed win rate and half its net return on what it risked. When the head+fires a seat, audit refits each of its bars against the seat's own closed trades: candidate bars sit+between the values its entries actually showed, and a bar moves only if the new position would have kept+strictly more net P&L. The seat then starts a fresh window at 1x budget to prove the new configuration.+The dashboard and the tape show exactly which bars moved and which trades each move would have cut.++### Exits++The exit ladder is the one the three.ws sniper fleet runs on real money:++- **Hard stop** at -35%: a full exit while the stake is still at risk.+- **Take initials** at 2x: sell exactly enough to get the stake back, never more.+- **Trailing stop** at 25% from the peak, armed only once the position has been green.+- **A bag always rides** once the stake is back: a terminal exit in profit keeps at least 15%, which is+ then house money, marked to market, and outside the position slots.+- **Dead liquidity**: an underwater position whose quote has not moved for 3 minutes is closed.+- **Timeout** at 45 minutes.++## What "real" means here++- **Launches**: the PumpPortal public websocket (`subscribeNewToken`, `subscribeMigration`).+- **Scores**: the three.ws Oracle's public API, no key. `GET /api/oracle/feed` for the backlog,+ `/api/oracle/stream` (SSE) for live verdicts. Each verdict carries score, tier, the four pillars, rug+ risk, give-back risk, the measured hit rate for its band, and the plain-language reasons.+- **The model**: the Oracle's published conviction model is loaded through+ [`@three-ws/oracle-model`](https://www.npmjs.com/package/@three-ws/oracle-model), which the dashboard+ uses to show each position's probability of running and holding. The model, its weights and its+ held-out performance are public at [three.ws/oracle-lab](https://three.ws/oracle-lab).+- **Prices**: `@pump-fun/pump-sdk` on the bonding curve and `@pump-fun/pump-swap-sdk` on the graduated+ pool, fees included. Paper fills also pay what a live trade pays beyond the quote: the network and+ priority fee, and the rent a first buy locks in the token account (returned when a full exit closes it).+ An immediate buy-then-sell round trip returns about 97% on both venues, which is pump.fun's fees.+- **The firewall** refuses a mint that can still be minted or frozen, a coin in mayhem mode, and (when a+ wallet is present) any coin whose sell leg reverts when a buy and an immediate sell are simulated+ together in one transaction.++## Live mode++Live mode signs real transactions from your keypair. Memecoins routinely go to zero, a stop can fill far+below its trigger when a coin collapses between two sweeps, and past results say nothing about the next+trade. Run paper first, and only fund the trading wallet with what you can lose.++```bash+cp .env.example .env+# then set, in .env:+DESK_MODE=live+DESK_LIVE_ACK=I_UNDERSTAND_REAL_FUNDS+SOLANA_PRIVATE_KEY=<base58 secret or JSON byte array> # or DESK_KEYPAIR=/path/to/id.json+SOLANA_RPC_URL=<a dedicated mainnet RPC>+DESK_COLD_WALLET=<optional: where treasury sweeps profit>+```++The key never leaves the process: it only signs locally. Every buy and sell is simulated first for its+compute limit, priced with the 75th percentile of recent priority fees for the accounts it touches, and+booked from the confirmed transaction's own balance changes rather than from the quote. The dashboard+binds to `127.0.0.1` and its controls accept only same-origin requests.++The risk caps in `desk.config.json` are the spending limits; read them before going live. A live desk+treats the wallet's on-chain balance as the truth and re-reads it every 30 seconds, so a deposit shows up+as profit; start with `--reset` after funding to set a clean baseline.++## Configuration++`desk.config.json` is the org chart. Everything is plain JSON:++| Key | Meaning |+| --- | --- |+| `head.review_every_minutes`, `fire_below_score`, `min_trades_to_judge`, `cooldown_minutes` | When and how the head judges seats. |+| `research.seats[]` | Each seat's `id`, `thesis` and starting `checks`. Available checks: `min_score`, `max_rug_risk`, `max_give_back`, `min_momentum`, `min_structure`, `min_pedigree`, `min_smart_wallets`, `max_age_s`. |+| `risk.*` | Entry size, caps, the price-impact breaker, the pool liquidity floor, slippage. |+| `exits.*` | The ladder above, plus the sweep interval. |+| `treasury.*` | Freeze and sweep thresholds. |++Environment variables are documented in [`.env.example`](.env.example). Set `ANTHROPIC_API_KEY` and the+head writes a short memo narrating each review; its decisions never depend on the memo.++## Develop++```bash+npm test+```++Tests cover the exit ladder, seat evaluation and refits, the ledger's accounting through a full ladder,+every risk gate, the audit and head rules, treasury, execution end to end, the firewall's classifiers,+the dashboard's origin check and key loading.++| Path | What lives there |+| --- | --- |+| `bin/oracle-desk.js` | The CLI: `run` and `status`. |+| `src/runtime.js` | Wires the desks, persists the book, builds the dashboard snapshot. |+| `src/desks/` | One file per desk, plus the head. |+| `src/seats.js` | Check definitions, evaluation, grading, and the refit. |+| `src/exit-logic.js` | The pure exit ladder. |+| `src/chain/` | Venue quotes and builds, sending, the firewall, the keypair loader. |+| `src/brokers.js` | Paper and live brokers behind one interface. |+| `web/` | The dashboard, in the three.ws Oracle theme. |++## About++Oracle Desk is built by [three.ws](https://three.ws), where the Oracle scores every pump.fun launch and+3D AI agents trade on it. The platform's coin is **$THREE**+(`FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`). Nothing here is financial advice.++Apache-2.0. This repository is exported from the three.ws monorepo, which is its source of truth; see+[CONTRIBUTING.md](CONTRIBUTING.md).diff --git a/satellites/oracle-desk/bin/oracle-desk.js b/satellites/oracle-desk/bin/oracle-desk.jsnew file mode 100644index 000000000..3b46ae4cc--- /dev/null+++ b/satellites/oracle-desk/bin/oracle-desk.js@@ -0,0 +1,108 @@+#!/usr/bin/env node+// oracle-desk: run the desk, or print its scoreboard.+//+// oracle-desk run [--reset] [--headless]+// oracle-desk status++import { loadConfig, loadEnv } from '../src/config.js';+import { Desk, readState } from '../src/runtime.js';+import { startServer } from '../src/server.js';+import { gradeSeat } from '../src/seats.js';+import { Ledger, sol } from '../src/ledger.js';++const BANNER = `+ ___ ____ _ ____ _ _____ ____ _____ ____ _ __+ / _ \\| _ \\ / \\ / ___| | | ____| | _ \\| ____/ ___|| |/ /+ | | | | |_) | / _ \\| | | | | _| | | | | _| \\___ \\| ' /+ | |_| | _ < / ___ \\ |___| |___| |___ | |_| | |___ ___) | . \\+ \\___/|_| \\_\\/_/ \\_\\____|_____|_____| |____/|_____|____/|_|\\_\\+ six desks · one head · real launches · powered by the three.ws Oracle+`;++const tty = process.stdout.isTTY;+const paint = (code, s) => (tty ? `\x1b[${code}m${s}\x1b[0m` : s);+const DESK_COLOR = { RADAR: 36, RESEARCH: 34, EXECUTION: 32, RISK: 33, AUDIT: 35, TREASURY: 33, HEAD: 97, SYSTEM: 90 };++function printLog(entry) {+ const time = new Date(entry.t).toISOString().slice(11, 19);+ const who = paint(DESK_COLOR[entry.desk] ?? 37, `${entry.desk.padEnd(9)} ${String(entry.agent).padEnd(11)}`);+ const text = entry.level === 'error' ? paint(31, entry.text) : entry.level === 'warn' ? paint(33, entry.text) : entry.text;+ console.log(`${paint(90, time)} ${who} ${text}`);+}++function scoreboard(state, mode) {+ const ledger = new Ledger(state.ledger);+ const c = state.counters || {};+ const trades = ledger.trades;+ const wins = trades.filter((t) => t.pnl_lamports > 0).length;+ const lines = [+ `ORACLE DESK SCOREBOARD (${mode.toUpperCase()})`,+ '',+ ` launches seen ${c.launches ?? 0}`,+ ` oracle verdicts ${c.verdicts ?? 0}`,+ ` cleared research ${c.cleared ?? 0}`,+ ` refused by risk ${c.blocked ?? 0}`,+ ` refused by wall ${c.firewalled ?? 0}`,+ ` entries taken ${c.entries ?? 0}`,+ ` wins / losses ${wins} / ${trades.length - wins}`,+ ` wallet ${sol(ledger.walletLamports).toFixed(4)} SOL`,+ ` vault ${sol(ledger.vaultLamports).toFixed(4)} SOL`,+ ` net since start ${sol(ledger.netLamports()).toFixed(4)} SOL (marks as of last save)`,+ ` firings ${state.head?.firings ?? 0}`,+ ` matrix revisions ${state.audit?.revisions?.length ?? 0}`,+ '',+ ' seats:',+ ];+ for (const seat of state.research?.seats || []) {+ const g = gradeSeat(trades.filter((t) => t.seat === seat.id && t.opened_at >= seat.window_start));+ lines.push(` ${seat.id.padEnd(12)} rev ${String(seat.rev).padEnd(3)} ${g.wins}/${g.n} wins ${sol(g.netLamports).toFixed(4)} SOL score ${g.score.toFixed(2)} budget ${seat.budget}x${seat.fired ? ` fired ${seat.fired}x` : ''}`);+ }+ return lines.join('\n');+}++async function run(args) {+ loadEnv();+ const config = loadConfig();+ const desk = new Desk(config, { reset: args.includes('--reset') });+ console.log(paint(36, BANNER));+ desk.bus.on('log', printLog);+ await desk.start();+ if (!args.includes('--headless')) {+ await startServer(desk, { host: config.host, port: config.port });+ console.log(paint(97, `\n dashboard http://${config.host === '0.0.0.0' ? 'localhost' : config.host}:${config.port}\n`));+ }+ let stopping = false;+ const shutdown = async () => {+ if (stopping) return;+ stopping = true;+ await desk.stop();+ console.log(`\n${scoreboard(readState(config), config.mode)}\n`);+ process.exit(0);+ };+ process.on('SIGINT', shutdown);+ process.on('SIGTERM', shutdown);+}++function status() {+ loadEnv();+ const config = loadConfig();+ const state = readState(config);+ if (!state.ledger) {+ console.log(`No ${config.mode} desk has run here yet. Start one with: npm start`);+ return;+ }+ console.log(scoreboard(state, config.mode));+}++const [command = 'run', ...rest] = process.argv.slice(2);+if (command === 'run') {+ run(rest).catch((err) => {+ console.error(paint(31, `oracle-desk: ${err.message}`));+ process.exit(1);+ });+} else if (command === 'status') {+ status();+} else {+ console.log('usage: oracle-desk run [--reset] [--headless] | oracle-desk status');+ process.exit(command === 'help' || command === '--help' ? 0 : 1);+}diff --git a/satellites/oracle-desk/desk.config.json b/satellites/oracle-desk/desk.config.jsonnew file mode 100644index 000000000..55a873a29--- /dev/null+++ b/satellites/oracle-desk/desk.config.json@@ -0,0 +1,64 @@+{+ "head": {+ "review_every_minutes": 60,+ "fire_below_score": 0.4,+ "min_trades_to_judge": 4,+ "cooldown_minutes": 360,+ "promote_step": 0.2,+ "max_budget": 2.0+ },+ "research": {+ "seats": [+ {+ "id": "PRIME",+ "thesis": "Only the top of the ladder: Prime-tier conviction with low rug and give-back risk.",+ "checks": { "min_score": 85, "max_rug_risk": 20, "max_give_back": 40, "max_age_s": 900 }+ },+ {+ "id": "MOMENTUM",+ "thesis": "Early flow: strong buying pressure the momentum pillar can measure.",+ "checks": { "min_score": 70, "min_momentum": 70, "max_rug_risk": 30, "max_age_s": 600 }+ },+ {+ "id": "STRUCTURE",+ "thesis": "Clean holder structure and a creator with a record, even if the tape is quiet.",+ "checks": { "min_score": 65, "min_structure": 40, "min_pedigree": 30, "max_rug_risk": 15, "max_age_s": 1200 }+ },+ {+ "id": "SMART-MONEY",+ "thesis": "Follow wallets with a proven record into launches the Oracle already likes.",+ "checks": { "min_score": 60, "min_smart_wallets": 1, "max_rug_risk": 25, "max_age_s": 900 }+ }+ ]+ },+ "risk": {+ "base_size_sol": 0.1,+ "max_position_fraction": 0.1,+ "max_open_positions": 3,+ "max_entries_per_hour": 6,+ "daily_loss_cap_sol": 1.0,+ "max_price_impact_pct": 3,+ "min_pool_real_sol": 10,+ "min_wallet_reserve_sol": 0.05,+ "slippage_pct": 5+ },+ "exits": {+ "stop_loss_pct": 35,+ "trailing_stop_pct": 25,+ "initials_out_multiple": 2,+ "moonbag_min_pct": 15,+ "take_profit_pct": null,+ "max_hold_minutes": 45,+ "liquidity_decay_seconds": 180,+ "sweep_every_seconds": 5+ },+ "treasury": {+ "sweep_every_minutes": 360,+ "keep_multiple_of_start": 1.5,+ "freeze_below_fraction": 0.6,+ "unfreeze_at_fraction": 0.9+ },+ "radar": {+ "feed_poll_seconds": 30+ }+}diff --git a/satellites/oracle-desk/package-lock.json b/satellites/oracle-desk/package-lock.jsonnew file mode 100644index 000000000..5a129711b--- /dev/null+++ b/satellites/oracle-desk/package-lock.json@@ -0,0 +1,1251 @@+{+ "name": "oracle-desk",+ "version": "1.0.0",+ "lockfileVersion": 3,+ "requires": true,+ "packages": {+ "": {+ "name": "oracle-desk",+ "version": "1.0.0",+ "license": "Apache-2.0",+ "dependencies": {+ "@anthropic-ai/sdk": "^0.129.0",+ "@pump-fun/pump-sdk": "^2.0.0",+ "@pump-fun/pump-swap-sdk": "^1.20.0",+ "@solana/spl-token": "^0.4.15",+ "@solana/web3.js": "^1.99.0",+ "@three-ws/oracle-model": "^0.1.0",+ "bn.js": "^5.2.5",+ "bs58": "^6.0.0",+ "eventsource": "^5.1.2",+ "ws": "^8.22.0"+ },+ "bin": {+ "oracle-desk": "bin/oracle-desk.js"+ },+ "engines": {+ "node": ">=20.12"+ }+ },+ "node_modules/@anthropic-ai/sdk": {+ "version": "0.129.0",+ "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-0.129.0.tgz",+ "integrity": "sha512-MH7LB20kNpGLUpPTe2OG5XvL/KhX8HUO9XyBaFjgFk6TLS4Xjt0VPIuMKywe7POKKPslX+QxSlVok9e+8kG5Nw==",+ "license": "MIT",+ "dependencies": {+ "json-schema-to-ts": "^3.1.1",+ "standardwebhooks": "^1.0.0"+ },+ "bin": {+ "anthropic-ai-sdk": "bin/cli"+ },+ "peerDependencies": {+ "zod": "^3.25.0 || ^4.0.0"+ },+ "peerDependenciesMeta": {+ "zod": {+ "optional": true+ }+ }+ },+ "node_modules/@babel/runtime": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.7.tgz",+ "integrity": "sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==",+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@coral-xyz/anchor": {+ "version": "0.31.1",+ "resolved": "https://registry.npmjs.org/@coral-xyz/anchor/-/anchor-0.31.1.tgz",+ "integrity": "sha512-QUqpoEK+gi2S6nlYc2atgT2r41TT3caWr/cPUEL8n8Md9437trZ68STknq897b82p5mW0XrTBNOzRbmIRJtfsA==",+ "license": "(MIT OR Apache-2.0)",+ "dependencies": {+ "@coral-xyz/anchor-errors": "^0.31.1",+ "@coral-xyz/borsh": "^0.31.1",+ "@noble/hashes": "^1.3.1",+ "@solana/web3.js": "^1.69.0",+ "bn.js": "^5.1.2",+ "bs58": "^4.0.1",+ "buffer-layout": "^1.2.2",+ "camelcase": "^6.3.0",+ "cross-fetch": "^3.1.5",+ "eventemitter3": "^4.0.7",+ "pako": "^2.0.3",+ "superstruct": "^0.15.4",+ "toml": "^3.0.0"+ },+ "engines": {+ "node": ">=17"+ }+ },+ "node_modules/@coral-xyz/anchor-errors": {+ "version": "0.31.1",+ "resolved": "https://registry.npmjs.org/@coral-xyz/anchor-errors/-/anchor-errors-0.31.1.tgz",+ "integrity": "sha512-NhNEku4F3zzUSBtrYz84FzYWm48+9OvmT1Hhnwr6GnPQry2dsEqH/ti/7ASjjpoFTWRnPXrjAIT1qM6Isop+LQ==",+ "license": "Apache-2.0",+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/@coral-xyz/anchor/node_modules/base-x": {+ "version": "3.0.11",+ "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.11.tgz",+ "integrity": "sha512-xz7wQ8xDhdyP7tQxwdteLYeFfS68tSMNCZ/Y37WJ4bhGfKPpqEIlmIyueQHqOyoPhE6xNUqjzRr8ra0eF9VRvA==",+ "license": "MIT",+ "dependencies": {+ "safe-buffer": "^5.0.1"+ }+ },+ "node_modules/@coral-xyz/anchor/node_modules/bs58": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz",+ "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==",+ "license": "MIT",+ "dependencies": {+ "base-x": "^3.0.2"+ }+ },+ "node_modules/@coral-xyz/borsh": {+ "version": "0.31.1",+ "resolved": "https://registry.npmjs.org/@coral-xyz/borsh/-/borsh-0.31.1.tgz",+ "integrity": "sha512-9N8AU9F0ubriKfNE3g1WF0/4dtlGXoBN/hd1PvbNBamBNwRgHxH4P+o3Zt7rSEloW1HUs6LfZEchlx9fW7POYw==",+ "license": "Apache-2.0",+ "dependencies": {+ "bn.js": "^5.1.2",+ "buffer-layout": "^1.2.0"+ },+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "@solana/web3.js": "^1.69.0"+ }+ },+ "node_modules/@noble/curves": {+ "version": "1.9.7",+ "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.7.tgz",+ "integrity": "sha512-gbKGcRUYIjA3/zCCNaWDciTMFI0dCkvou3TL8Zmy5Nc7sJ47a0jtOeZoTaMxkuqRo9cRhjOdZJXegxYE5FN/xw==",+ "license": "MIT",+ "dependencies": {+ "@noble/hashes": "1.8.0"+ },+ "engines": {+ "node": "^14.21.3 || >=16"+ },+ "funding": {+ "url": "https://paulmillr.com/funding/"+ }+ },+ "node_modules/@noble/hashes": {+ "version": "1.8.0",+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",+ "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",+ "license": "MIT",+ "engines": {+ "node": "^14.21.3 || >=16"+ },+ "funding": {+ "url": "https://paulmillr.com/funding/"+ }+ },+ "node_modules/@pump-fun/agent-payments-sdk": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/@pump-fun/agent-payments-sdk/-/agent-payments-sdk-1.0.7.tgz",+ "integrity": "sha512-RnYh3GDMTaLvrmu9Hz4W11ulRNQYhrQoOOJyhpMa/wMRuY7ibhoQczcA17R3Zy3fKyhveiLmYI+GKF4pnp2nVg==",+ "license": "ISC",+ "dependencies": {+ "@coral-xyz/anchor": "^0.31.1",+ "@solana/spl-token": "^0.4.9",+ "@solana/web3.js": "^1.98.0"+ },+ "optionalDependencies": {+ "@rollup/rollup-linux-x64-gnu": "*"+ }+ },+ "node_modules/@pump-fun/pump-sdk": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/@pump-fun/pump-sdk/-/pump-sdk-2.0.0.tgz",+ "integrity": "sha512-qDtUx/1eHJl4uMof3bxTJ/YqKNp+HtXoIWfmOArQD11Vp+Zb0AZHLod0ktii7tc3uAwRtg1GoteouT0ynM58YQ==",+ "license": "MIT",+ "dependencies": {+ "@coral-xyz/anchor": "^0.31.1",+ "@pump-fun/agent-payments-sdk": "1.0.7",+ "@pump-fun/pump-swap-sdk": "^1.13.0",+ "@solana/spl-token": "^0.4.13",+ "@solana/web3.js": "^1.98.2",+ "bn.js": "^5.2.2",+ "undici-types": "^6.20.0"+ }+ },+ "node_modules/@pump-fun/pump-swap-sdk": {+ "version": "1.20.0",+ "resolved": "https://registry.npmjs.org/@pump-fun/pump-swap-sdk/-/pump-swap-sdk-1.20.0.tgz",+ "integrity": "sha512-DuBZ5ge3OJPao6m0aZZj+GTZFzfZ/TU3ca1EgL9ejr+8QIYETlLQVMaiznS+U4uGzM9z58mpxoXn3HuVEYHCFw==",+ "license": "MIT",+ "dependencies": {+ "@coral-xyz/anchor": "^0.31.1",+ "@solana/spl-token": "^0.4.9",+ "@solana/web3.js": "^1.98.2",+ "bn.js": "^5.2.2",+ "bs58": "^6.0.0"+ },+ "engines": {+ "node": ">=16"+ }+ },+ "node_modules/@rollup/rollup-linux-x64-gnu": {+ "version": "4.63.5",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.63.5.tgz",+ "integrity": "sha512-3W9bTFcQNJn71cSJVM9RKIiZOy8DO/XLDii8Uv/Pm6WKqDRj7JV3ZfuXIEfyuy5LXpIzAbB/1M4Ukp9GKNa7nA==",+ "cpu": [+ "x64"+ ],+ "libc": [+ "glibc"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@solana/buffer-layout": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz",+ "integrity": "sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA==",+ "license": "MIT",+ "dependencies": {+ "buffer": "~6.0.3"+ },+ "engines": {+ "node": ">=5.10"+ }+ },+ "node_modules/@solana/buffer-layout-utils": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/@solana/buffer-layout-utils/-/buffer-layout-utils-0.3.0.tgz",+ "integrity": "sha512-MuQOCC1j0np1xH9yAv0ZWWfwvr7Bt7Sz4LId11Wi4wDdAmJ+lobE+vHg/mZmGcihF0BIkqVBNxGmlv8QE5DrtA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@solana/buffer-layout": "^4.0.0",+ "@solana/web3.js": "^1.32.0",+ "bigint-buffer": "^1.1.5",+ "bignumber.js": "^9.0.1"+ },+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/@solana/codecs": {+ "version": "2.0.0-rc.1",+ "resolved": "https://registry.npmjs.org/@solana/codecs/-/codecs-2.0.0-rc.1.tgz",+ "integrity": "sha512-qxoR7VybNJixV51L0G1RD2boZTcxmwUWnKCaJJExQ5qNKwbpSyDdWfFJfM5JhGyKe9DnPVOZB+JHWXnpbZBqrQ==",+ "license": "MIT",+ "dependencies": {+ "@solana/codecs-core": "2.0.0-rc.1",+ "@solana/codecs-data-structures": "2.0.0-rc.1",+ "@solana/codecs-numbers": "2.0.0-rc.1",+ "@solana/codecs-strings": "2.0.0-rc.1",+ "@solana/options": "2.0.0-rc.1"+ },+ "peerDependencies": {+ "typescript": ">=5"+ }+ },+ "node_modules/@solana/codecs-core": {+ "version": "2.0.0-rc.1",+ "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.0.0-rc.1.tgz",+ "integrity": "sha512-bauxqMfSs8EHD0JKESaNmNuNvkvHSuN3bbWAF5RjOfDu2PugxHrvRebmYauvSumZ3cTfQ4HJJX6PG5rN852qyQ==",+ "license": "MIT",+ "dependencies": {+ "@solana/errors": "2.0.0-rc.1"+ },+ "peerDependencies": {+ "typescript": ">=5"+ }+ },+ "node_modules/@solana/codecs-data-structures": {+ "version": "2.0.0-rc.1",+ "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-2.0.0-rc.1.tgz",+ "integrity": "sha512-rinCv0RrAVJ9rE/rmaibWJQxMwC5lSaORSZuwjopSUE6T0nb/MVg6Z1siNCXhh/HFTOg0l8bNvZHgBcN/yvXog==",+ "license": "MIT",+ "dependencies": {+ "@solana/codecs-core": "2.0.0-rc.1",+ "@solana/codecs-numbers": "2.0.0-rc.1",+ "@solana/errors": "2.0.0-rc.1"+ },+ "peerDependencies": {+ "typescript": ">=5"+ }+ },+ "node_modules/@solana/codecs-numbers": {+ "version": "2.0.0-rc.1",+ "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.0.0-rc.1.tgz",+ "integrity": "sha512-J5i5mOkvukXn8E3Z7sGIPxsThRCgSdgTWJDQeZvucQ9PT6Y3HiVXJ0pcWiOWAoQ3RX8e/f4I3IC+wE6pZiJzDQ==",+ "license": "MIT",+ "dependencies": {+ "@solana/codecs-core": "2.0.0-rc.1",+ "@solana/errors": "2.0.0-rc.1"+ },+ "peerDependencies": {+ "typescript": ">=5"+ }+ },+ "node_modules/@solana/codecs-strings": {+ "version": "2.0.0-rc.1",+ "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-2.0.0-rc.1.tgz",+ "integrity": "sha512-9/wPhw8TbGRTt6mHC4Zz1RqOnuPTqq1Nb4EyuvpZ39GW6O2t2Q7Q0XxiB3+BdoEjwA2XgPw6e2iRfvYgqty44g==",+ "license": "MIT",+ "dependencies": {+ "@solana/codecs-core": "2.0.0-rc.1",+ "@solana/codecs-numbers": "2.0.0-rc.1",+ "@solana/errors": "2.0.0-rc.1"+ },+ "peerDependencies": {+ "fastestsmallesttextencoderdecoder": "^1.0.22",+ "typescript": ">=5"+ }+ },+ "node_modules/@solana/errors": {+ "version": "2.0.0-rc.1",+ "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-2.0.0-rc.1.tgz",+ "integrity": "sha512-ejNvQ2oJ7+bcFAYWj225lyRkHnixuAeb7RQCixm+5mH4n1IA4Qya/9Bmfy5RAAHQzxK43clu3kZmL5eF9VGtYQ==",+ "license": "MIT",+ "dependencies": {+ "chalk": "^5.3.0",+ "commander": "^12.1.0"+ },+ "bin": {+ "errors": "bin/cli.mjs"+ },+ "peerDependencies": {+ "typescript": ">=5"+ }+ },+ "node_modules/@solana/options": {+ "version": "2.0.0-rc.1",+ "resolved": "https://registry.npmjs.org/@solana/options/-/options-2.0.0-rc.1.tgz",+ "integrity": "sha512-mLUcR9mZ3qfHlmMnREdIFPf9dpMc/Bl66tLSOOWxw4ml5xMT2ohFn7WGqoKcu/UHkT9CrC6+amEdqCNvUqI7AA==",+ "license": "MIT",+ "dependencies": {+ "@solana/codecs-core": "2.0.0-rc.1",+ "@solana/codecs-data-structures": "2.0.0-rc.1",+ "@solana/codecs-numbers": "2.0.0-rc.1",+ "@solana/codecs-strings": "2.0.0-rc.1",+ "@solana/errors": "2.0.0-rc.1"+ },+ "peerDependencies": {+ "typescript": ">=5"+ }+ },+ "node_modules/@solana/spl-token": {+ "version": "0.4.15",+ "resolved": "https://registry.npmjs.org/@solana/spl-token/-/spl-token-0.4.15.tgz",+ "integrity": "sha512-3Lof3mNov8NVQ3PalIWb1Jgr/TZ6lYM+/sexv2TLqdhNFVth2OfWmH3d7QucgMjSbokkjNiNlRr6I8Fd269uaw==",+ "license": "Apache-2.0",+ "dependencies": {+ "@solana/buffer-layout": "^4.0.0",+ "@solana/buffer-layout-utils": "^0.3.0",+ "@solana/spl-token-group": "^0.0.7",+ "@solana/spl-token-metadata": "^0.1.6",+ "buffer": "^6.0.3"+ },+ "engines": {+ "node": ">=16"+ },+ "peerDependencies": {+ "@solana/web3.js": "^1.95.5"+ }+ },+ "node_modules/@solana/spl-token-group": {+ "version": "0.0.7",+ "resolved": "https://registry.npmjs.org/@solana/spl-token-group/-/spl-token-group-0.0.7.tgz",+ "integrity": "sha512-V1N/iX7Cr7H0uazWUT2uk27TMqlqedpXHRqqAbVO2gvmJyT0E0ummMEAVQeXZ05ZhQ/xF39DLSdBp90XebWEug==",+ "license": "Apache-2.0",+ "dependencies": {+ "@solana/codecs": "2.0.0-rc.1"+ },+ "engines": {+ "node": ">=16"+ },+ "peerDependencies": {+ "@solana/web3.js": "^1.95.3"+ }+ },+ "node_modules/@solana/spl-token-metadata": {+ "version": "0.1.6",+ "resolved": "https://registry.npmjs.org/@solana/spl-token-metadata/-/spl-token-metadata-0.1.6.tgz",+ "integrity": "sha512-7sMt1rsm/zQOQcUWllQX9mD2O6KhSAtY1hFR2hfFwgqfFWzSY9E9GDvFVNYUI1F0iQKcm6HmePU9QbKRXTEBiA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@solana/codecs": "2.0.0-rc.1"+ },+ "engines": {+ "node": ">=16"+ },+ "peerDependencies": {+ "@solana/web3.js": "^1.95.3"+ }+ },+ "node_modules/@solana/web3.js": {+ "version": "1.99.0",+ "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.99.0.tgz",+ "integrity": "sha512-QZYQ2T1z6xWisoyALPq25i/QZTsRlM02BABtAsfaQ1p8wX4SdTfxrKTRue/ZZqrhNVh5oL7T/DUFiTS9DRgxow==",+ "license": "MIT",+ "dependencies": {+ "@babel/runtime": "^7.29.7",+ "@noble/curves": "^1.9.7",+ "@noble/hashes": "^1.8.0",+ "@solana/buffer-layout": "^4.0.1",+ "@solana/codecs-numbers": "^5.5.1",+ "agentkeepalive": "^4.6.0",+ "bn.js": "^5.2.5",+ "borsh": "^0.7.0",+ "bs58": "^4.0.1",+ "buffer": "6.0.3",+ "fast-stable-stringify": "^1.0.0",+ "jayson": "^4.3.0",+ "node-fetch": "^2.7.0",+ "rpc-websockets": "^9.0.2",+ "superstruct": "^2.0.2"+ }+ },+ "node_modules/@solana/web3.js/node_modules/@solana/codecs-core": {+ "version": "5.5.1",+ "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-5.5.1.tgz",+ "integrity": "sha512-TgBt//bbKBct0t6/MpA8ElaOA3sa8eYVvR7LGslCZ84WiAwwjCY0lW/lOYsFHJQzwREMdUyuEyy5YWBKtdh8Rw==",+ "license": "MIT",+ "dependencies": {+ "@solana/errors": "5.5.1"+ },+ "engines": {+ "node": ">=20.18.0"+ },+ "peerDependencies": {+ "typescript": "^5.0.0"+ },+ "peerDependenciesMeta": {+ "typescript": {+ "optional": true+ }+ }+ },+ "node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers": {+ "version": "5.5.1",+ "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-5.5.1.tgz",+ "integrity": "sha512-rllMIZAHqmtvC0HO/dc/21wDuWaD0B8Ryv8o+YtsICQBuiL/0U4AGwH7Pi5GNFySYk0/crSuwfIqQFtmxNSPFw==",+ "license": "MIT",+ "dependencies": {+ "@solana/codecs-core": "5.5.1",+ "@solana/errors": "5.5.1"+ },+ "engines": {+ "node": ">=20.18.0"+ },+ "peerDependencies": {+ "typescript": "^5.0.0"+ },+ "peerDependenciesMeta": {+ "typescript": {+ "optional": true+ }+ }+ },+ "node_modules/@solana/web3.js/node_modules/@solana/errors": {+ "version": "5.5.1",+ "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-5.5.1.tgz",+ "integrity": "sha512-vFO3p+S7HoyyrcAectnXbdsMfwUzY2zYFUc2DEe5BwpiE9J1IAxPBGjOWO6hL1bbYdBrlmjNx8DXCslqS+Kcmg==",+ "license": "MIT",+ "dependencies": {+ "chalk": "5.6.2",+ "commander": "14.0.2"+ },+ "bin": {+ "errors": "bin/cli.mjs"+ },+ "engines": {+ "node": ">=20.18.0"+ },+ "peerDependencies": {+ "typescript": "^5.0.0"+ },+ "peerDependenciesMeta": {+ "typescript": {+ "optional": true+ }+ }+ },+ "node_modules/@solana/web3.js/node_modules/base-x": {+ "version": "3.0.11",+ "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.11.tgz",+ "integrity": "sha512-xz7wQ8xDhdyP7tQxwdteLYeFfS68tSMNCZ/Y37WJ4bhGfKPpqEIlmIyueQHqOyoPhE6xNUqjzRr8ra0eF9VRvA==",+ "license": "MIT",+ "dependencies": {+ "safe-buffer": "^5.0.1"+ }+ },+ "node_modules/@solana/web3.js/node_modules/bs58": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz",+ "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==",+ "license": "MIT",+ "dependencies": {+ "base-x": "^3.0.2"+ }+ },+ "node_modules/@solana/web3.js/node_modules/commander": {+ "version": "14.0.2",+ "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.2.tgz",+ "integrity": "sha512-TywoWNNRbhoD0BXs1P3ZEScW8W5iKrnbithIl0YH+uCmBd0QpPOA8yc82DS3BIE5Ma6FnBVUsJ7wVUDz4dvOWQ==",+ "license": "MIT",+ "engines": {+ "node": ">=20"+ }+ },+ "node_modules/@solana/web3.js/node_modules/superstruct": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-2.0.2.tgz",+ "integrity": "sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A==",+ "license": "MIT",+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/@stablelib/base64": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/@stablelib/base64/-/base64-1.0.1.tgz",+ "integrity": "sha512-1bnPQqSxSuc3Ii6MhBysoWCg58j97aUjuCSZrGSmDxNqtytIi0k8utUenAwTZN4V5mXXYGsVUI9zeBqy+jBOSQ==",+ "license": "MIT"+ },+ "node_modules/@swc/helpers": {+ "version": "0.5.23",+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.23.tgz",+ "integrity": "sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==",+ "license": "Apache-2.0",+ "dependencies": {+ "tslib": "^2.8.0"+ }+ },+ "node_modules/@three-ws/oracle-model": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/@three-ws/oracle-model/-/oracle-model-0.1.0.tgz",+ "integrity": "sha512-L+Okpx834Cyo10sUMs7sQPhvNz1Az46oC3d3pPw8cfhxNBrPcxuphQEHaJ3J/JLHJ+lJFGb73MaF9V0avpIzCg==",+ "license": "Apache-2.0",+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/@types/connect": {+ "version": "3.4.38",+ "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz",+ "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==",+ "license": "MIT",+ "dependencies": {+ "@types/node": "*"+ }+ },+ "node_modules/@types/node": {+ "version": "12.20.55",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz",+ "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==",+ "license": "MIT"+ },+ "node_modules/@types/uuid": {+ "version": "10.0.0",+ "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz",+ "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==",+ "license": "MIT"+ },+ "node_modules/@types/ws": {+ "version": "7.4.7",+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz",+ "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==",+ "license": "MIT",+ "dependencies": {+ "@types/node": "*"+ }+ },+ "node_modules/agentkeepalive": {+ "version": "4.6.0",+ "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.6.0.tgz",+ "integrity": "sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==",+ "license": "MIT",+ "dependencies": {+ "humanize-ms": "^1.2.1"+ },+ "engines": {+ "node": ">= 8.0.0"+ }+ },+ "node_modules/base-x": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/base-x/-/base-x-5.0.1.tgz",+ "integrity": "sha512-M7uio8Zt++eg3jPj+rHMfCC+IuygQHHCOU+IYsVtik6FWjuYpVt/+MRKcgsAMHh8mMFAwnB+Bs+mTrFiXjMzKg==",+ "license": "MIT"+ },+ "node_modules/base64-js": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ],+ "license": "MIT"+ },+ "node_modules/bigint-buffer": {+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/bigint-buffer/-/bigint-buffer-1.1.5.tgz",+ "integrity": "sha512-trfYco6AoZ+rKhKnxA0hgX0HAbVP/s808/EuDSe2JDzUnCp/xAsli35Orvk67UrTEcwuxZqYZDmfA2RXJgxVvA==",+ "hasInstallScript": true,+ "license": "Apache-2.0",+ "dependencies": {+ "bindings": "^1.3.0"+ },+ "engines": {+ "node": ">= 10.0.0"+ }+ },+ "node_modules/bignumber.js": {+ "version": "9.3.1",+ "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.3.1.tgz",+ "integrity": "sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ==",+ "license": "MIT",+ "engines": {+ "node": "*"+ }+ },+ "node_modules/bindings": {+ "version": "1.5.0",+ "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",+ "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",+ "license": "MIT",+ "dependencies": {+ "file-uri-to-path": "1.0.0"+ }+ },+ "node_modules/bn.js": {+ "version": "5.2.5",+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.5.tgz",+ "integrity": "sha512-Vq886eXykuP5E6HcKSSStP3bJgrE6In5WKxVUvJ8XGpWWYs2xZHWqUwzCtGgEtBcxyd57KBFDPFoUfNzdaHCNg==",+ "license": "MIT"+ },+ "node_modules/borsh": {+ "version": "0.7.0",+ "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz",+ "integrity": "sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==",+ "license": "Apache-2.0",+ "dependencies": {+ "bn.js": "^5.2.0",+ "bs58": "^4.0.0",+ "text-encoding-utf-8": "^1.0.2"+ }+ },+ "node_modules/borsh/node_modules/base-x": {+ "version": "3.0.11",+ "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.11.tgz",+ "integrity": "sha512-xz7wQ8xDhdyP7tQxwdteLYeFfS68tSMNCZ/Y37WJ4bhGfKPpqEIlmIyueQHqOyoPhE6xNUqjzRr8ra0eF9VRvA==",+ "license": "MIT",+ "dependencies": {+ "safe-buffer": "^5.0.1"+ }+ },+ "node_modules/borsh/node_modules/bs58": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz",+ "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==",+ "license": "MIT",+ "dependencies": {+ "base-x": "^3.0.2"+ }+ },+ "node_modules/bs58": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/bs58/-/bs58-6.0.0.tgz",+ "integrity": "sha512-PD0wEnEYg6ijszw/u8s+iI3H17cTymlrwkKhDhPZq+Sokl3AU4htyBFTjAeNAlCCmg0f53g6ih3jATyCKftTfw==",+ "license": "MIT",+ "dependencies": {+ "base-x": "^5.0.0"+ }+ },+ "node_modules/buffer": {+ "version": "6.0.3",+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",+ "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "base64-js": "^1.3.1",+ "ieee754": "^1.2.1"+ }+ },+ "node_modules/buffer-layout": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/buffer-layout/-/buffer-layout-1.2.2.tgz",+ "integrity": "sha512-kWSuLN694+KTk8SrYvCqwP2WcgQjoRCiF5b4QDvkkz8EmgD+aWAIceGFKMIAdmF/pH+vpgNV3d3kAKorcdAmWA==",+ "license": "MIT",+ "engines": {+ "node": ">=4.5"+ }+ },+ "node_modules/bufferutil": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.1.0.tgz",+ "integrity": "sha512-ZMANVnAixE6AWWnPzlW2KpUrxhm9woycYvPOo67jWHyFowASTEd9s+QN1EIMsSDtwhIxN4sWE1jotpuDUIgyIw==",+ "hasInstallScript": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "node-gyp-build": "^4.3.0"+ },+ "engines": {+ "node": ">=6.14.2"+ }+ },+ "node_modules/camelcase": {+ "version": "6.3.0",+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz",+ "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==",+ "license": "MIT",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/chalk": {+ "version": "5.6.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz",+ "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==",+ "license": "MIT",+ "engines": {+ "node": "^12.17.0 || ^14.13 || >=16.0.0"+ },+ "funding": {+ "url": "https://github.com/chalk/chalk?sponsor=1"+ }+ },+ "node_modules/commander": {+ "version": "12.1.0",+ "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz",+ "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==",+ "license": "MIT",+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/cross-fetch": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.2.0.tgz",+ "integrity": "sha512-Q+xVJLoGOeIMXZmbUK4HYk+69cQH6LudR0Vu/pRm2YlU/hDV9CiS0gKUMaWY5f2NeUH9C1nV3bsTlCo0FsTV1Q==",+ "license": "MIT",+ "dependencies": {+ "node-fetch": "^2.7.0"+ }+ },+ "node_modules/delay": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz",+ "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==",+ "license": "MIT",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/es6-promise": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz",+ "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==",+ "license": "MIT"+ },+ "node_modules/es6-promisify": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz",+ "integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==",+ "license": "MIT",+ "dependencies": {+ "es6-promise": "^4.0.3"+ }+ },+ "node_modules/eventemitter3": {+ "version": "4.0.7",+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",+ "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==",+ "license": "MIT"+ },+ "node_modules/eventsource": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-5.1.2.tgz",+ "integrity": "sha512-VJnwqqp+fOT3WDkjnUy49Zuyh48+kH0JdJApZkslrRQyx35zIZJeJYJl0+a+LrTzh5TFv6MdmXnBDv71UXFyWQ==",+ "license": "MIT",+ "dependencies": {+ "eventsource-parser": "^4.1.1"+ },+ "engines": {+ "node": ">=22.12.0"+ }+ },+ "node_modules/eventsource-parser": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-4.1.1.tgz",+ "integrity": "sha512-zaWNqeSLeyzEAAt2Q6aDBRDRk/VnPmsKqvToyGvv6aahvLv71A4Jw7jG93Hckf11zXurbqgsffvpSgKPoeU1Qw==",+ "license": "MIT",+ "engines": {+ "node": ">=22.12"+ }+ },+ "node_modules/eyes": {+ "version": "0.1.8",+ "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz",+ "integrity": "sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ==",+ "engines": {+ "node": "> 0.1.90"+ }+ },+ "node_modules/fast-sha256": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/fast-sha256/-/fast-sha256-1.3.0.tgz",+ "integrity": "sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==",+ "license": "Unlicense"+ },+ "node_modules/fast-stable-stringify": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/fast-stable-stringify/-/fast-stable-stringify-1.0.0.tgz",+ "integrity": "sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag==",+ "license": "MIT"+ },+ "node_modules/fastestsmallesttextencoderdecoder": {+ "version": "1.0.22",+ "resolved": "https://registry.npmjs.org/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz",+ "integrity": "sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw==",+ "license": "CC0-1.0",+ "peer": true+ },+ "node_modules/file-uri-to-path": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",+ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",+ "license": "MIT"+ },+ "node_modules/humanize-ms": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz",+ "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==",+ "license": "MIT",+ "dependencies": {+ "ms": "^2.0.0"+ }+ },+ "node_modules/ieee754": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ],+ "license": "BSD-3-Clause"+ },+ "node_modules/isomorphic-ws": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz",+ "integrity": "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==",+ "license": "MIT",+ "peerDependencies": {+ "ws": "*"+ }+ },+ "node_modules/jayson": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/jayson/-/jayson-4.3.0.tgz",+ "integrity": "sha512-AauzHcUcqs8OBnCHOkJY280VaTiCm57AbuO7lqzcw7JapGj50BisE3xhksye4zlTSR1+1tAz67wLTl8tEH1obQ==",+ "license": "MIT",+ "dependencies": {+ "@types/connect": "^3.4.33",+ "@types/node": "^12.12.54",+ "@types/ws": "^7.4.4",+ "commander": "^2.20.3",+ "delay": "^5.0.0",+ "es6-promisify": "^5.0.0",+ "eyes": "^0.1.8",+ "isomorphic-ws": "^4.0.1",+ "json-stringify-safe": "^5.0.1",+ "stream-json": "^1.9.1",+ "uuid": "^8.3.2",+ "ws": "^7.5.10"+ },+ "bin": {+ "jayson": "bin/jayson.js"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/jayson/node_modules/commander": {+ "version": "2.20.3",+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",+ "license": "MIT"+ },+ "node_modules/jayson/node_modules/utf-8-validate": {+ "version": "5.0.10",+ "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz",+ "integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==",+ "extraneous": true,+ "hasInstallScript": true,+ "license": "MIT",+ "dependencies": {+ "node-gyp-build": "^4.3.0"+ },+ "engines": {+ "node": ">=6.14.2"+ }+ },+ "node_modules/jayson/node_modules/ws": {+ "version": "7.5.13",+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.13.tgz",+ "integrity": "sha512-rsKI6xDBFVf4r/x8XyChGK04QR/XHroxs/jUcoWvtEZM8TPU/X/uIY9B1CsSzYws9ZJb/6bbBu7dPhFW00CAoA==",+ "license": "MIT",+ "engines": {+ "node": ">=8.3.0"+ },+ "peerDependencies": {+ "bufferutil": "^4.0.1",+ "utf-8-validate": "^5.0.2"+ },+ "peerDependenciesMeta": {+ "bufferutil": {+ "optional": true+ },+ "utf-8-validate": {+ "optional": true+ }+ }+ },+ "node_modules/json-schema-to-ts": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/json-schema-to-ts/-/json-schema-to-ts-3.1.1.tgz",+ "integrity": "sha512-+DWg8jCJG2TEnpy7kOm/7/AxaYoaRbjVB4LFZLySZlWn8exGs3A4OLJR966cVvU26N7X9TWxl+Jsw7dzAqKT6g==",+ "license": "MIT",+ "dependencies": {+ "@babel/runtime": "^7.18.3",+ "ts-algebra": "^2.0.0"+ },+ "engines": {+ "node": ">=16"+ }+ },+ "node_modules/json-stringify-safe": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",+ "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==",+ "license": "ISC"+ },+ "node_modules/ms": {+ "version": "2.1.3",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",+ "license": "MIT"+ },+ "node_modules/node-fetch": {+ "version": "2.7.0",+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",+ "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",+ "license": "MIT",+ "dependencies": {+ "whatwg-url": "^5.0.0"+ },+ "engines": {+ "node": "4.x || >=6.0.0"+ },+ "peerDependencies": {+ "encoding": "^0.1.0"+ },+ "peerDependenciesMeta": {+ "encoding": {+ "optional": true+ }+ }+ },+ "node_modules/node-gyp-build": {+ "version": "4.8.4",+ "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz",+ "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==",+ "license": "MIT",+ "optional": true,+ "bin": {+ "node-gyp-build": "bin.js",+ "node-gyp-build-optional": "optional.js",+ "node-gyp-build-test": "build-test.js"+ }+ },+ "node_modules/pako": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/pako/-/pako-2.2.0.tgz",+ "integrity": "sha512-zJq6RP/5q+TO2OpFV3FHzlPnFjmkb7Nc99a5SNjJE+uu/PkpChs+NIZSSzbBoD+6kjiISXjfYdwj1ZRQ81dz/w==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/puzrin"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/nodeca"+ }+ ],+ "license": "(MIT AND Zlib)"+ },+ "node_modules/rpc-websockets": {+ "version": "9.3.9",+ "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-9.3.9.tgz",+ "integrity": "sha512-2iQDaTB4g5fDB2ihrTFSJSibCEuxaRi1q7qTW7ZO9/M5/TC+ToHA4D9/ffNLEbAoHNNrcdeP05oATNk44SKZXA==",+ "license": "LGPL-3.0-only",+ "dependencies": {+ "@swc/helpers": "^0.5.11",+ "@types/uuid": "^10.0.0",+ "@types/ws": "^8.2.2",+ "buffer": "^6.0.3",+ "eventemitter3": "^5.0.1",+ "uuid": "^14.0.0",+ "ws": "^8.5.0"+ },+ "funding": {+ "type": "paypal",+ "url": "https://paypal.me/kozjak"+ },+ "optionalDependencies": {+ "bufferutil": "^4.0.1",+ "utf-8-validate": "^6.0.0"+ }+ },+ "node_modules/rpc-websockets/node_modules/@types/ws": {+ "version": "8.18.2",+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.2.tgz",+ "integrity": "sha512-67MQl+fpWKVTT1NYdnmo3U4sc/xPo/zQBncVnI74qmQa0z/b+1g6iYqNmGCPbxO+zz2aklb08a0oHfegiVd0/w==",+ "license": "MIT",+ "dependencies": {+ "@types/node": "*"+ }+ },+ "node_modules/rpc-websockets/node_modules/eventemitter3": {+ "version": "5.0.4",+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.4.tgz",+ "integrity": "sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==",+ "license": "MIT"+ },+ "node_modules/rpc-websockets/node_modules/uuid": {+ "version": "14.0.2",+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-14.0.2.tgz",+ "integrity": "sha512-xZe/16rV4aa+HGSOCiY2YeLT1OybRLrrkL/Rqaq7p7GMVXjFh+6wN4oMYgjFmnSnhY8t6Xpdl2l9qmnHYuMHwQ==",+ "funding": [+ "https://github.com/sponsors/broofa",+ "https://github.com/sponsors/ctavan"+ ],+ "license": "MIT",+ "bin": {+ "uuid": "dist-node/bin/uuid"+ }+ },+ "node_modules/safe-buffer": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ],+ "license": "MIT"+ },+ "node_modules/standardwebhooks": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/standardwebhooks/-/standardwebhooks-1.1.1.tgz",+ "integrity": "sha512-bCbX9ZEyFkWPsRz7Bl3NuQUJohmwGSev/yhr7vhaGPlc4AfIrspIRa6cPTBuI1ItmrTDJ4d/S2hCsfe4+vQGnQ==",+ "license": "MIT",+ "dependencies": {+ "@stablelib/base64": "^1.0.0",+ "fast-sha256": "^1.3.0"+ }+ },+ "node_modules/stream-chain": {+ "version": "2.2.5",+ "resolved": "https://registry.npmjs.org/stream-chain/-/stream-chain-2.2.5.tgz",+ "integrity": "sha512-1TJmBx6aSWqZ4tx7aTpBDXK0/e2hhcNSTV8+CbFJtDjbb+I1mZ8lHit0Grw9GRT+6JbIrrDd8esncgBi8aBXGA==",+ "license": "BSD-3-Clause"+ },+ "node_modules/stream-json": {+ "version": "1.9.1",+ "resolved": "https://registry.npmjs.org/stream-json/-/stream-json-1.9.1.tgz",+ "integrity": "sha512-uWkjJ+2Nt/LO9Z/JyKZbMusL8Dkh97uUBTv3AJQ74y07lVahLY4eEFsPsE97pxYBwr8nnjMAIch5eqI0gPShyw==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "stream-chain": "^2.2.5"+ }+ },+ "node_modules/superstruct": {+ "version": "0.15.5",+ "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-0.15.5.tgz",+ "integrity": "sha512-4AOeU+P5UuE/4nOUkmcQdW5y7i9ndt1cQd/3iUe+LTz3RxESf/W/5lg4B74HbDMMv8PHnPnGCQFH45kBcrQYoQ==",+ "license": "MIT"+ },+ "node_modules/text-encoding-utf-8": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz",+ "integrity": "sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg=="+ },+ "node_modules/toml": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/toml/-/toml-3.0.0.tgz",+ "integrity": "sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==",+ "license": "MIT"+ },+ "node_modules/tr46": {+ "version": "0.0.3",+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",+ "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",+ "license": "MIT"+ },+ "node_modules/ts-algebra": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/ts-algebra/-/ts-algebra-2.0.0.tgz",+ "integrity": "sha512-FPAhNPFMrkwz76P7cdjdmiShwMynZYN6SgOujD1urY4oNm80Ou9oMdmbR45LotcKOXoy7wSmHkRFE6Mxbrhefw==",+ "license": "MIT"+ },+ "node_modules/tslib": {+ "version": "2.8.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",+ "license": "0BSD"+ },+ "node_modules/typescript": {+ "version": "5.9.3",+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",+ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",+ "license": "Apache-2.0",+ "peer": true,+ "bin": {+ "tsc": "bin/tsc",+ "tsserver": "bin/tsserver"+ },+ "engines": {+ "node": ">=14.17"+ }+ },+ "node_modules/undici-types": {+ "version": "6.29.0",+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.29.0.tgz",+ "integrity": "sha512-yzE4aF6qGj7fE8lu8fE8LonY07kmMXs20QR1bG3JGJ+jXrVTLtgUBieEr74AQRChYyqHrhJm9IktT337qOQhng==",+ "license": "MIT"+ },+ "node_modules/utf-8-validate": {+ "version": "6.0.6",+ "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-6.0.6.tgz",+ "integrity": "sha512-q3l3P9UtEEiAHcsgsqTgf9PPjctrDWoIXW3NpOHFdRDbLvu4DLIcxHangJ4RLrWkBcKjmcs/6NkerI8T/rE4LA==",+ "hasInstallScript": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "node-gyp-build": "^4.3.0"+ },+ "engines": {+ "node": ">=6.14.2"+ }+ },+ "node_modules/uuid": {+ "version": "8.3.2",+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",+ "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",+ "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).",+ "license": "MIT",+ "bin": {+ "uuid": "dist/bin/uuid"+ }+ },+ "node_modules/webidl-conversions": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",+ "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==",+ "license": "BSD-2-Clause"+ },+ "node_modules/whatwg-url": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",+ "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",+ "license": "MIT",+ "dependencies": {+ "tr46": "~0.0.3",+ "webidl-conversions": "^3.0.0"+ }+ },+ "node_modules/ws": {+ "version": "8.22.0",+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.0.tgz",+ "integrity": "sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==",+ "license": "MIT",+ "engines": {+ "node": ">=10.0.0"+ },+ "peerDependencies": {+ "bufferutil": "^4.0.1",+ "utf-8-validate": ">=5.0.2"+ },+ "peerDependenciesMeta": {+ "bufferutil": {+ "optional": true+ },+ "utf-8-validate": {+ "optional": true+ }+ }+ }+ }+}diff --git a/satellites/oracle-desk/package.json b/satellites/oracle-desk/package.jsonnew file mode 100644index 000000000..da6b3a8b4--- /dev/null+++ b/satellites/oracle-desk/package.json@@ -0,0 +1,39 @@+{+ "name": "oracle-desk",+ "version": "1.0.0",+ "private": true,+ "description": "An autonomous pump.fun trading desk run on the three.ws Oracle: six desks and a head of desk that fires its own strategies on realized P&L. Paper by default, live on your own keypair.",+ "type": "module",+ "bin": {+ "oracle-desk": "bin/oracle-desk.js"+ },+ "scripts": {+ "start": "node bin/oracle-desk.js run",+ "status": "node bin/oracle-desk.js status",+ "test": "node --test test/*.test.js"+ },+ "dependencies": {+ "@anthropic-ai/sdk": "^0.129.0",+ "@pump-fun/pump-sdk": "^2.0.0",+ "@pump-fun/pump-swap-sdk": "^1.20.0",+ "@solana/spl-token": "^0.4.15",+ "@solana/web3.js": "^1.99.0",+ "@three-ws/oracle-model": "^0.1.0",+ "bn.js": "^5.2.5",+ "bs58": "^6.0.0",+ "eventsource": "^5.1.2",+ "ws": "^8.22.0"+ },+ "engines": {+ "node": ">=20.12"+ },+ "keywords": [+ "solana",+ "trading-desk",+ "autonomous-agents",+ "oracle",+ "three.ws"+ ],+ "homepage": "https://three.ws/oracle",+ "license": "Apache-2.0"+}diff --git a/satellites/oracle-desk/src/brokers.js b/satellites/oracle-desk/src/brokers.jsnew file mode 100644index 000000000..506e25185--- /dev/null+++ b/satellites/oracle-desk/src/brokers.js@@ -0,0 +1,113 @@+// Two brokers, one interface. The desks never know which one they are talking+// to; the only difference is whether a transaction gets signed.+//+// buy(mint, lamports) -> { tokens, costLamports, venue, sig }+// sell(mint, tokens, { closeAccount }) -> { soldTokens, proceedsLamports, venue, sig }+// mark(mint, tokens) -> lamports the position would sell for right now+// balance() -> trading wallet balance in lamports++import { SystemProgram, PublicKey } from '@solana/web3.js';+import { createCloseAccountInstruction, getAssociatedTokenAddressSync } from '@solana/spl-token';+import { readFill, sendInstructions } from './chain/send.js';++// What a live trade really costs beyond the quote, charged to paper fills so+// paper P&L is not flattered: the base fee plus a typical priority fee, and the+// rent a first buy locks in the token account (returned when it is closed).+export const PAPER_TX_FEE_LAMPORTS = 105_000;+export const TOKEN_ACCOUNT_RENT_LAMPORTS = 2_039_280;++export class PaperBroker {+ constructor({ venue, ledger, slippagePct }) {+ this.venue = venue;+ this.ledger = ledger;+ this.slippagePct = slippagePct;+ this.mode = 'paper';+ this.payer = null;+ }++ async balance() {+ return this.ledger.walletLamports;+ }++ async quoteEntry(mint, lamports) {+ return this.venue.quoteBuy(mint, lamports, this.slippagePct);+ }++ async buy(mint, lamports, quote) {+ const q = quote || (await this.venue.quoteBuy(mint, lamports, this.slippagePct));+ const cost = Number(q.costLamports) + PAPER_TX_FEE_LAMPORTS + TOKEN_ACCOUNT_RENT_LAMPORTS;+ return { tokens: q.tokens, costLamports: cost, venue: q.venue, sig: null };+ }++ async sell(mint, tokens, { closeAccount = false } = {}) {+ const q = await this.venue.quoteSell(mint, tokens, this.slippagePct);+ const proceeds = Number(q.lamports) - PAPER_TX_FEE_LAMPORTS + (closeAccount ? TOKEN_ACCOUNT_RENT_LAMPORTS : 0);+ return { soldTokens: BigInt(tokens), proceedsLamports: proceeds, venue: q.venue, sig: null };+ }++ async mark(mint, tokens) {+ const q = await this.venue.quoteSell(mint, tokens, this.slippagePct);+ return Number(q.lamports);+ }++ async sweep(lamports) {+ return { sent: false, lamports, reason: 'paper vault' };+ }+}++export class LiveBroker {+ constructor({ venue, keypair, slippagePct, coldWallet }) {+ this.venue = venue;+ this.connection = venue.connection;+ this.keypair = keypair;+ this.payer = keypair.publicKey;+ this.slippagePct = slippagePct;+ this.coldWallet = coldWallet ? new PublicKey(coldWallet) : null;+ this.mode = 'live';+ }++ async balance() {+ return this.connection.getBalance(this.payer, 'confirmed');+ }++ async quoteEntry(mint, lamports) {+ return this.venue.quoteBuy(mint, lamports, this.slippagePct);+ }++ async buy(mint, lamports) {+ const built = await this.venue.buildBuy(mint, this.payer, lamports, this.slippagePct);+ const { signature } = await sendInstructions(this.connection, this.keypair, built.instructions);+ const fill = await readFill(this.connection, signature, this.payer, mint);+ if (fill.tokenDelta <= 0n) throw Object.assign(new Error(`buy ${signature} landed but no tokens arrived`), { code: 'empty_fill', signature });+ return { tokens: fill.tokenDelta, costLamports: -fill.solDeltaLamports, venue: built.venue, sig: signature };+ }++ async sell(mint, tokens, { closeAccount = false } = {}) {+ const built = await this.venue.buildSell(mint, this.payer, tokens, this.slippagePct);+ const instructions = [...built.instructions];+ if (closeAccount) {+ // Selling the whole balance: close the emptied token account in the+ // same transaction so its rent comes back with the proceeds.+ const mintPk = new PublicKey(String(mint));+ const program = await this.venue.baseTokenProgram(mintPk);+ const ata = getAssociatedTokenAddressSync(mintPk, this.payer, false, program);+ instructions.push(createCloseAccountInstruction(ata, this.payer, this.payer, [], program));+ }+ const { signature } = await sendInstructions(this.connection, this.keypair, instructions);+ const fill = await readFill(this.connection, signature, this.payer, mint);+ return { soldTokens: -fill.tokenDelta, proceedsLamports: fill.solDeltaLamports, venue: built.venue, sig: signature };+ }++ async mark(mint, tokens) {+ const q = await this.venue.quoteSell(mint, tokens, this.slippagePct);+ return Number(q.lamports);+ }++ /** Send profit to the cold wallet. Without one configured, nothing moves. */+ async sweep(lamports) {+ if (!this.coldWallet) return { sent: false, lamports, reason: 'no DESK_COLD_WALLET set' };+ const ix = SystemProgram.transfer({ fromPubkey: this.payer, toPubkey: this.coldWallet, lamports });+ const { signature } = await sendInstructions(this.connection, this.keypair, [ix]);+ return { sent: true, lamports, sig: signature };+ }+}diff --git a/satellites/oracle-desk/src/bus.js b/satellites/oracle-desk/src/bus.jsnew file mode 100644index 000000000..9c62febe4--- /dev/null+++ b/satellites/oracle-desk/src/bus.js@@ -0,0 +1,41 @@+// The desk's nervous system. Desks never call each other directly: they emit+// and subscribe, so any one of them can be read, replaced or tested alone.+// Every emit that carries a `text` is also written to the desk log, which is+// what the dashboard tape and the terminal render.++import { EventEmitter } from 'node:events';++const LOG_LIMIT = 400;++export class Bus extends EventEmitter {+ constructor() {+ super();+ this.setMaxListeners(50);+ this.log = [];+ this.seq = 0;+ }++ /** Append a line to the desk log and broadcast it. */+ note(desk, agent, text, extra = {}) {+ const entry = { id: ++this.seq, t: Date.now(), desk, agent, text, ...extra };+ this.log.push(entry);+ if (this.log.length > LOG_LIMIT) this.log.splice(0, this.log.length - LOG_LIMIT);+ this.emit('log', entry);+ return entry;+ }++ /**+ * Emit and wait for every async subscriber. A handler that throws is+ * reported on the log and never breaks the others.+ */+ async publish(event, payload) {+ const handlers = this.listeners(event);+ for (const handler of handlers) {+ try {+ await handler(payload);+ } catch (err) {+ this.note('SYSTEM', 'BUS', `${event} handler failed: ${err?.message || err}`, { level: 'error' });+ }+ }+ }+}diff --git a/satellites/oracle-desk/src/chain/firewall.js b/satellites/oracle-desk/src/chain/firewall.jsnew file mode 100644index 000000000..37d6c678f--- /dev/null+++ b/satellites/oracle-desk/src/chain/firewall.js@@ -0,0 +1,91 @@+// The last check before money moves. Read-only: it never signs.+//+// authority a mint that can still be minted or frozen by someone is refused+// mayhem coins in pump.fun's mayhem mode trade against a protocol agent+// round_trip simulate buying and immediately selling in one transaction; a+// coin whose sell leg reverts is a trap you cannot exit+//+// Ported from the three.ws trade firewall. The round trip needs a funded payer+// to simulate from, so it runs whenever the desk has a wallet and is reported+// as skipped (never as passed) when it does not.++import { PublicKey, TransactionMessage, VersionedTransaction } from '@solana/web3.js';+import { getMint, TOKEN_2022_PROGRAM_ID } from '@solana/spl-token';++const PROBE_RESERVE_LAMPORTS = 6_000_000n;+const MIN_PROBE_LAMPORTS = 1_000_000n;+const FUNDING_SHAPED = /insufficient (lamports|funds)|InsufficientFunds(ForFee|ForRent)?|AccountNotFound/i;++/** Largest probe the payer can fund, never above the real entry. Null when none. */+export function probeLamports(entryLamports, balanceLamports) {+ if (balanceLamports == null) return BigInt(entryLamports);+ const affordable = BigInt(balanceLamports) - PROBE_RESERVE_LAMPORTS;+ if (affordable < MIN_PROBE_LAMPORTS) return null;+ return affordable < BigInt(entryLamports) ? affordable : BigInt(entryLamports);+}++/**+ * Which leg of a reverted round trip failed. Only a SELL-leg failure is the+ * trap shape; a buy-leg or funding failure says nothing about sellability.+ */+export function classifyRevert(simErr, logs, buyIxCount) {+ const err = typeof simErr === 'object' ? JSON.stringify(simErr) : String(simErr);+ const ix = Array.isArray(simErr?.InstructionError) ? Number(simErr.InstructionError[0]) : null;+ if (ix != null && ix < buyIxCount) return { leg: 'buy', status: 'warn', reason: 'buy leg reverted' };+ if (FUNDING_SHAPED.test(err) || (logs || []).some((l) => FUNDING_SHAPED.test(String(l)))) {+ return { leg: 'buy', status: 'warn', reason: 'probe underfunded' };+ }+ return { leg: 'sell', status: 'fail', reason: 'sell leg reverts: cannot exit' };+}++export class Firewall {+ constructor({ venue, connection }) {+ this.venue = venue;+ this.connection = connection;+ }++ async authority(mintPk) {+ const program = await this.venue.baseTokenProgram(mintPk);+ const mint = await getMint(this.connection, mintPk, 'confirmed', program);+ if (mint.mintAuthority) return { check: 'authority', status: 'fail', reason: 'mint authority still active' };+ if (mint.freezeAuthority) return { check: 'authority', status: 'fail', reason: 'freeze authority still active' };+ return { check: 'authority', status: 'pass', reason: program.equals(TOKEN_2022_PROGRAM_ID) ? 'renounced (token-2022)' : 'renounced' };+ }++ async roundTrip(mint, payer, entryLamports, balanceLamports) {+ if (!payer) return { check: 'round_trip', status: 'skip', reason: 'no wallet to simulate from' };+ const probe = probeLamports(entryLamports, balanceLamports);+ if (probe == null) return { check: 'round_trip', status: 'warn', reason: 'wallet too thin to probe' };+ const quote = await this.venue.quoteBuy(mint, probe, 15);+ const buy = await this.venue.buildBuy(mint, payer, probe, 15);+ const sell = await this.venue.buildSell(mint, payer, quote.tokens, 99);+ const { blockhash } = await this.connection.getLatestBlockhash('confirmed');+ const tx = new VersionedTransaction(+ new TransactionMessage({ payerKey: payer, recentBlockhash: blockhash, instructions: [...buy.instructions, ...sell.instructions] }).compileToV0Message(),+ );+ const sim = await this.connection.simulateTransaction(tx, { sigVerify: false, replaceRecentBlockhash: true });+ if (sim.value.err) {+ const v = classifyRevert(sim.value.err, sim.value.logs, buy.instructions.length);+ return { check: 'round_trip', status: v.status, reason: v.reason };+ }+ return { check: 'round_trip', status: 'pass', reason: `buy and sell both execute (${buy.venue})` };+ }++ /**+ * Run every check. `ok` is false on any fail, and on an error inside a+ * check: the firewall fails closed.+ */+ async assess({ mint, payer, entryLamports, balanceLamports, mayhem }) {+ const mintPk = new PublicKey(String(mint));+ const results = [];+ results.push(mayhem ? { check: 'mayhem', status: 'fail', reason: 'coin is in mayhem mode' } : { check: 'mayhem', status: 'pass', reason: 'normal mode' });+ for (const run of [() => this.authority(mintPk), () => this.roundTrip(mint, payer, entryLamports, balanceLamports)]) {+ try {+ results.push(await run());+ } catch (err) {+ results.push({ check: 'error', status: 'fail', reason: err.message.slice(0, 160) });+ }+ }+ return { ok: results.every((r) => r.status !== 'fail'), results };+ }+}diff --git a/satellites/oracle-desk/src/chain/pump.js b/satellites/oracle-desk/src/chain/pump.jsnew file mode 100644index 000000000..fc6a766fd--- /dev/null+++ b/satellites/oracle-desk/src/chain/pump.js@@ -0,0 +1,247 @@+// pump.fun venue: quote and build trades on the bonding curve, and on the+// canonical PumpSwap pool once a coin has graduated.+//+// All pricing comes from the official SDKs (@pump-fun/pump-sdk and+// @pump-fun/pump-swap-sdk), fees included, so paper fills and live fills are+// priced by the exact same math. Every quote fails closed: a missing or zero+// number throws instead of reading as a free or worthless trade.++import { Connection, PublicKey } from '@solana/web3.js';+import { TOKEN_2022_PROGRAM_ID, TOKEN_PROGRAM_ID } from '@solana/spl-token';+import BN from 'bn.js';+import {+ OnlinePumpSdk,+ PUMP_SDK,+ bondingCurveMarketCap,+ getBuySolAmountFromTokenAmount,+ getBuyTokenAmountFromSolAmount,+ getSellSolAmountFromTokenAmount,+} from '@pump-fun/pump-sdk';+import {+ OnlinePumpAmmSdk,+ PumpAmmSdk,+ buyQuoteInput,+ canonicalPumpPoolPda,+ sellBaseInput,+} from '@pump-fun/pump-swap-sdk';++const WSOL = 'So11111111111111111111111111111111111111112';+// A key nobody holds, used as the "user" when paper mode reads pool state that+// only needs a user to derive token accounts it never touches.+const READ_ONLY_USER = new PublicKey('11111111111111111111111111111112');+const GLOBAL_TTL_MS = 60_000;++const bn = (v) => new BN(BigInt(v).toString());+const big = (v) => BigInt(v.toString());++export class VenueError extends Error {+ constructor(code, message) {+ super(message);+ this.code = code;+ }+}++function requirePositive(value, what) {+ if (value == null) throw new VenueError('quote_unpriced', `${what} was not priced`);+ const v = big(value);+ if (v <= 0n) throw new VenueError('quote_unpriced', `${what} priced at zero`);+ return v;+}++export class PumpVenue {+ constructor({ rpcUrl, connection } = {}) {+ this.connection = connection || new Connection(rpcUrl, 'confirmed');+ this.online = new OnlinePumpSdk(this.connection);+ this.ammOnline = new OnlinePumpAmmSdk(this.connection);+ this.ammOffline = new PumpAmmSdk();+ this.globals = null;+ this.graduated = new Set();+ this.tokenPrograms = new Map();+ }++ /** The program that owns the mint: classic SPL Token or Token-2022. */+ async baseTokenProgram(mintPk) {+ const key = mintPk.toBase58();+ if (this.tokenPrograms.has(key)) return this.tokenPrograms.get(key);+ const info = await this.connection.getAccountInfo(mintPk);+ if (!info) throw new VenueError('mint_not_found', `mint ${key} does not exist`);+ const owner = info.owner.toBase58();+ if (owner !== TOKEN_PROGRAM_ID.toBase58() && owner !== TOKEN_2022_PROGRAM_ID.toBase58()) {+ throw new VenueError('mint_program_unknown', `mint ${key} is owned by ${owner}`);+ }+ this.tokenPrograms.set(key, info.owner);+ return info.owner;+ }++ markGraduated(mint) {+ this.graduated.add(String(mint));+ }++ async curveGlobals() {+ const now = Date.now();+ if (this.globals && now - this.globals.at < GLOBAL_TTL_MS) return this.globals;+ const [global, feeConfig] = await Promise.all([+ this.online.fetchGlobal(),+ this.online.fetchFeeConfig().catch(() => null),+ ]);+ this.globals = { global, feeConfig, at: now };+ return this.globals;+ }++ /** 'curve' while the bonding curve is live, 'amm' once graduated. */+ async venue(mint) {+ const key = String(mint);+ if (this.graduated.has(key)) return 'amm';+ const curve = await this.online.fetchBondingCurve(new PublicKey(key));+ if (curve.complete) {+ this.graduated.add(key);+ return 'amm';+ }+ return 'curve';+ }++ async ammState(mint, user = READ_ONLY_USER) {+ const poolKey = canonicalPumpPoolPda(new PublicKey(String(mint)));+ let state;+ try {+ state = await this.ammOnline.swapSolanaState(poolKey, user);+ } catch (err) {+ throw new VenueError('pool_not_found', `no PumpSwap pool for ${mint}: ${err.message}`);+ }+ if (state.pool.quoteMint.toBase58() !== WSOL) {+ throw new VenueError('pool_not_sol', `pool for ${mint} is not SOL-quoted`);+ }+ const effective = big(state.poolQuoteAmount) + big(state.pool.virtualQuoteReserves ?? 0);+ if (effective <= 0n) throw new VenueError('pool_empty', `pool for ${mint} has no quote depth`);+ return { state, effective };+ }++ ammArgs(state) {+ // The SDK adds virtualQuoteReserves itself: pass the raw vault balance+ // beside it, never a pre-summed reserve, or depth is counted twice.+ return {+ baseReserve: state.poolBaseAmount,+ quoteReserve: state.poolQuoteAmount,+ virtualQuoteReserves: state.pool.virtualQuoteReserves,+ globalConfig: state.globalConfig,+ baseMintAccount: state.baseMintAccount,+ baseMint: state.pool.baseMint,+ quoteMint: state.pool.quoteMint,+ isMayhemMode: state.pool.isMayhemMode,+ creatorFeeBps: state.pool.creatorFeeBps,+ coinCreator: state.pool.coinCreator,+ creator: state.pool.creator,+ feeConfig: state.feeConfig,+ };+ }++ /**+ * What `lamports` buys right now.+ * @returns {{ venue, tokens: bigint, costLamports: bigint, priceImpactPct: number, mayhem: boolean }}+ */+ async quoteBuy(mint, lamports, slippagePct = 5) {+ const venue = await this.venue(mint);+ if (venue === 'amm') {+ const { state, effective } = await this.ammState(mint);+ const r = buyQuoteInput({ quote: bn(lamports), slippage: slippagePct, ...this.ammArgs(state) });+ const tokens = requirePositive(r.base, 'AMM buy');+ const spot = (Number(lamports) * Number(state.poolBaseAmount)) / Number(effective);+ const impact = spot > 0 ? Math.max(0, ((spot - Number(tokens)) / spot) * 100) : 100;+ // Real SOL in the vault, excluding virtual boost depth: what a seller+ // can actually be paid out of.+ const realQuoteLamports = big(state.poolQuoteAmount);+ return { venue, tokens, costLamports: BigInt(lamports), priceImpactPct: impact, mayhem: Boolean(state.pool.isMayhemMode), realQuoteLamports };+ }+ const { global, feeConfig } = await this.curveGlobals();+ const curve = await this.online.fetchBondingCurve(new PublicKey(String(mint)));+ const quoteMint = curve.quoteMint && curve.quoteMint.toBase58() !== PublicKey.default.toBase58() ? curve.quoteMint : new PublicKey(WSOL);+ if (quoteMint.toBase58() !== WSOL) throw new VenueError('curve_not_sol', `curve for ${mint} is not SOL-quoted`);+ const mintSupply = curve.tokenTotalSupply;+ const tokens = getBuyTokenAmountFromSolAmount({ global, feeConfig, mintSupply, bondingCurve: curve, amount: bn(lamports), quoteMint });+ const tokensOut = requirePositive(tokens, 'curve buy');+ const cost = getBuySolAmountFromTokenAmount({ global, feeConfig, mintSupply, bondingCurve: curve, amount: tokens, quoteMint });+ const mcap = bondingCurveMarketCap({ mintSupply, virtualQuoteReserves: curve.virtualQuoteReserves, virtualTokenReserves: curve.virtualTokenReserves });+ const impact = Number(mcap) > 0 ? Math.min(100, (Number(lamports) / Number(mcap)) * 100) : 100;+ return { venue, tokens: tokensOut, costLamports: big(cost), priceImpactPct: impact, mayhem: Boolean(curve.isMayhemMode) };+ }++ /** What selling `tokens` returns right now, in lamports. */+ async quoteSell(mint, tokens, slippagePct = 5) {+ const venue = await this.venue(mint);+ if (venue === 'amm') {+ const { state } = await this.ammState(mint);+ const r = sellBaseInput({ base: bn(tokens), slippage: slippagePct, ...this.ammArgs(state) });+ return { venue, lamports: requirePositive(r.uiQuote ?? r.minQuote, 'AMM sell') };+ }+ const { global, feeConfig } = await this.curveGlobals();+ const curve = await this.online.fetchBondingCurve(new PublicKey(String(mint)));+ const out = getSellSolAmountFromTokenAmount({ global, feeConfig, mintSupply: curve.tokenTotalSupply, bondingCurve: curve, amount: bn(tokens) });+ return { venue, lamports: requirePositive(out, 'curve sell') };+ }++ /** Instructions for a live buy of `lamports` from `user`. */+ async buildBuy(mint, user, lamports, slippagePct = 5) {+ const mintPk = new PublicKey(String(mint));+ const venue = await this.venue(mintPk);+ if (venue === 'amm') {+ const { state } = await this.ammState(mintPk, user);+ return { venue, instructions: await this.ammOffline.buyQuoteInput(state, bn(lamports), slippagePct) };+ }+ const { global, feeConfig } = await this.curveGlobals();+ const tokenProgram = await this.baseTokenProgram(mintPk);+ const buyState = await this.online.fetchBuyState(mintPk, user, tokenProgram);+ if (buyState.bondingCurve.complete) {+ this.markGraduated(mintPk);+ return this.buildBuy(mint, user, lamports, slippagePct);+ }+ const mintSupply = buyState.bondingCurve.tokenTotalSupply;+ const amount = getBuyTokenAmountFromSolAmount({ global, feeConfig, mintSupply, bondingCurve: buyState.bondingCurve, amount: bn(lamports), quoteMint: buyState.quoteMint });+ requirePositive(amount, 'curve buy');+ const quoteAmount = getBuySolAmountFromTokenAmount({ global, feeConfig, mintSupply, bondingCurve: buyState.bondingCurve, amount, quoteMint: buyState.quoteMint });+ const instructions = await PUMP_SDK.buyV2Instructions({+ global,+ bondingCurveAccountInfo: buyState.bondingCurveAccountInfo,+ bondingCurve: buyState.bondingCurve,+ associatedUserAccountInfo: buyState.associatedUserAccountInfo,+ mint: mintPk,+ user,+ amount,+ quoteAmount,+ slippage: slippagePct,+ tokenProgram,+ quoteTokenProgram: buyState.quoteTokenProgram,+ });+ return { venue, instructions };+ }++ /** Instructions for a live sell of `tokens` from `user`. */+ async buildSell(mint, user, tokens, slippagePct = 5) {+ const mintPk = new PublicKey(String(mint));+ const venue = await this.venue(mintPk);+ if (venue === 'amm') {+ const { state } = await this.ammState(mintPk, user);+ return { venue, instructions: await this.ammOffline.sellBaseInput(state, bn(tokens), slippagePct) };+ }+ const { global, feeConfig } = await this.curveGlobals();+ const tokenProgram = await this.baseTokenProgram(mintPk);+ const sellState = await this.online.fetchSellState(mintPk, user, tokenProgram);+ if (sellState.bondingCurve.complete) {+ this.markGraduated(mintPk);+ return this.buildSell(mint, user, tokens, slippagePct);+ }+ const quoteAmount = getSellSolAmountFromTokenAmount({ global, feeConfig, mintSupply: sellState.bondingCurve.tokenTotalSupply, bondingCurve: sellState.bondingCurve, amount: bn(tokens) });+ const instructions = await PUMP_SDK.sellV2Instructions({+ global,+ bondingCurveAccountInfo: sellState.bondingCurveAccountInfo,+ bondingCurve: sellState.bondingCurve,+ mint: mintPk,+ user,+ amount: bn(tokens),+ quoteAmount,+ slippage: slippagePct,+ tokenProgram,+ quoteTokenProgram: sellState.quoteTokenProgram,+ });+ return { venue, instructions };+ }+}diff --git a/satellites/oracle-desk/src/chain/send.js b/satellites/oracle-desk/src/chain/send.jsnew file mode 100644index 000000000..d997f8820--- /dev/null+++ b/satellites/oracle-desk/src/chain/send.js@@ -0,0 +1,116 @@+// Sign, send and confirm, then read what the trade actually did.+//+// Compute limit comes from simulating the exact transaction; the priority fee+// is the 75th percentile of what the network paid recently for the accounts+// involved. After confirmation the fill is read back from the transaction's own+// balance deltas, so the book records what landed, not what was quoted.++import {+ ComputeBudgetProgram,+ TransactionMessage,+ VersionedTransaction,+} from '@solana/web3.js';++const CU_FLOOR = 60_000;+const CU_CEIL = 1_000_000;+const FEE_FLOOR_MICRO = 5_000;+const FEE_CEIL_MICRO = 2_000_000;+const CONFIRM_TIMEOUT_MS = 60_000;++function percentile(values, p) {+ if (!values.length) return 0;+ const sorted = [...values].sort((a, b) => a - b);+ return sorted[Math.min(sorted.length - 1, Math.floor((p / 100) * sorted.length))];+}++function stripComputeBudget(instructions) {+ const id = ComputeBudgetProgram.programId.toBase58();+ return instructions.filter((ix) => ix.programId.toBase58() !== id);+}++async function priorityFeeMicroLamports(connection, instructions) {+ const writable = new Map();+ for (const ix of instructions) {+ for (const k of ix.keys) if (k.isWritable) writable.set(k.pubkey.toBase58(), k.pubkey);+ }+ try {+ const fees = await connection.getRecentPrioritizationFees({ lockedWritableAccounts: [...writable.values()].slice(0, 128) });+ const paid = fees.map((f) => f.prioritizationFee).filter((f) => f > 0);+ return Math.max(FEE_FLOOR_MICRO, Math.min(FEE_CEIL_MICRO, percentile(paid, 75)));+ } catch {+ return FEE_FLOOR_MICRO;+ }+}++function compile(payer, blockhash, instructions) {+ return new VersionedTransaction(+ new TransactionMessage({ payerKey: payer, recentBlockhash: blockhash, instructions }).compileToV0Message(),+ );+}++/**+ * Send `instructions` signed by `keypair`. Throws with the program logs when+ * simulation or the chain rejects it.+ * @returns {Promise<{ signature: string, feeLamports: number, cuLimit: number, microLamports: number }>}+ */+export async function sendInstructions(connection, keypair, instructions) {+ const core = stripComputeBudget(instructions);+ const payer = keypair.publicKey;+ const { blockhash, lastValidBlockHeight } = await connection.getLatestBlockhash('confirmed');++ const probe = compile(payer, blockhash, [ComputeBudgetProgram.setComputeUnitLimit({ units: CU_CEIL }), ...core]);+ const sim = await connection.simulateTransaction(probe, { sigVerify: false, replaceRecentBlockhash: true });+ if (sim.value.err) {+ const tail = (sim.value.logs || []).slice(-6).join(' | ');+ throw Object.assign(new Error(`simulation rejected the trade: ${JSON.stringify(sim.value.err)} ${tail}`), { code: 'simulation_failed' });+ }+ const cuLimit = Math.max(CU_FLOOR, Math.min(CU_CEIL, Math.ceil((sim.value.unitsConsumed || 200_000) * 1.2)));+ const microLamports = await priorityFeeMicroLamports(connection, core);++ const tx = compile(payer, blockhash, [+ ComputeBudgetProgram.setComputeUnitLimit({ units: cuLimit }),+ ComputeBudgetProgram.setComputeUnitPrice({ microLamports }),+ ...core,+ ]);+ tx.sign([keypair]);+ const signature = await connection.sendRawTransaction(tx.serialize(), { skipPreflight: true, maxRetries: 3 });++ const confirmed = await Promise.race([+ connection.confirmTransaction({ signature, blockhash, lastValidBlockHeight }, 'confirmed'),+ new Promise((_, reject) => setTimeout(() => reject(Object.assign(new Error(`not confirmed within ${CONFIRM_TIMEOUT_MS / 1000}s`), { code: 'confirm_timeout', signature })), CONFIRM_TIMEOUT_MS)),+ ]);+ if (confirmed.value.err) {+ throw Object.assign(new Error(`transaction failed on chain: ${JSON.stringify(confirmed.value.err)}`), { code: 'tx_failed', signature });+ }+ return { signature, cuLimit, microLamports };+}++/**+ * What a confirmed transaction did to `owner`: SOL moved (fees included) and+ * the change in their balance of `mint`.+ * @returns {Promise<{ solDeltaLamports: number, tokenDelta: bigint, feeLamports: number }>}+ */+export async function readFill(connection, signature, owner, mint) {+ let tx = null;+ for (let i = 0; i < 10 && !tx; i++) {+ tx = await connection.getTransaction(signature, { maxSupportedTransactionVersion: 0, commitment: 'confirmed' });+ if (!tx) await new Promise((r) => setTimeout(r, 800));+ }+ if (!tx?.meta) throw Object.assign(new Error(`transaction ${signature} not readable yet`), { code: 'fill_unreadable', signature });+ const keys = tx.transaction.message.getAccountKeys({ accountKeysFromLookups: tx.meta.loadedAddresses });+ const ownerStr = owner.toBase58();+ let ownerIndex = -1;+ for (let i = 0; i < keys.length; i++) {+ if (keys.get(i)?.toBase58() === ownerStr) {+ ownerIndex = i;+ break;+ }+ }+ const solDeltaLamports = ownerIndex >= 0 ? tx.meta.postBalances[ownerIndex] - tx.meta.preBalances[ownerIndex] : 0;+ const sum = (rows) =>+ (rows || [])+ .filter((b) => b.owner === ownerStr && b.mint === String(mint))+ .reduce((s, b) => s + BigInt(b.uiTokenAmount.amount), 0n);+ const tokenDelta = sum(tx.meta.postTokenBalances) - sum(tx.meta.preTokenBalances);+ return { solDeltaLamports, tokenDelta, feeLamports: tx.meta.fee };+}diff --git a/satellites/oracle-desk/src/chain/wallet.js b/satellites/oracle-desk/src/chain/wallet.jsnew file mode 100644index 000000000..ab027a9a2--- /dev/null+++ b/satellites/oracle-desk/src/chain/wallet.js@@ -0,0 +1,21 @@+// The trading keypair. Self-custody only: the key stays in your environment or+// on your disk and is never sent anywhere; it only signs locally.++import { readFileSync } from 'node:fs';+import { Keypair } from '@solana/web3.js';+import bs58 from 'bs58';++function fromBytes(bytes) {+ const arr = Uint8Array.from(bytes);+ if (arr.length !== 64) throw new Error(`a Solana secret key is 64 bytes, got ${arr.length}`);+ return Keypair.fromSecretKey(arr);+}++/** Parse a base58 secret, a JSON byte array, or read a keypair file. */+export function loadKeypair({ secretKey, keypairPath }) {+ if (keypairPath) return fromBytes(JSON.parse(readFileSync(keypairPath, 'utf8')));+ if (!secretKey) return null;+ const trimmed = secretKey.trim();+ if (trimmed.startsWith('[')) return fromBytes(JSON.parse(trimmed));+ return fromBytes(bs58.decode(trimmed));+}diff --git a/satellites/oracle-desk/src/config.js b/satellites/oracle-desk/src/config.jsnew file mode 100644index 000000000..69f331f29--- /dev/null+++ b/satellites/oracle-desk/src/config.js@@ -0,0 +1,42 @@+// Configuration: desk.config.json is the org chart, the environment is the+// wiring (mode, keys, RPC). Both are read once at boot.++import { existsSync, readFileSync } from 'node:fs';+import { dirname, join, resolve } from 'node:path';+import { fileURLToPath } from 'node:url';++export const ROOT = resolve(dirname(fileURLToPath(import.meta.url)), '..');+export const LIVE_ACK = 'I_UNDERSTAND_REAL_FUNDS';++export function loadEnv(path = join(ROOT, '.env')) {+ if (existsSync(path)) process.loadEnvFile(path);+}++function num(value, fallback) {+ if (value == null || value === '') return fallback;+ const n = Number(value);+ return Number.isFinite(n) ? n : fallback;+}++export function loadDeskConfig(path = process.env.DESK_CONFIG || join(ROOT, 'desk.config.json')) {+ return JSON.parse(readFileSync(path, 'utf8'));+}++export function loadConfig(env = process.env) {+ const mode = env.DESK_MODE === 'live' ? 'live' : 'paper';+ return {+ mode,+ liveAck: env.DESK_LIVE_ACK === LIVE_ACK,+ rpcUrl: env.SOLANA_RPC_URL || 'https://api.mainnet-beta.solana.com',+ oracleBase: (env.ORACLE_BASE_URL || 'https://three.ws').replace(/\/+$/, ''),+ paperSol: num(env.DESK_PAPER_SOL, 5),+ coldWallet: env.DESK_COLD_WALLET || null,+ port: num(env.DESK_PORT, 4180),+ host: env.DESK_HOST || '127.0.0.1',+ dataDir: env.DESK_DATA_DIR || join(ROOT, 'data'),+ secretKey: env.SOLANA_PRIVATE_KEY || null,+ keypairPath: env.DESK_KEYPAIR || null,+ anthropicKey: env.ANTHROPIC_API_KEY || null,+ desk: loadDeskConfig(),+ };+}diff --git a/satellites/oracle-desk/src/desks/audit.js b/satellites/oracle-desk/src/desks/audit.jsnew file mode 100644index 000000000..9e454cb52--- /dev/null+++ b/satellites/oracle-desk/src/desks/audit.js@@ -0,0 +1,100 @@+// Desk 5: AUDIT. Grades every closed trade against the seat that claimed it+// and feeds the result back into that seat's bars.+//+// The rule is local and bounded. On a loss, the check that came closest to+// saying no at entry (the binding check) moves one step stricter. On a clean+// win (1.5x or better), that same check relaxes half a step, so a seat that is+// too strict can find its way back. Every move stays inside the check's clamp,+// which is what stops the loop from strangling a seat into silence.++import { bindingCheck, evaluateSeat, moveBar, refitSeat } from '../seats.js';+import { sol } from '../ledger.js';++const WIN_MULTIPLE = 1.5;++export class Audit {+ constructor({ bus, research, state }) {+ this.bus = bus;+ this.research = research;+ this.revisions = state.revisions ?? [];+ this.grades = state.grades ?? [];+ this.agents = {+ GRADER: { name: 'GRADER', desk: 'AUDIT', status: 'live', graded: this.grades.length },+ TUNER: { name: 'TUNER', desk: 'AUDIT', status: 'live', revisions: this.revisions.length },+ };+ }++ /** Grade one closed trade and retune its seat. Returns the revision, if any. */+ onClosed(trade, now = Date.now()) {+ const seat = this.research.seat(trade.seat);+ const win = trade.pnl_lamports > 0;+ this.grades.push({ id: trade.id, seat: trade.seat, win, pnl_lamports: trade.pnl_lamports, t: now });+ if (this.grades.length > 1000) this.grades.splice(0, this.grades.length - 1000);+ this.agents.GRADER.graded = this.grades.length;+ this.bus.note(+ 'AUDIT',+ 'GRADER',+ `${trade.symbol || trade.mint.slice(0, 6)} graded ${win ? 'WIN' : 'LOSS'} for ${trade.seat}: ${trade.pnl_lamports >= 0 ? '+' : ''}${sol(trade.pnl_lamports).toFixed(4)} SOL (${trade.multiple.toFixed(2)}x, ${trade.reason.replace(/_/g, ' ')})`,+ { mint: trade.mint, kind: win ? 'win' : 'loss' },+ );+ if (!seat || !trade.coin) return null;++ // Re-judge the verdict the seat bought on, as of entry, to find the check+ // that almost refused it.+ const atEntry = evaluateSeat(seat, trade.coin, trade.opened_at);+ const clean = trade.multiple >= WIN_MULTIPLE;+ if (win && !clean) return null;+ // Bars move between entry and grade. A loser today's bars already refuse+ // needs nothing; a clean winner they now refuse relaxes the check that+ // would turn it away.+ if (!win && !atEntry.pass) return null;+ const binding = atEntry.pass+ ? bindingCheck(atEntry.checks)+ : atEntry.checks.filter((c) => !c.pass && c.value != null).sort((a, b) => b.margin - a.margin)[0];+ if (!binding) return null;+ const move = moveBar(seat, binding.key, win ? -0.5 : 1);+ if (!move) return null;++ seat.rev += 1;+ const why = win+ ? `${trade.symbol || 'a winner'} cleared ${binding.label} by a hair and returned ${trade.multiple.toFixed(2)}x; relaxing it`+ : `${trade.symbol || 'a loser'} slipped through on ${binding.label}; tightening it`;+ return this.record({ seat: seat.id, ...move, why, trade: trade.id, kind: 'tune' }, now);+ }++ /**+ * Rewrite a fired seat from its own window of trades. Called by the head.+ * Returns the moves made (possibly none).+ */+ rewrite(seat, trades, now = Date.now()) {+ const moves = refitSeat(seat, trades);+ seat.rev += 1;+ for (const m of moves) {+ this.record(+ {+ seat: seat.id,+ key: m.key,+ from: m.from,+ to: m.to,+ why: `refit from its own ${trades.length} trades: keeps ${m.kept} (net ${sol(m.keptNet).toFixed(4)} SOL), cuts ${m.dropped} (net ${sol(m.droppedNet).toFixed(4)} SOL)`,+ kind: 'rewrite',+ },+ now,+ );+ }+ return moves;+ }++ record(rev, now) {+ const entry = { n: this.revisions.length + 1, t: now, ...rev };+ this.revisions.push(entry);+ if (this.revisions.length > 500) this.revisions.splice(0, this.revisions.length - 500);+ this.agents.TUNER.revisions = this.revisions.length;+ this.bus.note('AUDIT', 'TUNER', `${rev.seat} ${rev.key}: ${rev.from} -> ${rev.to} (${rev.why})`, { kind: 'revision' });+ return entry;+ }++ toJSON() {+ return { revisions: this.revisions, grades: this.grades };+ }+}diff --git a/satellites/oracle-desk/src/desks/execution.js b/satellites/oracle-desk/src/desks/execution.jsnew file mode 100644index 000000000..a87ab9a71--- /dev/null+++ b/satellites/oracle-desk/src/desks/execution.js@@ -0,0 +1,237 @@+// Desk 3: EXECUTION. Only ever sees coins research already cleared, and only+// acts when risk allows it.+//+// SNIPER sizes, quotes, runs the firewall, and takes the fill+// ROUTER picks the venue (bonding curve or PumpSwap pool) for every trade+// LADDER marks every holding on a timer and works the exits+//+// Paper and live run this same code; the broker decides whether a transaction+// is signed.++import { decideLadderedExit, decideLiquidityDecay, updateStaleClock } from '../exit-logic.js';+import { lamports, sol } from '../ledger.js';++const DUST_LAMPORTS = 100_000;++function agent(name) {+ return { name, desk: 'EXECUTION', status: 'idle', fills: 0, failures: 0, last_ms: null, last_at: null };+}++export class Execution {+ constructor({ bus, config, ledger, risk, broker, firewall, venue, counters }) {+ this.bus = bus;+ this.cfg = config;+ this.ledger = ledger;+ this.risk = risk;+ this.broker = broker;+ this.firewall = firewall;+ this.venue = venue;+ this.counters = counters;+ this.pending = new Set();+ this.selling = new Set();+ this.sweeping = false;+ this.timer = null;+ this.agents = { SNIPER: agent('SNIPER'), ROUTER: agent('ROUTER'), LADDER: agent('LADDER') };+ }++ start() {+ const every = (this.cfg.exits.sweep_every_seconds ?? 5) * 1000;+ this.timer = setInterval(() => this.sweep(), every);+ this.agents.LADDER.status = 'live';+ this.agents.SNIPER.status = 'live';+ this.agents.ROUTER.status = 'live';+ }++ stop() {+ clearInterval(this.timer);+ }++ exitPlan() {+ const x = this.cfg.exits;+ return {+ stop_loss_pct: x.stop_loss_pct,+ trailing_stop_pct: x.trailing_stop_pct,+ take_profit_pct: x.take_profit_pct,+ initials_out_multiple: x.initials_out_multiple,+ moonbag_min_pct: x.moonbag_min_pct,+ max_hold_seconds: x.max_hold_minutes != null ? x.max_hold_minutes * 60 : null,+ };+ }++ async onCandidate({ coin, seat }) {+ const label = coin.symbol || coin.mint.slice(0, 6);+ if (this.pending.has(coin.mint)) return;+ const openCount = this.ledger.open().length + this.pending.size;+ const refusal = this.risk.refusal(coin.mint) || (openCount >= this.risk.cfg.max_open_positions ? 'open-position cap' : null);+ if (refusal) {+ this.counters.blocked += 1;+ this.risk.block(refusal, coin);+ return;+ }+ const size = this.risk.sizeFor(seat);+ if (!size) {+ this.counters.blocked += 1;+ this.risk.block('wallet below reserve', coin);+ return;+ }++ this.pending.add(coin.mint);+ const sniper = this.agents.SNIPER;+ const started = Date.now();+ try {+ const quote = await this.broker.quoteEntry(coin.mint, size);+ this.agents.ROUTER.last_at = Date.now();+ // Price impact on a PumpSwap pool counts virtual boost depth. A pool can+ // quote 2% impact while holding a fraction of a SOL a seller can be+ // paid from, so graduated entries also need real SOL in the vault.+ const minPool = lamports(this.cfg.risk.min_pool_real_sol ?? 0);+ if (quote.venue === 'amm' && quote.realQuoteLamports != null && quote.realQuoteLamports < BigInt(minPool)) {+ this.counters.blocked += 1;+ this.risk.block('thin pool', coin, `pool holds only ${sol(Number(quote.realQuoteLamports)).toFixed(2)} real SOL`);+ return;+ }+ if (quote.priceImpactPct > this.cfg.risk.max_price_impact_pct) {+ this.counters.blocked += 1;+ this.risk.block('price impact', coin, `price impact ${quote.priceImpactPct.toFixed(1)}%`);+ return;+ }+ const balance = this.broker.payer ? await this.broker.balance() : null;+ const wall = await this.firewall.assess({+ mint: coin.mint,+ payer: this.broker.payer,+ entryLamports: size,+ balanceLamports: balance,+ mayhem: quote.mayhem,+ });+ if (!wall.ok) {+ const failed = wall.results.find((r) => r.status === 'fail');+ this.counters.firewalled += 1;+ this.bus.note('EXECUTION', 'SNIPER', `firewall refused ${label}: ${failed.reason}`, { mint: coin.mint, level: 'warn' });+ return;+ }++ const fill = await this.broker.buy(coin.mint, size, quote);+ const position = this.ledger.recordEntry({+ mint: coin.mint,+ symbol: coin.symbol,+ seat: seat.id,+ agent: 'SNIPER',+ costLamports: fill.costLamports,+ tokens: fill.tokens,+ coin,+ exits: this.exitPlan(),+ sig: fill.sig,+ venue: fill.venue,+ now: Date.now(),+ });+ position.firewall = wall.results;+ sniper.fills += 1;+ sniper.last_ms = Date.now() - started;+ sniper.last_at = Date.now();+ this.counters.entries += 1;+ this.bus.note(+ 'EXECUTION',+ 'SNIPER',+ `bought ${label} for ${sol(fill.costLamports).toFixed(4)} SOL on the ${fill.venue === 'amm' ? 'PumpSwap pool' : 'curve'} (${seat.id}, score ${coin.score})`,+ { mint: coin.mint, sig: fill.sig, kind: 'entry' },+ );+ await this.bus.publish('entry', { position, seat });+ } catch (err) {+ sniper.failures += 1;+ this.bus.note('EXECUTION', 'SNIPER', `entry on ${label} failed: ${err.message}`, { mint: coin.mint, level: 'error', sig: err.signature });+ } finally {+ this.pending.delete(coin.mint);+ }+ }++ /** Mark every holding and work the exits. One sweep at a time. */+ async sweep(now = Date.now()) {+ if (this.sweeping) return;+ this.sweeping = true;+ try {+ const held = [...this.ledger.open(), ...this.ledger.bags()];+ await Promise.all(held.map((p) => this.work(p, now)));+ this.agents.LADDER.last_at = Date.now();+ } finally {+ this.sweeping = false;+ }+ }++ async work(p, now) {+ if (this.selling.has(p.mint)) return;+ let value;+ try {+ value = await this.broker.mark(p.mint, p.tokens);+ } catch (err) {+ p.mark_error = err.message.slice(0, 120);+ return;+ }+ p.mark_error = null;+ p.marked_at = now;+ p.stale_since = updateStaleClock(p.prev_value, value, p.entry_lamports, p.stale_since, now);+ p.prev_value = value;+ p.value_lamports = value;+ p.peak_lamports = Math.max(p.peak_lamports, value);++ if (p.status === 'bag') {+ if (value < DUST_LAMPORTS) {+ p.status = 'closed';+ p.value_lamports = 0;+ this.bus.note('EXECUTION', 'LADDER', `${p.symbol || p.mint.slice(0, 6)} bag faded to dust and was written off`, { mint: p.mint });+ }+ return;+ }++ if (decideLiquidityDecay(p.stale_since, this.cfg.exits.liquidity_decay_seconds, now)) {+ return this.exit(p, { reason: 'dead_liquidity', sellFraction: 1 }, now);+ }+ const decision = decideLadderedExit(p, value, p.peak_lamports, now);+ if (decision) await this.exit(p, decision, now);+ }++ async exit(p, decision, now = Date.now()) {+ const ladder = this.agents.LADDER;+ const label = p.symbol || p.mint.slice(0, 6);+ const total = BigInt(p.tokens);+ const amount = decision.sellFraction >= 1 ? total : (total * BigInt(Math.floor(decision.sellFraction * 1e6))) / 1_000_000n;+ if (amount <= 0n) return;+ this.selling.add(p.mint);+ try {+ const fill = await this.broker.sell(p.mint, amount, { closeAccount: amount === total });+ const trade = this.ledger.recordExit(p.mint, {+ soldTokens: fill.soldTokens,+ proceedsLamports: fill.proceedsLamports,+ reason: decision.reason,+ sig: fill.sig,+ now,+ keepsMoonbag: decision.keepsMoonbag,+ recoversInitials: decision.recoversInitials,+ });+ ladder.fills += 1;+ ladder.last_at = Date.now();+ const pctSold = Math.round(Number(amount * 100n) / Number(total || 1n));+ this.bus.note(+ 'EXECUTION',+ 'LADDER',+ `${decision.reason.replace(/_/g, ' ')} on ${label}: sold ${pctSold}% for ${sol(fill.proceedsLamports).toFixed(4)} SOL`,+ { mint: p.mint, sig: fill.sig, kind: 'exit' },+ );+ if (trade) {+ this.counters.closed += 1;+ await this.bus.publish('closed', trade);+ }+ } catch (err) {+ ladder.failures += 1;+ this.bus.note('EXECUTION', 'LADDER', `exit on ${label} failed, retrying next sweep: ${err.message}`, { mint: p.mint, level: 'error', sig: err.signature });+ } finally {+ this.selling.delete(p.mint);+ }+ }++ /** Operator action: sell everything left in one position, bag included. */+ async close(mint) {+ const p = this.ledger.positions[mint];+ if (!p || p.status === 'closed') throw new Error('no such position');+ await this.exit(p, { reason: 'manual', sellFraction: 1 });+ }+}diff --git a/satellites/oracle-desk/src/desks/head.js b/satellites/oracle-desk/src/desks/head.jsnew file mode 100644index 000000000..ea32172c3--- /dev/null+++ b/satellites/oracle-desk/src/desks/head.js@@ -0,0 +1,122 @@+// HEAD OF DESK. Never trades.+//+// On its review interval it reads every seat's realized record and makes two+// calls: who gets more budget, and who gets fired. Fired means audit rewrites+// that seat's bars from its own window of trades, and the seat starts a fresh+// window to prove the new configuration. At most one firing per cooldown, and a+// seat is only judged once it has enough closed trades to judge.+//+// Every decision is made from the numbers. When an LLM key is configured, the+// head also writes a short memo narrating the review; the memo never decides.++import { gradeSeat } from '../seats.js';+import { sol } from '../ledger.js';++export class Head {+ constructor({ bus, config, research, audit, ledger, memo, state }) {+ this.bus = bus;+ this.cfg = config.head;+ this.research = research;+ this.audit = audit;+ this.ledger = ledger;+ this.memo = memo;+ this.decisions = state.decisions ?? [];+ this.memos = state.memos ?? [];+ this.lastReview = state.lastReview ?? Date.now();+ this.lastFire = state.lastFire ?? 0;+ this.firings = state.firings ?? 0;+ this.agent = { name: 'HEAD', desk: 'HEAD', status: 'live' };+ }++ seatTrades(seat) {+ return this.ledger.trades.filter((t) => t.seat === seat.id && t.opened_at >= seat.window_start);+ }++ roster() {+ return this.research.seats.map((seat) => ({ seat, grade: gradeSeat(this.seatTrades(seat)) }));+ }++ due(now = Date.now()) {+ return now - this.lastReview >= this.cfg.review_every_minutes * 60_000;+ }++ /**+ * One review. Pure over the ledger and seats apart from the memo call.+ * @returns {{ promoted: string|null, fired: string|null, roster }}+ */+ async review(now = Date.now()) {+ this.lastReview = now;+ const roster = this.roster();+ const judged = roster.filter((r) => r.grade.n >= this.cfg.min_trades_to_judge);+ let promoted = null;+ let fired = null;++ if (judged.length) {+ const best = judged.reduce((a, b) => (b.grade.score > a.grade.score ? b : a));+ if (best.grade.score > 0.5 && best.seat.budget < this.cfg.max_budget) {+ best.seat.budget = Number(Math.min(this.cfg.max_budget, best.seat.budget + this.cfg.promote_step).toFixed(2));+ promoted = best.seat.id;+ this.decide(now, 'promote', best.seat.id, `best record on the desk (${this.describe(best.grade)}); budget now ${best.seat.budget}x`);+ }+ }++ const cooled = now - this.lastFire >= this.cfg.cooldown_minutes * 60_000;+ if (cooled && judged.length) {+ const worst = judged.reduce((a, b) => (b.grade.score < a.grade.score ? b : a));+ if (worst.grade.score < this.cfg.fire_below_score && worst.seat.id !== promoted) {+ const trades = this.seatTrades(worst.seat);+ const moves = this.audit.rewrite(worst.seat, trades, now);+ worst.seat.window_start = now;+ worst.seat.budget = 1;+ worst.seat.fired += 1;+ worst.seat.hired_at = now;+ this.lastFire = now;+ this.firings += 1;+ fired = worst.seat.id;+ const change = moves.length ? moves.map((m) => `${m.key} ${m.from} -> ${m.to}`).join(', ') : 'bars already fit its record; fresh window only';+ this.decide(now, 'fire', worst.seat.id, `${this.describe(worst.grade)}, below the ${this.cfg.fire_below_score} bar. Rewritten: ${change}`);+ }+ }++ if (!promoted && !fired) {+ this.decide(now, 'hold', null, judged.length ? 'no seat earned a change this window' : `no seat has ${this.cfg.min_trades_to_judge} closed trades yet`);+ }++ await this.writeMemo(now, roster, { promoted, fired });+ return { promoted, fired, roster };+ }++ describe(grade) {+ return `${grade.wins}/${grade.n} wins, ${grade.netLamports >= 0 ? '+' : ''}${sol(grade.netLamports).toFixed(4)} SOL, score ${grade.score.toFixed(2)}`;+ }++ decide(now, kind, seat, text) {+ const entry = { t: now, kind, seat, text };+ this.decisions.push(entry);+ if (this.decisions.length > 300) this.decisions.splice(0, this.decisions.length - 300);+ this.bus.note('HEAD', 'HEAD', seat ? `${kind} ${seat}: ${text}` : text, { kind: `head-${kind}` });+ }++ async writeMemo(now, roster, outcome) {+ if (!this.memo?.enabled) return;+ try {+ const text = await this.memo.write({ roster, outcome, ledger: this.ledger, revisions: this.audit.revisions.slice(-10) });+ if (!text) return;+ this.memos.push({ t: now, text, model: this.memo.model });+ if (this.memos.length > 50) this.memos.splice(0, this.memos.length - 50);+ this.bus.note('HEAD', 'HEAD', `memo: ${text}`, { kind: 'memo' });+ } catch (err) {+ this.bus.note('HEAD', 'HEAD', `memo unavailable: ${err.message}`, { level: 'warn' });+ }+ }++ toJSON() {+ return {+ decisions: this.decisions,+ memos: this.memos,+ lastReview: this.lastReview,+ lastFire: this.lastFire,+ firings: this.firings,+ };+ }+}diff --git a/satellites/oracle-desk/src/desks/radar.js b/satellites/oracle-desk/src/desks/radar.jsnew file mode 100644index 000000000..71cd2d2f0--- /dev/null+++ b/satellites/oracle-desk/src/desks/radar.js@@ -0,0 +1,145 @@+// Desk 1: RADAR. Sees everything, buys nothing.+//+// LAUNCHES every pump.fun mint the moment it is created (PumpPortal)+// STREAM every Oracle verdict the moment it is scored (SSE)+// SWEEP the Oracle feed on a timer, so nothing scored between two+// stream connections is ever missed+//+// A verdict is forwarded to research once per (mint, scored_at): a coin the+// Oracle re-scores upward gets a second look, which is how a seat catches a+// coin crossing its bar after launch.++import WebSocket from 'ws';++const PUMPPORTAL_URL = 'wss://pumpportal.fun/api/data';+const RECONNECT_MAX_MS = 30_000;+const WATCHDOG_MS = 120_000;+const SEEN_LIMIT = 5_000;++export class Radar {+ constructor({ bus, oracle, config, counters }) {+ this.bus = bus;+ this.oracle = oracle;+ this.config = config;+ this.counters = counters;+ this.seen = new Map();+ this.agents = {+ LAUNCHES: { name: 'LAUNCHES', desk: 'RADAR', status: 'idle', count: 0, last_at: null },+ STREAM: { name: 'STREAM', desk: 'RADAR', status: 'idle', count: 0, last_at: null },+ SWEEP: { name: 'SWEEP', desk: 'RADAR', status: 'idle', count: 0, last_at: null },+ };+ this.timers = [];+ this.ws = null;+ this.backoff = 1_000;+ this.stopped = false;+ }++ start() {+ this.stopped = false;+ this.connectLaunches();+ this.oracle.stream({+ onCoin: (coin) => this.ingest(coin, 'STREAM'),+ onStatus: (status) => {+ const prev = this.agents.STREAM.status;+ this.agents.STREAM.status = status;+ if (status === 'live' && prev !== 'live' && prev !== 'idle') this.bus.note('RADAR', 'STREAM', 'Oracle stream reconnected');+ },+ });+ const pollMs = (this.config.radar?.feed_poll_seconds ?? 30) * 1000;+ this.sweep();+ this.timers.push(setInterval(() => this.sweep(), pollMs));+ this.timers.push(setInterval(() => this.watchdog(), 15_000));+ }++ stop() {+ this.stopped = true;+ for (const t of this.timers) clearInterval(t);+ this.timers = [];+ this.oracle.close();+ this.ws?.terminate();+ this.ws = null;+ }++ async sweep() {+ const agent = this.agents.SWEEP;+ try {+ const body = await this.oracle.feed({ limit: 100 });+ agent.status = 'live';+ // Oldest first, so research sees verdicts in the order they happened.+ const items = [...(body.items || [])].reverse();+ for (const coin of items) this.ingest(coin, 'SWEEP');+ } catch (err) {+ agent.status = 'error';+ this.bus.note('RADAR', 'SWEEP', `Oracle feed unavailable: ${err.message}`, { level: 'warn' });+ }+ }++ ingest(coin, via) {+ if (!coin?.mint || coin.score == null) return;+ const key = `${coin.mint}:${coin.scored_at || ''}`;+ const agent = this.agents[via];+ agent.last_at = Date.now();+ if (this.seen.has(key)) return;+ this.seen.set(key, Date.now());+ if (this.seen.size > SEEN_LIMIT) {+ const drop = this.seen.size - SEEN_LIMIT;+ let i = 0;+ for (const k of this.seen.keys()) {+ if (i++ >= drop) break;+ this.seen.delete(k);+ }+ }+ agent.count += 1;+ this.counters.verdicts += 1;+ this.bus.publish('verdict', coin);+ }++ connectLaunches() {+ if (this.stopped) return;+ const agent = this.agents.LAUNCHES;+ const ws = new WebSocket(PUMPPORTAL_URL);+ this.ws = ws;+ agent.status = 'connecting';+ ws.on('open', () => {+ this.backoff = 1_000;+ agent.status = 'live';+ agent.last_at = Date.now();+ ws.send(JSON.stringify({ method: 'subscribeNewToken' }));+ ws.send(JSON.stringify({ method: 'subscribeMigration' }));+ });+ ws.on('message', (raw) => {+ let msg;+ try {+ msg = JSON.parse(raw.toString());+ } catch {+ return;+ }+ agent.last_at = Date.now();+ if (msg.txType === 'create' && msg.mint) {+ agent.count += 1;+ this.counters.launches += 1;+ } else if (msg.txType === 'migrate' && msg.mint) {+ this.counters.graduations += 1;+ this.bus.publish('graduated', msg.mint);+ }+ });+ const retry = () => {+ if (this.stopped || this.ws !== ws) return;+ agent.status = 'reconnecting';+ const wait = this.backoff;+ this.backoff = Math.min(RECONNECT_MAX_MS, this.backoff * 2);+ setTimeout(() => this.connectLaunches(), wait);+ };+ ws.on('close', retry);+ ws.on('error', () => ws.terminate());+ }++ /** A socket that is open but silent is dead. Kill it and reconnect. */+ watchdog() {+ const agent = this.agents.LAUNCHES;+ if (agent.status === 'live' && agent.last_at && Date.now() - agent.last_at > WATCHDOG_MS) {+ this.bus.note('RADAR', 'LAUNCHES', 'launch feed silent for 2 minutes, reconnecting', { level: 'warn' });+ this.ws?.terminate();+ }+ }+}diff --git a/satellites/oracle-desk/src/desks/research.js b/satellites/oracle-desk/src/desks/research.jsnew file mode 100644index 000000000..899cfa908--- /dev/null+++ b/satellites/oracle-desk/src/desks/research.js@@ -0,0 +1,60 @@+// Desk 2: RESEARCH. Every verdict radar forwards is judged by every seat.+// Most of them die here.+//+// When more than one seat clears a coin, the seat with the widest thinnest+// margin claims it (the seat least likely to have been wrong), so each entry+// is owned by exactly one seat and graded against it.++import { evaluateSeat, makeSeat } from '../seats.js';++export class Research {+ constructor({ bus, config, counters, state }) {+ this.bus = bus;+ this.counters = counters;+ this.seats = state.seats?.length ? state.seats : config.research.seats.map((d) => makeSeat(d, Date.now()));+ this.killedBy = state.killedBy ?? {};+ this.lastPass = [];+ }++ seat(id) {+ return this.seats.find((s) => s.id === id);+ }++ /** Judge one verdict. Returns the claim, or null when every seat said no. */+ judge(coin, now = Date.now()) {+ let claim = null;+ for (const seat of this.seats) {+ seat.stats.seen += 1;+ const verdict = evaluateSeat(seat, coin, now);+ if (!verdict.pass) {+ const failed = verdict.checks.find((c) => !c.pass);+ if (failed) this.killedBy[failed.key] = (this.killedBy[failed.key] ?? 0) + 1;+ continue;+ }+ seat.stats.passed += 1;+ const thinnest = Math.min(...verdict.checks.map((c) => c.margin));+ if (!claim || thinnest > claim.thinnest) claim = { seat, checks: verdict.checks, thinnest };+ }+ return claim;+ }++ async onVerdict(coin) {+ const claim = this.judge(coin);+ if (!claim) return;+ this.counters.cleared += 1;+ claim.seat.stats.claimed += 1;+ const pass = { t: Date.now(), mint: coin.mint, symbol: coin.symbol, seat: claim.seat.id, score: coin.score, tier: coin.tier };+ this.lastPass = [pass, ...this.lastPass].slice(0, 30);+ this.bus.note(+ 'RESEARCH',+ claim.seat.id,+ `${coin.symbol || coin.mint.slice(0, 6)} cleared: score ${coin.score} ${coin.tier}, rug ${coin.rug_risk ?? '?'}, give-back ${coin.give_back_risk ?? '?'}`,+ { mint: coin.mint },+ );+ await this.bus.publish('candidate', { coin, seat: claim.seat, checks: claim.checks });+ }++ toJSON() {+ return { seats: this.seats, killedBy: this.killedBy };+ }+}diff --git a/satellites/oracle-desk/src/desks/risk.js b/satellites/oracle-desk/src/desks/risk.jsnew file mode 100644index 000000000..45443d84f--- /dev/null+++ b/satellites/oracle-desk/src/desks/risk.js@@ -0,0 +1,77 @@+// Desk 4: RISK. One agent, and it outranks everyone, the head included.+//+// It sizes every entry and can refuse any of them: frozen by treasury, the+// open-position cap, the hourly entry cap, the daily loss cap, a coin the desk+// already holds, or a wallet that would dip below its reserve. When it says+// no, nobody overrides it.++import { lamports, sol } from '../ledger.js';++const HOUR_MS = 3_600_000;++export class Risk {+ constructor({ bus, config, ledger, state }) {+ this.bus = bus;+ this.cfg = config.risk;+ this.ledger = ledger;+ this.frozen = state.frozen ?? false;+ this.paused = state.paused ?? false;+ this.blocks = state.blocks ?? {};+ this.lastLogged = {};+ this.agent = { name: 'RISK', desk: 'RISK', status: 'live' };+ }++ /**+ * Why this entry must not happen, or null when it may. Pure over the+ * ledger's current state.+ */+ refusal(mint, now = Date.now()) {+ if (this.paused) return 'desk paused';+ if (this.frozen) return 'treasury freeze';+ if (this.ledger.holding(mint)) return 'already holding';+ if (this.ledger.open().length >= this.cfg.max_open_positions) return 'open-position cap';+ if (this.ledger.entriesSince(now - HOUR_MS) >= this.cfg.max_entries_per_hour) return 'hourly entry cap';+ if (-this.ledger.realizedToday(now) >= lamports(this.cfg.daily_loss_cap_sol)) return 'daily loss cap';+ return null;+ }++ /** Entry size in lamports for a seat, or 0 when the wallet cannot afford it. */+ sizeFor(seat) {+ const cap = this.ledger.walletLamports * this.cfg.max_position_fraction;+ const want = lamports(this.cfg.base_size_sol) * Math.max(0.2, seat.budget);+ const spendable = this.ledger.walletLamports - lamports(this.cfg.min_wallet_reserve_sol);+ const size = Math.floor(Math.min(cap, want, spendable));+ return size > 1_000_000 ? size : 0;+ }++ /** Count a refusal under a stable `reason`; `detail` only colors the log line. */+ block(reason, coin, detail = null, now = Date.now()) {+ this.blocks[reason] = (this.blocks[reason] ?? 0) + 1;+ // At a cap every cleared coin is refused for the same reason; one line a+ // minute per reason says so without drowning the tape.+ if (reason === 'already holding' || now - (this.lastLogged[reason] ?? 0) < 60_000) return;+ this.lastLogged[reason] = now;+ this.bus.note('RISK', 'RISK', `blocked ${coin.symbol || coin.mint.slice(0, 6)}: ${detail || reason}`, { mint: coin.mint, level: 'warn' });+ }++ describe() {+ return {+ frozen: this.frozen,+ paused: this.paused,+ blocks: this.blocks,+ caps: {+ max_open_positions: this.cfg.max_open_positions,+ max_entries_per_hour: this.cfg.max_entries_per_hour,+ daily_loss_cap_sol: this.cfg.daily_loss_cap_sol,+ base_size_sol: this.cfg.base_size_sol,+ max_position_fraction: this.cfg.max_position_fraction,+ reserve_sol: this.cfg.min_wallet_reserve_sol,+ },+ wallet_sol: sol(this.ledger.walletLamports),+ };+ }++ toJSON() {+ return { frozen: this.frozen, paused: this.paused, blocks: this.blocks };+ }+}diff --git a/satellites/oracle-desk/src/desks/treasury.js b/satellites/oracle-desk/src/desks/treasury.jsnew file mode 100644index 000000000..606c7b626--- /dev/null+++ b/satellites/oracle-desk/src/desks/treasury.js@@ -0,0 +1,63 @@+// Desk 6: TREASURY. Banks profit and guards the downside.+//+// If hot equity (wallet plus marked holdings) falls below a fraction of where+// the desk started, treasury freezes risk: no new entries until equity climbs+// back. Exits keep running while frozen, since selling only ever reduces risk. On+// its sweep interval it moves surplus above the keep line out of the trading+// wallet: into the paper vault, or in live mode to DESK_COLD_WALLET.++import { sol } from '../ledger.js';++export class Treasury {+ constructor({ bus, config, ledger, risk, broker, state }) {+ this.bus = bus;+ this.cfg = config.treasury;+ this.ledger = ledger;+ this.risk = risk;+ this.broker = broker;+ this.lastSweep = state.lastSweep ?? Date.now();+ this.sweeps = state.sweeps ?? [];+ this.agent = { name: 'VAULT', desk: 'TREASURY', status: 'live' };+ }++ /** Freeze or lift based on hot equity. Returns the new frozen state. */+ guard() {+ const start = this.ledger.startLamports;+ if (!start) return this.risk.frozen;+ const equity = this.ledger.hotEquity();+ if (!this.risk.frozen && equity < start * this.cfg.freeze_below_fraction) {+ this.risk.frozen = true;+ this.bus.note('TREASURY', 'VAULT', `equity ${sol(equity).toFixed(3)} SOL is below ${Math.round(this.cfg.freeze_below_fraction * 100)}% of start: new entries frozen`, { level: 'warn', kind: 'freeze' });+ } else if (this.risk.frozen && equity >= start * this.cfg.unfreeze_at_fraction) {+ this.risk.frozen = false;+ this.bus.note('TREASURY', 'VAULT', `equity recovered to ${sol(equity).toFixed(3)} SOL: freeze lifted`, { kind: 'unfreeze' });+ }+ return this.risk.frozen;+ }++ async maybeSweep(now = Date.now()) {+ if (now - this.lastSweep < this.cfg.sweep_every_minutes * 60_000) return null;+ this.lastSweep = now;+ const keep = this.ledger.startLamports * this.cfg.keep_multiple_of_start;+ const surplus = Math.max(0, Math.floor(this.ledger.walletLamports - keep));+ if (surplus <= 0) return null;+ try {+ const result = await this.broker.sweep(surplus);+ if (result.sent || this.broker.mode === 'paper') {+ this.ledger.sweep(this.ledger.walletLamports - surplus);+ this.sweeps.push({ t: now, lamports: surplus, sig: result.sig || null });+ this.bus.note('TREASURY', 'VAULT', `swept ${sol(surplus).toFixed(4)} SOL of profit to ${this.broker.mode === 'paper' ? 'the vault' : 'cold storage'}`, { sig: result.sig, kind: 'sweep' });+ } else {+ this.bus.note('TREASURY', 'VAULT', `${sol(surplus).toFixed(4)} SOL is above the keep line; not swept (${result.reason})`);+ }+ return result;+ } catch (err) {+ this.bus.note('TREASURY', 'VAULT', `sweep failed: ${err.message}`, { level: 'error' });+ return null;+ }+ }++ toJSON() {+ return { lastSweep: this.lastSweep, sweeps: this.sweeps.slice(-100) };+ }+}diff --git a/satellites/oracle-desk/src/exit-logic.js b/satellites/oracle-desk/src/exit-logic.jsnew file mode 100644index 000000000..a742b5fa2--- /dev/null+++ b/satellites/oracle-desk/src/exit-logic.js@@ -0,0 +1,113 @@+// Pure exit decisions. No I/O and no clock of its own.+//+// Ported from the three.ws sniper fleet, where these rules were tuned against+// real fills: the hard stop always wins, the trailing stop only arms once the+// position has been green, the first profit event returns the stake and never+// more, and a bag always rides once the stake is back.++/** Coerce to a finite number, or null. Null means "disabled", never zero. */+export function pct(n) {+ if (n == null || n === '') return null;+ const x = Number(n);+ return Number.isFinite(x) ? x : null;+}++/** The take-initials multiple, or null when the ladder is off. Must be above 1. */+export function ladderMultiple(n) {+ const x = pct(n);+ return x != null && x > 1 ? x : null;+}++/** Moon-bag floor as a fraction of the position, clamped to [0, 0.95]. */+export function moonbagFraction(n) {+ const x = pct(n);+ return Math.max(0, Math.min(0.95, (x == null ? 15 : x) / 100));+}++/**+ * How much of the remaining position a terminal exit sells when a bag may+ * ride. Never 1. With the stake already recovered the whole remainder is house+ * money, so bank down to the floor. Still carrying cost but in profit: sell+ * exactly enough to return the stake.+ */+export function moonbagExitFraction(entry, value, moonbag, houseMoney) {+ const cap = 1 - moonbag;+ if (!(value > 0)) return cap;+ const target = houseMoney ? cap : entry / value;+ return Math.max(0, Math.min(target, cap));+}++/**+ * Liquidity-decay clock. A bonding-curve quote only moves when someone trades,+ * so an underwater position whose value is exactly unchanged sweep after sweep+ * is a coin nobody is trading. Returns the new stale-since (epoch ms) or null.+ */+export function updateStaleClock(prevValue, value, entry, staleSince, now) {+ const underwater = value < entry;+ const unchanged = prevValue != null && Number(prevValue) === Number(value);+ if (!underwater || !unchanged) return null;+ return staleSince ?? now;+}++export function decideLiquidityDecay(staleSince, decaySeconds, now) {+ if (staleSince == null || !(decaySeconds > 0)) return false;+ return (now - staleSince) / 1000 >= decaySeconds;+}++/**+ * Laddered exit: the reason and the fraction of the CURRENT remaining position+ * to sell, or null to hold.+ *+ * Priority: stop_loss, trailing_stop, take_initials, take_profit, timeout.+ *+ * @param {object} pos { entry_lamports, stop_loss_pct, trailing_stop_pct,+ * take_profit_pct, initials_out_multiple, moonbag_min_pct, max_hold_seconds,+ * opened_at, initials_recovered }+ * @param {number} value current value of the remaining position (lamports)+ * @param {number} peak high-water mark of value since entry (lamports)+ * @param {number} now epoch ms+ * @returns {{ reason: string, sellFraction: number, recoversInitials?: boolean, keepsMoonbag?: boolean } | null}+ */+export function decideLadderedExit(pos, value, peak, now) {+ const entry = Number(pos.entry_lamports);+ if (!(entry > 0)) return null;++ const mult = ladderMultiple(pos.initials_out_multiple);+ const moonbag = moonbagFraction(pos.moonbag_min_pct);+ const recovered = pos.initials_recovered === true;+ const sl = pct(pos.stop_loss_pct);+ const ts = pct(pos.trailing_stop_pct);+ const tp = pct(pos.take_profit_pct);++ let reason = null;+ if (sl != null && value <= entry * (1 - sl / 100)) {+ reason = 'stop_loss';+ } else if (ts != null && peak > entry && value <= peak * (1 - ts / 100)) {+ // Armed only once the position has been green. Armed underwater it just+ // realizes small losses; the hard stop above already caps the downside.+ reason = 'trailing_stop';+ } else if (mult != null && !recovered && value >= entry * mult) {+ const sellFraction = Math.max(0, Math.min(entry / value, 1 - moonbag));+ if (sellFraction > 0) return { reason: 'take_initials', sellFraction, recoversInitials: true };+ }++ if (reason == null) {+ if (tp != null && value >= entry * (1 + tp / 100) && (recovered || mult == null)) {+ reason = 'take_profit';+ } else {+ const heldS = (now - pos.opened_at) / 1000;+ if (pos.max_hold_seconds != null && heldS >= pos.max_hold_seconds) reason = 'timeout';+ }+ }+ if (reason == null) return null;++ // Before the stake is back the position is our money: a loss or a stop is a+ // full exit. Once in profit or on house money, a bag always rides.+ const inProfit = value > entry;+ if (!recovered && !inProfit) return { reason, sellFraction: 1 };+ if (!recovered && reason === 'stop_loss') return { reason, sellFraction: 1 };++ const sellFraction = moonbagExitFraction(entry, value, moonbag, recovered);+ if (!(sellFraction > 0)) return null;+ return { reason, sellFraction, keepsMoonbag: true };+}diff --git a/satellites/oracle-desk/src/ledger.js b/satellites/oracle-desk/src/ledger.jsnew file mode 100644index 000000000..0b312b936--- /dev/null+++ b/satellites/oracle-desk/src/ledger.js@@ -0,0 +1,194 @@+// The book. Every lamport the desk commits or recovers passes through here, in+// both modes, so paper and live P&L are computed by the same code.+//+// Lifecycle of a position:+// open -> the stake is at risk; counts against the risk desk's slots+// bag -> the stake-bearing part closed (graded by audit); what is left is+// house money riding, marked to market, outside the slots+// closed-> nothing left+//+// Amounts: SOL in lamports (Number; safe well past any wallet this desk runs),+// token amounts as decimal strings of base units.++export const LAMPORTS_PER_SOL = 1_000_000_000;+export const sol = (lamports) => Number(lamports || 0) / LAMPORTS_PER_SOL;+export const lamports = (s) => Math.round(Number(s || 0) * LAMPORTS_PER_SOL);++const DAY_MS = 86_400_000;++export function dayKey(t) {+ return new Date(t).toISOString().slice(0, 10);+}++export class Ledger {+ constructor(state = {}) {+ this.startLamports = state.startLamports ?? 0;+ this.walletLamports = state.walletLamports ?? 0;+ this.vaultLamports = state.vaultLamports ?? 0;+ this.positions = state.positions ?? {};+ this.trades = state.trades ?? [];+ this.realizedByDay = state.realizedByDay ?? {};+ this.entryTimes = state.entryTimes ?? [];+ this.seq = state.seq ?? 0;+ }++ toJSON() {+ return {+ startLamports: this.startLamports,+ walletLamports: this.walletLamports,+ vaultLamports: this.vaultLamports,+ positions: this.positions,+ trades: this.trades.slice(-500),+ realizedByDay: this.realizedByDay,+ entryTimes: this.entryTimes,+ seq: this.seq,+ };+ }++ open() {+ return Object.values(this.positions).filter((p) => p.status === 'open');+ }++ bags() {+ return Object.values(this.positions).filter((p) => p.status === 'bag');+ }++ holding(mint) {+ const p = this.positions[mint];+ return Boolean(p && p.status !== 'closed');+ }++ entriesSince(t) {+ return this.entryTimes.filter((x) => x >= t).length;+ }++ realizedToday(now) {+ return this.realizedByDay[dayKey(now)] ?? 0;+ }++ /** Mark-to-market value of everything still held (open + bags). */+ markLamports() {+ let total = 0;+ for (const p of Object.values(this.positions)) {+ if (p.status !== 'closed') total += Number(p.value_lamports || 0);+ }+ return total;+ }++ /** Hot equity: what the trading wallet plus its holdings are worth now. */+ hotEquity() {+ return this.walletLamports + this.markLamports();+ }++ /** Net P&L since the desk started, vault included. */+ netLamports() {+ return this.hotEquity() + this.vaultLamports - this.startLamports;+ }++ recordEntry({ mint, symbol, seat, agent, costLamports, tokens, coin, exits, sig, now, venue }) {+ const id = `t${++this.seq}`;+ this.walletLamports -= costLamports;+ this.entryTimes.push(now);+ this.entryTimes = this.entryTimes.filter((x) => x >= now - DAY_MS);+ this.positions[mint] = {+ id,+ mint,+ symbol,+ seat,+ agent,+ venue,+ status: 'open',+ opened_at: now,+ entry_lamports: costLamports,+ cost_lamports: costLamports,+ tokens: String(tokens),+ value_lamports: costLamports,+ peak_lamports: costLamports,+ proceeds_lamports: 0,+ initials_recovered: false,+ stale_since: null,+ prev_value: null,+ coin,+ fills: [{ side: 'buy', t: now, lamports: costLamports, tokens: String(tokens), sig: sig || null }],+ ...exits,+ };+ return this.positions[mint];+ }++ /**+ * Book a sell of `soldTokens` for `proceedsLamports`. Returns the graded+ * trade when the stake-bearing part of the position just closed.+ */+ recordExit(mint, { soldTokens, proceedsLamports, reason, sig, now, keepsMoonbag, recoversInitials }) {+ const p = this.positions[mint];+ if (!p) return null;+ const before = BigInt(p.tokens);+ const sold = BigInt(soldTokens) > before ? before : BigInt(soldTokens);+ const remaining = before - sold;+ const fraction = before > 0n ? Number(sold) / Number(before) : 1;++ this.walletLamports += proceedsLamports;+ p.proceeds_lamports += proceedsLamports;+ p.tokens = remaining.toString();+ p.value_lamports = Math.round(Number(p.value_lamports) * (1 - fraction));+ p.peak_lamports = Math.max(p.value_lamports, Math.round(Number(p.peak_lamports) * (1 - fraction)));+ p.fills.push({ side: 'sell', t: now, lamports: proceedsLamports, tokens: sold.toString(), reason, sig: sig || null });+ const day = dayKey(now);++ if (p.status === 'bag') {+ // A bag is house money: whatever it returns is pure realized gain on a+ // trade audit already graded.+ this.realizedByDay[day] = (this.realizedByDay[day] ?? 0) + proceedsLamports;+ const trade = this.trades.find((t) => t.id === p.id);+ if (trade) {+ trade.bag_proceeds_lamports = (trade.bag_proceeds_lamports ?? 0) + proceedsLamports;+ trade.pnl_lamports += proceedsLamports;+ }+ if (remaining === 0n) p.status = 'closed';+ return null;+ }++ const stakeClosed = remaining === 0n || keepsMoonbag;+ if (!stakeClosed) {+ // The remaining tokens carry their proportional share of the cost+ // basis, so the trailing stop and timeout keep judging the rest of the+ // position against what it actually cost.+ p.entry_lamports = Math.round(p.entry_lamports * (1 - fraction));+ if (recoversInitials) p.initials_recovered = true;+ return null;+ }++ const pnl = p.proceeds_lamports - p.cost_lamports;+ this.realizedByDay[day] = (this.realizedByDay[day] ?? 0) + pnl;+ p.status = remaining === 0n ? 'closed' : 'bag';+ p.closed_at = now;+ const trade = {+ id: p.id,+ mint,+ symbol: p.symbol,+ seat: p.seat,+ agent: p.agent,+ venue: p.venue,+ opened_at: p.opened_at,+ closed_at: now,+ cost_lamports: p.cost_lamports,+ proceeds_lamports: p.proceeds_lamports,+ pnl_lamports: pnl,+ multiple: p.cost_lamports > 0 ? p.proceeds_lamports / p.cost_lamports : 0,+ reason,+ kept_bag: remaining > 0n,+ coin: p.coin,+ fills: p.fills,+ };+ this.trades.push(trade);+ return trade;+ }++ /** Move surplus above `keepLamports` from the hot wallet into the vault. */+ sweep(keepLamports) {+ const surplus = Math.max(0, this.walletLamports - keepLamports);+ this.walletLamports -= surplus;+ this.vaultLamports += surplus;+ return surplus;+ }+}diff --git a/satellites/oracle-desk/src/memo.js b/satellites/oracle-desk/src/memo.jsnew file mode 100644index 000000000..8cc5e3e07--- /dev/null+++ b/satellites/oracle-desk/src/memo.js@@ -0,0 +1,75 @@+// The head of desk's review memo, written by Claude from the review's numbers.+//+// Optional: enabled only when ANTHROPIC_API_KEY is set. The memo narrates what+// the head decided; it never decides anything. Every number in the prompt is+// the desk's own, so the memo cannot invent a trade.++import { sol } from './ledger.js';++const MODEL = 'claude-opus-5-5';++const SYSTEM = [+ 'You are the head of an autonomous pump.fun trading desk writing your review memo.',+ 'Write at most 80 words, plain prose, no lists, no headers, no emoji.',+ 'Use only the numbers given. Never invent trades, prices, or coins.',+ 'Say what the desk decided this review and why, then the one thing to watch next.',+].join(' ');++export class Memo {+ constructor({ apiKey }) {+ this.enabled = Boolean(apiKey);+ this.apiKey = apiKey;+ this.model = MODEL;+ this.client = null;+ }++ async getClient() {+ if (!this.client) {+ const { default: Anthropic } = await import('@anthropic-ai/sdk');+ this.client = new Anthropic({ apiKey: this.apiKey });+ }+ return this.client;+ }++ brief({ roster, outcome, ledger, revisions }) {+ const seats = roster.map(({ seat, grade }) => ({+ seat: seat.id,+ thesis: seat.thesis,+ trades: grade.n,+ wins: grade.wins,+ net_sol: Number(sol(grade.netLamports).toFixed(4)),+ score: grade.score,+ budget: seat.budget,+ bars: seat.checks,+ }));+ return JSON.stringify({+ decision: outcome,+ wallet_sol: Number(sol(ledger.walletLamports).toFixed(4)),+ vault_sol: Number(sol(ledger.vaultLamports).toFixed(4)),+ net_sol: Number(sol(ledger.netLamports()).toFixed(4)),+ open_positions: ledger.open().length,+ seats,+ recent_revisions: revisions.map((r) => `${r.seat} ${r.key} ${r.from}->${r.to}: ${r.why}`),+ });+ }++ async write(review) {+ const client = await this.getClient();+ const response = await client.beta.messages.create({+ model: this.model,+ max_tokens: 16000,+ betas: ['server-side-fallback-2026-07-01'],+ fallbacks: 'default',+ output_config: { effort: 'low' },+ system: SYSTEM,+ messages: [{ role: 'user', content: `This review's numbers:\n${this.brief(review)}` }],+ });+ if (response.stop_reason === 'refusal') return null;+ const text = response.content+ .filter((b) => b.type === 'text')+ .map((b) => b.text)+ .join(' ')+ .trim();+ return text || null;+ }+}diff --git a/satellites/oracle-desk/src/oracle.js b/satellites/oracle-desk/src/oracle.jsnew file mode 100644index 000000000..5c64fcebc--- /dev/null+++ b/satellites/oracle-desk/src/oracle.js@@ -0,0 +1,84 @@+// The three.ws Oracle, read over its public API. No key, no account.+//+// GET /api/oracle/feed latest verdicts (the backlog and the backstop)+// SSE /api/oracle/stream every verdict the moment it is scored+// GET /api/oracle/coin one coin's full read+// GET /api/oracle/model the published conviction model (via @three-ws/oracle-model)+//+// Every verdict carries score, tier, the four pillars, rug risk, give-back risk,+// the measured hit rate for its band, and the plain-language reasons.++import { EventSource } from 'eventsource';+import { OracleModel } from '@three-ws/oracle-model';++const UA = 'oracle-desk/1.0 (+https://three.ws/oracle)';++export class OracleClient {+ constructor({ base = 'https://three.ws', network = 'mainnet', fetchImpl = globalThis.fetch } = {}) {+ this.base = base;+ this.network = network;+ this.fetch = fetchImpl;+ this.source = null;+ this.model = null;+ }++ async getJson(path, params = {}) {+ const url = new URL(path, this.base);+ for (const [k, v] of Object.entries({ network: this.network, ...params })) {+ if (v != null) url.searchParams.set(k, String(v));+ }+ const res = await this.fetch(url, { headers: { accept: 'application/json', 'user-agent': UA } });+ if (!res.ok) {+ const retryAfter = Number(res.headers.get('retry-after')) || null;+ throw Object.assign(new Error(`oracle ${url.pathname} answered ${res.status}`), { status: res.status, retryAfter });+ }+ return res.json();+ }++ feed({ limit = 100, minScore = 0 } = {}) {+ return this.getJson('/api/oracle/feed', { limit, min_score: minScore });+ }++ coin(mint) {+ return this.getJson('/api/oracle/coin', { mint });+ }++ backtest(period = '30d') {+ return this.getJson('/api/oracle/backtest', { period });+ }++ async loadModel() {+ this.model = await OracleModel.fetch({ endpoint: `${this.base}/api/oracle/model`, network: this.network, fetch: this.fetch });+ return this.model;+ }++ /**+ * Subscribe to live verdicts. The server rotates each connection every 90+ * seconds; EventSource reconnects on its own, and the feed poll in the radar+ * covers the moment between two connections.+ */+ stream({ onCoin, onStatus }) {+ this.close();+ const url = new URL('/api/oracle/stream', this.base);+ url.searchParams.set('network', this.network);+ const source = new EventSource(url.toString());+ this.source = source;+ source.addEventListener('open', () => onStatus?.('live'));+ source.addEventListener('coin', (ev) => {+ try {+ onCoin(JSON.parse(ev.data));+ } catch {+ onStatus?.('bad-frame');+ }+ });+ source.addEventListener('error', () => onStatus?.(source.readyState === EventSource.CLOSED ? 'closed' : 'reconnecting'));+ return source;+ }++ close() {+ this.source?.close();+ this.source = null;+ }+}++export const oracleCoinUrl = (mint) => `https://three.ws/oracle/coin/${mint}`;diff --git a/satellites/oracle-desk/src/runtime.js b/satellites/oracle-desk/src/runtime.jsnew file mode 100644index 000000000..ff5ffd7b0--- /dev/null+++ b/satellites/oracle-desk/src/runtime.js@@ -0,0 +1,245 @@+// Wires the desk together: one bus, one ledger, six desks and a head, the+// Oracle client, the venue, and a broker. State is written to disk so a restart+// picks up the same book, seats, and history.++import { existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from 'node:fs';+import { join } from 'node:path';+import { Bus } from './bus.js';+import { Ledger, lamports, sol } from './ledger.js';+import { OracleClient } from './oracle.js';+import { PumpVenue } from './chain/pump.js';+import { Firewall } from './chain/firewall.js';+import { loadKeypair } from './chain/wallet.js';+import { LiveBroker, PaperBroker } from './brokers.js';+import { Radar } from './desks/radar.js';+import { Research } from './desks/research.js';+import { Risk } from './desks/risk.js';+import { Execution } from './desks/execution.js';+import { Audit } from './desks/audit.js';+import { Treasury } from './desks/treasury.js';+import { Head } from './desks/head.js';+import { Memo } from './memo.js';+import { gradeSeat } from './seats.js';+import { LIVE_ACK } from './config.js';++const TICK_MS = 15_000;+const LIVE_BALANCE_SYNC_MS = 30_000;++export function statePath(config) {+ return join(config.dataDir, `desk-${config.mode}.json`);+}++export function readState(config) {+ const path = statePath(config);+ if (!existsSync(path)) return {};+ return JSON.parse(readFileSync(path, 'utf8'));+}++export class Desk {+ constructor(config, { reset = false } = {}) {+ this.config = config;+ const state = reset ? {} : readState(config);+ this.startedAt = Date.now();+ this.bus = new Bus();+ if (state.log) this.bus.log = state.log;+ this.bus.seq = this.bus.log.at(-1)?.id ?? 0;++ this.counters = { launches: 0, graduations: 0, verdicts: 0, cleared: 0, blocked: 0, firewalled: 0, entries: 0, closed: 0, ...(state.counters || {}) };+ this.ledger = new Ledger(state.ledger);+ this.oracle = new OracleClient({ base: config.oracleBase });+ this.venue = new PumpVenue({ rpcUrl: config.rpcUrl });+ this.firewall = new Firewall({ venue: this.venue, connection: this.venue.connection });++ const slippagePct = config.desk.risk.slippage_pct;+ if (config.mode === 'live') {+ if (!config.liveAck) throw new Error(`live mode needs DESK_LIVE_ACK=${LIVE_ACK}`);+ const keypair = loadKeypair(config);+ if (!keypair) throw new Error('live mode needs SOLANA_PRIVATE_KEY or DESK_KEYPAIR');+ this.broker = new LiveBroker({ venue: this.venue, keypair, slippagePct, coldWallet: config.coldWallet });+ } else {+ this.broker = new PaperBroker({ venue: this.venue, ledger: this.ledger, slippagePct });+ }++ const desk = config.desk;+ this.research = new Research({ bus: this.bus, config: desk, counters: this.counters, state: state.research || {} });+ this.risk = new Risk({ bus: this.bus, config: desk, ledger: this.ledger, state: state.risk || {} });+ this.execution = new Execution({ bus: this.bus, config: desk, ledger: this.ledger, risk: this.risk, broker: this.broker, firewall: this.firewall, venue: this.venue, counters: this.counters });+ this.audit = new Audit({ bus: this.bus, research: this.research, state: state.audit || {} });+ this.treasury = new Treasury({ bus: this.bus, config: desk, ledger: this.ledger, risk: this.risk, broker: this.broker, state: state.treasury || {} });+ this.memo = new Memo({ apiKey: config.anthropicKey });+ this.head = new Head({ bus: this.bus, config: desk, research: this.research, audit: this.audit, ledger: this.ledger, memo: this.memo, state: state.head || {} });+ this.radar = new Radar({ bus: this.bus, oracle: this.oracle, config: desk, counters: this.counters });++ this.bus.on('verdict', (coin) => this.research.onVerdict(coin));+ this.bus.on('candidate', (c) => this.execution.onCandidate(c));+ this.bus.on('closed', (trade) => this.audit.onClosed(trade));+ this.bus.on('graduated', (mint) => this.venue.markGraduated(mint));++ this.model = null;+ this.timers = [];+ }++ async start() {+ if (this.broker.mode === 'live') {+ const balance = await this.broker.balance();+ this.ledger.walletLamports = balance;+ if (!this.ledger.startLamports) this.ledger.startLamports = balance;+ this.bus.note('SYSTEM', 'DESK', `LIVE on ${this.broker.payer.toBase58()} with ${sol(balance).toFixed(4)} SOL`, { kind: 'boot' });+ } else {+ if (!this.ledger.startLamports) {+ this.ledger.startLamports = lamports(this.config.paperSol);+ this.ledger.walletLamports = this.ledger.startLamports;+ }+ this.bus.note('SYSTEM', 'DESK', `PAPER with ${sol(this.ledger.walletLamports).toFixed(4)} SOL: real launches, real quotes, nothing signed`, { kind: 'boot' });+ }++ try {+ this.model = await this.oracle.loadModel();+ const perf = this.model.performance();+ this.bus.note('SYSTEM', 'ORACLE', `conviction model v${this.model.version} loaded: ${this.model.trainingRows.toLocaleString()} labeled launches, held-out AUC ${perf?.auc ?? 'n/a'}`);+ } catch (err) {+ this.bus.note('SYSTEM', 'ORACLE', `model card unavailable (${err.message}); verdicts still stream`, { level: 'warn' });+ }++ this.radar.start();+ this.execution.start();+ this.timers.push(setInterval(() => this.tick(), TICK_MS));+ if (this.broker.mode === 'live') this.timers.push(setInterval(() => this.syncBalance(), LIVE_BALANCE_SYNC_MS));+ }++ async tick(now = Date.now()) {+ this.treasury.guard();+ await this.treasury.maybeSweep(now);+ if (this.head.due(now)) await this.head.review(now);+ this.save();+ }++ async syncBalance() {+ try {+ this.ledger.walletLamports = await this.broker.balance();+ } catch (err) {+ this.bus.note('SYSTEM', 'DESK', `balance read failed: ${err.message}`, { level: 'warn' });+ }+ }++ async stop() {+ for (const t of this.timers) clearInterval(t);+ this.radar.stop();+ this.execution.stop();+ this.save();+ }++ save() {+ mkdirSync(this.config.dataDir, { recursive: true });+ const path = statePath(this.config);+ const body = JSON.stringify({+ version: 1,+ saved_at: Date.now(),+ mode: this.config.mode,+ counters: this.counters,+ ledger: this.ledger,+ research: this.research,+ risk: this.risk,+ audit: this.audit,+ treasury: this.treasury,+ head: this.head,+ log: this.bus.log.slice(-200),+ });+ writeFileSync(`${path}.tmp`, body);+ renameSync(`${path}.tmp`, path);+ }++ /** Probability the Oracle's model assigns to "runs and holds" for a score. */+ pWin(score) {+ if (!this.model || score == null) return null;+ return Number(this.model.probabilityFromScore(score).toFixed(4));+ }++ snapshot() {+ const l = this.ledger;+ const held = Object.values(l.positions).filter((p) => p.status !== 'closed');+ const perf = this.model?.performance?.() || null;+ return {+ mode: this.broker.mode,+ address: this.broker.payer?.toBase58?.() || null,+ started_at: this.startedAt,+ now: Date.now(),+ memo_enabled: this.memo.enabled,+ wallet: {+ start_sol: sol(l.startLamports),+ wallet_sol: sol(l.walletLamports),+ mark_sol: sol(l.markLamports()),+ vault_sol: sol(l.vaultLamports),+ equity_sol: sol(l.hotEquity() + l.vaultLamports),+ net_sol: sol(l.netLamports()),+ realized_today_sol: sol(l.realizedToday(Date.now())),+ },+ record: {+ trades: l.trades.length,+ wins: l.trades.filter((t) => t.pnl_lamports > 0).length,+ losses: l.trades.filter((t) => t.pnl_lamports <= 0).length,+ },+ counters: this.counters,+ killed_by: this.research.killedBy,+ radar: Object.values(this.radar.agents),+ seats: this.research.seats.map((seat) => ({ ...seat, grade: gradeSeat(this.head.seatTrades(seat)) })),+ risk: this.risk.describe(),+ execution: Object.values(this.execution.agents),+ audit: { agents: Object.values(this.audit.agents), revisions: this.audit.revisions.slice(-40).reverse() },+ treasury: { agent: this.treasury.agent, sweeps: this.treasury.sweeps.slice(-10).reverse(), frozen: this.risk.frozen, next_sweep_at: this.treasury.lastSweep + this.config.desk.treasury.sweep_every_minutes * 60_000 },+ head: {+ decisions: this.head.decisions.slice(-30).reverse(),+ memos: this.head.memos.slice(-5).reverse(),+ firings: this.head.firings,+ next_review_at: this.head.lastReview + this.config.desk.head.review_every_minutes * 60_000,+ },+ positions: held.map((p) => ({+ id: p.id,+ mint: p.mint,+ symbol: p.symbol,+ image: p.coin?.image_uri || null,+ seat: p.seat,+ status: p.status,+ venue: p.venue,+ opened_at: p.opened_at,+ cost_sol: sol(p.cost_lamports),+ value_sol: sol(p.value_lamports),+ proceeds_sol: sol(p.proceeds_lamports),+ multiple: p.cost_lamports ? (p.value_lamports + p.proceeds_lamports) / p.cost_lamports : 0,+ peak_multiple: p.entry_lamports ? p.peak_lamports / p.entry_lamports : 0,+ initials_recovered: p.initials_recovered,+ score: p.coin?.score ?? null,+ tier: p.coin?.tier ?? null,+ p_win: this.pWin(p.coin?.score),+ mark_error: p.mark_error || null,+ sig: p.fills?.[0]?.sig || null,+ })),+ trades: l.trades.slice(-60).reverse().map((t) => ({+ id: t.id,+ mint: t.mint,+ symbol: t.symbol,+ seat: t.seat,+ opened_at: t.opened_at,+ closed_at: t.closed_at,+ cost_sol: sol(t.cost_lamports),+ pnl_sol: sol(t.pnl_lamports),+ multiple: t.multiple,+ reason: t.reason,+ kept_bag: t.kept_bag,+ score: t.coin?.score ?? null,+ tier: t.coin?.tier ?? null,+ })),+ recent_clears: this.research.lastPass,+ model: this.model+ ? {+ version: this.model.version,+ fitted_at: this.model.fittedAt,+ training_rows: this.model.trainingRows,+ auc: perf?.auc ?? null,+ base_rate: perf?.base_rate ?? null,+ }+ : null,+ log: this.bus.log.slice(-150),+ };+ }+}diff --git a/satellites/oracle-desk/src/seats.js b/satellites/oracle-desk/src/seats.jsnew file mode 100644index 000000000..d1619ce7c--- /dev/null+++ b/satellites/oracle-desk/src/seats.js@@ -0,0 +1,170 @@+// Research seats: each one is a strategy expressed as bars over the Oracle's+// published verdict for a coin. A seat passes a coin only when every one of its+// checks clears. The audit desk moves those bars from realized P&L, inside the+// clamps below, and the head of desk can rewrite a seat outright from its own+// trade history.++/** Every check a seat can carry: how to read it off a verdict, which way is+ * stricter, the range the audit loop may move it through, and its step. */+export const CHECKS = {+ min_score: { label: 'conviction', read: (c) => c.score, dir: 'min', clamp: [40, 97], step: 2 },+ max_rug_risk: { label: 'rug risk', read: (c) => c.rug_risk, dir: 'max', clamp: [5, 60], step: 3 },+ max_give_back: { label: 'give-back risk', read: (c) => c.give_back_risk, dir: 'max', clamp: [10, 80], step: 3 },+ min_momentum: { label: 'momentum pillar', read: (c) => c.pillars?.momentum, dir: 'min', clamp: [0, 95], step: 3 },+ min_structure: { label: 'structure pillar', read: (c) => c.pillars?.structure, dir: 'min', clamp: [0, 90], step: 3 },+ min_pedigree: { label: 'pedigree pillar', read: (c) => c.pillars?.pedigree, dir: 'min', clamp: [0, 90], step: 3 },+ min_smart_wallets: { label: 'smart wallets', read: (c) => c.smart_wallet_count, dir: 'min', clamp: [0, 6], step: 1 },+ max_age_s: { label: 'age (s)', read: (c, now) => ageSeconds(c, now), dir: 'max', clamp: [60, 3600], step: 60 },+};++export function ageSeconds(coin, now) {+ const first = Date.parse(coin.coin_first_seen_at || coin.scored_at || '');+ return Number.isFinite(first) ? Math.max(0, (now - first) / 1000) : null;+}++function span(spec) {+ return spec.clamp[1] - spec.clamp[0] || 1;+}++function clampTo(spec, v) {+ return Math.max(spec.clamp[0], Math.min(spec.clamp[1], v));+}++/**+ * Evaluate one seat against one verdict. A missing reading fails its check:+ * the desk never trades on a number the Oracle did not publish.+ *+ * @returns {{ pass: boolean, checks: Array<{ key, label, value, bar, pass, margin }> }}+ */+export function evaluateSeat(seat, coin, now) {+ const checks = [];+ for (const [key, bar] of Object.entries(seat.checks)) {+ const spec = CHECKS[key];+ if (!spec || bar == null) continue;+ const raw = spec.read(coin, now);+ const value = raw == null || !Number.isFinite(Number(raw)) ? null : Number(raw);+ let pass = false;+ let margin = -1;+ if (value != null) {+ const diff = spec.dir === 'min' ? value - bar : bar - value;+ pass = diff >= 0;+ margin = diff / span(spec);+ }+ checks.push({ key, label: spec.label, value, bar, pass, margin });+ }+ return { pass: checks.length > 0 && checks.every((c) => c.pass), checks };+}++/** The passing check with the thinnest margin: the one that almost said no. */+export function bindingCheck(checks) {+ let best = null;+ for (const c of checks) {+ if (!c.pass) continue;+ if (!best || c.margin < best.margin) best = c;+ }+ return best;+}++/**+ * Move one bar by `steps` (positive = stricter). Returns the revision, or null+ * when the clamp stops it.+ */+export function moveBar(seat, key, steps) {+ const spec = CHECKS[key];+ if (!spec || seat.checks[key] == null) return null;+ const from = seat.checks[key];+ const delta = spec.step * steps * (spec.dir === 'min' ? 1 : -1);+ const to = Number(clampTo(spec, from + delta).toFixed(2));+ if (to === from) return null;+ seat.checks[key] = to;+ return { key, from, to };+}++/**+ * Seat grade over its current window, in [0, 1]. Half is the smoothed win+ * rate, half is net P&L relative to what the seat risked, so a seat that wins+ * often but small, or rarely but big, both read fairly.+ */+export function gradeSeat(trades) {+ const n = trades.length;+ if (!n) return { n: 0, wins: 0, netLamports: 0, score: 0.5 };+ const wins = trades.filter((t) => t.pnl_lamports > 0).length;+ const net = trades.reduce((s, t) => s + t.pnl_lamports, 0);+ const risked = trades.reduce((s, t) => s + t.cost_lamports, 0) || 1;+ const winRate = (wins + 1) / (n + 2);+ const returnScore = 1 / (1 + Math.exp(-4 * (net / risked)));+ return { n, wins, netLamports: net, score: Number((0.5 * winRate + 0.5 * returnScore).toFixed(4)) };+}++/**+ * Rewrite a seat from its own trades: for each check, pick the bar that would+ * have kept the most net P&L, holding the other checks fixed. Candidate bars+ * are midpoints between the values its own entries showed. Only moves that+ * strictly improve the seat's own record are made, and every bar stays inside+ * its clamp.+ *+ * @returns {Array<{ key, from, to, keptNet, droppedNet, kept, dropped }>}+ */+export function refitSeat(seat, trades) {+ const moves = [];+ for (const key of Object.keys(seat.checks)) {+ const spec = CHECKS[key];+ if (!spec) continue;+ const rows = trades+ .map((t) => {+ const raw = spec.read(t.coin || {}, t.opened_at);+ return { value: raw == null ? null : Number(raw), pnl: t.pnl_lamports };+ })+ .filter((r) => r.value != null && Number.isFinite(r.value));+ if (rows.length < 2) continue;++ const current = seat.checks[key];+ const netAt = (bar) =>+ rows.reduce((s, r) => s + ((spec.dir === 'min' ? r.value >= bar : r.value <= bar) ? r.pnl : 0), 0);+ // Candidate bars sit halfway between neighbouring observed values, so a+ // bar never lands exactly on a trade it is meant to keep or cut.+ const values = [...new Set(rows.map((r) => r.value))].sort((a, b) => a - b);+ const candidates = values.slice(1).map((v, i) => clampTo(spec, (values[i] + v) / 2));+ let bestBar = current;+ let bestNet = netAt(current);+ for (const bar of candidates) {+ const n = netAt(bar);+ // Move only on a strict improvement; among equals, stay nearest the+ // current bar. A tie is not evidence.+ const closer = Math.abs(bar - current) < Math.abs(bestBar - current);+ if (n > bestNet || (n === bestNet && bestBar !== current && closer)) {+ bestNet = n;+ bestBar = bar;+ }+ }+ if (bestBar === current) continue;+ const keep = (r) => (spec.dir === 'min' ? r.value >= bestBar : r.value <= bestBar);+ const kept = rows.filter(keep);+ const dropped = rows.filter((r) => !keep(r));+ seat.checks[key] = Number(bestBar.toFixed(2));+ moves.push({+ key,+ from: current,+ to: seat.checks[key],+ kept: kept.length,+ dropped: dropped.length,+ keptNet: kept.reduce((s, r) => s + r.pnl, 0),+ droppedNet: dropped.reduce((s, r) => s + r.pnl, 0),+ });+ }+ return moves;+}++export function makeSeat(def, now) {+ return {+ id: def.id,+ thesis: def.thesis,+ checks: { ...def.checks },+ budget: 1,+ rev: 0,+ hired_at: now,+ window_start: now,+ fired: 0,+ stats: { seen: 0, passed: 0, claimed: 0 },+ };+}diff --git a/satellites/oracle-desk/src/server.js b/satellites/oracle-desk/src/server.jsnew file mode 100644index 000000000..707f39f94--- /dev/null+++ b/satellites/oracle-desk/src/server.js@@ -0,0 +1,131 @@+// The desk's dashboard: static files from web/, a JSON snapshot, a live event+// stream, and a small control surface.+//+// Binds to 127.0.0.1 by default. Control requests must come from the+// dashboard's own origin, so a web page elsewhere cannot drive the desk through+// the operator's browser.++import { createServer } from 'node:http';+import { readFile } from 'node:fs/promises';+import { extname, join, normalize, sep } from 'node:path';+import { ROOT } from './config.js';++const WEB = join(ROOT, 'web');+const TYPES = {+ '.html': 'text/html; charset=utf-8',+ '.css': 'text/css; charset=utf-8',+ '.js': 'text/javascript; charset=utf-8',+ '.svg': 'image/svg+xml',+ '.ico': 'image/x-icon',+ '.woff2': 'font/woff2',+ '.json': 'application/json',+};+const STATE_PUSH_MS = 2_000;++function send(res, status, body, type = 'application/json') {+ res.writeHead(status, { 'content-type': type, 'cache-control': 'no-store', 'x-content-type-options': 'nosniff' });+ res.end(typeof body === 'string' || Buffer.isBuffer(body) ? body : JSON.stringify(body));+}++/** True when the request's Origin (or Referer) is this server. */+export function sameOrigin(req) {+ const host = req.headers.host;+ const origin = req.headers.origin || req.headers.referer;+ if (!host || !origin) return false;+ try {+ return new URL(origin).host === host;+ } catch {+ return false;+ }+}++async function readBody(req, limit = 4096) {+ let size = 0;+ const chunks = [];+ for await (const chunk of req) {+ size += chunk.length;+ if (size > limit) throw Object.assign(new Error('body too large'), { status: 413 });+ chunks.push(chunk);+ }+ return chunks.length ? JSON.parse(Buffer.concat(chunks).toString('utf8')) : {};+}++async function serveStatic(req, res) {+ const path = new URL(req.url, 'http://x').pathname;+ const rel = normalize(path === '/' ? '/index.html' : path).replace(/^([/\\])+/, '');+ const file = join(WEB, rel);+ if (!file.startsWith(WEB + sep)) return send(res, 403, { error: 'forbidden' });+ try {+ const body = await readFile(file);+ res.writeHead(200, {+ 'content-type': TYPES[extname(file)] || 'application/octet-stream',+ 'cache-control': extname(file) === '.woff2' ? 'public, max-age=31536000, immutable' : 'no-cache',+ 'x-content-type-options': 'nosniff',+ });+ res.end(body);+ } catch {+ send(res, 404, { error: 'not found' });+ }+}++function stream(desk, req, res) {+ res.writeHead(200, {+ 'content-type': 'text/event-stream; charset=utf-8',+ 'cache-control': 'no-cache, no-transform',+ connection: 'keep-alive',+ });+ const write = (event, data) => res.write(`event: ${event}\ndata: ${JSON.stringify(data)}\n\n`);+ write('state', desk.snapshot());+ const onLog = (entry) => write('log', entry);+ desk.bus.on('log', onLog);+ const timer = setInterval(() => write('state', desk.snapshot()), STATE_PUSH_MS);+ req.on('close', () => {+ clearInterval(timer);+ desk.bus.off('log', onLog);+ });+}++async function control(desk, req, res) {+ if (!sameOrigin(req)) return send(res, 403, { error: 'controls only accept requests from the dashboard itself' });+ const body = await readBody(req);+ switch (body.action) {+ case 'pause':+ desk.risk.paused = true;+ desk.bus.note('SYSTEM', 'OPERATOR', 'desk paused: no new entries, exits keep running', { kind: 'pause' });+ break;+ case 'resume':+ desk.risk.paused = false;+ desk.bus.note('SYSTEM', 'OPERATOR', 'desk resumed', { kind: 'resume' });+ break;+ case 'close':+ if (typeof body.mint !== 'string') return send(res, 400, { error: 'mint required' });+ await desk.execution.close(body.mint);+ break;+ case 'review':+ await desk.head.review();+ break;+ default:+ return send(res, 400, { error: 'unknown action' });+ }+ desk.save();+ return send(res, 200, { ok: true, paused: desk.risk.paused });+}++export function startServer(desk, { host, port }) {+ const server = createServer(async (req, res) => {+ try {+ const path = new URL(req.url, 'http://x').pathname;+ if (path === '/api/state' && req.method === 'GET') return send(res, 200, desk.snapshot());+ if (path === '/api/events' && req.method === 'GET') return stream(desk, req, res);+ if (path === '/api/control' && req.method === 'POST') return await control(desk, req, res);+ if (req.method === 'GET') return await serveStatic(req, res);+ return send(res, 405, { error: 'method not allowed' });+ } catch (err) {+ return send(res, err.status || 500, { error: err.message });+ }+ });+ return new Promise((resolve, reject) => {+ server.once('error', reject);+ server.listen(port, host, () => resolve(server));+ });+}diff --git a/satellites/oracle-desk/test/desks.test.js b/satellites/oracle-desk/test/desks.test.jsnew file mode 100644index 000000000..95aed3b86--- /dev/null+++ b/satellites/oracle-desk/test/desks.test.js@@ -0,0 +1,196 @@+import { test } from 'node:test';+import assert from 'node:assert/strict';+import { readFileSync } from 'node:fs';+import { Bus } from '../src/bus.js';+import { Ledger } from '../src/ledger.js';+import { Research } from '../src/desks/research.js';+import { Risk } from '../src/desks/risk.js';+import { Audit } from '../src/desks/audit.js';+import { Head } from '../src/desks/head.js';+import { Treasury } from '../src/desks/treasury.js';+import { Execution } from '../src/desks/execution.js';++const CONFIG = JSON.parse(readFileSync(new URL('../desk.config.json', import.meta.url), 'utf8'));+const NOW = Date.parse('2026-09-30T12:00:00Z');+const MINT = 'THREEsynthetic1111111111111111111111111111';+const coin = (over = {}) => ({+ mint: MINT,+ symbol: 'SYN',+ score: 90,+ tier: 'prime',+ rug_risk: 10,+ give_back_risk: 20,+ pillars: { pedigree: 40, structure: 50, narrative: 10, momentum: 80 },+ smart_wallet_count: 2,+ coin_first_seen_at: new Date(NOW - 60_000).toISOString(),+ ...over,+});+const config = () => structuredClone(CONFIG);++function world(walletSol = 5) {+ const bus = new Bus();+ const counters = { launches: 0, graduations: 0, verdicts: 0, cleared: 0, blocked: 0, firewalled: 0, entries: 0, closed: 0 };+ const ledger = new Ledger({ startLamports: walletSol * 1e9, walletLamports: walletSol * 1e9 });+ const cfg = config();+ const research = new Research({ bus, config: cfg, counters, state: {} });+ const risk = new Risk({ bus, config: cfg, ledger, state: {} });+ const audit = new Audit({ bus, research, state: {} });+ return { bus, counters, ledger, cfg, research, risk, audit };+}++test('risk refuses at each cap and sizes inside the wallet', () => {+ const { ledger, risk } = world(5);+ assert.equal(risk.refusal(MINT, NOW), null);+ assert.equal(risk.sizeFor({ budget: 1 }), 100_000_000);+ assert.equal(risk.sizeFor({ budget: 2 }), 200_000_000);+ risk.paused = true;+ assert.equal(risk.refusal(MINT, NOW), 'desk paused');+ risk.paused = false;+ risk.frozen = true;+ assert.equal(risk.refusal(MINT, NOW), 'treasury freeze');+ risk.frozen = false;+ ledger.realizedByDay['2026-09-30'] = -1_000_000_000;+ assert.equal(risk.refusal(MINT, NOW), 'daily loss cap');+});++test('risk sizes to zero when the wallet is at its reserve', () => {+ const { risk } = world(0.05);+ assert.equal(risk.sizeFor({ budget: 1 }), 0);+});++test('research lets the seat with the widest margin claim a coin', () => {+ const { research } = world();+ const claim = research.judge(coin(), NOW);+ assert.equal(claim.seat.id, 'SMART-MONEY');+ assert.equal(research.judge(coin({ score: 30 }), NOW), null);+ assert.ok(research.killedBy.min_score > 0);+});++test('audit tightens the binding check after a loss and relaxes it after a clean win', () => {+ const { research, audit } = world();+ const seat = research.seat('PRIME');+ const loss = { id: 't1', mint: MINT, symbol: 'SYN', seat: 'PRIME', coin: coin({ score: 86 }), opened_at: NOW, pnl_lamports: -30, cost_lamports: 100, multiple: 0.7, reason: 'stop_loss' };+ const rev = audit.onClosed(loss, NOW);+ assert.equal(rev.key, 'min_score');+ assert.equal(seat.checks.min_score, 87);++ const win = { ...loss, id: 't2', coin: coin({ score: 87.5 }), pnl_lamports: 90, multiple: 1.9, reason: 'trailing_stop' };+ const relax = audit.onClosed(win, NOW);+ assert.equal(relax.key, 'min_score');+ assert.equal(seat.checks.min_score, 86);++ const smallWin = { ...win, id: 't3', multiple: 1.1, pnl_lamports: 10 };+ assert.equal(audit.onClosed(smallWin, NOW), null);+});++test('audit does not tighten against a loser the current bars already refuse', () => {+ const { audit } = world();+ const trade = { id: 't1', mint: MINT, seat: 'PRIME', coin: coin({ score: 70 }), opened_at: NOW, pnl_lamports: -30, cost_lamports: 100, multiple: 0.7, reason: 'stop_loss' };+ assert.equal(audit.onClosed(trade, NOW), null);+});++test('the head fires a losing seat, rewrites it from its trades, and respects the cooldown', async () => {+ const { bus, ledger, cfg, research, audit } = world();+ const head = new Head({ bus, config: cfg, research, audit, ledger, memo: null, state: { lastReview: NOW - 1 } });+ const seat = research.seat('MOMENTUM');+ const trade = (i, score, pnl) => ({ id: `t${i}`, seat: 'MOMENTUM', coin: coin({ score }), opened_at: NOW - 1000, cost_lamports: 100_000_000, pnl_lamports: pnl, multiple: 1 + pnl / 1e8 });+ ledger.trades.push(trade(1, 71, -60_000_000), trade(2, 72, -50_000_000), trade(3, 74, -40_000_000), trade(4, 90, 30_000_000));++ const out = await head.review(NOW);+ assert.equal(out.fired, 'MOMENTUM');+ assert.equal(seat.fired, 1);+ assert.equal(seat.window_start, NOW);+ assert.equal(seat.checks.min_score, 82);+ assert.ok(audit.revisions.some((r) => r.kind === 'rewrite' && r.seat === 'MOMENTUM'));++ ledger.trades.push(...[5, 6, 7, 8].map((i) => ({ ...trade(i, 91, -50_000_000), opened_at: NOW + 10 })));+ const again = await head.review(NOW + 60_000);+ assert.equal(again.fired, null);+});++test('the head does not judge a seat before it has enough trades', async () => {+ const { bus, ledger, cfg, research, audit } = world();+ const head = new Head({ bus, config: cfg, research, audit, ledger, memo: null, state: {} });+ ledger.trades.push({ id: 't1', seat: 'PRIME', coin: coin(), opened_at: NOW, cost_lamports: 100, pnl_lamports: -90, multiple: 0.1 });+ const out = await head.review(NOW);+ assert.equal(out.fired, null);+ assert.equal(head.decisions.at(-1).kind, 'hold');+});++test('treasury freezes on drawdown, lifts on recovery, and sweeps surplus', async () => {+ const { bus, ledger, cfg, risk } = world(1);+ const broker = { mode: 'paper', sweep: async (l) => ({ sent: false, lamports: l }) };+ const treasury = new Treasury({ bus, config: cfg, ledger, risk, broker, state: { lastSweep: NOW - 7 * 3_600_000 } });+ ledger.walletLamports = 0.5e9;+ assert.equal(treasury.guard(), true);+ ledger.walletLamports = 0.95e9;+ assert.equal(treasury.guard(), false);+ ledger.walletLamports = 2e9;+ await treasury.maybeSweep(NOW);+ assert.equal(ledger.vaultLamports, 0.5e9);+ assert.equal(ledger.walletLamports, 1.5e9);+});++// A scripted broker and firewall: execution's decisions are what is under test.+function scriptedExecution({ quote = {}, marks = [] } = {}) {+ const w = world(5);+ const sells = [];+ let markIndex = 0;+ const broker = {+ mode: 'paper',+ payer: null,+ quoteEntry: async () => ({ venue: 'curve', tokens: 1_000_000n, costLamports: 100_000_000n, priceImpactPct: 0.5, mayhem: false, ...quote }),+ buy: async (_m, lamports) => ({ tokens: 1_000_000n, costLamports: lamports, venue: quote.venue || 'curve', sig: null }),+ mark: async () => marks[Math.min(markIndex++, marks.length - 1)],+ sell: async (_m, tokens) => {+ const value = marks[Math.min(markIndex - 1, marks.length - 1)];+ sells.push(tokens);+ return { soldTokens: tokens, proceedsLamports: Math.round((Number(tokens) / 1_000_000) * value), venue: 'curve', sig: null };+ },+ };+ const firewall = { assess: async () => ({ ok: true, results: [{ check: 'authority', status: 'pass', reason: 'renounced' }] }) };+ const execution = new Execution({ bus: w.bus, config: w.cfg, ledger: w.ledger, risk: w.risk, broker, firewall, venue: null, counters: w.counters });+ const closed = [];+ w.bus.on('closed', (t) => closed.push(t));+ return { ...w, execution, sells, closed };+}++test('execution takes a cleared coin and books the fill', async () => {+ const { execution, ledger, research, counters } = scriptedExecution({ marks: [100_000_000] });+ await execution.onCandidate({ coin: coin(), seat: research.seat('PRIME') });+ assert.equal(counters.entries, 1);+ assert.equal(ledger.open().length, 1);+ assert.equal(ledger.positions[MINT].seat, 'PRIME');+});++test('execution refuses a graduated pool without real SOL behind it', async () => {+ const { execution, ledger, research, counters, risk } = scriptedExecution({ quote: { venue: 'amm', realQuoteLamports: 275_070_272n } });+ await execution.onCandidate({ coin: coin(), seat: research.seat('PRIME') });+ assert.equal(counters.entries, 0);+ assert.equal(ledger.open().length, 0);+ assert.equal(risk.blocks['thin pool'], 1);+});++test('execution refuses an entry the price-impact breaker trips', async () => {+ const { execution, counters, research, risk } = scriptedExecution({ quote: { priceImpactPct: 9 } });+ await execution.onCandidate({ coin: coin(), seat: research.seat('PRIME') });+ assert.equal(counters.entries, 0);+ assert.equal(risk.blocks['price impact'], 1);+});++test('the ladder takes initials at 2x, then rides a bag and grades the trade', async () => {+ const { execution, ledger, research, closed } = scriptedExecution({ marks: [210_000_000, 105_000_000, 70_000_000] });+ await execution.onCandidate({ coin: coin(), seat: research.seat('PRIME') });+ const p = ledger.positions[MINT];++ await execution.sweep(Date.now());+ assert.equal(p.initials_recovered, true);+ assert.equal(p.status, 'open');+ assert.equal(closed.length, 0);++ await execution.sweep(Date.now());+ await execution.sweep(Date.now());+ assert.equal(closed.length, 1);+ assert.equal(p.status, 'bag');+ assert.ok(closed[0].pnl_lamports > 0);+});diff --git a/satellites/oracle-desk/test/exit-logic.test.js b/satellites/oracle-desk/test/exit-logic.test.jsnew file mode 100644index 000000000..7f9d23c50--- /dev/null+++ b/satellites/oracle-desk/test/exit-logic.test.js@@ -0,0 +1,74 @@+import { test } from 'node:test';+import assert from 'node:assert/strict';+import { decideLadderedExit, decideLiquidityDecay, moonbagExitFraction, updateStaleClock } from '../src/exit-logic.js';++const T0 = 1_000_000;+const base = {+ entry_lamports: 100,+ stop_loss_pct: 35,+ trailing_stop_pct: 25,+ take_profit_pct: null,+ initials_out_multiple: 2,+ moonbag_min_pct: 15,+ max_hold_seconds: 2700,+ opened_at: T0,+ initials_recovered: false,+};++test('holds a position that has not hit any rule', () => {+ assert.equal(decideLadderedExit(base, 110, 120, T0 + 1000), null);+});++test('the hard stop is a full exit while the stake is at risk', () => {+ assert.deepEqual(decideLadderedExit(base, 60, 100, T0 + 1000), { reason: 'stop_loss', sellFraction: 1 });+});++test('take-initials sells exactly the stake at 2x and keeps the rest', () => {+ const d = decideLadderedExit(base, 200, 200, T0 + 1000);+ assert.equal(d.reason, 'take_initials');+ assert.equal(d.sellFraction, 0.5);+ assert.equal(d.recoversInitials, true);+});++test('take-initials never sells past the moon-bag floor', () => {+ const d = decideLadderedExit({ ...base, initials_out_multiple: 1.05 }, 105, 105, T0 + 1000);+ assert.ok(d.sellFraction <= 0.85 + 1e-9);+});++test('the trailing stop does not arm until the position has been green', () => {+ assert.equal(decideLadderedExit(base, 70, 99, T0 + 1000), null);+});++test('a trailing stop in profit keeps a bag', () => {+ const d = decideLadderedExit(base, 140, 190, T0 + 1000);+ assert.equal(d.reason, 'trailing_stop');+ assert.equal(d.keepsMoonbag, true);+ assert.ok(Math.abs(d.sellFraction - 100 / 140) < 1e-9);+});++test('on house money a terminal exit banks down to the floor', () => {+ const d = decideLadderedExit({ ...base, initials_recovered: true }, 80, 200, T0 + 10_000_000);+ assert.equal(d.reason, 'trailing_stop');+ assert.equal(d.sellFraction, 0.85);+});++test('timeout underwater is a full exit', () => {+ assert.deepEqual(decideLadderedExit(base, 90, 100, T0 + 2700 * 1000), { reason: 'timeout', sellFraction: 1 });+});++test('moonbagExitFraction never returns 1', () => {+ assert.equal(moonbagExitFraction(100, 200, 0.15, false), 0.5);+ assert.equal(moonbagExitFraction(100, 101, 0.15, false), 0.85);+ assert.equal(moonbagExitFraction(100, 0, 0.15, false), 0.85);+ assert.equal(moonbagExitFraction(100, 500, 0.15, true), 0.85);+});++test('the stale clock runs only underwater and unchanged', () => {+ assert.equal(updateStaleClock(null, 90, 100, null, 5), null);+ assert.equal(updateStaleClock(90, 90, 100, null, 5), 5);+ assert.equal(updateStaleClock(90, 90, 100, 3, 5), 3);+ assert.equal(updateStaleClock(90, 91, 100, 3, 5), null);+ assert.equal(updateStaleClock(120, 120, 100, null, 5), null);+ assert.equal(decideLiquidityDecay(0, 180, 179_000), false);+ assert.equal(decideLiquidityDecay(0, 180, 180_000), true);+});diff --git a/satellites/oracle-desk/test/guards.test.js b/satellites/oracle-desk/test/guards.test.jsnew file mode 100644index 000000000..c7980a4dd--- /dev/null+++ b/satellites/oracle-desk/test/guards.test.js@@ -0,0 +1,36 @@+import { test } from 'node:test';+import assert from 'node:assert/strict';+import { classifyRevert, probeLamports } from '../src/chain/firewall.js';+import { sameOrigin } from '../src/server.js';+import { loadKeypair } from '../src/chain/wallet.js';+import { Keypair } from '@solana/web3.js';+import bs58 from 'bs58';++test('the round-trip probe shrinks to what the payer can fund', () => {+ assert.equal(probeLamports(100_000_000n, null), 100_000_000n);+ assert.equal(probeLamports(100_000_000n, 1_000_000_000n), 100_000_000n);+ assert.equal(probeLamports(100_000_000n, 50_000_000n), 44_000_000n);+ assert.equal(probeLamports(100_000_000n, 6_500_000n), null);+});++test('only a sell-leg revert reads as a trap', () => {+ assert.equal(classifyRevert({ InstructionError: [1, { Custom: 6000 }] }, [], 3).status, 'warn');+ assert.equal(classifyRevert({ InstructionError: [4, { Custom: 6000 }] }, [], 3).status, 'fail');+ assert.equal(classifyRevert('InsufficientFundsForFee', [], 3).status, 'warn');+ assert.equal(classifyRevert({ InstructionError: [5, 'X'] }, ['Program log: insufficient lamports 1, need 2'], 3).leg, 'buy');+});++test('controls only accept same-origin requests', () => {+ assert.equal(sameOrigin({ headers: { host: '127.0.0.1:4180', origin: 'http://127.0.0.1:4180' } }), true);+ assert.equal(sameOrigin({ headers: { host: '127.0.0.1:4180', origin: 'https://evil.example' } }), false);+ assert.equal(sameOrigin({ headers: { host: '127.0.0.1:4180' } }), false);+ assert.equal(sameOrigin({ headers: { host: '127.0.0.1:4180', origin: 'not a url' } }), false);+});++test('a keypair loads from base58 or a JSON byte array', () => {+ const kp = Keypair.generate();+ assert.equal(loadKeypair({ secretKey: bs58.encode(kp.secretKey) }).publicKey.toBase58(), kp.publicKey.toBase58());+ assert.equal(loadKeypair({ secretKey: JSON.stringify([...kp.secretKey]) }).publicKey.toBase58(), kp.publicKey.toBase58());+ assert.equal(loadKeypair({}), null);+ assert.throws(() => loadKeypair({ secretKey: '[1,2,3]' }), /64 bytes/);+});diff --git a/satellites/oracle-desk/test/ledger.test.js b/satellites/oracle-desk/test/ledger.test.jsnew file mode 100644index 000000000..4576708ce--- /dev/null+++ b/satellites/oracle-desk/test/ledger.test.js@@ -0,0 +1,65 @@+import { test } from 'node:test';+import assert from 'node:assert/strict';+import { Ledger } from '../src/ledger.js';++const MINT = 'THREEsynthetic1111111111111111111111111111';+const T = Date.parse('2026-09-30T12:00:00Z');++function opened() {+ const l = new Ledger({ startLamports: 1_000_000_000, walletLamports: 1_000_000_000 });+ l.recordEntry({ mint: MINT, symbol: 'SYN', seat: 'PRIME', agent: 'SNIPER', costLamports: 100_000_000, tokens: 1_000_000n, coin: { score: 90 }, exits: {}, sig: null, now: T, venue: 'curve' });+ return l;+}++test('an entry moves SOL out of the wallet and opens a position', () => {+ const l = opened();+ assert.equal(l.walletLamports, 900_000_000);+ assert.equal(l.open().length, 1);+ assert.equal(l.entriesSince(T - 1), 1);+ assert.equal(l.hotEquity(), 1_000_000_000);+});++test('a full stop-loss closes and grades the trade', () => {+ const l = opened();+ const trade = l.recordExit(MINT, { soldTokens: 1_000_000n, proceedsLamports: 60_000_000, reason: 'stop_loss', now: T + 1000 });+ assert.equal(trade.pnl_lamports, -40_000_000);+ assert.equal(l.positions[MINT].status, 'closed');+ assert.equal(l.realizedToday(T + 1000), -40_000_000);+ assert.equal(l.netLamports(), -40_000_000);+});++test('take-initials keeps the position open with a proportional cost basis', () => {+ const l = opened();+ const trade = l.recordExit(MINT, { soldTokens: 500_000n, proceedsLamports: 100_000_000, reason: 'take_initials', now: T + 1000, recoversInitials: true });+ assert.equal(trade, null);+ const p = l.positions[MINT];+ assert.equal(p.status, 'open');+ assert.equal(p.initials_recovered, true);+ assert.equal(p.tokens, '500000');+ assert.equal(p.entry_lamports, 50_000_000);+});++test('a moon-bag exit grades the trade and leaves a bag riding', () => {+ const l = opened();+ l.recordExit(MINT, { soldTokens: 500_000n, proceedsLamports: 100_000_000, reason: 'take_initials', now: T + 1000, recoversInitials: true });+ const trade = l.recordExit(MINT, { soldTokens: 425_000n, proceedsLamports: 80_000_000, reason: 'trailing_stop', now: T + 2000, keepsMoonbag: true });+ assert.equal(trade.pnl_lamports, 80_000_000);+ assert.equal(trade.kept_bag, true);+ assert.equal(l.positions[MINT].status, 'bag');+ assert.equal(l.open().length, 0);+ assert.equal(l.bags().length, 1);++ const late = l.recordExit(MINT, { soldTokens: 75_000n, proceedsLamports: 5_000_000, reason: 'manual', now: T + 3000 });+ assert.equal(late, null);+ assert.equal(l.positions[MINT].status, 'closed');+ assert.equal(l.trades[0].pnl_lamports, 85_000_000);+ assert.equal(l.trades[0].bag_proceeds_lamports, 5_000_000);+});++test('sweep moves only the surplus above the keep line', () => {+ const l = new Ledger({ startLamports: 100, walletLamports: 300 });+ assert.equal(l.sweep(150), 150);+ assert.equal(l.walletLamports, 150);+ assert.equal(l.vaultLamports, 150);+ assert.equal(l.sweep(150), 0);+});diff --git a/satellites/oracle-desk/test/seats.test.js b/satellites/oracle-desk/test/seats.test.jsnew file mode 100644index 000000000..b28ba0a4f--- /dev/null+++ b/satellites/oracle-desk/test/seats.test.js@@ -0,0 +1,73 @@+import { test } from 'node:test';+import assert from 'node:assert/strict';+import { CHECKS, bindingCheck, evaluateSeat, gradeSeat, makeSeat, moveBar, refitSeat } from '../src/seats.js';++const NOW = Date.parse('2026-09-30T12:00:00Z');+const coin = (over = {}) => ({+ mint: 'THREEsynthetic1111111111111111111111111111',+ score: 80,+ rug_risk: 15,+ give_back_risk: 30,+ pillars: { pedigree: 40, structure: 50, narrative: 10, momentum: 75 },+ smart_wallet_count: 2,+ coin_first_seen_at: new Date(NOW - 120_000).toISOString(),+ ...over,+});+const seat = (checks) => makeSeat({ id: 'S', thesis: 't', checks }, NOW);++test('a seat passes only when every check clears', () => {+ const s = seat({ min_score: 70, max_rug_risk: 20, max_age_s: 600 });+ assert.equal(evaluateSeat(s, coin(), NOW).pass, true);+ assert.equal(evaluateSeat(s, coin({ rug_risk: 25 }), NOW).pass, false);+ assert.equal(evaluateSeat(s, coin({ coin_first_seen_at: new Date(NOW - 900_000).toISOString() }), NOW).pass, false);+});++test('a missing reading fails its check instead of passing', () => {+ const s = seat({ min_score: 50, max_rug_risk: 40 });+ assert.equal(evaluateSeat(s, coin({ rug_risk: null }), NOW).pass, false);+});++test('the binding check is the passing check with the thinnest margin', () => {+ const s = seat({ min_score: 78, max_rug_risk: 40 });+ const { checks } = evaluateSeat(s, coin(), NOW);+ assert.equal(bindingCheck(checks).key, 'min_score');+});++test('moveBar goes stricter in the right direction and stops at the clamp', () => {+ const s = seat({ min_score: 96, max_rug_risk: 6 });+ assert.deepEqual(moveBar(s, 'min_score', 1), { key: 'min_score', from: 96, to: 97 });+ assert.equal(moveBar(s, 'min_score', 1), null);+ assert.deepEqual(moveBar(s, 'max_rug_risk', 1), { key: 'max_rug_risk', from: 6, to: 5 });+ assert.deepEqual(moveBar(s, 'max_rug_risk', -1), { key: 'max_rug_risk', from: 5, to: 8 });+ assert.equal(CHECKS.min_score.clamp[1], 97);+});++test('gradeSeat is neutral with no trades and rewards net return', () => {+ assert.equal(gradeSeat([]).score, 0.5);+ const good = gradeSeat([{ pnl_lamports: 50, cost_lamports: 100 }, { pnl_lamports: 30, cost_lamports: 100 }]);+ const bad = gradeSeat([{ pnl_lamports: -60, cost_lamports: 100 }, { pnl_lamports: -40, cost_lamports: 100 }]);+ assert.ok(good.score > 0.6);+ assert.ok(bad.score < 0.4);+});++test('refitSeat moves a bar to cut its own losers when that keeps more P&L', () => {+ const s = seat({ min_score: 60 });+ const trade = (score, pnl) => ({ coin: coin({ score }), pnl_lamports: pnl, opened_at: NOW });+ const moves = refitSeat(s, [trade(62, -40), trade(64, -30), trade(81, 90), trade(88, 20)]);+ assert.equal(moves.length, 1);+ assert.equal(moves[0].from, 60);+ assert.equal(moves[0].to, 72.5);+ assert.equal(moves[0].dropped, 2);+ assert.equal(moves[0].droppedNet, -70);+ assert.equal(s.checks.min_score, 72.5);+});++test('refitSeat leaves a seat alone when no bar would have done better', () => {+ const s = seat({ min_score: 60 });+ const moves = refitSeat(s, [+ { coin: coin({ score: 62 }), pnl_lamports: 40, opened_at: NOW },+ { coin: coin({ score: 70 }), pnl_lamports: 10, opened_at: NOW },+ ]);+ assert.deepEqual(moves, []);+ assert.equal(s.checks.min_score, 60);+});diff --git a/satellites/oracle-desk/web/desk.css b/satellites/oracle-desk/web/desk.cssnew file mode 100644index 000000000..618cf8f75--- /dev/null+++ b/satellites/oracle-desk/web/desk.css@@ -0,0 +1,244 @@+/* Oracle Desk. The three.ws Oracle palette and primitives (a single cool-gray+ ramp, semantics carried by lightness), on top of the shared tokens.css. */++:root {+ --bg: #05060c; --panel: rgba(13, 15, 23, 0.72); --panel-solid: #0c0e16; --line: rgba(255, 255, 255, 0.09);+ --ink: #eaeefa; --muted: #8a92a8; --faint: rgba(255, 255, 255, 0.45);+ --cyan: #cdd2e0; --violet: #a6acbc; --gold: #c4c9d6; --up: #e4e8f2; --down: #6c7280; --amber: #b6bcca;+ --accent: #cdd2e0; --stroke-strong: rgba(255, 255, 255, 0.22);+ --gain: #4ade80; --loss: #f87171;+ --r: 16px; --r-sm: 11px;+ --mono: var(--font-mono);+ --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);+ --p-ped: #d8dce8; --p-str: #b0b6c4; --p-nar: #888ea0; --p-mom: #c2c7d4;+}++* { box-sizing: border-box; }+html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink);+ font: 15px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }+body { background:+ radial-gradient(58% 48% at 82% -6%, color-mix(in srgb, var(--violet) 17%, transparent), transparent 70%),+ radial-gradient(48% 42% at 3% -2%, color-mix(in srgb, var(--cyan) 13%, transparent), transparent 66%), var(--bg); }+a { color: inherit; text-decoration: none; }+a.inline, .foot a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--stroke-strong); text-underline-offset: 3px; transition: text-decoration-color var(--duration-fast); }+a.inline:hover, .foot a:hover { text-decoration-color: var(--ink); }+button { font: inherit; color: inherit; cursor: pointer; }+:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }+h2 { font: 700 17px/1.2 var(--font-display); letter-spacing: -0.01em; margin: 0; }+.wrap { max-width: 1200px; margin: 0 auto; padding: 0 18px 90px; }+.wrap:focus { outline: none; }+.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: var(--bg); font-weight: 600; }+.skip:focus { left: 12px; }++/* header: the three.ws nav bar */+.nav { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--hairline);+ background: rgba(5, 5, 5, 0.82); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); }+.nav-inner { display: flex; align-items: center; gap: 12px; padding: 16px 32px; max-width: 1440px; margin: 0 auto; }+.brand { display: flex; align-items: center; gap: 10px; font: 600 var(--text-base)/1 var(--font-display); letter-spacing: -0.025em; }+.brand-mark { width: 24px; height: 24px; border-radius: 5px; display: block; }+.crumb { color: var(--faint); }+.product { font: 600 var(--text-base)/1 var(--font-display); letter-spacing: -0.02em; color: var(--muted); }+.nav-main { display: flex; gap: 2px; margin-left: auto; }+.nav-main a { padding: 7px 12px; font-size: var(--text-ui); font-weight: 450; color: var(--text-2, #a8a8a8); border-radius: 8px; transition: color var(--duration-fast), background var(--duration-fast); }+.nav-main a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }+.mode { font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }+.mode[data-mode="paper"] { color: var(--cyan); border-color: color-mix(in srgb, var(--cyan) 35%, var(--line)); background: color-mix(in srgb, var(--cyan) 9%, transparent); }+.mode[data-mode="live"] { color: var(--gain); border-color: color-mix(in srgb, var(--gain) 45%, var(--line)); background: color-mix(in srgb, var(--gain) 10%, transparent); }++/* banner */+.banner { margin-top: 18px; padding: 12px 15px; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--loss) 40%, var(--line)); background: color-mix(in srgb, var(--loss) 9%, var(--panel)); font-size: 13.5px; }+.banner.info { border-color: color-mix(in srgb, var(--cyan) 35%, var(--line)); background: color-mix(in srgb, var(--cyan) 7%, var(--panel)); }++/* hero */+.hero { padding: 40px 0 22px; }+.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: .04em;+ text-transform: uppercase; color: var(--cyan); padding: 7px 12px; border: 1px solid color-mix(in srgb, var(--cyan) 30%, var(--line));+ border-radius: 999px; background: color-mix(in srgb, var(--cyan) 9%, transparent); }+.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: pulse 1.9s infinite; }+.eyebrow i.off { background: var(--muted); animation: none; }+@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(228, 232, 242, .5) } 70% { box-shadow: 0 0 0 7px rgba(228, 232, 242, 0) } 100% { box-shadow: 0 0 0 0 rgba(228, 232, 242, 0) } }+.hero h1 { font: 800 clamp(30px, 5vw, 48px)/1.04 var(--font-display); letter-spacing: -0.026em; margin: 18px 0 12px; }+.hero h1 span { background: linear-gradient(100deg, var(--ink), var(--muted)); -webkit-background-clip: text; background-clip: text; color: transparent; }+.hero p { max-width: 720px; font-size: 16px; color: var(--muted); margin: 0; }+.statline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }+.stat { display: flex; flex-direction: column; gap: 4px; padding: 11px 15px; min-width: 112px;+ border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }+.stat > span { font: 600 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }+.stat b { font: 800 23px/1 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }+.stat .stat-sub { font: 600 9.5px/1.2 var(--mono); color: var(--muted); letter-spacing: .02em; min-height: 11px; }+.gain { color: var(--gain) !important; } .loss { color: var(--loss) !important; }+.actions { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }++/* buttons */+.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);+ background: var(--panel); font-weight: 600; font-size: 13px; color: var(--ink);+ transition: transform var(--duration-fast), border-color var(--duration-fast), background var(--duration-fast); }+.btn:hover:not(:disabled) { transform: translateY(-1px); border-color: color-mix(in srgb, var(--cyan) 50%, var(--line)); }+.btn:active:not(:disabled) { transform: translateY(0) scale(0.98); }+.btn:disabled { opacity: var(--disabled-opacity); cursor: not-allowed; }+.btn.ghost { background: transparent; }+.btn.danger { border-color: color-mix(in srgb, var(--loss) 45%, var(--line)); background: color-mix(in srgb, var(--loss) 12%, var(--panel)); }+.btn.small { padding: 6px 11px; font-size: 12px; }+.btn[aria-pressed="true"] { border-color: color-mix(in srgb, var(--amber) 55%, var(--line)); background: color-mix(in srgb, var(--amber) 14%, var(--panel)); }++/* cards */+.card { background: var(--panel); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); margin-top: 14px; }+.card-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }+.sub { color: var(--muted); font-size: 13px; margin: 0; }+.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 34px 0 0; }+.ct { font: 600 11px/1 var(--mono); color: var(--faint); margin-left: 6px; }++/* funnel */+.funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }+.funnel li { display: grid; grid-template-columns: 170px 1fr 92px; gap: 12px; align-items: center; }+.funnel .fl-lab { font: 600 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }+.funnel .fl-track { display: block; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .05); overflow: hidden; }+.funnel .fl-fill { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--cyan), var(--violet)); min-width: 3px; transition: width var(--duration-slow) var(--ease-emphasized); }+.funnel .fl-val { font: 800 15px/1 var(--mono); text-align: right; font-variant-numeric: tabular-nums; }+.kills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }+.chip { font: 600 11px/1 var(--mono); padding: 5px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }+.chip b { color: var(--ink); }++/* org chart */+.head-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; }+.org { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }+.org .card { margin-top: 0; display: flex; flex-direction: column; gap: 12px; }+.org .research { grid-column: span 2; }+.desk-top { display: flex; align-items: center; gap: 10px; }+.desk-no { font: 700 10px/1 var(--mono); color: var(--faint); letter-spacing: .08em; }+.desk-name { font: 700 14px/1 var(--mono); letter-spacing: .06em; }+.desk-role { color: var(--muted); font-size: 12.5px; margin: 0; }+.agents { display: grid; gap: 6px; }+.agent { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; font: 600 12px/1.3 var(--mono); }+.agent .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--down); }+.agent .dot.live { background: var(--gain); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gain) 18%, transparent); }+.agent .dot.warn { background: var(--warn); }+.agent .dot.error { background: var(--loss); }+.agent .meta { color: var(--muted); font-weight: 500; }+.kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font: 600 12px/1.3 var(--mono); margin: 0; }+.kv dt { color: var(--muted); font-weight: 500; }+.kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }+.meter { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }+.meter i { display: block; height: 100%; border-radius: 3px; background: var(--p-mom); transition: width var(--duration-slow) var(--ease-emphasized); }+.meter.hot i { background: var(--amber); }+.frozen { font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 6px; color: var(--loss); background: color-mix(in srgb, var(--loss) 14%, transparent); margin-left: auto; }++/* research seats */+.seats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }+.seat { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; background: rgba(255, 255, 255, 0.02); display: grid; gap: 9px; transition: border-color var(--duration-base); }+.seat:hover { border-color: var(--stroke-strong); }+.seat.fired-now { animation: firedflash 2.4s ease-out; }+@keyframes firedflash { 0% { border-color: var(--loss); box-shadow: 0 0 0 2px color-mix(in srgb, var(--loss) 40%, transparent); } 100% { border-color: var(--line); box-shadow: none; } }+.seat-top { display: flex; align-items: center; gap: 8px; }+.seat-id { font: 700 13px/1 var(--mono); letter-spacing: .04em; }+.seat-rev { font: 600 10px/1 var(--mono); color: var(--faint); }+.seat-score { margin-left: auto; font: 800 18px/1 var(--mono); font-variant-numeric: tabular-nums; }+.seat-thesis { color: var(--muted); font-size: 12px; margin: 0; line-height: 1.4; }+.seat-stats { display: flex; flex-wrap: wrap; gap: 6px; }+.bars { display: flex; flex-wrap: wrap; gap: 5px; }+.bar-chip { font: 600 10.5px/1 var(--mono); padding: 4px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--muted); }+.bar-chip b { color: var(--ink); }+.badge-fired { font: 700 9.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 3px 6px; border-radius: 5px; color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, transparent); }++/* head */+.head-title { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }+.head-title .desk-name { font-size: 15px; }+.memo { margin: 10px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; }+.memo .memo-meta { display: block; font: 600 10px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 7px; }+.decision { font-size: 13px; line-height: 1.45; padding: 9px 0; border-top: 1px solid var(--line); }+.decision:first-child { border-top: none; padding-top: 0; }+.decision .k { font: 700 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 3px 6px; border-radius: 5px; margin-right: 7px; background: rgba(255, 255, 255, 0.06); color: var(--muted); }+.decision .k.fire { color: var(--loss); background: color-mix(in srgb, var(--loss) 14%, transparent); }+.decision .k.promote { color: var(--gain); background: color-mix(in srgb, var(--gain) 13%, transparent); }++/* tables */+.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }+table { width: 100%; border-collapse: collapse; font-size: 13px; }+th { padding: 8px 10px; text-align: left; font: 600 10px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line); white-space: nowrap; }+td { padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }+tr:last-child td { border-bottom: none; }+tbody tr { transition: background var(--duration-fast); }+tbody tr:hover { background: rgba(255, 255, 255, 0.025); }+td.num, th.num { text-align: right; font-family: var(--mono); }+.coin-cell { display: flex; align-items: center; gap: 10px; }+.coin-img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; background: radial-gradient(120% 100% at 50% 0%, #1a1c24, #0d0e14); border: 1px solid var(--line); flex: none; display: grid; place-items: center; font: 700 12px/1 var(--mono); color: var(--faint); }+.coin-sym { font-weight: 700; }+.coin-sym:hover { text-decoration: underline; text-underline-offset: 3px; }+.tierpill { display: inline-block; font: 700 9.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 4px 7px; border-radius: 6px; }+.tp-prime, .tp-strong { background: color-mix(in srgb, var(--up) 18%, transparent); color: var(--up); }+.tp-lean { background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); }+.tp-watch { background: rgba(255, 255, 255, 0.06); color: var(--faint); }+.tp-avoid { background: color-mix(in srgb, var(--down) 16%, transparent); color: var(--down); }+.status { font: 700 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 4px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--muted); }+.status.bag { color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, transparent); }+.mono { font-family: var(--mono); }+.dim { color: var(--muted); }++/* empty and loading states */+.empty { padding: 26px 18px; text-align: center; color: var(--muted); font-size: 13.5px; border: 1px dashed var(--line); border-radius: var(--r-sm); }+.empty b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 6px; }+.skel-stat, .skel-card, .skel-block, .skel-row { position: relative; overflow: hidden; background: var(--skeleton-base); border-color: var(--line); }+.skel-stat { height: 66px; }+.skel-card { height: 200px; }+.skel-block { height: 120px; border-radius: var(--r-sm); }+.skel-row { height: 12px; border-radius: 6px; list-style: none; }+.skel-stat::after, .skel-card::after, .skel-block::after, .skel-row::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%);+ background: linear-gradient(90deg, transparent, var(--skeleton-sheen), transparent); animation: shimmer 1.4s infinite; }+@keyframes shimmer { to { transform: translateX(100%); } }++/* tabs and views */+.tabs { display: flex; gap: 6px; margin: 34px 0 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }+.tab { padding: 11px 6px; margin-bottom: -1px; border: none; background: none; color: var(--muted); font-weight: 600; font-size: 14px;+ border-bottom: 2px solid transparent; transition: color var(--duration-base), border-color var(--duration-base); }+.tab:hover { color: var(--ink); }+.tab.on { color: var(--ink); border-bottom-color: var(--cyan); }+.view.on { animation: fade .3s; }+@keyframes fade { from { opacity: 0; transform: translateY(4px); } }++/* tape */+.tape, .revs { list-style: none; margin: 0; padding: 0; max-height: 560px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel); }+.tape li, .revs li { display: grid; grid-template-columns: 64px 96px minmax(0, 1fr); gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.45; align-items: baseline; }+.tape li:last-child, .revs li:last-child { border-bottom: none; }+.tape li.new { animation: tapein .6s var(--ease-emphasized); }+@keyframes tapein { from { background: color-mix(in srgb, var(--cyan) 10%, transparent); } }+.tape time, .revs time { font: 500 11px/1.4 var(--mono); color: var(--faint); }+.tape .who { font: 700 10.5px/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }+.tape .txt { overflow-wrap: anywhere; }+.tape li.warn .txt { color: var(--warn); }+.tape li.error .txt { color: var(--loss); }+.tape li.k-entry .txt, .tape li.k-win .txt { color: var(--gain); }+.tape li.k-loss .txt { color: var(--loss); }+.tape li.k-head-fire .txt { color: var(--amber); font-weight: 600; }+.tape a.sig { font: 600 10.5px/1 var(--mono); color: var(--faint); margin-left: 6px; text-decoration: underline; text-underline-offset: 2px; }+.tape a.sig:hover { color: var(--ink); }+.revs .who b { color: var(--ink); }++/* confirm dialog */+.confirm { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel-solid); color: var(--ink); padding: 22px; max-width: 420px; width: calc(100% - 32px); box-shadow: var(--shadow-3); }+.confirm::backdrop { background: var(--scrim-modal); backdrop-filter: blur(4px); }+.confirm h3 { margin: 0 0 8px; font: 700 17px/1.2 var(--font-display); }+.confirm p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }+.confirm-actions { display: flex; justify-content: flex-end; gap: 8px; }++.foot { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); display: grid; gap: 6px; }++@media (max-width: 980px) {+ .org { grid-template-columns: repeat(2, minmax(0, 1fr)); }+ .org .research { grid-column: span 2; }+ .head-card { grid-template-columns: 1fr; }+}+@media (max-width: 640px) {+ .nav-inner { padding: 12px 16px; gap: 8px; }+ .nav-main { display: none; }+ .mode { margin-left: auto; }+ .wrap { padding: 0 16px 70px; }+ .org, .seats { grid-template-columns: 1fr; }+ .org .research { grid-column: auto; }+ .funnel li { grid-template-columns: 1fr 70px; }+ .funnel .fl-track { grid-column: 1 / -1; grid-row: 2; }+ .stat { min-width: calc(50% - 5px); flex: 1 1 calc(50% - 5px); }+ .tape li, .revs li { grid-template-columns: 56px minmax(0, 1fr); }+ .tape .who { grid-column: 2; grid-row: 1; }+ .tape .txt { grid-column: 1 / -1; }+}diff --git a/satellites/oracle-desk/web/desk.js b/satellites/oracle-desk/web/desk.jsnew file mode 100644index 000000000..56d76a05a--- /dev/null+++ b/satellites/oracle-desk/web/desk.js@@ -0,0 +1,414 @@+// Oracle Desk dashboard. One event stream from the local desk process: a full+// snapshot every two seconds and every log line as it happens. Each section+// re-renders only when its own data changed, so focus and scroll stay put.++const $ = (id) => document.getElementById(id);+const esc = (v) => String(v ?? '').replace(/[&<>"']/g, (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' })[c]);+const fmt = (n, d = 4) => (n == null || !Number.isFinite(Number(n)) ? '-' : Number(n).toFixed(d));+const signed = (n, d = 4) => (n == null ? '-' : `${n > 0 ? '+' : ''}${fmt(n, d)}`);+const tone = (n) => (n > 0 ? 'gain' : n < 0 ? 'loss' : '');+const time = (t) => new Date(t).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit', second: '2-digit', hour12: false });+const ago = (t) => {+ const s = Math.max(0, Math.round((Date.now() - t) / 1000));+ if (s < 60) return `${s}s`;+ if (s < 3600) return `${Math.floor(s / 60)}m`;+ return `${Math.floor(s / 3600)}h ${Math.floor((s % 3600) / 60)}m`;+};+const until = (t) => {+ const s = Math.max(0, Math.round((t - Date.now()) / 1000));+ return s < 60 ? `${s}s` : `${Math.floor(s / 60)}m`;+};+const oracleCoin = (mint) => `https://three.ws/oracle/coin/${encodeURIComponent(mint)}`;+const solscan = (sig) => `https://solscan.io/tx/${encodeURIComponent(sig)}`;++let state = null;+const rendered = {};+let lastSeenFired = null;++function renderIf(key, data, fn) {+ const sig = JSON.stringify(data);+ if (rendered[key] === sig) return;+ rendered[key] = sig;+ fn(data);+}++function coinCell(mint, symbol, image) {+ const sym = symbol || mint.slice(0, 6);+ const img = image ? `<img class="coin-img" src="${esc(image)}" alt="" loading="lazy" referrerpolicy="no-referrer" />` : `<span class="coin-img" aria-hidden="true">${esc(sym.slice(0, 1))}</span>`;+ return `<div class="coin-cell">${img}<a class="coin-sym" href="${oracleCoin(mint)}" target="_blank" rel="noopener" title="Open ${esc(sym)} on the Oracle">${esc(sym)}</a></div>`;+}++function tierPill(tier) {+ return tier ? `<span class="tierpill tp-${esc(tier)}">${esc(tier)}</span>` : '';+}++/* ── hero ─────────────────────────────────────────────────────────────── */++function renderHero(s) {+ const pill = $('modePill');+ pill.dataset.mode = s.mode;+ pill.textContent = s.mode === 'live' ? 'Live' : 'Paper';+ pill.title = s.mode === 'live' ? `Trading real funds from ${s.address}` : 'Real launches and real quotes; nothing is signed';+ $('liveDot').classList.remove('off');+ const up = ago(s.started_at);+ $('eyebrowText').textContent = `${s.mode === 'live' ? 'live' : 'paper'} desk · up ${up}${s.risk.paused ? ' · paused' : ''}${s.risk.frozen ? ' · frozen' : ''}`;++ const w = s.wallet;+ const winRate = s.record.trades ? Math.round((s.record.wins / s.record.trades) * 100) : null;+ const stats = [+ ['Equity', `${fmt(w.equity_sol, 3)}`, `started ${fmt(w.start_sol, 2)} SOL`, ''],+ ['Net P&L', signed(w.net_sol, 3), `today ${signed(w.realized_today_sol, 3)} realized`, tone(w.net_sol)],+ ['Wallet', fmt(w.wallet_sol, 3), `${fmt(w.mark_sol, 3)} SOL in positions`, ''],+ ['Vault', fmt(w.vault_sol, 3), 'swept profit', ''],+ ['Win / loss', `${s.record.wins}/${s.record.losses}`, winRate == null ? 'no closed trades yet' : `${winRate}% of ${s.record.trades}`, ''],+ ['Launches', s.counters.launches.toLocaleString(), `${s.counters.verdicts.toLocaleString()} Oracle verdicts`, ''],+ ];+ renderIf('stats', stats, (rows) => {+ $('statline').innerHTML = rows+ .map(([label, value, sub, cls]) => `<div class="stat"><span>${esc(label)}</span><b class="${cls}">${esc(value)}</b><span class="stat-sub">${esc(sub)}</span></div>`)+ .join('');+ });++ const pause = $('pauseBtn');+ pause.disabled = false;+ pause.setAttribute('aria-pressed', String(s.risk.paused));+ pause.textContent = s.risk.paused ? 'Resume entries' : 'Pause entries';+ $('reviewBtn').disabled = false;+}++/* ── funnel ───────────────────────────────────────────────────────────── */++const KILL_LABEL = {+ min_score: 'conviction too low',+ max_rug_risk: 'rug risk too high',+ max_give_back: 'give-back risk too high',+ min_momentum: 'momentum too weak',+ min_structure: 'structure too weak',+ min_pedigree: 'pedigree too weak',+ min_smart_wallets: 'no smart wallets',+ max_age_s: 'too old by the time scored',+};++function renderFunnel(s) {+ const c = s.counters;+ const steps = [+ ['Launches seen', c.launches],+ ['Oracle verdicts', c.verdicts],+ ['Cleared research', c.cleared],+ ['Entries taken', c.entries],+ ['Closed and graded', c.closed],+ ];+ renderIf('funnel', { steps, blocked: c.blocked, fw: c.firewalled, killed: s.killed_by }, ({ steps: rows, blocked, fw, killed }) => {+ const max = Math.max(1, ...rows.map((r) => r[1]));+ $('funnel').innerHTML = rows+ .map(([label, n]) => {+ const pct = n ? Math.max(0.6, Math.sqrt(n / max) * 100) : 0;+ return `<li><span class="fl-lab">${esc(label)}</span><span class="fl-track" aria-hidden="true"><span class="fl-fill" style="width:${pct.toFixed(1)}%"></span></span><span class="fl-val">${n.toLocaleString()}</span></li>`;+ })+ .join('');+ const kills = Object.entries(killed || {}).sort((a, b) => b[1] - a[1]);+ const chips = [+ ...kills.map(([k, n]) => `<span class="chip">${esc(KILL_LABEL[k] || k)} <b>${n.toLocaleString()}</b></span>`),+ blocked ? `<span class="chip">refused by risk <b>${blocked.toLocaleString()}</b></span>` : '',+ fw ? `<span class="chip">refused by firewall <b>${fw.toLocaleString()}</b></span>` : '',+ ].filter(Boolean);+ $('kills').innerHTML = chips.length ? chips.join('') : '<span class="chip">Waiting for the first verdicts to come through research</span>';+ });+}++/* ── org chart ────────────────────────────────────────────────────────── */++function agentRow(a, meta) {+ const cls = a.status === 'live' ? 'live' : a.status === 'error' ? 'error' : a.status === 'reconnecting' || a.status === 'connecting' ? 'warn' : '';+ return `<div class="agent"><span class="dot ${cls}" aria-hidden="true"></span><span>${esc(a.name)} <span class="meta">${esc(a.status)}</span></span><span class="meta">${esc(meta)}</span></div>`;+}++const BAR_LABEL = { min_score: 'score ≥', max_rug_risk: 'rug ≤', max_give_back: 'give-back ≤', min_momentum: 'momentum ≥', min_structure: 'structure ≥', min_pedigree: 'pedigree ≥', min_smart_wallets: 'smart ≥', max_age_s: 'age ≤' };++function seatCard(seat) {+ const g = seat.grade;+ const bars = Object.entries(seat.checks)+ .map(([k, v]) => `<span class="bar-chip">${esc(BAR_LABEL[k] || k)} <b>${k === 'max_age_s' ? `${Math.round(v / 60)}m` : esc(v)}</b></span>`)+ .join('');+ const scoreTone = g.n ? (g.score >= 0.5 ? 'gain' : 'loss') : 'dim';+ return `<div class="seat" data-seat="${esc(seat.id)}">+ <div class="seat-top"><span class="seat-id">${esc(seat.id)}</span><span class="seat-rev">rev ${seat.rev}</span>${seat.fired ? `<span class="badge-fired">fired ${seat.fired}x</span>` : ''}<span class="seat-score ${scoreTone}" title="Seat grade over its current window: half smoothed win rate, half return on what it risked">${g.n ? g.score.toFixed(2) : '-'}</span></div>+ <p class="seat-thesis">${esc(seat.thesis)}</p>+ <div class="seat-stats"><span class="chip">${g.wins}/${g.n} wins</span><span class="chip ${tone(g.netLamports)}">${signed(g.netLamports / 1e9, 3)} SOL</span><span class="chip">budget <b>${seat.budget}x</b></span><span class="chip">cleared <b>${seat.stats.claimed}</b></span></div>+ <div class="bars">${bars}</div>+ </div>`;+}++function renderOrg(s) {+ renderIf('org', { tick: Math.floor(Date.now() / 30_000), radar: s.radar, seats: s.seats, risk: s.risk, exec: s.execution, audit: s.audit, treasury: s.treasury, pos: s.positions.filter((p) => p.status === 'open').length, w: s.wallet }, (d) => {+ const openCap = d.risk.caps.max_open_positions;+ const lossUsed = Math.max(0, -Math.min(0, d.w.realized_today_sol));+ const lossPct = Math.min(100, (lossUsed / d.risk.caps.daily_loss_cap_sol) * 100);+ const blocks = Object.entries(d.risk.blocks).sort((a, b) => b[1] - a[1]).slice(0, 3);+ const revs = d.audit.revisions.slice(0, 3);+ $('org').innerHTML = `+ <article class="card" aria-label="Radar desk">+ <div class="desk-top"><span class="desk-no">01</span><span class="desk-name">RADAR</span></div>+ <p class="desk-role">Every pump.fun launch and every Oracle verdict, the moment they happen.</p>+ <div class="agents">${d.radar.map((a) => agentRow(a, `${a.count.toLocaleString()} seen`)).join('')}</div>+ </article>+ <article class="card research" aria-label="Research desk">+ <div class="desk-top"><span class="desk-no">02</span><span class="desk-name">RESEARCH</span></div>+ <p class="desk-role">Four seats judge every verdict. The seat with the widest margin claims the coin and owns the result.</p>+ <div class="seats">${d.seats.map(seatCard).join('')}</div>+ </article>+ <article class="card" aria-label="Execution desk">+ <div class="desk-top"><span class="desk-no">03</span><span class="desk-name">EXECUTION</span></div>+ <p class="desk-role">Quotes the bonding curve or PumpSwap pool, runs the firewall, takes the fill, works the exit ladder.</p>+ <div class="agents">${d.exec.map((a) => agentRow(a, `${a.fills} fills${a.failures ? ` · ${a.failures} failed` : ''}${a.last_ms ? ` · ${a.last_ms}ms` : ''}`)).join('')}</div>+ </article>+ <article class="card" aria-label="Risk desk">+ <div class="desk-top"><span class="desk-no">04</span><span class="desk-name">RISK</span>${d.risk.frozen ? '<span class="frozen">frozen</span>' : d.risk.paused ? '<span class="frozen">paused</span>' : ''}</div>+ <p class="desk-role">Sizes every entry and can refuse any of them. Nobody overrides it.</p>+ <dl class="kv"><dt>Open positions</dt><dd>${d.pos} / ${openCap}</dd></dl>+ <div class="meter${d.pos >= openCap ? ' hot' : ''}" role="img" aria-label="${d.pos} of ${openCap} position slots used"><i style="width:${Math.min(100, (d.pos / openCap) * 100)}%"></i></div>+ <dl class="kv"><dt>Daily loss used</dt><dd>${fmt(lossUsed, 3)} / ${d.risk.caps.daily_loss_cap_sol} SOL</dd></dl>+ <div class="meter${lossPct > 75 ? ' hot' : ''}" role="img" aria-label="${Math.round(lossPct)}% of the daily loss cap used"><i style="width:${lossPct}%"></i></div>+ <dl class="kv"><dt>Entry size</dt><dd>${d.risk.caps.base_size_sol} SOL x budget</dd><dt>Max per position</dt><dd>${Math.round(d.risk.caps.max_position_fraction * 100)}% of wallet</dd></dl>+ ${blocks.length ? `<div class="bars">${blocks.map(([k, n]) => `<span class="bar-chip">${esc(k)} <b>${n}</b></span>`).join('')}</div>` : ''}+ </article>+ <article class="card" aria-label="Audit desk">+ <div class="desk-top"><span class="desk-no">05</span><span class="desk-name">AUDIT</span></div>+ <p class="desk-role">Grades every closed trade and moves the seat's closest call one step, inside hard clamps.</p>+ <div class="agents">${d.audit.agents.map((a) => agentRow(a, a.graded != null ? `${a.graded} graded` : `${a.revisions} revisions`)).join('')}</div>+ ${revs.length ? revs.map((r) => `<div class="bar-chip">${esc(r.seat)} ${esc(r.key)} <b>${esc(r.from)} → ${esc(r.to)}</b></div>`).join('') : '<p class="desk-role">No revisions yet. The matrix moves after the first graded trade.</p>'}+ </article>+ <article class="card" aria-label="Treasury desk">+ <div class="desk-top"><span class="desk-no">06</span><span class="desk-name">TREASURY</span>${d.treasury.frozen ? '<span class="frozen">freeze on</span>' : ''}</div>+ <p class="desk-role">Freezes new entries on a real drawdown and sweeps profit out of the hot wallet.</p>+ <dl class="kv"><dt>Vault</dt><dd>${fmt(d.w.vault_sol, 4)} SOL</dd><dt>Next sweep</dt><dd>in ${until(d.treasury.next_sweep_at)}</dd><dt>Sweeps</dt><dd>${d.treasury.sweeps.length}</dd></dl>+ </article>`;+ });+}++function renderHead(s) {+ renderIf('head', { tick: Math.floor(Date.now() / 30_000), head: s.head, memo: s.memo_enabled, seats: s.seats.map((x) => [x.id, x.fired]) }, ({ head, memo }) => {+ const latest = head.decisions.slice(0, 4);+ const m = head.memos[0];+ $('headCard').innerHTML = `+ <div>+ <div class="head-title"><span class="desk-name">HEAD OF DESK</span><span class="chip">never trades</span></div>+ <p class="desk-role">Reads every seat's realized record each review. Promotes the best, fires the worst below the bar, and has audit rewrite the fired seat from its own trades.</p>+ <dl class="kv" style="margin-top:12px"><dt>Next review</dt><dd>in ${until(head.next_review_at)}</dd><dt>Firings</dt><dd>${head.firings}</dd></dl>+ ${m ? `<div class="memo"><span class="memo-meta">memo · ${esc(time(m.t))} · ${esc(m.model)}</span>${esc(m.text)}</div>` : memo ? '' : '<p class="desk-role" style="margin-top:12px">Set ANTHROPIC_API_KEY and the head writes a short memo narrating each review. Decisions never depend on it.</p>'}+ </div>+ <div>${latest.length ? latest.map((d) => `<div class="decision"><span class="k ${esc(d.kind)}">${esc(d.kind)}</span>${d.seat ? `<b>${esc(d.seat)}</b> ` : ''}${esc(d.text)}</div>`).join('') : '<div class="empty"><b>No review yet</b>The first review runs one interval after start, or run one now from the button above.</div>'}</div>`;+ });+ const fired = s.head.decisions.find((d) => d.kind === 'fire');+ if (fired && lastSeenFired !== null && fired.t !== lastSeenFired) {+ document.querySelector(`.seat[data-seat="${CSS.escape(fired.seat)}"]`)?.classList.add('fired-now');+ }+ lastSeenFired = fired?.t ?? 0;+}++/* ── positions and trades ─────────────────────────────────────────────── */++function renderPositions(s) {+ renderIf('positions', s.positions, (rows) => {+ $('posCount').textContent = rows.length ? rows.length : '';+ if (!rows.length) {+ const last = s.recent_clears[0];+ $('positions').innerHTML = `<div class="empty"><b>No open positions</b>The desk enters when a seat clears a coin and risk allows it.${last ? ` Last clear: ${esc(last.symbol || last.mint.slice(0, 6))} by ${esc(last.seat)}, ${esc(ago(last.t))} ago.` : ' Nothing has cleared research yet this session.'}</div>`;+ return;+ }+ $('positions').innerHTML = `<table><thead><tr><th>Coin</th><th>Seat</th><th>Status</th><th class="num">Cost</th><th class="num">Value</th><th class="num">Multiple</th><th class="num">Oracle</th><th class="num">P(run & hold)</th><th>Held</th><th></th></tr></thead><tbody>${rows+ .map(+ (p) => `<tr>+ <td>${coinCell(p.mint, p.symbol, p.image)}</td>+ <td class="mono">${esc(p.seat)}</td>+ <td><span class="status ${esc(p.status)}">${p.status === 'bag' ? 'bag' : p.initials_recovered ? 'stake back' : 'open'}</span> <span class="dim mono">${p.venue === 'amm' ? 'pool' : 'curve'}</span></td>+ <td class="num">${fmt(p.cost_sol)}</td>+ <td class="num" title="${p.mark_error ? esc(`last mark failed: ${p.mark_error}`) : 'real sell quote'}">${fmt(p.value_sol)}${p.mark_error ? ' <span class="dim">stale</span>' : ''}</td>+ <td class="num ${tone(p.multiple - 1)}">${fmt(p.multiple, 2)}x</td>+ <td class="num">${p.score ?? '-'} ${tierPill(p.tier)}</td>+ <td class="num">${p.p_win == null ? '-' : `${(p.p_win * 100).toFixed(1)}%`}</td>+ <td class="dim mono">${esc(ago(p.opened_at))}</td>+ <td><button class="btn small ghost" type="button" data-close="${esc(p.mint)}" data-symbol="${esc(p.symbol || p.mint.slice(0, 6))}" data-value="${fmt(p.value_sol)}">Sell</button></td>+ </tr>`,+ )+ .join('')}</tbody></table>`;+ });+}++function renderTrades(s) {+ renderIf('trades', s.trades, (rows) => {+ $('tradeCount').textContent = rows.length || '';+ if (!rows.length) {+ $('trades').innerHTML = '<div class="empty"><b>No closed trades yet</b>A trade is graded when its stake-bearing part closes: a stop, a timeout, a dead market, or the ladder returning the stake with a bag left to ride.</div>';+ return;+ }+ $('trades').innerHTML = `<table><thead><tr><th>Coin</th><th>Seat</th><th>Exit</th><th class="num">Cost</th><th class="num">P&L</th><th class="num">Multiple</th><th class="num">Oracle</th><th>Closed</th></tr></thead><tbody>${rows+ .map(+ (t) => `<tr>+ <td>${coinCell(t.mint, t.symbol, null)}</td>+ <td class="mono">${esc(t.seat)}</td>+ <td class="mono dim">${esc(t.reason.replace(/_/g, ' '))}${t.kept_bag ? ' + bag' : ''}</td>+ <td class="num">${fmt(t.cost_sol)}</td>+ <td class="num ${tone(t.pnl_sol)}">${signed(t.pnl_sol)}</td>+ <td class="num">${fmt(t.multiple, 2)}x</td>+ <td class="num">${t.score ?? '-'} ${tierPill(t.tier)}</td>+ <td class="dim mono">${esc(ago(t.closed_at))} ago</td>+ </tr>`,+ )+ .join('')}</tbody></table>`;+ });+}++function renderRecords(s) {+ renderIf('revisions', s.audit.revisions, (rows) => {+ $('revCount').textContent = rows.length || '';+ $('revisions').innerHTML = rows.length+ ? rows.map((r) => `<li><time>${esc(time(r.t))}</time><span class="who"><b>${esc(r.seat)}</b></span><span>${esc(r.key)} <b class="mono">${esc(r.from)} → ${esc(r.to)}</b> <span class="dim">${esc(r.why)}</span></span></li>`).join('')+ : '<li><span></span><span></span><span class="dim">No revisions yet. Audit moves a seat\'s bars after it grades a real closed trade.</span></li>';+ });+ renderIf('decisions', s.head.decisions, (rows) => {+ $('decCount').textContent = rows.length || '';+ $('decisions').innerHTML = rows.length+ ? rows.map((d) => `<li><time>${esc(time(d.t))}</time><span class="who"><b>${esc(d.kind)}</b></span><span>${d.seat ? `<b>${esc(d.seat)}</b> ` : ''}${esc(d.text)}</span></li>`).join('')+ : '<li><span></span><span></span><span class="dim">The head has not reviewed yet.</span></li>';+ });+ if (s.model) {+ renderIf('model', s.model, (m) => {+ $('modelLine').textContent = `Conviction model v${m.version}: ${m.training_rows.toLocaleString()} labeled launches${m.auc ? `, held-out AUC ${m.auc}` : ''}${m.base_rate ? `, base rate ${(m.base_rate * 100).toFixed(1)}%` : ''}.`;+ });+ }+}++/* ── tape ─────────────────────────────────────────────────────────────── */++const TAPE_LIMIT = 250;+const tapeIds = new Set();++function tapeItem(e, fresh) {+ const li = document.createElement('li');+ li.className = [e.level || '', e.kind ? `k-${e.kind}` : '', fresh ? 'new' : ''].join(' ').trim();+ const sig = e.sig ? ` <a class="sig" href="${solscan(e.sig)}" target="_blank" rel="noopener">tx</a>` : '';+ const coin = e.mint ? ` <a class="sig" href="${oracleCoin(e.mint)}" target="_blank" rel="noopener">oracle</a>` : '';+ li.innerHTML = `<time>${esc(time(e.t))}</time><span class="who">${esc(e.desk)} · ${esc(e.agent)}</span><span class="txt">${esc(e.text)}${sig}${coin}</span>`;+ return li;+}++function addTape(e, fresh = true) {+ if (tapeIds.has(e.id)) return;+ tapeIds.add(e.id);+ const tape = $('tape');+ tape.prepend(tapeItem(e, fresh));+ while (tape.children.length > TAPE_LIMIT) tape.lastElementChild.remove();+}++function seedTape(log) {+ if (tapeIds.size) return;+ for (const e of log) addTape(e, false);+}++/* ── wiring ───────────────────────────────────────────────────────────── */++function render(s) {+ state = s;+ renderHero(s);+ renderFunnel(s);+ renderHead(s);+ renderOrg(s);+ renderPositions(s);+ renderTrades(s);+ renderRecords(s);+ seedTape(s.log);+}++function banner(text, info = false) {+ const b = $('banner');+ if (!text) {+ b.hidden = true;+ return;+ }+ b.textContent = text;+ b.classList.toggle('info', info);+ b.hidden = false;+}++function connect() {+ const source = new EventSource('/api/events');+ source.addEventListener('state', (ev) => {+ banner(null);+ render(JSON.parse(ev.data));+ });+ source.addEventListener('log', (ev) => addTape(JSON.parse(ev.data)));+ source.addEventListener('error', () => {+ $('liveDot').classList.add('off');+ $('eyebrowText').textContent = 'reconnecting to the desk';+ banner('Lost the connection to the desk process. Reconnecting on its own; if this stays, check the terminal running oracle-desk.');+ });+}++async function control(body) {+ const res = await fetch('/api/control', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify(body) });+ const data = await res.json().catch(() => ({}));+ if (!res.ok) throw new Error(data.error || `request failed (${res.status})`);+ return data;+}++async function withButton(btn, fn) {+ btn.disabled = true;+ btn.setAttribute('aria-busy', 'true');+ try {+ await fn();+ } catch (err) {+ banner(`That did not go through: ${err.message}`);+ } finally {+ btn.disabled = false;+ btn.removeAttribute('aria-busy');+ }+}++$('pauseBtn').addEventListener('click', (ev) => withButton(ev.currentTarget, () => control({ action: state?.risk.paused ? 'resume' : 'pause' })));+$('reviewBtn').addEventListener('click', (ev) => withButton(ev.currentTarget, () => control({ action: 'review' })));++document.addEventListener('click', (ev) => {+ const btn = ev.target.closest('[data-close]');+ if (!btn) return;+ const dialog = $('confirm');+ const live = state?.mode === 'live';+ $('confirmTitle').textContent = `Sell all of ${btn.dataset.symbol}?`;+ $('confirmBody').textContent = live+ ? `This signs a real sale from your wallet for everything left in the position, currently quoted at ${btn.dataset.value} SOL. It cannot be undone.`+ : `This books a paper sale of everything left in the position at the live quote, about ${btn.dataset.value} SOL.`;+ dialog.returnValue = '';+ dialog.showModal();+ dialog.addEventListener(+ 'close',+ () => {+ if (dialog.returnValue === 'ok') withButton(btn, () => control({ action: 'close', mint: btn.dataset.close }));+ },+ { once: true },+ );+});++const tabs = [...document.querySelectorAll('.tab')];+function selectTab(tab) {+ for (const t of tabs) {+ const on = t === tab;+ t.classList.toggle('on', on);+ t.setAttribute('aria-selected', String(on));+ t.tabIndex = on ? 0 : -1;+ const view = $(`view-${t.dataset.view}`);+ view.hidden = !on;+ view.classList.toggle('on', on);+ }+}+for (const tab of tabs) {+ tab.addEventListener('click', () => selectTab(tab));+ tab.addEventListener('keydown', (ev) => {+ if (ev.key !== 'ArrowRight' && ev.key !== 'ArrowLeft') return;+ const i = tabs.indexOf(tab);+ const next = tabs[(i + (ev.key === 'ArrowRight' ? 1 : tabs.length - 1)) % tabs.length];+ next.focus();+ selectTab(next);+ });+}++connect();diff --git a/satellites/oracle-desk/web/favicon.ico b/satellites/oracle-desk/web/favicon.iconew file mode 100644index 000000000..59f1bea5dBinary files /dev/null and b/satellites/oracle-desk/web/favicon.ico differdiff --git a/satellites/oracle-desk/web/fonts/fonts.css b/satellites/oracle-desk/web/fonts/fonts.cssnew file mode 100644index 000000000..833f03e3e--- /dev/null+++ b/satellites/oracle-desk/web/fonts/fonts.css@@ -0,0 +1,98 @@+/* Self-hosted fonts for 3D-Agent.+ Source: Google Fonts (Inter, Space Grotesk, JetBrains Mono): woff2, latin + latin-ext subsets.+ All three are variable fonts; one file per subset covers every weight we declare. */++/* Inter: latin */+@font-face {+ font-family: 'Inter';+ font-style: normal;+ font-weight: 300 800;+ font-display: swap;+ src: url('/fonts/inter-latin.woff2') format('woff2');+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;+}+/* Inter: latin-ext */+@font-face {+ font-family: 'Inter';+ font-style: normal;+ font-weight: 300 800;+ font-display: swap;+ src: url('/fonts/inter-latin-ext.woff2') format('woff2');+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;+}++/* Space Grotesk: latin */+@font-face {+ font-family: 'Space Grotesk';+ font-style: normal;+ font-weight: 300 700;+ font-display: swap;+ src: url('/fonts/space-grotesk-latin.woff2') format('woff2');+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;+}+/* Space Grotesk: latin-ext */+@font-face {+ font-family: 'Space Grotesk';+ font-style: normal;+ font-weight: 300 700;+ font-display: swap;+ src: url('/fonts/space-grotesk-latin-ext.woff2') format('woff2');+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;+}++/* JetBrains Mono: latin */+@font-face {+ font-family: 'JetBrains Mono';+ font-style: normal;+ font-weight: 400;+ font-display: swap;+ src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;+}+/* JetBrains Mono: latin-ext */+@font-face {+ font-family: 'JetBrains Mono';+ font-style: normal;+ font-weight: 400;+ font-display: swap;+ src: url('/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;+}++/* Metric-compatible fallbacks. Until a webfont arrives, text renders in the+ local fallback scaled to the webfont's average advance width and vertical+ metrics, so the swap changes glyph shapes but not line breaks or box heights.+ Without them the swap reflowed every page: Lighthouse traced /forge's 0.28+ CLS to the Inter and Space Grotesk swaps alone. Overrides derived from+ @capsizecss/metrics 3.5.0 with the same formula next/font uses:+ size-adjust = xWidthAvg(web) / xWidthAvg(local), each vertical override =+ metric / unitsPerEm / size-adjust. Referenced from the font stacks in+ tokens.css; a system with none of the named faces skips straight to+ system-ui. Every alternative listed is metric-compatible with the face the+ numbers were derived from (Liberation Sans and Arimo with Arial, Liberation+ Mono and Cousine with Courier New), which matters because Linux, where the+ headless browsers run, ships no Arial at all. */+@font-face {+ font-family: 'Inter Fallback';+ src: local('Arial'), local('Helvetica'), local('Liberation Sans'), local('Arimo');+ size-adjust: 107.12%;+ ascent-override: 90.44%;+ descent-override: 22.52%;+ line-gap-override: 0%;+}+@font-face {+ font-family: 'Space Grotesk Fallback';+ src: local('Arial'), local('Helvetica'), local('Liberation Sans'), local('Arimo');+ size-adjust: 109.69%;+ ascent-override: 89.71%;+ descent-override: 26.62%;+ line-gap-override: 0%;+}+@font-face {+ font-family: 'JetBrains Mono Fallback';+ src: local('Courier New'), local('Liberation Mono'), local('Cousine');+ size-adjust: 99.98%;+ ascent-override: 102.02%;+ descent-override: 30%;+ line-gap-override: 0%;+}diff --git a/satellites/oracle-desk/web/fonts/inter-latin-ext.woff2 b/satellites/oracle-desk/web/fonts/inter-latin-ext.woff2new file mode 100644index 000000000..479d010d2Binary files /dev/null and b/satellites/oracle-desk/web/fonts/inter-latin-ext.woff2 differdiff --git a/satellites/oracle-desk/web/fonts/inter-latin.woff2 b/satellites/oracle-desk/web/fonts/inter-latin.woff2new file mode 100644index 000000000..d15208de0Binary files /dev/null and b/satellites/oracle-desk/web/fonts/inter-latin.woff2 differdiff --git a/satellites/oracle-desk/web/fonts/jetbrains-mono-latin-ext.woff2 b/satellites/oracle-desk/web/fonts/jetbrains-mono-latin-ext.woff2new file mode 100644index 000000000..9d97c9b79Binary files /dev/null and b/satellites/oracle-desk/web/fonts/jetbrains-mono-latin-ext.woff2 differdiff --git a/satellites/oracle-desk/web/fonts/jetbrains-mono-latin.woff2 b/satellites/oracle-desk/web/fonts/jetbrains-mono-latin.woff2new file mode 100644index 000000000..585887339Binary files /dev/null and b/satellites/oracle-desk/web/fonts/jetbrains-mono-latin.woff2 differdiff --git a/satellites/oracle-desk/web/fonts/space-grotesk-latin-ext.woff2 b/satellites/oracle-desk/web/fonts/space-grotesk-latin-ext.woff2new file mode 100644index 000000000..db732c272Binary files /dev/null and b/satellites/oracle-desk/web/fonts/space-grotesk-latin-ext.woff2 differdiff --git a/satellites/oracle-desk/web/fonts/space-grotesk-latin.woff2 b/satellites/oracle-desk/web/fonts/space-grotesk-latin.woff2new file mode 100644index 000000000..0f3474ee8Binary files /dev/null and b/satellites/oracle-desk/web/fonts/space-grotesk-latin.woff2 differdiff --git a/satellites/oracle-desk/web/index.html b/satellites/oracle-desk/web/index.htmlnew file mode 100644index 000000000..a555905b9--- /dev/null+++ b/satellites/oracle-desk/web/index.html@@ -0,0 +1,111 @@+<!doctype html>+<html lang="en" data-theme="dark">+<head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />+ <title>Oracle Desk</title>+ <meta name="description" content="An autonomous pump.fun trading desk run on the three.ws Oracle: six desks and a head of desk that fires its own strategies on realized P&L." />+ <link rel="icon" href="/favicon.ico" />+ <link rel="stylesheet" href="/fonts/fonts.css" />+ <link rel="stylesheet" href="/tokens.css" />+ <link rel="stylesheet" href="/desk.css" />+</head>+<body>+ <a class="skip" href="#main">Skip to the desk</a>+ <header class="nav">+ <div class="nav-inner">+ <a class="brand" href="https://three.ws" rel="noopener">+ <img class="brand-mark" src="/three.svg" alt="" width="24" height="24" />+ <span>three.ws</span>+ </a>+ <span class="crumb" aria-hidden="true">/</span>+ <span class="product">Oracle Desk</span>+ <nav class="nav-main" aria-label="three.ws">+ <a href="https://three.ws/oracle" rel="noopener">Oracle</a>+ <a href="https://three.ws/oracle-lab" rel="noopener">Model</a>+ <a href="https://three.ws/oracle/docs" rel="noopener">Docs</a>+ </nav>+ <span class="mode" id="modePill" data-mode="">connecting</span>+ </div>+ </header>++ <main id="main" class="wrap" tabindex="-1">+ <div class="banner" id="banner" role="status" hidden></div>++ <section class="hero" aria-labelledby="heroTitle">+ <span class="eyebrow"><i id="liveDot" class="off"></i><span id="eyebrowText">connecting to the desk</span></span>+ <h1 id="heroTitle">Six desks. One head. <span>Real launches.</span></h1>+ <p>Every pump.fun launch runs through radar, research, risk and execution. Every trade is graded on realized P&L, and the head of desk fires the strategy seat that loses and rewrites it from its own record. Scored live by the <a class="inline" href="https://three.ws/oracle" rel="noopener">three.ws Oracle</a>.</p>+ <div class="statline" id="statline" aria-live="off">+ <div class="stat skel-stat"></div><div class="stat skel-stat"></div><div class="stat skel-stat"></div><div class="stat skel-stat"></div><div class="stat skel-stat"></div><div class="stat skel-stat"></div>+ </div>+ <div class="actions">+ <button class="btn" id="pauseBtn" type="button" disabled>Pause entries</button>+ <button class="btn ghost" id="reviewBtn" type="button" disabled>Run head review now</button>+ </div>+ </section>++ <section class="card funnel-card" aria-labelledby="funnelTitle">+ <div class="card-head">+ <h2 id="funnelTitle">The funnel</h2>+ <p class="sub">Most coins die in research. That is the point.</p>+ </div>+ <ol class="funnel" id="funnel"><li class="skel-row"></li><li class="skel-row"></li><li class="skel-row"></li></ol>+ <div class="kills" id="kills"></div>+ </section>++ <section aria-labelledby="orgTitle">+ <div class="section-head">+ <h2 id="orgTitle">The desk</h2>+ <p class="sub">Radar sees everything and buys nothing. Risk outranks everyone, the head included.</p>+ </div>+ <article class="card head-card" id="headCard" aria-label="Head of desk"><div class="skel-block"></div></article>+ <div class="org" id="org">+ <div class="card skel-card"></div><div class="card skel-card"></div><div class="card skel-card"></div>+ <div class="card skel-card"></div><div class="card skel-card"></div><div class="card skel-card"></div>+ </div>+ </section>++ <section class="card" aria-labelledby="posTitle">+ <div class="card-head">+ <h2 id="posTitle">Positions <span class="ct" id="posCount"></span></h2>+ <p class="sub">Marked to the real sell quote every few seconds. Bags are house money, riding after the stake came back.</p>+ </div>+ <div class="table-wrap" id="positions"><div class="skel-block"></div></div>+ </section>++ <section aria-labelledby="bookTitle">+ <h2 id="bookTitle" class="sr-only">Desk records</h2>+ <div class="tabs" role="tablist" aria-label="Desk records">+ <button class="tab on" role="tab" id="tab-tape" aria-selected="true" aria-controls="view-tape" data-view="tape">Tape</button>+ <button class="tab" role="tab" id="tab-trades" aria-selected="false" aria-controls="view-trades" data-view="trades" tabindex="-1">Trades <span class="ct" id="tradeCount"></span></button>+ <button class="tab" role="tab" id="tab-matrix" aria-selected="false" aria-controls="view-matrix" data-view="matrix" tabindex="-1">Matrix revisions <span class="ct" id="revCount"></span></button>+ <button class="tab" role="tab" id="tab-head" aria-selected="false" aria-controls="view-head" data-view="head" tabindex="-1">Head decisions <span class="ct" id="decCount"></span></button>+ </div>+ <div class="view on" id="view-tape" role="tabpanel" aria-labelledby="tab-tape"><ol class="tape" id="tape"></ol></div>+ <div class="view" id="view-trades" role="tabpanel" aria-labelledby="tab-trades" hidden><div class="table-wrap" id="trades"></div></div>+ <div class="view" id="view-matrix" role="tabpanel" aria-labelledby="tab-matrix" hidden><ol class="revs" id="revisions"></ol></div>+ <div class="view" id="view-head" role="tabpanel" aria-labelledby="tab-head" hidden><ol class="revs" id="decisions"></ol></div>+ </section>++ <footer class="foot">+ <span>Scores by the <a href="https://three.ws/oracle" rel="noopener">three.ws Oracle</a>, model published at <a href="https://three.ws/oracle-lab" rel="noopener">Oracle Lab</a>.</span>+ <span id="modelLine"></span>+ <span>Paper mode signs nothing. Live mode trades real funds from your own keypair; memecoins can go to zero.</span>+ </footer>+ </main>++ <dialog class="confirm" id="confirm" aria-labelledby="confirmTitle">+ <form method="dialog">+ <h3 id="confirmTitle">Sell this position?</h3>+ <p id="confirmBody"></p>+ <div class="confirm-actions">+ <button class="btn ghost" value="cancel">Keep it</button>+ <button class="btn danger" value="ok" id="confirmOk">Sell everything</button>+ </div>+ </form>+ </dialog>++ <script type="module" src="/desk.js"></script>+</body>+</html>diff --git a/satellites/oracle-desk/web/three.svg b/satellites/oracle-desk/web/three.svgnew file mode 100644index 000000000..82f7cfc8c--- /dev/null+++ b/satellites/oracle-desk/web/three.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1500 1500"><defs><filter id="a" width="100%" height="100%" x="0%" y="0%"><feColorMatrix color-interpolation-filters="sRGB" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/></filter><filter id="b" width="100%" height="100%" x="0%" y="0%"><feColorMatrix color-interpolation-filters="sRGB" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0.2126 0.7152 0.0722 0 0"/></filter><mask id="c"><g filter="url(#a)"><g filter="url(#b)" transform="matrix(1.41318 0 0 1.41309 -1244.054 -180.517)"><image xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAG0CAMAAAD9xrMmAAAAMFBMVEX///8AAAD9/f0DAwPz8/MUFBSampomJiY5OTnGxsbX19fm5uaBgYFQUFBoaGixsbGttqK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAgAElEQVR42u2dCZurqBKGDeCO8v//7bCpgGxqek538tVz7yynY2J6eK29qnlBIJCkNPgVQCAABAIBIBAIAIFAAAgEAkAgEAACgQAQCASAQCAABAKB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K7F3fm8UkxU/dRnC6xWdDlhsQ4q94soczvCVFVdS+qq6xFb5pm652K1VXB9x9cYByMdQ8i+WlVw7YTcu+cE9K18nXwkIBAJAIBAAAoEAEAgEgEAgAAQCASAQCACBQAAIBAJAIBAIAIFAAAgEAkAgEAACgQAQCASAQCAABAIBIBAIAIFAIAAEAgEgEAgAgUAACAQCQCAQAAKBABAIBIBAIAAEAgEgEAgEgEAgAAQCASAQCACBQAAIBAJAIJC/Kv8BuBHofROgTJ0AAAAASUVORK5CYII=" width="2816" height="1536"/></g></g></mask></defs><g mask="url(#c)"><image xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAG0CAMAAAD9xrMmAAADAFBMVEUAAADh8PPQ0+rX7/OUlLzCwt23uNUBAQIHBQvJx9/m5/XOzuPxqp6gn7+urdDW2vCEia/t7/nb0O356ey/vtUVER2Tha2mpsK/xevM7fKLjLeJgaZ2dZXd4/PGzejh2+5CQVu9utycmbaTkLGXncOjpcwQDROrqMrro6RKSWq9y+NUUHk3OVtSX5VzZY9iVnLX2OW3wOWkj7xsbpbS5fK1tstdW4CVj9TM2PFkaIrpy87D2e/qqa87QWd7fpzlmrBRWYiutNQbGCenn7WJmNG8qslXbZx9f6n0t6G5qNn+5LWgkLCJfrHt7e5cdqWxq8N2c6K9tdHWyeI9OUqWgZ98jsaunsKKjsvL4fB0aH/dn6lvcoqWhrpuh7uwnNkqKDhXVWtkfbDJnMuwlbWCdafr4u0vLkWHgpnMyvAwMVO+z+5tXnW+mL+XnNR7m8X74MPOvOGNjaS0teSDcY+2pLmNeY1HUn4lIS1qYYH/78GjlsaCdZqcjKRnYpihotpsaqWviamPpNbgxcH826xwkcH4xZ17iKa0lcjNwtKkkda/vOqMcpzin73Dt8irgJZ8aZoFBRjTmcFCSHWossnLttNPSl1nfqCVa3zw1dacd5b70qKHmLjZl7eplqTFqrKSd6mvyevHp9qAc4PI2OWqrN7C5vKHo8S0i5JhZHexw9aAZ4jAkpiAqdHi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1Hn0+4kbcCu1/GoomHbB4xanC6nT9N93vuZC25Xq/L5mqoL5LLTmevyvJVwLGSfX4+H7+SMeWr2LGoG3dS5wp5Pa2Zu1RyfwItSchHOiPxOss7RkxFpRaftYhMjZiVtfbBo9zEnonag8C0hqP9XKI49QLP2s7e38c5b1EaQpDDbz+cwHskpJM8iI9y3krGY66LFp/1pBqZR59/MvGrve8gavwRMOXSd2CqFFw/U0kN6MCGEoNX8CF7iFcYl0xzb8I5pH/1nPzcfVgc0VR84coZP5zaxm4DA5wasOhtKyt2/Ap1YK88oOnLOz4xBx/MnoljC6+h0B98brBESLp50CKt40bOUfcEKrMPP8dUeANE7f5sI9W1KFCaGmWqY0PKCje/jDl7jHdrp8BKqTnv1B7/3myZJ9+Y++Xffv7Jrzr46JPcZ765qYDnglXSA1sf/PnPPvnIOWDio4/2P0/cf7x2/hC27YN1SRKfVs8t+9xuz8zMTLZjtcag8bWfHbRn1uHroBIYNobNfHu5KcK0wgm8ngqsn6PkVGN3psq6yDLQo4nN1losVhmPweofnv+r3k4eZ+rRi8ZUZWsOIRZbOwx4PK7h13fGthloVK7MPl5ZeTwLeXRnxOd1AXCpOqAJT2dGO3tB2/sLd+iWrMG8wkobFlXcbe5WajOQWWddLtIUa1T7vHsGvxw4zeKCmRtf8yDXhc06Lz5u4NbBpxk8geqkfmrIdU7ev2AYnmGjIPQYYY58ban+w136a17e4/lax/xh76bn4v9PHxwBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQHB18L/Ajw4E1x0wIHzAAAAAElFTkSuQmCC" width="2816" height="1536" transform="matrix(1.41318 0 0 1.41309 -1244.054 -180.517)"/></g></svg>\ No newline at end of filediff --git a/satellites/oracle-desk/web/tokens.css b/satellites/oracle-desk/web/tokens.cssnew file mode 100644index 000000000..a35680b0e--- /dev/null+++ b/satellites/oracle-desk/web/tokens.css@@ -0,0 +1,583 @@+/******************************************************************************+ * three.ws: Canonical Design Tokens (B01)+ * ════════════════════════════════════════════════════════════════════════════+ * THE single source of truth for every design primitive on the platform:+ * colour, surface, ink, stroke, spacing, type, radius, shadow, blur, motion.+ *+ * One vocabulary, not eight. The per-surface namespaces (--mk-* / --pd-* /+ * --ibm-* / --gx-* / --ho-* / --saas-* / --sdk-* / --t-*) were removed in B02;+ * do NOT reintroduce a parallel palette. A surface that needs a distinct brand+ * accent (e.g. IBM Carbon blue at /ibm/*) expresses it as a small theme layer+ * that REMAPS these tokens: never a standalone set.+ *+ * Loading: imported by public/style.css and public/nav.css, so it reaches every+ * page (full-stylesheet pages via style.css; nav-only / embed surfaces via+ * nav.css). New pages need only ensure one of those is linked.+ *+ * Rule: reference tokens by name (var(--surface-1), var(--space-md), …). Never+ * hardcode a hex/rgba/px that an existing token already expresses. See+ * DESIGN-TOKENS.md for the full vocabulary and migration guidance.+ * Monochrome on near-black + golden-ratio (φ = 1.618) spacing & type.+ ******************************************************************************/++/* ── Universal [hidden] guard ─────────────────────────────────────────────────+ * The `hidden` HTML attribute hides an element via the UA rule `[hidden]{display:none}`.+ * That rule has specificity (0,1,0) and loses to ANY component rule that sets+ * `display` on a class/id (e.g. `.modal{display:grid}`): at which point a `hidden`+ * element renders anyway. A full-screen overlay authored that way then covers the+ * page and swallows every click (this is exactly how the Brain Studio modal once+ * blocked /agent-studio#brain).+ *+ * tokens.css is imported by BOTH style.css and nav.css, so it reaches every surface.+ * Defining the guard here: with `!important` so it beats base-class `display`: makes+ * `hidden` authoritative platform-wide. Components no longer depend on each page+ * carrying its own copy. To SHOW a toggled element, remove the attribute (the+ * intended API) or gate visibility on `:not([hidden])`; never lean on a bare+ * `display` that a stray `hidden` can't override.+ *+ * Enforced by scripts/audit-hidden-guard.mjs (every page must resolve this guard)+ * and tests/e2e/studio-overlay.spec.js (the studio stays click-through at rest). */+[hidden] {+ display: none !important;+}++/* ── Screen-reader-only utility ──────────────────────────────────────────────+ * Visually removes an element while keeping it in the accessibility tree (the+ * WCAG-standard clip technique): unlike `display:none`/`[hidden]`, which strip+ * it from the tree entirely. Use for labels, skip-links at rest, and live-region+ * status text that must be announced but not seen. `.screen-reader-only` is a+ * synonym kept for existing markup. A focusable element with this class reveals+ * itself on focus via the paired `:focus`/`:focus-visible` rule (skip links). */+.sr-only,+.screen-reader-only {+ position: absolute !important;+ width: 1px !important;+ height: 1px !important;+ padding: 0 !important;+ margin: -1px !important;+ overflow: hidden !important;+ clip: rect(0, 0, 0, 0) !important;+ clip-path: inset(50%) !important;+ white-space: nowrap !important;+ border: 0 !important;+}+.sr-only-focusable:focus,+.sr-only-focusable:focus-visible {+ position: fixed !important;+ width: auto !important;+ height: auto !important;+ margin: 0 !important;+ overflow: visible !important;+ clip: auto !important;+ clip-path: none !important;+ white-space: normal !important;+}++:root {+ /* Phi ratio */+ --phi: 1.618;++ /* Spacing scale (each step × φ) */+ --space-3xs: 0.146rem; /* ~2.3px */+ --space-2xs: 0.236rem; /* ~3.8px */+ --space-xs: 0.382rem; /* ~6.1px */+ --space-sm: 0.618rem; /* ~9.9px */+ --space-md: 1rem; /* 16px */+ --space-lg: 1.618rem; /* ~25.9px */+ --space-xl: 2.618rem; /* ~41.9px */+ --space-2xl: 4.236rem; /* ~67.8px */++ /* Typography scale+ * Two registers in one ladder:+ * · dense UI band (2xs→ui): fixed px-honest rungs for chrome/labels/body,+ * where the product actually lives (nav, dashboard, cards). These fill the+ * gap the phi steps skip; they are the homes for 11/13/14px text.+ * · display band (base→3xl): phi-spaced (×φ) for marketing headers.+ * Migrate hardcoded px to the nearest rung; never reintroduce raw px. */+ --text-2xs: 0.6875rem; /* 11px: micro: pills, badges, hints, timestamps */+ --text-xs: 0.618rem; /* ~9.9px: smallest decorative label */+ --text-sm: 0.764rem; /* ~12.2px: small UI labels, captions */+ --text-md: 0.8125rem; /* 13px: dense UI body (the most common size) */+ --text-ui: 0.875rem; /* 14px: nav links, controls, comfortable UI */+ --text-base: 1rem; /* 16px: reading body baseline */+ --text-lg: 1.236rem; /* ~19.8px: small headings (×φ) */+ --text-xl: 1.618rem; /* ~25.9px: section headings (×φ) */+ --text-2xl: 2.618rem; /* ~41.9px: hero / display (×φ) */+ --text-3xl: 4.236rem; /* ~67.8px: oversized marketing display (×φ) */++ /* Font weights: one ladder, referenced by the heading/body classes below */+ --weight-regular: 400;+ --weight-medium: 500;+ --weight-semibold: 600;+ --weight-bold: 700;++ /* Line heights: golden ratio */+ --leading-tight: 1.382;+ --leading-normal: 1.618;+ --leading-loose: 2.058;++ /* Radii: 4-token scale (B09). Every rounded corner on the site maps to one+ of exactly these four; do not introduce ad-hoc px radii.+ sm small controls, inputs, chips, tags (6px)+ md buttons & interactive controls (10px, = dashboard control)+ lg cards, panels, modals (14px, = dashboard card)+ pill fully-rounded pills (circles use 50%) (999px)+ The legacy semantic names --radius-card / --radius-control are kept below as+ thin aliases so existing consumers keep working; new code uses sm/md/lg/pill. */+ --radius-sm: 6px;+ --radius-md: 10px;+ --radius-lg: 14px;+ --radius-pill: 999px;++ /* Header height */+ --header-h: 3.5rem;++ /* Font stacks: families are self-hosted in /fonts/fonts.css */+ --font-display: 'Space Grotesk', 'Space Grotesk Fallback', 'Inter', system-ui, sans-serif;+ --font-body: 'Inter', 'Inter Fallback', system-ui, sans-serif;+ --font-mono: 'JetBrains Mono', 'JetBrains Mono Fallback', 'SF Mono', 'Fira Code', ui-monospace, monospace;++ /* Accent */+ --accent: #ffffff;+ --accent-soft: rgba(255, 255, 255, 0.10);++ /* Gold brand channel (B08): the reused features/optional-tier gold. Stored as+ raw RGB channels so every translucent variant references one source:+ rgba(var(--gold-rgb), <alpha>). Keeps the many alpha tints on a single token+ without collapsing them to one opacity. */+ --gold-rgb: 255, 215, 0;++ /* Surface system: mirrors the /dashboard (dashboard-next) palette so every+ surface across the site reads as one product. Monochrome glass on near-black,+ soft 14px cards, semantic green/red/amber. Reference these instead of+ hand-rolling rgba()s so future pages stay on-brand. */+ --surface-glass: linear-gradient(180deg, rgba(20, 21, 28, 0.7), rgba(14, 15, 22, 0.5));+ --surface-1: rgba(255, 255, 255, 0.03);+ --surface-2: rgba(255, 255, 255, 0.05);+ --surface-3: rgba(255, 255, 255, 0.08);+ --stroke: rgba(255, 255, 255, 0.08);+ --stroke-strong: rgba(255, 255, 255, 0.14);+ /* Hairline dividers: a touch softer than --stroke, for in-card row/cell+ separators (tables, stat strips). The light theme defines these below; the+ dark base was missing them, so bare var(--hairline) rows rendered borderless+ here. Translucent white keeps them on the surface/stroke scale. */+ --hairline: rgba(255, 255, 255, 0.055);+ --hairline-strong: rgba(255, 255, 255, 0.09);+ --ink: #e8e8e8;+ --ink-dim: #888888;+ --radius-card: var(--radius-lg); /* legacy alias → lg */+ --radius-control: var(--radius-md); /* legacy alias → md */+ --success: #4ade80;+ --danger: #f87171;+ --warn: #fbbf24;++ /* Violet accent pair (QB-07). The pale violet that marks identity, agent and+ on-chain surfaces was only ever named for the wallet, so every OTHER surface+ reaching for the same hue hardcoded it: payments, integrations, gestures,+ genome and galaxy among them. Those copies never flipped for the light+ theme, where the pale rung measures 1.7:1 and the text is unreadable.+ Naming the pair at platform level gives them a destination; the --wallet-*+ names below are now thin aliases of it (the sanctioned --nxt-* / --nv-*+ pattern), so wallet UI is unchanged.+ accent-violet default violet ink / chip text+ accent-violet-strong emphasized fill, vanity glyphs, chart series */+ --accent-violet: #c4b5fd;+ --accent-violet-strong: #a78bfa;++ /* Wallet identity accent: the violet family that marks every wallet surface+ (chip, HUD, vanity studio) as one coherent system across the app. Route all+ wallet UI through these tokens rather than scattering raw rgba(139,92,246,…).+ accent default chip text / glow+ accent-soft chip fill (low alpha)+ stroke chip border+ hi vanity-highlighted address glyphs (pure white) */+ --wallet-accent: var(--accent-violet);+ --wallet-accent-strong: var(--accent-violet-strong);+ --wallet-accent-soft: rgba(139, 92, 246, 0.10);+ --wallet-accent-fill: rgba(139, 92, 246, 0.15);+ --wallet-stroke: rgba(139, 92, 246, 0.30);+ --wallet-stroke-strong: rgba(139, 92, 246, 0.50);+ --wallet-glow: rgba(139, 92, 246, 0.45);+ --wallet-focus: rgba(139, 92, 246, 0.70); /* focus ring on wallet controls */++ /* Solid near-black backgrounds: opaque counterparts to the translucent+ --surface-* overlays. Use these for solid page/panel fills instead of+ hand-typing var(--bg-0) / var(--bg-1) so the monochrome base stays consistent. */+ --bg-0: #0a0a0a; /* deepest page background */+ --bg-1: #1a1a1a; /* raised solid panel/control */++ /* Ink tiers (B01 additions): completes the text-colour ramp so headings and+ muted captions stop hardcoding #fff / rgba whites.+ bright pure-white headings & primary CTA labels+ ink default body text (above)+ dim secondary/muted text (above)+ faint tertiary hints, disabled, watermark labels */+ --ink-bright: #ffffff;+ /* 0.55, not 0.45: on the #0a0a0a shell 0.45 composites to ~4.2:1, under+ the 4.5:1 WCAG AA floor axe enforces on hint text; 0.55 measures 6.1:1.+ (Genuinely disabled controls are exempt from AA and can dim further via+ opacity at the component level.) */+ --ink-faint: rgba(255, 255, 255, 0.55);++ /* Scrim + on-scrim ink (B14): the one part of the palette that must NOT flip+ with the theme. A scrim sits on top of MEDIA (a screenshot, a video frame, a+ 3D canvas, a modal backdrop), not on a page surface, so its job is legibility+ over unknown pixels: it stays dark and its ink stays light in both themes.+ Before this existed the platform had 400+ hand-rolled rgba(0,0,0,…) overlays+ clustered around four values; these four ARE that cluster, deduped.+ soft gradient legibility wash under captions+ scrim standard chip / label resting on media+ strong hover or pressed state of the above, heavy caption bars+ modal full-screen backdrop behind a dialog or lightbox+ Pair with --on-scrim* for text and hairlines; never with --ink*, which flips. */+ --scrim-soft: rgba(0, 0, 0, 0.35);+ --scrim: rgba(0, 0, 0, 0.55);+ --scrim-strong: rgba(0, 0, 0, 0.78);+ --scrim-modal: rgba(0, 0, 0, 0.60);+ --on-scrim-bright: #ffffff;+ --on-scrim: rgba(255, 255, 255, 0.82);+ --on-scrim-dim: rgba(255, 255, 255, 0.64);+ --on-scrim-stroke: rgba(255, 255, 255, 0.16);++ /* Elevation / shadow (B01): three depth tiers. Mirrors the component layer+ in style.css so any surface can express depth without hand-rolling shadows.+ 1 = resting panel · 2 = card · 3 = lifted / hover / modal */+ --shadow-1: 0 1px 3px rgba(0, 0, 0, 0.30);+ --shadow-2: 0 4px 24px rgba(0, 0, 0, 0.40), 0 1px 4px rgba(0, 0, 0, 0.20);+ --shadow-3: 0 8px 32px rgba(0, 0, 0, 0.50), 0 1px 4px rgba(0, 0, 0, 0.20);++ /* Blur (B01): backdrop-filter glass tiers. Pair with a --surface-* fill.+ sm subtle chrome (sticky bars, chips)+ md standard glass panels / docks+ lg heavy modal / overlay scrim glass */+ --blur-sm: 8px;+ --blur-md: 16px;+ --blur-lg: 28px;++ /* Skeleton (QB-07). The loading-shimmer primitives. They used to live in+ style.css, so a page that only injects the shared nav (nav.css imports this+ sheet, not style.css) could not resolve them and hand-rolled its own grey+ gradient instead; those literals then stayed dark on the light theme. Here+ they resolve on every token-covered page and flip with the theme.+ Monochrome on purpose so a skeleton reads on any surface tier. */+ --skeleton-base: rgba(255, 255, 255, 0.04);+ --skeleton-sheen: rgba(255, 255, 255, 0.08);+ --skeleton-radius: var(--radius-md);++ /* Stage (QB-07). The backdrop a 3D viewport, avatar thumbnail or model modal+ renders against. Like the scrim family it is deliberately theme-INVARIANT:+ a rendered model reads against a dark studio ground in either theme, and+ flipping it white would blow out every light-coloured avatar. It replaces a+ six-value near-black ramp (#000, #050505, #0a0a0a, #0d0d0d, #0e0e0e,+ #242424) that had drifted across three pages. Use it ONLY behind media; a+ normal panel is --bg-0 / --bg-1 and must flip. */+ --stage-black: #000000;+ --stage-deep: #050505;+ --stage: #0a0a0a;+ --stage-lift: #0d0d0d;+ --stage-glow: #242424;++ /* Ink ON the accent fill (QB-07). A primary CTA paints var(--accent) and needs+ the opposite ink; every surface that wanted one hand-typed #0a0a0a, which+ stayed black when the light theme remaps --accent to a real blue, giving+ black-on-blue at 2.2:1. The value is always the page ground, so it flips+ with the theme and one name serves buttons, chips, badges and pills. */+ --on-accent: #0a0a0a;++ /* Ink on a permanently BRIGHT fill (QB-07). The mirror of the --on-scrim+ family, and theme-invariant for the same reason: a white dock button or a+ vivid gradient CTA stays bright in both themes, so its ink must stay dark.+ Distinct from --on-accent, which sits on var(--accent) and DOES flip. */+ --on-bright: #0a0a0a;++ /* Motion (B01): one duration ladder + named easings. Compose as+ `transition: <prop> var(--duration-fast) var(--ease-standard);`+ Respect prefers-reduced-motion at the component level. */+ --duration-instant: 80ms; /* state flips: hover tint, focus ring */+ --duration-fast: 140ms; /* controls: buttons, toggles, tabs */+ --duration-base: 220ms; /* panels, dropdowns, cards */+ --duration-slow: 420ms; /* page/section reveals, large moves */+ --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1); /* default UI motion */+ --ease-emphasized: cubic-bezier(0.22, 1, 0.36, 1); /* expressive enter/reveal */+ --ease-out: cubic-bezier(0, 0, 0.2, 1); /* decelerate-only */++ /* Interactive states (B11): shared focus-ring + disabled vocabulary.+ Every :focus-visible outline and disabled control on the platform+ references these (buttons.css re-declares them with identical literal+ fallbacks so it stays portable on pages that load it standalone). */+ --focus-ring-color: var(--accent);+ --focus-ring-width: 2px;+ --focus-ring-offset: 2px;+ --disabled-opacity: 0.4;+ --disabled-cursor: not-allowed;++ /* Theme: the default (no [data-theme]) is the brand dark palette above.+ color-scheme tells the UA to paint native form controls, scrollbars and+ the canvas in the matching scheme. The theme-switcher sets data-theme on+ <html>; an inline boot script (scripts/inject-theme-boot.mjs) applies it+ before first paint so there is no flash. See [data-theme='light'] below. */+ color-scheme: dark;+}+/* ── Injected-nav height reservation ──────────────────────────────────────+ nav.js renders the shared header into an empty `<div id="nav-container">`+ after the page has already painted, and it injects nav.css at the same+ time. A page whose only render-blocking stylesheet is style.css therefore+ painted with a zero-height container and then dropped its whole <main> by+ the header's height the moment the nav landed: one 0.83 layout shift, which+ was the entire measured CLS on /forge. tokens.css is imported by BOTH+ style.css and nav.css, so putting the reservation here reaches every+ surface, render-blocking, before the first paint. `:empty` stops matching as+ soon as the header is in, so the real header owns its height from then on.+ Keep --nav-h equal to the rendered `.nav` height in nav.css.++ --nav-h is the rendered height of that injected header, and it is NOT the+ same number as --header-h (3.5rem / 56px), which sizes the older in-page+ `<header>` element. A full-screen surface that pins itself under the shared+ nav must offset by --nav-h: offsetting by --header-h leaves the top 13px of+ the surface painted behind the nav, which is how Scene Studio's File/Edit/+ Add menubar row shipped with its glyph tops sliced off. */+:root { --nav-h: 69px; }+#nav-container:empty { min-height: var(--nav-h); }+@media (max-width: 880px) {+ :root { --nav-h: 65px; }+}+++/* ════════════════════════════════════════════════════════════════════════════+ * INTERACTIVE-STATE FLOOR (B14)+ * The tokens above name a focus ring and a disabled treatment, but naming them+ * only helps the components that remember to reach for them. A sweep of the+ * platform found ~1,500 selectors that declare `cursor: pointer` yet define no+ * focus-visible or disabled rule at all: keyboard users landed on them with no+ * visible ring, and disabled controls looked identical to live ones.+ *+ * These two rules close that gap once, for every page, because tokens.css is+ * imported by both style.css and nav.css. They are wrapped in `:where()`, which+ * forces their specificity to (0,0,0), so they are a FLOOR, never a ceiling:+ * any component rule, however weakly written, still overrides them. Nothing+ * that already styles its own focus or disabled state changes appearance.+ *+ * Scope note: `:focus-visible` fires on keyboard/assistive focus only, so this+ * adds no ring to mouse clicks. A component that wants no ring should re-style+ * it (a different colour, an inset shadow), not remove it.+ * ════════════════════════════════════════════════════════════════════════════ */+:where(+ a[href],+ area[href],+ button,+ input,+ select,+ textarea,+ summary,+ [tabindex]:not([tabindex='-1']),+ [role='button'],+ [role='link'],+ [role='tab'],+ [role='menuitem'],+ [role='menuitemcheckbox'],+ [role='menuitemradio'],+ [role='option'],+ [role='checkbox'],+ [role='radio'],+ [role='switch'],+ [role='slider'],+ [role='textbox']+):focus-visible {+ outline: var(--focus-ring-width) solid var(--focus-ring-color);+ outline-offset: var(--focus-ring-offset);+}++/* Disabled floor. Covers both the native attribute and the ARIA state, since+ custom controls (div/span with role=button) can only express the latter. */+:where(button, input, select, textarea, fieldset, optgroup, option)[disabled],+:where([aria-disabled='true']) {+ opacity: var(--disabled-opacity);+ cursor: var(--disabled-cursor);+}++/* ════════════════════════════════════════════════════════════════════════════+ * SEMANTIC ALIAS LAYER (B12)+ * Thin, theme-agnostic synonyms layered ON TOP of the primitives above: the+ * same sanctioned pattern as --nxt-* (app shell) and --nv-* (nav): every value+ * resolves *to* a canonical token via var(); nothing here introduces a new+ * colour, surface, or scale. They exist so page authors can reach for an+ * intention-named token (--color-accent, --color-danger) and so common UI px+ * values map 1:1 to a named spacing rung without re-hardcoding the literal.+ *+ * Because the colour aliases point at the remapped primitives (--bg-0, --ink,+ * --accent …), they flip automatically under [data-theme='light'] with zero+ * extra declarations: do NOT re-list them in the light block.+ * ════════════════════════════════════════════════════════════════════════════ */+:root {+ /* Colour: semantic synonyms for the canonical primitives. */+ --color-bg: var(--bg-0); /* deepest page background */+ --color-surface: var(--surface-1); /* default raised glass fill */+ --color-surface-2: var(--surface-2); /* hover / nested surface */+ --color-text: var(--ink); /* default body ink */+ --color-text-bright: var(--ink-bright); /* headings / primary labels */+ --color-text-dim: var(--ink-dim); /* secondary / muted text */+ --color-text-faint: var(--ink-faint); /* tertiary hints / disabled */+ --color-accent: var(--accent); /* brand accent (CTA fill / focus) */+ --color-border: var(--stroke); /* default hairline / control border */+ --color-border-strong: var(--stroke-strong);+ --color-hairline: var(--stroke); /* divider rules */+ --color-danger: var(--danger); /* destructive / error / sell */+ --color-success: var(--success); /* positive / confirm / buy */+ --color-warning: var(--warn); /* caution / pending */++ /* Spacing: 4px UI grid (B12). Complements the phi display scale above:+ phi (--space-sm/md/lg…) sizes marketing rhythm; this linear ramp gives the+ product chrome exact 4px-multiple rungs so dense layouts (nav, cards,+ forms) migrate hardcoded 8/12/16/24/32px to a token WITHOUT shifting a+ pixel. Pick the ramp that already matches the value you're replacing. */+ --space-1: 4px;+ --space-2: 8px;+ --space-3: 12px;+ --space-4: 16px;+ --space-5: 20px;+ --space-6: 24px;+ --space-7: 28px;+ --space-8: 32px;++ /* Radius: fully-rounded alias (pills/circles), completing the sm/md/lg set. */+ --radius-full: var(--radius-pill);++ /* Motion: short duration synonyms over the canonical ladder. --ease-out is+ already defined above; these just name the two most-reached durations. */+ --dur-fast: var(--duration-fast); /* 140ms: controls */+ --dur-med: var(--duration-base); /* 220ms: panels / dropdowns */+}++/* Explicit dark: identical to :root, so toggling data-theme="dark" is a no-op+ on the palette but still drives color-scheme + the [data-theme] attribute the+ switcher reads back. Keep in lockstep with :root. */+:root[data-theme='dark'] {+ color-scheme: dark;+}++/* ════════════════════════════════════════════════════════════════════════════+ * LIGHT THEME+ * The single alternate palette. It REMAPS the colour primitives above to a+ * light surface system: it never introduces a parallel namespace (same rule+ * as the per-surface namespaces removed in B02). Every token-driven surface+ * flips automatically; surfaces that still hardcode colours render as dark+ * islands until migrated to tokens (tracked follow-up, see DESIGN-TOKENS.md).+ *+ * Two values can't survive a straight flip and are remapped here too:+ * · --accent was pure white (white-fill primary CTA). On light that is+ * invisible, so light uses a real accent blue + white CTA ink.+ * · Button/elevation tokens that hardcoded white/black are re-pointed.+ * ════════════════════════════════════════════════════════════════════════════ */+:root[data-theme='light'] {+ color-scheme: light;++ /* Solid canvas + raised panel */+ --bg-0: #ffffff;+ --bg-1: #f3f4f6;++ /* Glass + translucent surface ramp (dark ink tint on light, mirrors the+ dark palette's white tint on black) */+ --surface-glass: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 245, 248, 0.72));+ --surface-1: rgba(15, 18, 28, 0.035);+ --surface-2: rgba(15, 18, 28, 0.06);+ --surface-3: rgba(15, 18, 28, 0.09);+ --stroke: rgba(15, 18, 28, 0.10);+ --stroke-strong: rgba(15, 18, 28, 0.16);++ /* Ink ramp: dark text on light */+ --ink-bright: #0a0c12;+ --ink: #1d212b;+ --ink-dim: #5a616f;+ /* 0.62, not 0.45: on white 0.45 composites to ~3.5:1; 0.62 measures 5.5:1. */+ --ink-faint: rgba(15, 18, 28, 0.62);++ /* Accent: white is invisible on light, so light gets a real accent. */+ --accent: #2563eb;+ --accent-soft: rgba(37, 99, 235, 0.10);+ --on-accent: #ffffff;++ /* Elevation: softer, cooler shadows on a light canvas */+ --shadow-1: 0 1px 3px rgba(15, 18, 28, 0.08);+ --shadow-2: 0 4px 24px rgba(15, 18, 28, 0.10), 0 1px 4px rgba(15, 18, 28, 0.06);+ --shadow-3: 0 8px 32px rgba(15, 18, 28, 0.14), 0 1px 4px rgba(15, 18, 28, 0.08);++ /* Button component tokens that hardcoded white/near-black in style.css.+ Primary becomes accent-fill with white ink; the white-tint hovers on+ secondary/ghost become dark tints so they read on a light surface. */+ --btn-primary-fg: #ffffff;+ --btn-primary-bg-hover: #1d4ed8;+ --btn-primary-bg-active: #1e40af;+ --btn-secondary-bg-hover: rgba(15, 18, 28, 0.10);+ --btn-secondary-bg-active: rgba(15, 18, 28, 0.14);++ /* Nav source vars: nav.css derives its --nv-* layer from these (with dark+ literal fallbacks), so remapping them here flips the shared header too. */+ --bg: #ffffff;+ --hairline: rgba(15, 18, 28, 0.10);+ --hairline-strong: rgba(15, 18, 28, 0.16);+ --text: #1d212b;+ --text-2: #5a616f;+ --text-3: #888f9c;+ --text-4: #aab0bc;+ --nv-bar-bg: rgba(255, 255, 255, 0.82);++ /* Violet accent pair, and through the --wallet-* aliases every wallet surface+ with it. The dark palette's pale violets (#c4b5fd text, #a78bfa vanity) were+ never remapped for light, so every wallet chip on a light surface rendered+ its address at 1.7:1 against the card: unreadable, and well under the 4.5:1+ AA floor for the 11px type it uses. Darkening the two ink tokens to the+ violet-600/700 rungs keeps the violet identity that marks wallet and+ identity UI across the app and measures 5.3:1 and 6.6:1. Remapping the+ PRIMITIVE rather than the wallet alias is what carries the fix to the+ non-wallet surfaces (payments, integrations, gestures, genome, galaxy) that+ now reference var(--accent-violet) directly. The fills, strokes and glow are+ alpha-based on the same 139,92,246 hue and already composite correctly on a+ light canvas, so they stay put. */+ --accent-violet: #6d28d9;+ --accent-violet-strong: #5b21b6;++ /* Skeleton on light. A white-tint shimmer is invisible on a white canvas, so+ the ramp inverts to a dark tint at the same two alphas. */+ --skeleton-base: rgba(15, 18, 28, 0.06);+ --skeleton-sheen: rgba(15, 18, 28, 0.11);+}++@media (prefers-reduced-motion: reduce) {+ :root {+ --duration-instant: 0ms;+ --duration-fast: 0ms;+ --duration-base: 0ms;+ --duration-slow: 0ms;+ }++ /* Reduced-motion floor (B14). Zeroing the duration tokens above only reaches+ motion that was authored through them. A sweep found 26 stylesheets with+ @keyframes and no reduced-motion block at all, plus hundreds of inline+ transitions with literal durations, so a user who asks for less motion+ still got shimmer, slides and parallax on those surfaces. This collapses+ the remainder in one place. `!important` is required to beat the literal+ declarations it exists to override.++ Deliberate carve-outs, because "reduce" does not mean "remove status":+ 1. data-motion="essential" (or the .motion-keep class) and its subtree+ opts out. Use it where the movement IS the information, not decoration.+ 2. Busy/progress indicators keep animating. A spinner frozen mid-rotation+ reads as a hung page, which is a worse outcome than the motion. The+ substring class match covers the ~28 differently-named spinner classes+ across the platform without maintaining a list of them. */+ /* The exempt list is repeated per pseudo-element because a pseudo is selected+ through its originating element; there is no shorter correct spelling. */+ *:not(.motion-keep, .motion-keep *, [data-motion='essential'], [data-motion='essential'] *, [aria-busy='true'], [aria-busy='true'] *, [role='progressbar'], [class*='spin'], [class*='loader']),+ *:not(.motion-keep, .motion-keep *, [data-motion='essential'], [data-motion='essential'] *, [aria-busy='true'], [aria-busy='true'] *, [role='progressbar'], [class*='spin'], [class*='loader'])::before,+ *:not(.motion-keep, .motion-keep *, [data-motion='essential'], [data-motion='essential'] *, [aria-busy='true'], [aria-busy='true'] *, [role='progressbar'], [class*='spin'], [class*='loader'])::after {+ animation-duration: 1ms !important;+ animation-delay: 0ms !important;+ animation-iteration-count: 1 !important;+ transition-duration: 1ms !important;+ transition-delay: 0ms !important;+ }++ html {+ scroll-behavior: auto !important;+ }+}diff --git a/scripts/export-growth-satellites.mjs b/scripts/export-growth-satellites.mjsindex 38fcf2f79..8f8cb4a26 100644--- a/scripts/export-growth-satellites.mjs+++ b/scripts/export-growth-satellites.mjs@@ -39,6 +39,12 @@ const TARGETS = [repository: 'https://github.com/nirholas/glb-quality-gate.git',build: true,},+ {+ name: 'oracle-desk',+ source: 'satellites/oracle-desk',+ repository: 'https://github.com/nirholas/oracle-desk.git',+ build: false,+ },];function assertSafeOutput(path) {@@ -58,9 +64,12 @@ function run(command, args, cwd) {function copyProject(target) {const source = join(REPO, target.source);const destination = join(OUT, target.name);+ // A satellite's top-level `data/` and `.env` are operator state (the oracle+ // desk's book of positions and trades, local keys), never source.+ const operatorState = new Set([join(source, 'data'), join(source, '.env')]);cpSync(source, destination, {recursive: true,- filter: (path) => !['node_modules', '.git'].includes(path.split('/').at(-1)),+ filter: (path) => !['node_modules', '.git'].includes(path.split('/').at(-1)) && !operatorState.has(path),});for (const legal of ['LICENSE', 'NOTICE']) {const sourceFile = join(REPO, legal);