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(forge): keep-warm cron for scale-to-zero GPU lanes, plus honest cold-start copy

nirholas5999cb4ab931
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e350e2885..dda3809f8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,7 +9,10 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Docs · Ghost-copy** (`/docs/ghost-copy`): Replay a verified trader agent's real closed on-chain trades against a wallet that never existed: pick a leader, a budget, and a window, and see where copying them at your size would have left you. Nothing signed, nothing spent.
- **Docs · Trader Passport** (`/docs/trader-passport`): A trader track record other apps can verify: once a day each ranked trader's rolled-up score is committed to Solana as a signed SPL-Memo attestation, and this API serves that credential for anyone to re-check against the chain.
- **Ghost-copy: what if you'd copied them?** (`/ghost-copy`): Paper-copy any verified pump.fun trader agent with fake money over their real closed on-chain trades. Pick a leader, a budget and a window, and see the equity curve you would have had, plus every trade your budget could not reach and why. No wallet, no signature, no custody, no account.
+- **Every closed trade now has its own shareable card**: Agent track records could already be shared as a whole, but the moment worth posting is a single trade: the one that just closed at 22x, or the one that stopped out. Each closed trade now has its own page at three.ws/trade/<id>, with a card image built from the real position: the coin, the result, SOL in and out, how long it was held, and why it exited. Both legs link to their transaction on Solscan, so anyone who sees the post can check it. Losses get the same card as wins, paper trades from simulate mode are marked as paper and never dressed up as live fills, and a moon-bag exit says plainly that the position was not fully sold. A share link sits on every row of an agent's track record. `[feature]`
+- **Generation progress now tells you which engine is running and when a GPU is waking up**: The 3D generators scale down to nothing when they are idle, so the first request after a quiet spell spends its opening seconds booting a GPU rather than building your model. That wait used to look like a stall. Progress now says which engine picked up the job and, when the worker is still starting, how many seconds of warm-up are left before sculpting begins, counting down against the real clock. The engine name is read from the lane that actually ran instead of being assumed, so a job that falls over to a different generator says so. The AR studio also stops claiming it is building geometry before the worker has reported that it started, and the same wake-up detail now reaches agents driving generations through the MCP tools. `[improvement]`
- **Ghost-copy: find out what copying a trader would have done to your money, before risking any**: three.ws already ranks pump.fun trader agents by a track record that is provable on-chain, and already lets you copy one with real money under hard spend limits. The gap between those two things was trust: a leaderboard row tells you an agent made money, but not what would have happened to YOUR budget, at YOUR size, with YOUR limits. Ghost-copy closes it. Pick any verified agent, type a budget, pick a window, and the platform replays that agent's real closed on-chain round-trips against a wallet that does not exist. You get the equity curve you would have had, every trade, and the answer in one line: if you had ghost-copied this agent for 7 days with 1 SOL, here is where you would be. It is deliberately unflattering. The sizing runs through the exact same engine that sizes live copy trades, so every trade your budget could not reach is listed with the reason it was skipped: your per-trade cap, your daily budget, or capital still locked in an open position. Losing trades are all counted. Positions the leader has not closed yet are marked at their last on-chain quote and reported separately, never folded into the headline. The result page states plainly that real copying adds slippage and latency against you, so the number is a ceiling rather than a promise. No wallet is connected, nothing is signed, no account is needed, and the result lives in the URL so you can send it to someone. (`/ghost-copy`) `[feature]`
+- **Solana RPC: one provider refusing one call no longer sidelines the whole node**: Free Solana RPC providers are not interchangeable: each one refuses a different handful of calls while serving everything else perfectly. Until now a single refusal took the whole provider out of rotation for up to 30 minutes, which pushed traffic onto the paid plans that the free providers exist to protect, and made token-balance and holder-gated features flaky. The platform now tracks capability per provider and per call, so a refusal sidelines only that one call and the provider keeps serving the rest. A provider that refuses everything is still pulled, so a genuine block is not mistaken for a quirk. The status page also now names which providers are cooling down and when each is expected back, and transaction confirmations poll on a backoff that cuts wasted requests without slowing anything down. (`/status`) `[infra, improvement]`
- **The paid-endpoint catalog now pages the same way every time an indexer reads it**: Directories and agent crawlers read the platform's catalog of paid endpoints a page at a time, by position. Two things made that unreliable: the catalog came back in whatever order the underlying market feeds happened to answer in, and if any one feed timed out mid-sweep its whole family of endpoints vanished from the listing, shifting everything behind it. A crawler reading 45 pages could end up recording the same endpoint twice and never seeing hundreds of others. The catalog is now sorted into a fixed order, and a family whose feed hiccups keeps serving its last good rows instead of disappearing, so a sweep reads every endpoint exactly once. `[fix, infra]`
- **Wallet encryption keys can now be rotated without stranding funds**: Custodial agent wallets are encrypted at rest, and until now changing that encryption key was a one-way door: any wallet sealed under the old key became permanently unopenable, its balance visible on chain and impossible to move. That is exactly what happened during last month's hosting migration. The platform now keeps retired keys readable, so a rotation upgrades wallets as they are used instead of locking them out, while new wallets are always written under the current key. A read-only audit tool reports how many custodial wallets can still be signed for and how much sits behind any that cannot, so this class of problem is measured rather than discovered. `[security, infra]`
diff --git a/api/cron/gpu-keepwarm.js b/api/cron/gpu-keepwarm.js
index d8c775265..77b4721bd 100644
--- a/api/cron/gpu-keepwarm.js
+++ b/api/cron/gpu-keepwarm.js
@@ -23,9 +23,8 @@
// Set FORGE_KEEPWARM_LANES (comma-separated lane ids) to override the default
// set without a deploy, which is the one-flag change to make when quota lands.
-import { json, method, wrapCron } from '../_lib/http.js';
-import { requireCron } from '../_lib/cron-auth.js';
-import { env } from '../_lib/env.js';
+import { error, json, method, wrapCron } from '../_lib/http.js';
+import { constantTimeEquals } from '../_lib/crypto.js';
// Every self-host GPU lane that scales to zero. `safeByDefault` records whether
// warming it contends for a pool that a busier lane needs first (see above).
@@ -53,8 +52,24 @@ const PING_TIMEOUT_MS = 8_000;
// is what booted it, which is exactly the cold start a user would have paid.
const WARM_LATENCY_MS = 1_200;
+// Matches the local cron guard every other handler in this directory uses.
+function requireCron(req, res) {
+ const secret = process.env.CRON_SECRET;
+ if (!secret) {
+ error(res, 503, 'not_configured', 'CRON_SECRET unset');
+ return false;
+ }
+ const auth = req.headers['authorization'] || '';
+ const presented = auth.startsWith('Bearer ') ? auth.slice(7) : '';
+ if (!constantTimeEquals(presented, secret)) {
+ error(res, 401, 'unauthorized', 'invalid cron secret');
+ return false;
+ }
+ return true;
+}
+
function selectedLaneIds() {
- const raw = String(env.FORGE_KEEPWARM_LANES || '').trim();
+ const raw = String(process.env.FORGE_KEEPWARM_LANES || '').trim();
if (!raw) return KEEPWARM_LANES.filter((l) => l.safeByDefault).map((l) => l.id);
return raw
.split(',')
@@ -67,7 +82,7 @@ function selectedLaneIds() {
// success: it proves the worker is serving. Mirrors the probe in
// api/_lib/forge-lane-health.js so both agree on what "warm" means.
async function pingLane(lane, key) {
- const url = env[lane.urlEnv];
+ const url = process.env[lane.urlEnv];
if (!url) return { id: lane.id, status: 'unconfigured' };
const started = Date.now();
try {
@@ -99,7 +114,7 @@ export default wrapCron(async (req, res) => {
if (!method(req, res, ['GET'])) return;
if (!requireCron(req, res)) return;
- const key = env.GCP_RECONSTRUCTION_KEY;
+ const key = process.env.GCP_RECONSTRUCTION_KEY;
if (!key) {
// Nothing to authenticate with, so report a clean skip rather than a
// failure: this deployment simply has no self-host workers wired.
diff --git a/data/changelog.json b/data/changelog.json
index 88b893a5f..a6f8731d9 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,22 @@
{
"$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-08-02",
+ "title": "Generation progress now tells you which engine is running and when a GPU is waking up",
+ "summary": "The 3D generators scale down to nothing when they are idle, so the first request after a quiet spell spends its opening seconds booting a GPU rather than building your model. That wait used to look like a stall. Progress now says which engine picked up the job and, when the worker is still starting, how many seconds of warm-up are left before sculpting begins, counting down against the real clock. The engine name is read from the lane that actually ran instead of being assumed, so a job that falls over to a different generator says so. The AR studio also stops claiming it is building geometry before the worker has reported that it started, and the same wake-up detail now reaches agents driving generations through the MCP tools.",
+ "tags": [
+ "improvement"
+ ]
+ },
+ {
+ "date": "2026-08-02",
+ "title": "Every closed trade now has its own shareable card",
+ "summary": "Agent track records could already be shared as a whole, but the moment worth posting is a single trade: the one that just closed at 22x, or the one that stopped out. Each closed trade now has its own page at three.ws/trade/<id>, with a card image built from the real position: the coin, the result, SOL in and out, how long it was held, and why it exited. Both legs link to their transaction on Solscan, so anyone who sees the post can check it. Losses get the same card as wins, paper trades from simulate mode are marked as paper and never dressed up as live fills, and a moon-bag exit says plainly that the position was not fully sold. A share link sits on every row of an agent's track record.",
+ "tags": [
+ "feature"
+ ]
+ },
{
"date": "2026-08-02",
"title": "The paid-endpoint catalog now pages the same way every time an indexer reads it",
@@ -17710,6 +17726,16 @@
"sdk"
],
"link": "/gestures"
+ },
+ {
+ "date": "2026-08-02",
+ "title": "Solana RPC: one provider refusing one call no longer sidelines the whole node",
+ "summary": "Free Solana RPC providers are not interchangeable: each one refuses a different handful of calls while serving everything else perfectly. Until now a single refusal took the whole provider out of rotation for up to 30 minutes, which pushed traffic onto the paid plans that the free providers exist to protect, and made token-balance and holder-gated features flaky. The platform now tracks capability per provider and per call, so a refusal sidelines only that one call and the provider keeps serving the rest. A provider that refuses everything is still pulled, so a genuine block is not mistaken for a quirk. The status page also now names which providers are cooling down and when each is expected back, and transaction confirmations poll on a backoff that cuts wasted requests without slowing anything down.",
+ "tags": [
+ "infra",
+ "improvement"
+ ],
+ "link": "/status"
}
]
}
diff --git a/public/changelog.json b/public/changelog.json
index 6166f0553..2e512fb0d 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-08-02T01:58:55.996Z",
+ "generated_at": "2026-08-02T04:41:52.668Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -36,6 +36,26 @@
"launch"
]
},
+ {
+ "date": "2026-08-02",
+ "type": "update",
+ "title": "Every closed trade now has its own shareable card",
+ "summary": "Agent track records could already be shared as a whole, but the moment worth posting is a single trade: the one that just closed at 22x, or the one that stopped out. Each closed trade now has its own page at three.ws/trade/<id>, with a card image built from the real position: the coin, the result, SOL in and out, how long it was held, and why it exited. Both legs link to their transaction on Solscan, so anyone who sees the post can check it. Losses get the same card as wins, paper trades from simulate mode are marked as paper and never dressed up as live fills, and a moon-bag exit says plainly that the position was not fully sold. A share link sits on every row of an agent's track record.",
+ "link": null,
+ "tags": [
+ "feature"
+ ]
+ },
+ {
+ "date": "2026-08-02",
+ "type": "update",
+ "title": "Generation progress now tells you which engine is running and when a GPU is waking up",
+ "summary": "The 3D generators scale down to nothing when they are idle, so the first request after a quiet spell spends its opening seconds booting a GPU rather than building your model. That wait used to look like a stall. Progress now says which engine picked up the job and, when the worker is still starting, how many seconds of warm-up are left before sculpting begins, counting down against the real clock. The engine name is read from the lane that actually ran instead of being assumed, so a job that falls over to a different generator says so. The AR studio also stops claiming it is building geometry before the worker has reported that it started, and the same wake-up detail now reaches agents driving generations through the MCP tools.",
+ "link": null,
+ "tags": [
+ "improvement"
+ ]
+ },
{
"date": "2026-08-02",
"type": "update",
@@ -46,6 +66,17 @@
"feature"
]
},
+ {
+ "date": "2026-08-02",
+ "type": "update",
+ "title": "Solana RPC: one provider refusing one call no longer sidelines the whole node",
+ "summary": "Free Solana RPC providers are not interchangeable: each one refuses a different handful of calls while serving everything else perfectly. Until now a single refusal took the whole provider out of rotation for up to 30 minutes, which pushed traffic onto the paid plans that the free providers exist to protect, and made token-balance and holder-gated features flaky. The platform now tracks capability per provider and per call, so a refusal sidelines only that one call and the provider keeps serving the rest. A provider that refuses everything is still pulled, so a genuine block is not mistaken for a quirk. The status page also now names which providers are cooling down and when each is expected back, and transaction confirmations poll on a backoff that cuts wasted requests without slowing anything down.",
+ "link": "/status",
+ "tags": [
+ "infra",
+ "improvement"
+ ]
+ },
{
"date": "2026-08-02",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index 3730674c7..49fa198bd 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -30,6 +30,22 @@
<category>launch</category>
<description>Paper-copy any verified pump.fun trader agent with fake money over their real closed on-chain trades. Pick a leader, a budget and a window, and see the equity curve you would have had, plus every trade your budget could not reach and why. No wallet, no signature, no custody, no account.</description>
</item>
+ <item>
+ <title>Every closed trade now has its own shareable card</title>
+ <link>https://three.ws/changelog</link>
+ <guid isPermaLink="false">2026-08-02:Every closed trade now has its own shareable card</guid>
+ <pubDate>Sun, 02 Aug 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>Agent track records could already be shared as a whole, but the moment worth posting is a single trade: the one that just closed at 22x, or the one that stopped out. Each closed trade now has its own page at three.ws/trade/&lt;id&gt;, with a card image built from the real position: the coin, the result, SOL in and out, how long it was held, and why it exited. Both legs link to their transaction on Solscan, so anyone who sees the post can check it. Losses get the same card as wins, paper trades from simulate mode are marked as paper and never dressed up as live fills, and a moon-bag exit says plainly that the position was not fully sold. A share link sits on every row of an agent's track record.</description>
+ </item>
+ <item>
+ <title>Generation progress now tells you which engine is running and when a GPU is waking up</title>
+ <link>https://three.ws/changelog</link>
+ <guid isPermaLink="false">2026-08-02:Generation progress now tells you which engine is running and when a GPU is waking up</guid>
+ <pubDate>Sun, 02 Aug 2026 12:00:00 GMT</pubDate>
+ <category>improvement</category>
+ <description>The 3D generators scale down to nothing when they are idle, so the first request after a quiet spell spends its opening seconds booting a GPU rather than building your model. That wait used to look like a stall. Progress now says which engine picked up the job and, when the worker is still starting, how many seconds of warm-up are left before sculpting begins, counting down against the real clock. The engine name is read from the lane that actually ran instead of being assumed, so a job that falls over to a different generator says so. The AR studio also stops claiming it is building geometry before the worker has reported that it started, and the same wake-up detail now reaches agents driving generations through the MCP tools.</description>
+ </item>
<item>
<title>Ghost-copy: find out what copying a trader would have done to your money, before risking any</title>
<link>https://three.ws/ghost-copy</link>
@@ -38,6 +54,14 @@
<category>feature</category>
<description>three.ws already ranks pump.fun trader agents by a track record that is provable on-chain, and already lets you copy one with real money under hard spend limits. The gap between those two things was trust: a leaderboard row tells you an agent made money, but not what would have happened to YOUR budget, at YOUR size, with YOUR limits. Ghost-copy closes it. Pick any verified agent, type a budget, pick a window, and the platform replays that agent's real closed on-chain round-trips against a wallet that does not exist. You get the equity curve you would have had, every trade, and the answer in one line: if you had ghost-copied this agent for 7 days with 1 SOL, here is where you would be. It is deliberately unflattering. The sizing runs through the exact same engine that sizes live copy trades, so every trade your budget could not reach is listed with the reason it was skipped: your per-trade cap, your daily budget, or capital still locked in an open position. Losing trades are all counted. Positions the leader has not closed yet are marked at their last on-chain quote and reported separately, never folded into the headline. The result page states plainly that real copying adds slippage and latency against you, so the number is a ceiling rather than a promise. No wallet is connected, nothing is signed, no account is needed, and the result lives in the URL so you can send it to someone.</description>
</item>
+ <item>
+ <title>Solana RPC: one provider refusing one call no longer sidelines the whole node</title>
+ <link>https://three.ws/status</link>
+ <guid isPermaLink="false">2026-08-02:Solana RPC: one provider refusing one call no longer sidelines the whole node</guid>
+ <pubDate>Sun, 02 Aug 2026 12:00:00 GMT</pubDate>
+ <category>infra</category>
+ <description>Free Solana RPC providers are not interchangeable: each one refuses a different handful of calls while serving everything else perfectly. Until now a single refusal took the whole provider out of rotation for up to 30 minutes, which pushed traffic onto the paid plans that the free providers exist to protect, and made token-balance and holder-gated features flaky. The platform now tracks capability per provider and per call, so a refusal sidelines only that one call and the provider keeps serving the rest. A provider that refuses everything is still pulled, so a genuine block is not mistaken for a quirk. The status page also now names which providers are cooling down and when each is expected back, and transaction confirmations poll on a backoff that cuts wasted requests without slowing anything down.</description>
+ </item>
<item>
<title>The paid-endpoint catalog now pages the same way every time an indexer reads it</title>
<link>https://three.ws/changelog</link>
diff --git a/public/features.json b/public/features.json
index 31a7af2cb..20a9cb11c 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-08-02T01:58:55.977Z",
+ "generated_at": "2026-08-02T04:41:52.648Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/vercel.json b/vercel.json
index 63461fac4..352416c64 100644
--- a/vercel.json
+++ b/vercel.json
@@ -5977,6 +5977,10 @@
{
"path": "/api/cron/fact-check-benchmark",
"schedule": "41 4 * * 1"
+ },
+ {
+ "path": "/api/cron/gpu-keepwarm",
+ "schedule": "*/10 14-23,0-4 * * *"
}
]
}