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
chore(build): regenerate the holder feeds and retire the x402 work order
nirholascf7f6554080d
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3633dd68c..8eeaee125 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -37,6 +37,8 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Recurring agent payments keep their place when the database has a brief wobble**: The scheduled job that charges recurring agent subscriptions treated every database problem the same way. If it could not read the list of subscriptions that were due, it answered with a hard error, and because the job is driven once a minute, a short database hiccup turned into a steady stream of failures and left the subscription engine looking permanently broken on the platform status readout. Every other scheduled job already tells the difference between a passing connection problem, which is worth quietly waiting out, and a genuine fault in the query itself, which is worth reporting loudly. This one now does the same: a brief connection wobble is recorded as a skipped run and the next minute resumes exactly where it left off, while a real fault still surfaces in full. No charge is created, repeated, or missed because of the change, and subscriptions that came due during the wobble are collected as soon as the connection returns. `[fix, infra]`- **Recurring payments now have a home, a pause button, and a receipt for every charge**: Sign one permission and a fixed amount of USDC moves to an agent every day or week, or gets swapped into a token on a schedule. Until now there was no page for any of that: you could start a schedule from a skill and then never see it again, and one bad hour on the network ended it for good, because nothing could turn a paused schedule back on. The new /recurring page is the whole life of a schedule in one place. Create one, pause it, resume it, cancel it, and read every charge it has ever made with the transaction hash next to it. A second tab shows what is being paid into your own agents, with the paying wallet and the running total. When a period fails you now get told why, in a sentence: a revoked permission pauses the schedule and says so, a wallet short of USDC keeps the schedule alive and retries once you top up, and a charge that timed out is never retried at all, because that is the one case that could take your money twice. (`/recurring`) `[feature, improvement]`- **Removing a skill price works again, price edits reach buyers instantly, and a withdrawal cannot pay an address you replaced**: Three fixes to the creator monetization tools. The Remove button on a skill price did nothing: the dashboard addressed the row in the web address while the API only read it from the request body, so every click came back as an error. Price changes were also invisible to buyers for up to an hour, because the cached catalog the agent embed reads its paid-skill gate from was never refreshed after an edit, leaving the old amount on offer and keeping a removed skill locked. And a payout address saved on an EVM chain could be shadowed by an older address stored under the earlier chain label, so a withdrawal could land on the address you had just replaced. Saving a new EVM address now retires the old one across the whole rail. (`/dashboard/monetize`) `[fix]`+- **Revoking an agent's spending permission is now noticed on every chain, not just the first one**: The indexer that watches for a revoked or spent agent permission walks six chains on every run, under a single shared time budget. Ethereum mainnet is first in that list and by far the slowest, because its nodes will only answer 25 blocks of history at a time, so it routinely used the whole budget before any other chain was reached. A chain that indexes nothing also never records how far it got, so on the next run it started over from the current chain tip: the later chains, Base included, were not merely slow, they never made progress at all, and a revocation there could stay unnoticed indefinitely. Each chain now gets its own share of the budget, whichever chain goes first rotates on every run, and a run reports which chains it reached instead of reporting an empty scan as a completed one. `[fix, infra]`+- **Scheduled X posts actually get published, and a draft you already approved leaves the review queue**: A post you schedule is stored in one table, and two generations of that table had been declared in the codebase with different column names. Which one a given database ended up with came down to whichever definition it happened to run first, and nothing forced the issue, so it could silently be the wrong one. On a database that got the wrong one, the job that publishes due posts failed the instant it started, every minute, and the schedule panel itself errored on load: nothing you queued was ever posted and you could not see the queue to find out. The table is now reconciled to the shape the app reads, from either starting point, and any post an older database had already sent is carried across so the publisher does not send it a second time. The approve-and-reject queue behind Draft with AI had the same split, where a draft you had already resolved could sit in the pending list forever, and it is fixed the same way. `[fix]`- **Sharing a build now checks that the coin world you are sharing to is real**: When you screenshot a voxel build in a coin's /play world and share it, the build is filed under that coin's address. The endpoint only checked that the address was the right length, not that it was an address at all, so anything between 32 and 64 characters was accepted and filed away under its own storage slot. It now checks the format the way every other coin-world surface does: a Solana mint or an EVM contract address gets through, anything else is turned away before it reaches storage. Real worlds are unaffected, on both Solana and the EVM chains. The live event board picked up its own test coverage in the same pass, including a check that a player's account key never appears in what the board sends to the browser. (`/play`) `[security, fix]`- **The $THREE holder count is back on the token page and its share card**: The holder count on the /three-token page, and on the badge image that previews wherever a $THREE link is shared, had been showing a dash instead of a number. Our own holder snapshot is rebuilt from a Solana indexer that has been refusing the scan, and once the snapshot went stale the page correctly declined to show an out-of-date figure, so the count simply disappeared rather than being briefly missing. Holder count now falls back to a second, independent source when our snapshot cannot refresh, so the figure stays real and current through an indexer outage. The share card was also reading a narrower set of sources than the page it mirrors, which is why the two could disagree; both now read the same ones. Separately, a shared agent link unfurls noticeably faster: the card was fetching the agent's portrait only after every other lookup had finished, and now fetches it alongside them. (`/three-token`) `[fix, improvement]`- **The agent directory describes itself correctly in all 84 languages again**: The English description Google and every social preview show for the agent directory was updated a while back to say the directory spans Solana and every supported EVM chain. The 84 translated versions were never updated with it, so a reader in Spanish, Japanese, Arabic or any other language got the older, vaguer line that named no chain at all. All 84 now carry the current wording, with Solana and three.ws left in their real spelling rather than bent to fit each language's grammar. Retired copy was cleared out at the same time: eight strings that no page shows anymore had been sitting in every one of the 84 catalogs, which is 672 dead entries the site was shipping to readers for no reason. (`/agents`) `[fix, docs]`diff --git a/data/changelog.json b/data/changelog.jsonindex da0b9e5b5..e3336764c 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,23 @@{"$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-14",+ "title": "Scheduled X posts actually get published, and a draft you already approved leaves the review queue",+ "summary": "A post you schedule is stored in one table, and two generations of that table had been declared in the codebase with different column names. Which one a given database ended up with came down to whichever definition it happened to run first, and nothing forced the issue, so it could silently be the wrong one. On a database that got the wrong one, the job that publishes due posts failed the instant it started, every minute, and the schedule panel itself errored on load: nothing you queued was ever posted and you could not see the queue to find out. The table is now reconciled to the shape the app reads, from either starting point, and any post an older database had already sent is carried across so the publisher does not send it a second time. The approve-and-reject queue behind Draft with AI had the same split, where a draft you had already resolved could sit in the pending list forever, and it is fixed the same way.",+ "tags": [+ "fix"+ ]+ },+ {+ "date": "2026-08-14",+ "title": "Revoking an agent's spending permission is now noticed on every chain, not just the first one",+ "summary": "The indexer that watches for a revoked or spent agent permission walks six chains on every run, under a single shared time budget. Ethereum mainnet is first in that list and by far the slowest, because its nodes will only answer 25 blocks of history at a time, so it routinely used the whole budget before any other chain was reached. A chain that indexes nothing also never records how far it got, so on the next run it started over from the current chain tip: the later chains, Base included, were not merely slow, they never made progress at all, and a revocation there could stay unnoticed indefinitely. Each chain now gets its own share of the budget, whichever chain goes first rotates on every run, and a run reports which chains it reached instead of reporting an empty scan as a completed one.",+ "tags": [+ "fix",+ "infra"+ ]+ },{"date": "2026-08-14","title": "The Smart Money Radar stops going blank when pump.fun rate-limits us",diff --git a/prompts/swarm-100/api-x402-05.md b/prompts/swarm-100/api-x402-05.mddeleted file mode 100644index 2a371751a..000000000--- a/prompts/swarm-100/api-x402-05.md+++ /dev/null@@ -1,110 +0,0 @@-# API audit: api/x402 batch 05 (10 files)--How to run: paste this file's repo path into a fresh Claude Code chat in this-repository and say "run this work order". This file is fully self-contained:-it depends on no other prompt file anywhere. If neighboring files in-prompts/swarm-100/ are gone, that work is done; if present, ignore them.-Every claim below rots; step 0 re-measures, and what you measure wins.--## Operating clause (binding)--- Read CLAUDE.md first. Its rules override everything, including this file.-- Finish 100% in this session. Never end the turn with a question, an option- list, or an unexecuted plan. A judgment call goes in one line of the final- report; it never becomes a question that halts work.-- The only permitted stops are the CLAUDE.md stop-and-ask gates: spending real- funds or any irreversible on-chain write, git push or a production deploy,- committing content that references a crypto project other than $THREE, and- destroying unrecoverable data.-- No mocks, no fake data, no placeholder stubs, no unfinished-work markers, no- commented-out code. Real APIs and real integrations only.-- The em-dash and en-dash characters are banned in everything you write.-- Concurrent agents share this worktree: stage explicit paths only (never a- bare add-everything), and commit finished work promptly.-- Before committing, run: npm run check:rules -- --paths <files you touched>.- It must exit 0.--## Step 0: re-derive the current state--1. Confirm each file below still exists; deleted ones are done, skip them.-2. For each, decide routability: grep its path in vercel.json and read how- server/index.mjs maps filesystem handlers. Routed files get an endpoint- audit; internal modules get a code and test audit.-3. Start a local server for endpoint checks: node server/index.mjs with .env- loaded, on a free PORT if 3000 is busy.--## Task: audit these api files, then fix everything found--Files in this batch:--- api/x402/market-gas.js-- api/x402/market-global.js-- api/x402/market-hacks.js-- api/x402/market-heatmap.js-- api/x402/market-mood.js-- api/x402/market-pulse.js-- api/x402/market-stablecoins.js-- api/x402/market-trending.js-- api/x402/market-yields.js-- api/x402/market.js--For every routed handler:--1. Exercise it with curl against the local server: the success path returns- real data with the correct status; malformed input returns a 4xx JSON- error, never a stack trace or an HTML error page; auth is enforced where- the code intends it; CORS matches neighboring handlers.-2. Hard-rule scan: no mock fallbacks, no fake-data arrays, no stubbed- responses, no unfinished markers. Errors are handled at the boundary and- internal code trusts itself.-3. Do not spend funds or sign anything on-chain while probing. Payment and- trading handlers get their validation and error paths exercised, never a- live settlement.--For every internal (non-routed) module:--4. Something must import it; if nothing does, delete it as dead code (verify- with a repo-wide grep first).-5. Its main path and one failure path must be covered in tests/; add the- missing test if not.--## Definition of done--- [ ] Every listed file has recorded evidence: a curl transcript for routed- handlers, a passing test or a deletion for internal modules.-- [ ] Zero hard-rule violations remain in these files.-- [ ] vitest run passes; npm run check:rules -- --paths <touched files>- exits 0.--## Never blocked--| Blocker | Resolution (act, do not ask) |-|---|---|-| Missing env var or credential | Check .env and .env.local, then the Cloud Run service env, then Secret Manager (the CLAUDE.md self-unblock playbook has the exact commands). If it truly exists nowhere, wire the code fully behind the env var, prove the wiring with a dry run, and name the single missing var in the report. |-| gcloud not on PATH | Run: export PATH="$HOME/google-cloud-sdk/bin:$PATH" |-| Dev server port 3000 busy | Another agent may be serving this repo; probe it and reuse if so. Otherwise start your own on a free port: npx vite --port 3101 |-| Playwright browser missing | npx playwright install chromium |-| A surface needs a signed-in user | Register a fresh account through the real /register flow against the real API and use it. Never mock the session. |-| A defect sits in code you did not touch | Fix it if it blocks a Definition of done line (root cause it, never mask it). Otherwise note it in the report and continue. |-| An unrelated test is red | Same rule. Never pipe npm test through tail; it masks exit codes. |--## Close out (required)--1. Verify every Definition of done line with the actual command output in- front of you. Never claim a line you did not verify.-2. Commit with explicit paths and a subject that describes the diff (house- style: type(scope): what changed and why a reader cares).-3. Delete this prompt file in that same commit:-- git rm prompts/swarm-100/api-x402-05.md-- The shrinking directory is this campaign's only progress ledger; there is- no progress log to update.-4. Final report: what step 0 measured, what changed (file list), evidence per- Definition of done line, and any one-line judgment calls. No trailing- questions, no unexecuted plans.--If a line genuinely cannot pass inside this session (an external party must-respond, or an owner-gated action is the final step), finish everything else,-leave this file in place, and state exactly which line remains and who owns-it. Never delete this file on a partial.diff --git a/public/changelog.json b/public/changelog.jsonindex 3e5fe8443..9696e18b8 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-08-14T06:07:47.190Z",+ "generated_at": "2026-08-14T06:09:52.979Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -337,6 +337,27 @@"fix"]},+ {+ "date": "2026-08-14",+ "type": "update",+ "title": "Revoking an agent's spending permission is now noticed on every chain, not just the first one",+ "summary": "The indexer that watches for a revoked or spent agent permission walks six chains on every run, under a single shared time budget. Ethereum mainnet is first in that list and by far the slowest, because its nodes will only answer 25 blocks of history at a time, so it routinely used the whole budget before any other chain was reached. A chain that indexes nothing also never records how far it got, so on the next run it started over from the current chain tip: the later chains, Base included, were not merely slow, they never made progress at all, and a revocation there could stay unnoticed indefinitely. Each chain now gets its own share of the budget, whichever chain goes first rotates on every run, and a run reports which chains it reached instead of reporting an empty scan as a completed one.",+ "link": null,+ "tags": [+ "fix",+ "infra"+ ]+ },+ {+ "date": "2026-08-14",+ "type": "update",+ "title": "Scheduled X posts actually get published, and a draft you already approved leaves the review queue",+ "summary": "A post you schedule is stored in one table, and two generations of that table had been declared in the codebase with different column names. Which one a given database ended up with came down to whichever definition it happened to run first, and nothing forced the issue, so it could silently be the wrong one. On a database that got the wrong one, the job that publishes due posts failed the instant it started, every minute, and the schedule panel itself errored on load: nothing you queued was ever posted and you could not see the queue to find out. The table is now reconciled to the shape the app reads, from either starting point, and any post an older database had already sent is carried across so the publisher does not send it a second time. The approve-and-reject queue behind Draft with AI had the same split, where a draft you had already resolved could sit in the pending list forever, and it is fixed the same way.",+ "link": null,+ "tags": [+ "fix"+ ]+ },{"date": "2026-08-14","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex aa02f6dd5..972b5ef98 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -254,6 +254,22 @@<category>fix</category><description>Three fixes to the creator monetization tools. The Remove button on a skill price did nothing: the dashboard addressed the row in the web address while the API only read it from the request body, so every click came back as an error. Price changes were also invisible to buyers for up to an hour, because the cached catalog the agent embed reads its paid-skill gate from was never refreshed after an edit, leaving the old amount on offer and keeping a removed skill locked. And a payout address saved on an EVM chain could be shadowed by an older address stored under the earlier chain label, so a withdrawal could land on the address you had just replaced. Saving a new EVM address now retires the old one across the whole rail.</description></item>+ <item>+ <title>Revoking an agent's spending permission is now noticed on every chain, not just the first one</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-08-14:Revoking an agent's spending permission is now noticed on every chain, not just the first one</guid>+ <pubDate>Fri, 14 Aug 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>The indexer that watches for a revoked or spent agent permission walks six chains on every run, under a single shared time budget. Ethereum mainnet is first in that list and by far the slowest, because its nodes will only answer 25 blocks of history at a time, so it routinely used the whole budget before any other chain was reached. A chain that indexes nothing also never records how far it got, so on the next run it started over from the current chain tip: the later chains, Base included, were not merely slow, they never made progress at all, and a revocation there could stay unnoticed indefinitely. Each chain now gets its own share of the budget, whichever chain goes first rotates on every run, and a run reports which chains it reached instead of reporting an empty scan as a completed one.</description>+ </item>+ <item>+ <title>Scheduled X posts actually get published, and a draft you already approved leaves the review queue</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-08-14:Scheduled X posts actually get published, and a draft you already approved leaves the review queue</guid>+ <pubDate>Fri, 14 Aug 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>A post you schedule is stored in one table, and two generations of that table had been declared in the codebase with different column names. Which one a given database ended up with came down to whichever definition it happened to run first, and nothing forced the issue, so it could silently be the wrong one. On a database that got the wrong one, the job that publishes due posts failed the instant it started, every minute, and the schedule panel itself errored on load: nothing you queued was ever posted and you could not see the queue to find out. The table is now reconciled to the shape the app reads, from either starting point, and any post an older database had already sent is carried across so the publisher does not send it a second time. The approve-and-reject queue behind Draft with AI had the same split, where a draft you had already resolved could sit in the pending list forever, and it is fixed the same way.</description>+ </item><item><title>Sharing a build now checks that the coin world you are sharing to is real</title><link>https://three.ws/play</link>diff --git a/public/features.json b/public/features.jsonindex d6ac7949b..11f9bde1a 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-08-14T06:07:46.961Z",+ "generated_at": "2026-08-14T06:09:52.762Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/scripts/x-archive-analyze.mjs b/scripts/x-archive-analyze.mjsindex dfebc9814..21bd5d83c 100644--- a/scripts/x-archive-analyze.mjs+++ b/scripts/x-archive-analyze.mjs@@ -244,10 +244,19 @@ Generated by \`npm run x:archive:analyze\` from the post archive in [data/x-arch- **Source:** ${meta.origin} (${meta.sources.join(', ') || 'n/a'})- **Generated:** ${meta.generatedAt}-- **Corpus:** ${num(g.analyzed)} posts written by @${report.handle}, ${g.firstPostAt?.slice(0, 10)} to ${g.lastPostAt?.slice(0, 10)}. ${num(g.retweetsExcluded)} reposts and quotes of other accounts are archived but excluded from every number below: they carry the original author's engagement, not ours.+- **Corpus:** ${num(g.analyzed)} posts written by @${report.handle}, ${g.firstPostAt?.slice(0, 10)} to ${g.lastPostAt?.slice(0, 10)}.+- **Excluded:** ${num(g.retweetsExcluded)} reposts and quotes of other accounts (they carry the original author's engagement, not ours) and ${num(g.suspectExcluded)} of our own posts whose scraped like count is not believable (see the data-quality note below).- **Engagements** here means likes + reposts + replies. Views measure delivery, engagements measure whether anyone cared.- **View counts are rounded by X itself** past 999 ("6.3K"), so every rate below carries about two significant figures. Exact counts under 1,000 are exact.+### Data quality++${num(g.suspectExcluded)} of ${num(g.ownPosts)} own posts came back with 0 likes despite real reach or replies, which the timeline scraper does when the like counter has not rendered yet. They are archived but left out of every measurement here rather than dragging the medians down. Highest-reach examples:++${(g.suspectSample || []).map((s) => `- [${s.postedAt.slice(0, 10)}](${s.url}) - ${num(s.views)} views, ${num(s.replies)} replies, 0 likes recorded`).join('\n') || '- none'}++Fix: \`npm run x:archive:refresh\` pulls exact counts for every archived post straight from the X API (needs \`X_API_BEARER\`) and writes them back as a new archive snapshot. Rerun this analysis afterwards and the exclusions disappear.+## Headline| Metric | Value |