Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
docs(changelog): record the cz claim, whale-feed staleness and custody anchor fixes
nirholas6a0226cc5586
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 1d69c3bee..4bbb913b2 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -9,11 +9,14 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Docs · Run an inference node** (`/docs/inference-node-operator`): Join the open inference network: the node-operator client registers your machine, claims inference jobs, executes them with a real open model, and returns Ed25519-signed results anyone can verify. Covers install, config, the wire contract, GPU Docker, and the local end-to-end proof.- **Docs · X memory seeding** (`/docs/x-memory-seeding`): Seed an agent's memory from your X account behind an explicit, versioned consent: only your profile and recent original public posts are read, they are distilled into short facts (never stored verbatim), and revoking consent or disconnecting X deletes every memory the grant produced.- **Reputation Staking Market** (`/reputation/market`): Stake conviction on an agent and earn from its attested action history: escrowed principal, per-epoch yield derived from signed on-chain attestations, withdraw any time.+- **Claiming the CZ agent works again**: The claim page at /cz asked you to connect a wallet and then failed with an internal error the moment it tried to issue the message you were meant to sign. The ledger it writes claims into had never been created in the live database, so every real attempt died at the first step while the page still looked healthy. That table now exists as a tracked migration, and the flow runs end to end: connect, sign one line, and the claim is recorded. The signing step is also stricter now. The one-time code you sign expires after fifteen minutes instead of being valid forever, and a claim can only be redeemed once even if two attempts land at the same instant. A rehearsal switch that showed a fake success screen without touching a wallet is gone, so what you see on the page is always the real result. (`/cz`) `[fix, security]`- **Every agent persona is now a signed, IPFS-pinned manifest anyone can verify**: Saving an agent's persona now compiles its full configuration (system prompt, voice, body, skills, on-chain identity) into a canonical manifest, signs it with the platform's ed25519 attester identity, and pins the signed envelope to IPFS. The CID lands on the agent record, so the prompt an agent actually runs is no longer a claim you have to trust: it is a document anyone can fetch from a public gateway and check. A new public endpoint, /api/manifest-verify, verifies the signature against the platform's signing key and diffs the pinned manifest against the agent's live configuration, naming every field that moved since the pin. The standalone verifier script does the same from the command line with nothing but the CID, so buyers of a forked agent can prove what behavior they are getting without asking three.ws for anything. The wire format is specified in the Agent Manifest spec's signed-envelope section. (`/agent/4c0e4d18-0544-4c95-a0db-a16896b029be`) `[feature, security]`- **Run your own inference node: the open inference network operator client is here**: Phase 4 of the roadmap (decouple agent inference from any single provider) takes its first concrete step: anyone can now run a node. The new node-operator client is a self-contained daemon that registers with the platform, claims inference jobs, executes them with a real open model (distilgpt2 via ONNX, CPU by default with a one-flag GPU image), and returns every result signed with the node's own Solana key so anyone can verify it. The proof runs end to end locally: register, claim a job, and return a cryptographically verified result, with a built-in selftest that proves the whole loop on a fresh checkout. Operators bring their own hardware; the network supplies the jobs and the on-chain receipts. This is the first piece of the bet that agent inference settles permissionlessly, closer to how blockchains settle blocks than to how today's AI APIs settle bills. (`/docs/inference-node-operator`) `[feature, infra]`- **Seed your agent's memory from your X account, with your explicit consent**: Your agent can now learn how you write from your own X account, and only after you say yes. Connect X in Settings, and the consent screen tells you exactly what is read (your profile and up to 100 of your recent original public posts), what is stored (a handful of short distilled facts about what you talk about and how you talk, never your posts themselves and never links), and what is never touched (messages, likes, bookmarks, your follower list, your credentials). Agree and the agent's next replies already speak from those facts; change your mind and revoking, or disconnecting X, deletes every memory the seed created. (`/docs/x-memory-seeding`) `[feature]`- **The Forge can now federate GPU work to the Livepeer decentralized compute network**: Text-to-3D jobs start by painting a reference image, and that GPU step can now run on the Livepeer network instead of our own lanes, behind a flag, with the same request shape and the same verification our own workers get (safety screening plus byte-level image checks before anything is stored). It ships dark: our measured probe found Livepeer's free public gateway dead at the DNS edge, so the lane goes live only after a funded Studio key lands and clears a 20-job latency, cost, and success comparison run by the new bench script. The full record and the expansion criteria are in the operator docs. `[feature, infra]`+- **The free trending and whale feeds stop going blank under their own traffic**: Ask the trending feed for the 5-minute, 1-hour and 24-hour view back to back and the last two used to come back empty, blaming an upstream outage that was not happening. The cause was our own request volume: each call pulled the trade history of twenty pump.fun coins, and three calls in a row hit pump.fun's rate limiter, which then refused everything for a while. Both feeds now read pump.fun through one shared, short-lived cache, so every window and every caller reuses a single set of pulls instead of re-fetching the same coins, and a repeat call answers in milliseconds. When the limiter does bite, the whale feed serves the last successful pull and marks it stale instead of pretending the market is empty. A token nobody is trading now also reports an honest empty result rather than a false feed-down warning. (`/docs/crypto-api`) `[fix, improvement]`- **The photo-to-avatar lane is now sized for the 10,000 avatars per day launch target**: The service that turns your selfies into a rigged 3D avatar was measured under real load and one number mattered: it was configured so the autoscaler could never see how busy it was. The service answers each request in milliseconds and does the real work in the background, so the scaling signal looked idle while its processors ground away, and no amount of extra quota would ever have added capacity. The configuration is fixed, and the lane then proved the roadmap's launch target for real: a sustained ten-minute run at the full 10,000-avatars-per-day rate finished every job, with the typical avatar ready in about six seconds and the slowest in under nine. The capacity is there when launch day brings the crowd. `[improvement, infra]`+- **The public custody anchor lookup answers a bad epoch instead of erroring out**: Anyone can look up the on-chain anchor for a Proof-of-Custody epoch at /api/custody/anchor. Ask it for an epoch number too large to be a real round and it used to fail with an internal server error, which reads like the custody service is down rather than like a typo in the request. It now answers a plain "that is not a valid epoch" for malformed input, keeps 404 for an epoch that has not happened yet, and reads the newest epoch with a single lookup instead of pulling the whole integrity aggregate it then threw away. (`/integrity`) `[fix, improvement]`- **Your agent can now learn your Farcaster voice, and only after you prove the account is yours**: Memory seeding already worked from GitHub and X; Farcaster now joins them, with consent built into the protocol itself. Farcaster has no login button we could use, so instead the account's own public record does the work: every Farcaster account publishes the wallets it controls, and you prove ownership by signing a one-time challenge with one of those wallets, Solana first. Nothing is read, let alone stored, before that signature checks out. The grant is read-only and narrow: your public profile and up to 100 recent casts, distilled into identity, facts, and your strongest posts, so the agent talks the way you talk. Changing your mind is one click: revoking the grant deletes every memory it produced, including anything an earlier grant left behind. The whole flow lives in the agent persona editor, and it works with no API key configured because the reader falls back to a public Farcaster hub. (`/docs/farcaster-memory-seeding`) `[feature, security]`## 2026-08-11diff --git a/data/changelog.json b/data/changelog.jsonindex 11496d174..f82ace279 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,36 @@{"$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-12",+ "title": "Claiming the CZ agent works again",+ "summary": "The claim page at /cz asked you to connect a wallet and then failed with an internal error the moment it tried to issue the message you were meant to sign. The ledger it writes claims into had never been created in the live database, so every real attempt died at the first step while the page still looked healthy. That table now exists as a tracked migration, and the flow runs end to end: connect, sign one line, and the claim is recorded. The signing step is also stricter now. The one-time code you sign expires after fifteen minutes instead of being valid forever, and a claim can only be redeemed once even if two attempts land at the same instant. A rehearsal switch that showed a fake success screen without touching a wallet is gone, so what you see on the page is always the real result.",+ "tags": [+ "fix",+ "security"+ ],+ "link": "/cz"+ },+ {+ "date": "2026-08-12",+ "title": "The public custody anchor lookup answers a bad epoch instead of erroring out",+ "summary": "Anyone can look up the on-chain anchor for a Proof-of-Custody epoch at /api/custody/anchor. Ask it for an epoch number too large to be a real round and it used to fail with an internal server error, which reads like the custody service is down rather than like a typo in the request. It now answers a plain \"that is not a valid epoch\" for malformed input, keeps 404 for an epoch that has not happened yet, and reads the newest epoch with a single lookup instead of pulling the whole integrity aggregate it then threw away.",+ "tags": [+ "fix",+ "improvement"+ ],+ "link": "/integrity"+ },+ {+ "date": "2026-08-12",+ "title": "The free trending and whale feeds stop going blank under their own traffic",+ "summary": "Ask the trending feed for the 5-minute, 1-hour and 24-hour view back to back and the last two used to come back empty, blaming an upstream outage that was not happening. The cause was our own request volume: each call pulled the trade history of twenty pump.fun coins, and three calls in a row hit pump.fun's rate limiter, which then refused everything for a while. Both feeds now read pump.fun through one shared, short-lived cache, so every window and every caller reuses a single set of pulls instead of re-fetching the same coins, and a repeat call answers in milliseconds. When the limiter does bite, the whale feed serves the last successful pull and marks it stale instead of pretending the market is empty. A token nobody is trading now also reports an honest empty result rather than a false feed-down warning.",+ "tags": [+ "fix",+ "improvement"+ ],+ "link": "/docs/crypto-api"+ },{"date": "2026-08-12","title": "Seed your agent's memory from your X account, with your explicit consent",diff --git a/docs/agent-abilities/wallet/20-proof-of-custody.md b/docs/agent-abilities/wallet/20-proof-of-custody.mdindex 896a25f28..d77df251f 100644--- a/docs/agent-abilities/wallet/20-proof-of-custody.md+++ b/docs/agent-abilities/wallet/20-proof-of-custody.md@@ -74,7 +74,7 @@ Anyone can also re-verify the current root at `three.ws/integrity`, and the stan- `Public Solana RPC getTransaction — api.mainnet-beta.solana.com, solana-rpc.publicnode.com, api.devnet.solana.com (browser reads the anchor directly)`- `POST /api/solana-rpc?network=… — platform RPC proxy, last-resort failover only`- `GET /api/custody/integrity — public no-auth aggregate for the /integrity page`-- `GET /api/custody/anchor?epoch=N|latest — public anchor reference for one epoch`+- `GET /api/custody/anchor?epoch=N|latest — public anchor reference for one epoch (omit the param for the newest; a non-integer or out-of-range epoch answers 400, an epoch that has not happened yet answers 404)`- `GET/POST /api/cron/custody-attest — scheduled snapshot + on-chain anchor job (bearer-secret protected)`## Relateddiff --git a/docs/crypto-api.md b/docs/crypto-api.mdindex dedce6f74..68d551ec4 100644--- a/docs/crypto-api.md+++ b/docs/crypto-api.md@@ -280,6 +280,8 @@ is thin. This endpoint is a free, high-signal read of large buys.(market scope).- **`totalSolMoved`** — total SOL across all qualifying whale buys.- **`signal`** — see the rule below.+- **`stale`**: present and `true` only when pump.fun was rate-limiting and the+ rows came from the last successful pull. Absent means live.### The signal rule (deterministic — no LLM)@@ -304,9 +306,13 @@ The implementation is `computeSignal` in### States- **No whales over threshold** → `200` with `whales: []`, `whaleCount: 0`, and- `signal: "neutral"`. Not an error.+ `signal: "neutral"`. Not an error. A quiet mint reports this, *not* an outage.- **pump.fun feed unavailable** → `200` with an empty whale set and a `note`- field. Never `500`.+ field. Never `500`. "Unavailable" means the feed call failed, never that the+ market happened to be quiet.+- **pump.fun rate-limited us** → `200` with `stale: true` alongside the normal+ body. The rows are real trades from the last successful pull (up to ten+ minutes old) rather than an empty answer; poll again shortly for live data.- **Malformed `mint` / `minSol` / `limit`** → `400` with a clear message and an`example`.- **Rate-limited** → `429` with `RateLimit-*` + `Retry-After` headers.@@ -562,6 +568,13 @@ existing scoring primitives (`scorePressure`, `summarizeWindowUsd`, `median`); s- **A source is down** → `200` with whatever ranked data is available, plus a `note`.- **Everything down** → `200` with `tokens: []`, `sources: []`, and a retry note. Never `500`.+ The same shape answers a window in which nothing qualified, so the note names both+ possibilities rather than blaming an upstream that may be healthy.+- **pump.fun rate-limited us** → the board and trade pulls are shared through a short+ cache with a last-known-good tier ([`api/_lib/pump-feed-fetch.js`](../api/_lib/pump-feed-fetch.js)),+ so consecutive calls across `5m`/`1h`/`24h` reuse one set of pulls instead of each+ re-fetching every coin and tripping the upstream limiter. Trade rows keep their own+ timestamps, so a windowed volume built from cached rows stays arithmetically honest.- **Bad `window`/`source`** → coerced to the default. **`limit` > 50** → capped at 50.- **Rate-limited** → `429` with `RateLimit-*` + `Retry-After` headers.diff --git a/public/changelog.xml b/public/changelog.xmlindex f4892e38b..f767b7d73 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -30,6 +30,14 @@<category>launch</category><description>Stake conviction on an agent and earn from its attested action history: escrowed principal, per-epoch yield derived from signed on-chain attestations, withdraw any time.</description></item>+ <item>+ <title>Claiming the CZ agent works again</title>+ <link>https://three.ws/cz</link>+ <guid isPermaLink="false">2026-08-12:Claiming the CZ agent works again</guid>+ <pubDate>Wed, 12 Aug 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>The claim page at /cz asked you to connect a wallet and then failed with an internal error the moment it tried to issue the message you were meant to sign. The ledger it writes claims into had never been created in the live database, so every real attempt died at the first step while the page still looked healthy. That table now exists as a tracked migration, and the flow runs end to end: connect, sign one line, and the claim is recorded. The signing step is also stricter now. The one-time code you sign expires after fifteen minutes instead of being valid forever, and a claim can only be redeemed once even if two attempts land at the same instant. A rehearsal switch that showed a fake success screen without touching a wallet is gone, so what you see on the page is always the real result.</description>+ </item><item><title>Every agent persona is now a signed, IPFS-pinned manifest anyone can verify</title><link>https://three.ws/agent/4c0e4d18-0544-4c95-a0db-a16896b029be</link>@@ -62,6 +70,14 @@<category>feature</category><description>Text-to-3D jobs start by painting a reference image, and that GPU step can now run on the Livepeer network instead of our own lanes, behind a flag, with the same request shape and the same verification our own workers get (safety screening plus byte-level image checks before anything is stored). It ships dark: our measured probe found Livepeer's free public gateway dead at the DNS edge, so the lane goes live only after a funded Studio key lands and clears a 20-job latency, cost, and success comparison run by the new bench script. The full record and the expansion criteria are in the operator docs.</description></item>+ <item>+ <title>The free trending and whale feeds stop going blank under their own traffic</title>+ <link>https://three.ws/docs/crypto-api</link>+ <guid isPermaLink="false">2026-08-12:The free trending and whale feeds stop going blank under their own traffic</guid>+ <pubDate>Wed, 12 Aug 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>Ask the trending feed for the 5-minute, 1-hour and 24-hour view back to back and the last two used to come back empty, blaming an upstream outage that was not happening. The cause was our own request volume: each call pulled the trade history of twenty pump.fun coins, and three calls in a row hit pump.fun's rate limiter, which then refused everything for a while. Both feeds now read pump.fun through one shared, short-lived cache, so every window and every caller reuses a single set of pulls instead of re-fetching the same coins, and a repeat call answers in milliseconds. When the limiter does bite, the whale feed serves the last successful pull and marks it stale instead of pretending the market is empty. A token nobody is trading now also reports an honest empty result rather than a false feed-down warning.</description>+ </item><item><title>The photo-to-avatar lane is now sized for the 10,000 avatars per day launch target</title><link>https://three.ws/changelog</link>@@ -70,6 +86,14 @@<category>improvement</category><description>The service that turns your selfies into a rigged 3D avatar was measured under real load and one number mattered: it was configured so the autoscaler could never see how busy it was. The service answers each request in milliseconds and does the real work in the background, so the scaling signal looked idle while its processors ground away, and no amount of extra quota would ever have added capacity. The configuration is fixed, and the lane then proved the roadmap's launch target for real: a sustained ten-minute run at the full 10,000-avatars-per-day rate finished every job, with the typical avatar ready in about six seconds and the slowest in under nine. The capacity is there when launch day brings the crowd.</description></item>+ <item>+ <title>The public custody anchor lookup answers a bad epoch instead of erroring out</title>+ <link>https://three.ws/integrity</link>+ <guid isPermaLink="false">2026-08-12:The public custody anchor lookup answers a bad epoch instead of erroring out</guid>+ <pubDate>Wed, 12 Aug 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>Anyone can look up the on-chain anchor for a Proof-of-Custody epoch at /api/custody/anchor. Ask it for an epoch number too large to be a real round and it used to fail with an internal server error, which reads like the custody service is down rather than like a typo in the request. It now answers a plain "that is not a valid epoch" for malformed input, keeps 404 for an epoch that has not happened yet, and reads the newest epoch with a single lookup instead of pulling the whole integrity aggregate it then threw away.</description>+ </item><item><title>Your agent can now learn your Farcaster voice, and only after you prove the account is yours</title><link>https://three.ws/docs/farcaster-memory-seeding</link>diff --git a/tests/api/crypto-whales-endpoint.test.js b/tests/api/crypto-whales-endpoint.test.jsindex c3ddec725..295abf997 100644--- a/tests/api/crypto-whales-endpoint.test.js+++ b/tests/api/crypto-whales-endpoint.test.js@@ -1,4 +1,4 @@-// GET /api/crypto/whales — the free whale-activity endpoint contract.+// GET /api/crypto/whales: the free whale-activity endpoint contract.//// The scan engine's pure aggregation (threshold filter, per-scope shaping, the// net-flow signal) is covered in tests/crypto-whales.test.js. Here we pin the@@ -71,7 +71,7 @@ beforeEach(() => {limits.marketDataIp.mockResolvedValue({ success: true, limit: 60, remaining: 59, reset: 0 });});-describe('GET /api/crypto/whales — scope selection', () => {+describe('GET /api/crypto/whales: scope selection', () => {it('no mint scans the market and never calls the token scan', async () => {const { res, body } = await call('/api/crypto/whales');expect(res.statusCode).toBe(200);@@ -91,7 +91,7 @@ describe('GET /api/crypto/whales — scope selection', () => {});});-describe('GET /api/crypto/whales — input validation', () => {+describe('GET /api/crypto/whales: input validation', () => {it('405s a non-GET method', async () => {const { res, body } = await call('/api/crypto/whales', 'POST');expect(res.statusCode).toBe(405);@@ -136,7 +136,7 @@ describe('GET /api/crypto/whales — input validation', () => {});});-describe('GET /api/crypto/whales — degraded + stale honesty', () => {+describe('GET /api/crypto/whales: degraded + stale honesty', () => {it('feed down → 200 with an empty set and a retry note, never a 5xx', async () => {scanMarketWhalesMock.mockResolvedValue(scanResult({ whales: [], whaleCount: 0, totalSolMoved: 0, signal: 'neutral', degraded: true }),diff --git a/tests/api/pump-feed-fetch.test.js b/tests/api/pump-feed-fetch.test.jsindex 17eec14b5..1960918eb 100644--- a/tests/api/pump-feed-fetch.test.js+++ b/tests/api/pump-feed-fetch.test.js@@ -1,4 +1,4 @@-// api/_lib/pump-feed-fetch.js — the shared pump.fun read layer behind+// api/_lib/pump-feed-fetch.js: the shared pump.fun read layer behind// /api/crypto/trending and /api/crypto/whales.//// What is pinned here is exactly what used to break in production: pump.fun sits@@ -52,7 +52,7 @@ async function withTimers(promise) {return settled;}-describe('pumpFetchJson — retry on a rate limit', () => {+describe('pumpFetchJson: retry on a rate limit', () => {it('retries once on 429 and returns the recovered body', async () => {const fetchMock = vi.fn()@@ -88,7 +88,7 @@ describe('pumpFetchJson — retry on a rate limit', () => {});});-describe('fetchPumpTrades — cache, envelopes, failure contract', () => {+describe('fetchPumpTrades: cache, envelopes, failure contract', () => {it('accepts both the array and the {trades} envelope', async () => {vi.stubGlobal('fetch', vi.fn().mockResolvedValue(jsonRes({ trades: [tradeRow] })));const wrapped = await withTimers(fetchPumpTrades(THREE, { limit: 100 }));@@ -131,7 +131,7 @@ describe('fetchPumpTrades — cache, envelopes, failure contract', () => {});});-describe('fetchPumpBoard — coin filtering + cache', () => {+describe('fetchPumpBoard: coin filtering + cache', () => {it('keeps only rows carrying a plausible mint', async () => {vi.stubGlobal('fetch', vi.fn().mockResolvedValue(jsonRes([coinRow, { mint: 'short' }, null, { symbol: 'X' }])));const out = await withTimers(fetchPumpBoard({ limit: 20 }));diff --git a/tests/crypto-whales.test.js b/tests/crypto-whales.test.jsindex 2193c8a14..633ed5fea 100644--- a/tests/crypto-whales.test.js+++ b/tests/crypto-whales.test.js@@ -133,7 +133,7 @@ describe('buildWhaleResult — empty case', () => {// endpoint prints an outage note for one of them. Conflating the two is what// made a brand-new mint with no trades look like a pump.fun outage, so the// distinction is pinned here.-describe('scanTokenWhales / scanMarketWhales — degraded + stale', () => {+describe('scanTokenWhales / scanMarketWhales: degraded + stale', () => {beforeEach(() => {fetchPumpTrades.mockReset();fetchPumpBoard.mockReset();