Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

feat(ops): health sensor for the whole paid Solana RPC tier

nirholas39512bbff9e8
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4b2dafd13..26d722c8a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,7 +8,21 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Generation Watch** (`/watch`) — Live progress page for a running text-to-3D generation: real countdown, the painted concept art, and an automatic hand-off into the interactive viewer the moment the model is ready.
- **Press kit** (`/press`) — Logos, announcement graphics, boilerplate, and usage rules for three.ws. Every asset is downloadable and current, and editorial use needs no permission.
+- **A press kit anyone can use without emailing us first** — Until now, anyone writing about three.ws had to ask for a logo, and what came back was whatever file was closest to hand. There is now a press page at three.ws/press with the marks as transparent PNGs (the cube on its own, plus horizontal and stacked lockups drawn for dark and light backgrounds), the OpenAI announcement graphics, a company description at three lengths with copy buttons, a table of checkable facts, and plain rules for using the logo. The whole set downloads as one zip, with the usage rules included as a readme so the files cannot travel without them. Every asset is rendered from a single source file in the repository rather than exported by hand, so the kit stays current instead of drifting. (`/press`) `[feature, docs]`
+- **Agent conversations get cheaper and steadier on Claude** — Agents now reuse the unchanging part of their prompt (persona, skills, platform knowledge) between turns instead of resending it every message, which cuts the cost of a long conversation substantially and shortens the wait before a reply starts. Spend reporting was corrected to account for it, so the admin dashboard and per-user limits reflect what a cached conversation actually costs. Requests are also adapted automatically to whichever Claude model serves them, so a setting meant for an older model can no longer cause a failed or empty reply. (`/chat`) `[improvement, fix]`
+- **Avatars now look where they should and stand properly on uneven ground** — Two things every avatar on three.ws was missing, because a recorded animation clip cannot know about them. First, gaze: the corner walk companion now follows your cursor with its chest, neck and head, and agents can be told to look at a point in the world or at whoever is watching, holding that gaze while you orbit the camera. The turn is shared across three joints rather than cranking the head alone, which is the difference between a person glancing over and an owl. Asking an agent to look somewhere used to be accepted and then quietly ignored; it works now. Second, footing: in the walkaround world each foot lands on the patch of ground actually beneath it instead of one floating above a slope while the other sinks into it. The avatar's hips settle just enough for the downhill leg to reach, and the walk cycle's own foot lift is left intact, so it still reads as walking rather than sliding. Both effects work on any humanoid avatar, including ones you generated yourself, and both bow out cleanly on avatars that cannot support them and when you have asked for reduced motion. (`/walk`) `[feature, improvement]`
+- **Background jobs no longer pause themselves against a storage limit that was not real** — A safety valve pauses data-heavy background jobs when the database approaches its storage ceiling. The ceiling it was checking had been set by hand and no longer matched the actual database plan, which is far larger, so the valve was tripping on a limit that did not exist and pausing dozens of jobs a minute, including the one that keeps the payment wallets funded. The threshold now reflects the real capacity, with months of headroom, and the valve remains in place as a genuine backstop. `[fix, infra]`
+- **Ethereum name lookups work again** — Looking up an .eth name through the public name resolver had stopped working: every request sat there for about ten seconds and then came back as an error, while .sol names resolved fine. Two things were wrong. The Ethereum node we asked first had started refusing our requests outright, and because it was first in line every lookup wasted a full round trip on it before trying anywhere else. On top of that, the lookup itself was asking the network four or five separate questions in sequence when one would do. Nodes known to refuse us are now tried last instead of first, and a name lookup is a single question. An .eth name now resolves in about a quarter of a second, and a name that genuinely does not exist comes back as a clean not-found instead of a timeout. (`/crypto-api`) `[fix]`
+- **Every x402 payment now settles against its own Solana transaction** — An audit of our payment facilitator found that about one in five recorded settlements shared an on-chain transaction with another settlement. Solana signatures are deterministic, so two payments of the same amount, from the same wallet, to the same endpoint, built in the same short window could compile to a byte-for-byte identical transaction. Only one of them could ever land on chain, and the facilitator was crediting the others against it. Settlement is now claimed atomically: one transaction settles at most one payment, a genuine retry is recognised and answered without double-charging, and anything else is refused rather than credited. The payment builder also draws from a signature space about four thousand times larger, at no extra fee, so identical transactions are no longer built in the first place. A new hourly audit watches the invariant and raises an alert if it is ever violated again. `[fix, infra, security]`
+- **Fact checks that used to time out now come back with their sources** — Some fact checks were taking so long that the request was cut off before anything came back, and the caller got an error instead of an answer. Two things caused it. The checker asks a language model to write search queries and then to judge each source it finds; if none of the model providers could answer, that step threw the whole check away, even though the checker had already gathered real sources and knew how to carry on without the model. And nothing kept an eye on the clock, so a slow run could outlast the time limit the request had to begin with. Both are fixed. A check now works to a time budget and hands each step whatever is left, so it always finishes with something to show. If a step genuinely cannot reach a model, the check falls back instead of failing: it searches the claim itself, returns the sources it found with their excerpts, and marks the verdict as insufficient rather than guessing. The response now says plainly which step fell back, and a result produced that way is deliberately not cached, so asking again re-runs the full check rather than replaying a bad day. (`/fact-check`) `[fix, improvement]`
+- **Ordinary new coins are no longer mistaken for honeypots** — Before any automated buy, the platform simulates a full buy-then-sell round trip on-chain to prove the coin can actually be sold again, and blocks anything that cannot be exited. That simulation runs from the buying agent's own wallet, so when the wallet was too small to fund the simulated purchase, the failure was being read as evidence that the coin was a trap. One underfunded agent produced 336 consecutive false honeypot verdicts in a single afternoon on perfectly normal launches. The safety probe now scales down to a size the wallet can actually simulate, since a real honeypot traps a seller at any size, and an out-of-funds failure is now reported as exactly that. Coins that genuinely cannot be sold are still blocked, and a wallet too empty to prove anything is still refused rather than waved through. `[fix, security]`
+- **Platform payment wallets now refill straight from the treasury when they run dry** — The two wallets that pay for the platform's automated work could only refill themselves by trading one of their own assets for the other. A wallet that was low on both had no way out, so it would sit and fail payments while the treasury held plenty of funds one step away. The treasury now tops those wallets up directly, with a per-transfer cap, a daily cap, and a reserve it never spends below. Payments that used to stall for hours waiting on a human now recover on their own within a minute. `[fix, infra]`
+- **Production now watches every paid Solana connection, not just one** — three.ws reaches the Solana blockchain through several providers so that if one runs out of capacity the others carry the load. Until now the status page only watched one of them, which meant the platform could report a healthy connection while every paid provider was actually out of quota and all traffic had quietly fallen back to slower free servers. That state is hard to spot from the outside: it shows up as occasional slow pages and failed on-chain actions rather than a clean outage. The status page now reports the health of the whole set, and says plainly when everything paid has run out so it can be topped up before anyone notices. (`/status`) `[infra, improvement]`
- **Solana RPC failover fixed: the paid reserve is no longer the primary lane** — The platform routes every Solana call through a chain of RPC providers so no single one becomes a bottleneck, with a paid endpoint held back as an emergency reserve. A configuration mistake had that reserve listed as the primary as well, and because the chain keeps the first entry for a repeated address, it quietly served all traffic and burned through its daily request cap while the free providers sat idle. The reserve is now held back as intended and the premium provider leads. Two safeguards prevent a repeat: the slowest public endpoint can no longer outrank a paid provider by being used as a default, and when one server discovers a provider is out of quota, the rest of the fleet now inherits that verdict immediately instead of each wasting another request against a cap that is already full. `[infra, fix]`
+- **Stopped two automated systems from passing the same SOL back and forth** — One background job tops up each trading agent wallet to a working balance. Another reclaims idle SOL from platform wallets back to the treasury so the agent economy can pay its network fees. Their thresholds disagreed, so they took turns moving the same funds in opposite directions: in one fifteen-minute window 0.24 SOL made that round trip six times, paying a network fee each leg, and the agents never held a balance long enough to trade. Both jobs now read a single shared policy with one rule, that a reclaim can never take a wallet below the level the top-up will immediately restore. The reclaim also now leaves every active trader enough to cover a complete trade, including the safety check that runs before it. `[fix, infra]`
+- **The live pump.fun trade feed now drops data providers that cannot serve it** — The live trade feed connects to a chain of Solana data providers and falls back through them. Some of those providers answer normal requests fine but reject the live-streaming connection outright, and the underlying library retried them forever, flooding the logs and wasting a slot in the fallback chain. The feed now tests each provider once, permanently sets aside the ones that structurally cannot stream, and briefly benches ones that are merely busy, so it lands on a working provider immediately instead of retrying a dead one. `[fix, improvement]`
+- **Trading agents that looked healthy but could never place a trade now say why** — Several arms of the autonomous trading fleet were switched on, funded, and reading every new launch, yet had never bought anything. Nothing looked broken, because an entry that gets skipped leaves no record at all. Four separate causes were found and fixed. An arm whose configured trade size had drifted above its own daily spending cap could never satisfy both at once, so it sat out every opportunity. A wallet trimmed too thin could not pay for the safety simulation the platform runs before every buy. Some arms asked for coins above a market-cap floor that a brand-new launch cannot reach at the moment they look at it. And arms pinned to a specific AI model refused to trade because that model had quietly stopped answering, with a stand-in replying in its place. Every armed strategy on the experiments board now carries a plain-language reason when it is not trading, and the ops channel is paged when a pinned model goes dark. (`/sniper/experiments`) `[fix, improvement]`
+- **Uploaded avatars from far more 3D tools now animate instead of standing frozen** — three.ws recognises an avatar's skeleton by its bone names, and every 3D tool names bones differently. When a name was not recognised the avatar still uploaded and still looked right, but it stood frozen in a T-pose, or walked while its legs stayed rigid. Rather than keep guessing which tools to support, we measured: a new audit reads the skeleton of avatars actually stored on the platform and reports exactly which ones fail and which bone names caused it. That turned up several whole families of rigs that were silently broken, and all of them now work: characters from Maya's Advanced Skeleton, Sketchfab exports, research and motion-capture tools that use the SMPL convention, Roblox and Second Life avatars, VRM converter output, and Blender rigs whose legs and finger joints were being dropped. In the lanes where people upload their own characters, the share that animate with a complete walk went from about 93% to over 98%. A small number of Blender rigs built on constraint systems still cannot be driven this way, because the constraints are discarded when the file is exported and forcing it would pull the limbs apart; those fall back to a working skeleton rather than breaking, and can be re-rigged automatically instead. `[improvement, fix]`
- **Watch your 3D model being made, live** — Free text-to-3D generations now come with a live progress page. When a generation is still running, the API (and the three.ws 3D Studio GPT in ChatGPT) hands you a three.ws/watch link showing a real countdown, the painted concept art the generator sculpts from, and an automatic jump into the interactive 3D viewer with download and AR links the moment your model is ready. No more staring at a chat window wondering how long is left. (`/watch`) `[feature]`
## 2026-07-28
@@ -20,7 +34,6 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Crypto Intel now prices pump.fun coins, and settle failures explain themselves** — The paid Crypto Intel feed ($0.01 per call) previously could only answer for major coins listed on CoinGecko or Coinbase, so agents asking about pump.fun tokens got an unavailable response every time. It now accepts a mint address and prices any Solana token: through on-chain market aggregators for coins trading on a DEX, and directly from the live pump.fun bonding-curve state for brand-new launches. The platform's own trading engine passes the mint automatically, so the sentiment signals that guide its snipe decisions now cover the coins it actually holds and watches. Separately, when an on-chain payment settlement fails, the recorded error now keeps the part of the simulation log that states the actual cause instead of cutting it off, which makes production issues much faster to diagnose. `[improvement, fix]`
- **Documentation overhaul: every directory now explains itself** — A full documentation pass across the repository. Previously undocumented areas now ship real READMEs: the five server-side platform agents (endpoint shopper, fact checker, tutor, unstoppable, x402 buildout), the site data files, the static page system, the blog pipeline, and the npm package index. A docs-wide link audit fixed every broken link, including roughly 317 in the combined docs file, whose generator now rebases links correctly. Orphaned reference docs (design tokens, use cases, the UX flow atlas, specs) are now reachable from the Start Here page. (`/docs/start-here`) `[docs]`
- **Fixed a wallet-balancing loop that was quietly burning swap fees** — The platform wallet that pays for agent-to-agent settlements holds both USDC (to pay other agents) and a little SOL (to pay Solana network fees). An automatic balancer kept each side topped up, but when the wallet was too small to satisfy both targets at once, the two rules fought: one swapped USDC into SOL, the next run swapped it straight back, over a hundred reversing swaps in an afternoon, each one paying exchange fees for nothing. The balancer now treats the SOL fee reserve as untouchable when topping up USDC, so the tug-of-war is structurally impossible, and the balancer itself keeps running even during database-storage pressure, since skipping it is what let the fee wallet run dry earlier today. `[fix, infra]`
-- **More avatar rigs animate out of the box, including research-generated characters** — Avatars rigged with SMPL-style skeletons (the convention most research text-to-3D and mocap tools export, with bones named like left_hip, left_knee, left_elbow) previously uploaded fine but froze in a T-pose or slid around on stiff legs, because their bone names were not recognized. The bone matcher now understands these skeletons, correctly tells a collarbone apart from an upper arm when both share a name, and never gives two bones the same name (which could make animations grab the wrong joint). Full body animation, legs and arms included, now works for these characters the moment they are uploaded. `[improvement, fix]`
- **Reliable .eth name lookups and a fixed docs link** — The free name-resolution API (/api/v1/resolve) kept timing out on .eth lookups because it leaned on rate-limited public Ethereum RPCs and gave up after five seconds. It now leads with the platform-configured mainnet RPC and dedicated keys, fails over across endpoints faster, and allows a more realistic time budget, so .eth names resolve as dependably as .sol names. Also, the old agent-3d docs address now lands on the web-component reference instead of an empty page. `[fix]`
- **Site quality sweep: sharing, search visibility, and accessibility fixes** — A full audit of the live site turned up a batch of quiet problems, now fixed. The Create pages were accidentally hidden from search engines by a leftover tag, so Google could not index the main way people start on three.ws; they are indexable again. Links to the Docs and Get Started pages now unfurl with a proper preview card when shared on X, Telegram, or Slack, and the AR Forge page got a complete share card too. For screen reader users: the Studio's preview-size buttons, the homepage minimap, and the AR QR code are now properly labeled, and footer sections are real headings you can navigate by. Legal pages got readable text contrast, copying the contract address now tells you if the copy was blocked instead of failing silently, and the homepage embed playground shows a helpful message with a way forward if a live avatar cannot load. `[improvement, fix]`
- **Stopped agent trading wallets from being drained and refilled in a loop** — The safeguard that keeps an auto-funded trading wallet from being swept below the level it gets topped up to was reading a setting that never actually loaded, so it never took effect. Auto-funded agent wallets could be emptied and refilled repeatedly, paying network fees on every leg and draining the funding wallet. The safeguard now loads the setting it depends on, and a new test pins every field it needs so it cannot silently switch off again. `[fix]`
diff --git a/api/_lib/ops/subsystem-health.js b/api/_lib/ops/subsystem-health.js
index 3880612a6..f60933cf2 100644
--- a/api/_lib/ops/subsystem-health.js
+++ b/api/_lib/ops/subsystem-health.js
@@ -32,6 +32,7 @@
import { cacheHealth, cacheGet } from '../cache.js';
import { heliusHealth } from '../balances.js';
+import { rpcLaneHealth } from '../solana/connection.js';
import { rateLimiterHealth } from '../rate-limit.js';
import { checkRingInvariants } from '../x402/ring-allowlist.js';
import { gatherX402SettleHealth } from './x402-settle-health.js';
@@ -188,6 +189,47 @@ function checkHelius() {
}
}
+// Every PAID Solana lane at once, not just Helius. On 2026-07-29 the Helius
+// plan, QuickNode's daily cap and Alchemy's monthly cap were all exhausted
+// simultaneously and nothing surfaced it: the only RPC sensor watched Helius
+// through per-instance memory, so a fresh instance cheerfully reported "premium
+// RPC healthy" while every premium lane was returning -32429 / -32003 / 429.
+// Falling through to free public nodes keeps the platform up but throttled, and
+// that is precisely the state an operator must be told about, because clearing
+// it costs money and only the owner can spend it.
+function checkRpcLanes() {
+ const base = { name: 'rpc_lanes', label: 'Solana RPC lanes' };
+ try {
+ const h = rpcLaneHealth();
+ const metrics = {
+ paidTotal: h.paidTotal,
+ paidCooling: h.paidCooling,
+ total: h.total,
+ cooling: h.cooling,
+ };
+ if (h.paidTotal === 0) {
+ return { ...base, status: 'ok', detail: `${h.total} keyless lanes (no paid RPC configured)`, metrics };
+ }
+ if (h.allPaidCooling) {
+ return {
+ ...base,
+ status: 'degraded',
+ detail: `all ${h.paidTotal} paid lanes exhausted; serving from ${h.total - h.cooling} free lanes`,
+ metrics,
+ hint: 'Every paid Solana RPC plan is over quota at once. Calls still succeed on free public nodes but are throttled, which shows up as intermittent 5xx and slow settles. Owner action: top up or upgrade the RPC plans.',
+ };
+ }
+ return {
+ ...base,
+ status: 'ok',
+ detail: `${h.paidTotal - h.paidCooling}/${h.paidTotal} paid lanes serving`,
+ metrics,
+ };
+ } catch (err) {
+ return { ...base, status: 'unknown', detail: err?.message || 'unreadable' };
+ }
+}
+
function checkRing() {
const base = { name: 'x402_ring', label: 'x402 autonomous ring' };
try {
@@ -342,6 +384,8 @@ export async function gatherSubsystemHealth({ probeDb = true } = {}) {
Promise.resolve(checkCache()),
Promise.resolve(checkRateLimiter()),
Promise.resolve(checkHelius()),
+ // Whole paid RPC tier, not just Helius (see checkRpcLanes).
+ Promise.resolve(checkRpcLanes()),
Promise.resolve(checkRing()),
// Settle SUCCESS RATE, not just "armed" — reads x402_autonomous_log. Needs
// the DB, so it shares the probeDb gate; skipped-DB callers get `unknown`.
diff --git a/api/_lib/solana/connection.js b/api/_lib/solana/connection.js
index dfe450bab..f1f7faa6d 100644
--- a/api/_lib/solana/connection.js
+++ b/api/_lib/solana/connection.js
@@ -444,6 +444,63 @@ export function solanaRpcEndpoints(network = 'mainnet', url = null) {
]).filter(isHttpUrl);
}
+/**
+ * The keyed / metered mainnet lanes — every endpoint we PAY for, in the same
+ * forms solanaRpcEndpoints() builds them. Free keyless nodes are excluded.
+ * Used by the lane-health sensor to answer "are we still on paid capacity, or
+ * has the whole premium tier gone dark and left us on free public nodes?"
+ */
+function paidMainnetEndpoints() {
+ const key = process.env.HELIUS_API_KEY;
+ const alch = process.env.ALCHEMY_API_KEY;
+ return dedupe([
+ normalizeRpcUrl(process.env.SOLANA_RPC_URL),
+ normalizeRpcUrl(process.env.QUICKNODE_RPC_URL),
+ key && `https://mainnet.helius-rpc.com/?api-key=${key}`,
+ alch && `https://solana-mainnet.g.alchemy.com/v2/${alch}`,
+ ...lastResortUrls(),
+ ]).filter(isHttpUrl);
+}
+
+/**
+ * Health of the Solana RPC lanes as this instance (plus whatever the fleet has
+ * published) currently understands them. Reports which endpoints are parked in
+ * cooldown and, critically, whether ANY paid lane is still serving.
+ *
+ * The blind spot this closes: before 2026-07-29 the only RPC sensor watched
+ * Helius, and it read per-instance memory — so a fresh instance reported
+ * "premium RPC healthy" while the plan was hard-exhausted, and QuickNode's daily
+ * cap and Alchemy's monthly cap had no sensor at all. All three were exhausted
+ * simultaneously and nothing surfaced it. Because the cooldown map is now
+ * fleet-wide, this reads the whole tier honestly.
+ *
+ * @returns {{ total, cooling, paidTotal, paidCooling, allPaidCooling, lanes }}
+ */
+export function rpcLaneHealth(now = Date.now()) {
+ const paid = new Set(paidMainnetEndpoints());
+ const lanes = solanaRpcEndpoints('mainnet').map((url) => {
+ const until = _endpointCooldown.get(url) || 0;
+ return {
+ url: maskUrl(url),
+ paid: paid.has(url),
+ cooling: until > now,
+ cooldownRemainingMs: until > now ? until - now : 0,
+ };
+ });
+ const paidLanes = lanes.filter((l) => l.paid);
+ const paidCooling = paidLanes.filter((l) => l.cooling).length;
+ return {
+ total: lanes.length,
+ cooling: lanes.filter((l) => l.cooling).length,
+ paidTotal: paidLanes.length,
+ paidCooling,
+ // Only meaningful when paid lanes are configured at all; a keyless
+ // deployment is a valid choice, not a degradation.
+ allPaidCooling: paidLanes.length > 0 && paidCooling === paidLanes.length,
+ lanes,
+ };
+}
+
function maskUrl(url) {
try {
const u = new URL(url);
diff --git a/data/changelog.json b/data/changelog.json
index 11bbacde0..2005626fa 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,119 @@
{
"$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-29",
+ "title": "Uploaded avatars from far more 3D tools now animate instead of standing frozen",
+ "summary": "three.ws recognises an avatar's skeleton by its bone names, and every 3D tool names bones differently. When a name was not recognised the avatar still uploaded and still looked right, but it stood frozen in a T-pose, or walked while its legs stayed rigid. Rather than keep guessing which tools to support, we measured: a new audit reads the skeleton of avatars actually stored on the platform and reports exactly which ones fail and which bone names caused it. That turned up several whole families of rigs that were silently broken, and all of them now work: characters from Maya's Advanced Skeleton, Sketchfab exports, research and motion-capture tools that use the SMPL convention, Roblox and Second Life avatars, VRM converter output, and Blender rigs whose legs and finger joints were being dropped. In the lanes where people upload their own characters, the share that animate with a complete walk went from about 93% to over 98%. A small number of Blender rigs built on constraint systems still cannot be driven this way, because the constraints are discarded when the file is exported and forcing it would pull the limbs apart; those fall back to a working skeleton rather than breaking, and can be re-rigged automatically instead.",
+ "tags": [
+ "improvement",
+ "fix"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "title": "Avatars now look where they should and stand properly on uneven ground",
+ "summary": "Two things every avatar on three.ws was missing, because a recorded animation clip cannot know about them. First, gaze: the corner walk companion now follows your cursor with its chest, neck and head, and agents can be told to look at a point in the world or at whoever is watching, holding that gaze while you orbit the camera. The turn is shared across three joints rather than cranking the head alone, which is the difference between a person glancing over and an owl. Asking an agent to look somewhere used to be accepted and then quietly ignored; it works now. Second, footing: in the walkaround world each foot lands on the patch of ground actually beneath it instead of one floating above a slope while the other sinks into it. The avatar's hips settle just enough for the downhill leg to reach, and the walk cycle's own foot lift is left intact, so it still reads as walking rather than sliding. Both effects work on any humanoid avatar, including ones you generated yourself, and both bow out cleanly on avatars that cannot support them and when you have asked for reduced motion.",
+ "tags": [
+ "feature",
+ "improvement"
+ ],
+ "link": "/walk"
+ },
+ {
+ "date": "2026-07-29",
+ "title": "Ethereum name lookups work again",
+ "summary": "Looking up an .eth name through the public name resolver had stopped working: every request sat there for about ten seconds and then came back as an error, while .sol names resolved fine. Two things were wrong. The Ethereum node we asked first had started refusing our requests outright, and because it was first in line every lookup wasted a full round trip on it before trying anywhere else. On top of that, the lookup itself was asking the network four or five separate questions in sequence when one would do. Nodes known to refuse us are now tried last instead of first, and a name lookup is a single question. An .eth name now resolves in about a quarter of a second, and a name that genuinely does not exist comes back as a clean not-found instead of a timeout.",
+ "tags": [
+ "fix"
+ ],
+ "link": "/crypto-api"
+ },
+ {
+ "date": "2026-07-29",
+ "title": "Fact checks that used to time out now come back with their sources",
+ "summary": "Some fact checks were taking so long that the request was cut off before anything came back, and the caller got an error instead of an answer. Two things caused it. The checker asks a language model to write search queries and then to judge each source it finds; if none of the model providers could answer, that step threw the whole check away, even though the checker had already gathered real sources and knew how to carry on without the model. And nothing kept an eye on the clock, so a slow run could outlast the time limit the request had to begin with. Both are fixed. A check now works to a time budget and hands each step whatever is left, so it always finishes with something to show. If a step genuinely cannot reach a model, the check falls back instead of failing: it searches the claim itself, returns the sources it found with their excerpts, and marks the verdict as insufficient rather than guessing. The response now says plainly which step fell back, and a result produced that way is deliberately not cached, so asking again re-runs the full check rather than replaying a bad day.",
+ "tags": [
+ "fix",
+ "improvement"
+ ],
+ "link": "/fact-check"
+ },
+ {
+ "date": "2026-07-29",
+ "title": "A press kit anyone can use without emailing us first",
+ "summary": "Until now, anyone writing about three.ws had to ask for a logo, and what came back was whatever file was closest to hand. There is now a press page at three.ws/press with the marks as transparent PNGs (the cube on its own, plus horizontal and stacked lockups drawn for dark and light backgrounds), the OpenAI announcement graphics, a company description at three lengths with copy buttons, a table of checkable facts, and plain rules for using the logo. The whole set downloads as one zip, with the usage rules included as a readme so the files cannot travel without them. Every asset is rendered from a single source file in the repository rather than exported by hand, so the kit stays current instead of drifting.",
+ "tags": [
+ "feature",
+ "docs"
+ ],
+ "link": "/press"
+ },
+ {
+ "date": "2026-07-29",
+ "title": "Every x402 payment now settles against its own Solana transaction",
+ "summary": "An audit of our payment facilitator found that about one in five recorded settlements shared an on-chain transaction with another settlement. Solana signatures are deterministic, so two payments of the same amount, from the same wallet, to the same endpoint, built in the same short window could compile to a byte-for-byte identical transaction. Only one of them could ever land on chain, and the facilitator was crediting the others against it. Settlement is now claimed atomically: one transaction settles at most one payment, a genuine retry is recognised and answered without double-charging, and anything else is refused rather than credited. The payment builder also draws from a signature space about four thousand times larger, at no extra fee, so identical transactions are no longer built in the first place. A new hourly audit watches the invariant and raises an alert if it is ever violated again.",
+ "tags": [
+ "fix",
+ "infra",
+ "security"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "title": "The live pump.fun trade feed now drops data providers that cannot serve it",
+ "summary": "The live trade feed connects to a chain of Solana data providers and falls back through them. Some of those providers answer normal requests fine but reject the live-streaming connection outright, and the underlying library retried them forever, flooding the logs and wasting a slot in the fallback chain. The feed now tests each provider once, permanently sets aside the ones that structurally cannot stream, and briefly benches ones that are merely busy, so it lands on a working provider immediately instead of retrying a dead one.",
+ "tags": [
+ "fix",
+ "improvement"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "title": "Background jobs no longer pause themselves against a storage limit that was not real",
+ "summary": "A safety valve pauses data-heavy background jobs when the database approaches its storage ceiling. The ceiling it was checking had been set by hand and no longer matched the actual database plan, which is far larger, so the valve was tripping on a limit that did not exist and pausing dozens of jobs a minute, including the one that keeps the payment wallets funded. The threshold now reflects the real capacity, with months of headroom, and the valve remains in place as a genuine backstop.",
+ "tags": [
+ "fix",
+ "infra"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "title": "Platform payment wallets now refill straight from the treasury when they run dry",
+ "summary": "The two wallets that pay for the platform's automated work could only refill themselves by trading one of their own assets for the other. A wallet that was low on both had no way out, so it would sit and fail payments while the treasury held plenty of funds one step away. The treasury now tops those wallets up directly, with a per-transfer cap, a daily cap, and a reserve it never spends below. Payments that used to stall for hours waiting on a human now recover on their own within a minute.",
+ "tags": [
+ "fix",
+ "infra"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "title": "Trading agents that looked healthy but could never place a trade now say why",
+ "summary": "Several arms of the autonomous trading fleet were switched on, funded, and reading every new launch, yet had never bought anything. Nothing looked broken, because an entry that gets skipped leaves no record at all. Four separate causes were found and fixed. An arm whose configured trade size had drifted above its own daily spending cap could never satisfy both at once, so it sat out every opportunity. A wallet trimmed too thin could not pay for the safety simulation the platform runs before every buy. Some arms asked for coins above a market-cap floor that a brand-new launch cannot reach at the moment they look at it. And arms pinned to a specific AI model refused to trade because that model had quietly stopped answering, with a stand-in replying in its place. Every armed strategy on the experiments board now carries a plain-language reason when it is not trading, and the ops channel is paged when a pinned model goes dark.",
+ "tags": [
+ "fix",
+ "improvement"
+ ],
+ "link": "/sniper/experiments"
+ },
+ {
+ "date": "2026-07-29",
+ "title": "Ordinary new coins are no longer mistaken for honeypots",
+ "summary": "Before any automated buy, the platform simulates a full buy-then-sell round trip on-chain to prove the coin can actually be sold again, and blocks anything that cannot be exited. That simulation runs from the buying agent's own wallet, so when the wallet was too small to fund the simulated purchase, the failure was being read as evidence that the coin was a trap. One underfunded agent produced 336 consecutive false honeypot verdicts in a single afternoon on perfectly normal launches. The safety probe now scales down to a size the wallet can actually simulate, since a real honeypot traps a seller at any size, and an out-of-funds failure is now reported as exactly that. Coins that genuinely cannot be sold are still blocked, and a wallet too empty to prove anything is still refused rather than waved through.",
+ "tags": [
+ "fix",
+ "security"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "title": "Stopped two automated systems from passing the same SOL back and forth",
+ "summary": "One background job tops up each trading agent wallet to a working balance. Another reclaims idle SOL from platform wallets back to the treasury so the agent economy can pay its network fees. Their thresholds disagreed, so they took turns moving the same funds in opposite directions: in one fifteen-minute window 0.24 SOL made that round trip six times, paying a network fee each leg, and the agents never held a balance long enough to trade. Both jobs now read a single shared policy with one rule, that a reclaim can never take a wallet below the level the top-up will immediately restore. The reclaim also now leaves every active trader enough to cover a complete trade, including the safety check that runs before it.",
+ "tags": [
+ "fix",
+ "infra"
+ ]
+ },
{
"date": "2026-07-28",
"title": "Stopped agent trading wallets from being drained and refilled in a loop",
@@ -36,15 +149,6 @@
"improvement"
]
},
- {
- "date": "2026-07-28",
- "title": "More avatar rigs animate out of the box, including research-generated characters",
- "summary": "Avatars rigged with SMPL-style skeletons (the convention most research text-to-3D and mocap tools export, with bones named like left_hip, left_knee, left_elbow) previously uploaded fine but froze in a T-pose or slid around on stiff legs, because their bone names were not recognized. The bone matcher now understands these skeletons, correctly tells a collarbone apart from an upper arm when both share a name, and never gives two bones the same name (which could make animations grab the wrong joint). Full body animation, legs and arms included, now works for these characters the moment they are uploaded.",
- "tags": [
- "improvement",
- "fix"
- ]
- },
{
"date": "2026-07-28",
"title": "The OpenAI Select Partner announcement now has a real graphic",
@@ -16472,6 +16576,26 @@
"infra",
"fix"
]
+ },
+ {
+ "date": "2026-07-29",
+ "title": "Agent conversations get cheaper and steadier on Claude",
+ "summary": "Agents now reuse the unchanging part of their prompt (persona, skills, platform knowledge) between turns instead of resending it every message, which cuts the cost of a long conversation substantially and shortens the wait before a reply starts. Spend reporting was corrected to account for it, so the admin dashboard and per-user limits reflect what a cached conversation actually costs. Requests are also adapted automatically to whichever Claude model serves them, so a setting meant for an older model can no longer cause a failed or empty reply.",
+ "tags": [
+ "improvement",
+ "fix"
+ ],
+ "link": "/chat"
+ },
+ {
+ "date": "2026-07-29",
+ "title": "Production now watches every paid Solana connection, not just one",
+ "summary": "three.ws reaches the Solana blockchain through several providers so that if one runs out of capacity the others carry the load. Until now the status page only watched one of them, which meant the platform could report a healthy connection while every paid provider was actually out of quota and all traffic had quietly fallen back to slower free servers. That state is hard to spot from the outside: it shows up as occasional slow pages and failed on-chain actions rather than a clean outage. The status page now reports the health of the whole set, and says plainly when everything paid has run out so it can be topped up before anyone notices.",
+ "tags": [
+ "infra",
+ "improvement"
+ ],
+ "link": "/status"
}
]
}
diff --git a/docs/ops/production-log-triage.md b/docs/ops/production-log-triage.md
index b38dd5e67..1a344f8af 100644
--- a/docs/ops/production-log-triage.md
+++ b/docs/ops/production-log-triage.md
@@ -371,7 +371,37 @@ HTTP 503 GET /health (model-* service) textPayload: The request failed becau
- **Source:** [api/_lib/http.js](../../api/_lib/http.js) `wrapCron({ requireWriteCapacity: true })`, via `isStoragePressured()` in [api/_lib/db.js](../../api/_lib/db.js). Emitted by the write-heavy crons that opt into the preflight: `launcher-tick`, `coin-intel-observe`, `smart-money-rollup`, `recompute-reputation`, `intel-learn`.
- **What it means:** the Neon branch is over its high-water mark (`DB_RETENTION_HIGH_WATER_MB`, default 470). Rather than run a full write-tick that would fail per-row with SQLSTATE 53100 and flood the logs, each write-heavy cron **preflight-skips** with a single warn and a healthy heartbeat (uptime reads it as up, not stalled). [api/cron/db-retention.js](../../api/cron/db-retention.js) runs every 15 min, tightens its retention window to the floor under pressure, DELETEs + VACUUMs, and the next tick resumes once size drops back under the mark. In the 2026-07-05 export db-retention was scheduled and returning `200` (~3.5 s/run) the whole window — the valve is working; the branch is simply sitting above the mark because the live data footprint exceeds it and Neon's storage GC is not instant.
-- **Resolve (owner, capacity):** the write crons stay skipped only while `pg_database_size > high-water`. Pick one: (a) raise the **Neon compute/storage plan** so the branch has headroom above the real footprint; (b) if the branch's actual cap is higher than 470 MB, raise `DB_RETENTION_HIGH_WATER_MB` to match the plan so the write crons stop skipping needlessly; (c) tighten `PUMP_INTEL_RETENTION_DAYS` / `PUMP_INTEL_MIN_RETENTION_DAYS` to shed the firehose faster. None is a code change — the gate and the valve are already correct and covered by [tests/cron-storage-backoff.test.js](../../tests/cron-storage-backoff.test.js).
+- **Check the mark against the REAL cap first (2026-07-29).** The high-water mark is a config value, not a measurement, and it has been set to a phantom cap before. Confirm both numbers before touching anything else:
+
+ ```sh
+ psql "$DATABASE_URL" -c 'SHOW neon.max_cluster_size' # the real ceiling
+ psql "$DATABASE_URL" -c 'SELECT pg_size_pretty(pg_database_size(current_database()))' # the live footprint
+ npm run logs -- --all --grep "project size limit" --since 7d # real 53100s, if any
+ ```
+
+ If `max_cluster_size` is far above the mark and there are no `project size limit` errors, the skips are **self-inflicted** and the fix is to raise the mark (config-only, pre-approved). On 2026-07-29 that read 16TB against a ~2.5 GB footprint while the mark sat at 3072, so the mark was raised to `8192`. See [db-retention.md](db-retention.md#sizing-the-high-water-mark-read-before-changing-it) for the sizing rule.
+- **This gate has starved the money path.** On 2026-07-28 at 18:42 the branch crossed a mark set equal to the assumed cap, and 56 crons skipped in one minute — including `economy-rebalance`, which refills the x402 fee wallet. The fee wallet then starved and every settle returned `fee_wallet_below_floor` for four hours. `economy-rebalance` is deliberately **not** gated any more; do not re-add `requireWriteCapacity` to a cron on the funding path.
+- **Resolve (capacity):** the write crons stay skipped only while `pg_database_size > high-water`. In order: (a) raise `DB_RETENTION_HIGH_WATER_MB` if the real cap has headroom (the usual answer, see above); (b) raise the **Neon compute/storage plan** if it genuinely does not; (c) tighten `PUMP_INTEL_RETENTION_DAYS` / `PUMP_INTEL_MIN_RETENTION_DAYS` to shed the firehose faster. None is a code change — the gate and the valve are covered by [tests/cron-storage-backoff.test.js](../../tests/cron-storage-backoff.test.js).
+
+---
+
+## 🟢 `ws error: Unexpected server response: 301`
+
+```
+ws error: Unexpected server response: 301
+```
+
+- **Source:** `@solana/web3.js`'s internal `rpc-websockets` client, under the pump.fun trade firehose ([api/_lib/pump-onchain-trades.js](../../api/_lib/pump-onchain-trades.js)).
+- **What it means:** an RPC lane in the shared chain serves JSON-RPC happily over **HTTP** but refuses the **WebSocket** upgrade. rpc-websockets treats every failure as transient and reconnects in a tight background loop for the life of a warm instance, so one bad lane produces ~100 identical lines an hour (measured 2026-07-29: `solana.leorpc.com` → 301, `solana-mainnet.gateway.tatum.io` → 402).
+- **Already fixed — this should be self-healing now.** Each lane's socket is probed once before use, and a structural refusal (301/302/307/308, 401/402/403/404/405/410/501) benches that lane for the process while a transient one (429, 5xx, reset) benches it for 5 minutes. The bench policy is a pure function (`classifyWsFailure`) covered by [tests/pump-onchain-ws-lanes.test.js](../../tests/pump-onchain-ws-lanes.test.js). Expect at most one `ws lane benched (structural): <host>` line per lane per process instead of the storm.
+- **If the storm returns:** a lane is failing in a way the classifier reads as transient when it is really permanent. Probe it directly and add its status to the structural list:
+
+ ```sh
+ curl -s -o /dev/null -w '%{http_code}\n' -m 8 \
+ -H 'Connection: Upgrade' -H 'Upgrade: websocket' \
+ -H 'Sec-WebSocket-Version: 13' -H 'Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==' \
+ https://<rpc-host>
+ ```
---
@@ -418,6 +448,48 @@ HTTP 503 GET /health (model-* service) textPayload: The request failed becau
a few minutes and serves from the **public Solana RPC** in the meantime.
- **Resolve:** 🟢 nothing required — the public-RPC fallback is working. 🟡 raise
the Helius quota to avoid the degraded window.
+- **But do not read this line as "only Helius is affected."** It watches one
+ provider; see the `rpc_lanes` section below for the whole-tier view.
+
+---
+
+## 🔴 Every paid Solana RPC lane exhausted at once (`rpc_lanes` degraded)
+
+```
+/api/healthz → subsystems.rpc_lanes: degraded
+ "all 3 paid lanes exhausted; serving from 6 free lanes"
+```
+
+- **Source:** `checkRpcLanes()` in
+ [api/_lib/ops/subsystem-health.js](../../api/_lib/ops/subsystem-health.js),
+ reading `rpcLaneHealth()` from
+ [api/_lib/solana/connection.js](../../api/_lib/solana/connection.js).
+- **What it means:** every endpoint the platform PAYS for is parked in quota
+ cooldown simultaneously, so all Solana traffic is running on free public
+ nodes. The platform stays UP (that is the failover chain working), but free
+ nodes are aggressively throttled, and the symptom set is diffuse and easy to
+ misdiagnose: intermittent 502/503/504 on on-chain routes, `broadcast_failed`
+ settles, slow balance reads, sniper and pump routes timing out.
+- **Why this sensor exists.** On 2026-07-29 the Helius plan
+ (`-32429 max usage reached`), QuickNode's daily cap (`-32003 daily request
+ limit reached`) and Alchemy's monthly cap (`429 Monthly capacity limit
+ exceeded`) were ALL exhausted at the same time, and nothing surfaced it: the
+ only RPC sensor watched Helius, through per-instance memory, so a freshly
+ started instance reported `premium RPC healthy` while every premium lane was
+ returning errors. Verify any lane by hand with a single call:
+ ```sh
+ curl -s "<endpoint>" -X POST -H 'Content-Type: application/json' \
+ -d '{"jsonrpc":"2.0","id":1,"method":"getBalance","params":["WwwuGbqHrwF5RG89KhUbmRWEvjnRH9k5kVM5p7T3WwW"]}'
+ ```
+- **Resolve (owner, money):** top up or upgrade the exhausted plans (Helius,
+ QuickNode, Alchemy). Nothing else clears a quota; the cooldowns simply expire
+ and re-trip while traffic exceeds the free tiers.
+- **Do NOT "fix" it by promoting the reserve.** `SOLANA_RPC_LAST_RESORT_URLS`
+ exists to keep a metered endpoint in reserve; naming that same URL in
+ `SOLANA_RPC_URL` or `QUICKNODE_RPC_URL` makes it the primary (the chain
+ dedupes to the first occurrence) and burns the reserve first. That exact
+ misconfiguration was live until 2026-07-29. See
+ [docs/solana.md](../solana.md) for the full priority contract.
---
diff --git a/public/changelog.json b/public/changelog.json
index 18ebd2733..7888e319e 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-29T05:01:46.467Z",
+ "generated_at": "2026-07-29T05:15:33.946Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -26,6 +26,116 @@
"launch"
]
},
+ {
+ "date": "2026-07-29",
+ "type": "update",
+ "title": "A press kit anyone can use without emailing us first",
+ "summary": "Until now, anyone writing about three.ws had to ask for a logo, and what came back was whatever file was closest to hand. There is now a press page at three.ws/press with the marks as transparent PNGs (the cube on its own, plus horizontal and stacked lockups drawn for dark and light backgrounds), the OpenAI announcement graphics, a company description at three lengths with copy buttons, a table of checkable facts, and plain rules for using the logo. The whole set downloads as one zip, with the usage rules included as a readme so the files cannot travel without them. Every asset is rendered from a single source file in the repository rather than exported by hand, so the kit stays current instead of drifting.",
+ "link": "/press",
+ "tags": [
+ "feature",
+ "docs"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "type": "update",
+ "title": "Agent conversations get cheaper and steadier on Claude",
+ "summary": "Agents now reuse the unchanging part of their prompt (persona, skills, platform knowledge) between turns instead of resending it every message, which cuts the cost of a long conversation substantially and shortens the wait before a reply starts. Spend reporting was corrected to account for it, so the admin dashboard and per-user limits reflect what a cached conversation actually costs. Requests are also adapted automatically to whichever Claude model serves them, so a setting meant for an older model can no longer cause a failed or empty reply.",
+ "link": "/chat",
+ "tags": [
+ "improvement",
+ "fix"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "type": "update",
+ "title": "Avatars now look where they should and stand properly on uneven ground",
+ "summary": "Two things every avatar on three.ws was missing, because a recorded animation clip cannot know about them. First, gaze: the corner walk companion now follows your cursor with its chest, neck and head, and agents can be told to look at a point in the world or at whoever is watching, holding that gaze while you orbit the camera. The turn is shared across three joints rather than cranking the head alone, which is the difference between a person glancing over and an owl. Asking an agent to look somewhere used to be accepted and then quietly ignored; it works now. Second, footing: in the walkaround world each foot lands on the patch of ground actually beneath it instead of one floating above a slope while the other sinks into it. The avatar's hips settle just enough for the downhill leg to reach, and the walk cycle's own foot lift is left intact, so it still reads as walking rather than sliding. Both effects work on any humanoid avatar, including ones you generated yourself, and both bow out cleanly on avatars that cannot support them and when you have asked for reduced motion.",
+ "link": "/walk",
+ "tags": [
+ "feature",
+ "improvement"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "type": "update",
+ "title": "Background jobs no longer pause themselves against a storage limit that was not real",
+ "summary": "A safety valve pauses data-heavy background jobs when the database approaches its storage ceiling. The ceiling it was checking had been set by hand and no longer matched the actual database plan, which is far larger, so the valve was tripping on a limit that did not exist and pausing dozens of jobs a minute, including the one that keeps the payment wallets funded. The threshold now reflects the real capacity, with months of headroom, and the valve remains in place as a genuine backstop.",
+ "link": null,
+ "tags": [
+ "fix",
+ "infra"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "type": "update",
+ "title": "Ethereum name lookups work again",
+ "summary": "Looking up an .eth name through the public name resolver had stopped working: every request sat there for about ten seconds and then came back as an error, while .sol names resolved fine. Two things were wrong. The Ethereum node we asked first had started refusing our requests outright, and because it was first in line every lookup wasted a full round trip on it before trying anywhere else. On top of that, the lookup itself was asking the network four or five separate questions in sequence when one would do. Nodes known to refuse us are now tried last instead of first, and a name lookup is a single question. An .eth name now resolves in about a quarter of a second, and a name that genuinely does not exist comes back as a clean not-found instead of a timeout.",
+ "link": "/crypto-api",
+ "tags": [
+ "fix"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "type": "update",
+ "title": "Every x402 payment now settles against its own Solana transaction",
+ "summary": "An audit of our payment facilitator found that about one in five recorded settlements shared an on-chain transaction with another settlement. Solana signatures are deterministic, so two payments of the same amount, from the same wallet, to the same endpoint, built in the same short window could compile to a byte-for-byte identical transaction. Only one of them could ever land on chain, and the facilitator was crediting the others against it. Settlement is now claimed atomically: one transaction settles at most one payment, a genuine retry is recognised and answered without double-charging, and anything else is refused rather than credited. The payment builder also draws from a signature space about four thousand times larger, at no extra fee, so identical transactions are no longer built in the first place. A new hourly audit watches the invariant and raises an alert if it is ever violated again.",
+ "link": null,
+ "tags": [
+ "fix",
+ "infra",
+ "security"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "type": "update",
+ "title": "Fact checks that used to time out now come back with their sources",
+ "summary": "Some fact checks were taking so long that the request was cut off before anything came back, and the caller got an error instead of an answer. Two things caused it. The checker asks a language model to write search queries and then to judge each source it finds; if none of the model providers could answer, that step threw the whole check away, even though the checker had already gathered real sources and knew how to carry on without the model. And nothing kept an eye on the clock, so a slow run could outlast the time limit the request had to begin with. Both are fixed. A check now works to a time budget and hands each step whatever is left, so it always finishes with something to show. If a step genuinely cannot reach a model, the check falls back instead of failing: it searches the claim itself, returns the sources it found with their excerpts, and marks the verdict as insufficient rather than guessing. The response now says plainly which step fell back, and a result produced that way is deliberately not cached, so asking again re-runs the full check rather than replaying a bad day.",
+ "link": "/fact-check",
+ "tags": [
+ "fix",
+ "improvement"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "type": "update",
+ "title": "Ordinary new coins are no longer mistaken for honeypots",
+ "summary": "Before any automated buy, the platform simulates a full buy-then-sell round trip on-chain to prove the coin can actually be sold again, and blocks anything that cannot be exited. That simulation runs from the buying agent's own wallet, so when the wallet was too small to fund the simulated purchase, the failure was being read as evidence that the coin was a trap. One underfunded agent produced 336 consecutive false honeypot verdicts in a single afternoon on perfectly normal launches. The safety probe now scales down to a size the wallet can actually simulate, since a real honeypot traps a seller at any size, and an out-of-funds failure is now reported as exactly that. Coins that genuinely cannot be sold are still blocked, and a wallet too empty to prove anything is still refused rather than waved through.",
+ "link": null,
+ "tags": [
+ "fix",
+ "security"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "type": "update",
+ "title": "Platform payment wallets now refill straight from the treasury when they run dry",
+ "summary": "The two wallets that pay for the platform's automated work could only refill themselves by trading one of their own assets for the other. A wallet that was low on both had no way out, so it would sit and fail payments while the treasury held plenty of funds one step away. The treasury now tops those wallets up directly, with a per-transfer cap, a daily cap, and a reserve it never spends below. Payments that used to stall for hours waiting on a human now recover on their own within a minute.",
+ "link": null,
+ "tags": [
+ "fix",
+ "infra"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "type": "update",
+ "title": "Production now watches every paid Solana connection, not just one",
+ "summary": "three.ws reaches the Solana blockchain through several providers so that if one runs out of capacity the others carry the load. Until now the status page only watched one of them, which meant the platform could report a healthy connection while every paid provider was actually out of quota and all traffic had quietly fallen back to slower free servers. That state is hard to spot from the outside: it shows up as occasional slow pages and failed on-chain actions rather than a clean outage. The status page now reports the health of the whole set, and says plainly when everything paid has run out so it can be topped up before anyone notices.",
+ "link": "/status",
+ "tags": [
+ "infra",
+ "improvement"
+ ]
+ },
{
"date": "2026-07-29",
"type": "update",
@@ -37,6 +147,50 @@
"fix"
]
},
+ {
+ "date": "2026-07-29",
+ "type": "update",
+ "title": "Stopped two automated systems from passing the same SOL back and forth",
+ "summary": "One background job tops up each trading agent wallet to a working balance. Another reclaims idle SOL from platform wallets back to the treasury so the agent economy can pay its network fees. Their thresholds disagreed, so they took turns moving the same funds in opposite directions: in one fifteen-minute window 0.24 SOL made that round trip six times, paying a network fee each leg, and the agents never held a balance long enough to trade. Both jobs now read a single shared policy with one rule, that a reclaim can never take a wallet below the level the top-up will immediately restore. The reclaim also now leaves every active trader enough to cover a complete trade, including the safety check that runs before it.",
+ "link": null,
+ "tags": [
+ "fix",
+ "infra"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "type": "update",
+ "title": "The live pump.fun trade feed now drops data providers that cannot serve it",
+ "summary": "The live trade feed connects to a chain of Solana data providers and falls back through them. Some of those providers answer normal requests fine but reject the live-streaming connection outright, and the underlying library retried them forever, flooding the logs and wasting a slot in the fallback chain. The feed now tests each provider once, permanently sets aside the ones that structurally cannot stream, and briefly benches ones that are merely busy, so it lands on a working provider immediately instead of retrying a dead one.",
+ "link": null,
+ "tags": [
+ "fix",
+ "improvement"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "type": "update",
+ "title": "Trading agents that looked healthy but could never place a trade now say why",
+ "summary": "Several arms of the autonomous trading fleet were switched on, funded, and reading every new launch, yet had never bought anything. Nothing looked broken, because an entry that gets skipped leaves no record at all. Four separate causes were found and fixed. An arm whose configured trade size had drifted above its own daily spending cap could never satisfy both at once, so it sat out every opportunity. A wallet trimmed too thin could not pay for the safety simulation the platform runs before every buy. Some arms asked for coins above a market-cap floor that a brand-new launch cannot reach at the moment they look at it. And arms pinned to a specific AI model refused to trade because that model had quietly stopped answering, with a stand-in replying in its place. Every armed strategy on the experiments board now carries a plain-language reason when it is not trading, and the ops channel is paged when a pinned model goes dark.",
+ "link": "/sniper/experiments",
+ "tags": [
+ "fix",
+ "improvement"
+ ]
+ },
+ {
+ "date": "2026-07-29",
+ "type": "update",
+ "title": "Uploaded avatars from far more 3D tools now animate instead of standing frozen",
+ "summary": "three.ws recognises an avatar's skeleton by its bone names, and every 3D tool names bones differently. When a name was not recognised the avatar still uploaded and still looked right, but it stood frozen in a T-pose, or walked while its legs stayed rigid. Rather than keep guessing which tools to support, we measured: a new audit reads the skeleton of avatars actually stored on the platform and reports exactly which ones fail and which bone names caused it. That turned up several whole families of rigs that were silently broken, and all of them now work: characters from Maya's Advanced Skeleton, Sketchfab exports, research and motion-capture tools that use the SMPL convention, Roblox and Second Life avatars, VRM converter output, and Blender rigs whose legs and finger joints were being dropped. In the lanes where people upload their own characters, the share that animate with a complete walk went from about 93% to over 98%. A small number of Blender rigs built on constraint systems still cannot be driven this way, because the constraints are discarded when the file is exported and forcing it would pull the limbs apart; those fall back to a working skeleton rather than breaking, and can be re-rigged automatically instead.",
+ "link": null,
+ "tags": [
+ "improvement",
+ "fix"
+ ]
+ },
{
"date": "2026-07-29",
"type": "update",
@@ -121,17 +275,6 @@
"infra"
]
},
- {
- "date": "2026-07-28",
- "type": "update",
- "title": "More avatar rigs animate out of the box, including research-generated characters",
- "summary": "Avatars rigged with SMPL-style skeletons (the convention most research text-to-3D and mocap tools export, with bones named like left_hip, left_knee, left_elbow) previously uploaded fine but froze in a T-pose or slid around on stiff legs, because their bone names were not recognized. The bone matcher now understands these skeletons, correctly tells a collarbone apart from an upper arm when both share a name, and never gives two bones the same name (which could make animations grab the wrong joint). Full body animation, legs and arms included, now works for these characters the moment they are uploaded.",
- "link": null,
- "tags": [
- "improvement",
- "fix"
- ]
- },
{
"date": "2026-07-28",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index 21b1dc7ba..2667fbe32 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -22,6 +22,86 @@
<category>launch</category>
<description>Logos, announcement graphics, boilerplate, and usage rules for three.ws. Every asset is downloadable and current, and editorial use needs no permission.</description>
</item>
+ <item>
+ <title>A press kit anyone can use without emailing us first</title>
+ <link>https://three.ws/press</link>
+ <guid isPermaLink="false">2026-07-29:A press kit anyone can use without emailing us first</guid>
+ <pubDate>Wed, 29 Jul 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>Until now, anyone writing about three.ws had to ask for a logo, and what came back was whatever file was closest to hand. There is now a press page at three.ws/press with the marks as transparent PNGs (the cube on its own, plus horizontal and stacked lockups drawn for dark and light backgrounds), the OpenAI announcement graphics, a company description at three lengths with copy buttons, a table of checkable facts, and plain rules for using the logo. The whole set downloads as one zip, with the usage rules included as a readme so the files cannot travel without them. Every asset is rendered from a single source file in the repository rather than exported by hand, so the kit stays current instead of drifting.</description>
+ </item>
+ <item>
+ <title>Agent conversations get cheaper and steadier on Claude</title>
+ <link>https://three.ws/chat</link>
+ <guid isPermaLink="false">2026-07-29:Agent conversations get cheaper and steadier on Claude</guid>
+ <pubDate>Wed, 29 Jul 2026 12:00:00 GMT</pubDate>
+ <category>improvement</category>
+ <description>Agents now reuse the unchanging part of their prompt (persona, skills, platform knowledge) between turns instead of resending it every message, which cuts the cost of a long conversation substantially and shortens the wait before a reply starts. Spend reporting was corrected to account for it, so the admin dashboard and per-user limits reflect what a cached conversation actually costs. Requests are also adapted automatically to whichever Claude model serves them, so a setting meant for an older model can no longer cause a failed or empty reply.</description>
+ </item>
+ <item>
+ <title>Avatars now look where they should and stand properly on uneven ground</title>
+ <link>https://three.ws/walk</link>
+ <guid isPermaLink="false">2026-07-29:Avatars now look where they should and stand properly on uneven ground</guid>
+ <pubDate>Wed, 29 Jul 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>Two things every avatar on three.ws was missing, because a recorded animation clip cannot know about them. First, gaze: the corner walk companion now follows your cursor with its chest, neck and head, and agents can be told to look at a point in the world or at whoever is watching, holding that gaze while you orbit the camera. The turn is shared across three joints rather than cranking the head alone, which is the difference between a person glancing over and an owl. Asking an agent to look somewhere used to be accepted and then quietly ignored; it works now. Second, footing: in the walkaround world each foot lands on the patch of ground actually beneath it instead of one floating above a slope while the other sinks into it. The avatar's hips settle just enough for the downhill leg to reach, and the walk cycle's own foot lift is left intact, so it still reads as walking rather than sliding. Both effects work on any humanoid avatar, including ones you generated yourself, and both bow out cleanly on avatars that cannot support them and when you have asked for reduced motion.</description>
+ </item>
+ <item>
+ <title>Background jobs no longer pause themselves against a storage limit that was not real</title>
+ <link>https://three.ws/changelog</link>
+ <guid isPermaLink="false">2026-07-29:Background jobs no longer pause themselves against a storage limit that was not real</guid>
+ <pubDate>Wed, 29 Jul 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>A safety valve pauses data-heavy background jobs when the database approaches its storage ceiling. The ceiling it was checking had been set by hand and no longer matched the actual database plan, which is far larger, so the valve was tripping on a limit that did not exist and pausing dozens of jobs a minute, including the one that keeps the payment wallets funded. The threshold now reflects the real capacity, with months of headroom, and the valve remains in place as a genuine backstop.</description>
+ </item>
+ <item>
+ <title>Ethereum name lookups work again</title>
+ <link>https://three.ws/crypto-api</link>
+ <guid isPermaLink="false">2026-07-29:Ethereum name lookups work again</guid>
+ <pubDate>Wed, 29 Jul 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>Looking up an .eth name through the public name resolver had stopped working: every request sat there for about ten seconds and then came back as an error, while .sol names resolved fine. Two things were wrong. The Ethereum node we asked first had started refusing our requests outright, and because it was first in line every lookup wasted a full round trip on it before trying anywhere else. On top of that, the lookup itself was asking the network four or five separate questions in sequence when one would do. Nodes known to refuse us are now tried last instead of first, and a name lookup is a single question. An .eth name now resolves in about a quarter of a second, and a name that genuinely does not exist comes back as a clean not-found instead of a timeout.</description>
+ </item>
+ <item>
+ <title>Every x402 payment now settles against its own Solana transaction</title>
+ <link>https://three.ws/changelog</link>
+ <guid isPermaLink="false">2026-07-29:Every x402 payment now settles against its own Solana transaction</guid>
+ <pubDate>Wed, 29 Jul 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>An audit of our payment facilitator found that about one in five recorded settlements shared an on-chain transaction with another settlement. Solana signatures are deterministic, so two payments of the same amount, from the same wallet, to the same endpoint, built in the same short window could compile to a byte-for-byte identical transaction. Only one of them could ever land on chain, and the facilitator was crediting the others against it. Settlement is now claimed atomically: one transaction settles at most one payment, a genuine retry is recognised and answered without double-charging, and anything else is refused rather than credited. The payment builder also draws from a signature space about four thousand times larger, at no extra fee, so identical transactions are no longer built in the first place. A new hourly audit watches the invariant and raises an alert if it is ever violated again.</description>
+ </item>
+ <item>
+ <title>Fact checks that used to time out now come back with their sources</title>
+ <link>https://three.ws/fact-check</link>
+ <guid isPermaLink="false">2026-07-29:Fact checks that used to time out now come back with their sources</guid>
+ <pubDate>Wed, 29 Jul 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>Some fact checks were taking so long that the request was cut off before anything came back, and the caller got an error instead of an answer. Two things caused it. The checker asks a language model to write search queries and then to judge each source it finds; if none of the model providers could answer, that step threw the whole check away, even though the checker had already gathered real sources and knew how to carry on without the model. And nothing kept an eye on the clock, so a slow run could outlast the time limit the request had to begin with. Both are fixed. A check now works to a time budget and hands each step whatever is left, so it always finishes with something to show. If a step genuinely cannot reach a model, the check falls back instead of failing: it searches the claim itself, returns the sources it found with their excerpts, and marks the verdict as insufficient rather than guessing. The response now says plainly which step fell back, and a result produced that way is deliberately not cached, so asking again re-runs the full check rather than replaying a bad day.</description>
+ </item>
+ <item>
+ <title>Ordinary new coins are no longer mistaken for honeypots</title>
+ <link>https://three.ws/changelog</link>
+ <guid isPermaLink="false">2026-07-29:Ordinary new coins are no longer mistaken for honeypots</guid>
+ <pubDate>Wed, 29 Jul 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>Before any automated buy, the platform simulates a full buy-then-sell round trip on-chain to prove the coin can actually be sold again, and blocks anything that cannot be exited. That simulation runs from the buying agent's own wallet, so when the wallet was too small to fund the simulated purchase, the failure was being read as evidence that the coin was a trap. One underfunded agent produced 336 consecutive false honeypot verdicts in a single afternoon on perfectly normal launches. The safety probe now scales down to a size the wallet can actually simulate, since a real honeypot traps a seller at any size, and an out-of-funds failure is now reported as exactly that. Coins that genuinely cannot be sold are still blocked, and a wallet too empty to prove anything is still refused rather than waved through.</description>
+ </item>
+ <item>
+ <title>Platform payment wallets now refill straight from the treasury when they run dry</title>
+ <link>https://three.ws/changelog</link>
+ <guid isPermaLink="false">2026-07-29:Platform payment wallets now refill straight from the treasury when they run dry</guid>
+ <pubDate>Wed, 29 Jul 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>The two wallets that pay for the platform's automated work could only refill themselves by trading one of their own assets for the other. A wallet that was low on both had no way out, so it would sit and fail payments while the treasury held plenty of funds one step away. The treasury now tops those wallets up directly, with a per-transfer cap, a daily cap, and a reserve it never spends below. Payments that used to stall for hours waiting on a human now recover on their own within a minute.</description>
+ </item>
+ <item>
+ <title>Production now watches every paid Solana connection, not just one</title>
+ <link>https://three.ws/status</link>
+ <guid isPermaLink="false">2026-07-29:Production now watches every paid Solana connection, not just one</guid>
+ <pubDate>Wed, 29 Jul 2026 12:00:00 GMT</pubDate>
+ <category>infra</category>
+ <description>three.ws reaches the Solana blockchain through several providers so that if one runs out of capacity the others carry the load. Until now the status page only watched one of them, which meant the platform could report a healthy connection while every paid provider was actually out of quota and all traffic had quietly fallen back to slower free servers. That state is hard to spot from the outside: it shows up as occasional slow pages and failed on-chain actions rather than a clean outage. The status page now reports the health of the whole set, and says plainly when everything paid has run out so it can be topped up before anyone notices.</description>
+ </item>
<item>
<title>Solana RPC failover fixed: the paid reserve is no longer the primary lane</title>
<link>https://three.ws/changelog</link>
@@ -30,6 +110,38 @@
<category>infra</category>
<description>The platform routes every Solana call through a chain of RPC providers so no single one becomes a bottleneck, with a paid endpoint held back as an emergency reserve. A configuration mistake had that reserve listed as the primary as well, and because the chain keeps the first entry for a repeated address, it quietly served all traffic and burned through its daily request cap while the free providers sat idle. The reserve is now held back as intended and the premium provider leads. Two safeguards prevent a repeat: the slowest public endpoint can no longer outrank a paid provider by being used as a default, and when one server discovers a provider is out of quota, the rest of the fleet now inherits that verdict immediately instead of each wasting another request against a cap that is already full.</description>
</item>
+ <item>
+ <title>Stopped two automated systems from passing the same SOL back and forth</title>
+ <link>https://three.ws/changelog</link>
+ <guid isPermaLink="false">2026-07-29:Stopped two automated systems from passing the same SOL back and forth</guid>
+ <pubDate>Wed, 29 Jul 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>One background job tops up each trading agent wallet to a working balance. Another reclaims idle SOL from platform wallets back to the treasury so the agent economy can pay its network fees. Their thresholds disagreed, so they took turns moving the same funds in opposite directions: in one fifteen-minute window 0.24 SOL made that round trip six times, paying a network fee each leg, and the agents never held a balance long enough to trade. Both jobs now read a single shared policy with one rule, that a reclaim can never take a wallet below the level the top-up will immediately restore. The reclaim also now leaves every active trader enough to cover a complete trade, including the safety check that runs before it.</description>
+ </item>
+ <item>
+ <title>The live pump.fun trade feed now drops data providers that cannot serve it</title>
+ <link>https://three.ws/changelog</link>
+ <guid isPermaLink="false">2026-07-29:The live pump.fun trade feed now drops data providers that cannot serve it</guid>
+ <pubDate>Wed, 29 Jul 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>The live trade feed connects to a chain of Solana data providers and falls back through them. Some of those providers answer normal requests fine but reject the live-streaming connection outright, and the underlying library retried them forever, flooding the logs and wasting a slot in the fallback chain. The feed now tests each provider once, permanently sets aside the ones that structurally cannot stream, and briefly benches ones that are merely busy, so it lands on a working provider immediately instead of retrying a dead one.</description>
+ </item>
+ <item>
+ <title>Trading agents that looked healthy but could never place a trade now say why</title>
+ <link>https://three.ws/sniper/experiments</link>
+ <guid isPermaLink="false">2026-07-29:Trading agents that looked healthy but could never place a trade now say why</guid>
+ <pubDate>Wed, 29 Jul 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>Several arms of the autonomous trading fleet were switched on, funded, and reading every new launch, yet had never bought anything. Nothing looked broken, because an entry that gets skipped leaves no record at all. Four separate causes were found and fixed. An arm whose configured trade size had drifted above its own daily spending cap could never satisfy both at once, so it sat out every opportunity. A wallet trimmed too thin could not pay for the safety simulation the platform runs before every buy. Some arms asked for coins above a market-cap floor that a brand-new launch cannot reach at the moment they look at it. And arms pinned to a specific AI model refused to trade because that model had quietly stopped answering, with a stand-in replying in its place. Every armed strategy on the experiments board now carries a plain-language reason when it is not trading, and the ops channel is paged when a pinned model goes dark.</description>
+ </item>
+ <item>
+ <title>Uploaded avatars from far more 3D tools now animate instead of standing frozen</title>
+ <link>https://three.ws/changelog</link>
+ <guid isPermaLink="false">2026-07-29:Uploaded avatars from far more 3D tools now animate instead of standing frozen</guid>
+ <pubDate>Wed, 29 Jul 2026 12:00:00 GMT</pubDate>
+ <category>improvement</category>
+ <description>three.ws recognises an avatar's skeleton by its bone names, and every 3D tool names bones differently. When a name was not recognised the avatar still uploaded and still looked right, but it stood frozen in a T-pose, or walked while its legs stayed rigid. Rather than keep guessing which tools to support, we measured: a new audit reads the skeleton of avatars actually stored on the platform and reports exactly which ones fail and which bone names caused it. That turned up several whole families of rigs that were silently broken, and all of them now work: characters from Maya's Advanced Skeleton, Sketchfab exports, research and motion-capture tools that use the SMPL convention, Roblox and Second Life avatars, VRM converter output, and Blender rigs whose legs and finger joints were being dropped. In the lanes where people upload their own characters, the share that animate with a complete walk went from about 93% to over 98%. A small number of Blender rigs built on constraint systems still cannot be driven this way, because the constraints are discarded when the file is exported and forcing it would pull the limbs apart; those fall back to a working skeleton rather than breaking, and can be re-rigged automatically instead.</description>
+ </item>
<item>
<title>Watch your 3D model being made, live</title>
<link>https://three.ws/watch</link>
@@ -94,14 +206,6 @@
<category>fix</category>
<description>The platform wallet that pays for agent-to-agent settlements holds both USDC (to pay other agents) and a little SOL (to pay Solana network fees). An automatic balancer kept each side topped up, but when the wallet was too small to satisfy both targets at once, the two rules fought: one swapped USDC into SOL, the next run swapped it straight back, over a hundred reversing swaps in an afternoon, each one paying exchange fees for nothing. The balancer now treats the SOL fee reserve as untouchable when topping up USDC, so the tug-of-war is structurally impossible, and the balancer itself keeps running even during database-storage pressure, since skipping it is what let the fee wallet run dry earlier today.</description>
</item>
- <item>
- <title>More avatar rigs animate out of the box, including research-generated characters</title>
- <link>https://three.ws/changelog</link>
- <guid isPermaLink="false">2026-07-28:More avatar rigs animate out of the box, including research-generated characters</guid>
- <pubDate>Tue, 28 Jul 2026 12:00:00 GMT</pubDate>
- <category>improvement</category>
- <description>Avatars rigged with SMPL-style skeletons (the convention most research text-to-3D and mocap tools export, with bones named like left_hip, left_knee, left_elbow) previously uploaded fine but froze in a T-pose or slid around on stiff legs, because their bone names were not recognized. The bone matcher now understands these skeletons, correctly tells a collarbone apart from an upper arm when both share a name, and never gives two bones the same name (which could make animations grab the wrong joint). Full body animation, legs and arms included, now works for these characters the moment they are uploaded.</description>
- </item>
<item>
<title>Reliable .eth name lookups and a fixed docs link</title>
<link>https://three.ws/changelog</link>
diff --git a/tests/solana-rpc-priority-and-breaker.test.js b/tests/solana-rpc-priority-and-breaker.test.js
index 683771932..a38395308 100644
--- a/tests/solana-rpc-priority-and-breaker.test.js
+++ b/tests/solana-rpc-priority-and-breaker.test.js
@@ -5,6 +5,7 @@ import {
markEndpointCooldown,
isEndpointCooling,
hydrateEndpointCooldowns,
+ rpcLaneHealth,
} from '../api/_lib/solana/connection.js';
import { cacheGet, cacheSet, cacheDel } from '../api/_lib/cache.js';
@@ -148,6 +149,42 @@ describe('endpoint breaker — quota verdicts are shared fleet-wide', () => {
expect(isEndpointCooling(expired)).toBe(false);
});
+ it('reports the whole paid tier going dark, the blind spot that hid three exhausted plans', () => {
+ // The 2026-07-29 production state: Helius plan (-32429 max usage reached),
+ // QuickNode daily cap (-32003) and Alchemy monthly cap (429) all exhausted
+ // at once, with only the Helius sensor watching — and it read per-instance
+ // memory, so a fresh instance still reported "premium RPC healthy".
+ process.env.HELIUS_API_KEY = 'hk';
+ process.env.ALCHEMY_API_KEY = 'ak';
+ process.env.SOLANA_RPC_LAST_RESORT_URLS = 'https://paid.quiknode.pro/abc';
+
+ const before = rpcLaneHealth();
+ expect(before.paidTotal).toBe(3);
+ expect(before.allPaidCooling).toBe(false);
+
+ markEndpointCooldown('https://mainnet.helius-rpc.com/?api-key=hk', 429, 'max usage reached');
+ markEndpointCooldown('https://solana-mainnet.g.alchemy.com/v2/ak', 429, 'Monthly capacity limit exceeded');
+ markEndpointCooldown('https://paid.quiknode.pro/abc', 429, 'daily request limit reached');
+
+ const after = rpcLaneHealth();
+ expect(after.allPaidCooling).toBe(true);
+ expect(after.paidCooling).toBe(after.paidTotal);
+ // Free lanes must still be serving — degraded, never down.
+ expect(after.total - after.cooling).toBeGreaterThan(0);
+ });
+
+ it('does not call a keyless deployment degraded — no paid lanes is a valid choice', () => {
+ const h = rpcLaneHealth();
+ expect(h.paidTotal).toBe(0);
+ expect(h.allPaidCooling).toBe(false);
+ });
+
+ it('masks credentials in every lane it reports', () => {
+ process.env.HELIUS_API_KEY = 'super-secret-key';
+ const h = rpcLaneHealth();
+ expect(JSON.stringify(h.lanes)).not.toContain('super-secret-key');
+ });
+
it('a transient network blip stays local — it must not park the endpoint fleet-wide', async () => {
await cacheDel(COOLDOWN_CACHE_KEY).catch(() => {});
const blip = 'https://blippy.example/rpc';