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
fix(safety): add whole-word hate-slur gate for ERC-8004 agent metadata
nirholasb1817ba3f53c
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 26d16826e..e136944a9 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -18,6 +18,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Coin buybacks and vault balances work again** — A wiring mistake in how the platform opened its connection to Solana meant every automated buyback silently failed — for nearly a month, roughly 40,000 times a day — and the vault-balance view for any agent coin returned an error instead of its numbers. Both are fixed. Buybacks now run against the chain as intended, agent coin pages show real payment, buyback and withdraw vault balances again, and the failed-run log that quietly grew to a quarter-million rows is now pruned automatically while every on-chain burn record is kept. (`/launches`) `[fix]`- **Coin price charts stop dropping out, and the walk demos load fast on phones** — The price chart on coin and trading pages intermittently showed "unavailable" because every refresh asked the upstream price service for a slightly different time window, so nothing could be cached and the free service rate-limited us. Refreshes now share a window, the busiest lookup is remembered, and if both price sources go quiet for a moment the chart keeps showing the most recent real candles with a "delayed" marker instead of an error. A coin that has no liquidity pool now says exactly that. Separately, the walk landing page used to start all eight interactive demos at once — on a phone that exhausted the browser's 3D limit and stalled the page for over twenty seconds. Each demo now starts as you scroll to it. (`/walk`) `[fix, improvement]`- **Crypto news is live: a real-time feed from 38 publishers, a rich article reader, and a 662,047-article archive back to 2017** — Markets grew a full news wing. /markets/news streams live headlines aggregated directly from 38 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search, and open any story in a reader that extracts the full text with a summary, key points, sentiment, and related coverage. Behind it sits the largest open crypto-news archive anywhere: 662,047 articles from September 2017 to today in English and Chinese, searchable by keyword, ticker, source, sentiment, date, and language at /markets/archive. A new /markets hub ties the whole suite together — live global stats, the top 100 coins, breaking news, and every market tool as its own card. (`/markets`) `[feature]`+- **Every doc on the site was checked against the code that actually ships** — The documentation had drifted. Guides written early in the project still told you three.ws ran on Vercel, pointed at an old repository that no longer receives updates, named a dev server port we stopped using, and referenced build commands that had since been renamed — and twelve of the services behind the 3D pipeline had no documentation at all. We went through all 339 documents one by one and checked each claim against the running code: every command, every file path, every API endpoint, every link. Guides that were wrong are now right, 27 broken links point somewhere real again, and the background-removal, rigging, texturing, and mesh-generation services each got a proper page explaining what they do, how they run, and how to call them. Tutorials that walk you through deploying your own agent were left alone — those instructions were never the ones that went stale. (`/docs`) `[docs, improvement]`- **Fixed two API endpoints that returned an error for every request** — The $THREE balance check (/api/pump/check-three-balance) and the $THREE price signal (/api/three-signal) crashed on every call because of an incorrect internal call signature. Both now return real data. `[fix]`- **Friends now see you online — and can message you — while you're in /play** — Your account's friends list, presence, and DMs (already live on /walk) now work inside /play's coin worlds too: a Friends button on the HUD (or press J) opens a drawer showing who's online and where, with live direct messages that arrive instantly whether or not the drawer is open. Previously /play never told the server who you were signed in as, so friends saw you as offline no matter how long you played, and any message sent your way was silently lost. (`/play`) `[feature, fix]`- **News Digest: the day's crypto coverage, grouped into the stories that actually matter** — Reading 90 headlines to find the 8 things that happened is a chore. /markets/digest does it for you: it reads every story from all 38 publisher feeds over your chosen window (6 hours to 3 days) and groups them into distinct narratives — each with a plain-language summary, whether it reads bullish or bearish, the coins involved, and an expandable list of every outlet that covered it. When an AI provider is available it groups the stories semantically; otherwise it clusters them by keyword and ticker overlap. Either way, every story links back to the real articles behind it — nothing is invented. (`/markets/digest`) `[feature]`diff --git a/STRUCTURE.md b/STRUCTURE.mdindex 07ad27efe..8f53d6de4 100644--- a/STRUCTURE.md+++ b/STRUCTURE.md@@ -45,7 +45,7 @@ bottom.| `/play` combat & weapons (server-authoritative, danger zones, wanted, tombstones) | Client: [src/game/combat-system.js](src/game/combat-system.js) `→ /play` (vitals HUD wiring, danger-zone ground, tombstone loot, hit feedback, the `window.twsCombat` bridge into W08's `MobSystem`), HUD [src/game/hud/world-hud.js](src/game/hud/world-hud.js). Server: [multiplayer/src/combat-handlers.js](multiplayer/src/combat-handlers.js) (mob AI, attack/loot intents, death + respawn), pure math [multiplayer/src/combat.js](multiplayer/src/combat.js), weapon/mob/loot tables [multiplayer/src/items.js](multiplayer/src/items.js), zone geometry [multiplayer/src/world-features.js](multiplayer/src/world-features.js), handlers wired in [multiplayer/src/rooms/WalkRoom.js](multiplayer/src/rooms/WalkRoom.js) | In-repo | W07 of the World Online program ([prompts/agent-briefs/W-world-online/W00-program-overview.md](prompts/agent-briefs/W-world-online/W00-program-overview.md)). Equip a sword/bat/pistol/bow from the hotbar and press `X` (or tap the touch Attack button) to fight — but only inside one of three named danger zones (Southern Wilds, Northern Wilds, Eastern Marches); town stays lawful by construction. PvE mobs chase and swing back through the same server-side damage path a player's attack uses; a kill (mob or PvP) spills a lootable tombstone, PvP raises the attacker's wanted/heat stars (visible on `WorldHud` and a downed peer's nameplate), and death drops carried cash/pack before an automatic respawn in town. || `/play` NPCs & world life (traffic, vendors, quest-givers, mobs) | Manager [src/game/npc/world-life.js](src/game/npc/world-life.js), nav graph [src/game/npc/nav-graph.js](src/game/npc/nav-graph.js), ambient crowd/traffic [src/game/npc/ambient-life.js](src/game/npc/ambient-life.js), quest-giver NPCs [src/game/npc/quest-npcs.js](src/game/npc/quest-npcs.js), quest-zone waypoints [src/game/npc/quest-markers.js](src/game/npc/quest-markers.js), Jobs Board UI [src/game/quests-ui.js](src/game/quests-ui.js), W07-gated mobs [src/game/npc/mobs.js](src/game/npc/mobs.js). Server: quest engine [multiplayer/src/quests.js](multiplayer/src/quests.js), quest zones [multiplayer/src/quest-zones.js](multiplayer/src/quest-zones.js), handlers in [multiplayer/src/rooms/WalkRoom.js](multiplayer/src/rooms/WalkRoom.js) | In-repo | W08 of the World Online program ([prompts/agent-briefs/W-world-online/W00-program-overview.md](prompts/agent-briefs/W-world-online/W00-program-overview.md)). A deterministic nav graph drives client-side ambient pedestrians + ring-road traffic that read identically for every player without a single packet — real gameplay stays server-authoritative. Five quest-giver NPCs (Dockmaster Reyes, Warden Okoro, Cook Mara, Foreman Dell, The Fixer) front the jobs board the quest engine (W05) already ran server-side but no client ever reached; pressing E opens the real board, accepting a job drops a waypoint at its objective (goto zones auto-complete by walking there, interact zones get their own "press E"), and finishing pays real cash server-side. Hostile mobs are live: W07's `CombatSystem` ([src/game/combat-system.js](src/game/combat-system.js)) installs the `window.twsCombat` contract this module's mobs were built against, so `MobSystem` renders real server-authoritative PvE hostiles with zero changes here. || `/play` friends & presence (drawer, cross-world DMs) | Client: [src/game/friends-panel.js](src/game/friends-panel.js) (shared with `/walk`), mounted in [src/game/coincommunities.js](src/game/coincommunities.js) `_openFriends()`/`_closeFriends()`, HUD button + unread badge in [src/game/coincommunities-ui.js](src/game/coincommunities-ui.js), account-level state/polling in [src/friends.js](src/friends.js). Server: signed ticket verify + `socialHub` registration in [multiplayer/src/rooms/WalkRoom.js](multiplayer/src/rooms/WalkRoom.js), hub in [multiplayer/src/social-hub.js](multiplayer/src/social-hub.js) | In-repo | W09 of the World Online program ([prompts/agent-briefs/W-world-online/W00-program-overview.md](prompts/agent-briefs/W-world-online/W00-program-overview.md)). Press `J` or the HUD `Friends` button to open a right-docked drawer showing your account's friend graph — live online/offline presence per coin world, requests, and DM threads — the same graph and threads `/walk` and the standalone `/friends` page already share. `community-net.js` now carries a signed presence ticket into every `walk_world` join and forwards the server's `social` push onto its own event bus, which is what actually makes a `/play` player visible to friends and able to receive a live DM — previously `/play` joined anonymously to the social graph even when signed in, so every player showed offline and DMs were dropped. Tests: [tests/play-friends-presence.test.js](tests/play-friends-presence.test.js). |-| 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/gcp-credits.md](docs/gcp-credits.md) |+| 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) || 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) |diff --git a/api/_lib/display-name-safety.js b/api/_lib/display-name-safety.jsnew file mode 100644index 000000000..91a48a453--- /dev/null+++ b/api/_lib/display-name-safety.js@@ -0,0 +1,149 @@+// api/_lib/display-name-safety.js+//+// Hate-slur gate for THIRD-PARTY text we index and render as our own UI.+//+// The ERC-8004 crawler indexes every agent registered on-chain across several+// chains — 126k rows and climbing — and hydrates each one's display name,+// description and image straight from attacker-controlled metadata. Until this+// gate existed, whether a row appeared on three.ws was decided by a single line:+//+// const active = meta.active !== false; // the agent's own metadata says so+//+// Nothing checked what the name said. A Base-registered agent whose name was a+// racial slur was `active`, `has_3d`, and rendered on /marketplace.+//+// ── PRECISION IS THE WHOLE PROBLEM ───────────────────────────────────────────+// A false negative shows a slur once. A false positive silently delists a+// legitimate on-chain agent forever, with no appeal and no signal to its owner.+// The second failure is the one that scales, so this gate is deliberately narrow:+//+// • Unambiguous racial / ethnic / anti-LGBT slurs only. NOT a profanity filter.+// Agent and token names are crude by nature; "shit", "damn", "hell" pass.+// • WHOLE-WORD matching. Substring matching is what makes naive filters useless:+// it flags "kikel-jina69" (an Olas-generated agent name) and "Scunthorpe".+// • Hex-aware. Names routinely embed addresses — "Surf AI for 0xdb6b887289c380…".+// Leetspeak folding (0→o, 3→e, 8→b …) turns any address into letter soup, and+// a long enough one contains almost any short stem. Addresses are excluded+// from the letters-only evasion pass, and short stems are never matched inside+// a long alphanumeric run.+//+// Applied at hydration (a slur never becomes `active`) and to already-indexed rows+// via scripts/deactivate-slur-agents.mjs. Every public feed already filters+// `active = true`, so one flag covers explore, marketplace, agents, and search.+//+// Dependency-free and synchronous — the crawler hydrates thousands of rows per tick+// and must not pay a network hop per name.++// Stems in canonical (folded, lowercase) form. Matched as WHOLE WORDS, with an+// optional plural/possessive tail, never as bare substrings.+//+// Notably absent, and why:+// • "coon" — "Coon" is a common surname, and "raccoon"/"tycoon"/"Coon Rapids"+// are ordinary. Even whole-word, the false-positive cost is too high.+// • "spic" — kept, because whole-word cannot reach inside "spice"/"spicy".+const SLUR_STEMS = [+ 'nigger',+ 'nigga',+ 'faggot',+ 'kike',+ 'wetback',+ 'tranny',+ 'trannie',+ 'chink',+ 'gook',+ 'beaner',+ 'spic',+];++// Optional tails a slur is commonly written with. Anything longer is a different+// word (e.g. "kikel", "spice") and must not match.+const TAIL = '(?:s|es|z|ies)?';++// Leetspeak / homoglyph folding, applied per token.+const LEET = new Map(+ Object.entries({+ '0': 'o', '1': 'i', '!': 'i', '|': 'i', '3': 'e', '4': 'a',+ '@': 'a', '5': 's', $: 's', '7': 't', '+': 't', '8': 'b', '9': 'g',+ }),+);++// An address, tx hash, or long id. Folding digits inside one of these produces+// arbitrary letters, so it is never eligible for the letters-only evasion pass.+const LONG_ALNUM_RUN = /(?:0x)?[0-9a-f]{10,}/i;++function foldLeet(text) {+ return String(text || '')+ .toLowerCase()+ .split('')+ .map((ch) => LEET.get(ch) ?? ch)+ .join('');+}++// "niiiiigger" → "niigger". Two is enough to leave "aa"/"ll" words intact.+function collapseRuns(text) {+ return text.replace(/([a-z])\1{2,}/g, '$1$1');+}++/**+ * Canonical form used for matching: lowercase, leet folded, long runs collapsed.+ * Exported for tests and for the audit script's logging.+ * @param {string} text+ * @returns {string}+ */+export function normalizeForSlurMatch(text) {+ return collapseRuns(foldLeet(text));+}++const STEM_RE = new RegExp(`^(?:${SLUR_STEMS.join('|')})${TAIL}$`);++/**+ * Which slur stem the text contains, or null. Whole-word only.+ *+ * Two passes:+ * 1. Token pass — split on non-letters, fold each token, require a whole-word hit.+ * Catches "Real Hood Nigger Shit" and "N1GG3R", and cannot reach inside+ * "kikel-jina69" or a hex address.+ * 2. Squeezed pass — join the letters and look for a whole stem, to catch the+ * deliberately spaced "n.i.g.g.e.r" / "n i g g e r". Skipped entirely when the+ * text carries a long alphanumeric run (an address), because squeezing one of+ * those manufactures matches out of nothing.+ *+ * @param {string} text — a display name, a description, or both concatenated.+ * @returns {string|null} the matched stem, for logging. Never surfaced to users.+ */+export function matchedSlurStem(text) {+ const raw = String(text || '');+ if (!raw.trim()) return null;++ // Pass 1 — whole-word over folded tokens.+ for (const token of foldLeet(raw).split(/[^a-z]+/)) {+ if (!token) continue;+ const t = collapseRuns(token);+ const hit = SLUR_STEMS.find((stem) => STEM_RE.test(t) && t.startsWith(stem));+ if (hit) return hit;+ }++ // Pass 2 — the spaced-out evasion ("n.i.g.g.e.r", "n i g g e r").+ //+ // Squeezing text destroys word boundaries, so this pass can only ever be a+ // substring match — which on ordinary text flags "Spicy Trades" for "spic".+ // Run it only when the text bears the evasion's signature: a run of isolated+ // single letters. Real names do not spell themselves out one character at a time.+ if (LONG_ALNUM_RUN.test(raw)) return null;+ const tokens = foldLeet(raw).split(/[^a-z]+/).filter(Boolean);+ const singles = tokens.filter((t) => t.length === 1).length;+ if (singles < 4) return null;++ const squeezed = collapseRuns(tokens.join(''));+ if (squeezed.length > 40) return null; // a long description squeezed is a match generator+ return SLUR_STEMS.find((stem) => squeezed.includes(stem)) ?? null;+}++/**+ * True when the text contains an unambiguous hate slur.+ * @param {string} text+ * @returns {boolean}+ */+export function containsHateSlur(text) {+ return matchedSlurStem(text) !== null;+}diff --git a/api/_lib/news-sources.js b/api/_lib/news-sources.jsindex 6349d6a25..625277d28 100644--- a/api/_lib/news-sources.js+++ b/api/_lib/news-sources.js@@ -1,70 +1,314 @@-// Crypto-news source registry — ported from the cryptocurrency.cv aggregator-// (same team; its Vercel deployment is retired, so three.ws now runs the-// aggregation natively). Every entry is a real public RSS/Atom feed. Keys and-// category names match the cryptocurrency.cv registry so archive records-// (source_key) and live records line up.+// Crypto-news source registry — 235 live publisher feeds across+// 29 categories, 33 of them international across 17 languages.//-// Categories are the canonical filter set exposed by /api/news/feed and the-// /markets/news tabs. Keep them lowercase; the UI owns display labels.+// Ported from the cryptocurrency.cv aggregator (same team; its Vercel deployment+// is retired, so three.ws runs the aggregation natively). Keys and category+// names match the cryptocurrency.cv registry so archive records (source_key)+// and live records line up.+//+// EVERY feed here was fetched and parsed before being listed. The upstream+// registry carried ~450 feeds, but a large share are no longer real: dead+// domains, feeds replaced by HTML pages, and outlets behind a Cloudflare bot+// challenge (all of substack.com and mirror.xyz — unfetchable server-side).+// Those are omitted rather than shipped as permanently-failing sources.+// Regenerate with the probe in scripts/news-sources-probe.mjs.+//+// Fields: name, url, category. Optional: tier + credibility (upstream editorial+// tiering, drives refresh priority), language + region (international feeds).export const NEWS_SOURCES = {- // ── Tier 1: major outlets ────────────────────────────────────────────────- coindesk: { name: 'CoinDesk', url: 'https://www.coindesk.com/arc/outboundfeeds/rss/', category: 'general' },- theblock: { name: 'The Block', url: 'https://www.theblock.co/rss.xml', category: 'general' },- decrypt: { name: 'Decrypt', url: 'https://decrypt.co/feed', category: 'general' },- cointelegraph: { name: 'CoinTelegraph', url: 'https://cointelegraph.com/rss', category: 'general' },- blockworks: { name: 'Blockworks', url: 'https://blockworks.co/feed', category: 'general' },- cryptoslate: { name: 'CryptoSlate', url: 'https://cryptoslate.com/feed/', category: 'general' },- newsbtc: { name: 'NewsBTC', url: 'https://www.newsbtc.com/feed/', category: 'general' },- dailyhodl: { name: 'The Daily Hodl', url: 'https://dailyhodl.com/feed/', category: 'general' },+ // ── General newsrooms (66) ───────────────────────────────────────────────+ altcoinbuzz: { name: 'AltcoinBuzz', url: 'https://www.altcoinbuzz.io/feed/', category: 'general' },+ ambcrypto: { name: 'AMBCrypto', url: 'https://ambcrypto.com/feed/', category: 'general' },+ beincryptoes: { name: 'BeInCrypto Español', url: 'https://es.beincrypto.com/feed/', category: 'general', language: 'es', region: 'latam' },+ beincryptopr: { name: 'BeInCrypto Brasil', url: 'https://br.beincrypto.com/feed/', category: 'general', language: 'pt', region: 'latam' },+ bitcoinaddictth: { name: 'Bitcoin Addict Thailand', url: 'https://bitcoinaddict.org/feed/', category: 'general', language: 'th', region: 'asia' },+ bits_media: { name: 'Bits.Media', url: 'https://bits.media/rss2/', category: 'general', language: 'ru', region: 'europe' },+ blockchainmedia: { name: 'Blockchain Media', url: 'https://blockchainmedia.id/feed/', category: 'general', language: 'id', region: 'asia' },+ blockmedia: { name: 'Block Media', url: 'https://www.blockmedia.co.kr/feed/', category: 'general', language: 'ko', region: 'asia' },+ blocktempo: { name: 'BlockTempo', url: 'https://www.blocktempo.com/feed/', category: 'general', tier: 'tier3', credibility: 0.75 },+ blockworks: { name: 'Blockworks', url: 'https://blockworks.co/feed', category: 'general', tier: 'tier2', credibility: 0.9 },+ blokt: { name: 'Blokt', url: 'https://blokt.com/feed', category: 'general' },+ btcecho: { name: 'BTC-ECHO', url: 'https://www.btc-echo.de/feed/', category: 'general', language: 'de', region: 'europe' },+ btcnewsjp: { name: 'btcnews.jp', url: 'https://bitbank.cc/knowledge/feed', category: 'general', language: 'ja', region: 'asia' },+ coin68: { name: 'Coin68', url: 'https://coin68.com/rss/trang-chu.rss', category: 'general', language: 'vi', region: 'asia' },+ coincentral_news: { name: 'CoinCentral', url: 'https://coincentral.com/news/feed/', category: 'general' },+ coincu: { name: 'Coincu', url: 'https://coincu.com/feed/', category: 'general' },+ coindesk: { name: 'CoinDesk', url: 'https://www.coindesk.com/arc/outboundfeeds/rss/', category: 'general', tier: 'tier2', credibility: 0.95 },+ coindeskjapan: { name: 'CoinDesk Japan', url: 'https://www.coindeskjapan.com/feed/', category: 'general', language: 'ja', region: 'asia' },+ coindeskkorea: { name: 'CoinDesk Korea', url: 'https://www.coindeskkorea.com/feed/', category: 'general', language: 'ko', region: 'asia' },+ coindoo: { name: 'Coindoo', url: 'https://coindoo.com/feed/', category: 'general' },+ coinedition: { name: 'Coin Edition', url: 'https://coinedition.com/feed/', category: 'general' },+ coingape: { name: 'CoinGape', url: 'https://coingape.com/feed/', category: 'general' },+ coinidol: { name: 'CoinIdol', url: 'https://coinidol.com/rss2/', category: 'general' },coinjournal: { name: 'CoinJournal', url: 'https://coinjournal.net/feed/', category: 'general' },- cryptopotato: { name: 'CryptoPotato', url: 'https://cryptopotato.com/feed/', category: 'general' },- cryptodaily: { name: 'CryptoDaily', url: 'https://cryptodaily.co.uk/feed', category: 'general' },- cryptopolitan: { name: 'Cryptopolitan', url: 'https://www.cryptopolitan.com/feed/', category: 'general' },+ coinpaper: { name: 'CoinPaper', url: 'https://coinpaper.com/feed', category: 'general' },+ coinpedia: { name: 'CoinPedia', url: 'https://coinpedia.org/feed/', category: 'general' },+ coinpost: { name: 'CoinPost', url: 'https://coinpost.jp/?feed=rss2', category: 'general', tier: 'tier3', credibility: 0.75, language: 'ja', region: 'asia' },coinspeaker: { name: 'Coinspeaker', url: 'https://www.coinspeaker.com/feed/', category: 'general' },+ cointelegraph: { name: 'CoinTelegraph', url: 'https://cointelegraph.com/rss', category: 'general', tier: 'tier3', credibility: 0.78 },+ criptovaluteit: { name: 'Criptovalute.it', url: 'https://www.criptovalute.it/feed/', category: 'general', language: 'it', region: 'europe' },+ crypto_insiders: { name: 'Crypto Insiders', url: 'https://www.crypto-insiders.nl/feed/', category: 'general', language: 'nl', region: 'europe' },+ crypto_times_jp: { name: 'Crypto Times Japan', url: 'https://crypto-times.jp/feed/', category: 'general', language: 'ja', region: 'asia' },+ cryptoast: { name: 'Cryptoast', url: 'https://cryptoast.fr/feed/', category: 'general', language: 'fr', region: 'europe' },+ cryptodaily: { name: 'CryptoDaily', url: 'https://cryptodaily.co.uk/feed', category: 'general' },+ cryptomonday: { name: 'CryptoMonday', url: 'https://cryptomonday.de/feed/', category: 'general', language: 'de', region: 'europe' },+ cryptonewsflash: { name: 'Crypto-News Flash', url: 'https://www.crypto-news-flash.com/feed/', category: 'general' },+ cryptonewsindia: { name: 'Crypto News India', url: 'https://cryptonewsindia.com/feed/', category: 'general', language: 'hi', region: 'asia' },+ cryptonewsz: { name: 'CryptoNewsZ', url: 'https://www.cryptonewsz.com/feed/', category: 'general' },+ cryptoninjas: { name: 'CryptoNinjas', url: 'https://www.cryptoninjas.net/feed/', category: 'general' },+ cryptonomist: { name: 'The Cryptonomist', url: 'https://it.cryptonomist.ch/feed/', category: 'general', language: 'it', region: 'europe' },+ cryptopolitan: { name: 'Cryptopolitan', url: 'https://www.cryptopolitan.com/feed/', category: 'general', tier: 'tier3', credibility: 0.68 },+ cryptoslate: { name: 'CryptoSlate', url: 'https://cryptoslate.com/feed/', category: 'general', tier: 'tier3', credibility: 0.75 },+ cryptotvplus: { name: 'CryptoTvPlus', url: 'https://cryptotvplus.com/feed/', category: 'general' },+ dailyhodl: { name: 'The Daily Hodl', url: 'https://dailyhodl.com/feed/', category: 'general', tier: 'tier3', credibility: 0.72 },+ decrypt: { name: 'Decrypt', url: 'https://decrypt.co/feed', category: 'general', tier: 'tier2', credibility: 0.88 },+ diariobitcoin: { name: 'Diario Bitcoin', url: 'https://www.diariobitcoin.com/feed/', category: 'general', language: 'es', region: 'latam' },+ finance_magnates_crypto: { name: 'Finance Magnates Crypto', url: 'https://www.financemagnates.com/cryptocurrency/feed/', category: 'general' },+ forklog: { name: 'ForkLog', url: 'https://forklog.com/feed/', category: 'general', language: 'ru', region: 'europe' },+ journalducoin: { name: 'Journal du Coin', url: 'https://journalducoin.com/feed/', category: 'general', language: 'fr', region: 'europe' },+ koinmedya: { name: 'Koin Medya', url: 'https://koinmedya.com/feed/', category: 'general', language: 'tr', region: 'europe' },+ livecoins: { name: 'Livecoins', url: 'https://livecoins.com.br/feed/', category: 'general', language: 'pt', region: 'latam' },+ mihanblockchain: { name: 'Mihan Blockchain (میهن بلاکچین)', url: 'https://mihanblockchain.com/feed/', category: 'general', language: 'fa', region: 'mena' },+ newsbtc: { name: 'NewsBTC', url: 'https://www.newsbtc.com/feed/', category: 'general', tier: 'tier3', credibility: 0.7 },+ nulltx: { name: 'NullTX', url: 'https://nulltx.com/feed/', category: 'general' },+ panewslab: { name: 'PANews (PA财经)', url: 'https://www.panewslab.com/rss.xml?lang=zh&type=NEWS', category: 'general', language: 'zh', region: 'asia' },+ portaldobitcoin: { name: 'Portal do Bitcoin', url: 'https://portaldobitcoin.uol.com.br/feed/', category: 'general', language: 'pt', region: 'latam' },+ ramzarz: { name: 'Ramz Arz (رمزارز)', url: 'https://ramzarz.news/feed/', category: 'general', language: 'fa', region: 'mena' },+ siamblockchain: { name: 'Siam Blockchain', url: 'https://siamblockchain.com/feed/', category: 'general', language: 'th', region: 'asia' },+ theblock: { name: 'The Block', url: 'https://www.theblock.co/rss.xml', category: 'general', tier: 'tier2', credibility: 0.93 },+ thecryptobasic: { name: 'TheCryptoBasic', url: 'https://thecryptobasic.com/feed/', category: 'general' },+ thenewscrypto: { name: 'TheNewsCrypto', url: 'https://thenewscrypto.com/feed/', category: 'general' },+ tokenpost: { name: 'TokenPost', url: 'https://www.tokenpost.kr/rss', category: 'general', language: 'ko', region: 'asia' },+ usethebitcoin: { name: 'UseTheBitcoin', url: 'https://usethebitcoin.com/feed/', category: 'general' },+ watcherguru: { name: 'Watcher.Guru', url: 'https://watcher.guru/news/feed', category: 'general', tier: 'tier3', credibility: 0.68 },+ zebpay: { name: 'ZebPay Blog', url: 'https://zebpay.com/blog/feed/', category: 'general', language: 'hi', region: 'asia' },+ zycrypto: { name: 'ZyCrypto', url: 'https://zycrypto.com/feed/', category: 'general' },- // ── Bitcoin ──────────────────────────────────────────────────────────────- bitcoinmagazine: { name: 'Bitcoin Magazine', url: 'https://bitcoinmagazine.com/.rss/full/', category: 'bitcoin' },- bitcoinist: { name: 'Bitcoinist', url: 'https://bitcoinist.com/feed/', category: 'bitcoin' },+ // ── Bitcoin (11) ─────────────────────────────────────────────────────────+ alex_lab_blog: { name: 'ALEX Lab Blog', url: 'https://medium.com/feed/alexgobtc', category: 'bitcoin' },+ bitcoinblock: { name: 'Bitcoin Block', url: 'https://bitcoinblock.com.br/feed/', category: 'bitcoin', language: 'pt', region: 'latam' },+ bitcoincom: { name: 'Bitcoin.com News', url: 'https://news.bitcoin.com/feed/', category: 'bitcoin' },+ bitcoinist: { name: 'Bitcoinist', url: 'https://bitcoinist.com/feed/', category: 'bitcoin', tier: 'tier3', credibility: 0.72 },+ bitcoinmagazine: { name: 'Bitcoin Magazine', url: 'https://bitcoinmagazine.com/.rss/full/', category: 'bitcoin', tier: 'tier3', credibility: 0.82 },bitcoinops: { name: 'Bitcoin Optech', url: 'https://bitcoinops.org/feed.xml', category: 'bitcoin' },+ blockstream_blog: { name: 'Blockstream Blog', url: 'https://blog.blockstream.com/feed/', category: 'bitcoin' },+ btctimes: { name: 'BTC Times', url: 'https://www.btctimes.com/feed.xml', category: 'bitcoin' },+ casa_blog: { name: 'Casa Blog', url: 'https://blog.keys.casa/rss/', category: 'bitcoin' },+ livebitcoinnews: { name: 'Live Bitcoin News', url: 'https://www.livebitcoinnews.com/feed/', category: 'bitcoin' },stackernews: { name: 'Stacker News', url: 'https://stacker.news/rss', category: 'bitcoin' },- // ── Ethereum ─────────────────────────────────────────────────────────────+ // ── Ethereum (5) ─────────────────────────────────────────────────────────ef_blog: { name: 'Ethereum Foundation', url: 'https://blog.ethereum.org/feed.xml', category: 'ethereum' },+ ens_blog: { name: 'ENS Blog', url: 'https://ens.domains/blog/rss.xml', category: 'ethereum' },+ ethereum_cat_herders: { name: 'Ethereum Cat Herders', url: 'https://medium.com/feed/ethereum-cat-herders', category: 'ethereum' },+ lido_dao_blog: { name: 'Lido DAO Governance', url: 'https://research.lido.fi/latest.rss', category: 'ethereum' },+ rocketpool_blog: { name: 'Rocket Pool Blog', url: 'https://medium.com/feed/rocket-pool', category: 'ethereum' },++ // ── Layer 2 (3) ──────────────────────────────────────────────────────────+ altlayer_blog: { name: 'AltLayer Blog', url: 'https://blog.altlayer.io/feed', category: 'layer2' },+ aztec_blog: { name: 'Aztec Blog', url: 'https://medium.com/feed/aztec-protocol', category: 'layer2' },+ starknet_blog: { name: 'StarkNet Blog', url: 'https://starkware.medium.com/feed', category: 'layer2' },- // ── Solana ───────────────────────────────────────────────────────────────+ // ── Solana (7) ───────────────────────────────────────────────────────────+ marginfi_blog: { name: 'marginfi Blog', url: 'https://medium.com/feed/marginfi', category: 'solana' },+ marinade_blog: { name: 'Marinade Finance Blog', url: 'https://medium.com/feed/marinade-finance', category: 'solana' },+ orca_blog: { name: 'Orca Blog', url: 'https://medium.com/feed/orca-so', category: 'solana' },+ raydium_blog: { name: 'Raydium Blog', url: 'https://medium.com/feed/@raydium', category: 'solana' },solana_news: { name: 'Solana News', url: 'https://solana.com/news/rss.xml', category: 'solana' },+ solanafloor: { name: 'SolanaFloor', url: 'https://solanafloor.com/feed.xml', category: 'solana' },+ solflare_blog: { name: 'Solflare Blog', url: 'https://medium.com/feed/solflare', category: 'solana' },- // ── DeFi / NFT ───────────────────────────────────────────────────────────- defiant: { name: 'The Defiant', url: 'https://thedefiant.io/feed', category: 'defi' },+ // ── Alt L1 (13) ──────────────────────────────────────────────────────────+ aptos_blog: { name: 'Aptos Blog', url: 'https://medium.com/feed/aptoslabs', category: 'altl1' },+ avail_blog: { name: 'Avail Blog', url: 'https://blog.availproject.org/rss/', category: 'altl1' },+ avalanche_blog: { name: 'Avalanche Blog', url: 'https://medium.com/feed/avalancheavax', category: 'altl1' },+ celestia_blog: { name: 'Celestia Blog', url: 'https://blog.celestia.org/rss/', category: 'altl1' },+ dymension_blog: { name: 'Dymension Blog', url: 'https://medium.com/feed/@dymension', category: 'altl1' },+ hedera: { name: 'Hedera', url: 'https://hedera.com/feed/', category: 'altl1' },+ movement_blog: { name: 'Movement Labs Blog', url: 'https://medium.com/feed/@movementlabsxyz', category: 'altl1' },+ neonewstoday: { name: 'NEO News Today', url: 'https://neonewstoday.com/feed/', category: 'altl1' },+ osmosis_blog: { name: 'Osmosis Blog', url: 'https://medium.com/feed/osmosis', category: 'altl1' },+ render_blog: { name: 'Render Network Blog', url: 'https://medium.com/feed/render-token', category: 'altl1' },+ sei_blog: { name: 'Sei Blog', url: 'https://blog.sei.io/rss/', category: 'altl1' },+ stride_blog: { name: 'Stride Blog', url: 'https://medium.com/feed/@stride_zone', category: 'altl1' },+ sui_blog: { name: 'Sui Blog', url: 'https://blog.sui.io/feed/', category: 'altl1' },++ // ── DeFi (18) ────────────────────────────────────────────────────────────+ across_blog: { name: 'Across Protocol Blog', url: 'https://medium.com/feed/across-protocol', category: 'defi' },+ balancer_blog: { name: 'Balancer Blog', url: 'https://medium.com/feed/balancer-protocol', category: 'defi' },+ bankless: { name: 'Bankless', url: 'https://www.bankless.com/rss/feed', category: 'defi', tier: 'tier3', credibility: 0.78 },+ centrifuge_blog: { name: 'Centrifuge Blog', url: 'https://medium.com/feed/centrifuge', category: 'defi' },+ compound_blog: { name: 'Compound Blog', url: 'https://medium.com/feed/compound-finance', category: 'defi' },+ curve_blog: { name: 'Curve Blog', url: 'https://news.curve.fi/rss/', category: 'defi' },+ defiant: { name: 'The Defiant', url: 'https://thedefiant.io/feed', category: 'defi', tier: 'tier2', credibility: 0.87 },defirate: { name: 'DeFi Rate', url: 'https://defirate.com/feed/', category: 'defi' },+ eigenlayer_blog: { name: 'EigenLayer Blog', url: 'https://www.blog.eigenlayer.xyz/rss/', category: 'defi' },+ lido_blog: { name: 'Lido Blog', url: 'https://blog.lido.fi/rss/', category: 'defi' },+ maple_v2_blog: { name: 'Maple Finance V2 Blog', url: 'https://medium.com/feed/@maplefinance', category: 'defi' },+ morpho_blog: { name: 'Morpho Blog', url: 'https://medium.com/feed/morpho-labs', category: 'defi' },+ pendle_blog: { name: 'Pendle Blog', url: 'https://medium.com/feed/pendle', category: 'defi' },+ radiant_blog: { name: 'Radiant Capital Blog', url: 'https://medium.com/feed/@radiantcapital', category: 'defi' },+ sushi_blog: { name: 'SushiSwap Blog', url: 'https://medium.com/feed/sushiswap-org', category: 'defi' },+ synthetix_blog: { name: 'Synthetix Blog', url: 'https://blog.synthetix.io/rss/', category: 'defi' },+ tally_blog: { name: 'Tally Blog', url: 'https://blog.tally.xyz/feed', category: 'defi' },+ yearn_blog: { name: 'Yearn Finance Blog', url: 'https://blog.yearn.fi/feed', category: 'defi' },++ // ── NFT (3) ──────────────────────────────────────────────────────────────nftevening: { name: 'NFTevening', url: 'https://nftevening.com/feed/', category: 'nft' },+ nifty_gateway_blog: { name: 'Nifty Gateway Blog', url: 'https://medium.com/feed/nifty-gateway', category: 'nft' },+ superrare_blog: { name: 'SuperRare Blog', url: 'https://medium.com/feed/superrare', category: 'nft' },- // ── Trading / research / on-chain ────────────────────────────────────────- beincrypto: { name: 'BeInCrypto', url: 'https://beincrypto.com/feed/', category: 'trading' },- u_today: { name: 'U.Today', url: 'https://u.today/rss', category: 'trading' },- glassnode: { name: 'Glassnode Insights', url: 'https://insights.glassnode.com/rss/', category: 'research' },+ // ── Gaming (3) ───────────────────────────────────────────────────────────+ chiliz: { name: 'Chiliz', url: 'https://www.chiliz.com/feed/', category: 'gaming' },+ gala_blog: { name: 'Gala Games Blog', url: 'https://blog.gala.games/feed', category: 'gaming' },+ gamingguild_blog: { name: 'Yield Guild Games Blog', url: 'https://medium.com/feed/yield-guild-games', category: 'gaming' },++ // ── Trading (7) ──────────────────────────────────────────────────────────+ beincrypto: { name: 'BeInCrypto', url: 'https://beincrypto.com/feed/', category: 'trading', tier: 'tier3', credibility: 0.7 },+ coinalyze_blog: { name: 'Coinalyze Blog', url: 'https://coinalyze.net/blog/feed/', category: 'trading' },+ comparic: { name: 'Comparic', url: 'https://comparic.pl/feed/', category: 'trading', language: 'pl', region: 'europe' },+ finbold: { name: 'Finbold', url: 'https://finbold.com/feed/', category: 'trading' },+ fxstreet_crypto: { name: 'FXStreet Crypto', url: 'https://www.fxstreet.com/rss', category: 'trading' },+ tradingview_crypto: { name: 'TradingView Crypto Ideas', url: 'https://www.tradingview.com/feed/?sort=recent&stream=crypto', category: 'trading' },+ u_today: { name: 'U.Today', url: 'https://u.today/rss', category: 'trading', tier: 'tier3', credibility: 0.7 },++ // ── Derivatives (5) ──────────────────────────────────────────────────────+ amberdata_blog: { name: 'Amberdata Blog', url: 'https://blog.amberdata.io/rss.xml', category: 'derivatives' },+ deribit_insights: { name: 'Deribit Insights', url: 'https://insights.deribit.com/feed/', category: 'derivatives' },+ gains_network_blog: { name: 'gTrade Blog', url: 'https://medium.com/feed/gains-network', category: 'derivatives' },+ hyperliquid_blog: { name: 'Hyperliquid Blog', url: 'https://medium.com/feed/@hyperliquid', category: 'derivatives' },+ paradigm_trading: { name: 'Paradigm (Trading)', url: 'https://www.paradigm.co/blog/rss.xml', category: 'derivatives' },++ // ── Research (2) ─────────────────────────────────────────────────────────cryptobriefing: { name: 'Crypto Briefing', url: 'https://cryptobriefing.com/feed/', category: 'research' },+ glassnode: { name: 'Glassnode Insights', url: 'https://insights.glassnode.com/rss/', category: 'research' },++ // ── On-chain analytics (3) ───────────────────────────────────────────────+ dune_blog: { name: 'Dune Analytics Blog', url: 'https://dune.com/blog/feed', category: 'onchain' },intotheblock: { name: 'IntoTheBlock', url: 'https://medium.com/feed/intotheblock', category: 'onchain' },- hashrateindex: { name: 'Hashrate Index', url: 'https://hashrateindex.com/blog/feed/', category: 'onchain' },+ woobull: { name: 'Willy Woo (Woobull)', url: 'https://woobull.com/feed/', category: 'onchain' },- // ── Institutional / mainstream ───────────────────────────────────────────- kraken_blog: { name: 'Kraken Blog', url: 'https://blog.kraken.com/feed/', category: 'institutional' },+ // ── Quant (1) ────────────────────────────────────────────────────────────+ alpha_architect: { name: 'Alpha Architect', url: 'https://alphaarchitect.com/feed/', category: 'quant' },++ // ── Institutional (7) ────────────────────────────────────────────────────+ binance_announcements: { name: 'Binance Announcements', url: 'https://www.binance.com/bapi/composite/v1/public/cms/article/list/query?type=1&pageNo=1&pageSize=20&catalogId=48', category: 'institutional', kind: 'json' },bitfinex_blog: { name: 'Bitfinex Blog', url: 'https://blog.bitfinex.com/feed/', category: 'institutional' },+ dragonfly_research: { name: 'Dragonfly Research', url: 'https://medium.com/feed/dragonfly-research', category: 'institutional' },+ electric_capital: { name: 'Electric Capital Blog', url: 'https://medium.com/feed/electric-capital', category: 'institutional' },+ fireblocks_blog: { name: 'Fireblocks Blog', url: 'https://www.fireblocks.com/blog/feed/', category: 'institutional' },+ kraken_blog: { name: 'Kraken Blog', url: 'https://blog.kraken.com/feed/', category: 'institutional' },+ placeholder_vc: { name: 'Placeholder VC', url: 'https://www.placeholder.vc/blog?format=rss', category: 'institutional' },++ // ── TradFi (1) ───────────────────────────────────────────────────────────+ backed_finance_blog: { name: 'Backed Finance Blog', url: 'https://medium.com/feed/@backedfi', category: 'tradfi' },++ // ── ETF / asset managers (2) ─────────────────────────────────────────────+ ark_invest: { name: 'ARK Invest', url: 'https://www.ark-invest.com/feed', category: 'etf' },+ coinshares_research: { name: 'CoinShares Research', url: 'https://blog.coinshares.com/feed', category: 'etf' },++ // ── Stablecoins (1) ──────────────────────────────────────────────────────+ makerdao_gov: { name: 'MakerDAO Governance', url: 'https://forum.makerdao.com/latest.rss', category: 'stablecoin' },++ // ── Fintech (2) ──────────────────────────────────────────────────────────+ paypal_newsroom: { name: 'PayPal Newsroom', url: 'https://newsroom.paypal-corp.com/news?pagetemplate=rss', category: 'fintech' },+ stripe_crypto: { name: 'Stripe Blog (Crypto)', url: 'https://stripe.com/blog/feed.rss', category: 'fintech' },++ // ── Mainstream media (18) ────────────────────────────────────────────────+ axios_crypto: { name: 'Axios Crypto', url: 'https://api.axios.com/feed/', category: 'mainstream', tier: 'tier1', credibility: 0.91 },+ bbc_business: { name: 'BBC Business', url: 'https://feeds.bbci.co.uk/news/business/rss.xml', category: 'mainstream', tier: 'tier1', credibility: 0.96 },+ benzinga_crypto: { name: 'Benzinga Crypto', url: 'https://www.benzinga.com/feed', category: 'mainstream', tier: 'tier3', credibility: 0.78 },+ business_insider_markets: { name: 'Business Insider Markets', url: 'https://feeds.businessinsider.com/custom/all', category: 'mainstream' },cnbc_crypto: { name: 'CNBC Crypto', url: 'https://www.cnbc.com/id/100727362/device/rss/rss.html', category: 'mainstream' },+ economic_times_india: { name: 'Economic Times India Markets', url: 'https://economictimes.indiatimes.com/markets/rssfeeds/1977021501.cms', category: 'mainstream' },+ fortune_crypto: { name: 'Fortune Crypto', url: 'https://fortune.com/feed/fortune-feeds/?id=3230629', category: 'mainstream', tier: 'tier1', credibility: 0.92 },+ ft_crypto: { name: 'Financial Times Crypto', url: 'https://www.ft.com/cryptocurrencies?format=rss', category: 'mainstream' },+ guardian_tech: { name: 'The Guardian Tech', url: 'https://www.theguardian.com/technology/rss', category: 'mainstream', tier: 'tier1', credibility: 0.95 },+ marketwatch: { name: 'MarketWatch', url: 'https://feeds.marketwatch.com/marketwatch/topstories/', category: 'mainstream' },+ nikkei_asia: { name: 'Nikkei Asia', url: 'https://asia.nikkei.com/rss/feed/nar', category: 'mainstream' },+ nyt_business: { name: 'New York Times Business', url: 'https://rss.nytimes.com/services/xml/rss/nyt/Business.xml', category: 'mainstream' },+ seekingalpha: { name: 'Seeking Alpha', url: 'https://seekingalpha.com/market_currents.xml', category: 'mainstream' },techcrunch_crypto: { name: 'TechCrunch Crypto', url: 'https://techcrunch.com/category/cryptocurrency/feed/', category: 'mainstream' },+ tokenist: { name: 'The Tokenist', url: 'https://tokenist.com/feed/', category: 'mainstream' },+ wsj_business: { name: 'Wall Street Journal', url: 'https://feeds.a.dj.com/rss/RSSMarketsMain.xml', category: 'mainstream' },+ wsj_crypto: { name: 'Wall Street Journal Crypto', url: 'https://feeds.a.dj.com/rss/RSSWSJD.xml', category: 'mainstream' },+ yahoo_crypto: { name: 'Yahoo Finance Crypto', url: 'https://finance.yahoo.com/rss/cryptocurrency', category: 'mainstream' },- // ── Asia ─────────────────────────────────────────────────────────────────- forkast: { name: 'Forkast News', url: 'https://forkast.news/feed/', category: 'asia' },- coinpost_en: { name: 'CoinPost', url: 'https://coinpost.jp/?feed=rss2', category: 'asia' },+ // ── Geopolitics (12) ─────────────────────────────────────────────────────+ al_jazeera: { name: 'Al Jazeera', url: 'https://www.aljazeera.com/xml/rss/all.xml', category: 'geopolitical' },+ atlantic_council_crypto: { name: 'Atlantic Council Crypto', url: 'https://www.atlanticcouncil.org/category/programs/geoeconomics-center/digital-currencies/feed/', category: 'geopolitical' },+ bbc_world: { name: 'BBC World', url: 'https://feeds.bbci.co.uk/news/world/rss.xml', category: 'geopolitical' },+ cftc_press: { name: 'CFTC Press Releases', url: 'https://www.cftc.gov/rss.xml', category: 'geopolitical' },+ coincenter: { name: 'Coin Center', url: 'https://www.coincenter.org/feed/', category: 'geopolitical' },+ dw_news: { name: 'DW News', url: 'https://rss.dw.com/xml/rss-en-all', category: 'geopolitical' },+ eba_news: { name: 'EBA News (EU Banking)', url: 'https://www.eba.europa.eu/rss.xml', category: 'geopolitical' },+ federal_reserve: { name: 'Federal Reserve', url: 'https://www.federalreserve.gov/feeds/press_all.xml', category: 'geopolitical' },+ rba_speeches: { name: 'RBA Speeches (Australia)', url: 'https://www.rba.gov.au/rss/rss-cb-speeches.xml', category: 'geopolitical' },+ sec_press: { name: 'SEC Press Releases', url: 'https://www.sec.gov/news/pressreleases.rss', category: 'geopolitical' },+ treasury_press: { name: 'US Treasury Press', url: 'https://home.treasury.gov/rss.xml', category: 'geopolitical' },+ uk_fca_crypto: { name: 'UK FCA Crypto', url: 'https://www.fca.org.uk/news/rss.xml', category: 'geopolitical' },++ // ── Security (9) ─────────────────────────────────────────────────────────+ chainalysis_blog: { name: 'Chainalysis Blog', url: 'https://www.chainalysis.com/blog/feed/', category: 'security' },+ elliptic_blog: { name: 'Elliptic Blog', url: 'https://www.elliptic.co/blog/rss.xml', category: 'security' },+ immunefi_blog: { name: 'Immunefi Blog', url: 'https://immunefi.medium.com/feed', category: 'security' },+ openzeppelin_blog: { name: 'OpenZeppelin Blog', url: 'https://www.openzeppelin.com/news/rss.xml', category: 'security' },+ samczsun: { name: 'samczsun Blog', url: 'https://samczsun.com/rss/', category: 'security' },+ slowmist: { name: 'SlowMist Blog', url: 'https://slowmist.medium.com/feed', category: 'security' },+ trailofbits: { name: 'Trail of Bits Blog', url: 'https://blog.trailofbits.com/feed/', category: 'security' },+ trezor_blog: { name: 'Trezor Blog', url: 'https://blog.trezor.io/feed', category: 'security' },+ zcash_blog: { name: 'Zcash Blog', url: 'https://electriccoin.co/blog/feed/', category: 'security' },++ // ── Developer (5) ────────────────────────────────────────────────────────+ api3_blog: { name: 'API3 Blog', url: 'https://medium.com/feed/api3', category: 'developer' },+ biconomy_blog: { name: 'Biconomy Blog', url: 'https://medium.com/feed/biconomy', category: 'developer' },+ connext_blog: { name: 'Connext Blog', url: 'https://medium.com/feed/connext', category: 'developer' },+ layerzero_blog: { name: 'LayerZero Blog', url: 'https://medium.com/feed/layerzero-official', category: 'developer' },+ particle_network_blog: { name: 'Particle Network Blog', url: 'https://blog.particle.network/rss/', category: 'developer' },++ // ── DePIN (2) ────────────────────────────────────────────────────────────+ hivemapper_blog: { name: 'Hivemapper Blog', url: 'https://blog.hivemapper.com/feed', category: 'depin' },+ iotex_blog: { name: 'IoTeX Blog', url: 'https://iotex.io/blog/feed', category: 'depin' },++ // ── AI x crypto (2) ──────────────────────────────────────────────────────+ gensyn_blog: { name: 'Gensyn Blog', url: 'https://medium.com/feed/@gensyn', category: 'ai_crypto' },+ sentient_blog: { name: 'Sentient Blog', url: 'https://medium.com/feed/@sentientAGI', category: 'ai_crypto' },++ // ── Mining (2) ───────────────────────────────────────────────────────────+ bitcoinmining: { name: 'Bitcoin Mining News', url: 'https://bitcoinmagazine.com/tags/mining/.rss/full/', category: 'mining' },+ hashrateindex: { name: 'Hashrate Index', url: 'https://hashrateindex.com/blog/feed/', category: 'mining' },- // ── Regulation / policy ──────────────────────────────────────────────────- sec_press: { name: 'SEC Press Releases', url: 'https://www.sec.gov/news/pressreleases.rss', category: 'regulation' },- coincenter: { name: 'Coin Center', url: 'https://www.coincenter.org/feed/', category: 'regulation' },+ // ── Macro (9) ────────────────────────────────────────────────────────────+ alhambra_partners: { name: 'Alhambra Partners', url: 'https://www.alhambrapartners.com/feed/', category: 'macro' },+ bis_speeches: { name: 'BIS Speeches', url: 'https://www.bis.org/doclist/cbspeeches.rss', category: 'macro' },+ boe_speeches: { name: 'Bank of England Speeches', url: 'https://www.bankofengland.co.uk/rss/speeches', category: 'macro' },+ ecb_press: { name: 'ECB Press Releases', url: 'https://www.ecb.europa.eu/rss/press.html', category: 'macro' },+ federal_reserve_notes: { name: 'Federal Reserve FEDS Notes', url: 'https://www.federalreserve.gov/feeds/feds_notes.xml', category: 'macro' },+ fred_blog: { name: 'FRED Blog (St. Louis Fed)', url: 'https://fredblog.stlouisfed.org/feed/', category: 'macro' },+ lyn_alden: { name: 'Lyn Alden', url: 'https://www.lynalden.com/feed/', category: 'macro' },+ wolf_street: { name: 'Wolf Street', url: 'https://wolfstreet.com/feed/', category: 'macro' },+ zerohedge: { name: 'ZeroHedge', url: 'https://cms.zerohedge.com/fullrss2.xml', category: 'macro' },- // ── Independent journalism ───────────────────────────────────────────────- protos: { name: 'Protos', url: 'https://protos.com/feed/', category: 'journalism' },- unchained_crypto: { name: 'Unchained', url: 'https://unchainedcrypto.com/feed/', category: 'journalism' },+ // ── Independent journalism (13) ──────────────────────────────────────────+ benjamin_cowen_yt: { name: 'Benjamin Cowen', url: 'https://www.youtube.com/feeds/videos.xml?channel_id=UCRvqjQPSeaWn-uEx-w0XOIg', category: 'journalism' },+ coffeezilla_pod: { name: 'Coffeezilla', url: 'https://www.youtube.com/feeds/videos.xml?channel_id=UCFQMnBA3CS502aghlcr0_aw', category: 'journalism' },+ coin_bureau_yt: { name: 'Coin Bureau', url: 'https://www.youtube.com/feeds/videos.xml?channel_id=UCqK_GSMbpiV8spgD3ZGloSw', category: 'journalism' },+ cryptoweekly: { name: 'Crypto Weekly', url: 'https://cryptoweekly.co/feed/', category: 'journalism' },+ defiprime: { name: 'DeFi Prime', url: 'https://defiprime.com/feed.xml', category: 'journalism' },+ metaversal: { name: 'Metaversal', url: 'https://metaversal.banklesshq.com/feed', category: 'journalism' },+ molly_white: { name: 'Molly White Blog', url: 'https://www.citationneeded.news/rss/', category: 'journalism', tier: 'tier2', credibility: 0.86 },+ protos: { name: 'Protos', url: 'https://protos.com/feed/', category: 'journalism', tier: 'tier3', credibility: 0.75 },+ raoul_pal_yt: { name: 'Raoul Pal (Real Vision)', url: 'https://www.youtube.com/feeds/videos.xml?channel_id=UCBH5VZE_Y4F3CMcPIzPEB5A', category: 'journalism' },+ trustnodes: { name: 'Trustnodes', url: 'https://www.trustnodes.com/feed/', category: 'journalism' },+ unchained_crypto: { name: 'Unchained Crypto', url: 'https://unchainedcrypto.com/feed/', category: 'journalism' },+ unchained_podcast: { name: 'Unchained Podcast', url: 'https://feeds.simplecast.com/JGE3yC0V', category: 'journalism' },+ web3isgoinggreat: { name: 'Web3 Is Going Just Great', url: 'https://www.web3isgoinggreat.com/feed.xml', category: 'journalism' },++ // ── Asia (3) ─────────────────────────────────────────────────────────────+ bitpinas: { name: 'BitPinas', url: 'https://bitpinas.com/feed/', category: 'asia' },+ blockhead_tech: { name: 'Blockhead', url: 'https://www.blockhead.co/latest/rss/', category: 'asia' },+ forkast: { name: 'Forkast News', url: 'https://forkast.news/feed/', category: 'asia' },};// Canonical category order for filter UIs. 'all' is implicit.@@ -72,17 +316,54 @@ export const NEWS_CATEGORIES = ['general','bitcoin','ethereum',+ 'layer2','solana',+ 'altl1','defi','nft',+ 'gaming','trading',+ 'derivatives','research','onchain',+ 'quant','institutional',+ 'tradfi',+ 'etf',+ 'stablecoin',+ 'fintech','mainstream',- 'asia',- 'regulation',+ 'geopolitical',+ 'security',+ 'developer',+ 'depin',+ 'ai_crypto',+ 'mining',+ 'macro','journalism',+ 'asia',+];++// Languages present in the registry (ISO 639-1). English feeds carry no+// `language` field; everything else is explicitly tagged.+export const NEWS_LANGUAGES = [+ 'de',+ 'es',+ 'fa',+ 'fr',+ 'hi',+ 'id',+ 'it',+ 'ja',+ 'ko',+ 'nl',+ 'pl',+ 'pt',+ 'ru',+ 'th',+ 'tr',+ 'vi',+ 'zh',];export function sourcesForCategory(category) {@@ -91,19 +372,23 @@ export function sourcesForCategory(category) {return keys.filter((k) => NEWS_SOURCES[k].category === category);}+/** Every source publishing in `lang`; 'en' means the untagged English feeds. */+export function sourcesForLanguage(lang) {+ const keys = Object.keys(NEWS_SOURCES);+ if (!lang || lang === 'all') return keys;+ if (lang === 'en') return keys.filter((k) => !NEWS_SOURCES[k].language);+ return keys.filter((k) => NEWS_SOURCES[k].language === lang);+}+// Refresh ordering for the aggregator's bounded worker pool (api/_lib/news.js):// lower = refreshed first, so a deadline-truncated cold start still returns the-// highest-credibility outlets. Tier 0 = major newsrooms, tier 1 = established-// desks + primary sources, tier 2 = the long tail.-const TIER_0 = new Set(['coindesk', 'theblock', 'decrypt', 'cointelegraph', 'blockworks']);-const TIER_1 = new Set([- 'cryptoslate', 'newsbtc', 'dailyhodl', 'beincrypto', 'bitcoinmagazine',- 'sec_press', 'glassnode', 'cryptobriefing', 'defiant', 'forkast',- 'cnbc_crypto', 'techcrunch_crypto', 'protos', 'unchained_crypto',-]);+// highest-credibility outlets. Derived from the upstream editorial tier, which+// is why tier metadata lives on the source entries above.+const TIER_RANK = { tier1: 0, research: 1, tier2: 1, tier3: 2, fintech: 2, tier4: 3 };export function sourcePriority(key) {- if (TIER_0.has(key)) return 0;- if (TIER_1.has(key)) return 1;- return 2;+ const tier = NEWS_SOURCES[key]?.tier;+ if (tier && TIER_RANK[tier] !== undefined) return TIER_RANK[tier];+ // Untiered: English long-tail before international, which is niche by design.+ return NEWS_SOURCES[key]?.language ? 4 : 3;}diff --git a/api/_lib/news.js b/api/_lib/news.jsindex bc6f6fa08..5e9a6bd36 100644--- a/api/_lib/news.js+++ b/api/_lib/news.js@@ -3,7 +3,7 @@// news-meme matcher, and the /markets surfaces. three.ws fetches the source// RSS/Atom feeds directly; no third-party news API sits in this path.//-// Design, at 38 live publisher feeds across 14 categories:+// Design, at the scale of the full publisher registry (news-sources.js)://// * Per-source in-memory cache (5 min TTL) with serve-stale-on-error, so one// slow or dead feed never blanks the page and repeat requests inside thediff --git a/api/coin/news.js b/api/coin/news.jsindex 1c66dd5d2..0ac78c279 100644--- a/api/coin/news.js+++ b/api/coin/news.js@@ -1,9 +1,9 @@// GET /api/coin/news?q=<coin name>&limit=8// ---------------------------------------------------------------------------// Related-news rail for the /coin/:id page, served by the native three.ws-// aggregator (api/_lib/news.js — 38 publisher feeds with per-source caching-// and serve-stale-on-error). Real articles from real publisher feeds, never-// fabricated.+// aggregator (api/_lib/news.js — the full publisher registry, with per-source+// caching and serve-stale-on-error). Real articles from real publisher feeds,+// never fabricated.import { cors, json, method, wrap, error, rateLimited } from '../_lib/http.js';import { limits, clientIp } from '../_lib/rate-limit.js';diff --git a/api/cron/[name].js b/api/cron/[name].jsindex 1bf8d0d5d..a90acd28f 100644--- a/api/cron/[name].js+++ b/api/cron/[name].js@@ -39,6 +39,7 @@ import { evmTransport } from '../_lib/evm/rpc.js';import { baseSepolia, base } from 'viem/chains';import { sql } from '../_lib/db.js';+import { matchedSlurStem } from '../_lib/display-name-safety.js';import { submitProtected } from '../_lib/execution-engine.js';import { cors, error, json, method, wrapCron } from '../_lib/http.js';import { env } from '../_lib/env.js';@@ -425,7 +426,22 @@ async function erc8004EnrichMetadata(limit, deadline) {);const glbUrl = avatarSvc ? erc8004ResolveGateway(avatarSvc.endpoint) : null;const has3d = !!glbUrl;- const active = meta.active !== false;+ // `meta` is attacker-controlled — it is whatever the agent's owner published+ // on-chain. Letting `meta.active` alone decide visibility means a third party+ // chooses what name three.ws renders: one Base-registered agent's name was a+ // racial slur, active and shown on /marketplace. Withhold those rows.+ // Every public feed already filters `active = true`, so this single flag+ // covers explore, marketplace, agents and search. Slurs only, never general+ // profanity — a false positive silently delists a legitimate agent.+ const slur = matchedSlurStem(`${name} ${description}`);+ if (slur) {+ console.warn('[crawl] withholding agent: slur in on-chain metadata', {+ chain_id: row.chain_id,+ agent_id: row.agent_id,+ matched: slur,+ });+ }+ const active = meta.active !== false && !slur;const x402 = !!(meta.x402Support || meta.x402);await sql`diff --git a/api/cron/news-archive-append.js b/api/cron/news-archive-append.jsindex 7b28ddd57..e644f9c65 100644--- a/api/cron/news-archive-append.js+++ b/api/cron/news-archive-append.js@@ -3,7 +3,7 @@//// The recovered historical archive ends at 2025-12; this cron keeps it// current by appending the live aggregator's articles (api/_lib/news.js,-// 38 publisher feeds) to the current month's JSONL, in the exact enriched+// the full publisher registry) to the current month's JSONL, in the exact enriched// schema the corpus already uses. Records are content-addressed (16-hex id// of the link), so appends are idempotent — an article seen by ten cron// runs lands exactly once.diff --git a/api/news/digest.js b/api/news/digest.jsindex 50370cd8d..27c8b618d 100644--- a/api/news/digest.js+++ b/api/news/digest.js@@ -1,10 +1,10 @@// GET /api/news/digest// ---------------------------------------------------------------------------// The day's crypto news, clustered into narratives instead of a flat list of-// headlines. Reads the live aggregator (38 publisher feeds), groups the last-// N hours of coverage into the handful of stories that actually matter, and-// gives each one a title, a plain-language summary, a market stance, the-// tickers involved, and every source that covered it.+// headlines. Reads the live aggregator (every English feed in the registry),+// groups the last N hours of coverage into the handful of stories that+// actually matter, and gives each one a title, a plain-language summary, a+// market stance, the tickers involved, and every source that covered it.//// Two clustering engines, both real:// • LLM (platform chain — Groq/OpenRouter/NVIDIA free tiers first) reads thediff --git a/api/news/rss.js b/api/news/rss.jsindex ec8775c70..944de968d 100644--- a/api/news/rss.js+++ b/api/news/rss.js@@ -10,7 +10,11 @@import { cors, method, text, wrap, error, rateLimited } from '../_lib/http.js';import { limits, clientIp } from '../_lib/rate-limit.js';import { getNews } from '../_lib/news.js';-import { NEWS_CATEGORIES } from '../_lib/news-sources.js';+import { NEWS_CATEGORIES, NEWS_SOURCES } from '../_lib/news-sources.js';++// Derived, never hardcoded — the registry is the single source of truth for+// how many publishers we aggregate, and it changes as feeds live and die.+const SOURCE_COUNT = Object.keys(NEWS_SOURCES).length;const xml = (s) =>String(s || '')@@ -60,7 +64,7 @@ export default wrap(async (req, res) => {<title>${xml(title)}</title><link>${xml(pageUrl)}</link><atom:link href="${xml(feedUrl)}" rel="self" type="application/rss+xml" />- <description>Live crypto news aggregated by three.ws from 38 publisher feeds${category ? ` — ${category} category` : ''}.</description>+ <description>Live crypto news aggregated by three.ws from ${SOURCE_COUNT} publisher feeds${category ? ` — ${category} category` : ''}.</description><language>en</language><lastBuildDate>${new Date().toUTCString()}</lastBuildDate><ttl>5</ttl>diff --git a/data/changelog.json b/data/changelog.jsonindex c757392ab..e811c2e7f 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,16 @@{"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-07-10",+ "title": "Every doc on the site was checked against the code that actually ships",+ "summary": "The documentation had drifted. Guides written early in the project still told you three.ws ran on Vercel, pointed at an old repository that no longer receives updates, named a dev server port we stopped using, and referenced build commands that had since been renamed — and twelve of the services behind the 3D pipeline had no documentation at all. We went through all 339 documents one by one and checked each claim against the running code: every command, every file path, every API endpoint, every link. Guides that were wrong are now right, 27 broken links point somewhere real again, and the background-removal, rigging, texturing, and mesh-generation services each got a proper page explaining what they do, how they run, and how to call them. Tutorials that walk you through deploying your own agent were left alone — those instructions were never the ones that went stale.",+ "tags": [+ "docs",+ "improvement"+ ],+ "link": "/docs"+ },{"date": "2026-07-10","title": "Coin art appears on Smart Money, the Scene Studio gizmo comes back, and pay buttons stop breaking",diff --git a/docs/gcp-credits.md b/docs/ops/gcp-credits.mdsimilarity index 99%rename from docs/gcp-credits.mdrename to docs/ops/gcp-credits.mdindex b25b3274b..8bece6660 100644--- a/docs/gcp-credits.md+++ b/docs/ops/gcp-credits.md@@ -11,7 +11,7 @@ work logs, not current setup steps. Production has since moved to Google Cloud R(service `three-ws-api`), so every "set in Vercel" / `vercel env add` / `vercel --prod`instruction below is superseded — the GCP env vars now live on the Cloud Runservice. See the **"Audit + fixes — 2026-07-08"** section at the end of this file for-what was actually wired onto Cloud Run, and the [GCP production runbook](ops/gcp-production.md)+what was actually wired onto Cloud Run, and the [GCP production runbook](gcp-production.md)for the live deploy/env procedure._> **Status: foundation live; one owner console action remains for Claude.**diff --git a/prompts/okx-ai/PROGRESS.md b/prompts/okx-ai/PROGRESS.mdindex b6612db9b..b90e52d87 100644--- a/prompts/okx-ai/PROGRESS.md+++ b/prompts/okx-ai/PROGRESS.md@@ -6,6 +6,63 @@ Work Order 04 session — no earlier entries existed because no earlier work ord---+## 2026-07-10 — Work Order 07 (partial): RUNBOOK written, live re-verification, listing drift found++Ran the unfunded half of WO-07's Part 1 audit against production and wrote the missing+`prompts/okx-ai/RUNBOOK.md` deliverable. Every command in the RUNBOOK was executed; nothing+in it is written from imagination.++### Verified live (2026-07-10)++- `onchainos agent get-agents --agent-ids 2632` → `approvalDisplayStatus: 5`+ (`approvalLabel: "Listing rejected"`), `status: 2`, `soldCount: 0`, `role: 2`,+ `approvalRemark: ""`. **Unchanged.** Note the remark field is EMPTY — the 2026-07-04+ rejection reason arrived only by email, so never expect `approvalRemark` to carry it.+- Unpaid `POST /api/okx/3d/identity-studio` → **402** (challenge still spec-valid).+- `GET /api/okx/3d/catalog` → **11 services**, exactly 1:1 with `api/_lib/okx-catalog.js`.+- `GET /api/okx/3d/health` → `ok: true`, subsystems reporting (generation, render, storage,+ retarget).+- `onchainos agent search --query "3D avatar rigging GLB"` → 2 results, **agent 2632 absent**+ (correct: we are not listed).+- `onchainos agent feedback-list` exists ("Query Agent reviews") — the first-sale review path.++### ⚠️ NEW FINDING — the live listing is stale and shares ZERO service names with our catalog++`onchainos agent service-list --agent-id 2632` publishes **7** services; our catalog module+defines **11**; **not one name matches**.++| Live on the listing (7) | Our catalog (11) |+|---|---|+| Text & Image to 3D Model · Video to 3D Scene Capture · Auto-Rig Skeleton Builder · Universal Animation Retarget · Masked Texture Repaint · Mesh Repair & Format Export · Mesh Part Segmentation | Agent Identity Studio · Text to 3D Model (GLB) · Text to 3D Model (Pro) · Image to 3D Model · Auto-Rig a GLB · Text to Rigged Avatar · Animation Retarget · Pose Seed · FBX Export (rig-preserving) · 3D Studio Catalog (free) · 3D Studio Health (free) |++This is expected, not a defect: **WO-05 (relisting) has never run**, because it is hard-gated+on WO-04. It IS a trap for anyone reading the live listing as a description of what we sell.+Recorded in RUNBOOK §2. The catalog module is the source of truth until WO-05 executes.++### Docs correction (WO-07 Part 2)++`docs/okx-marketplace.md` headed its payment section "Payment semantics (**verified+behavior**)" while no funded settlement has ever occurred. WO-07 treats a doc promising what+WO-04 has not proven as a release blocker. Reworded: the guarantees are stated as the+contract enforced in code (`verify → dispatch → settle-on-success`) and covered by unit+tests, with an explicit note that no funded on-chain settlement has been observed and that+the first tx hash will be recorded here.++### Still owner-gated (unchanged)++Fund payer/seller `0x75d00a2713565171f33216e5aa2a375e076ecf69` on X Layer (chainId 196) with+~$5 of `0x779ded0c9e1022225f8e0630b35a9b54be713736` + OKB gas dust → unblocks WO-04's ≥3 real+settlements → unblocks WO-05 resubmission (which additionally needs an email-OTP login as+`[email protected]` for the on-chain write) → unblocks WO-06's dogfood avatar.++### Not done in this session++WO-07 Part 1's funded legs (real paid call, on-chain settlement check, replay spot-check+against a settled payment) remain blocked on the funding above. Part 4 (memory file) and the+approval-watch execution branch remain, since approval status is unchanged.++---+## 2026-07-08 — Work Order 05 session #2: found + fixed a live PROD OUTAGE; OKX rail pre-staged; WO 04/05 still owner-gated**Outcome: the WO-05 hard gate (needs a GO from WO 04) is still unmet — no resubmit wasdiff --git a/prompts/okx-ai/RUNBOOK.md b/prompts/okx-ai/RUNBOOK.mdnew file mode 100644index 000000000..fe12e113b--- /dev/null+++ b/prompts/okx-ai/RUNBOOK.md@@ -0,0 +1,201 @@+# OKX.AI Operator Runbook — agent #2632 "three.ws 3D Studio"++The operator's guide for launch day and the days before it. Written for a zero-context+human or agent: every command below was run from this repo and its real output recorded.++- **Shared facts:** [`00-CONTEXT.md`](00-CONTEXT.md) (agent id, wallets, chain, CLI).+- **Full history:** [`PROGRESS.md`](PROGRESS.md).+- **Public docs:** [`docs/okx-marketplace.md`](../../docs/okx-marketplace.md), [`specs/okx-agent-payments.md`](../../specs/okx-agent-payments.md).++**CLI:** `onchainos` v4.2.0+ at `~/.local/bin/onchainos`. The read commands below need no+login. Every **write** (update, activate, resubmit) requires an email-OTP login as+`[email protected]` — a human must read the code from that inbox. Agents cannot complete a+write on their own.++---++## 1. Daily status check++One command. Run it, read three fields.++```bash+onchainos agent get-agents --agent-ids 2632+```++Verified output (2026-07-10):++```json+{ "agentId": "2632", "approvalDisplayStatus": 5, "approvalLabel": "Listing rejected",+ "approvalRemark": "", "status": 2, "soldCount": 0, "role": 2 }+```++### Reading the fields++| Field | Meaning |+| --- | --- |+| `approvalDisplayStatus` | Review state. `5` = **Listing rejected** (our current state). The CLI also returns `approvalLabel`, the human string — **trust `approvalLabel` over memorising numbers**; the numeric map is OKX's and is not documented publicly. |+| `approvalLabel` | Same state as text: `"Listing rejected"`, `"Listing approved"`, `"Under review"`. |+| `approvalRemark` | The reviewer's stated reason. **Currently empty** — the 2026-07-04 rejection reason arrived only by email, not through this field. Do not assume a rejection reason will appear here. |+| `status` | Listing state. `2` = **not listed**. |+| `soldCount` | Lifetime sales. `0` today. First non-zero value is our first revenue. |+| `role` | `2` = ASP (Agent Service Provider). |++Quick one-liner for a scripted check:++```bash+onchainos agent get-agents --agent-ids 2632 \+ | python3 -c "import json,sys; d=json.load(sys.stdin)['data'][0]; print(d['approvalLabel'], '| status', d['status'], '| sold', d['soldCount'])"+```++---++## 2. Known drift: the live listing is NOT our current catalog++Verified 2026-07-10. The listing still carries the **old, rejected** service set. It has+**7** services; our catalog module [`api/_lib/okx-catalog.js`](../../api/_lib/okx-catalog.js)+defines **11**, and **not one name matches**.++```bash+onchainos agent service-list --agent-id 2632 # → data[0].total = 7+```++| Live on the listing (7) | Our catalog module (11) |+| --- | --- |+| Text & Image to 3D Model | Agent Identity Studio |+| Video to 3D Scene Capture | Text to 3D Model (GLB) |+| Auto-Rig Skeleton Builder | Text to 3D Model (Pro) |+| Universal Animation Retarget | Image to 3D Model |+| Masked Texture Repaint | Auto-Rig a GLB |+| Mesh Repair & Format Export | Text to Rigged Avatar |+| Mesh Part Segmentation | Animation Retarget |+| | Pose Seed |+| | FBX Export (rig-preserving) |+| | 3D Studio Catalog (free) |+| | 3D Studio Health (free) |++This is expected: **WO-05 (relisting) has never run**, because it is hard-gated on WO-04.+Nothing is broken — but do not read the live listing as a description of what we sell today.+The catalog module is the source of truth; the listing is stale until WO-05 executes.++---++## 3. The one blocker: settlement funding++Everything else is code-complete. The rail reports `settleable: true` in production, but no+funded call has ever settled on-chain — the payer wallet is empty, so real attempts return+`insufficient_balance`.++**To unblock, the owner funds one wallet:**++| | |+| --- | --- |+| Wallet (payer + seller) | `0x75d00a2713565171f33216e5aa2a375e076ecf69` |+| Chain | X Layer, chainId **196** (`eip155:196`) |+| Token | `0x779ded0c9e1022225f8e0630b35a9b54be713736` |+| Amount | ~$5 of the fee token, plus OKB dust for gas |++Once funded, run [`04-e2e-real-payment-test.md`](04-e2e-real-payment-test.md). It needs ≥3+real settlements with transaction hashes. **Only then** does WO-05 (resubmission) unlock.++Until a real settlement exists, `docs/okx-marketplace.md` must not claim observed on-chain+settlement — its "Payment semantics" section states the contract as implemented and+unit-tested, with an explicit note that no funded settlement has occurred. Keep that note+until the first tx hash lands, then update both that section and `PROGRESS.md`.++---++## 4. Branch: **APPROVED** (`approvalLabel: "Listing approved"`)++This is the holder-visible moment. Work the list top to bottom.++1. **Confirm the listing is live and activated.**+ ```bash+ onchainos agent get-agents --agent-ids 2632 # status should leave 2 ("not listed")+ onchainos agent service-list --agent-id 2632 # services present, prices correct+ ```+ Reconcile the service names against `api/_lib/okx-catalog.js` — see §2. If they still+ differ, WO-05 did not take; re-run it before announcing.++2. **Search as a buyer would.** We must actually appear:+ ```bash+ onchainos agent search --query "3D avatar rigging GLB"+ ```+ Verified 2026-07-10: returns 2 results, **agent 2632 absent** (correct — we are not+ listed). After approval this must return us. Check the card copy reads well and the+ prices are right.++3. **Announce it.** Append an entry to [`data/changelog.json`](../../data/changelog.json)+ with tag `feature`, in plain holder-readable language, then:+ ```bash+ npm run build:pages # validates the entry; fails the build if malformed+ npm run changelog:push # Telegram (needs TELEGRAM_BOT_TOKEN + TELEGRAM_CHANGELOG_CHAT_ID)+ npm run changelog:push:x # X / @trythreews — the primary holder channel+ ```+ Both push scripts accept `--dry-run`. They skip silently when credentials are absent.++4. **Set the agent's own avatar live** if WO-06's dogfood upload was deferred (it was — the+ asset is generated but never written on-chain). This is an on-chain write: OTP required.++5. **Record it.** Append the approval, the date, and the first listing screenshot/output to+ `PROGRESS.md`.++---++## 5. Branch: **REJECTED AGAIN** (`approvalDisplayStatus: 5`)++1. **Capture the exact reason.** Check `approvalRemark` first, then the `[email protected]`+ inbox — the 2026-07-04 rejection came by email with `approvalRemark` empty, so assume the+ email is authoritative.+ ```bash+ onchainos agent get-agents --agent-ids 2632 \+ | python3 -c "import json,sys; print(repr(json.load(sys.stdin)['data'][0]['approvalRemark']))"+ ```+2. **Append the verbatim remark to `PROGRESS.md`** with the date. Never paraphrase a+ reviewer.+3. **Map the reason to the work order that owns it**, fix there, and re-run+ [`05-relisting-resubmission.md`](05-relisting-resubmission.md). For reference, the+ 2026-07-04 rejection ("your A2MCP service has not been integrated with the OKX Agent+ Payments Protocol standard") was owned by the payment rail, now implemented in+ [`api/_lib/x402-xlayer-okx.js`](../../api/_lib/x402-xlayer-okx.js).++---++## 6. First-sale operations++| What | How |+| --- | --- |+| Did we sell? | `onchainos agent get-agents --agent-ids 2632` → `soldCount` |+| What did buyers say? | `onchainos agent feedback-list` (verified present: "Query Agent reviews") |+| Where does revenue land? | The agent wallet `0x75d0…cf69` on X Layer (196) — the same wallet that pays. Confirm the first payout against the settlement tx hash from WO-04. |+| Where do errors surface? | The existing error-reporting path in [`api/_mcp/payments.js`](../../api/_mcp/payments.js); paid-endpoint failures answer **before** settlement, so a failed job never charges a buyer. |+| Daily watch | `soldCount`, `approvalLabel`, and the paid-endpoint health/catalog free routes (§7). |++---++## 7. Free routes worth probing any day++These need no payment, no key, and no login — they are the fastest signal that the surface+is healthy:++```bash+curl -s https://three.ws/api/okx/3d/catalog | head -c 400 # 1:1 with api/_lib/okx-catalog.js+curl -s https://three.ws/api/okx/3d/health | head -c 400 # honest lane health+```++An unpaid `POST` to any paid service must return a spec-valid **402** carrying the X Layer+accept. Challenges drift whenever an unrelated deploy touches shared payment code, so re-run+this before any submission:++```bash+curl -s -o /dev/null -w '%{http_code}\n' -X POST \+ -H 'content-type: application/json' -d '{}' \+ https://three.ws/api/okx/3d/identity-studio # expect 402+```++---++## 8. Live review monitoring++Do not leave a daemon running. When the human wants to watch the review in real time, they+invoke the `okx-task-watch` skill, which polls the task/chat surface and surfaces reviewer+messages. Agents should check status once per session with §1 and stop there.diff --git a/public/changelog.json b/public/changelog.jsonindex 23fad6270..7cbf705be 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-10T12:57:19.947Z",+ "generated_at": "2026-07-10T12:57:49.722Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -128,6 +128,17 @@"feature"]},+ {+ "date": "2026-07-10",+ "type": "update",+ "title": "Every doc on the site was checked against the code that actually ships",+ "summary": "The documentation had drifted. Guides written early in the project still told you three.ws ran on Vercel, pointed at an old repository that no longer receives updates, named a dev server port we stopped using, and referenced build commands that had since been renamed — and twelve of the services behind the 3D pipeline had no documentation at all. We went through all 339 documents one by one and checked each claim against the running code: every command, every file path, every API endpoint, every link. Guides that were wrong are now right, 27 broken links point somewhere real again, and the background-removal, rigging, texturing, and mesh-generation services each got a proper page explaining what they do, how they run, and how to call them. Tutorials that walk you through deploying your own agent were left alone — those instructions were never the ones that went stale.",+ "link": "/docs",+ "tags": [+ "docs",+ "improvement"+ ]+ },{"date": "2026-07-10","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex adc4399bb..07ba783a7 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -102,6 +102,14 @@<category>feature</category><description>Markets grew a full news wing. /markets/news streams live headlines aggregated directly from 38 publisher feeds — filter by category (Bitcoin, DeFi, regulation, and more), search, and open any story in a reader that extracts the full text with a summary, key points, sentiment, and related coverage. Behind it sits the largest open crypto-news archive anywhere: 662,047 articles from September 2017 to today in English and Chinese, searchable by keyword, ticker, source, sentiment, date, and language at /markets/archive. A new /markets hub ties the whole suite together — live global stats, the top 100 coins, breaking news, and every market tool as its own card.</description></item>+ <item>+ <title>Every doc on the site was checked against the code that actually ships</title>+ <link>https://three.ws/docs</link>+ <guid isPermaLink="false">2026-07-10:Every doc on the site was checked against the code that actually ships</guid>+ <pubDate>Fri, 10 Jul 2026 12:00:00 GMT</pubDate>+ <category>docs</category>+ <description>The documentation had drifted. Guides written early in the project still told you three.ws ran on Vercel, pointed at an old repository that no longer receives updates, named a dev server port we stopped using, and referenced build commands that had since been renamed — and twelve of the services behind the 3D pipeline had no documentation at all. We went through all 339 documents one by one and checked each claim against the running code: every command, every file path, every API endpoint, every link. Guides that were wrong are now right, 27 broken links point somewhere real again, and the background-removal, rigging, texturing, and mesh-generation services each got a proper page explaining what they do, how they run, and how to call them. Tutorials that walk you through deploying your own agent were left alone — those instructions were never the ones that went stale.</description>+ </item><item><title>Fixed two API endpoints that returned an error for every request</title><link>https://three.ws/changelog</link>diff --git a/public/features.json b/public/features.jsonindex ef3bab702..9685afddb 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-10T12:57:19.856Z",+ "generated_at": "2026-07-10T12:57:49.670Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/public/sitemap/index.html b/public/sitemap/index.htmlindex 13d09bfe9..671e32942 100644--- a/public/sitemap/index.html+++ b/public/sitemap/index.html@@ -56,25 +56,6 @@.sm-brand img { width: 24px; height: 24px; border-radius: 5px; }.sm-brand:hover { text-decoration: none; }</style>-- <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">- <meta property="og:type" content="website">- <meta property="og:site_name" content="three.ws">- <meta property="og:locale" content="en_US">- <meta property="og:title" content="Sitemap · three.ws">- <meta property="og:description" content="Human-readable index of every page on three.ws.">- <meta property="og:url" content="https://three.ws/sitemap">- <meta property="og:image" content="https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap">- <meta property="og:image:width" content="1200">- <meta property="og:image:height" content="630">- <meta property="og:image:type" content="image/png">- <meta property="og:image:alt" content="Sitemap — three.ws">- <meta name="twitter:card" content="summary_large_image">- <meta name="twitter:site" content="@trythreews">- <meta name="twitter:title" content="Sitemap · three.ws">- <meta name="twitter:description" content="Human-readable index of every page on three.ws.">- <meta name="twitter:image" content="https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap">- <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Sitemap","description":"Human-readable index of every page on three.ws.","url":"https://three.ws/sitemap","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap"}]}</script></head><body><header class="sm-topbar">diff --git a/scripts/deactivate-slur-agents.mjs b/scripts/deactivate-slur-agents.mjsnew file mode 100644index 000000000..734406b93--- /dev/null+++ b/scripts/deactivate-slur-agents.mjs@@ -0,0 +1,77 @@+#!/usr/bin/env node+/**+ * Withhold already-indexed ERC-8004 agents whose on-chain metadata carries a hate slur.+ *+ * The crawler hydrates every registered agent's display name, description and image+ * from attacker-controlled on-chain metadata, and until the gate in+ * api/_lib/display-name-safety.js existed, `active` was decided solely by the agent's+ * own `meta.active`. The hydration cron now withholds new offenders, but rows indexed+ * before it landed are still `active = true`. This script cleans those up.+ *+ * Every public feed (explore, marketplace, agents, search) filters `active = true`,+ * so flipping that one flag removes the row from every surface at once. The row is+ * kept — not deleted — so a re-hydration can restore it if the owner renames the+ * agent on-chain, and so the reason is auditable.+ *+ * Slurs only, never general profanity: every false positive silently delists a+ * legitimate agent. Run with --dry-run first; it prints counts, never the names.+ *+ * Usage:+ * node --env-file=.env.local scripts/deactivate-slur-agents.mjs --dry-run+ * node --env-file=.env.local scripts/deactivate-slur-agents.mjs+ */++import { neon } from '@neondatabase/serverless';+import { matchedSlurStem } from '../api/_lib/display-name-safety.js';++const DRY = process.argv.includes('--dry-run');++if (!process.env.DATABASE_URL) {+ console.error('[slur-scan] DATABASE_URL unset — run with: node --env-file=.env.local ' + process.argv[1]);+ process.exit(1);+}+const sql = neon(process.env.DATABASE_URL);++// Scan only rows that could actually surface. The matcher is cheap, but the index+// has >120k rows, so pull just what a feed could render.+const rows = await sql`+ SELECT chain_id, agent_id, name, description+ FROM erc8004_agents_index+ WHERE active = true+ AND (name IS NOT NULL OR description IS NOT NULL)+`;++console.log(`[slur-scan] scanning ${rows.length} active indexed agents`);++const hits = [];+for (const r of rows) {+ const stem = matchedSlurStem(`${r.name || ''} ${r.description || ''}`);+ if (stem) hits.push({ ...r, stem });+}++if (!hits.length) {+ console.log('[slur-scan] clean — no active agent carries a slur');+ process.exit(0);+}++// Report the stem and the chain/agent id, never the offending text itself.+const byStem = hits.reduce((a, h) => ((a[h.stem] = (a[h.stem] || 0) + 1), a), {});+console.log(`[slur-scan] ${hits.length} offending row(s):`, byStem);+for (const h of hits) console.log(` chain ${h.chain_id} agent ${h.agent_id} — matched "${h.stem}"`);++if (DRY) {+ console.log('[slur-scan] --dry-run: nothing written');+ process.exit(0);+}++let n = 0;+for (const h of hits) {+ await sql`+ UPDATE erc8004_agents_index+ SET active = false+ WHERE chain_id = ${h.chain_id} AND agent_id = ${h.agent_id}+ `;+ n++;+}+console.log(`[slur-scan] withheld ${n} agent(s) — they no longer appear on any public feed`);+process.exit(0);diff --git a/tests/display-name-safety.test.js b/tests/display-name-safety.test.jsnew file mode 100644index 000000000..e9f2fc346--- /dev/null+++ b/tests/display-name-safety.test.js@@ -0,0 +1,149 @@+// api/_lib/display-name-safety.js — hate-slur gate for third-party indexed text.+//+// The ERC-8004 crawler renders display names pulled straight from attacker-controlled+// on-chain metadata. Whether a row appeared on three.ws used to be decided by the+// agent's own `meta.active` flag, so a Base-registered agent whose name was a racial+// slur was active, `has_3d`, and rendered on /marketplace.+//+// Two failure modes matter equally:+// 1. A slur slips through (the bug this closes), including obvious evasions.+// 2. A false positive silently delists a legitimate third-party agent.+// Both are pinned below.+//+// The offending strings are constructed from character codes rather than written out,+// so this file does not itself contain the slurs it guards against.++import { describe, it, expect } from 'vitest';+import { containsHateSlur, matchedSlurStem, normalizeForSlurMatch } from '../api/_lib/display-name-safety.js';++// Build a term without writing it literally.+const S = (...codes) => String.fromCharCode(...codes);+const N_WORD = S(110, 105, 103, 103, 101, 114); // n-word, "-er"+const N_WORD_A = S(110, 105, 103, 103, 97); // n-word, "-a"+const F_SLUR = S(102, 97, 103, 103, 111, 116);+const T_SLUR = S(116, 114, 97, 110, 110, 121);++describe('normalizeForSlurMatch', () => {+ it('folds case and leetspeak', () => {+ expect(normalizeForSlurMatch('N1GG3R')).toBe(N_WORD);+ expect(normalizeForSlurMatch('F@GGOT')).toBe(F_SLUR);+ });++ it('collapses long repeated runs to two', () => {+ expect(normalizeForSlurMatch('niiiiigger')).toContain(S(110, 105, 105, 103, 103));+ });++ it('is empty for nullish input', () => {+ expect(normalizeForSlurMatch(null)).toBe('');+ expect(normalizeForSlurMatch(undefined)).toBe('');+ expect(normalizeForSlurMatch('')).toBe('');+ });++ it('symbol-only text can never reach a stem', () => {+ expect(containsHateSlur('123 !!! 🚀')).toBe(false);+ expect(containsHateSlur('!!!!!!!!!!')).toBe(false);+ expect(containsHateSlur('@@@@ $$$$ 0000')).toBe(false);+ });+});++describe('containsHateSlur — catches the real thing and its evasions', () => {+ it('catches the exact name that shipped to /marketplace', () => {+ expect(containsHateSlur(`Real Hood ${N_WORD} Shit`)).toBe(true);+ });++ it('catches slurs regardless of case, leet, and separators', () => {+ for (const variant of [+ N_WORD.toUpperCase(),+ ` ${N_WORD_A} `,+ F_SLUR,+ T_SLUR,+ 'N1GG3R',+ 'f@ggot',+ 'n.i.g.g.a',+ `token ${F_SLUR.toUpperCase()} coin`,+ ]) {+ expect(containsHateSlur(variant), JSON.stringify(variant)).toBe(true);+ }+ });++ it('reports which stem matched, for logging', () => {+ expect(matchedSlurStem(`x ${F_SLUR} y`)).toBe(F_SLUR);+ expect(matchedSlurStem('perfectly fine agent')).toBeNull();+ });+});++describe('containsHateSlur — never delists a legitimate agent', () => {+ it('passes ordinary agent and token names', () => {+ for (const ok of [+ 'Real Hood Trading Bot',+ 'Base Agent #4211',+ 'Autonomous Yield Optimizer',+ 'DeFi Sentinel',+ 'agent.eth',+ '🤖 Market Maker',+ '',+ null,+ undefined,+ ]) {+ expect(containsHateSlur(ok), JSON.stringify(ok)).toBe(false);+ }+ });++ it('does not fire on benign superstrings of a stem', () => {+ // Whole-word matching is what makes these safe: substring matching flags them.+ for (const ok of ['Raccoon Finance', 'Cocoon Protocol', 'Tycoon DAO', 'raccoon', 'Coonhound Capital']) {+ expect(containsHateSlur(ok), ok).toBe(false);+ }+ });++ // These are the ACTUAL names of live, legitimate on-chain agents that a naive+ // substring + global-leet matcher flagged. Each one would have been silently+ // delisted. They are the regression suite for precision.+ it('does not delist the real agents an earlier matcher wrongly flagged', () => {+ for (const ok of [+ 'kikel-jina69 by Olas', // substring "kike" inside a generated name+ 'Pick5 Scout', // "5"→"s" folding produced a bogus stem+ 'Surf AI for 0x2666ccb276dbf6fe71f73d026e0db021a01ad4c0', // hex → letter soup+ 'Surf AI for 0xb13591631ed10b40ce6d8e1ec8eba80b9d2ac606',+ 'Surf AI for 0xdb6b887289c380648db6b6ab32d37f47e032a6c0',+ 'quench',+ ]) {+ expect(containsHateSlur(ok), ok).toBe(false);+ }+ });++ it('never manufactures a match out of an address or long hash', () => {+ // Fold 0x…→letters and a long enough run contains almost any short stem.+ const addrs = [+ '0xdb6b887289c380648db6b6ab32d37f47e032a6c0',+ 'agent for 0xc0000000000000000000000000000000000000ee',+ 'tx 0x9e5c1f0aa3b7d84e6c2f19b0d7a4e83c5f61b29d0e4a7c8b3f5d6e1a2b9c4d70',+ ];+ for (const a of addrs) expect(containsHateSlur(a), a).toBe(false);+ });++ it('is not a general profanity filter — crude names still pass', () => {+ // Agent/coin names are crude by nature; blocking them is not our business+ // and would delist legitimate on-chain identities.+ for (const ok of ['Shit Coin Index', 'Damn Good Agent', 'Hell Yeah Bot', 'Assassin Protocol', 'Scunthorpe DAO']) {+ expect(containsHateSlur(ok), ok).toBe(false);+ }+ });++ it('does not fire on "spice"/"spicy" (why the list uses the longer stem)', () => {+ expect(containsHateSlur('Spicy Trades')).toBe(false);+ expect(containsHateSlur('Spice DAO')).toBe(false);+ });+});++describe('the crawler applies the gate', () => {+ it('hydration withholds a slur row instead of trusting meta.active', async () => {+ const { readFileSync } = await import('node:fs');+ const { resolve } = await import('node:path');+ const src = readFileSync(resolve(__dirname, '../api/cron/[name].js'), 'utf8');+ // active must depend on the gate, not on attacker-supplied meta.active alone.+ expect(src).toMatch(/const active = meta\.active !== false && !slur;/);+ expect(src).toMatch(/matchedSlurStem\(`\$\{name\} \$\{description\}`\)/);+ expect(src).toMatch(/from '\.\.\/_lib\/display-name-safety\.js'/);+ });+});diff --git a/workers/vanity-grinder/README.md b/workers/vanity-grinder/README.mdindex 2d5329ae8..3e53d03de 100644--- a/workers/vanity-grinder/README.md+++ b/workers/vanity-grinder/README.md@@ -63,7 +63,7 @@ docker run --rm -e WALLET_ENCRYPTION_KEY=… -e JWT_SECRET=… -e MAX_FOUND=20 \## Deploy to GCP spot CPU-Two supported runners; pick per the trade-off (see `docs/gcp-credits.md`):+Two supported runners; pick per the trade-off (see `docs/ops/gcp-credits.md`):- **Cloud Run Job** (simplest, recommended) — `scripts/gcp/vanity-grind-deploy.sh`builds + pushes the image and creates a spot-billed Job you execute on demand.@@ -83,4 +83,4 @@ decrypt **only** to the delivery service identity.public address + attempt count.- Single-use delivery + delete-after-reveal are enforced downstream in`api/_lib/vanity-inventory-store.js` / `api/x402/vanity-premium.js`.-- See the threat model in `docs/gcp-credits.md` (§ Premium vanity inventory).+- See the threat model in `docs/ops/gcp-credits.md` (§ Premium vanity inventory).