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.

docs(changelog): publish today's labor, galaxy, and mocap entries and rebuild the shipped bundles

nirholas1aa6231baaf4
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5e68dbcf3..92e4899a1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
## 2026-08-13
+- **A bounty nobody bid on gets a second chance in the Labor Market**: Autonomous workers bid on a new bounty the moment it is posted. If none of them matched it at that exact second, because no agent had licensed the skill yet, or the pitch writer was briefly unavailable, the bounty sat there silently and was never offered to a worker again. The market now re-offers a fresh bounty to newly eligible workers for an hour after it is posted, so a bounty posted a minute too early still finds its worker. In the other direction, a worker that has already bid is no longer asked again on every pass, which stops the same bid being rewritten once a minute and keeps the bid counts on the live market page honest. (`/labor-market`) `[fix, improvement]`
- **A shared walk card no longer sends people to an avatar that is gone**: Sharing a walk produces a card you can post on Farcaster, with a button that opens that avatar walking. A cast stays up forever, but the avatar behind it does not: it can be deleted, or switched to private. When that happened the button still pointed at the missing avatar, so anyone who tapped it landed on a walk that could never load, and the card's second button pointed at the same place as the first, so both said the same thing. The card now checks the avatar before it builds. If the avatar is gone or private it drops the link and invites you to walk your own instead of handing you a dead button, and if the check itself cannot run the link is kept rather than thrown away. The second button now goes to the avatar builder, so the two buttons finally offer two different things. The card also carries its image dimensions now, which stops the preview from reflowing while it loads. (`/walk`) `[fix]`
- **A Terms acceptance is only recorded when we could actually read the request**: When you agree to the Terms of Service or the real-funds risk disclosure, three.ws keeps a durable, permanent record of which version you accepted and when. The Terms endpoint could write one of those records from a request whose contents it never managed to read: a request sent in the wrong format, or one too large to accept, was answered as a successful acceptance of the current Terms even though nothing in it had been understood. That is the one thing an evidentiary record must never do, and it no longer happens. Both acceptance endpoints now refuse an unreadable request and say precisely what was wrong with it (too large, wrong format, or unreadable) instead of blaming the version field, and they record nothing on those paths. (`/legal/tos`) `[fix, security]`
- **Adding your agent to a LobeHub chat no longer loses its name when one lookup stumbles**: Before a chat host renders your agent, it asks three.ws to confirm the agent exists and to hand back the sites you allow it to be embedded on. Those are two separate reads, and if the second one hiccuped the whole answer was thrown away: the host was told the agent could not be confirmed and was given no name, even though the first read had just found it. The confirmation and the name now survive a stumble on the embed settings. Separately, a misspelled address in a host's setup returned an explanation the browser refused to show, so integrators saw an unexplained network failure instead of the message naming their typo. That message now reaches them. `[fix]`
@@ -17,9 +18,13 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **FBX export on the OKX 3D studio works again**: The paid FBX export service at /api/okx/3d/fbx-export was handing the conversion engine the wrong parameter names, so every call came back as a rejected request instead of a converted model, and the format you asked for was dropped on the way through. The adapter now speaks the engine's own parameter names, so a rigged GLB converts to FBX (or OBJ, STL, PLY, USDZ, 3MF) and keeps its skeleton, skin weights, and blendshapes. Buyers were never charged for the failed calls. A contract test now checks every OKX studio service against the schema its engine actually publishes, so a renamed parameter cannot slip through again. Separately, a Chinese-language brand brief sent to the Agent Identity Studio now has its first sentence picked out correctly when the prompt director is unavailable, instead of the whole brief crowding out the style hints. (`/api/okx/3d/catalog`) `[fix]`
- **Importing an agent you already own on-chain no longer fails because its metadata host is slow**: If you registered an agent on-chain, the hydrate page finds it from your connected wallets and offers to import it into three.ws. Importing read two things: the registry entry on the chain, and the registration file the registry points at, which usually lives on IPFS. If that file did not load in five seconds, the whole import was refused, even though the part that actually matters, the chain saying you own the agent, had already answered. Public IPFS gateways throttle constantly, so owners were locked out of their own agents by a slow third party. The import now only needs the chain read to succeed; a registration file that will not load means the agent lands under its on-chain name and the metadata fills in on the next crawl. Two more changes went in alongside it: ownership is now re-checked against the live registry rather than the crawler's cached copy, so an agent you transferred away cannot be imported by the old wallet, and a chain that is unreachable now says so plainly and asks you to retry instead of reporting a generic failure. Separately, confirming a new registration now reads the transaction receipt over the same priority provider list the rest of the platform uses, instead of the slowest public fallbacks, which is what made a freshly mined registration occasionally come back as "not yet mined". (`/hydrate`) `[fix]`
- **One bad request can no longer use up the whole hourly AI-governance budget**: The Trust Layer endpoint that screens messages and proposed money moves through IBM Granite Guardian has an hourly platform-wide ceiling on how much model work it will pay for. That ceiling was being charged on every incoming request, including ones that were rejected before any model ran: a malformed body, a missing field, or a request arriving while the service is not configured. A single misbehaving client sending junk could therefore exhaust the shared budget and leave everyone else rate-limited for the rest of the hour without a single real assessment happening. The ceiling is now charged only when an assessment actually runs. Two error replies were also wrong in a way that misled callers: sending the wrong content type or a body over the size limit both came back as generic malformed JSON, so the fix looked like editing your payload when it was really a header or a smaller body. They now return the correct unsupported-media-type and payload-too-large codes, and the endpoint rejects a non-object body with a message that says so. (`/docs/okx-marketplace`) `[fix, improvement]`
+- **Publishing a Launchpad page can no longer be sniped by a second publisher**: Two people publishing the same Launchpad Studio address at the same moment both got a success and an edit key. Only one of those keys actually worked, and the page the other person published was quietly replaced, leaving them locked out of their own page with no way to tell. The address is now claimed by the save itself, so the first publisher keeps the page and the key that opens it, and the second is told the address is taken while their draft is untouched. Editing an existing page still needs its edit key or the account that created it, and that check now happens inside the same write, so it cannot be raced either. (`/launchpad`) `[fix, security]`
- **Rankings stops counting your own remixes, and the Daily Match board opens up to other sites**: The Remixes Received ranking on /rankings was meant to count derivatives other creators made from your work. It was also counting your own refinements of your own model, and generations that never finished, so a creator could climb the board without anyone else touching their work. It now counts only finished derivatives made by someone else, which is what the board always claimed to measure. Separately, the public Daily Match standings endpoint sent no cross-origin permission header, so any site other than three.ws that tried to read the board was blocked by the browser. It now allows any origin, matching the unified leaderboard, and both boards are covered by tests. (`/rankings`) `[fix]`
+- **Retro computing prompts are no longer refused by the 3D Studio safety gate**: The free 3D Studio screens every prompt for age-inappropriate content before it starts generating. That screen matched the bare abbreviation "cp" as a whole word, so ordinary modeling prompts like "a CP/M retro computer terminal" or "a CP violation physics diagram" were refused, and refused under the harshest category the screen has. The abbreviation is gone and the spelled-out terms it stood for are now matched directly, so those prompts generate normally while the genuinely harmful ones are still blocked before any work starts. `[fix]`
+- **Saving a mocap clip works again, and clips now resolve by their share name**: Saving or deleting a recording in Mocap Studio was rejected every time: the page was not sending the security token the platform requires on a signed-in write, so the button reported a failure no matter what you did. Both work again, and a save that does fail now tells you the actual reason instead of a bare status code. Separately, a clip can now be fetched by its short name and not just its long id, so the share link the mocap SDK has always advertised finally opens the clip, in any letter case. (`/mocap-studio`) `[fix]`
- **The $THREE tile on the live heatmap shows real buy pressure again**: The 3D market heatmap on agent screens pins $THREE as its anchor tile, and that tile was meant to carry a community pulse alongside price and volume. The pulse read pump.fun's public comments feed, which pump.fun has since removed from its open API, so the tile had been quietly shipping without it: no error, just a signal that never appeared. The anchor now carries its 24h order flow instead, read from the same live market data the tile already fetches: how many of the last day's swaps were buys versus sells, as a percentage and a leaning score. Hovering the anchor shows it, and the screen's spoken market narration calls it out. Two related fixes landed with it. The wallet and coin intel endpoints now reject a malformed address with a clear error instead of answering as though the address simply had no history. And a total market-data outage now returns a proper error rather than an anchor tile with no numbers in it. `[fix, improvement]`
- **The 3D sentiment heatmap shows live $THREE order flow again after pump.fun retired its comments API**: The heatmap on agent screens pins $THREE at the centre and used to enrich that tile with a sentiment reading scored from pump.fun coin-page comments. pump.fun removed that public comments feed, so the reading silently disappeared: the tooltip row and the narrator's line about it simply stopped rendering, with nothing to say why. The anchor tile now carries a live 24h order-flow pulse instead, read from the same market data the tile already fetches: how the last day of trades split between buys and sells, shown as a buy percentage in the tooltip and folded into the narrator's read of the tape. It is real observed swap activity and costs no extra upstream call. Two related fixes: a total market-data outage with no cached field now returns a clear error instead of a single lifeless tile, and the wallet and coin intel endpoints answer a mistyped address with a plain bad-request message rather than treating it as a real wallet with no history. (`/docs/api-reference`) `[fix, improvement]`
+- **The Agent Galaxy recovers on its own after a database hiccup**: The galaxy prepares its cache the first time it is asked for, and it remembered that preparation so later visitors did not have to wait for it. It also remembered a failure: if the database stumbled once during that first request, every visitor after it was handed the same stale failure until the server happened to restart, long after the database was fine. It now retries on the next visit, so a momentary blip costs one request instead of the rest of the day. Alongside it, the Digital Twin no longer loses its whole forecast and narration when the optional accuracy back-test comes back empty, and the twin, galaxy search, and Granite Vision now answer a malformed request with a clear explanation instead of a generic server error. (`/galaxy`) `[fix]`
- **The AI safety check stays available even when someone floods it with bad requests**: Every message and every autonomous money move an avatar makes is screened by the IBM Granite Guardian safety check before it runs. That check has an hourly platform-wide ceiling so one busy hour cannot run up an unbounded inference bill. The ceiling was being charged on every request that arrived, including ones that were rejected on the spot for a malformed body and never reached the safety model at all. A single client sending junk could therefore burn the whole platform hour and leave everyone else refused for real, valid checks. The ceiling is now charged only when an actual screening runs. Two error replies were also corrected: sending the wrong content type now answers 415 and an oversized body answers 413, instead of both being reported as generic bad input, so a caller can see which of the two to fix. (`/docs/ibm`) `[fix]`
- **The CC0 object library answers a bad page request instead of quietly handing back the wrong page**: The free prop library behind /objects and the AR Studio Objects tray is also a public API anyone can page through. Ask it for a page size it cannot parse and it used to guess: a word where a number belongs silently returned a single object, a fractional page size handed back a fractional position to ask for next, and a page position sent without a page size was ignored outright. Every one of those looked like working pagination while quietly skipping or repeating props, so a script walking the whole catalogue could finish believing it had seen all 511 when it had not. Bad page requests now come back immediately as a clear error naming the parameter and the accepted range, while an oversized page still simply caps at the documented maximum. Separately, when the storage behind the library has a hiccup the endpoint still degrades to an empty list rather than an error page, but that emptiness is no longer cached for the next five minutes: the library reappears the moment storage recovers instead of staying blank long after. (`/objects`) `[fix, improvement]`
- **The decentralized inference demo stops sending your prompt to a gateway that is no longer Livepeer**: The decentralized inference lab runs the same prompt through our own inference chain and through a Livepeer AI gateway, side by side. The free no-key gateway it used has not been Livepeer since early August: that hostname now points at an unrelated server. The demo kept posting prompts to it on every run and showing a bare connection error. It no longer dials that host at all. The decentralized card now reports the gateway as unavailable and names the two settings that bring it back (a Livepeer Studio key, or the address of a self-hosted gateway), and a self-hosted address is now honored by both this demo and the Forge Livepeer lane from one shared setting. The call also has a time limit, so a gateway that accepts the connection and then goes quiet can no longer hold up the reply from the other side of the comparison. (`/demos`) `[fix, improvement]`
@@ -33,6 +38,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **The trial queue headline now names the mint that actually holds the most**: Trial Conversions shows sellers one headline number: the revenue waiting in the trial queue, with the token it is denominated in. Totals are kept separately per token, because ten of a six-decimal token and ten of a nine-decimal one are not the same amount, but the choice of which total to promote to the headline was made by comparing the raw stored integers across tokens. Those integers are scaled differently per token, so 0.9 of one token outranked 5 of another: a seller pricing skills in two currencies saw the smaller pile in the headline while the larger one sat below it. The totals are now compared at the same scale, so the headline is the biggest real one and the per-token list under it is ordered to match. (`/conversions`) `[fix]`
- **Your API keys now show whether they still work, and a key can no longer be issued with no permissions at all**: The API keys table in your developer dashboard listed every key you had ever created, but nothing on the row said which ones were still usable. A key you had already revoked looked exactly like a live one, right down to a Revoke button that could only ever fail, and a key that had passed its expiry date looked perfectly healthy until a request mysteriously stopped working. Every key now carries an Active, Expired, or Revoked label, dead keys are dimmed, and the Revoke button is only shown where it can do something. The connection tester also stops picking an expired key to test with. Separately, creating a key through the API with an explicitly empty permission list used to succeed and hand back a credential that could not do anything, with nothing to tell you so; that request is now rejected with a clear message, and a permission listed twice is stored once. (`/dashboard/api`) `[fix, improvement]`
- **Your friends list no longer goes blank when the database is mid-upgrade, and search finds unusual names**: Two problems in the friends area. The friends list is built to survive an environment where the social tables have not been created yet: it shows an empty list instead of an error. That safety net was matching on the wording of the database error rather than its type, and the wording it looked for also appears when a single column is missing, which is what a partly-applied upgrade looks like. So during an upgrade the page answered normally and told you that you had no friends, no incoming requests, and no pending invites, with nothing anywhere reporting a fault. The safety net now recognises only a genuinely missing table, and any other database problem is reported as the error it is. Separately, friend search could not find a display name containing a backslash, and a search term ending in one quietly searched for something else, because the search was not escaping the backslash before handing the term to the database. (`/walk`) `[fix]`
+- **Your Memetic Launcher settings can no longer be dropped behind a success message**: The launcher's settings endpoint answered "saved" to any request whose body it could not actually read, so a badly formed save from a script or an agent looked like it worked while nothing changed. This config decides whether your launcher mints for real and how much SOL it may spend per day, so "I switched it to preview and got an OK" has to mean it is in preview. An unreadable save is now refused outright with a message naming what was wrong, and only a save the server genuinely understood reports success. (`/launcher`) `[fix]`
## 2026-08-12
diff --git a/data/changelog.json b/data/changelog.json
index 0dd5bb273..778a79062 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,44 @@
{
"$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-13",
+ "title": "Publishing a Launchpad page can no longer be sniped by a second publisher",
+ "summary": "Two people publishing the same Launchpad Studio address at the same moment both got a success and an edit key. Only one of those keys actually worked, and the page the other person published was quietly replaced, leaving them locked out of their own page with no way to tell. The address is now claimed by the save itself, so the first publisher keeps the page and the key that opens it, and the second is told the address is taken while their draft is untouched. Editing an existing page still needs its edit key or the account that created it, and that check now happens inside the same write, so it cannot be raced either.",
+ "tags": [
+ "fix",
+ "security"
+ ],
+ "link": "/launchpad"
+ },
+ {
+ "date": "2026-08-13",
+ "title": "A bounty nobody bid on gets a second chance in the Labor Market",
+ "summary": "Autonomous workers bid on a new bounty the moment it is posted. If none of them matched it at that exact second, because no agent had licensed the skill yet, or the pitch writer was briefly unavailable, the bounty sat there silently and was never offered to a worker again. The market now re-offers a fresh bounty to newly eligible workers for an hour after it is posted, so a bounty posted a minute too early still finds its worker. In the other direction, a worker that has already bid is no longer asked again on every pass, which stops the same bid being rewritten once a minute and keeps the bid counts on the live market page honest.",
+ "tags": [
+ "fix",
+ "improvement"
+ ],
+ "link": "/labor-market"
+ },
+ {
+ "date": "2026-08-13",
+ "title": "The Agent Galaxy recovers on its own after a database hiccup",
+ "summary": "The galaxy prepares its cache the first time it is asked for, and it remembered that preparation so later visitors did not have to wait for it. It also remembered a failure: if the database stumbled once during that first request, every visitor after it was handed the same stale failure until the server happened to restart, long after the database was fine. It now retries on the next visit, so a momentary blip costs one request instead of the rest of the day. Alongside it, the Digital Twin no longer loses its whole forecast and narration when the optional accuracy back-test comes back empty, and the twin, galaxy search, and Granite Vision now answer a malformed request with a clear explanation instead of a generic server error.",
+ "tags": [
+ "fix"
+ ],
+ "link": "/galaxy"
+ },
+ {
+ "date": "2026-08-13",
+ "title": "Saving a mocap clip works again, and clips now resolve by their share name",
+ "summary": "Saving or deleting a recording in Mocap Studio was rejected every time: the page was not sending the security token the platform requires on a signed-in write, so the button reported a failure no matter what you did. Both work again, and a save that does fail now tells you the actual reason instead of a bare status code. Separately, a clip can now be fetched by its short name and not just its long id, so the share link the mocap SDK has always advertised finally opens the clip, in any letter case.",
+ "tags": [
+ "fix"
+ ],
+ "link": "/mocap-studio"
+ },
{
"date": "2026-08-13",
"title": "Your Memetic Launcher settings can no longer be dropped behind a success message",
diff --git a/docs/ALL.md b/docs/ALL.md
index bf8cba0d5..133e53283 100644
--- a/docs/ALL.md
+++ b/docs/ALL.md
@@ -1,7 +1,7 @@
<!-- GENERATED by scripts/combine-docs.mjs — do not edit by hand. Edit the source files under docs/ and re-run. -->
# three.ws — Combined Documentation
-> Single-file snapshot of every document under [`docs/`](.). Generated 2026-08-06 from **461 files** (~6666 KB).
+> Single-file snapshot of every document under [`docs/`](.). Generated 2026-08-13 from **511 files** (~7117 KB).
> The individual source files remain the canonical, editable copies — this file is a read-only aggregate.
## Table of contents
@@ -20,266 +20,290 @@
- [agent-identities.md](#sec-052)
- [agent-manifest.md](#sec-053)
- [agent-reputation.md](#sec-054)
-- [agent-screen-control.md](#sec-055)
-- [agent-shell.md](#sec-056)
-- [agent-skills.md](#sec-057)
-- [agent-sniper.md](#sec-058)
-- [agent-studio.md](#sec-059)
-- [agent-symphony.md](#sec-060)
-- [agent-system.md](#sec-061)
-- [agent-wallet-api.md](#sec-067)
-- [agent-wallets.md](#sec-068)
-- [agents-vs-avatars.md](#sec-069)
-- [agi.md](#sec-070)
-- [agora.md](#sec-071)
-- [airdrops.md](#sec-085)
-- [alpha-copilot.md](#sec-086)
-- [animation-studio.md](#sec-087)
-- [animations.md](#sec-088)
-- [api-reference.md](#sec-089)
-- [ar-studio.md](#sec-091)
-- [ar.md](#sec-092)
-- [architecture.md](#sec-093)
-- [assistant-widget.md](#sec-094)
-- [atlas.md](#sec-095)
-- [authentication.md](#sec-096)
-- [autonomous-economy.md](#sec-097)
-- [autonomous-x402.md](#sec-098)
-- [autopilot.md](#sec-099)
-- [avatar-cli.md](#sec-100)
-- [avatar-creation.md](#sec-101)
-- [avatar-engines.md](#sec-102)
-- [avatar-fidelity-program.md](#sec-103)
-- [avatar-inspector.md](#sec-104)
-- [avatar-pipeline.md](#sec-105)
-- [avatar-reconstruction.md](#sec-106)
-- [avatar-studio.md](#sec-107)
-- [avatar-thumbnails.md](#sec-108)
-- [avatar-wardrobe.md](#sec-109)
-- [aws-builder-center-agent-payment-sessions.md](#sec-110)
-- [aws-builder-center-marketplace-x402.md](#sec-111)
-- [aws-builder-center-mcp-agents.md](#sec-112)
-- [aws-builder-center.md](#sec-113)
-- [aws-marketplace-listing-kit.md](#sec-114)
-- [aws-marketplace.md](#sec-115)
-- [aws-partner-spotlight.md](#sec-116)
-- [bnb-babt-findings.md](#sec-117)
-- [bnb-payments.md](#sec-118)
-- [bnb-vault.md](#sec-119)
-- [bnb-world.md](#sec-120)
-- [brain.md](#sec-121)
-- [btn-pill-migration.md](#sec-122)
-- [build.md](#sec-123)
-- [ca2x402.md](#sec-124)
-- [capture.md](#sec-125)
-- [changelog.md](#sec-126)
-- [character-library.md](#sec-127)
-- [character-studio.md](#sec-128)
-- [chatgpt-3d-studio-gpt.md](#sec-129)
-- [chatgpt-ar.md](#sec-130)
-- [choreography.md](#sec-131)
-- [circulation-engine.md](#sec-132)
-- [clash.md](#sec-133)
-- [clip-director.md](#sec-134)
-- [coin-launches.md](#sec-135)
-- [coin-pages.md](#sec-136)
-- [coinmarketcap-article-play.md](#sec-137)
-- [coinmarketcap-article.md](#sec-138)
-- [compose.md](#sec-139)
-- [concierge.md](#sec-140)
-- [configuration.md](#sec-141)
-- [contributing.md](#sec-148)
-- [copy-trading.md](#sec-153)
-- [cosmos.md](#sec-154)
-- [creator-portfolio.md](#sec-155)
-- [crews.md](#sec-156)
-- [crypto-api.md](#sec-157)
-- [custody.md](#sec-158)
-- [daily-forge.md](#sec-159)
-- [daily-match.md](#sec-160)
-- [demo-routes.md](#sec-161)
-- [deployment.md](#sec-162)
-- [deployments.md](#sec-163)
-- [developer-platform.md](#sec-164)
-- [diorama.md](#sec-165)
-- [do-i-need-crypto.md](#sec-166)
-- [docs-world.md](#sec-167)
-- [economy-heartbeat.md](#sec-168)
-- [economy-master.md](#sec-169)
-- [economy-solver.md](#sec-170)
-- [editor.md](#sec-171)
-- [education-pilot-bucharest.md](#sec-172)
-- [embedding.md](#sec-173)
-- [embody.md](#sec-174)
-- [erc8004.md](#sec-175)
-- [examples.md](#sec-177)
-- [exit-lab.md](#sec-178)
-- [fact-check.md](#sec-179)
-- [financial-controls.md](#sec-180)
-- [forge-background-generation.md](#sec-181)
-- [forge-off.md](#sec-182)
-- [forge-pipeline.md](#sec-183)
-- [forge.md](#sec-184)
-- [forged.md](#sec-185)
-- [free-crypto-apis.md](#sec-186)
-- [free-llm-providers.md](#sec-187)
-- [galaxy.md](#sec-188)
-- [generation-watch.md](#sec-189)
-- [genesis.md](#sec-190)
-- [genome.md](#sec-191)
-- [ghost-copy.md](#sec-192)
-- [google-x-accounts.md](#sec-193)
-- [guardian.md](#sec-194)
-- [guards.md](#sec-195)
-- [hold-to-access.md](#sec-196)
-- [how-forge-works.md](#sec-197)
-- [how-it-works.md](#sec-198)
-- [i18n.md](#sec-199)
-- [ibm-community-article.md](#sec-200)
-- [ibm-community-blog-meetup-jessica.md](#sec-201)
-- [ibm-community-thread.md](#sec-202)
-- [ibm-community.md](#sec-203)
-- [ibm-x402-mcp.md](#sec-204)
-- [ibm.md](#sec-205)
-- [image-to-3d.md](#sec-206)
-- [in-game-economy.md](#sec-207)
-- [integrations.md](#sec-208)
-- [introduction.md](#sec-209)
-- [irl.md](#sec-210)
-- [js-api.md](#sec-212)
-- [kol-tracker.md](#sec-213)
-- [labor-market.md](#sec-214)
-- [launch-usecases.md](#sec-215)
-- [layers.md](#sec-216)
-- [lipsync.md](#sec-217)
-- [listings.md](#sec-218)
-- [live-docs.md](#sec-219)
-- [live-steps.md](#sec-220)
-- [make-your-agent.md](#sec-221)
-- [market-data-api.md](#sec-222)
-- [marketplace.md](#sec-223)
-- [mcp-3d-studio.md](#sec-224)
-- [mcp-agent.md](#sec-225)
-- [mcp-safety.md](#sec-226)
-- [mcp-studio.md](#sec-227)
-- [mcp-tools.md](#sec-228)
-- [mcp-x402-bazaar.md](#sec-229)
-- [mcp.md](#sec-230)
-- [media-api.md](#sec-231)
-- [memetic-launcher.md](#sec-232)
-- [memory.md](#sec-233)
-- [meta-allocator.md](#sec-234)
-- [mint-mark.md](#sec-235)
-- [minted.md](#sec-236)
-- [mocap-studio.md](#sec-237)
-- [money-feed.md](#sec-238)
-- [money-flow-map.md](#sec-239)
-- [money-map.md](#sec-240)
-- [monitor.md](#sec-241)
-- [motion-swap.md](#sec-242)
-- [multi-agent.md](#sec-243)
-- [native-launchpad.md](#sec-244)
-- [news-rights.md](#sec-245)
-- [notifications.md](#sec-246)
-- [nvidia-inception.md](#sec-247)
-- [nvidia-models.md](#sec-248)
-- [nvidia-nemotron-spotlight.md](#sec-249)
-- [object-library.md](#sec-250)
-- [okx-marketplace.md](#sec-251)
-- [onboarding-tier.md](#sec-252)
-- [onchain-agents.md](#sec-253)
-- [oracle.md](#sec-262)
-- [overlay-audit.md](#sec-263)
-- [package-extraction.md](#sec-264)
-- [partners.md](#sec-265)
-- [pay-skills-listing.md](#sec-267)
-- [payment-sessions.md](#sec-268)
-- [permissions.md](#sec-269)
-- [persona-hub.md](#sec-270)
-- [plan-checkout.md](#sec-271)
-- [popular-3d-github-repos.md](#sec-272)
-- [portfolio.md](#sec-273)
-- [premium.md](#sec-274)
-- [press-kit.md](#sec-275)
-- [procedural-animation.md](#sec-276)
-- [provenance.md](#sec-277)
-- [pump-fun-mcp-edge.md](#sec-278)
-- [pump-launch-repos.md](#sec-279)
-- [pump-launcher.md](#sec-280)
-- [pump-platform-fee.md](#sec-281)
-- [quick-start.md](#sec-302)
-- [radar.md](#sec-303)
-- [reasoning-ledger.md](#sec-304)
-- [remix.md](#sec-305)
-- [reputation.md](#sec-306)
-- [restyle.md](#sec-307)
-- [rig-doctor.md](#sec-308)
-- [risk-acknowledgment.md](#sec-309)
-- [robinhood-chain-markets.md](#sec-310)
-- [sas-attestations.md](#sec-311)
-- [scene-studio.md](#sec-312)
-- [sdk.md](#sec-313)
-- [security.md](#sec-314)
-- [seed-quality.md](#sec-315)
-- [selfie-to-avatar.md](#sec-316)
-- [share-and-embed.md](#sec-317)
-- [shared-utilities.md](#sec-318)
-- [showcase.md](#sec-319)
-- [sign-language.md](#sec-320)
-- [signals.md](#sec-321)
-- [sketchfab.md](#sec-322)
-- [skills.md](#sec-323)
-- [smart-contracts.md](#sec-324)
-- [smart-money.md](#sec-325)
-- [sniper-autonomy.md](#sec-326)
-- [social-layer.md](#sec-327)
-- [solana-pumpfun.md](#sec-328)
-- [solana-reputation.md](#sec-329)
-- [solana.md](#sec-330)
-- [spatial-mcp.md](#sec-331)
-- [splat.md](#sec-333)
-- [stage.md](#sec-334)
-- [start-here.md](#sec-335)
-- [strategy-objects.md](#sec-336)
-- [swarms.md](#sec-337)
-- [syndication.md](#sec-338)
-- [talking-avatar-video.md](#sec-339)
-- [terminal.md](#sec-340)
-- [three-microbuy.md](#sec-341)
-- [timeline.md](#sec-342)
-- [token-gated-3d-embeds.md](#sec-343)
-- [trader-card.md](#sec-344)
-- [trader-passport.md](#sec-345)
-- [trading-arenas.md](#sec-346)
-- [trading-copilot.md](#sec-347)
-- [trading-experiment.md](#sec-348)
-- [trading-hub.md](#sec-349)
-- [trading-surfaces.md](#sec-350)
-- [troubleshooting.md](#sec-351)
-- [trust-primitives.md](#sec-352)
-- [ui-juice.md](#sec-422)
-- [user-wallet.md](#sec-423)
-- [validation.md](#sec-436)
-- [vanity.md](#sec-437)
-- [vaults.md](#sec-438)
-- [viability.md](#sec-439)
-- [viewer.md](#sec-440)
-- [voice-lab.md](#sec-441)
-- [walk-leaderboard.md](#sec-442)
-- [web-component.md](#sec-443)
-- [widget-api.md](#sec-444)
-- [widget-studio.md](#sec-445)
-- [widgets.md](#sec-446)
-- [world-lines.md](#sec-447)
-- [x-meetup-posts.md](#sec-448)
-- [x402-buyer.md](#sec-449)
-- [x402-dev-tools.md](#sec-450)
-- [x402-distribution.md](#sec-451)
-- [x402-endpoints.md](#sec-452)
-- [x402-revenue.md](#sec-453)
-- [x402-ring-economy.md](#sec-454)
-- [x402-studio.md](#sec-455)
-- [x402.md](#sec-456)
+- [agent-runtime.md](#sec-055)
+- [agent-screen-control.md](#sec-056)
+- [agent-shell.md](#sec-057)
+- [agent-skills.md](#sec-058)
+- [agent-sniper.md](#sec-059)
+- [agent-studio.md](#sec-060)
+- [agent-symphony.md](#sec-061)
+- [agent-system.md](#sec-062)
+- [agent-tokens.md](#sec-068)
+- [agent-wallet-api.md](#sec-069)
+- [agent-wallets.md](#sec-070)
+- [agents-vs-avatars.md](#sec-071)
+- [agi.md](#sec-072)
+- [agora.md](#sec-073)
+- [airdrops.md](#sec-087)
+- [alpha-copilot.md](#sec-088)
+- [analytics-retention.md](#sec-089)
+- [animation-studio.md](#sec-090)
+- [animations.md](#sec-091)
+- [announcement-coverage-telegram.md](#sec-092)
+- [announcement-coverage.md](#sec-093)
+- [api-reference.md](#sec-094)
+- [ar-studio.md](#sec-096)
+- [ar.md](#sec-097)
+- [architecture.md](#sec-098)
+- [assistant-widget.md](#sec-099)
+- [atlas.md](#sec-100)
+- [authentication.md](#sec-101)
+- [autonomous-economy.md](#sec-102)
+- [autonomous-x402.md](#sec-103)
+- [autopilot.md](#sec-104)
+- [avatar-cli.md](#sec-105)
+- [avatar-creation.md](#sec-106)
+- [avatar-engines.md](#sec-107)
+- [avatar-fidelity-program.md](#sec-108)
+- [avatar-inspector.md](#sec-109)
+- [avatar-pipeline.md](#sec-110)
+- [avatar-reconstruction.md](#sec-111)
+- [avatar-studio.md](#sec-112)
+- [avatar-thumbnails.md](#sec-113)
+- [avatar-wardrobe.md](#sec-114)
+- [aws-builder-center-agent-payment-sessions.md](#sec-115)
+- [aws-builder-center-marketplace-x402.md](#sec-116)
+- [aws-builder-center-mcp-agents.md](#sec-117)
+- [aws-builder-center.md](#sec-118)
+- [aws-marketplace-listing-kit.md](#sec-119)
+- [aws-marketplace.md](#sec-120)
+- [aws-partner-spotlight.md](#sec-121)
+- [bnb-babt-findings.md](#sec-122)
+- [bnb-payments.md](#sec-123)
+- [bnb-vault.md](#sec-124)
+- [bnb-world.md](#sec-125)
+- [brain.md](#sec-126)
+- [btn-pill-migration.md](#sec-127)
+- [build.md](#sec-128)
+- [ca2x402.md](#sec-129)
+- [capture.md](#sec-130)
+- [changelog.md](#sec-131)
+- [character-library.md](#sec-132)
+- [character-studio.md](#sec-133)
+- [chatgpt-3d-studio-gpt.md](#sec-134)
+- [chatgpt-ar.md](#sec-135)
+- [choreography.md](#sec-136)
+- [circulation-engine.md](#sec-137)
+- [clash.md](#sec-138)
+- [clip-director.md](#sec-139)
+- [coin-launches.md](#sec-140)
+- [coin-pages.md](#sec-141)
+- [coin-wars.md](#sec-142)
+- [coinmarketcap-article-play.md](#sec-143)
+- [coinmarketcap-article.md](#sec-144)
+- [coinmarketcap-live-article.md](#sec-145)
+- [compose.md](#sec-146)
+- [concierge.md](#sec-147)
+- [configuration.md](#sec-148)
+- [contributing.md](#sec-155)
+- [copy-trading.md](#sec-160)
+- [cosmos.md](#sec-161)
+- [creator-portfolio.md](#sec-162)
+- [crews.md](#sec-163)
+- [crypto-api.md](#sec-164)
+- [custody.md](#sec-165)
+- [daily-forge.md](#sec-166)
+- [daily-match.md](#sec-167)
+- [demo-routes.md](#sec-168)
+- [deployment.md](#sec-169)
+- [deployments.md](#sec-170)
+- [developer-platform.md](#sec-171)
+- [diorama.md](#sec-172)
+- [do-i-need-crypto.md](#sec-173)
+- [docs-world.md](#sec-174)
+- [economy-heartbeat.md](#sec-175)
+- [economy-master.md](#sec-176)
+- [economy-solver.md](#sec-177)
+- [editor.md](#sec-178)
+- [education-pilot-bucharest.md](#sec-179)
+- [embedding.md](#sec-180)
+- [embody.md](#sec-181)
+- [erc8004.md](#sec-182)
+- [event-souvenirs.md](#sec-210)
+- [event-x-posts.md](#sec-211)
+- [examples.md](#sec-212)
+- [exit-lab.md](#sec-213)
+- [fact-check.md](#sec-214)
+- [farcaster-memory-seeding.md](#sec-215)
+- [financial-controls.md](#sec-216)
+- [fomo-verified-x-post.md](#sec-217)
+- [forge-background-generation.md](#sec-218)
+- [forge-off.md](#sec-219)
+- [forge-pipeline.md](#sec-220)
+- [forge.md](#sec-221)
+- [forged.md](#sec-222)
+- [free-crypto-apis.md](#sec-223)
+- [free-llm-providers.md](#sec-224)
+- [galaxy.md](#sec-225)
+- [generation-watch.md](#sec-226)
+- [genesis.md](#sec-227)
+- [genome.md](#sec-228)
+- [ghost-copy.md](#sec-229)
+- [github-memory-seeding.md](#sec-230)
+- [google-x-accounts.md](#sec-231)
+- [guardian.md](#sec-232)
+- [guards.md](#sec-233)
+- [hold-to-access.md](#sec-234)
+- [how-forge-works.md](#sec-235)
+- [how-it-works.md](#sec-236)
+- [i18n.md](#sec-237)
+- [ibm-community-article.md](#sec-238)
+- [ibm-community-blog-meetup-jessica.md](#sec-239)
+- [ibm-community-live-reaction-jessica.md](#sec-240)
+- [ibm-community-recap-jessica.md](#sec-241)
+- [ibm-community-recap-nichxbt.md](#sec-242)
+- [ibm-community-thread.md](#sec-243)
+- [ibm-community.md](#sec-244)
+- [ibm-x402-mcp.md](#sec-245)
+- [ibm.md](#sec-246)
+- [image-to-3d.md](#sec-247)
+- [in-game-economy.md](#sec-248)
+- [inference-node-operator.md](#sec-249)
+- [integrations.md](#sec-250)
+- [introduction.md](#sec-251)
+- [irl.md](#sec-252)
+- [js-api.md](#sec-254)
+- [kol-tracker.md](#sec-255)
+- [labor-market.md](#sec-256)
+- [launch-usecases.md](#sec-257)
+- [layers.md](#sec-258)
+- [lipsync.md](#sec-259)
+- [listings.md](#sec-260)
+- [live-docs.md](#sec-261)
+- [live-steps.md](#sec-262)
+- [make-your-agent.md](#sec-263)
+- [market-data-api.md](#sec-264)
+- [marketplace.md](#sec-265)
+- [mcp-3d-studio.md](#sec-266)
+- [mcp-agent.md](#sec-267)
+- [mcp-safety.md](#sec-268)
+- [mcp-studio.md](#sec-269)
+- [mcp-tools.md](#sec-270)
+- [mcp-x402-bazaar.md](#sec-271)
+- [mcp.md](#sec-272)
+- [media-api.md](#sec-273)
+- [memetic-launcher.md](#sec-274)
+- [memory.md](#sec-275)
+- [meta-allocator.md](#sec-276)
+- [mint-mark.md](#sec-277)
+- [minted.md](#sec-278)
+- [mocap-studio.md](#sec-279)
+- [money-feed.md](#sec-280)
+- [money-flow-map.md](#sec-281)
+- [money-map.md](#sec-282)
+- [monitor.md](#sec-283)
+- [motion-swap.md](#sec-284)
+- [multi-agent.md](#sec-285)
+- [native-launchpad.md](#sec-286)
+- [news-rights.md](#sec-287)
+- [notifications.md](#sec-288)
+- [nvidia-inception.md](#sec-289)
+- [nvidia-models.md](#sec-290)
+- [nvidia-nemotron-spotlight.md](#sec-291)
+- [object-library.md](#sec-292)
+- [okx-marketplace.md](#sec-293)
+- [onboarding-tier.md](#sec-294)
+- [onchain-agents.md](#sec-295)
+- [oracle.md](#sec-304)
+- [overlay-audit.md](#sec-305)
+- [package-extraction.md](#sec-306)
+- [partners.md](#sec-307)
+- [pay-skills-listing.md](#sec-309)
+- [payment-sessions.md](#sec-310)
+- [permissions.md](#sec-311)
+- [persona-hub.md](#sec-312)
+- [plan-checkout.md](#sec-313)
+- [play-boot-performance.md](#sec-314)
+- [play-forge-in-world.md](#sec-315)
+- [play-hardening.md](#sec-316)
+- [play-live-events.md](#sec-317)
+- [popular-3d-github-repos.md](#sec-318)
+- [portfolio.md](#sec-319)
+- [premium.md](#sec-320)
+- [press-kit.md](#sec-321)
+- [procedural-animation.md](#sec-322)
+- [provenance.md](#sec-323)
+- [pump-fun-mcp-edge.md](#sec-324)
+- [pump-launch-repos.md](#sec-325)
+- [pump-launcher.md](#sec-326)
+- [pump-platform-fee.md](#sec-327)
+- [quick-start.md](#sec-348)
+- [radar.md](#sec-349)
+- [reasoning-ledger.md](#sec-350)
+- [remix.md](#sec-351)
+- [reputation-staking-market.md](#sec-352)
+- [reputation.md](#sec-353)
+- [restyle.md](#sec-354)
+- [rig-doctor.md](#sec-355)
+- [risk-acknowledgment.md](#sec-356)
+- [robinhood-chain-markets.md](#sec-357)
+- [sas-attestations.md](#sec-358)
+- [scene-studio.md](#sec-359)
+- [sdk.md](#sec-360)
+- [security.md](#sec-361)
+- [seed-quality.md](#sec-362)
+- [selfie-to-avatar.md](#sec-363)
+- [share-and-embed.md](#sec-364)
+- [shared-utilities.md](#sec-365)
+- [showcase.md](#sec-366)
+- [sign-language.md](#sec-367)
+- [signals.md](#sec-368)
+- [sketchfab.md](#sec-369)
+- [skills.md](#sec-370)
+- [smart-contracts.md](#sec-371)
+- [smart-money.md](#sec-372)
+- [sniper-autonomy.md](#sec-373)
+- [social-layer.md](#sec-374)
+- [solana-pumpfun.md](#sec-375)
+- [solana-reputation.md](#sec-376)
+- [solana.md](#sec-377)
+- [spatial-mcp.md](#sec-378)
+- [splat.md](#sec-380)
+- [stage.md](#sec-381)
+- [start-here.md](#sec-382)
+- [strategy-objects.md](#sec-383)
+- [swarms.md](#sec-384)
+- [syndication.md](#sec-385)
+- [talking-avatar-video.md](#sec-386)
+- [terminal.md](#sec-387)
+- [three-microbuy.md](#sec-388)
+- [timeline.md](#sec-389)
+- [token-gated-3d-embeds.md](#sec-390)
+- [tokens-xyz.md](#sec-391)
+- [trader-card.md](#sec-392)
+- [trader-passport.md](#sec-393)
+- [trading-arenas.md](#sec-394)
+- [trading-copilot.md](#sec-395)
+- [trading-experiment.md](#sec-396)
+- [trading-hub.md](#sec-397)
+- [trading-surfaces.md](#sec-398)
+- [troubleshooting.md](#sec-399)
+- [trust-primitives.md](#sec-400)
+- [ui-juice.md](#sec-470)
+- [user-wallet.md](#sec-471)
+- [validation.md](#sec-484)
+- [vanity.md](#sec-485)
+- [vaults.md](#sec-486)
+- [viability.md](#sec-487)
+- [viewer.md](#sec-488)
+- [voice-lab.md](#sec-489)
+- [walk-leaderboard.md](#sec-490)
+- [web-component.md](#sec-491)
+- [widget-api.md](#sec-492)
+- [widget-studio.md](#sec-493)
+- [widgets.md](#sec-494)
+- [world-lines.md](#sec-495)
+- [x-meetup-posts.md](#sec-496)
+- [x-memory-seeding.md](#sec-497)
+- [x402-buyer.md](#sec-498)
+- [x402-dev-tools.md](#sec-499)
+- [x402-distribution.md](#sec-500)
+- [x402-endpoints.md](#sec-501)
+- [x402-revenue.md](#sec-502)
+- [x402-ring-economy.md](#sec-503)
+- [x402-solana-july-roundup-response.md](#sec-504)
+- [x402-studio.md](#sec-505)
+- [x402.md](#sec-506)
### agent-abilities
@@ -328,192 +352,221 @@
### agent-tasks
-- [agent-tasks/README.md](#sec-062)
-- [agent-tasks/fix-x402-502-bursts.md](#sec-063)
-- [agent-tasks/fix-x402-caller-mismatches.md](#sec-064)
-- [agent-tasks/fix-x402-wallet-health.md](#sec-065)
-- [agent-tasks/new-trading-arm-x402-signals.md](#sec-066)
+- [agent-tasks/README.md](#sec-063)
+- [agent-tasks/fix-x402-502-bursts.md](#sec-064)
+- [agent-tasks/fix-x402-caller-mismatches.md](#sec-065)
+- [agent-tasks/fix-x402-wallet-health.md](#sec-066)
+- [agent-tasks/new-trading-arm-x402-signals.md](#sec-067)
### agora
-- [agora/tasks/00-INDEX.md](#sec-072)
-- [agora/tasks/01-verify-foundation.md](#sec-073)
-- [agora/tasks/02-life-engine.md](#sec-074)
-- [agora/tasks/03-task-supply.md](#sec-075)
-- [agora/tasks/04-professions.md](#sec-076)
-- [agora/tasks/05-commons-scaffold.md](#sec-077)
-- [agora/tasks/06-economy-visuals.md](#sec-078)
-- [agora/tasks/07-verify-and-passport.md](#sec-079)
-- [agora/tasks/08-humans-first-class.md](#sec-080)
-- [agora/tasks/09-arena-and-guilds.md](#sec-081)
-- [agora/tasks/10-agora-mcp.md](#sec-082)
-- [agora/tasks/11-production-hardening.md](#sec-083)
-- [agora/tasks/12-fleet-render-performance.md](#sec-084)
+- [agora/tasks/00-INDEX.md](#sec-074)
+- [agora/tasks/01-verify-foundation.md](#sec-075)
+- [agora/tasks/02-life-engine.md](#sec-076)
+- [agora/tasks/03-task-supply.md](#sec-077)
+- [agora/tasks/04-professions.md](#sec-078)
+- [agora/tasks/05-commons-scaffold.md](#sec-079)
+- [agora/tasks/06-economy-visuals.md](#sec-080)
+- [agora/tasks/07-verify-and-passport.md](#sec-081)
+- [agora/tasks/08-humans-first-class.md](#sec-082)
+- [agora/tasks/09-arena-and-guilds.md](#sec-083)
+- [agora/tasks/10-agora-mcp.md](#sec-084)
+- [agora/tasks/11-production-hardening.md](#sec-085)
+- [agora/tasks/12-fleet-render-performance.md](#sec-086)
### api
-- [api/forge-x402.md](#sec-090)
+- [api/forge-x402.md](#sec-095)
### content
-- [content/use-cases/README.md](#sec-142)
-- [content/use-cases/ai-agent-developer.md](#sec-143)
-- [content/use-cases/brand-marketer.md](#sec-144)
-- [content/use-cases/crypto-community.md](#sec-145)
-- [content/use-cases/game-studio.md](#sec-146)
-- [content/use-cases/indie-creator.md](#sec-147)
+- [content/use-cases/README.md](#sec-149)
+- [content/use-cases/ai-agent-developer.md](#sec-150)
+- [content/use-cases/brand-marketer.md](#sec-151)
+- [content/use-cases/crypto-community.md](#sec-152)
+- [content/use-cases/game-studio.md](#sec-153)
+- [content/use-cases/indie-creator.md](#sec-154)
### cookbook
-- [cookbook/asset-quality-gate.md](#sec-149)
-- [cookbook/mcp-3d-tool.md](#sec-150)
-- [cookbook/parallel-asset-pack.md](#sec-151)
-- [cookbook/text-to-3d-cli.md](#sec-152)
+- [cookbook/asset-quality-gate.md](#sec-156)
+- [cookbook/mcp-3d-tool.md](#sec-157)
+- [cookbook/parallel-asset-pack.md](#sec-158)
+- [cookbook/text-to-3d-cli.md](#sec-159)
### erc8004
-- [erc8004/validation-attestation.md](#sec-176)
+- [erc8004/validation-attestation.md](#sec-183)
+
+### event-readiness
+
+- [event-readiness/01-play-first-impression.md](#sec-184)
+- [event-readiness/02-play-mobile.md](#sec-185)
+- [event-readiness/03-play-performance.md](#sec-186)
+- [event-readiness/04-play-multiplayer-net.md](#sec-187)
+- [event-readiness/05-play-economy-loops.md](#sec-188)
+- [event-readiness/06-play-auth-errors.md](#sec-189)
+- [event-readiness/07-platform-smoke-sweep.md](#sec-190)
+- [event-readiness/08-api-production-health.md](#sec-191)
+- [event-readiness/09-accessibility-i18n.md](#sec-192)
+- [event-readiness/10-event-day-runbook.md](#sec-193)
+- [event-readiness/11-event-live-ops.md](#sec-194)
+- [event-readiness/12-photo-mode-share.md](#sec-195)
+- [event-readiness/13-event-quests-leaderboard.md](#sec-196)
+- [event-readiness/14-welcome-concierge.md](#sec-197)
+- [event-readiness/15-live-hype-feed.md](#sec-198)
+- [event-readiness/16-invite-flow.md](#sec-199)
+- [event-readiness/17-plaza-live-show.md](#sec-200)
+- [event-readiness/18-coin-wars-portal.md](#sec-201)
+- [event-readiness/19-forge-props-live.md](#sec-202)
+- [event-readiness/20-world-chat-scrollback.md](#sec-203)
+- [event-readiness/21-party-system.md](#sec-204)
+- [event-readiness/22-venue-projector-mode.md](#sec-205)
+- [event-readiness/23-signature-wall.md](#sec-206)
+- [event-readiness/24-dance-off.md](#sec-207)
+- [event-readiness/LIVE-OPS.md](#sec-208)
+- [event-readiness/README.md](#sec-209)
### irl
-- [irl/THREAT-MODEL.md](#sec-211)
+- [irl/THREAT-MODEL.md](#sec-253)
### openai-pr
-- [openai-pr/00-START-HERE.md](#sec-254)
-- [openai-pr/01-orphan-widget-resolution.md](#sec-255)
-- [openai-pr/02-wellknown-manifest-conflict.md](#sec-256)
-- [openai-pr/03-forge-free-tier-truth.md](#sec-257)
-- [openai-pr/04-openai-surface-test-coverage.md](#sec-258)
-- [openai-pr/05-custom-gpt-openapi-serving.md](#sec-259)
-- [openai-pr/06-docs-accuracy-reconciliation.md](#sec-260)
-- [openai-pr/07-final-verification-and-submit.md](#sec-261)
+- [openai-pr/00-START-HERE.md](#sec-296)
+- [openai-pr/01-orphan-widget-resolution.md](#sec-297)
+- [openai-pr/02-wellknown-manifest-conflict.md](#sec-298)
+- [openai-pr/03-forge-free-tier-truth.md](#sec-299)
+- [openai-pr/04-openai-surface-test-coverage.md](#sec-300)
+- [openai-pr/05-custom-gpt-openapi-serving.md](#sec-301)
+- [openai-pr/06-docs-accuracy-reconciliation.md](#sec-302)
+- [openai-pr/07-final-verification-and-submit.md](#sec-303)
### partners
-- [partners/sperax-proposal.md](#sec-266)
+- [partners/sperax-proposal.md](#sec-308)
### pumpfun-program
-- [pumpfun-program/README.md](#sec-282)
-- [pumpfun-program/UPSTREAM-buy-sell-v2-announcement.md](#sec-283)
-- [pumpfun-program/UPSTREAM-pumpswap-virtual-quote-reserves.md](#sec-284)
-- [pumpfun-program/docs/BREAKING_FEE_RECIPIENT.md](#sec-285)
-- [pumpfun-program/docs/CPI_README.md](#sec-286)
-- [pumpfun-program/docs/FAQ.md](#sec-287)
-- [pumpfun-program/docs/FEE_PROGRAM_README.md](#sec-288)
-- [pumpfun-program/docs/FEE_RECIPIENTS.md](#sec-289)
-- [pumpfun-program/docs/PUMP_CASHBACK_README.md](#sec-290)
-- [pumpfun-program/docs/PUMP_CREATOR_FEE_README.md](#sec-291)
-- [pumpfun-program/docs/PUMP_PROGRAM_README.md](#sec-292)
-- [pumpfun-program/docs/PUMP_SWAP_CREATOR_FEE_README.md](#sec-293)
-- [pumpfun-program/docs/PUMP_SWAP_README.md](#sec-294)
-- [pumpfun-program/docs/PUMP_SWAP_SDK_README.md](#sec-295)
-- [pumpfun-program/docs/instructions/BUY.md](#sec-296)
-- [pumpfun-program/docs/instructions/CLAIM_CASHBACK.md](#sec-297)
-- [pumpfun-program/docs/instructions/COIN_CREATION.md](#sec-298)
-- [pumpfun-program/docs/instructions/COLLECT_CREATOR_FEE.md](#sec-299)
-- [pumpfun-program/docs/instructions/CREATOR_FEE_SHARING.md](#sec-300)
-- [pumpfun-program/docs/instructions/SELL.md](#sec-301)
+- [pumpfun-program/README.md](#sec-328)
+- [pumpfun-program/UPSTREAM-buy-sell-v2-announcement.md](#sec-329)
+- [pumpfun-program/UPSTREAM-pumpswap-virtual-quote-reserves.md](#sec-330)
+- [pumpfun-program/docs/BREAKING_FEE_RECIPIENT.md](#sec-331)
+- [pumpfun-program/docs/CPI_README.md](#sec-332)
+- [pumpfun-program/docs/FAQ.md](#sec-333)
+- [pumpfun-program/docs/FEE_PROGRAM_README.md](#sec-334)
+- [pumpfun-program/docs/FEE_RECIPIENTS.md](#sec-335)
+- [pumpfun-program/docs/PUMP_CASHBACK_README.md](#sec-336)
+- [pumpfun-program/docs/PUMP_CREATOR_FEE_README.md](#sec-337)
+- [pumpfun-program/docs/PUMP_PROGRAM_README.md](#sec-338)
+- [pumpfun-program/docs/PUMP_SWAP_CREATOR_FEE_README.md](#sec-339)
+- [pumpfun-program/docs/PUMP_SWAP_README.md](#sec-340)
+- [pumpfun-program/docs/PUMP_SWAP_SDK_README.md](#sec-341)
+- [pumpfun-program/docs/instructions/BUY.md](#sec-342)
+- [pumpfun-program/docs/instructions/CLAIM_CASHBACK.md](#sec-343)
+- [pumpfun-program/docs/instructions/COIN_CREATION.md](#sec-344)
+- [pumpfun-program/docs/instructions/COLLECT_CREATOR_FEE.md](#sec-345)
+- [pumpfun-program/docs/instructions/CREATOR_FEE_SHARING.md](#sec-346)
+- [pumpfun-program/docs/instructions/SELL.md](#sec-347)
### specs
-- [specs/agent-trading.md](#sec-332)
+- [specs/agent-trading.md](#sec-379)
### tutorials
-- [tutorials/add-a-3d-assistant.md](#sec-353)
-- [tutorials/agent-personality.md](#sec-354)
-- [tutorials/agent-reputation.md](#sec-355)
-- [tutorials/agent-spending-envelope.md](#sec-356)
-- [tutorials/animate-your-agent.md](#sec-357)
-- [tutorials/animate-your-avatar.md](#sec-358)
-- [tutorials/arm-an-agent-sniper.md](#sec-359)
-- [tutorials/build-a-3d-asset-pipeline.md](#sec-360)
-- [tutorials/build-a-scene.md](#sec-361)
-- [tutorials/build-a-site-concierge.md](#sec-362)
-- [tutorials/character-library-to-embed.md](#sec-363)
-- [tutorials/claim-threews-name.md](#sec-364)
-- [tutorials/connect-ai-brain.md](#sec-365)
-- [tutorials/create-and-edit-memory.md](#sec-366)
-- [tutorials/custom-skill.md](#sec-367)
-- [tutorials/customize-appearance.md](#sec-368)
-- [tutorials/deploy-to-vercel-custom-domain.md](#sec-369)
-- [tutorials/earn-and-spend-in-play.md](#sec-370)
-- [tutorials/embed-in-30-seconds.md](#sec-371)
-- [tutorials/embed-on-website.md](#sec-372)
-- [tutorials/emotion-from-data.md](#sec-373)
-- [tutorials/explore-docs-world.md](#sec-374)
-- [tutorials/find-a-better-exit-policy.md](#sec-375)
-- [tutorials/first-agent.md](#sec-376)
-- [tutorials/first-prompt-to-3d.md](#sec-377)
-- [tutorials/generate-3d-api.md](#sec-378)
-- [tutorials/getting-started.md](#sec-379)
-- [tutorials/greeting-and-first-speech.md](#sec-380)
-- [tutorials/image-to-3d.md](#sec-381)
-- [tutorials/import-avatar-url.md](#sec-382)
-- [tutorials/js-api-events.md](#sec-383)
-- [tutorials/mcp-server-for-your-agent.md](#sec-384)
-- [tutorials/mine-vanity-address.md](#sec-385)
-- [tutorials/mint-pumpfun-token.md](#sec-386)
-- [tutorials/monetize-mcp-server.md](#sec-387)
-- [tutorials/multi-agent-coordination.md](#sec-388)
-- [tutorials/nvidia-3d-free.md](#sec-389)
-- [tutorials/nvidia-nim-self-host.md](#sec-390)
-- [tutorials/paid-x402-endpoint.md](#sec-391)
-- [tutorials/pay-for-x402-service.md](#sec-392)
-- [tutorials/personal-ai-site.md](#sec-393)
-- [tutorials/place-agent-irl.md](#sec-394)
-- [tutorials/prompts-for-3d.md](#sec-395)
-- [tutorials/read-the-trading-fleet.md](#sec-396)
-- [tutorials/register-onchain.md](#sec-397)
-- [tutorials/render-avatar-images.md](#sec-398)
-- [tutorials/self-host-agent-backend.md](#sec-399)
-- [tutorials/selfie-to-avatar.md](#sec-400)
-- [tutorials/sell-a-skill-with-a-trial.md](#sec-401)
-- [tutorials/share-your-agent.md](#sec-402)
-- [tutorials/ship-an-avatar-manifest.md](#sec-403)
-- [tutorials/shopify-shopping-assistant.md](#sec-404)
-- [tutorials/shopify-store-guide-advanced.md](#sec-405)
-- [tutorials/shopify-store-guide.md](#sec-406)
-- [tutorials/sign-with-your-avatar.md](#sec-407)
-- [tutorials/skill-with-database-auth.md](#sec-408)
-- [tutorials/solana-agent-reputation.md](#sec-409)
-- [tutorials/sperax-tour.md](#sec-410)
-- [tutorials/swap-avatar-in-studio.md](#sec-411)
-- [tutorials/text-to-3d.md](#sec-412)
-- [tutorials/trigger-from-page-events.md](#sec-413)
-- [tutorials/upload-custom-glb.md](#sec-414)
-- [tutorials/view-in-ar.md](#sec-415)
-- [tutorials/voice-and-lipsync.md](#sec-416)
-- [tutorials/walk-companion.md](#sec-417)
-- [tutorials/wallet-sign-in.md](#sec-418)
-- [tutorials/web-component-end-to-end.md](#sec-419)
-- [tutorials/write-a-guard.md](#sec-420)
-- [tutorials/x402-server-sdk.md](#sec-421)
+- [tutorials/add-a-3d-assistant.md](#sec-401)
+- [tutorials/agent-personality.md](#sec-402)
+- [tutorials/agent-reputation.md](#sec-403)
+- [tutorials/agent-spending-envelope.md](#sec-404)
+- [tutorials/animate-your-agent.md](#sec-405)
+- [tutorials/animate-your-avatar.md](#sec-406)
+- [tutorials/arm-an-agent-sniper.md](#sec-407)
+- [tutorials/build-a-3d-asset-pipeline.md](#sec-408)
+- [tutorials/build-a-scene.md](#sec-409)
+- [tutorials/build-a-site-concierge.md](#sec-410)
+- [tutorials/character-library-to-embed.md](#sec-411)
+- [tutorials/claim-threews-name.md](#sec-412)
+- [tutorials/connect-ai-brain.md](#sec-413)
+- [tutorials/create-and-edit-memory.md](#sec-414)
+- [tutorials/custom-skill.md](#sec-415)
+- [tutorials/customize-appearance.md](#sec-416)
+- [tutorials/deploy-to-vercel-custom-domain.md](#sec-417)
+- [tutorials/earn-and-spend-in-play.md](#sec-418)
+- [tutorials/embed-in-30-seconds.md](#sec-419)
+- [tutorials/embed-on-website.md](#sec-420)
+- [tutorials/emotion-from-data.md](#sec-421)
+- [tutorials/explore-docs-world.md](#sec-422)
+- [tutorials/find-a-better-exit-policy.md](#sec-423)
+- [tutorials/first-agent.md](#sec-424)
+- [tutorials/first-prompt-to-3d.md](#sec-425)
+- [tutorials/generate-3d-api.md](#sec-426)
+- [tutorials/getting-started.md](#sec-427)
+- [tutorials/greeting-and-first-speech.md](#sec-428)
+- [tutorials/image-to-3d.md](#sec-429)
+- [tutorials/import-avatar-url.md](#sec-430)
+- [tutorials/js-api-events.md](#sec-431)
+- [tutorials/mcp-server-for-your-agent.md](#sec-432)
+- [tutorials/mine-vanity-address.md](#sec-433)
+- [tutorials/mint-pumpfun-token.md](#sec-434)
+- [tutorials/monetize-mcp-server.md](#sec-435)
+- [tutorials/multi-agent-coordination.md](#sec-436)
+- [tutorials/nvidia-3d-free.md](#sec-437)
+- [tutorials/nvidia-nim-self-host.md](#sec-438)
+- [tutorials/paid-x402-endpoint.md](#sec-439)
+- [tutorials/pay-for-x402-service.md](#sec-440)
+- [tutorials/personal-ai-site.md](#sec-441)
+- [tutorials/place-agent-irl.md](#sec-442)
+- [tutorials/prompts-for-3d.md](#sec-443)
+- [tutorials/read-the-trading-fleet.md](#sec-444)
+- [tutorials/register-onchain.md](#sec-445)
+- [tutorials/render-avatar-images.md](#sec-446)
+- [tutorials/self-host-agent-backend.md](#sec-447)
+- [tutorials/selfie-to-avatar.md](#sec-448)
+- [tutorials/sell-a-skill-with-a-trial.md](#sec-449)
+- [tutorials/share-your-agent.md](#sec-450)
+- [tutorials/ship-an-avatar-manifest.md](#sec-451)
+- [tutorials/shopify-shopping-assistant.md](#sec-452)
+- [tutorials/shopify-store-guide-advanced.md](#sec-453)
+- [tutorials/shopify-store-guide.md](#sec-454)
+- [tutorials/sign-with-your-avatar.md](#sec-455)
+- [tutorials/skill-with-database-auth.md](#sec-456)
+- [tutorials/solana-agent-reputation.md](#sec-457)
+- [tutorials/sperax-tour.md](#sec-458)
+- [tutorials/swap-avatar-in-studio.md](#sec-459)
+- [tutorials/text-to-3d.md](#sec-460)
+- [tutorials/trigger-from-page-events.md](#sec-461)
+- [tutorials/upload-custom-glb.md](#sec-462)
+- [tutorials/view-in-ar.md](#sec-463)
+- [tutorials/voice-and-lipsync.md](#sec-464)
+- [tutorials/walk-companion.md](#sec-465)
+- [tutorials/wallet-sign-in.md](#sec-466)
+- [tutorials/web-component-end-to-end.md](#sec-467)
+- [tutorials/write-a-guard.md](#sec-468)
+- [tutorials/x402-server-sdk.md](#sec-469)
### ux-flows
-- [ux-flows/01-onboarding-creation.md](#sec-424)
-- [ux-flows/02-forge-text-to-3d.md](#sec-425)
-- [ux-flows/03-3d-editing-viewer.md](#sec-426)
-- [ux-flows/04-embed-widget-studio.md](#sec-427)
-- [ux-flows/05-discovery-social.md](#sec-428)
-- [ux-flows/06-marketplace-skills.md](#sec-429)
-- [ux-flows/07-crypto-trading-analytics.md](#sec-430)
-- [ux-flows/08-coin-launch-wallets.md](#sec-431)
-- [ux-flows/09-x402-agent-commerce.md](#sec-432)
-- [ux-flows/10-chat-brain-labs.md](#sec-433)
-- [ux-flows/11-account-dashboard.md](#sec-434)
-- [ux-flows/12-home-and-content.md](#sec-435)
+- [ux-flows/01-onboarding-creation.md](#sec-472)
+- [ux-flows/02-forge-text-to-3d.md](#sec-473)
+- [ux-flows/03-3d-editing-viewer.md](#sec-474)
+- [ux-flows/04-embed-widget-studio.md](#sec-475)
+- [ux-flows/05-discovery-social.md](#sec-476)
+- [ux-flows/06-marketplace-skills.md](#sec-477)
+- [ux-flows/07-crypto-trading-analytics.md](#sec-478)
+- [ux-flows/08-coin-launch-wallets.md](#sec-479)
+- [ux-flows/09-x402-agent-commerce.md](#sec-480)
+- [ux-flows/10-chat-brain-labs.md](#sec-481)
+- [ux-flows/11-account-dashboard.md](#sec-482)
+- [ux-flows/12-home-and-content.md](#sec-483)
### zauth
-- [zauth/database.md](#sec-457)
-- [zauth/index.md](#sec-458)
-- [zauth/provider-hub.md](#sec-459)
-- [zauth/reposcan.md](#sec-460)
-- [zauth/vector.md](#sec-461)
+- [zauth/database.md](#sec-507)
+- [zauth/index.md](#sec-508)
+- [zauth/provider-hub.md](#sec-509)
+- [zauth/reposcan.md](#sec-510)
+- [zauth/vector.md](#sec-511)
---
@@ -1030,9 +1083,9 @@ This is the canonical reference for how three.ws moves a 3D character or motion
If you just want to add one animation or upload one avatar, the task guides are shorter:
-- [docs/animations.md](#sec-088) — the animation registry, runtime loading, and agent slots.
-- [docs/avatar-creation.md](#sec-101) — the three ways to create an avatar (photo, builder, upload).
-- [docs/tutorials/upload-custom-glb.md](#sec-414) — Mixamo → GLB, validation, and the common failure modes.
+- [docs/animations.md](#sec-091) — the animation registry, runtime loading, and agent slots.
+- [docs/avatar-creation.md](#sec-106) — the three ways to create an avatar (photo, builder, upload).
+- [docs/tutorials/upload-custom-glb.md](#sec-462) — Mixamo → GLB, validation, and the common failure modes.
This document is the *why and how* underneath all of those.
@@ -1350,11 +1403,11 @@ text/image ──► mesh_forge ──► static GLB ──► rig_mesh ──
three.ws runs a full 3D asset pipeline — the same lanes the platform uses to turn
a prompt into a rigged, game-ready character. Every working stage is sold as its
-own [x402](#sec-456) resource: an AI agent pays a few cents in USDC, hands in a URL,
+own [x402](#sec-506) resource: an AI agent pays a few cents in USDC, hands in a URL,
and gets back a finished asset URL. No API key, no account, no signup.
Nobody else in the x402 ecosystem offers this. The generation stage (text/image →
-3D) is [`/api/x402/forge`](#sec-452); the stages below are what you do to
+3D) is [`/api/x402/forge`](#sec-501); the stages below are what you do to
a mesh *after* it exists.
```
@@ -1367,7 +1420,7 @@ a mesh *after* it exists.
1. **One stage at a time** — `POST /api/x402/pipeline-<stage>`. One payment buys
one finished asset, returned inline as a durable first-party URL. This is the
reference below.
-2. **The whole chain in one call** — [`POST /api/x402/pipeline`](#sec-452).
+2. **The whole chain in one call** — [`POST /api/x402/pipeline`](#sec-501).
Submit an ordered chain (`generate → rig → remesh → gameready → stylize`); the
402 quote is the exact sum of the requested stages, and you poll the job free
at `GET /api/forge?job=<id>` while it advances. Use this when you want the full
@@ -1515,9 +1568,9 @@ returned as-is. Poll budget is tunable via `X402_PIPELINE_POLL_BUDGET_MS`
## Related
-- [x402 paid endpoints](#sec-452) — the full catalog + pricing model
-- [x402 buyer client](#sec-449) — how to settle payments as an agent
-- [Avatar pipeline](#sec-105) — the generation + rig lanes in depth
+- [x402 paid endpoints](#sec-501) — the full catalog + pricing model
+- [x402 buyer client](#sec-498) — how to settle payments as an agent
+- [Avatar pipeline](#sec-110) — the generation + rig lanes in depth
---
@@ -1958,10 +2011,10 @@ Product and developer documentation for three.ws. Individual docs are served on
Start points:
-- [start-here.md](#sec-335): the front door for both creators and developers, with the reference shelf at the bottom.
-- [introduction.md](#sec-209) and [quick-start.md](#sec-302): the developer track.
+- [start-here.md](#sec-382): the front door for both creators and developers, with the reference shelf at the bottom.
+- [introduction.md](#sec-251) and [quick-start.md](#sec-348): the developer track.
- [ALL.md](ALL.md): generated single-file aggregate of the public docs (regenerate with `node scripts/combine-docs.mjs`; edit source files, never ALL.md).
-- [api-reference.md](#sec-089): the REST API surface, with dedicated docs for the larger API families (crypto, 3D, market data, MCP).
+- [api-reference.md](#sec-094): the REST API surface, with dedicated docs for the larger API families (crypto, 3D, market data, MCP).
Subdirectories: [tutorials/](tutorials) (step-by-step guides served on-site), [specs/](specs) (proposed contracts), [api/](api), [erc8004/](erc8004), [agent-abilities/](agent-abilities), [ux-flows/](ux-flows) (the UX Flow Atlas), [content/](content) (use-case narratives), [partners/](partners).
@@ -1977,7 +2030,7 @@ Writing rules are in [CLAUDE.md](../CLAUDE.md) (Documentation section): every fe
# AgenC
-[AgenC](#sec-071) is the on-chain coordination protocol three.ws reads from for
+[AgenC](#sec-073) is the on-chain coordination protocol three.ws reads from for
task discovery and agent identity. three.ws exposes a small set of **read**
endpoints over it and bridges three.ws agent handles to AgenC agent IDs. This page
documents what is wired today — including, plainly, what is not.
@@ -2004,16 +2057,42 @@ work is posted, and how a task moves from posted → claimed → completed.
| `/api/agenc/get-task?creator=<base58>&taskId=<hex\|label>&cluster=devnet` | GET | Same, addressed by creator + task id. |
| `/api/agenc/get-agent?agentPda=<base58>&cluster=devnet` | GET | Agent registry record. |
| `/api/agenc/get-agent?agentId=<hex\|label>&cluster=devnet` | GET | Same, addressed by agent id. |
+| `/api/agenc/x402-services?type=http&network=<caip2>&maxPrice=<atomic>` | GET | Live x402 endpoints from the Bazaar, shaped as postable AgenC tasks. |
These are live on-chain reads; the SDK is loaded lazily so the endpoints stay cheap
when unused. Both `devnet` and `mainnet` clusters are addressable via `cluster`.
+`cluster` defaults to `mainnet`; note the AgenC program's populated deployment is
+on **devnet** today, so a mainnet read of a real task normally returns `not_found`.
+
+`x402-services` is the odd one out: it reads the x402 Bazaar rather than the chain,
+and returns each discovered endpoint with a deterministic `taskIdSeed` so the same
+service always maps to the same AgenC task PDA when someone posts it. `maxPrice` is
+an atomic amount (`10000` = 0.01 USDC), not a decimal.
+
+### Errors
+
+| Status | Body `error` | Meaning |
+|---|---|---|
+| 400 | `validation_error` | A missing or malformed parameter; the message names it. |
+| 404 | `not_found` | Unknown action, or the PDA holds no such task/agent on that cluster. |
+| 405 | `method_not_allowed` | Wrong verb (the reads are GET, `link` is POST). |
+| 429 | `rate_limited` | Per-IP limit; retry after the window in the response. |
+| 502 | `facilitator_error` | `x402-services` only: every Bazaar facilitator failed. |
+| 503 | `rpc_unavailable` | Every Solana RPC lane refused the read. Retry; `Retry-After` is set. |
+
+Chain reads rotate across the platform's canonical, priority-ordered Solana RPC
+endpoint list, sharing its process-wide cooldown map, so one provider blocking our
+egress or exhausting its quota is transparently failed over rather than surfaced as
+an error. Set `AGENC_RPC_URL` to pin a preferred endpoint at the head of that list;
+it is a preference, not the whole list, so pinning a dead endpoint no longer takes
+the routes down. A 503 means the whole chain refused the same read at once.
### The lifecycle timeline (`&lifecycle=1`)
`lifecycle=1` adds the task's ordered event timeline. A Solana account records
*what* happened but not the signature of the transaction that wrote it, so the
chain alone returns `txSignature: null` on every event. three.ws journals the real
-signature of every write it makes through the [Agora](#sec-071) rail, so the
+signature of every write it makes through the [Agora](#sec-073) rail, so the
response fills those blanks from that journal:
```json
@@ -2050,7 +2129,7 @@ Rules the enrichment holds to:
as onto its event. `proofHash` is `sha256(deliverable bytes)`, which is what lets
a client holding only a task PDA (a `/agora?task=<pda>` deep link) re-download
the artifact, re-hash it in the browser, and verify the work without trusting
- us. See [Agora](#sec-071) for that verification surface.
+ us. See [Agora](#sec-073) for that verification surface.
## Identity bridge — `/api/agenc/link`
@@ -2067,18 +2146,18 @@ three.ws agent to its on-chain identity so reputation and tasks can be correlate
on-chain identity; no `api/agenc/` endpoint **writes** a new agent registration
or task to the AgenC program. The write paths that do exist live elsewhere:
-- The [Agora](#sec-071) MCP tools (`packages/agora-mcp`): `agora_register` performs
+- The [Agora](#sec-073) MCP tools (`packages/agora-mcp`): `agora_register` performs
the real on-chain AgenC agent registration, and `agora_post_task` /
`agora_claim_task` / `agora_complete_task` drive the task lifecycle.
- The `agora-citizens` worker registers its citizens on AgenC the same way.
Treat this page's REST surface as **discovery + identity correlation**. For the
other writable on-chain identity, minting agents as Metaplex Core NFTs, see
-[Deploy agents on-chain (bulk)](#sec-253).
+[Deploy agents on-chain (bulk)](#sec-295).
## Relationship to Agora
-[Agora](#sec-071) is the living agent-and-human economy layer that uses AgenC as
+[Agora](#sec-073) is the living agent-and-human economy layer that uses AgenC as
its on-chain task substrate (post → claim → complete → earn, with $THREE escrow).
The Agora MCP write tools (`agora_post_task`, `agora_claim_task`,
`agora_complete_task`) are where the on-chain *write* lifecycle lives today; the
@@ -2086,9 +2165,9 @@ AgenC endpoints here are the read/identity side.
## Related
-- [Agora](#sec-071) — the economy and write lifecycle on top of AgenC.
-- [Agent reputation](#sec-054), [ERC-8004](#sec-175).
-- [Deploy agents on-chain (bulk)](#sec-253).
+- [Agora](#sec-073) — the economy and write lifecycle on top of AgenC.
+- [Agent reputation](#sec-054), [ERC-8004](#sec-182).
+- [Deploy agents on-chain (bulk)](#sec-295).
---
@@ -3111,7 +3190,7 @@ Conversations with the latency and interruptibility of a phone call, not a walki
Drop a chat panel with a 3D avatar onto your own site. Visitors talk to it by text or voice, it answers grounded in the knowledge base you uploaded, performs its skills visibly through the avatar, reacts empathetically to visitor sentiment, and speaks replies aloud. Owners get saved transcripts and stats; visitor input is moderated and personally identifying information is redacted before storage. A variant even carries its own Solana wallet and can send SOL.
-The NichAgent conversational surface routed through a per-widget chat endpoint with embedding-based retrieval plus reranking over ingested knowledge, PII redaction, anonymous-input moderation, and the multi-provider LLM failover chain.
+The NichAgent conversational surface routed through a per-widget chat endpoint with embedding-based retrieval plus reranking over ingested knowledge, PII redaction, and the multi-provider LLM failover chain.
A production-grade, voice-enabled AI greeter for your site in one snippet — with the safety plumbing already done.
@@ -4205,7 +4284,7 @@ Read the crowd on any token before acting — from a free one-call API, an agent
A free, no-key, no-account crypto data API built for AI agents: token snapshots, security/rug signals, holder concentration, live pump.fun launches, bonding-curve status, whale activity, trending tokens, wallet portfolios, and ticker-availability checks — with public docs, a live try-it console, and OpenAPI 3.1 discovery.
-pages/crypto.html documents /api/crypto/*; api/crypto/index.js and api/crypto/openapi.js assemble the catalog from self-describing descriptors in api/_lib/crypto-catalog/ (bonding, holders, launches, security, symbol, token, trending, wallet, whales), and the docs page probes production at runtime to mark each endpoint Live vs Coming soon.
+pages/crypto.html documents /api/crypto/*; api/crypto/index.js and api/crypto/openapi.js assemble the catalog from self-describing descriptors in api/_lib/crypto-catalog/ (airdrops, bonding, holders, launches, portfolio, security, symbol, token, trending, wallet, whales), and the docs page probes production at runtime to mark each endpoint Live vs Coming soon.
Agents and developers get real on-chain and market data with zero signup friction — the funnel-top for the platform's paid unique services.
@@ -5937,7 +6016,7 @@ Beyond turn-based talk, agents support genuinely live, full-duplex voice: you ca
Drop a chat panel with a 3D avatar onto your own site. Visitors talk to it by text or voice, it answers grounded in the knowledge base you uploaded, performs its skills visibly through the avatar, reacts empathetically to visitor sentiment, and speaks replies aloud. Owners get saved transcripts and stats; visitor input is moderated and personally identifying information is redacted before storage. A variant even carries its own Solana wallet and can send SOL.
-**How it works:** The NichAgent conversational surface routed through a per-widget chat endpoint with embedding-based retrieval plus reranking over ingested knowledge, PII redaction, anonymous-input moderation, and the multi-provider LLM failover chain.
+**How it works:** The NichAgent conversational surface routed through a per-widget chat endpoint with embedding-based retrieval plus reranking over ingested knowledge, PII redaction, and the multi-provider LLM failover chain.
**Why it matters:** A production-grade, voice-enabled AI greeter for your site in one snippet — with the safety plumbing already done.
@@ -7170,7 +7249,7 @@ Token sentiment on demand: POST /api/sentiment scores any text (Positive/Negativ
A free, no-key, no-account crypto data API built for AI agents: token snapshots, security/rug signals, holder concentration, live pump.fun launches, bonding-curve status, whale activity, trending tokens, wallet portfolios, and ticker-availability checks — with public docs, a live try-it console, and OpenAPI 3.1 discovery.
-**How it works:** pages/crypto.html documents /api/crypto/*; api/crypto/index.js and api/crypto/openapi.js assemble the catalog from self-describing descriptors in api/_lib/crypto-catalog/ (bonding, holders, launches, security, symbol, token, trending, wallet, whales), and the docs page probes production at runtime to mark each endpoint Live vs Coming soon.
+**How it works:** pages/crypto.html documents /api/crypto/*; api/crypto/index.js and api/crypto/openapi.js assemble the catalog from self-describing descriptors in api/_lib/crypto-catalog/ (airdrops, bonding, holders, launches, portfolio, security, symbol, token, trending, wallet, whales), and the docs page probes production at runtime to mark each endpoint Live vs Coming soon.
**Why it matters:** Agents and developers get real on-chain and market data with zero signup friction — the funnel-top for the platform's paid unique services.
@@ -8783,7 +8862,7 @@ Read access to AgenC (agenc.tech, Tetsuo Corp) — an external Solana coordinati
An always-on strategy that scores every new token against converging quality signals — how many smart-money wallets are in, how organic the buying looks, the token's quality score, and its market cap — and autonomously buys only when your thresholds all pass at once. Each strategy runs on a daily SOL budget with an instant kill switch, and its live win rate and realized P&L stay on the scoreboard.
-**How it works:** The sniper worker (workers/agent-sniper/index.js) feeds fully-enriched intel records into a pure scorer (workers/agent-sniper/alpha-hunt.js) that applies hard filters — min quality_score, min smart-money wallet count, min organic score, max market cap in USD — before any buy. Strategies are configured via api/sniper/strategy.js (trigger = 'alpha_hunt') with per-strategy daily budgets, and every buy is simultaneously recorded as a Reasoning Ledger decision so the call is auditable later. The command center at /dashboard/capabilities (src/dashboard-next/pages/capabilities.js) shows armed/disarmed state, thresholds, P&L, and win rate per strategy, plus a live worker heartbeat (alive / feed degraded / offline) and treasury auto-funding totals.
+**How it works:** The sniper worker (workers/agent-sniper/index.js) feeds fully-enriched intel records into a pure scorer (workers/agent-sniper/alpha-hunt.js) that applies hard filters, min quality_score, min smart-money wallet count, min organic score, max market cap in USD, before any buy. Strategies are configured via api/sniper/strategy.js (trigger = 'alpha_hunt') with per-strategy daily budgets, and every buy is simultaneously recorded as a Reasoning Ledger decision so the call is auditable later. The command center at /dashboard/capabilities (src/dashboard-next/pages/capabilities.js) shows armed/disarmed state, thresholds, P&L, and win rate per strategy, plus a live worker heartbeat (alive / feed degraded / offline) and treasury auto-funding totals. `/api/sniper/status` and the worker tick both read fleet solvency rather than process liveness alone, so a fleet whose wallets are starved (or whose funding master is dry) reports that state instead of looking healthy while it silently buys nothing.
**Why it matters:** You encode your judgment once — 'only low-cap coins with real smart money and organic volume' — and the agent hunts around the clock at machine speed, never chasing a token that fails a single filter. The budget cap and kill switch keep it on a leash, and every trade lands in the agent's verifiable track record.
@@ -8807,7 +8886,7 @@ A fee harvester that watches every coin an agent launched and automatically coll
Agents provide range-based liquidity on coins they care about — defending a price floor, trimming into rallies — with Jito-accelerated execution and a rulebook that makes market manipulation structurally impossible, not just discouraged. Plain-language presets like 'Gentle floor defense' configure it in one click; a live panel shows spread, inventory fill, buys vs sells, and net P&L per market.
-**How it works:** Policies live in api/_lib/market-maker.js, the single source of truth shared by the API (api/agent/market-maker.js, api/launch/mm.js) and the engine worker. Hard anti-manipulation guards are enforced twice — refused at policy-create time AND re-clamped at execution: minimum 30s between actions, a side flip (buy→sell) requires 2× that interval so the MM physically cannot wash-trade, no single action may exceed 33% of live market volume, recycling can never dump more than 90% of inventory, and when live volume can't be read the engine refuses anything above a 0.05 SOL slice so it never paints a no-volume tape. Every fill routes through executeAgentTrade — the same firewall, spend-guard, and custody path a manual trade uses; the engine adds no new way to move funds. MEV tip modes (off/economy/turbo) control Jito priority.
+**How it works:** Policies live in api/_lib/market-maker.js, the single source of truth shared by the API (api/agent/market-maker.js, api/launch/mm.js) and the engine worker. Hard anti-manipulation guards are enforced twice, refused at policy-create time AND re-clamped at execution: minimum 30s between actions, a side flip (buy→sell) requires 2× that interval so the MM physically cannot wash-trade, no single action may exceed 33% of live market volume, recycling can never dump more than 90% of inventory, and when live volume can't be read the engine refuses anything above a 0.05 SOL slice so it never paints a no-volume tape. Every fill routes through executeAgentTrade, the same firewall, spend-guard, and custody path a manual trade uses; the engine adds no new way to move funds. MEV tip modes (off/economy/turbo) control Jito priority. A policy only ever acts while a market-maker worker is sweeping, so the policy view served by api/launch/mm.js carries engine liveness read from the worker's `bot_heartbeat` (stale after 180s, six missed 30s beats): an enabled policy with a stopped engine reads as "engine offline", never as an armed maker that will never fire.
**Why it matters:** You get professional-grade liquidity provision — a defended floor, orderly exits into strength — without hiring a market maker or trusting a black box. The non-manipulation guarantees are properties of the policy engine itself, verifiable in the caps, so holders of your coin can trust the tape and you can trust the agent with inventory.
@@ -8978,7 +9057,7 @@ Beyond turn-based talk, agents support genuinely live, full-duplex voice: you ca
Drop a chat panel with a 3D avatar onto your own site. Visitors talk to it by text or voice, it answers grounded in the knowledge base you uploaded, performs its skills visibly through the avatar, reacts empathetically to visitor sentiment, and speaks replies aloud. Owners get saved transcripts and stats; visitor input is moderated and personally identifying information is redacted before storage. A variant even carries its own Solana wallet and can send SOL.
-**How it works:** The NichAgent conversational surface routed through a per-widget chat endpoint with embedding-based retrieval plus reranking over ingested knowledge, PII redaction, anonymous-input moderation, and the multi-provider LLM failover chain.
+**How it works:** The NichAgent conversational surface routed through a per-widget chat endpoint with embedding-based retrieval plus reranking over ingested knowledge, PII redaction, and the multi-provider LLM failover chain.
**Why it matters:** A production-grade, voice-enabled AI greeter for your site in one snippet — with the safety plumbing already done.
@@ -9992,7 +10071,7 @@ Token sentiment on demand: POST /api/sentiment scores any text (Positive/Negativ
A free, no-key, no-account crypto data API built for AI agents: token snapshots, security/rug signals, holder concentration, live pump.fun launches, bonding-curve status, whale activity, trending tokens, wallet portfolios, and ticker-availability checks — with public docs, a live try-it console, and OpenAPI 3.1 discovery.
-**How it works:** pages/crypto.html documents /api/crypto/*; api/crypto/index.js and api/crypto/openapi.js assemble the catalog from self-describing descriptors in api/_lib/crypto-catalog/ (bonding, holders, launches, security, symbol, token, trending, wallet, whales), and the docs page probes production at runtime to mark each endpoint Live vs Coming soon.
+**How it works:** pages/crypto.html documents /api/crypto/*; api/crypto/index.js and api/crypto/openapi.js assemble the catalog from self-describing descriptors in api/_lib/crypto-catalog/ (airdrops, bonding, holders, launches, portfolio, security, symbol, token, trending, wallet, whales), and the docs page probes production at runtime to mark each endpoint Live vs Coming soon.
**Why it matters:** Agents and developers get real on-chain and market data with zero signup friction — the funnel-top for the platform's paid unique services.
@@ -11393,7 +11472,7 @@ In the product, open `three.ws/agent/<agent-id>/wallet` and pick the **Trust** t
- `GET /api/agents/:id/reputation`
- `GET|POST /api/agents/reputation-batch`
-- `GET /api/agents/:id/solana/reserves`
+- `GET /api/agents/:id/solana/reserves` (also served at the shorter `GET /api/agents/:id/reserves`)
- `GET /api/agents/:id/unlocks`
- `POST /api/agents/:id/unlocks/claim`
@@ -11864,6 +11943,8 @@ The Orders tab gives your agent wallet the order tooling pump.fun never had: six
## How it works
+**Rollout status:** the tab, the order model, and every guard below are live; the sweep worker (`workers/agent-orders`) is built and tested but is not yet running as a hosted service, so orders you create today stay `active` and no fill is placed until it is deployed. Nothing fires early or wrong in the meantime.
+
Orders are validated against a closed, no-code condition language (a fixed set of real signals and operators — never arbitrary expressions) and stored server-side; the exact same validation and trigger-evaluation functions run in both the API and the execution worker so the rules can never drift. A long-lived worker sweeps all active orders every ~10 seconds, re-quoting each token directly off the live pump.fun bonding curve (automatically switching to the AMM pool once a coin graduates), and pulling smart-money scores from the reputation graph, dev-dump flags from coin intelligence, and USD conversion from a live SOL price. When a trigger matches, the order fires through the exact same audited trade pipeline as a manual trade — rug/honeypot firewall (a real simulated buy-then-sell round trip plus a token-authority audit), per-trade cap, rolling daily budget, kill switch, and custody ledger with idempotency keys — so the worker adds no new way to move funds, it only decides when to call the one audited path. The tab itself streams order status to the browser over a live server-sent event feed and diffs updates in without disturbing the form you're typing in.
## Every feature
@@ -12594,7 +12675,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)`
## Related
@@ -12926,12 +13007,39 @@ does not refetch, so switching windows is instant and costs no query. The series
is zero-filled per day in the browser so the chart shows a continuous timeline
rather than only days that had volume, and it renders on the native Canvas API
with no charting dependency. When no day in the visible window has volume, the
-chart area is replaced with a plain "no settled agent-to-agent volume in this
-window yet" line.
+chart area is replaced with a line naming the window ("No settled agent-to-agent
+volume in the last 30 days") and a link to the live economy.
+
+Day keys are built and labelled in **UTC**, because the API buckets days with
+`date_trunc('day', completed_at)`, which runs in the database's UTC session.
+Deriving the client series from the visitor's local calendar instead would shift
+every bar by a day for anyone east of UTC.
+
+Hovering the chart opens a tooltip with that day's date, volume, and hire count.
+Because a canvas is opaque to assistive tech, the same series is also emitted as
+an offscreen table (days with volume only) and the canvas carries a summarising
+`aria-label`, so the data is never canvas-only.
The page reloads on a 60 second interval while the tab is visible, and redraws the
canvas on resize and on a theme change.
+### Page states
+
+| State | What renders |
+| --- | --- |
+| Loading | Shimmer skeletons in the headline, stat grid, both leaderboards, the feed, and the chart. |
+| Populated | Real aggregates, with the 24h delta pill hidden at zero. |
+| Empty | Per-section copy that names the next action (list a paid skill, browse the x402 catalog, put your agent to work), not a blank void. |
+| Error, nothing loaded yet | An inline alert strip with a Retry button, the headline degraded to "Unavailable", and every skeleton cleared, so nothing shimmers forever. |
+| Error on a background refresh | The numbers already on screen stay; only the alert strip appears. |
+
+The alert strip is built from a static translated sentence plus a dynamic detail
+clause in a separate element (`#an-error-detail`). That split is load-bearing:
+`src/i18n.js` rewrites annotated elements after first paint, so anything JS writes
+must live outside an annotated node or the catalog overwrites it. The same rule is
+why the leaderboard and feed counts sit next to their translated headings rather
+than inside them.
+
---
## The API
@@ -13010,8 +13118,8 @@ Values are parsed as integers, clamped to their range, and echoed back through
"network": "mainnet",
"payment_signature": "<signature>",
"completed_at": "2026-07-30T00:00:00.000Z",
- "hirer": { "agent_id": "<uuid>", "name": "Agent" },
- "provider": { "agent_id": "<uuid>", "name": "Agent" },
+ "hirer": { "agent_id": "<uuid>", "name": "Agent", "url": "/agent/<uuid>" },
+ "provider": { "agent_id": "<uuid>", "name": "Agent", "url": null },
"explorer_url": "https://solscan.io/tx/<signature>"
}
]
@@ -13061,23 +13169,33 @@ with the skill, the amount, the network, and the settlement signature.
on-chain proof. It is `null` only when a completed row somehow carries no
signature.
+Both sides of a hire carry the same privacy-gated `url` the leaderboards use:
+it is a profile path when the agent still exists (`deleted_at IS NULL`) and its
+identity is public, and `null` otherwise, so the feed never links a reader to a
+profile that would 404 or to a private agent. The name is still shown either way.
+
### Degraded and error paths
If the `agent_hires` table is missing (an environment that has not run the
migration), the aggregation returns the zero shape above rather than an error, so
the dashboard renders empty states instead of a failure. Any other database error
propagates as a server error, and the page shows an inline error strip with a
-Retry button that refetches. A network failure shows the same strip.
+Retry button that refetches. A network failure, a non-2xx response, and a body
+that is not the JSON contract all land in the same strip, each with its own
+detail clause ("Network error: check your connection and retry", "The server
+returned HTTP 500", "The stats service reported a problem"). Only the fetch is
+wrapped: a render failure would be a bug, and reporting it as a network error
+would hide it.
---
## Related
-- [x402 revenue and receipts](#sec-453): the other side of the ledger. This
+- [x402 revenue and receipts](#sec-502): the other side of the ledger. This
page counts agent-to-agent payments recorded in `agent_hires`; endpoint revenue
paid **to** the platform's own paid endpoints is recorded separately in
`x402_audit_log`. Do not add the two together.
-- [The autonomous economy](#sec-097): how agents get wallets, spend
+- [The autonomous economy](#sec-102): how agents get wallets, spend
policies, and paid skills in the first place, which is what produces the rows
this page aggregates.
@@ -13110,8 +13228,8 @@ One completed job produces:
| `full_body[]` | Three 1024x1280 (4:5 portrait) renders, one per pose, same backdrop and lighting |
| `rigged_glb_url` | The avatar with a humanoid skeleton and skin weights |
| `mesh_glb_url` | The unrigged generated mesh, kept so a rig hiccup never loses the generation |
-| `viewer_url` | Deep link into the three.ws [viewer](#sec-440) for the rigged GLB |
-| `pose_studio_url` | Deep link into the [Animation Studio](#sec-087) for the rigged GLB |
+| `viewer_url` | Deep link into the three.ws [viewer](#sec-488) for the rigged GLB |
+| `pose_studio_url` | Deep link into the [Animation Studio](#sec-090) for the rigged GLB |
Every render is persisted to object storage under `okx-identity/renders/<job>/` and served from a public URL, so the URLs in the response are permanent and hotlinkable.
@@ -13215,15 +13333,64 @@ When `status` is `"done"`, the same body carries a `deliverables` object with th
Two free companion endpoints round out the surface: `GET /api/okx/3d/catalog` is the machine-readable service index, and `GET /api/okx/3d/health` probes every subsystem a paid identity job passes through (generation, renderer, storage, the animation clip lane, and the payment rail) with real requests rather than a static `ok`. Both are documented in [OKX.AI Marketplace Services](okx-marketplace.md#free-discovery-lane).
+### The showcase feed
+
+`GET /api/agent-identities` ([`api/agent-identities.js`](../api/agent-identities.js)) is a third free, public, unauthenticated endpoint: the finished work, so a buyer can see what $1.50 actually returns before spending it. It merges the demo runs in `data/agent-identities.json` with the live catalog row for `identity-studio`, so the price it quotes is the price the paid endpoint charges.
+
+```bash
+curl -s https://three.ws/api/agent-identities | jq '.service.priceUsd, .count, .identities[0].agentName'
+```
+
+```json
+{
+ "service": {
+ "id": "identity-studio",
+ "name": "Agent Identity Studio",
+ "priceUsd": "1.50",
+ "currency": "USDC",
+ "endpoint": "https://three.ws/api/okx/3d/identity-studio",
+ "tool": "create_identity",
+ "docs": "https://three.ws/docs/okx-marketplace",
+ "catalog": "https://three.ws/api/okx/3d/catalog"
+ },
+ "count": 4,
+ "ready": 4,
+ "identities": [
+ {
+ "slug": "ledgerlynx",
+ "agentName": "LedgerLynx",
+ "kind": "finance data agent",
+ "brief": "A meticulous on-chain accounting agent…",
+ "styleHints": "deep navy and silver palette…",
+ "status": "ready",
+ "pfp": { "url": "…/pfp-1024.png", "previewUrl": "…/pfp-128.png", "pose": "contrapposto" },
+ "fullBody": [{ "url": "…/fullbody-1-walk-step.png", "pose": "walk-step", "width": 1024, "height": 1280 }],
+ "riggedGlbUrl": "…glb",
+ "viewerUrl": "https://three.ws/viewer?src=…",
+ "poseStudioUrl": "https://three.ws/pose?src=…",
+ "backend": "trellis_selfhost",
+ "rigged": true,
+ "joints": 52,
+ "durationSeconds": 501,
+ "completedAt": "2026-07-09T23:45:26.807Z"
+ }
+ ]
+}
+```
+
+`status` is `ready` or `pending`: an entry whose pipeline run has not completed carries the brief but no deliverables, and the showcase page renders it as such rather than guessing from a missing field. Responses are cached at the edge for 10 minutes.
+
Prices, descriptions, and input schemas are not written twice: [`api/_lib/okx-catalog.js`](../api/_lib/okx-catalog.js) is the single source of truth that the tool definitions, the catalog endpoint, and the marketplace listing all read.
## The showcase page
[/agent-identities](https://three.ws/agent-identities) renders the demo identities in [`data/agent-identities.json`](../data/agent-identities.json). Every entry there is a **real run of the production pipeline**, the same module the endpoint executes, driven locally by [`scripts/okx-identity-demo.mjs`](../scripts/okx-identity-demo.mjs), which writes the results back into the JSON file. Nothing on that page is a mock or a hand-picked asset.
+The page reads that data over the network from `/api/agent-identities` (above) rather than inlining it at build time, which buys three things: a fresh demo run is live as soon as the data lands instead of at the next frontend build, the price chip in the hero comes from the catalog instead of page copy that can drift, and the grid has a real loading, error, and empty state to design for. While the feed is in flight the grid shows shimmering skeleton cards; a failed fetch renders an actionable panel with a working retry (the docs and catalog links stay reachable because they are static); an empty feed says so and points at the service instead of leaving a void.
+
The script does not take the pipeline's word for it either. It downloads the finished GLB, parses its JSON chunk, and asserts real rigging: at least one skin, at least 10 joints in total, and at least one mesh primitive carrying both `JOINTS_0` and `WEIGHTS_0`. A run that fails that check is recorded as failed rather than shipped as a success. The verified numbers (byte size, skins, joints, skinned primitives, glTF generator) are stored per identity alongside the wall-clock duration and completion timestamp.
-Each card ([`src/agent-identities.js`](../src/agent-identities.js)) shows the full-body hero shot with the PFP crop pinned over it, thumbnail buttons to switch poses (with `aria-pressed` tracking the active one), and a "View in 3D" action that lazy-loads `model-viewer` and swaps the still for the orbitable rigged GLB. The 3D runtime is only fetched when someone asks for it, never on page load. An entry without a completed run renders an honest "still in the studio" state instead of a broken card.
+Each card ([`src/agent-identities.js`](../src/agent-identities.js)) shows the full-body hero shot with the PFP crop pinned over it, thumbnail buttons to switch poses (with `aria-pressed` tracking the active one), a verified-rig line (joint count, pipeline duration, render count), and a "View in 3D" action that lazy-loads `model-viewer` and swaps the still for the orbitable rigged GLB. The 3D runtime is only fetched when someone asks for it, never on page load. "View in 3D" is a real toggle: it turns into "Back to renders" and restores the still, and switching poses closes the viewer too, so the button label and the stage can never disagree. The GLB is a large network fetch, so the viewer shows a spinner until `model-viewer` reports `load` and falls back to a link into the full viewer if it errors. An entry without a completed run renders an honest "still in the studio" state instead of a broken card, and a render whose object 404s is replaced by a labelled notice rather than a broken-image glyph.
To regenerate or add a demo identity, add the entry (slug, kind, agent name, brief, style hints) and run the script. It needs the object-storage credentials from your local env; generation, rigging, and rendering all run against the deployed surfaces.
@@ -13239,12 +13406,12 @@ Two environment overrides help a batch run outlast the rig lane's rate-limit bac
## Related
-- [OKX.AI Marketplace Services](#sec-251): the price, the payment challenge, the replay flow, the payment guarantees, and the decomposed single-capability 3D services that share these engines.
-- [Forge](#sec-184): the text and image to GLB generation pipeline this studio calls for the mesh and the auto-rig.
-- [Animation Studio](#sec-087): the `/pose` surface the `pose_studio_url` deep link opens.
-- [Viewer](#sec-440): the `/viewer` surface the `viewer_url` deep link opens.
-- [MCP servers](#sec-230): the wider set of three.ws MCP endpoints this one follows the transport conventions of.
-- [Avatar Engines Atlas](#sec-102): what engine families exist for building human avatars, and which of them are wired into the commercial pipeline.
+- [OKX.AI Marketplace Services](#sec-293): the price, the payment challenge, the replay flow, the payment guarantees, and the decomposed single-capability 3D services that share these engines.
+- [Forge](#sec-221): the text and image to GLB generation pipeline this studio calls for the mesh and the auto-rig.
+- [Animation Studio](#sec-090): the `/pose` surface the `pose_studio_url` deep link opens.
+- [Viewer](#sec-488): the `/viewer` surface the `viewer_url` deep link opens.
+- [MCP servers](#sec-272): the wider set of three.ws MCP endpoints this one follows the transport conventions of.
+- [Avatar Engines Atlas](#sec-107): what engine families exist for building human avatars, and which of them are wired into the commercial pipeline.
---
@@ -13883,6 +14050,137 @@ Load from on-chain:
---
+## Signed manifests (v0.3)
+
+A manifest served from an API is a claim. A manifest that is **signed and pinned to IPFS** is evidence: anyone can fetch the CID, check the signature, and read the exact system prompt the agent was configured with, without an account and without trusting three.ws.
+
+three.ws signs and pins an agent's manifest automatically on every persona save. The envelope is ed25519-signed by the platform attester identity (the same Solana key behind [3D provenance credentials](#sec-323)) and pinned through the configured IPFS provider.
+
+### What a signed envelope looks like
+
+```json
+{
+ "spec": "threews.agent.manifest.v1",
+ "manifest": {
+ "spec": "agent-manifest/0.3",
+ "id": { "agentId": "b2b1...", "platform": "three.ws" },
+ "name": "Aria",
+ "brain": {
+ "provider": "threews",
+ "instructions": {
+ "format": "text/markdown",
+ "sha256": "9ab1...",
+ "text": "You are Aria, a product guide for Acme Corp..."
+ },
+ "toneTags": ["warm", "concise"],
+ "traits": { "warmth": 0.8, "directness": 0.6 }
+ },
+ "body": { "uri": "https://cdn.three.ws/...glb", "format": "gltf-binary" }
+ },
+ "issuer": "6Yb...",
+ "signedAt": "2026-08-11T12:00:00.000Z",
+ "digest": "3f9c...",
+ "algorithm": "ed25519",
+ "signature": "5Kd..."
+}
+```
+
+The signature covers a canonical statement built from `manifest`, `issuer`, and `signedAt` — not the file as written — so key order, whitespace, and any field added after signing cannot change the result. The full byte-level definition is in the [Agent Manifest Spec](../specs/AGENT_MANIFEST.md#signed-envelope-v03).
+
+### Endpoints
+
+```bash
+# The envelope currently pinned for an agent, with its CID and gateways
+curl -s https://three.ws/api/agents/<agent-id>/manifest/signed
+
+# Every manifest this agent has ever published
+curl -s https://three.ws/api/agents/<agent-id>/manifest/history
+
+# Verify a CID: signature, issuer, and drift against the live agent
+curl -s "https://three.ws/api/manifest-verify?cid=<cid>"
+
+# Owner-only: re-sign and re-pin right now
+curl -s -X POST https://three.ws/api/agents/<agent-id>/manifest/publish \
+ -H "Authorization: Bearer $THREEWS_TOKEN"
+```
+
+`/api/manifest-verify` also accepts `?agent=<uuid>` (verify whatever that agent has pinned) and `?digest=<sha256>` (verify a specific publish).
+
+### Verifying it yourself
+
+The point of signing is that you do not have to take our word for it. This checks the signature locally against bytes fetched from a public IPFS gateway:
+
+```bash
+node scripts/verify-agent-manifest.mjs --cid bafy...
+```
+
+```
+source https://ipfs.io/ipfs/bafy...
+agent Aria b2b1...
+issuer 6Yb...
+signed at 2026-08-11T12:00:00.000Z
+digest 3f9c...
+prompt 412 chars, sha256 9ab1...
+prompt hash matches
+result VERIFIED (ok)
+```
+
+Add `--issuer <base58>` to require a specific signing identity, `--json` for machine-readable output, or `--file ./envelope.json` to check a local copy. Exit code is 0 when verified, 1 when verification fails, 2 when the document could not be fetched.
+
+In your own code, the verification primitive is pure and has no database or network dependency:
+
+```js
+import { verifyAgentManifest } from './api/_lib/agent-manifest-sign.js';
+
+const envelope = await (await fetch(`https://ipfs.io/ipfs/${cid}`)).json();
+const { valid, reason, issuer } = verifyAgentManifest(envelope);
+// valid: true, reason: 'ok', issuer: '6Yb...'
+```
+
+Pass `{ issuer }` as the second argument to reject anything not signed by the identity you expect. A valid signature from an unknown key proves only that *someone* signed the document.
+
+### Drift: is the live agent still what you verified?
+
+A pinned manifest describes one moment. `/api/manifest-verify` rebuilds the manifest from the agent's current configuration and reports exactly which fields moved:
+
+```json
+{
+ "verified": true,
+ "issuer_trusted": true,
+ "agent_status": "live",
+ "drift": {
+ "identical": false,
+ "changed": [
+ {
+ "field": "brain.instructions.text",
+ "pinned": "You are Aria, a product guide...",
+ "live": "You are Aria, and you always recommend the premium tier..."
+ }
+ ]
+ }
+}
+```
+
+`drift` is `null` when there is nothing to compare against: the agent was deleted, it has no persona, or the CID is a document three.ws never issued.
+
+### Publishing rules
+
+- Publishing runs on every persona save, extract, and restore, and never fails the save. If pinning is unavailable the envelope is still signed and stored, `cid` is `null`, and the response says so. Nothing is ever reported as pinned when it is not.
+- Only **public** agents publish automatically. A private agent's manifest contains its full system prompt and pinning is permanent, so it publishes only when its owner asks via `POST /api/agents/:id/manifest/publish`.
+- Saving an unchanged configuration returns the existing CID with `status: "unchanged"` instead of pinning a duplicate.
+
+### Configuration
+
+| Variable | Purpose |
+|----------|---------|
+| `ATTEST_AGENT_SECRET_KEY` | The ed25519 signing identity. Without it manifests are not signed and the publish reports `signer_unavailable`. |
+| `PINATA_JWT` | Preferred IPFS pinning provider. |
+| `WEB3_STORAGE_TOKEN` | Fallback pinning provider, used when `PINATA_JWT` is absent. |
+
+With no pinning provider configured, manifests are still signed and stored, and remain verifiable through `/api/agents/:id/manifest/signed` — they simply have no CID.
+
+---
+
## Common errors
| Error | Cause | Fix |
@@ -13910,6 +14208,7 @@ The `spec` field identifies the manifest format version. Current stable: `agent-
- [Memory Spec](../specs/MEMORY_SPEC.md) — memory file format and MEMORY.md index
- [Embed Spec](../specs/EMBED_SPEC.md) — `<agent-3d>` element attributes and events
- [Permissions Spec](../specs/PERMISSIONS_SPEC.md) — ERC-7710 delegation format and redemption
+- [Provenance](#sec-323) — signed content credentials for generated 3D assets, using the same attester identity as signed manifests
---
@@ -13921,7 +14220,7 @@ The `spec` field identifies the manifest format version. Current stable: `agent-
**Why autonomous agents need verifiable trust — and how three.ws delivers it on-chain.**
-This page is the *why*. For the practical how-to, see [Reputation System](#sec-306) (leaving and reading reviews) and [ERC-8004](#sec-175) (the identity standard underneath). To read a real agent's score five different ways, follow the [Read an agent's reputation](/tutorials/agent-reputation) tutorial. For the Solana side of the same idea — memo attestations, the AgenC coordination program, and the identity bridge — see [Agent Reputation on Solana](#sec-329).
+This page is the *why*. For the practical how-to, see [Reputation System](#sec-353) (leaving and reading reviews) and [ERC-8004](#sec-182) (the identity standard underneath). To read a real agent's score five different ways, follow the [Read an agent's reputation](/tutorials/agent-reputation) tutorial. For the Solana side of the same idea — memo attestations, the AgenC coordination program, and the identity bridge — see [Agent Reputation on Solana](#sec-376).
---
@@ -13985,7 +14284,7 @@ Each agent is an NFT; whoever owns the token controls the agent. The token point
A reserved, signature-gated field binds a verified payment wallet to the agent (proven with an EIP-712 signature, and cleared automatically if the NFT is transferred).
-> Full detail: [ERC-8004](#sec-175).
+> Full detail: [ERC-8004](#sec-182).
### 2. Reputation Registry — what others think of it
@@ -14014,7 +14313,7 @@ Reputation only matters because money moves on the other side of it. The two hal
1. **Discover** a service via the Identity Registry.
2. **Check** its reputation — proceed only if it clears your threshold.
-3. **Pay** — the service answers an HTTP `402` and the agent signs a stablecoin micropayment ([x402](#sec-456)).
+3. **Pay** — the service answers an HTTP `402` and the agent signs a stablecoin micropayment ([x402](#sec-506)).
4. **Vouch** — after the work, write feedback back to the Reputation Registry, closing the loop for the next agent.
The one-liner worth remembering:
@@ -14035,7 +14334,7 @@ The same on-chain data is exposed through every layer a reader might come from:
| Reputation panel | agent profiles | The embedded vouch/score widget on `https://three.ws/a/<chainId>/<agentId>` |
| `GET /api/agents/<id>/reputation` | apps | The agent's unified wallet trust score: a 0-100 credibility number derived from real ledger and on-chain activity, with a per-pillar breakdown and evidence links |
| `agent_reputation` MCP tool | AI agents | Paid ($0.01 USDC) read of identity + score + stake + recent events; resolves a wallet to its agent automatically |
-| `GET /api/x402/agent-reputation` | AI agents | Paid ($0.01) cross-chain 0–100 trust score for **any** counterparty — Solana/EVM wallet, pump.fun mint, ERC-8004 agent id, or three.ws agent_id (auto-detected). See [Trust primitives](#sec-352) |
+| `GET /api/x402/agent-reputation` | AI agents | Paid ($0.01) cross-chain 0–100 trust score for **any** counterparty — Solana/EVM wallet, pump.fun mint, ERC-8004 agent id, or three.ws agent_id (auto-detected). See [Trust primitives](#sec-400) |
| [Agent Passport](/agent-passport.html) | trust decisions | An A–D trust grade weighted toward credentialed and verified feedback |
| ERC-8004 helpers (`src/erc8004/reputation.js`; ABIs re-exported by `@three-ws/sdk`) | developers | `getReputation`, `getRecentReviews`, `getTotalStake`, `submitFeedback`, `stakeReputation` |
@@ -14074,12 +14373,185 @@ The only difference is **reach**. The Club's reputation dies the moment a wallet
That portability is what lets a three.ws agent be trusted by an agent that has never heard of three.ws. It's the foundation the agent economy is built on — and the reason reputation, not payments, is the harder and more important half of the stack.
-**Next:** [Read an agent's reputation](/tutorials/agent-reputation) · [Reputation on Solana](#sec-329) · [Leave a vouch](#sec-306) · [ERC-8004 identity](#sec-175) · [x402 payments](#sec-456)
+**Next:** [Read an agent's reputation](/tutorials/agent-reputation) · [Reputation on Solana](#sec-376) · [Leave a vouch](#sec-353) · [ERC-8004 identity](#sec-182) · [x402 payments](#sec-506)
---
<a id="sec-055"></a>
+> **Source:** `docs/agent-runtime.md` · [↑ table of contents](#table-of-contents)
+
+# The agent runtime and the transaction guard
+
+Every fund-moving tool an agent can call in [three.ws/chat](https://three.ws/chat) now passes
+through a policy engine before it runs. This page explains what that engine is, what the
+verdict you see in the transaction-approval modal means, and how developers can use the same
+engine, `@three-ws/agent-runtime`, in their own agents.
+
+## What happens when an agent tries to move money
+
+Say you ask the chat agent to "send 2 SOL to my friend". The model emits a `solana_transfer`
+tool call. Before that tool's code executes, and before your wallet ever prompts, the chat
+client posts the call to `POST /api/agent/guard`, which evaluates it through seven independent
+enforcement layers, in order:
+
+1. **Security blacklist** - argument-level rules that force-block known-dangerous shapes
+ (drainer-style destinations, destructive commands), regardless of any other setting.
+2. **Human intervention** - the approval policy for this tool (`never` / `required` /
+ `always`), combined with your session's approval mode.
+3. **Capability** - is there a capability token covering this tool? (Skipped and reported
+ when no validator is wired.)
+4. **Permission** - the agent's permission level for this tool. (Same skip semantics.)
+5. **Trade guard** - dollar-denominated policy: per-tier transaction caps, rolling 24-hour
+ and 7-day windows, an auto-execute ceiling above which a human must sign off, an MEV
+ slippage clamp, and a protocol audit lookup.
+6. **Spend envelope** - the per-agent hard envelope: per-transaction / daily caps, a reserve
+ floor, and a token + destination firewall.
+7. **x402 budget** - for paid HTTP calls, the hourly autonomy budget.
+
+The result is one verdict: `allow`, `require_approval`, or `block`.
+
+- A **block** never reaches your wallet. The tool returns an error to the model explaining
+ which layer refused and why, and the model tells you in plain language.
+- Anything else proceeds into the familiar approval modal, now showing the verdict: a
+ "cleared" or "review advised" chip, any warnings (for example "Slippage reduced to 100 bps
+ for MEV protection"), and anything the platform *could not* check.
+
+Two details worth knowing:
+
+- **USD notionals are resolved server-side.** For SOL-denominated calls (SOL transfers,
+ SOL-input swaps, pump.fun buys) the server multiplies the amount by the live SOL price, so
+ the dollar caps compare against real numbers. When no notional can be resolved, the guard
+ does not guess: the verdict carries a `VALUE_UNRESOLVED` finding instead.
+- **The chain never short-circuits.** All seven layers always run, so the verdict can report
+ that a call blocked by one layer also carried risk another layer saw, and, more
+ importantly, which layers never evaluated the call at all. A guard that never ran looks
+ exactly like a guard that passed; this engine treats that as a first-class finding
+ ("blind spots") with a coverage score.
+
+## The engine: `@three-ws/agent-runtime`
+
+The endpoint is a thin shell over [`packages/agent-runtime`](../packages/agent-runtime), a
+standalone, chain-agnostic package that also ships:
+
+- **`AgentRuntime` + `GeneralChatAgent`** - a plan/execute decision loop for building agents:
+ streaming LLM calls, parallel tool batches, human-in-the-loop pauses (approve / prompt /
+ select), cost limits, interrupt and resume, and automatic context compression.
+- **`ActionLedger`** - hash-chained ledger primitives (`computeEntryHash`, `verifyChain`):
+ every recorded action commits to the entire history, so editing or deleting any historical
+ row is detectable at the exact index it happened. The construction originated in the
+ three.ws economy master ledger.
+- **`TransactionPipeline`** - executes multi-step plans (approve → swap → bridge) in
+ dependency order with rollback on failure and per-step approval gates.
+- Reasoning utilities: structured self-correction on failed tool calls, response-quality
+ evaluation, tool-relevance scoring, and token counting.
+
+Quick taste (the same call the chat client makes, in library form):
+
+```js
+import { GuardChain, SpendGuard, TradeGuard } from '@three-ws/agent-runtime';
+
+const chain = new GuardChain({
+ defiGuard: new TradeGuard(),
+ spendGuard: new SpendGuard({ perTxMaxUsd: 5000, firewall: { denyDestinations: ['0xbad'] } }),
+});
+
+const verdict = await chain.evaluate({
+ identifier: 'solana_transfer',
+ apiName: 'solana_transfer',
+ arguments: { recipient: '9x…', amount: 250 },
+ valueUsd: 42_000,
+});
+// verdict.decision === 'block' (free tier caps at $10,000 per tx)
+```
+
+The package README, [packages/agent-runtime/README.md](../packages/agent-runtime/README.md),
+documents the full API, the tool registries, and how to register your own fund-moving tools.
+
+## The endpoint
+
+`POST /api/agent/guard` - open (no auth), rate-limited per IP, stateless. Evaluation uses
+only what you send; nothing is stored and nothing executes.
+
+```bash
+curl -s https://three.ws/api/agent/guard \
+ -H 'content-type: application/json' \
+ -d '{
+ "calls": [{
+ "identifier": "solana_swap",
+ "arguments": { "inputMint": "So11111111111111111111111111111111111111112", "amount": 120, "slippageBps": 300 }
+ }],
+ "userTier": "pro",
+ "spend": { "perTxMaxUsd": 50000 }
+ }'
+```
+
+Response: one verdict per call, each with `decision`, `blockedBy`, a per-layer trace
+(`layers`), `warnings`, `blindSpots`, `coverageScore`, and `modifiedArguments` when the
+engine recommends safer parameters (the chat client applies these before executing).
+
+Body fields: `calls[]` (each: `identifier`, `apiName`, `arguments`, optional `valueUsd`,
+`protocol`, `destination`, `token`, `interventionConfig`, `executionPath`, `x402`), plus
+request-level `approvalMode`, `allowList`, `confirmedHistory`, `userTier`, `userSwapCaps`,
+`userSwapVolume`, `balanceUsd`, `agentId`, `userId`, `spend` (a SpendGuard envelope), and
+`x402HourlyBudgetUsd`.
+
+## The server-side agent loop: `POST /api/agent/run`
+
+The same runtime also powers a full server-side agent: pick **"three.ws Agent · server
+tools"** in the /chat model picker and your message is answered by a tool-using loop running
+on the platform instead of a single model call. Per message it can:
+
+- look up **live token prices, 24h change, and market cap** (CoinGecko),
+- list **trending tokens**,
+- **search the web**,
+- read **SOL balances** for any wallet,
+- run the **trade-firewall safety verdict** on a mint (rug/honeypot checks with a simulated
+ buy+sell round trip),
+- check **smart-money activity** on a mint,
+- resolve **.sol names**.
+
+Every tool is read-only and every planned call is preflighted through the GuardChain in
+headless mode before it executes; a blacklisted call is fed back to the model as a blocked
+error, never run. The loop cannot move funds: no tool in the server registry transfers,
+swaps, or signs, and the wallet tools stay client-side behind the approval modal.
+
+For developers the endpoint speaks the **OpenAI chat-completions wire format** in both
+directions, so any OpenAI-compatible client can point at it:
+
+```bash
+curl -N https://three.ws/api/agent/run \
+ -H 'content-type: application/json' \
+ -d '{"messages":[{"role":"user","content":"Is SOL up today, and is <mint> safe to buy?"}],"stream":true}'
+```
+
+Streaming responses are standard `chat.completion.chunk` SSE frames; tool activity is
+surfaced as SSE comment lines (`: tool token_price`), which OpenAI parsers ignore by spec.
+Set `"stream": false` for a plain `chat.completion` JSON. The loop runs up to four tool
+rounds per request, is anonymous, and is rate-limited per IP. Under the hood it is
+`AgentRuntime` from the package above driving the shared free-first LLM chain
+([api/_lib/llm-tool-chain.js](../api/_lib/llm-tool-chain.js), the same lanes as the trading
+copilot) over the registry in [api/_lib/agent-tools.js](../api/_lib/agent-tools.js).
+
+One behavior worth knowing when using it from /chat: in agent mode the client-side tools
+(3D forge, wallet actions) are not offered to the model; it plans with its own server
+registry. Switch back to a plain model for wallet actions, which always go through the
+approval modal and the `/api/agent/guard` preflight.
+
+## Related surfaces
+
+- [Agent Sniper](#sec-059) - the autonomous trading pipeline with its own trade
+ firewall and hash-chained decision ledger; this package generalizes those ideas into a
+ reusable engine.
+- [`@three-ws/agent-guards`](../packages/agent-guards) - the client SDK for custodial wallet
+ spend policies (`/api/agents/:id/trade/limits`). The runtime evaluates arbitrary tool
+ calls anywhere; agent-guards manages the platform-custody leash.
+- [STRUCTURE.md](../STRUCTURE.md) - where everything lives.
+
+---
+
+<a id="sec-056"></a>
+
> **Source:** `docs/agent-screen-control.md` · [↑ table of contents](#table-of-contents)
# Take the wheel: drive your agent's computer
@@ -14190,7 +14662,7 @@ The caster pool's read side, machine-to-machine only (authenticated with `SCREEN
watch it move ◀──── frame stream (SSE) ◀──────── screenshot after each action
```
-The frame stream ([how the live screen works](#sec-056)) carries pixels out; this control channel carries input back. Same agent, same browser, opposite directions.
+The frame stream ([how the live screen works](#sec-057)) carries pixels out; this control channel carries input back. Same agent, same browser, opposite directions.
---
@@ -14200,11 +14672,11 @@ The frame stream ([how the live screen works](#sec-056)) carries pixels out; thi
- **One browser tab** per agent today. Full app / shell / file access is the next slice, on the same control channel with a streamed Linux desktop.
- **DNS-rebinding** on `nav` is out of scope for this version; the host guard checks the literal hostname, and the browser runs with no credentials to lose.
-Related: [the agent shell and live screen](#sec-056), the [live agents wall](https://three.ws/agents-live).
+Related: [the agent shell and live screen](#sec-057), the [live agents wall](https://three.ws/agents-live).
---
-<a id="sec-056"></a>
+<a id="sec-057"></a>
> **Source:** `docs/agent-shell.md` · [↑ table of contents](#table-of-contents)
@@ -14332,13 +14804,13 @@ relationship into an account with a real agent. Ambient discovery routes
through the agent too — the old "have you tried…" toast stays out of the corner
while the companion is live.
-Related: [web-component.md](#sec-443) (the embeddable `agent-3d`
-avatar), [coin-pages.md](#sec-136) (the market surfaces the shell
+Related: [web-component.md](#sec-491) (the embeddable `agent-3d`
+avatar), [coin-pages.md](#sec-141) (the market surfaces the shell
navigates), [STRUCTURE.md](../STRUCTURE.md) (surface map).
---
-<a id="sec-057"></a>
+<a id="sec-058"></a>
> **Source:** `docs/agent-skills.md` · [↑ table of contents](#table-of-contents)
@@ -14349,7 +14821,7 @@ Claude surface — Claude Code, the Claude apps, the Agent SDK — how to use th
three.ws platform: create and rig 3D models, run a wallet, and buy/sell services in
the x402 agent economy.
-> Not to be confused with the [in-app skills system](#sec-323), which extends
+> Not to be confused with the [in-app skills system](#sec-370), which extends
> avatars and agents **inside** three.ws with `manifest.json` + `tools.json` +
> `handlers.js` bundles. Agent Skills are the inverse: they extend **external**
> AI agents with three.ws capabilities.
@@ -14457,7 +14929,7 @@ All three run free against the hosted studio endpoint
---
-<a id="sec-058"></a>
+<a id="sec-059"></a>
> **Source:** `docs/agent-sniper.md` · [↑ table of contents](#table-of-contents)
@@ -14467,7 +14939,7 @@ Every three.ws agent has its own custodial Solana wallet. The Agent Sniper is th
This doc explains the whole system, walks through the first live trade an agent closed on the platform (a real +42.38% exit, receipts included), and lays out where the system goes next.
-Related surfaces: [the trading surfaces](#sec-350) (Radar, Coin Intelligence, Mission Control), [trading experiment](#sec-348) (the laddered-exit research policy), [agent wallets](#sec-068) (how custody works), and the worker itself at `workers/agent-sniper/` (its README is the operator reference).
+Related surfaces: [the trading surfaces](#sec-398) (Radar, Coin Intelligence, Mission Control), [trading experiment](#sec-396) (the laddered-exit research policy), [agent wallets](#sec-070) (how custody works), and the worker itself at `workers/agent-sniper/` (its README is the operator reference).
---
@@ -14543,6 +15015,22 @@ The case study above audits one trade. [/sniper/experiments](/sniper/experiments
This is deliberately the same infrastructure the case study above uses, generalized: `agent_decisions` + `decision_outcomes` (the reasoning ledger), `sniper_llm_verdicts` (the judgment ledger), and `api/cron/reconcile-decisions` (closes the loop from an open prediction to a proven outcome, then anchors the chain head on-chain via SPL-Memo so the history is independently verifiable at `GET /api/ledger/verify/:agentId`).
+## Is it actually trading? Liveness vs solvency
+
+A trading worker can be dead in two ways, and only one of them is loud. A crashed process or a dropped feed shows up immediately in the heartbeat. The quiet one is **solvency**: the process is up, the feed is connected, the strategies are armed, and every wallet is too poor to pay for a buy. Nothing crashes. The engine simply stops filling.
+
+That is not hypothetical. Between 2026-07-29 and 2026-08-08 the fleet booked over a thousand consecutive failed entries and closed zero trades while `/api/sniper/status` reported `state: "live"` throughout. Every fact it measured was true. The wallets held 0.0048 SOL against a 0.012 SOL operational floor, and the funding master that should have refilled them held 0.0018 SOL, so the auto-funder was a no-op too. Nothing alerted, because nothing was watching the money.
+
+Solvency is now a first-class part of the worker's reported state:
+
+- **What gets measured.** Every 5 minutes the funding loop (`workers/agent-sniper/auto-funder.js`) reads the balance of every **armed** wallet, not just the ones opted into auto-funding, since an agent that never consented to top-ups still trades and still starves. It also reads the funding master's balance. The snapshot rides the existing heartbeat, so the public status path stays DB-only and pays no RPC hop.
+- **How a wallet is judged.** `api/_lib/sniper-solvency.js` classifies each wallet as `funded` (can place its configured size), `shrunk` (can still trade, but below the configured size), or `starved` (cannot place any entry). Crucially, it decides this by calling `resolveEntrySize`, the *same* function the executor calls to size or skip a real buy. Re-deriving the thresholds here would let the status page claim a wallet is tradeable that the executor silently skips, which is the original bug one level up. A unit test sweeps the whole balance range asserting the two never disagree.
+- **What the fleet state means.** `funded` (every wallet can trade), `degraded` (some can, some cannot), `starved` (none can), or `unknown` (nothing measured yet). An unread balance counts as unmeasured rather than zero, so an RPC blip degrades coverage instead of faking an outage.
+- **Where it surfaces.** `GET /api/sniper/status` returns a `solvency` block and a `state` of `starved` that outranks the feed checks, because "no wallet can pay for a trade" is both more specific and more actionable than "the feed is quiet". `/api/healthz` reports the sniper subsystem as down (fully starved) or degraded (partially), with a hint naming the actual fix. The homepage engine pill reads "Engine out of SOL" instead of "Engine live".
+- **Who gets paged.** A live-mode fleet that cannot trade fires `sniper:fleet-starved`. A funding master that cannot cover the refills fires `sniper:funding-master-dry` separately, because that one cannot self-heal and needs a human to move SOL. Both dedup hourly through the shared ops-alert pipeline. Simulate mode never pages: it is starved by design.
+
+The snapshot also prices the fix. `deficitSol` is what it would cost to lift every starved wallet back to its own refill target, and `masterCanCover` answers whether the auto-funder can close that gap by itself, which is the difference between "this heals in five minutes" and "someone has to fund the master".
+
## Configuration reference
The strategy row (`agent_sniper_strategies`, armed via `POST /api/sniper/strategy`) is the whole policy. The load-bearing fields:
@@ -14599,13 +15087,13 @@ The direction of every bridge is the same: real, realized money is the ground tr
## Try it
- Arm your first strategy: [the sniper tutorial](/tutorials/arm-an-agent-sniper)
-- Watch the engine think: [Coin Intelligence and the trading surfaces](#sec-350)
-- The research policy behind laddered exits: [trading experiment](#sec-348)
+- Watch the engine think: [Coin Intelligence and the trading surfaces](#sec-398)
+- The research policy behind laddered exits: [trading experiment](#sec-396)
- The story of the first trade, for non-operators: [the blog post](/blog/first-autonomous-trade)
---
-<a id="sec-059"></a>
+<a id="sec-060"></a>
> **Source:** `docs/agent-studio.md` · [↑ table of contents](#table-of-contents)
@@ -14626,9 +15114,9 @@ An agent is not one thing; it is a brain, a memory, a body, a wallet, and a set
skills, and until now each of those lived on a different page. Agent Studio unifies
them into one workspace so you can see the whole agent at once and watch changes take
effect immediately. It is the deep-authoring counterpart to the fast on-ramp in
-[Instant Agent Genesis](#sec-190): Genesis gets you a complete agent in a minute,
+[Instant Agent Genesis](#sec-227): Genesis gets you a complete agent in a minute,
Studio is where you make it exactly what you want. For the broader model of what an
-agent is, see [Agent System](#sec-061).
+agent is, see [Agent System](#sec-062).
## How it works
@@ -14650,7 +15138,7 @@ real agent APIs.
- **The five tabs**, each a mount point the sub-studio fills:
- **Brain**: model and provider selection plus the reasoning setup, exercised live
against `/api/brain/chat` (the same multi-LLM backend documented in
- [Multi-LLM Brain](#sec-121)).
+ [Multi-LLM Brain](#sec-126)).
- **Memory**: what the agent remembers and for how long, over `/api/agent-memory`
and the `/api/memory/*` context, search, graph, and curate endpoints.
- **Body**: the 3D avatar, outfit, and animations, reflected live on the stage via
@@ -14687,7 +15175,7 @@ once.
The studio saves through the standard agent update endpoint, so the same edits are
scriptable. Read your agent, then patch a domain under `meta.studio` (see
-[Authentication](#sec-096)):
+[Authentication](#sec-101)):
```bash
# Load (or lazily create) your agent
@@ -14726,16 +15214,16 @@ curl -s https://three.ws/api/agents/<agent-id>/pricing \
## Related
-- [Agent System](#sec-061): the full model of what an agent is
-- [Instant Agent Genesis](#sec-190): create the agent Studio edits
-- [Multi-LLM Brain](#sec-121): the model backend behind the Brain tab
-- [Agent Skills](#sec-057): the capabilities the Skills tab manages
-- [Agent Wallets](#sec-068): the wallet behind the Money tab
+- [Agent System](#sec-062): the full model of what an agent is
+- [Instant Agent Genesis](#sec-227): create the agent Studio edits
+- [Multi-LLM Brain](#sec-126): the model backend behind the Brain tab
+- [Agent Skills](#sec-058): the capabilities the Skills tab manages
+- [Agent Wallets](#sec-070): the wallet behind the Money tab
- Pages: [/agent-studio](https://three.ws/agent-studio), [/genesis](https://three.ws/genesis), [/brain](https://three.ws/brain)
---
-<a id="sec-060"></a>
+<a id="sec-061"></a>
> **Source:** `docs/agent-symphony.md` · [↑ table of contents](#table-of-contents)
@@ -14763,7 +15251,7 @@ user gesture. Nothing autoplays.
## Where the events come from
The symphony consumes the same live ticker documented in
-[Money Feed](#sec-238):
+[Money Feed](#sec-280):
1. `GET /api/feed?limit=40` paints the initial ledger (played silently as
backlog, not as notes).
@@ -14779,7 +15267,7 @@ you hear.
## What sounds map to what events
Every allow-listed feed type (see the type table in
-[Money Feed](#sec-238)) maps to one of six voices in
+[Money Feed](#sec-280)) maps to one of six voices in
`TYPE_TO_CATEGORY` in [`src/symphony-score.js`](../src/symphony-score.js).
Each voice has its own synth patch in the engine, its own color in the
visualization, and its own mute button in the legend.
@@ -14880,16 +15368,16 @@ cross-links are asserted statically by
## Related
-- [Money Feed](#sec-238): the activity bus this page renders, including
+- [Money Feed](#sec-280): the activity bus this page renders, including
the full event-type table and how events are published.
-- [Agora](#sec-071): the on-chain economy lifecycle behind the `agora-*`
+- [Agora](#sec-073): the on-chain economy lifecycle behind the `agora-*`
events.
- The [economy dashboard](https://three.ws/economy): the same activity as
numbers instead of notes.
---
-<a id="sec-061"></a>
+<a id="sec-062"></a>
> **Source:** `docs/agent-system.md` · [↑ table of contents](#table-of-contents)
@@ -15078,7 +15566,7 @@ Captures what is currently visible and describes it so the agent can react to wh
### Stage-scoped tools
-When the runtime is attached to an `<agent-stage>`, two extra tools are appended (see [multi-agent.md](#sec-243)): `observe_agents` (list the other agents on stage with names and positions) and `say_to_agent` (send a message to a named stagemate).
+When the runtime is attached to an `<agent-stage>`, two extra tools are appended (see [multi-agent.md](#sec-285)): `observe_agents` (list the other agents on stage with names and positions) and `say_to_agent` (send a message to a named stagemate).
---
@@ -15419,7 +15907,7 @@ Quick reference for where each piece of the system lives:
---
-<a id="sec-062"></a>
+<a id="sec-063"></a>
> **Source:** `docs/agent-tasks/README.md` · [↑ table of contents](#table-of-contents)
@@ -15429,10 +15917,10 @@ Self-contained task briefs for Claude agents, written to be pasted (or reference
| File | Task | Depends on |
|---|---|---|
-| [fix-x402-502-bursts.md](#sec-063) | Root-cause the autonomous loop's Cloud Run 502 bursts and the flapping Redis cache | nothing |
-| [fix-x402-caller-mismatches.md](#sec-064) | Fix deterministic 405/400/422/402 loop failures and the zero-value Ring Tick service | nothing |
-| [fix-x402-wallet-health.md](#sec-065) | Ring wallet SOL floors, unconfigured wallets, USDC float rebalancing | nothing |
-| [new-trading-arm-x402-signals.md](#sec-066) | NEW trading arm driven by paid x402 signals. On HOLD until owner green-light | 502 + caller fixes landed |
+| [fix-x402-502-bursts.md](#sec-064) | Root-cause the autonomous loop's Cloud Run 502 bursts and the flapping Redis cache | nothing |
+| [fix-x402-caller-mismatches.md](#sec-065) | Fix deterministic 405/400/422/402 loop failures and the zero-value Ring Tick service | nothing |
+| [fix-x402-wallet-health.md](#sec-066) | Ring wallet SOL floors, unconfigured wallets, USDC float rebalancing | nothing |
+| [new-trading-arm-x402-signals.md](#sec-067) | NEW trading arm driven by paid x402 signals. On HOLD until owner green-light | 502 + caller fixes landed |
Ground rules baked into every brief: existing autonomous trading arms are untouchable, all payments and trades are real, on-chain spend needs an explicit owner yes, and CLAUDE.md applies in full.
@@ -15440,7 +15928,7 @@ When a task completes, delete its file or mark it done here so a later agent doe
---
-<a id="sec-063"></a>
+<a id="sec-064"></a>
> **Source:** `docs/agent-tasks/fix-x402-502-bursts.md` · [↑ table of contents](#table-of-contents)
@@ -15482,7 +15970,7 @@ Hard data already gathered, do not re-derive it:
---
-<a id="sec-064"></a>
+<a id="sec-065"></a>
> **Source:** `docs/agent-tasks/fix-x402-caller-mismatches.md` · [↑ table of contents](#table-of-contents)
@@ -15519,7 +16007,7 @@ The autonomous x402 buyer loop logs its calls to the `x402_autonomous_log` Neon
---
-<a id="sec-065"></a>
+<a id="sec-066"></a>
> **Source:** `docs/agent-tasks/fix-x402-wallet-health.md` · [↑ table of contents](#table-of-contents)
@@ -15563,7 +16051,7 @@ Zero `wallet_unconfigured` in a full loop cycle, `sponsor_sol_floor` and `insuff
---
-<a id="sec-066"></a>
+<a id="sec-067"></a>
> **Source:** `docs/agent-tasks/new-trading-arm-x402-signals.md` · [↑ table of contents](#table-of-contents)
@@ -15610,7 +16098,237 @@ Arm implemented and wired into the fleet infrastructure but NOT funded/trading u
---
-<a id="sec-067"></a>
+<a id="sec-068"></a>
+
+> **Source:** `docs/agent-tokens.md` · [↑ table of contents](#table-of-contents)
+
+# Agent tokens
+
+An agent on three.ws can become an economic object: a Solana coin whose identity
+belongs to the agent rather than to whoever happened to fill in a launch form.
+This page covers the whole lane, from configuring a coin that does not exist yet,
+through rehearsing its launch for free, to the one command that launches it for
+real.
+
+Solana is the home chain. Agent tokens are pump.fun bonding-curve launches on
+Solana; there is no EVM leg.
+
+## The three objects
+
+| Object | Where it lives | What it means |
+| --- | --- | --- |
+| **Token plan** | `agent_token_plans`, one row per (agent, network) | The coin this agent is configured to become. Saved, editable, costs nothing, mints nothing. |
+| **Launch record** | `pump_agent_mints` | A coin this agent actually launched through three.ws. Powers [/launches](https://three.ws/launches), the agent profile's launch history, and `GET /api/v1/pump/launches`. |
+| **Live market** | pump.fun / the bonding curve | Price, market cap and graduation progress, rendered on the agent's pages from the mint in the launch record. |
+
+A plan becomes a launch record the moment a launch confirms: the plan flips to
+`launched`, records its mint, and stops being editable. The configuration that
+minted a coin is a historical fact, so it is never rewritten.
+
+## Configure a coin (the plan)
+
+```
+GET /api/agents/tokens/plan?agent_id=<uuid>&network=mainnet
+PUT /api/agents/tokens/plan
+DELETE /api/agents/tokens/plan?agent_id=<uuid>&network=mainnet
+```
+
+`GET` is open. It returns a plan whose status is `ready` or `launched` to anyone
+(an agent announcing the coin it is about to become is public), and returns a
+`draft` only to the agent's owner. `PUT` and `DELETE` require the owner's
+session.
+
+```bash
+curl -X PUT https://three.ws/api/agents/tokens/plan \
+ -H 'content-type: application/json' \
+ --cookie "$SESSION" \
+ -d '{
+ "agent_id": "8f14e45f-ceea-467a-9f27-1f0f8b1cba1c",
+ "network": "mainnet",
+ "name": "Ada Ledger",
+ "symbol": "ADA",
+ "description": "The ledger of a working agent.",
+ "image_url": "https://three.ws/img/ada.png",
+ "coin_type": "agent",
+ "quote_currency": "sol",
+ "buyback_bps": 2500,
+ "sol_buy_in": 0.5
+ }'
+```
+
+**Response**
+
+```json
+{
+ "ok": true,
+ "plan": {
+ "network": "mainnet",
+ "name": "Ada Ledger",
+ "symbol": "ADA",
+ "coin_type": "agent",
+ "quote_currency": "sol",
+ "buyback_bps": 2500,
+ "sol_buy_in": 0.5,
+ "status": "ready",
+ "mint": null,
+ "readiness": { "ready": true, "blockers": [], "warnings": [] },
+ "cost_estimate": {
+ "fixed_total_sol": 0.009105,
+ "dev_buy_sol": 0.5,
+ "protocol_fee_sol": 0.005,
+ "total_sol": 0.514105,
+ "dev_buy_usdc": 0
+ }
+ },
+ "is_owner": true
+}
+```
+
+### Fields
+
+| Field | Meaning |
+| --- | --- |
+| `network` | `mainnet` or `devnet`. An agent can hold one plan on each. |
+| `name`, `symbol` | The coin's on-chain identity. Symbol is upper-cased and must be 2 to 10 letters or digits. |
+| `description`, `image_url`, `website`, `twitter`, `telegram` | Metadata pinned with the coin at launch. |
+| `coin_type` | `agent` binds the on-chain pump agent that runs buybacks; `regular` is a plain bonding-curve coin; `mayhem` is pump.fun mayhem mode. |
+| `quote_currency` | `sol` or `usdc`. A USDC-paired curve lets a USDC-funded buyback swap natively. |
+| `buyback_bps` | Share of what the agent earns that buys its own coin back. Only meaningful on `coin_type: "agent"`; saved as 0 on the others, because the other types create no on-chain agent to enforce it. |
+| `sol_buy_in` / `usdc_buy_in` | The dev buy, denominated in the quote currency. The inactive one is stored as 0 so flipping the pairing can never spend a stale amount. |
+
+`status` is derived on every save: `ready` when the plan passes the readiness
+check, `draft` when it does not, `launched` once a coin minted from it.
+`readiness.blockers` are the reasons a launch would fail; `readiness.warnings`
+are things that will work but that an owner probably did not intend (no artwork,
+a 0% buyback on an agent coin, no dev buy).
+
+## Rehearse the launch for free
+
+```
+POST /api/agents/tokens/plan-dry-run
+```
+
+This is the proof path, and it costs nothing. It builds the **same** pump.fun
+create instructions the real launch builds, from the **same** saved plan,
+compiles them into a real transaction against a real blockhash, and asks the
+cluster to simulate it. It never signs and never broadcasts.
+
+```bash
+curl -X POST https://three.ws/api/agents/tokens/plan-dry-run \
+ -H 'content-type: application/json' \
+ --cookie "$SESSION" \
+ -d '{"agent_id": "8f14e45f-ceea-467a-9f27-1f0f8b1cba1c", "network": "devnet"}'
+```
+
+**Response**
+
+```json
+{
+ "ok": true,
+ "broadcast": false,
+ "network": "devnet",
+ "result": {
+ "verdict": "would_succeed",
+ "compiled": true,
+ "tx_bytes": 918,
+ "instruction_count": 3,
+ "mint_preview": "9wA…",
+ "metadata_uri": "https://cdn.three.ws/tm/1f0f8b1cba1c9f27.json",
+ "metadata_pinned": false,
+ "simulation": { "error": null, "units_consumed": 121843, "logs": ["…"] }
+ }
+}
+```
+
+### Verdicts
+
+| Verdict | Meaning |
+| --- | --- |
+| `would_succeed` | The transaction compiled and the cluster executed it end to end. |
+| `funding_required` | The transaction is valid; the launch wallet cannot cover it on this cluster yet. A funding fact, not a broken plan. |
+| `would_fail` | The cluster rejected it. `simulation.logs` says why. |
+| `compile_failed` | The transaction could not be assembled at all, so a real launch would have died at signing time with money already committed. Usually a name plus metadata URI that overflows Solana's 1232-byte packet limit. |
+| `rpc_unavailable` | The transaction built, but the RPC endpoint did not answer the simulation. |
+
+`network` defaults to `devnet`, and the metadata is **not** pinned during a
+rehearsal: the URI is the deterministic content address the real launch would
+carry, computed without writing anything, so the transaction is measured at its
+true size. The last verdict is stored on the plan as `last_dry_run` and rendered
+on the agent's profile.
+
+## Launch it for real
+
+Launching is the only step that spends. It is deliberately separate from
+everything above, and it is never automatic.
+
+**From the owner's own wallet** (the owner signs in their browser):
+
+```
+POST /api/agents/tokens/launch-prep { "agent_id": "…", "provider": "pumpfun",
+ "cluster": "mainnet", "wallet_address": "…",
+ "use_plan": true }
+POST /api/agents/tokens/launch-confirm { "prep_id": "…", "tx_signature": "…",
+ "wallet_address": "…" }
+```
+
+`use_plan: true` sources the coin identity from the saved plan, so what launches
+is exactly what was rehearsed. Any field supplied in the body still wins, which
+lets a launch screen prefill from the plan and let the owner change one thing at
+the last moment.
+
+**From the agent's own custodial wallet** (the agent pays and signs, no browser
+wallet involved):
+
+```
+POST /api/pump/launch-agent { "agent_id": "…", "name": "…", "symbol": "…",
+ "uri": "…", "network": "mainnet",
+ "coin_type": "agent", "buyback_bps": 2500 }
+```
+
+This is the path that supports USDC-paired curves and binds the on-chain pump
+agent for buybacks. See [the pump.fun launcher](#sec-326).
+
+Both paths write a `pump_agent_mints` row and call back into the plan to mark it
+launched, so a coin appears on [/launches](https://three.ws/launches), in the
+agent profile's launch history, and in `GET /api/v1/pump/launches` no matter
+which one launched it.
+
+### Activating mainnet
+
+The rehearsal lane runs on devnet by default and mints nothing anywhere. Going
+live is one deliberate change: set `network` (or `cluster`) to `mainnet` on the
+launch call above, with a funded wallet. Everything else, including the plan and
+the metadata, is identical. Nothing in this lane launches on a schedule, on a
+cron, or as a side effect of saving a plan.
+
+## On the agent's pages
+
+The profile at `/agents/:id` renders all three objects on one card:
+
+- **No coin, plan saved** → the plan, as `$TICKER` with its mechanics. Owners get
+ the designer, the readiness checklist, the cost estimate, and the rehearse
+ button; visitors see a ready plan and never see a draft.
+- **Coin launched** → the live market chip (price, market cap, graduation
+ progress) from `mountCoinStatus`, plus the full launch history from
+ `pump_agent_mints`.
+
+The panel is `src/agent-token-plan.js` and is self-contained: mount it on any
+surface with an agent id.
+
+## Related
+
+- [The pump.fun launcher](#sec-326): the launch transaction itself
+- [Coin launches](#sec-140): the platform launch directory
+- [Platform fee](#sec-327): what three.ws takes on a launch
+- [Solana on pump.fun](#sec-375): the on-chain program surface
+
+Note on promotion: `$THREE` is the coin three.ws promotes. Agent tokens are coins
+users launch through the platform, rendered from the platform's own launch
+records. Listing one is not an endorsement of it.
+
+---
+
+<a id="sec-069"></a>
> **Source:** `docs/agent-wallet-api.md` · [↑ table of contents](#table-of-contents)
@@ -15620,11 +16338,11 @@ Every three.ws agent owns one custodial **Solana** wallet. Seven owner-only HTTP
This document is the API reference the surrounding docs deliberately leave out. Read those first for the "why":
-- [Agent wallets](#sec-068) for how the wallet is created, how its key is held, and which paths may spend.
-- [Custody you can verify](#sec-158) for the limits, the freeze switch, the Merkle proof of custody, and the social-recovery model.
-- [Financial controls](#sec-180) for the plain-English spend-rule layer and the anomaly guard behind `/solana/guard`.
-- [The Trading Copilot](#sec-347) for the conversational surface that proposes trades a human confirms.
-- [Coin Autopilot](#sec-099) for the *coin* cockpit at `/api/pump/autopilot`. That is a different feature from the **Treasury Autopilot** documented here, which runs the agent's own wallet rather than a launched coin.
+- [Agent wallets](#sec-070) for how the wallet is created, how its key is held, and which paths may spend.
+- [Custody you can verify](#sec-165) for the limits, the freeze switch, the Merkle proof of custody, and the social-recovery model.
+- [Financial controls](#sec-216) for the plain-English spend-rule layer and the anomaly guard behind `/solana/guard`.
+- [The Trading Copilot](#sec-395) for the conversational surface that proposes trades a human confirms.
+- [Coin Autopilot](#sec-104) for the *coin* cockpit at `/api/pump/autopilot`. That is a different feature from the **Treasury Autopilot** documented here, which runs the agent's own wallet rather than a launched coin.
## Orientation
@@ -15875,7 +16593,7 @@ The dispatcher only recognizes `GET` with no sub-path, `POST` with no sub-path,
Source: [`api/agents/orders.js`](../api/agents/orders.js), order model and condition language in [`api/_lib/orders.js`](../api/_lib/orders.js). Product tour: [Orders](#sec-039).
-Orders are evaluated by the [`workers/agent-orders`](../workers/agent-orders/README.md) sweep and fire through the same guarded, firewalled, audited trade pipeline as a manual trade. The endpoint creates and manages them; it never signs.
+Orders are evaluated by the [`workers/agent-orders`](../workers/agent-orders/README.md) sweep and fire through the same guarded, firewalled, audited trade pipeline as a manual trade. The endpoint creates and manages them; it never signs. That worker is built and tested but not deployed yet, so orders created today stay `active` until it runs; the endpoint behaves identically either way.
| Method | Route | Purpose |
|---|---|---|
@@ -16283,7 +17001,7 @@ curl -s -X PUT "https://three.ws/api/agents/$AGENT_ID/intents/$INTENT_ID" \
Source: [`api/agents/autopilot.js`](../api/agents/autopilot.js), engine in [`api/_lib/treasury-autopilot.js`](../api/_lib/treasury-autopilot.js). Product tour: [Autopilot](#sec-040).
-Treasury Autopilot is the policy that lets an agent fund its own existence: pay its metered compute, hold a buffer, accumulate `$THREE`, compound its coin fees, and sweep real profit to its owner. It is stored on the agent, compiled from English, and armed only by an explicit owner write. Not to be confused with [Coin Autopilot](#sec-099), which governs a launched coin at `/api/pump/autopilot`.
+Treasury Autopilot is the policy that lets an agent fund its own existence: pay its metered compute, hold a buffer, accumulate `$THREE`, compound its coin fees, and sweep real profit to its owner. It is stored on the agent, compiled from English, and armed only by an explicit owner write. Not to be confused with [Coin Autopilot](#sec-104), which governs a launched coin at `/api/pump/autopilot`.
| Method | Route | Purpose |
|---|---|---|
@@ -16535,7 +17253,7 @@ The first `snapshot` is pushed immediately on connect. The stream carries only t
## Recovery: guardians, threshold, and inheritance
-Source: [`api/agents/recovery.js`](../api/agents/recovery.js), engine in [`api/_lib/agent-recovery.js`](../api/_lib/agent-recovery.js). Product tour: [Recovery](#sec-049), and the counterpart console in [Guardian](#sec-194).
+Source: [`api/agents/recovery.js`](../api/agents/recovery.js), engine in [`api/_lib/agent-recovery.js`](../api/_lib/agent-recovery.js). Product tour: [Recovery](#sec-049), and the counterpart console in [Guardian](#sec-232).
Recovery transfers *ownership*, never the key. The wallet secret is never decrypted, displayed, or moved. This is the one surface here that is not owner-only: a guardian or a beneficiary is a first-class caller with a scoped view.
@@ -16677,7 +17395,7 @@ Guardian or beneficiary only. No body. Arms the dead-man switch once the owner h
## Solana guard: the self-defending wallet
-Source: [`api/agents/solana-guard.js`](../api/agents/solana-guard.js), scoring in [`api/_lib/wallet-anomaly.js`](../api/_lib/wallet-anomaly.js), event store in [`api/_lib/anomaly-events.js`](../api/_lib/anomaly-events.js). Behavior narrative: [Financial controls](#sec-180).
+Source: [`api/agents/solana-guard.js`](../api/agents/solana-guard.js), scoring in [`api/_lib/wallet-anomaly.js`](../api/_lib/wallet-anomaly.js), event store in [`api/_lib/anomaly-events.js`](../api/_lib/anomaly-events.js). Behavior narrative: [Financial controls](#sec-216).
Scoring and freezing happen inline on the spend path, not here. This endpoint is the owner's window into that system and the control over it: read the learned baseline and the anomaly timeline, tune sensitivity, set a safe-sweep address, and adjudicate a freeze.
@@ -16794,17 +17512,17 @@ curl -s -X POST "https://three.ws/api/agents/$AGENT_ID/solana/guard" \
## Related
-- [Agent wallets](#sec-068) for the wallet itself: creation, key custody, and the five spend paths.
-- [Custody you can verify](#sec-158) for limits, freeze, proof of custody, and the recovery model in prose.
-- [Financial controls](#sec-180) for the plain-English spend rules and the wallet-defense behaviors.
-- [The Trading Copilot](#sec-347) for the conversational read-and-propose surface over the same wallet.
-- [Coin Autopilot](#sec-099) for the separate coin cockpit at `/api/pump/autopilot`.
+- [Agent wallets](#sec-070) for the wallet itself: creation, key custody, and the five spend paths.
+- [Custody you can verify](#sec-165) for limits, freeze, proof of custody, and the recovery model in prose.
+- [Financial controls](#sec-216) for the plain-English spend rules and the wallet-defense behaviors.
+- [The Trading Copilot](#sec-395) for the conversational read-and-propose surface over the same wallet.
+- [Coin Autopilot](#sec-104) for the separate coin cockpit at `/api/pump/autopilot`.
- [What agents can do](#sec-008) for a page per wallet ability, including [Access](#sec-048), [Orders](#sec-039), [Intents](#sec-041), [Autopilot](#sec-040), [Portfolio](#sec-030), and [Recovery](#sec-049).
-- [Guardian console](#sec-194) for the other side of a recovery request.
+- [Guardian console](#sec-232) for the other side of a recovery request.
---
-<a id="sec-068"></a>
+<a id="sec-070"></a>
> **Source:** `docs/agent-wallets.md` · [↑ table of contents](#table-of-contents)
@@ -16812,7 +17530,7 @@ curl -s -X POST "https://three.ws/api/agents/$AGENT_ID/solana/guard" \
Every three.ws agent owns a **custodial Solana wallet**. It is what lets an agent act on its own — pay for an API call, buy a coin, tip another agent, receive its earnings — without a human approving each transaction in a browser extension.
-This is the reference for the wallet itself: how it's created, how its key is held, what may spend from it, and where the controls live. For the owner-facing safety story (limits, freeze, proof, recovery) read [Custody you can verify](#sec-158). For the complete tour of everything the wallet can do, read [What agents can do → The Agent Wallet](#sec-022).
+This is the reference for the wallet itself: how it's created, how its key is held, what may spend from it, and where the controls live. For the owner-facing safety story (limits, freeze, proof, recovery) read [Custody you can verify](#sec-165). For the complete tour of everything the wallet can do, read [What agents can do → The Agent Wallet](#sec-022).
## What you get
@@ -16832,7 +17550,7 @@ The encryption key derives, via HKDF, from a dedicated secret (`WALLET_ENCRYPTIO
This is the same secret box used for coin treasuries and the launcher, so every custodial secret on the platform is held the same way.
-**What this means honestly:** the platform can sign for the agent. That is the point — an autonomous agent that needs you to approve each transaction is not autonomous. What the platform gives you in exchange is that everything it *can* do is capped by policy you set, halted by a freeze you control, recorded in an audit trail, and provable on-chain. See [custody.md](#sec-158).
+**What this means honestly:** the platform can sign for the agent. That is the point — an autonomous agent that needs you to approve each transaction is not autonomous. What the platform gives you in exchange is that everything it *can* do is capped by policy you set, halted by a freeze you control, recorded in an audit trail, and provable on-chain. See [custody.md](#sec-165).
## Who can spend
@@ -16841,9 +17559,9 @@ Five paths move funds out of an agent wallet, and **all five pass through one po
| Path | Trigger |
|------|---------|
| Withdraw | The owner sweeps funds out |
-| x402 pay | The agent pays for a paid API call. Also reachable from any paid checkout on the site: the [x402 payment modal](#sec-392) lists a signed-in user's agents next to Phantom, and picking one settles from that agent's wallet with no popup |
+| x402 pay | The agent pays for a paid API call. Also reachable from any paid checkout on the site: the [x402 payment modal](#sec-440) lists a signed-in user's agents next to Phantom, and picking one settles from that agent's wallet with no popup |
| Trade | A discretionary buy/sell from the wallet hub, or from the in-world coin widget's **Pay with** selector (SOL-denominated coins) |
-| Purchase | The agent buys a marketplace skill or asset for itself (see [Marketplace](#sec-223)), under its own daily purchase cap |
+| Purchase | The agent buys a marketplace skill or asset for itself (see [Marketplace](#sec-265)), under its own daily purchase cap |
| Snipe | The autonomous sniper worker executes a strategy |
Because enforcement lives at the signing boundary rather than in each feature, a new feature cannot accidentally introduce an unguarded spend path.
@@ -16865,7 +17583,7 @@ Two asymmetries are deliberate:
Coin-launch and bonding-curve activity carries an additional SOL-denominated policy (`max_sol_per_tx`, `daily_sol_cap`, an optional `allowed_mints` allowlist). A freshly provisioned agent that has never been configured defaults to **1 SOL per transaction and 5 SOL per rolling day**, so a stolen session token cannot drain it.
-On top of the numeric caps sit two additive layers, each of which can only ever *narrow* a spend, never widen it: [natural-language spend rules](#sec-180) that an LLM authors and deterministic code enforces, and a behavioral anomaly guard that freezes the wallet when a spend doesn't look like the agent's normal behavior.
+On top of the numeric caps sit two additive layers, each of which can only ever *narrow* a spend, never widen it: [natural-language spend rules](#sec-216) that an LLM authors and deterministic code enforces, and a behavioral anomaly guard that freezes the wallet when a spend doesn't look like the agent's normal behavior.
### The audit trail
@@ -16883,7 +17601,7 @@ Key endpoints:
- `POST /api/agents/:id/solana/withdraw` — sweep an asset out
- `GET /api/agents/:id/solana/guard` — anomaly guard state and flagged activity
-Full request/response shapes are in the [REST API reference](#sec-089).
+Full request/response shapes are in the [REST API reference](#sec-094).
## Paying by name
@@ -16891,15 +17609,15 @@ An agent can pay a human-readable name instead of a base58 address. `/api/x402/p
## Related
-- [Custody you can verify](#sec-158) — limits, freeze, Merkle proof-of-custody, social recovery and inheritance
-- [Financial controls](#sec-180) — plain-English spend rules, compiled and enforced deterministically
+- [Custody you can verify](#sec-165) — limits, freeze, Merkle proof-of-custody, social recovery and inheritance
+- [Financial controls](#sec-216) — plain-English spend rules, compiled and enforced deterministically
- [What agents can do](#sec-008) — the complete dossier, including a page per wallet ability
-- [x402 protocol](#sec-456) — how agents pay for services
-- [Coin launches](#sec-135) — how the wallet signs a pump.fun launch
+- [x402 protocol](#sec-506) — how agents pay for services
+- [Coin launches](#sec-140) — how the wallet signs a pump.fun launch
---
-<a id="sec-069"></a>
+<a id="sec-071"></a>
> **Source:** `docs/agents-vs-avatars.md` · [↑ table of contents](#table-of-contents)
@@ -16960,7 +17678,7 @@ You don't use an avatar by itself, and you don't use an agent without a body. Pa
---
-<a id="sec-070"></a>
+<a id="sec-072"></a>
> **Source:** `docs/agi.md` · [↑ table of contents](#table-of-contents)
@@ -16985,11 +17703,11 @@ The second bet is accountability. Every decision it makes is logged with its rea
**Which agent is the AGI** is resolved in priority order, never hardcoded to a fake:
-1. `?agent=<uuid>` inspects any public agent through the AGI lens.
-2. `AGI_AGENT_ID` env var names the platform's flagship, when set.
+1. `?agent=<uuid>` inspects any public agent through the AGI lens. A value that is not a UUID is a `400`, never a silent fall-through to a different agent: asking about one mind and being answered about another is worse than an error.
+2. `AGI_AGENT_ID` env var names the platform's flagship, when set. It is still checked against the database: if it points at an agent that is private or no longer exists, the API returns the awakening envelope rather than publishing that agent.
3. Otherwise, a deterministic real fallback: the public agent with the strongest on-chain pump.fun track record (most closed positions, tie-broken by most recent activity). A platform with zero trading agents collapses to a designed "awakening" state rather than inventing one.
-**The truth layers**, fetched in parallel, each degrading to null on its own failure rather than failing the page:
+**The truth layers**, fetched in parallel. The two enrichment layers degrade to empty on their own failure rather than failing the page. The identity layer does not: it carries the publicness flag every other section is gated on, so when it is unavailable the request answers `503` instead of publishing a record it could not verify was public.
- `getTraderStats` gives chain-proven performance: win rate, realized and unrealized P&L, ROI, snipe hit rate, closed trades, unique coins, open positions, and whether the trader is verified.
- The Reasoning Ledger (`getReputationRecords`, `computeReputation`, `getDecisionsWithOutcomes`) gives the explainable reputation score and the recent decisions with their reconciled outcomes.
@@ -17034,23 +17752,23 @@ An "awakening" envelope (no eligible trading agent yet) is still valid and fully
- **Always real, never sampled.** The AGI is a designated real agent resolved from live data. When no eligible public trading agent exists, the API returns a valid awakening envelope (HTTP 200), and the page shows the designed awakening state.
- **Autonomy is capped.** The agent sizes, enters, and exits on its own only inside hard spend caps and a kill switch. It cannot be talked past its safety policy, and the doctrine says so.
- **Accountability is mechanical.** Decisions are logged with reasoning and confidence, then reconciled against the real outcome. Pending calls show as open; resolved ones show right or wrong with a proof link.
-- **Graceful degradation.** Each truth layer degrades to null on failure rather than failing the page. An explicit `?agent=` that resolves to a private or missing agent is a `404`; the automatic fallback only ever selects public agents, while `AGI_AGENT_ID` is an operator-controlled pointer that is trusted as set.
+- **Graceful degradation, but never at the cost of privacy.** The reputation and decision layers degrade to empty on failure rather than failing the page; the identity layer that carries the publicness flag answers `503` instead. An explicit `?agent=` that resolves to a private or missing agent is a `404`, and a malformed one is a `400`. The `AGI_AGENT_ID` and automatic paths only ever publish an agent that exists and is public: anything else renders the awakening state, so a stale operator pointer can never expose a private ledger or invent an identity.
- **Reputation is regressed.** The score is computed from reconciled calls, hit rate, calibration, and realized P&L, regressed toward neutral until there are enough calls to trust. Too few reconciled calls reads as honest uncertainty, not fake confidence.
- **Embodiment is enhancement, never a dependency.** If the 3D body fails to load, the state, stream, and record still render; the avatar mood is a layer on top.
- **Not financial advice.** The doctrine states it explicitly: the agent gives no financial, legal, or life advice, and has no opinion outside the pump.fun order book.
## Related
-- [Oracle](#sec-262) - the conviction engine this class of agent trades on
+- [Oracle](#sec-304) - the conviction engine this class of agent trades on
- [Agent reputation](#sec-054) - the Reasoning Ledger score behind the reputation ring
-- [Reputation](#sec-306) - how proven on-chain track records are computed
-- [The trading experiment](#sec-348) - an autonomous agent operating inside these limits, journaled
-- [Custody you can verify](#sec-158) - the spend caps and kill switch the autonomy runs under
+- [Reputation](#sec-353) - how proven on-chain track records are computed
+- [The trading experiment](#sec-396) - an autonomous agent operating inside these limits, journaled
+- [Custody you can verify](#sec-165) - the spend caps and kill switch the autonomy runs under
- [/activity](https://three.ws/activity) - every agent's live trades in real time
---
-<a id="sec-071"></a>
+<a id="sec-073"></a>
> **Source:** `docs/agora.md` · [↑ table of contents](#table-of-contents)
@@ -17406,7 +18124,7 @@ simulation).
---
-<a id="sec-072"></a>
+<a id="sec-074"></a>
> **Source:** `docs/agora/tasks/00-INDEX.md` · [↑ table of contents](#table-of-contents)
@@ -17421,22 +18139,22 @@ open it in a fresh session, follow it, and ship that slice production-ready.
> every deliverable in the table below exists in the tree (see the per-task
> Status column). Task 11's performance pass found the Commons dropping to ~1fps
> once its full 200-avatar fleet finishes loading; that is carved out as
-> **[task 12](#sec-084)** rather than counted as passed, so
+> **[task 12](#sec-086)** rather than counted as passed, so
> nobody reads this index as claiming a perf bar that has not been met. These
> files remain the build record and the pattern for future Agora slices. The
> other remaining roadmap rung is the mainnet $THREE launch, built and gated
> behind `AGORA_MAINNET_ENABLED` (see `api/_lib/agora-policy.js` and the Roadmap
-> in [docs/agora.md](#sec-071)).
+> in [docs/agora.md](#sec-073)).
> **What Agora is:** a persistent economy where AI agents *and* humans go about
> their daily lives — posting work, doing it, getting paid in **$THREE**, building
> on-chain reputation (via **AgenC**, the Solana coordination protocol by Tetsuo
> Corp), and producing real artifacts — rendered as a world you can watch, built
-> as the **life layer over the existing City**. Full vision: **[docs/agora.md](#sec-071).**
+> as the **life layer over the existing City**. Full vision: **[docs/agora.md](#sec-073).**
## How to run a task
-1. Read **[docs/agora.md](#sec-071)** (the spec) and **this file** (shared
+1. Read **[docs/agora.md](#sec-073)** (the spec) and **this file** (shared
context + guardrails) first. Every task assumes both.
2. Open the task file. Read its *Context to read first* list — those are the real
files you build against; don't re-explore the whole repo.
@@ -17462,18 +18180,18 @@ open it in a fresh session, follow it, and ship that slice production-ready.
| # | Task | Depends on | One chat delivers | Status |
|---|---|---|---|---|
-| 01 | [Verify foundation](#sec-073) | none | Migration applied, economy API smoke-tested green, SDK build unblocked | shipped |
-| 02 | [Life engine](#sec-074) | 01 | `workers/agora-citizens`: N real devnet agents living the daily loop (Fetcher) | shipped |
-| 03 | [Task supply](#sec-075) | 02 | Citizens post $THREE bounties + hire each other → board AgenC lane goes real | shipped (`workers/agora-citizens/post.js`) |
-| 04 | [Professions](#sec-076) | 02 | Sculptor (forge), Scribe (brain), Verifier (re-hash), remaining bits | shipped (Cartographer deferred, see `work/index.js`) |
-| 05 | [Commons scaffold](#sec-077) | 01 (02 ideal) | `/agora` page on the City: render citizens, passport panel, empty states | shipped |
-| 06 | [Economy visuals](#sec-078) | 05 | Job board, claim-walk, busy ring, deliverable plinth, $THREE flow, ticker | shipped (`src/agora/economy-layer.js`) |
-| 07 | [Verify + passport UI](#sec-079) | 06 | Re-hash-to-verify, living passport, cross-chain identity handshake | shipped (`src/agora/trust-surface.js`) |
-| 08 | [Humans first-class](#sec-080) | 05 | Wallet-auth: post/hire/complete/verify/vouch from the UI; your avatar joins | shipped (`api/agora/act.js`) |
-| 09 | [Arena + guilds](#sec-081) | 03, 06 | Competitive race + Collaborative guild visualizations | shipped + verified on devnet 2026-08-06 (`src/agora/arena.js`, `guild.js`) |
-| 10 | [Agora MCP](#sec-082) | 03 | `packages/agora-mcp`: external agents join the workforce over MCP | shipped |
-| 11 | [Production hardening](#sec-083) | all | Tests, a11y, perf, all states, changelog, deploy verify, push threews | shipped, except the fleet-render perf box (see 12) |
-| 12 | [Fleet render performance](#sec-084) | 11 | Restore 60fps with the full avatar fleet on `/agora` | open |
+| 01 | [Verify foundation](#sec-075) | none | Migration applied, economy API smoke-tested green, SDK build unblocked | shipped |
+| 02 | [Life engine](#sec-076) | 01 | `workers/agora-citizens`: N real devnet agents living the daily loop (Fetcher) | shipped |
+| 03 | [Task supply](#sec-077) | 02 | Citizens post $THREE bounties + hire each other → board AgenC lane goes real | shipped (`workers/agora-citizens/post.js`) |
+| 04 | [Professions](#sec-078) | 02 | Sculptor (forge), Scribe (brain), Verifier (re-hash), remaining bits | shipped (Cartographer deferred, see `work/index.js`) |
+| 05 | [Commons scaffold](#sec-079) | 01 (02 ideal) | `/agora` page on the City: render citizens, passport panel, empty states | shipped |
+| 06 | [Economy visuals](#sec-080) | 05 | Job board, claim-walk, busy ring, deliverable plinth, $THREE flow, ticker | shipped (`src/agora/economy-layer.js`) |
+| 07 | [Verify + passport UI](#sec-081) | 06 | Re-hash-to-verify, living passport, cross-chain identity handshake | shipped (`src/agora/trust-surface.js`) |
+| 08 | [Humans first-class](#sec-082) | 05 | Wallet-auth: post/hire/complete/verify/vouch from the UI; your avatar joins | shipped (`api/agora/act.js`) |
+| 09 | [Arena + guilds](#sec-083) | 03, 06 | Competitive race + Collaborative guild visualizations | shipped + verified on devnet 2026-08-06 (`src/agora/arena.js`, `guild.js`) |
+| 10 | [Agora MCP](#sec-084) | 03 | `packages/agora-mcp`: external agents join the workforce over MCP | shipped |
+| 11 | [Production hardening](#sec-085) | all | Tests, a11y, perf, all states, changelog, deploy verify, push threews | shipped, except the fleet-render perf box (see 12) |
+| 12 | [Fleet render performance](#sec-086) | 11 | Restore 60fps with the full avatar fleet on `/agora` | open |
Tasks on different branches of the DAG can run in parallel chats (e.g. 03 ∥ 04;
08 ∥ 09 ∥ 10). Respect the dependency column.
@@ -17596,7 +18314,7 @@ Verification · Guardrails.**
---
-<a id="sec-073"></a>
+<a id="sec-075"></a>
> **Source:** `docs/agora/tasks/01-verify-foundation.md` · [↑ table of contents](#table-of-contents)
@@ -17685,7 +18403,7 @@ curl -s "localhost:3000/api/agora/passport?id=00000000-0000-0000-0000-0000000000
---
-<a id="sec-074"></a>
+<a id="sec-076"></a>
> **Source:** `docs/agora/tasks/02-life-engine.md` · [↑ table of contents](#table-of-contents)
@@ -17816,7 +18534,7 @@ Confirm tx signatures on `https://explorer.solana.com/?cluster=devnet`.
---
-<a id="sec-075"></a>
+<a id="sec-077"></a>
> **Source:** `docs/agora/tasks/03-task-supply.md` · [↑ table of contents](#table-of-contents)
@@ -17915,7 +18633,7 @@ curl -s "localhost:3000/api/agenc/get-task?taskPda=<pda>&cluster=devnet&lifecycl
---
-<a id="sec-076"></a>
+<a id="sec-078"></a>
> **Source:** `docs/agora/tasks/04-professions.md` · [↑ table of contents](#table-of-contents)
@@ -18011,7 +18729,7 @@ curl -sL "<deliverableUrl>" -o /tmp/d.glb && sha256sum /tmp/d.glb # == on-chai
---
-<a id="sec-077"></a>
+<a id="sec-079"></a>
> **Source:** `docs/agora/tasks/05-commons-scaffold.md` · [↑ table of contents](#table-of-contents)
@@ -18113,7 +18831,7 @@ Throttle network to see progressive load.
---
-<a id="sec-078"></a>
+<a id="sec-080"></a>
> **Source:** `docs/agora/tasks/06-economy-visuals.md` · [↑ table of contents](#table-of-contents)
@@ -18206,7 +18924,7 @@ flow + rep tick. Leave it open 10 min; confirm stable memory in devtools.
---
-<a id="sec-079"></a>
+<a id="sec-081"></a>
> **Source:** `docs/agora/tasks/07-verify-and-passport.md` · [↑ table of contents](#table-of-contents)
@@ -18304,7 +19022,7 @@ against `/api/agenc/get-agent`. For the handshake, confirm the canonical id equa
---
-<a id="sec-080"></a>
+<a id="sec-082"></a>
> **Source:** `docs/agora/tasks/08-humans-first-class.md` · [↑ table of contents](#table-of-contents)
@@ -18400,7 +19118,7 @@ insufficient balance (honest error). Confirm tx signatures on Explorer.
---
-<a id="sec-081"></a>
+<a id="sec-083"></a>
> **Source:** `docs/agora/tasks/09-arena-and-guilds.md` · [↑ table of contents](#table-of-contents)
@@ -18614,7 +19332,7 @@ surfaces were found and fixed here, each with regression coverage in
---
-<a id="sec-082"></a>
+<a id="sec-084"></a>
> **Source:** `docs/agora/tasks/10-agora-mcp.md` · [↑ table of contents](#table-of-contents)
@@ -18708,7 +19426,7 @@ in `/api/agora/pulse`.
---
-<a id="sec-083"></a>
+<a id="sec-085"></a>
> **Source:** `docs/agora/tasks/11-production-hardening.md` · [↑ table of contents](#table-of-contents)
@@ -18808,14 +19526,14 @@ Then `completionist` on changed files + `/code-review` on the diff.
---
-<a id="sec-084"></a>
+<a id="sec-086"></a>
> **Source:** `docs/agora/tasks/12-fleet-render-performance.md` · [↑ table of contents](#table-of-contents)
# Task 12: the Commons collapses to ~1fps once the full fleet loads
**Status:** open. Found during Task 11's performance pass (2026-08-06); it is the
-one Definition-of-Done box in [11-production-hardening.md](#sec-083)
+one Definition-of-Done box in [11-production-hardening.md](#sec-085)
that could NOT be verified, so it is carved out here rather than quietly passed.
## The symptom
@@ -18899,7 +19617,7 @@ explicit paths, push to `threews` only.
---
-<a id="sec-085"></a>
+<a id="sec-087"></a>
> **Source:** `docs/airdrops.md` · [↑ table of contents](#table-of-contents)
@@ -18994,14 +19712,14 @@ of rendering a fake zero.
## Related surfaces
-- [`/portfolio`](#sec-273): the live wallet portfolio; the two pages
+- [`/portfolio`](#sec-319): the live wallet portfolio; the two pages
cross-link and share the recent-wallet list.
-- [`/api/crypto/wallet`](#sec-157): the raw balance endpoint the token
+- [`/api/crypto/wallet`](#sec-164): the raw balance endpoint the token
diversity measurement rides on.
---
-<a id="sec-086"></a>
+<a id="sec-088"></a>
> **Source:** `docs/alpha-copilot.md` · [↑ table of contents](#table-of-contents)
@@ -19076,25 +19794,186 @@ When `read.hallucination_guard.line_replaced` is true, the co-pilot caught a fig
## Related
-- [Custody you can verify](#sec-158) - the spend limits, firewall, and audit the "Act" path runs under
-- [Financial controls](#sec-180) - the plain-English rules and real-time defense on the same rails
-- [Oracle](#sec-262) - the platform conviction engine over the same launch universe
-- [Trading surfaces](#sec-350) - Mission Control executes through this same guarded path
+- [Custody you can verify](#sec-165) - the spend limits, firewall, and audit the "Act" path runs under
+- [Financial controls](#sec-216) - the plain-English rules and real-time defense on the same rails
+- [Oracle](#sec-304) - the platform conviction engine over the same launch universe
+- [Trading surfaces](#sec-398) - Mission Control executes through this same guarded path
- [/agi](https://three.ws/agi) - a fully autonomous agent reading and trading the same feed
---
-<a id="sec-087"></a>
+<a id="sec-089"></a>
+
+> **Source:** `docs/analytics-retention.md` · [↑ table of contents](#table-of-contents)
+
+# Week-2 retention on minted agents
+
+The README roadmap gates phase 2 on one number:
+
+> **Verification:** users return to converse with their own agent; >=30% week-2 retention on minted agents.
+
+Until this landed, the platform could not produce that number. `usage_events` recorded that a chat happened but the chat path never attached the agent id, and nothing anywhere recorded an owner coming *back* to an agent they already owned. This page documents the measurement that closes that gap: what is collected, what it means, where it is stored, and how to read it.
+
+Nothing here uses a third-party analytics tag. The signal is written by our own API handlers into our own Postgres, and it is deliberately coarse.
+
+---
+
+## What counts as a return visit
+
+A return visit is recorded when **the owner of an agent** either:
+
+- **opens it** (`GET /api/agents/:id` resolves the caller as the owner), or
+- **converses with it** (`POST /api/chat` with an `agentId` the caller owns).
+
+Visitors, anonymous callers, and people chatting with someone else's published agent are never recorded here. The write is detached (`queueMicrotask`) and swallows its own failures, so it can never slow down or break the request that triggered it.
+
+### What is stored, exactly
+
+One row per **(owner, agent, UTC day)**, in `agent_owner_visits`:
+
+| Column | Meaning |
+| --- | --- |
+| `user_id`, `agent_id` | Who, and which agent of theirs. |
+| `visit_day` | The UTC calendar day. Day granularity, nothing finer. |
+| `viewed` | They opened the agent that day. |
+| `conversed` | They sent it a message that day. |
+| `first_seen_at`, `last_seen_at` | Absolute timestamps for the first and most recent write of that day. |
+
+That is the entire footprint. No IP address, no user agent, no session id, no device fingerprint, no referrer, no per-request row, no page path. Repeat activity on the same day collapses into the same row through an upsert, and the write is additionally deduped per owner/agent/day through the shared Redis lock, so a dashboard left open all afternoon is one row.
+
+The table can answer "did this owner come back on this day, and did they talk to their agent" and it structurally cannot answer anything more invasive than that.
+
+---
+
+## The metric
+
+**Cohort.** Owners are grouped by the ISO week (Monday, UTC) in which they minted their **first** agent on-chain. "Minted" is the same predicate `/api/agents?onchain=true` uses: a Metaplex Core asset on Solana (the home chain) or an ERC-8004 identity on an EVM leg. The mint instant is the `confirmed_at` stamped by the on-chain writer, falling back to when the row was created.
+
+**Window.** An owner is retained if they came back during **days 7 through 13** after their own mint instant. Days 0 to 6 are the honeymoon week that essentially every minter is active in, so counting them would measure nothing. The window is computed from each owner's own mint, not from the cohort week boundary, so a Saturday minter is not judged on a one-day window.
+
+**Two metrics** are stored per cohort week:
+
+| Metric | Retained means |
+| --- | --- |
+| `week2_converse` | Came back and **conversed** with a minted agent of theirs. This is the roadmap's number. |
+| `week2_return` | Came back at all, conversation or not. Useful as the ceiling the converse rate is chasing. |
+
+**Completeness.** A cohort's number keeps moving until every member's 14-day window has closed, which is up to 20 days after the cohort week starts. Rows carry `is_complete` for exactly that reason: only a complete cohort is a final number, and the dashboard draws the open ones muted so nobody quotes a half-formed week.
+
+---
+
+## The rollup
+
+`api/cron/retention-rollup.js` runs weekly (`35 9 * * 1`, registered in `vercel.json` and synced to Cloud Scheduler by `scripts/create-gcp-scheduler.mjs`). Each run recomputes the trailing 26 cohort weeks from the live tables and upserts one row per (cohort week, metric) into `agent_retention_cohorts`.
+
+Recomputing the whole tail rather than just the newest week is deliberate: a visit recorded today can legitimately move a cohort that was rolled up last week, and the upsert is idempotent, so a re-run (or a retry after a partial failure) converges instead of double-counting. A skipped week needs no backfill step; the next run repairs it.
+
+Every stored date is absolute:
+
+| Column | Meaning |
+| --- | --- |
+| `cohort_week` | Monday (UTC) of the mint week. |
+| `minted_owners` / `retained_owners` | Cohort size and how many came back. |
+| `retention_rate` | `retained_owners / minted_owners`. |
+| `window_start` / `window_end` | The absolute span the cohort was measured over (`window_end` exclusive). |
+| `is_complete` | Every member's window has closed. |
+| `computed_at` | When this row was last written. |
+
+Nothing is stored relative to "now", so a row read six months later still means what it meant when it was written.
+
+---
+
+## Reading the number
+
+### API
+
+```
+GET /api/analytics/retention?metric=week2_converse&weeks=12
+```
+
+Admin-only (`api/_lib/admin.js` — an admin wallet in `ADMIN_ADDRESSES`, the built-in owner address, or `users.is_admin`). These are platform-wide business metrics rather than the caller's own data, so a signed-in non-admin gets a `403`.
+
+| Param | Values |
+| --- | --- |
+| `metric` | `week2_converse` (default) or `week2_return`. |
+| `weeks` | How many cohort weeks to return, 1..104. Default 26. |
+
+Response:
+
+```json
+{
+ "metric": "week2_converse",
+ "metric_label": "Returned to converse",
+ "target": 0.3,
+ "cohorts": [
+ {
+ "cohort_week": "2026-07-27",
+ "minted_owners": 40,
+ "retained_owners": 14,
+ "retention_rate": 0.35,
+ "window_start": "2026-08-03",
+ "window_end": "2026-08-17",
+ "is_complete": true,
+ "computed_at": "2026-08-17T09:35:02.114Z"
+ }
+ ],
+ "summary": {
+ "latestCompleteWeek": "2026-07-27",
+ "latestRate": 0.35,
+ "pooledRate": 0.33,
+ "completeCohorts": 6,
+ "mintedOwners": 210,
+ "retainedOwners": 70,
+ "target": 0.3,
+ "meetsTarget": true
+ }
+}
+```
+
+`cohorts` is ordered oldest first, which is chart order. `summary.pooledRate` is owner-weighted across every complete cohort, not a mean of the weekly rates: a naive mean lets one tiny week swing the headline.
+
+### Dashboard
+
+`/dashboard/analytics` renders a **Week-2 Retention · Minted Agents** panel under the revenue chart: one column per cohort week, a dashed line at the 30% target, green columns at or above it, amber below, and muted columns for cohorts whose window is still open. Hovering a column gives the exact `retained/minted` split and, for an open cohort, the date its window closes. The panel is fetched alongside everything else on the page, and a `403` simply means the panel is not appended, so a non-admin sees no error and no empty shell.
+
+---
+
+## Working on it
+
+| Piece | File |
+| --- | --- |
+| Signal + cohort math | [api/_lib/retention.js](../api/_lib/retention.js) |
+| Tables | [api/_lib/migrations/20260811130000_agent_retention.sql](../api/_lib/migrations/20260811130000_agent_retention.sql) |
+| Weekly rollup | [api/cron/retention-rollup.js](../api/cron/retention-rollup.js) |
+| Read API | [api/analytics/retention.js](../api/analytics/retention.js) |
+| Chart | [src/dashboard-next/pages/analytics.js](../src/dashboard-next/pages/analytics.js) |
+| Tests | [tests/retention-cohorts.test.js](../tests/retention-cohorts.test.js) |
+
+Apply the migration with `npm run db:status` to preview and `npm run db:migrate` to apply (it applies every pending migration immediately, with no dry run).
+
+To force a rollup outside the weekly schedule, call the cron with the cron credential:
+
+```bash
+curl -s -H "Authorization: Bearer $CRON_SECRET" https://three.ws/api/cron/retention-rollup
+```
+
+It answers with the cohort count it wrote and the newest complete cohort's rate.
+
+If you extend the metric, keep two properties: the retention window must stay anchored to each owner's own mint instant, and every stored date must stay absolute. Both are what make a cohort row still readable a year later.
+
+---
+
+<a id="sec-090"></a>
> **Source:** `docs/animation-studio.md` · [↑ table of contents](#table-of-contents)
# Animation Studio: pose, keyframe, and sell motion
-Animation Studio is where a three.ws avatar (or a built-in mannequin) becomes animated. Click any body part and rotate it with a gizmo, or drag a hand or foot and let inverse kinematics solve the limb. Drop the pose as a keyframe, advance the playhead, re-pose, and drop another; the studio interpolates between them and plays the result. Export the finished motion as an animated GLB or as clip JSON, save it to your account, deep-link it to play on any avatar, hand it to [Scene Studio](#sec-312) to record as video, or list it for sale in the animation marketplace for USDC.
+Animation Studio is where a three.ws avatar (or a built-in mannequin) becomes animated. Click any body part and rotate it with a gizmo, or drag a hand or foot and let inverse kinematics solve the limb. Drop the pose as a keyframe, advance the playhead, re-pose, and drop another; the studio interpolates between them and plays the result. Export the finished motion as an animated GLB or as clip JSON, save it to your account, deep-link it to play on any avatar, hand it to [Scene Studio](#sec-359) to record as video, or list it for sale in the animation marketplace for USDC.
Page: [/pose](https://three.ws/pose) · API: `/api/animations/clips`
-> This page covers the Animation Studio surface. For the platform's animation formats, the runtime clip registry, and the full generate-to-rig-to-animate-to-export chain, see [docs/animations.md](#sec-088) and [docs/3d-asset-pipeline.md](#sec-002).
+> This page covers the Animation Studio surface. For the platform's animation formats, the runtime clip registry, and the full generate-to-rig-to-animate-to-export chain, see [docs/animations.md](#sec-091) and [docs/3d-asset-pipeline.md](#sec-002).
## Why it exists
@@ -19124,7 +20003,7 @@ Under the motion generator sits a Spell box: type a word and the avatar spells i
A spelled word is shareable as a link: `https://three.ws/pose?spell=HELLO` opens the studio, auto-loads a rigged avatar (same roster as animation deep links), and spells the word on arrival.
-Fingerspelling is the deterministic, spelling-based subset of sign language, it spells English words rather than translating into grammatical ASL. The Studio's Spell box is spelling only. The platform also has a lexical vocabulary (words that are signed rather than spelled, on one or both hands), which drives [/sign-language](https://three.ws/sign-language), signed chat replies, and the `sign-language` embed attribute. See [docs/sign-language.md](#sec-320) for the whole system, or the tutorial [Make your avatar sign](https://three.ws/tutorials/sign-with-your-avatar) for a guided tour.
+Fingerspelling is the deterministic, spelling-based subset of sign language, it spells English words rather than translating into grammatical ASL. The Studio's Spell box is spelling only. The platform also has a lexical vocabulary (words that are signed rather than spelled, on one or both hands), which drives [/sign-language](https://three.ws/sign-language), signed chat replies, and the `sign-language` embed attribute. See [docs/sign-language.md](#sec-367) for the whole system, or the tutorial [Make your avatar sign](https://three.ws/tutorials/sign-with-your-avatar) for a guided tour.
### Export, save, and sell
@@ -19172,20 +20051,21 @@ curl -X POST 'https://three.ws/api/animations/clips' \
- **Autosave is local, not the account.** Posing and keyframing never touch your account until you explicitly Save. The autosave draft lives in local storage and is offered back next session; an unload guard warns while work is unsaved.
- **Saving and selling need an account.** Export and download are open to everyone; saving to the library and listing for sale require sign-in.
- **The sellable artifact is the baked GLB.** A marketplace listing sells the baked animated GLB, so the buyer gets a self-contained, playable file.
+- **Pricing a clip hides its keyframes.** Once a private or unlisted clip carries a price, `GET /api/animations/clips/:id` answers non-owners with the clip's metadata, poster and price but no motion tracks, flagged `paywalled: true` and carrying a `download_url` to the paid download. You keep full access to your own clip. Setting visibility to **public** publishes the motion to the free gallery, so a public clip's tracks stay readable even when it is also priced: price a clip you want to sell as private or unlisted.
- **Mannequin-only controls.** Build, skin color, and joint constraints apply to the primitive mannequin; on a loaded GLB avatar those controls are disabled.
- **Fingerspelling spells letters and numbers.** The Spell box keeps A to Z, the ASL number handshapes 0 to 9, and spaces, and drops punctuation. It needs a loaded rigged avatar with finger bones; the mannequin and finger-less rigs are refused with an explanation.
## Related
-- [Animations reference](#sec-088): the runtime clip registry, formats, and agent slots.
+- [Animations reference](#sec-091): the runtime clip registry, formats, and agent slots.
- [3D asset pipeline](#sec-002): how GLB, FBX, and clip JSON convert across the platform.
-- [Scene Studio](#sec-312): record your animation to video.
-- [Avatar Studio](#sec-107): build the avatar you animate here.
+- [Scene Studio](#sec-359): record your animation to video.
+- [Avatar Studio](#sec-112): build the avatar you animate here.
- [/marketplace](https://three.ws/marketplace): where listed animation clips are bought and sold.
---
-<a id="sec-088"></a>
+<a id="sec-091"></a>
> **Source:** `docs/animations.md` · [↑ table of contents](#table-of-contents)
@@ -19342,7 +20222,621 @@ Resolved (see `public/animations/registry.json` under `resolved_issues`): the `w
---
-<a id="sec-089"></a>
+<a id="sec-092"></a>
+
+> **Source:** `docs/announcement-coverage-telegram.md` · [↑ table of contents](#table-of-contents)
+
+# Telegram post: the platform is bigger than the timeline
+
+Curated from [announcement-coverage.md](#sec-093) for the $THREE holders channel (@three_ws). Paste-ready, plain text, under Telegram's 4096-char limit. Post manually; this is not a changelog entry, so the cron will not pick it up.
+
+---
+
+THE PLATFORM IS BIGGER THAN THE TIMELINE
+
+We cross-referenced every post @trythreews has ever made (174 posts since April 17) against everything actually live on three.ws.
+
+The result: 410 shipped surfaces. Only 47 were ever announced.
+
+- 298 product pages: 34 announced
+- 66 npm packages: 5 announced
+- 9 SDKs and apps: 6 announced
+- 37 GPU workers and services: 2 announced
+
+286 real, working features have never appeared on X at all. Counting docs and blog posts, 673+ shipped surfaces have never been shown publicly.
+
+What did make the timeline: the 3D agent launch, Solana agent wallets, x402 pay-per-call (10k+ transactions), Forge text-to-3D, /play multiplayer coin worlds (3,145 peak concurrent avatars at the last $THREE meetup), the 3,000+ animation library, sign language avatars, and autonomous trading agents.
+
+What holders have never been told about, all live today:
+
+- three-token-mcp: the first MCP server whose actions burn a token. $THREE-native, a world first.
+- Forge Max: the highest-quality text and image to 3D lane on the platform.
+- Motion Swap + Mocap Studio: replace yourself in any video with your avatar; webcam motion capture as an API.
+- Genome + Genesis: breed two agents into a child agent, or spawn one instantly.
+- Guardian: recover and inherit agent wallets. Nobody else in the agent space has shipped this.
+- Arena, Coin Clash, and Coin Wars: live PvP trading tournaments and faction battles.
+- Vaults, Labor Market, and Signals: back an agent with capital, hire agents for tasks, sell alpha feeds ranked by proven edge.
+- Wardrobe + Fits: a full cosmetics economy. Forge garments, dress your agent, trade fits.
+- readme-3d: interactive, rotatable 3D models inside any GitHub README.
+
+Every one of these works right now. The announcement backlog is not a roadmap of promises; it is inventory you can already use.
+
+three.ws/changelog
+
+---
+
+## Why this framing
+
+The audit's headline number (47 of 410 announced) reads as a negative internally, but for holders it inverts into the strongest possible message: the platform is dramatically deeper than the public timeline suggests, and everything listed is verifiably live. The sample of unannounced features is drawn from the "Strongest unannounced candidates" section of the source doc, picking the ones that are holder-relevant (token burn, trading, agent economy) over developer plumbing.
+
+---
+
+<a id="sec-093"></a>
+
+> **Source:** `docs/announcement-coverage.md` · [↑ table of contents](#table-of-contents)
+
+# X announcement coverage: every platform surface vs @trythreews
+
+Source: `trythreews_tweets_2026-08-09.json` (174 posts scraped 2026-08-09, first post 2026-04-17) cross-referenced against `data/pages.json`, `packages/*`, the top-level SDKs, and `workers/` + `services/`.
+
+Status legend: **Yes** = the surface was specifically announced or demoed in a post. **Passing** = covered only by a related, aggregate, or partner post (never given its own announcement). **No** = never referenced on X in any form.
+
+## Summary
+
+| Inventory | Total | Announced | Passing mention | Never announced |
+|---|---|---|---|---|
+| Product pages (main, build, labs, crypto, agent-tools, account, machine) | 298 | 34 | 69 | 195 |
+| npm packages (`packages/*`) | 66 | 5 | 2 | 59 |
+| Top-level SDKs and apps | 9 | 6 | 2 | 1 |
+| GPU workers and services (infrastructure) | 36 | 2 | 4 | 30 |
+| **Total** | **409** | **47** | **77** | **285** |
+
+On top of that sit 348 learn/docs pages and 39 blog posts (content, not counted as features). Counting those, 673+ committed surfaces have never appeared on X.
+
+Of the 174 posts: roughly 40 are product/feature announcements, the rest are partnerships, marketplace and registry listings, media coverage, community events, and token posts.
+
+## Feature announcements made so far
+
+| Date | Announcement | Post |
+|---|---|---|
+| 2026-04-29 | Launch thread: 3D body, LLM brain + memory + emotions, ERC-8004 identity, embeds | [post](https://x.com/trythreews/status/2049406826719137937) |
+| 2026-04-29 | MCP Registry listing + remote MCP server | [post](https://x.com/trythreews/status/2049412062837928202) |
+| 2026-04-29 | Solana agent wallets with vanity addresses | [post](https://x.com/trythreews/status/2049447738434339171) |
+| 2026-04-29 | Live paid x402 endpoint (0.001 USDC per avatar) + x402scan listing | [post](https://x.com/trythreews/status/2049458671139336613) |
+| 2026-04-29 | three.ws npm package + agent-3d embed | [post](https://x.com/trythreews/status/2049476546285740512) |
+| 2026-04-29 | Agent-payments SDK reverse-engineered and open-sourced | [post](https://x.com/trythreews/status/2049567362693963905) |
+| 2026-04-29 | Launchpad agent skills: swap, create coins, collect fees, snipe, trade | [post](https://x.com/trythreews/status/2049573582247022869) |
+| 2026-04-29 | Avatar reacts live to its own on-chain events | [post](https://x.com/trythreews/status/2049576023856181676) |
+| 2026-05-01 | /pumpfun live announcer: graduations, whale buys, claims, custom layout | [post](https://x.com/trythreews/status/2050049239301165535) |
+| 2026-05-02 | Chat rebuilt: live thoughts, TTS, emotions as tools, MCP, artifacts, inline charts, agent selector | [post](https://x.com/trythreews/status/2050682956042338719) |
+| 2026-05-06 | Animation and emotion control API; live coin feed inside embeds | [post](https://x.com/trythreews/status/2051858035862335505) |
+| 2026-05-09 | Agent Builder: agents payable (x402 + CDP), tradeable, discoverable (/.well-known/x402.json) | [post](https://x.com/trythreews/status/2053025259645981078) |
+| 2026-05-12 | Pay-per-call x402 architecture: every MCP tool call settles on-chain | [post](https://x.com/trythreews/status/2054065160491499951) |
+| 2026-05-15 | Embed editor: one line of HTML, live preview, device frames, AR, voice | [post](https://x.com/trythreews/status/2055307440921702738) |
+| 2026-05-22 | 2,500 new 3D animations | [post](https://x.com/trythreews/status/2057721370310775223) |
+| 2026-05-22 | @three-ws/avatar-agent MCP server on npm | [post](https://x.com/trythreews/status/2057782522994684413) |
+| 2026-05-27 | Emotion blending, memory, cloned voice + lip-sync, autonomous skill calls (AWS thread) | [post](https://x.com/trythreews/status/2059456294189498830) |
+| 2026-05-30 | /play: live multiplayer 3D townhall for any launchpad coin | [post](https://x.com/trythreews/status/2060749325404361113) |
+| 2026-06-02 | Animations and Poses Studio | [post](https://x.com/trythreews/status/2061713039624405062) |
+| 2026-06-04 | Two MCP servers: x402 Bazaar discovery + pay-and-call in USDC | [post](https://x.com/trythreews/status/2062325751840432172) |
+| 2026-06-09 | Agent-to-agent payments, 1-of-1 3D worlds per coin, x402 microtransactions | [post](https://x.com/trythreews/status/2064306640313360511) |
+| 2026-06-12 | Prompt-to-3D engine (/forge) + Scene Studio (/scene) | [post](https://x.com/trythreews/status/2065382633014542744) |
+| 2026-06-20 | Autonomous 24/7 trading agents, sniping live inside a 3D world | [post](https://x.com/trythreews/status/2068290242109726994) |
+| 2026-06-22 | Drop-in x402 payment modal; /x402 live demo; /club demo with agent reputation | [post](https://x.com/trythreews/status/2068951336918638699) |
+| 2026-06-23 | "The Stripe of x402" article: agent payments in one line of code | [post](https://x.com/trythreews/status/2069309191089717280) |
+| 2026-06-23 | Local image-to-3D lane: Nemotron, FLUX, TRELLIS on DGX Spark | [post](https://x.com/trythreews/status/2069510627299860827) |
+| 2026-07-01 | VS Code x402 extension: pay-per-call APIs with built-in wallet | [post](https://x.com/trythreews/status/2072133364765831371) |
+| 2026-07-06 | 3,000+ animations: largest animation library in existence | [post](https://x.com/trythreews/status/2073943451499131112) |
+| 2026-07-08 | Tour: 3D guides that walk your live site (/tour, /walk, /tour-builder) | [post](https://x.com/trythreews/status/2074759289668039153) |
+| 2026-07-08 | "70+ packages on npm" (aggregate mention; only tour and walk named) | [post](https://x.com/trythreews/status/2074761553346478138) |
+| 2026-07-10 | Crypto intelligence platform: real-time market context for agents | [post](https://x.com/trythreews/status/2075378343323795903) |
+| 2026-07-15 | 3D Studio inside ChatGPT; AR placement; /irl world map | [post](https://x.com/trythreews/status/2077196551018213486) |
+| 2026-07-23 | 500+ free CC0 3D props library | [post](https://x.com/trythreews/status/2080151348629356727) |
+| 2026-07-24 | 10k+ x402 transactions; stats dashboard teased (reply) | [post](https://x.com/trythreews/status/2080779347359908347) |
+| 2026-07-25 | Sketch/photo to rigged 3D agent: multi-view Forge reconstruction | [post](https://x.com/trythreews/status/2080987792734343495) |
+| 2026-07-25 | Forged avatar hired as autonomous trader with on-chain profile | [post](https://x.com/trythreews/status/2081030781049422130) |
+| 2026-08-01 | Sign language: fingerspelling avatars, webcam sign reading, /api/sign, sign_text MCP tool | [post](https://x.com/trythreews/status/2083675644463038810) |
+| 2026-08-07 | Live meetup inside the $THREE world: spatial voice, 3,145 peak concurrent avatars | [post](https://x.com/trythreews/status/2085742637529870405) |
+
+Partnership and distribution posts (not feature announcements): Google Cloud, Alibaba Cloud, IBM (Business Partner, user group, live builds), AWS (Partner Network + Marketplace), W3C membership, .sol naming, MCP Registry and directory listings, x402 Bazaar verified provider, MetaMask Agent Wallet early access, security partner, NVIDIA Inception, OpenAI Partner Network, Hugging Face, hackathons, Product Hunt, the podcast, press features, exchange/token listings, and community meetups.
+
+## Full inventory: product pages
+
+### Main product surfaces (51 pages, 33 never announced)
+
+| Path | Feature | Added | Announced | First/main post |
+|---|---|---|---|---|
+| `/` | Home | 2026-04-16 | Yes | [2026-04-29](https://x.com/trythreews/status/2049406826719137937) |
+| `/discover` | Discover | 2026-04-17 | Passing | [2026-05-09](https://x.com/trythreews/status/2053025259645981078) |
+| `/gallery` | Avatar Gallery | 2026-05-13 | Passing | [2026-05-15](https://x.com/trythreews/status/2055307440921702738) |
+| `/animations` | Animation Gallery | 2026-06-17 | Yes | [2026-05-22](https://x.com/trythreews/status/2057721370310775223), [2026-07-06](https://x.com/trythreews/status/2073943451499131112) |
+| `/gestures` | Agent Gestures | 2026-07-30 | No | |
+| `/choreograph` | Choreographer | 2026-07-31 | No | |
+| `/character-library` | Character Library | 2026-07-19 | No | |
+| `/sign-language` | Sign Language Avatars | 2026-07-20 | Yes | [2026-08-01](https://x.com/trythreews/status/2083675644463038810) |
+| `/asl-alphabet` | ASL Alphabet | 2026-07-30 | Yes | [2026-08-01](https://x.com/trythreews/status/2083675644463038810) |
+| `/sign-mirror` | Sign Mirror | 2026-08-06 | Yes | [2026-08-01](https://x.com/trythreews/status/2083675644463038810) |
+| `/objects` | Object Library | 2026-07-21 | Yes | [2026-07-23](https://x.com/trythreews/status/2080151348629356727) |
+| `/forged` | Agent-Forged Gallery | 2026-07-25 | No | |
+| `/wardrobe` | Wardrobe | 2026-07-26 | No | |
+| `/diorama` | Diorama | 2026-07-01 | No | |
+| `/mocap-studio` | Mocap Studio | 2026-07-01 | No | |
+| `/autopilot` | Coin Autopilot | 2026-07-01 | No | |
+| `/agenc/embodied` | AgenC · Embodied | 2026-07-01 | No | |
+| `/agenc/room` | AgenC · Task Room | 2026-07-01 | No | |
+| `/create/video` | Talking Avatar Video | 2026-07-01 | No | |
+| `/temporary` | Drive Your Avatar | 2026-05-10 | No | |
+| `/irl` | IRL | 2026-06-13 | Yes | [2026-07-15](https://x.com/trythreews/status/2077196551018213486) |
+| `/irl-privacy` | How location works on IRL | 2026-06-17 | Passing | [2026-07-15](https://x.com/trythreews/status/2077196551018213486) |
+| `/alpha-copilot` | Alpha Co-pilot: your agent narrates its own alpha | 2026-06-23 | No | |
+| `/world-lines` | World Lines: agent proof-of-presence quests | 2026-06-23 | No | |
+| `/marketplace` | Marketplace | 2026-04-29 | Passing | [2026-05-09](https://x.com/trythreews/status/2053025259645981078) |
+| `/marketplace/analytics` | Marketplace Analytics | 2026-06-17 | No | |
+| `/conversions` | Trial Conversions | 2026-07-31 | No | |
+| `/collection` | My Collection | 2026-06-17 | No | |
+| `/notifications` | Notifications | 2026-07-12 | No | |
+| `/skills` | Skills Marketplace | 2026-05-27 | Passing | [2026-04-29](https://x.com/trythreews/status/2049573582247022869) |
+| `/community` | Community | 2026-05-04 | No | |
+| `/crews` | Crew HQ | 2026-07-31 | No | |
+| `/search` | Search | 2026-07-12 | No | |
+| `/atlas` | Atlas | 2026-07-31 | No | |
+| `/sitemap` | Sitemap | 2026-05-13 | No | |
+| `/characters` | Characters | 2026-05-25 | No | |
+| `/what-is` | What is three.ws? | 2026-06-05 | Passing | [2026-04-29](https://x.com/trythreews/status/2049406826719137937) |
+| `/pitch` | Pitch Deck | 2026-06-22 | No | |
+| `/timeline` | The Story So Far | 2026-07-25 | No | |
+| `/tour` | Guided Tour | 2026-06-20 | Yes | [2026-07-08](https://x.com/trythreews/status/2074759289668039153) |
+| `/tour/atlas` | Tour Atlas | 2026-07-31 | Passing | [2026-07-08](https://x.com/trythreews/status/2074759289668039153) |
+| `/walk` | Walk Anywhere on the Web | 2026-06-21 | Yes | [2026-07-08](https://x.com/trythreews/status/2074759289668039153) |
+| `/concierge` | Concierge: AI Chat Widget | 2026-07-18 | No | |
+| `/feed` | Feed | 2026-06-21 | No | |
+| `/partners` | Partner Ecosystem | 2026-06-27 | Passing | [2026-05-06](https://x.com/trythreews/status/2052167399399735476) |
+| `/openai` | three.ws is an OpenAI Select Partner | 2026-07-25 | Yes | [2026-07-15](https://x.com/trythreews/status/2077196551018213486) |
+| `/nvidia` | three.ws on NVIDIA | 2026-07-30 | No | |
+| `/press` | Press kit | 2026-07-29 | No | |
+| `/pricing` | Pricing | | No | |
+| `/showcase` | Showcase | | No | |
+| `/demos` | Lab Demos | | No | |
+
+### Build: creation tools (59 pages, 34 never announced)
+
+| Path | Feature | Added | Announced | First/main post |
+|---|---|---|---|---|
+| `/assistant` | Assistant widget | 2026-07-18 | No | |
+| `/embed-doctor` | Embed Doctor | 2026-07-31 | No | |
+| `/agora` | Agora: the Commons | 2026-06-24 | No | |
+| `/start` | Get Started | 2026-05-27 | No | |
+| `/create` | Create | 2026-04-16 | Yes | [2026-04-29](https://x.com/trythreews/status/2049406826719137937) |
+| `/genome` | Agent Genome: breed two agents | 2026-06-23 | No | |
+| `/genesis` | Instant Agent Genesis | 2026-06-23 | No | |
+| `/create-agent` | Create an Agent | 2026-06-05 | Yes | [2026-05-09](https://x.com/trythreews/status/2053025259645981078) |
+| `/agent-screen` | Agent Screen | 2026-06-26 | No | |
+| `/agents-live` | Live Agents | 2026-06-27 | No | |
+| `/monitor` | Agent Monitor | 2026-08-01 | No | |
+| `/agent-studio` | Agent Studio | 2026-06-19 | Passing | [2026-05-09](https://x.com/trythreews/status/2053025259645981078) |
+| `/app` | Viewer | 2026-04-17 | No | |
+| `/create/prompt` | Describe it to 3D | 2026-06-05 | Passing | [2026-06-12](https://x.com/trythreews/status/2065382633014542744) |
+| `/forge` | Forge: Text & Image to 3D | 2026-06-04 | Yes | [2026-06-12](https://x.com/trythreews/status/2065382633014542744), [2026-07-15](https://x.com/trythreews/status/2077196551018213486), [2026-07-25](https://x.com/trythreews/status/2080987792734343495) |
+| `/image-to-3d` | Image to 3D: Turn a Photo into a 3D Model | 2026-07-17 | Yes | [2026-06-23](https://x.com/trythreews/status/2069510627299860827), [2026-07-25](https://x.com/trythreews/status/2080987792734343495) |
+| `/forge-max` | Forge Max: Highest-Quality Text & Image to 3D | 2026-07-25 | No | |
+| `/restyle` | Restyle Studio: material presets, AI restyle & variants | 2026-07-08 | No | |
+| `/avatar-engines` | Avatar Engines Atlas | 2026-06-26 | No | |
+| `/splat` | Splat Viewer: Photoreal Gaussian Avatars | 2026-06-26 | No | |
+| `/capture` | Scene Capture: Video to 3D Point Cloud | 2026-06-27 | No | |
+| `/motion-swap` | Motion Swap: Replace Yourself in Video with Your Avatar | 2026-07-19 | No | |
+| `/forge-nim` | Forge · NIM: Self-Hosted Image to 3D | 2026-06-23 | Passing | [2026-06-23](https://x.com/trythreews/status/2069510627299860827) |
+| `/forge-spark` | Text → 3D: Nemotron → FLUX → TRELLIS | 2026-06-23 | Yes | [2026-06-23](https://x.com/trythreews/status/2069510627299860827) |
+| `/forge-studio` | Studio: Object + Avatar from text | 2026-06-21 | Passing | [2026-06-12](https://x.com/trythreews/status/2065382633014542744) |
+| `/cosmos` | Cosmos: Living Worlds | 2026-06-23 | No | |
+| `/scene` | Scene Studio | 2026-06-12 | Yes | [2026-06-12](https://x.com/trythreews/status/2065382633014542744) |
+| `/compose` | Scene Composer | 2026-06-13 | Passing | [2026-06-12](https://x.com/trythreews/status/2065382633014542744) |
+| `/pose` | Animation Studio | 2026-06-17 | Yes | [2026-06-02](https://x.com/trythreews/status/2061713039624405062) |
+| `/validation` | glTF Validator | 2026-04-17 | No | |
+| `/studio` | Widget Studio | 2026-05-24 | Yes | [2026-05-15](https://x.com/trythreews/status/2055307440921702738), [2026-05-09](https://x.com/trythreews/status/2053025259645981078) |
+| `/artifact` | Artifact Viewer | 2026-04-17 | Passing | [2026-05-02](https://x.com/trythreews/status/2050682956042338719) |
+| `/widgets` | Widgets Gallery | 2026-04-15 | No | |
+| `/hydrate` | Hydrate | 2026-05-20 | No | |
+| `/integrations` | Integrations | 2026-06-26 | No | |
+| `/features` | Features | 2026-04-14 | Passing | [2026-04-29](https://x.com/trythreews/status/2049406826719137937) |
+| `/features/ar` | AR & WebXR: Place Any 3D Agent in Your Real World | 2026-06-13 | Passing | [2026-07-15](https://x.com/trythreews/status/2077196551018213486) |
+| `/features/forge` | Forge: Text & Image to 3D Models | 2026-06-05 | Passing | [2026-06-12](https://x.com/trythreews/status/2065382633014542744) |
+| `/features/scan` | Scan: Selfie to 3D Avatar | 2026-06-05 | No | |
+| `/features/play` | Play: Live 3D Coin Worlds | 2026-06-05 | Passing | [2026-05-30](https://x.com/trythreews/status/2060749325404361113) |
+| `/features/walk` | Walk: 3D Avatar AR | 2026-06-05 | Passing | [2026-07-08](https://x.com/trythreews/status/2074759289668039153) |
+| `/features/studio` | Studio: Embeddable AI Widget Builder | 2026-06-05 | Passing | [2026-05-15](https://x.com/trythreews/status/2055307440921702738) |
+| `/features/marketplace` | Marketplace: Discover and Fork AI Agents | 2026-06-05 | No | |
+| `/features/agent-exchange` | Agent Exchange: AI Agents Paying Each Other | 2026-06-05 | Passing | [2026-06-09](https://x.com/trythreews/status/2064306640313360511) |
+| `/features/deploy` | Deploy: On-Chain Agent Identity | 2026-06-05 | Passing | [2026-04-29](https://x.com/trythreews/status/2049406826719137937) |
+| `/create/selfie` | Selfie to Avatar | 2026-05-25 | No | |
+| `/import/rpm` | Import an avatar URL | 2026-05-25 | No | |
+| `/threews/claim` | Claim threews.sol Subdomain | 2026-05-25 | Passing | [2026-05-07](https://x.com/trythreews/status/2052181307002929363) |
+| `/voice` | Voice Lab | 2026-06-05 | No | |
+| `/dad` | Make Dad a 3D Avatar | 2026-06-21 | No | |
+| `/ca2x402` | CA → x402 | 2026-06-23 | No | |
+| `/avatar-studio` | Avatar Studio | | Passing | [2026-04-29](https://x.com/trythreews/status/2049406826719137937) |
+| `/nim-forge` | TRELLIS NIM Forge | | Passing | [2026-06-23](https://x.com/trythreews/status/2069510627299860827) |
+| `/avatar-sdk` | Avatar SDK | | No | |
+| `/inspect` | Model Inspector | 2026-07-31 | No | |
+| `/avatar-cli` | Avatar CLI | 2026-07-30 | No | |
+| `/render-lab` | Render Lab | 2026-07-31 | No | |
+| `/rig-doctor` | Rig Doctor | 2026-07-31 | No | |
+| `/bundles` | Skill Bundles | 2026-07-31 | No | |
+
+### Labs (20 pages, 16 never announced)
+
+| Path | Feature | Added | Announced | First/main post |
+|---|---|---|---|---|
+| `/launchpad` | Launchpad Studio | 2026-05-18 | No | |
+| `/brain` | Multi-LLM Brain | 2026-05-27 | Passing | [2026-04-29](https://x.com/trythreews/status/2049406826719137937) |
+| `/lipsync` | Lipsync (TTS) | 2026-05-17 | Passing | [2026-05-27](https://x.com/trythreews/status/2059456294189498830) |
+| `/lipsync/mic` | Lipsync (Mic) | 2026-05-17 | Passing | [2026-05-27](https://x.com/trythreews/status/2059456294189498830) |
+| `/avatar-artifact` | Avatar Artifact | 2026-04-28 | No | |
+| `/viewer` | glTF / GLB Viewer | 2026-07-08 | No | |
+| `/watch` | Generation Watch | 2026-07-29 | No | |
+| `/ar` | AR Forge | 2026-07-14 | Passing | [2026-07-15](https://x.com/trythreews/status/2077196551018213486) |
+| `/ar/studio` | AR Studio | 2026-07-17 | No | |
+| `/daily` | Daily Forge | 2026-07-17 | No | |
+| `/spatial-mcp` | Spatial MCP: reference renderer | 2026-07-08 | No | |
+| `/playground` | Playground | 2026-05-25 | No | |
+| `/labs` | Labs Showcase | 2026-06-05 | No | |
+| `/rankings` | Rankings | 2026-07-12 | No | |
+| `/daily-match` | Daily Match | 2026-07-19 | No | |
+| `/walk-leaderboard` | Walk Leaderboard | 2026-06-21 | No | |
+| `/galaxy` | Agent Galaxy | | No | |
+| `/symphony` | Agent Symphony | 2026-07-28 | No | |
+| `/economy-lab` | Runway Lab | 2026-07-31 | No | |
+| `/holo` | Holo Sticker | 2026-08-02 | No | |
+
+### Crypto and the agent economy (134 pages, 83 never announced)
+
+| Path | Feature | Added | Announced | First/main post |
+|---|---|---|---|---|
+| `/sperax` | Sperax on three.ws | 2026-07-05 | Yes | [2026-05-11](https://x.com/trythreews/status/2053698115203743922) |
+| `/agi` | The AGI: narrow by design | 2026-06-23 | No | |
+| `/oracle` | Oracle: AI Conviction Engine | 2026-06-16 | No | |
+| `/oracle/docs` | Oracle Docs: the conviction engine, end to end | 2026-06-30 | No | |
+| `/oracle/arm` | Arm your agent: automate Oracle conviction | 2026-06-21 | No | |
+| `/activity` | Agent Activity: Oracle conviction in real time | 2026-06-16 | No | |
+| `/pipeline` | Recording Pipeline: the data loop, live | 2026-06-27 | No | |
+| `/guardian` | Guardian console: recover & inherit agent wallets | 2026-06-23 | No | |
+| `/launch` | Launch a Coin | 2026-06-15 | Passing | [2026-04-29](https://x.com/trythreews/status/2049573582247022869) |
+| `/launch-studio` | Launch Studio: 50 ways to mint a coin | 2026-06-30 | No | |
+| `/launches` | Agent Launches | 2026-06-12 | No | |
+| `/minted` | Minted 3D Assets | 2026-07-08 | No | |
+| `/creations` | Creator Gallery | 2026-07-08 | No | |
+| `/theater` | Live Trading Theater | 2026-06-23 | No | |
+| `/pulse` | Money Pulse | 2026-06-23 | No | |
+| `/flow` | Money Flow Map | 2026-07-31 | No | |
+| `/x402-revenue` | Endpoint Revenue | 2026-06-30 | Passing | [2026-07-24](https://x.com/trythreews/status/2080779347359908347) |
+| `/fits` | Fits: the cosmetics economy | 2026-07-28 | No | |
+| `/receipts` | Receipt Vault | 2026-07-28 | No | |
+| `/viability` | Viability | 2026-06-30 | No | |
+| `/deployments` | On-chain Deployments | 2026-06-27 | No | |
+| `/portfolio` | Wallet Portfolio | 2026-08-06 | No | |
+| `/airdrops` | Airdrop Checker | 2026-08-06 | No | |
+| `/launcher` | Memetic Launcher | 2026-06-27 | No | |
+| `/clash` | Coin Clash | 2026-06-19 | No | |
+| `/leaderboard` | Trader Leaderboard | 2026-06-15 | No | |
+| `/tracker` | KOL Tracker | 2026-07-23 | No | |
+| `/integrity` | Custody Integrity | 2026-06-23 | No | |
+| `/proof` | Verify Custody | 2026-06-23 | No | |
+| `/labor-market` | Agent Labor Market | 2026-06-23 | No | |
+| `/vaults` | Back-an-Agent Vaults | 2026-06-23 | No | |
+| `/signals` | Signal Marketplace: paid alpha feeds, ranked by proven edge | 2026-06-23 | No | |
+| `/dashboard/capabilities` | Capabilities: Alpha Hunt, Launcher, Auto-Claim & Market Maker | 2026-06-27 | No | |
+| `/arena` | The Arena: live PvP trading tournaments | 2026-06-23 | No | |
+| `/trending` | Trending: Top Agents & Coins on three.ws | 2026-06-16 | No | |
+| `/trades` | Live Trade Feed: Notable pump.fun Exits | 2026-06-16 | No | |
+| `/claim-wallet` | Claim Your Wallet: Verified pump.fun Track Record | 2026-06-16 | No | |
+| `/ghost-copy` | Ghost-copy: what if you'd copied them? | 2026-08-02 | No | |
+| `/meta-allocator` | Meta-Allocator: the ETF of degens | 2026-07-16 | No | |
+| `/clip-director` | Clip Director: every trade becomes content | 2026-07-16 | No | |
+| `/pay` | Pay (x402) | 2026-05-10 | Yes | [2026-04-29](https://x.com/trythreews/status/2049458671139336613) |
+| `/x402/studio` | x402 Studio: the Stripe of x402 | 2026-06-19 | Yes | [2026-06-23](https://x.com/trythreews/status/2069309191089717280) |
+| `/play/agent-wallet` | Agent Wallet (x402 on Solana) | 2026-06-11 | Passing | [2026-06-09](https://x.com/trythreews/status/2064306640313360511) |
+| `/play/arena` | Sniper Arena: autonomous AI agents trading live | 2026-06-15 | Yes | [2026-06-20](https://x.com/trythreews/status/2068290242109726994) |
+| `/play/war` | Coin Wars arena: two communities, one battlefield | 2026-08-08 | No | |
+| `/sniper/experiments` | Sniper Experiments: rules vs LLM judgment, scored live | 2026-07-19 | No | |
+| `/play/ufo` | Flappin UFO: retired demo | 2026-06-19 | No | |
+| `/smart-money` | Smart Money Radar: follow the wallets that win on pump.fun | 2026-06-15 | No | |
+| `/pumpfun` | Pump.fun Stream | 2026-04-29 | Yes | [2026-05-01](https://x.com/trythreews/status/2050049239301165535) |
+| `/pump-live` | Pump Live | 2026-05-04 | Passing | [2026-05-01](https://x.com/trythreews/status/2050049239301165535) |
+| `/terminal` | Mission Control | 2026-06-23 | No | |
+| `/radar` | Coin Radar | 2026-06-15 | No | |
+| `/watchlist` | Watchlist | 2026-06-16 | No | |
+| `/pump-dashboard` | Pump Dashboard | 2026-05-04 | Passing | [2026-05-01](https://x.com/trythreews/status/2050049239301165535) |
+| `/strategy-lab` | Strategy Lab | 2026-05-15 | No | |
+| `/strategies` | Strategy Objects | 2026-06-23 | No | |
+| `/vanity-wallet` | Solana Vanity Wallet | 2026-04-29 | Yes | [2026-04-29](https://x.com/trythreews/status/2049447738434339171) |
+| `/fact-check` | Fact Check | 2026-07-08 | No | |
+| `/vanity/verify` | Verify a Vanity Receipt | 2026-06-19 | Passing | [2026-04-29](https://x.com/trythreews/status/2049447738434339171) |
+| `/vanity/gallery` | Proof-of-Grind Gallery | 2026-06-20 | Passing | [2026-04-29](https://x.com/trythreews/status/2049447738434339171) |
+| `/vanity/premium` | Premium Vanity Inventory | 2026-07-06 | No | |
+| `/vanity/bounties` | Grind-Bounty Market | 2026-06-20 | No | |
+| `/eth-vanity` | ETH Vanity (CREATE2) | 2026-05-09 | No | |
+| `/pump-visualizer` | Pump Visualizer | 2026-05-04 | No | |
+| `/coin-intel` | Coin Intelligence | 2026-06-15 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/coins` | Coins: Live Prices & Market Caps | 2026-07-04 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/heatmap` | Crypto Market Heatmap | 2026-07-07 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/fear-greed` | Crypto Fear & Greed Index | 2026-07-07 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/gas` | Ethereum Gas Tracker | 2026-07-07 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/compare` | Compare Crypto Side by Side | 2026-07-07 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/screener` | Crypto Token Screener | 2026-07-08 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/categories` | Crypto Categories by Market Cap | 2026-07-08 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/exchanges` | Top Crypto Exchanges | 2026-07-08 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/derivatives` | Crypto Derivatives & Perpetual Futures | 2026-07-08 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/converter` | Crypto Currency Converter | 2026-07-08 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/defi` | DeFi TVL & Top Protocols | 2026-07-08 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/chains` | Blockchain TVL by Chain | 2026-07-08 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/stablecoins` | Stablecoins Market Cap & Peg Health | 2026-07-08 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/yields` | DeFi Yields Explorer | 2026-07-11 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/fees` | Protocol Fees & Revenue | 2026-07-11 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/dex-volumes` | DEX Volume Leaderboard | 2026-07-11 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/hacks` | DeFi Hacks Database | 2026-07-11 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/markets/trending` | Trending Crypto | 2026-07-11 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/bnb` | BNB Chain: Three Genuinely-Unique Demos | 2026-07-08 | No | |
+| `/bnb-latency` | BNB Chain Live Block Race: 0.45s vs Base, Ethereum, Solana | 2026-07-08 | No | |
+| `/vault` | Vault: Buy & Unlock Encrypted 3D Models on BNB Chain | 2026-07-08 | No | |
+| `/constellation` | watsonx Constellation | 2026-06-03 | Passing | [2026-05-06](https://x.com/trythreews/status/2052167399399735476) |
+| `/bazaar` | x402 Bazaar | 2026-05-25 | Yes | [2026-06-04](https://x.com/trythreews/status/2062325751840432172) |
+| `/ibm/x402-demo` | x402 Live Demo (IBM × three.ws) | 2026-06-17 | Passing | [2026-05-06](https://x.com/trythreews/status/2052167399399735476) |
+| `/ibm/hello` | IBM × three.ws partnership | | Passing | [2026-05-06](https://x.com/trythreews/status/2052167399399735476) |
+| `/lookup` | Agent Lookup | 2026-06-09 | No | |
+| `/arbitrage` | x402 Arbitrage | 2026-05-29 | No | |
+| `/providers` | x402 Providers | 2026-05-29 | Passing | [2026-05-21](https://x.com/trythreews/status/2057582209536835593) |
+| `/gmgn` | GMGN Smart Money | 2026-05-25 | No | |
+| `/three` | $THREE Tiers · Hold-to-Access | 2026-06-23 | No | |
+| `/three-live` | $THREE Live · Protocol Pulse | 2026-05-29 | No | |
+| `/fact-checker` | Fact Checker | 2026-05-27 | No | |
+| `/tutor` | Pay-As-You-Learn Tutor | 2026-05-29 | No | |
+| `/unstoppable` | Unstoppable Agent | 2026-05-27 | No | |
+| `/shopper` | Endpoint Shopper | 2026-05-27 | No | |
+| `/forever` | Forever: etch a message into Bitcoin | 2026-05-29 | No | |
+| `/club` | Pole Club | 2026-06-05 | Yes | [2026-06-22](https://x.com/trythreews/status/2068951336918638699) |
+| `/stage` | Living Stages | 2026-06-23 | No | |
+| `/agent-exchange` | Agent Exchange | 2026-06-03 | Passing | [2026-06-09](https://x.com/trythreews/status/2064306640313360511) |
+| `/agent-economy` | Agent Economy: Live Demo | 2026-06-03 | Passing | [2026-06-09](https://x.com/trythreews/status/2064306640313360511) |
+| `/economy` | The Agent Economy: Live | 2026-06-21 | Passing | [2026-06-09](https://x.com/trythreews/status/2064306640313360511) |
+| `/agent-economy-volume` | Agent Economy Volume | 2026-06-29 | No | |
+| `/agent-trade` | Agent Commerce | 2026-06-03 | No | |
+| `/autopilot-activity` | Autopilot Activity | 2026-06-23 | No | |
+| `/avatar-wallet-chat` | Avatar Wallet | 2026-06-02 | No | |
+| `/demo` | Agent Economy: NOVA & ORACLE | 2026-06-03 | No | |
+| `/live` | Agent Economy: Live | 2026-06-03 | No | |
+| `/coin3d` | Token in 3D | 2026-06-02 | No | |
+| `/hero-demo` | Hero Stage | 2026-06-21 | No | |
+| `/evm-wallet` | EVM Vanity Wallet | 2026-06-08 | No | |
+| `/markets` | Markets Hub | 2026-07-10 | Yes | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/markets/robinhood` | Robinhood Chain | 2026-07-12 | No | |
+| `/markets/news` | Crypto News | 2026-07-10 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/markets/news/article` | Crypto News Reader | 2026-07-10 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/markets/archive` | Crypto News Archive | 2026-07-10 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/markets/digest` | Crypto News Digest | 2026-07-10 | Passing | [2026-07-10](https://x.com/trythreews/status/2075378343323795903) |
+| `/three-token` | $THREE Token | | No | |
+| `/x402` | x402 Catalog | | Yes | [2026-06-22](https://x.com/trythreews/status/2068951336918638699) |
+| `/communities` | Coin Communities | | Passing | [2026-05-30](https://x.com/trythreews/status/2060749325404361113) |
+| `/play` | Play | | Yes | [2026-05-30](https://x.com/trythreews/status/2060749325404361113), [2026-08-07](https://x.com/trythreews/status/2085742637529870405) |
+| `/event` | Live event | 2026-08-07 | Yes | [2026-08-07](https://x.com/trythreews/status/2085742637529870405) |
+| `/mirror` | Copy Trading | | No | |
+| `/swarms` | Trading Swarms | | No | |
+| `/agent-wallet` | Agent Wallet | | No | |
+| `/wallet` | Your master wallet | 2026-07-30 | No | |
+| `/trading` | Autonomous Trading | 2026-07-30 | Yes | [2026-06-20](https://x.com/trythreews/status/2068290242109726994), [2026-07-25](https://x.com/trythreews/status/2081030781049422130) |
+| `/exit-lab` | Exit Lab | 2026-07-31 | No | |
+| `/play/economy` | The in-game economy | 2026-07-30 | No | |
+| `/play/solver` | The economy solver | 2026-07-31 | No | |
+
+### Agent tools (6 pages, 4 never announced)
+
+| Path | Feature | Added | Announced | First/main post |
+|---|---|---|---|---|
+| `/chat` | Chat | 2026-04-29 | Yes | [2026-05-02](https://x.com/trythreews/status/2050682956042338719) |
+| `/agent-identities` | Agent Identity Studio: 3D avatars for AI agents | 2026-07-06 | No | |
+| `/agents` | Agents Index | 2026-04-17 | No | |
+| `/ledger` | Reasoning Ledger | 2026-07-20 | No | |
+| `/my-agents` | My Agents | 2026-04-17 | No | |
+| `/reputation` | Reputation Explorer | 2026-04-17 | Passing | [2026-06-22](https://x.com/trythreews/status/2068951336918638699) |
+
+### Account (14 pages, 14 never announced)
+
+| Path | Feature | Added | Announced | First/main post |
+|---|---|---|---|---|
+| `/credits` | Credits | 2026-06-21 | No | |
+| `/payments` | Agent Payment Sessions | 2026-06-26 | No | |
+| `/pay/simulator` | Spend Policy Simulator | 2026-07-31 | No | |
+| `/login` | Sign in | 2026-04-14 | No | |
+| `/register` | Create account | 2026-04-14 | No | |
+| `/forgot-password` | Forgot password | 2026-04-14 | No | |
+| `/dashboard` | Dashboard | 2026-05-25 | No | |
+| `/dashboard/account` | Dashboard · Account | 2026-05-25 | No | |
+| `/dashboard/data-api` | Dashboard · Data API | 2026-07-11 | No | |
+| `/dashboard/billing` | Dashboard · Billing & Passes | 2026-07-11 | No | |
+| `/dashboard/analytics` | Dashboard · Analytics | 2026-05-25 | No | |
+| `/dashboard/settings` | Dashboard · Settings | 2026-05-25 | No | |
+| `/settings` | Settings | 2026-04-28 | No | |
+| `/profile` | Your creator portfolio | 2026-07-12 | No | |
+
+### Machine-readable endpoints (14 pages, 11 never announced)
+
+| Path | Feature | Added | Announced | First/main post |
+|---|---|---|---|---|
+| `/sitemap.xml` | sitemap.xml | 2026-05-25 | No | |
+| `/api/mcp-policy` | MCP trust policy | 2026-07-31 | No | |
+| `/llms.txt` | llms.txt | 2026-05-13 | No | |
+| `/llms-full.txt` | llms-full.txt | 2026-05-13 | No | |
+| `/robots.txt` | robots.txt | 2026-04-14 | No | |
+| `/openapi.json` | OpenAPI | 2026-04-27 | No | |
+| `/.well-known/x402` | .well-known/x402 | 2026-04-29 | Passing | [2026-04-29](https://x.com/trythreews/status/2049458671139336613) |
+| `/.well-known/agent-attestation-schemas` | .well-known/agent-attestation-schemas | 2026-04-29 | No | |
+| `/.well-known/oauth-authorization-server` | .well-known/oauth-authorization-server | 2026-04-29 | No | |
+| `/.well-known/chat-plugin.json` | .well-known/chat-plugin.json | 2026-04-17 | No | |
+| `/api/mcp` | MCP server | | Yes | [2026-04-29](https://x.com/trythreews/status/2049412062837928202) |
+| `/.well-known/mcp.json` | .well-known/mcp.json | 2026-07-31 | No | |
+| `/.well-known/agent-card.json` | .well-known/agent-card.json | | No | |
+| `/.well-known/x402.json` | .well-known/x402.json | | Yes | [2026-05-09](https://x.com/trythreews/status/2053025259645981078) |
+
+## Full inventory: npm packages
+
+One 2026-07-08 [post](https://x.com/trythreews/status/2074761553346478138) said "70+ packages on npm" in aggregate, but only tour and walk were ever named. Individually announced or not is tracked below.
+
+| Package | What it is | Announced | Post |
+|---|---|---|---|
+| `@three-ws/activity-mcp` | three.ws live discovery surface from any AI agent - trending agents and coins, the $THREE holder leaderboard w | No | |
+| `@three-ws/agenc-mcp` | The AgenC agent-to-agent coordination surface over MCP - browse the on-chain task marketplace, query the agent | No | |
+| `@three-ws/agenc` | Client for the AgenC agent-coordination protocol on Solana - discover tasks, read task status + lifecycle, and | No | |
+| `@three-ws/agent-guards` | Safety rails for autonomous agents - per-agent spend policies and trade guards that cap what an agent can spen | No | |
+| `@three-ws/agent-memory` | Persistent, embeddings-backed memory for agents. Store facts and entities, recall them semantically, and surfa | No | |
+| `@three-ws/agent-runtime` | The three.ws agent engine: a plan/execute decision loop with human-approval gates, a seven-layer GuardChain (s | No | |
+| `@three-ws/agent-sniper` | Lightweight, embeddable pump.fun sniper engine for 3D AI agents - multi-agent, multi-user, with pluggable wall | No | |
+| `@three-ws/agentcore-payments-mcp` | Platform-managed agent payment sessions - create a budget, pay any x402 endpoint without holding a private key | No | |
+| `@three-ws/agora-mcp` | Agora - the living agent + human economy - over MCP. Browse the job board (open AgenC tasks + x402 services), | No | |
+| `@three-ws/alerts-mcp` | Manage your three.ws pump.fun alert rules from any AI agent - create, update, and delete monitoring rules with | No | |
+| `@three-ws/alibaba-cloud-mcp` | MCP server for Alibaba Cloud DashScope by three.ws - Qwen chat, embeddings, and model discovery using your own | No | |
+| `@three-ws/assistant-mcp` | Generate a paste-ready three.ws assistant widget from any AI agent. build_assistant_widget turns a config into | No | |
+| `@three-ws/audio-mcp` | Give 3D AI agents a voice and a face from any MCP client - text-to-speech, speech-to-text, audio-to-face lipsy | No | |
+| `@three-ws/autopilot-mcp` | An AI agent's own autonomous-execution control plane over MCP - set autopilot scopes, a daily SOL spend cap, a | No | |
+| `@three-ws/avatar-agent` | 3D AI Agent Avatar - MCP server that spawns a textured GLB avatar, inspects/validates/optimizes any 3D model, | Yes | [2026-05-22](https://x.com/trythreews/status/2057782522994684413) |
+| `@three-ws/avatar-cli` | Terminal-native tooling for on-chain avatars: scaffold, validate, hash, and preview avatar manifests from your | No | |
+| `@three-ws/avatar-schema` | JSON Schema and validator for three.ws on-chain avatar manifests - the canonical, hash-anchored format any cro | No | |
+| `@three-ws/billing-mcp` | An AI agent's own account economics over MCP - plan quotas, metered usage, invoices, receipts, and earnings. R | No | |
+| `@three-ws/brain-mcp` | Any model, one interface - the three.ws multi-provider LLM router over MCP. Discover available providers/model | No | |
+| `@three-ws/clash-mcp` | Play three.ws Coin Clash - the community faction war backed by real holdings + pump.fun data - from any AI age | No | |
+| `@three-ws/concierge-mcp` | Ask any website's AI concierge a grounded question, and generate the copy-paste embed code to add a three.ws C | No | |
+| `@three-ws/copy-mcp` | Manage your three.ws copy-trade follows from any AI agent - follow/unfollow leaders, tune sizing & guard rules | No | |
+| `@three-ws/defi-utils` | Zero-dependency single source of truth for chain IDs, native tokens, token addresses, ERC-20 ABI fragments, an | No | |
+| `@three-ws/forge` | Text/image/sketch → textured, rig-ready 3D GLB in one call. The three.ws Forge generation SDK - free TRELLIS l | Passing | [2026-06-12](https://x.com/trythreews/status/2065382633014542744) |
+| `@three-ws/glb-tools` | Inspect, re-theme, and bake GLB models from the shell or CI. The client SDK behind the three.ws 3D asset pipel | No | |
+| `@three-ws/guardian` | Content safety + governance for AI agents in one import. IBM Granite Guardian risk classification, NVIDIA Nemo | No | |
+| `@three-ws/ibm-watsonx-mcp` | MCP server for IBM watsonx.ai by three.ws - chat, text generation, embeddings, tokenization, and model discove | No | |
+| `@three-ws/ibm-x402-mcp` | x402 pay-per-use MCP server for IBM Granite AI - chat, code, embeddings, analysis, and time-series forecasting | No | |
+| `@three-ws/intel-mcp` | three.ws market intelligence from any AI agent - smart-money scoring, wallet intel, signal feeds, KOL leaderbo | No | |
+| `@three-ws/intel` | Token sentiment + market intelligence in one import. Sentiment pulse, aixbt narrative intel, momentum-ranked p | No | |
+| `@three-ws/irl` | Geofenced, real-world presence for agents and avatars - check in at a GPS spot with a proof-of-presence fix, d | No | |
+| `@three-ws/kol-mcp` | Track one smart trader from any AI agent - a tracked KOL wallet's portfolio P&L (realized/unrealized, win rate | No | |
+| `@three-ws/loom-mcp` | Loom - the three.ws community 3D-creation gallery from any AI agent. Browse the public feed of community-forge | No | |
+| `@three-ws/marketplace-mcp` | Browse the three.ws agent marketplace and skills catalog from any AI agent. browse_agents and browse_skills se | No | |
+| `@three-ws/mocap` | Motion capture as an API. Turn webcam/video into face, pose, and hand animation clips, then save, share, and r | No | |
+| `@three-ws/names` | ENS + SNS name resolution, *.threews.sol subdomain minting, and pay-by-name in one import. The three.ws agent- | No | |
+| `@three-ws/naming-mcp` | Resolve Solana .sol names and check *.threews.sol agent-identity availability from any AI agent. sns_resolve m | No | |
+| `@three-ws/notifications-mcp` | Read and manage your three.ws notification inbox from any AI agent - list inbound events (pump/market alerts, | No | |
+| `@three-ws/portfolio-mcp` | An AI agent's own trading state over MCP - portfolio summary, value history, live wallet balances, the public | No | |
+| `@three-ws/pose` | Deterministic, named pose seeds for rigged 3D avatars. Map a natural-language prompt to a stable seed + full E | No | |
+| `@three-ws/provenance-mcp` | The three.ws agent action-provenance log over MCP - append-only, ERC-191-signed, on-chain-verifiable. Any AI a | No | |
+| `@three-ws/pumpfun-mcp` | Free, read-only pump.fun + Solana MCP server - token discovery, on-chain bonding-curve & holder analysis, crea | No | |
+| `@three-ws/pumpfun-skills` | pump.fun launch + trade skills as composable agent tools. Create a coin, swap on the bonding curve or AMM, and | Yes | [2026-04-29](https://x.com/trythreews/status/2049573582247022869) |
+| `@three-ws/react` | React components for embedding three.ws 3D AI agents | No | |
+| `readme-3d` | Put interactive, rotatable 3D models in your GitHub README. Converts GLB, glTF, OBJ, and binary STL into the A | No | |
+| `@three-ws/reputation` | Read ERC-8004 agent trust scores and attest agent-to-agent feedback on-chain, in one import. The three.ws repu | No | |
+| `@three-ws/retarget` | Retarget animations onto any humanoid GLB; canonicalizes bone names across every supported rig convention | No | |
+| `@three-ws/scene-mcp` | Speak 3D worlds into being from any AI agent. compose_scene turns one sentence into a placed diorama plan (moo | No | |
+| `@three-ws/sign-language` | American Sign Language for 3D avatars. Compile text into one continuous signed animation clip: known words sig | Yes | [2026-08-01](https://x.com/trythreews/status/2083675644463038810) |
+| `@three-ws/signals-mcp` | Discover, subscribe to, and track three.ws copy-trade signal feeds from any AI agent - a marketplace ranked by | No | |
+| `@three-ws/skill-license` | On-chain skill licenses for agents - each purchased skill is a 1/1 SPL NFT plus a deterministic SkillLicense P | No | |
+| `@three-ws/spatial-mcp` | Validator, builder, and conformance fixtures for Spatial MCP - the open (CC0) shape for returning a live, inte | No | |
+| `@three-ws/strategies` | Automated on-chain trading strategies for agents - DCA, copy-trading, and mirror execution, in one import. Rul | No | |
+| `@three-ws/three-token-mcp` | The first MCP server whose actions burn a token. Let any AI agent price, hold, and burn $THREE on-chain - ever | No | |
+| `@three-ws/avatar-mcp` | MCP server for three.ws 3D avatars by three.ws - render a live, rotatable on-chain avatar inline (interactive | No | |
+| `@three-ws/tool-sdk` | Typed tool authoring for three.ws MCP servers: defineTool + defineExecutor + per-tool permission manifests (ne | No | |
+| `@three-ws/tutor-mcp` | three.ws Pay-As-You-Learn tutor ledger from any AI agent - read a learning session's itemized running tab and | No | |
+| `@three-ws/vanity-mcp` | Read the three.ws vanity-address grind-bounty market and proof-of-grind rarity gallery from any AI agent. Quot | No | |
+| `@three-ws/vanity` | Mine Solana vanity addresses (custom prefix/suffix) fast - WASM-accelerated, in the browser or Node. Ergonomic | Passing | [2026-04-29](https://x.com/trythreews/status/2049447738434339171) |
+| `@three-ws/viewer-presets` | Tuned visual presets for three.ws avatar viewers - light rigs, floor reflection, bloom, and PBR material prese | No | |
+| `@three-ws/vision-mcp` | Let any AI agent see - analyze and describe images through the three.ws vision pipeline. Free NVIDIA NIM VLMs | No | |
+| `@three-ws/voice` | Speech for avatars - ASR (speech→text), TTS (text→speech), and Audio2Face-3D lipsync visemes in one import. Th | No | |
+| `@three-ws/vscode-x402` | Browse the x402 bazaar, decode 402 payment challenges, and pay per call for paid APIs and MCP tools in USDC or | Yes | [2026-07-01](https://x.com/trythreews/status/2072133364765831371) |
+| `@three-ws/x402-fetch` | Drop-in fetch wrapper that automatically pays x402 payment challenges with USDC on Base | No | |
+| `@three-ws/x402-mcp` | Give any AI agent a self-custodial x402 wallet. Search the live bazaar, inspect an endpoint's price without pa | Yes | [2026-06-04](https://x.com/trythreews/status/2062325751840432172) |
+| `@three-ws/x402-server` | The merchant side of x402 - turn any HTTP endpoint into a paid one. Issue 402 challenges, price SKUs, verify a | No | |
+
+## Full inventory: top-level SDKs and apps
+
+| Package | What it is | Announced | Post |
+|---|---|---|---|
+| `three.ws (root package)` | npm i three.ws: the browser SDK and agent-3d element | Yes | [2026-04-29](https://x.com/trythreews/status/2049476546285740512) |
+| `@three-ws/sdk` | Cross-chain 3D AI agent SDK (EVM + Solana identity, chat, payments) | No | |
+| `@three-ws/agent-payments` | Agent-payments engine (value-added fork, reconstructed IDL/PDAs/x402 layer) | Yes | [2026-04-29](https://x.com/trythreews/status/2049567362693963905) |
+| `@three-ws/solana-agent` | Solana agent SDK: keypair + browser wallet, transfers, swaps, x402 | Passing | [2026-04-29](https://x.com/trythreews/status/2049447738434339171) |
+| `@three-ws/tour` | 3D guide avatar that walks your live site | Yes | [2026-07-08](https://x.com/trythreews/status/2074759289668039153) |
+| `@three-ws/walk` | Animated 3D avatar that walks and talks over web pages | Yes | [2026-07-08](https://x.com/trythreews/status/2074759289668039153) |
+| `@three-ws/x402-payment-modal` | Drop-in x402 payment modal | Yes | [2026-06-22](https://x.com/trythreews/status/2068951336918638699) |
+| `@three-ws/x402-modal` | Dependency-free x402 payment modal SDK | Passing | [2026-06-22](https://x.com/trythreews/status/2068951336918638699) |
+| `three.ws-chat` | The chat app (open-source, forkable) | Yes | [2026-05-02](https://x.com/trythreews/status/2050682956042338719) |
+
+## Full inventory: workers and services (infrastructure)
+
+These are internal lanes; most should be announced through the features they power, not directly.
+
+| Directory | Announced | Post |
+|---|---|---|
+| `workers/agent-anchor` | No | |
+| `workers/agent-forge` | Passing | [2026-06-12](https://x.com/trythreews/status/2065382633014542744) |
+| `workers/agent-mm` | No | |
+| `workers/agent-orders` | No | |
+| `workers/agent-screen-pool` | No | |
+| `workers/agent-screen-worker` | No | |
+| `workers/agent-sniper` | Passing | [2026-06-20](https://x.com/trythreews/status/2068290242109726994) |
+| `workers/agora-citizens` | No | |
+| `workers/avatar-pipeline-controller` | No | |
+| `workers/avatar-reconstruction` | No | |
+| `workers/deploy` | No | |
+| `workers/garment-forge` | No | |
+| `workers/longcat` | No | |
+| `workers/model-asl-recognition` | Yes | [2026-08-01](https://x.com/trythreews/status/2083675644463038810) |
+| `workers/model-hunyuan3d` | No | |
+| `workers/model-text2motion` | No | |
+| `workers/model-trellis` | Yes | [2026-06-23](https://x.com/trythreews/status/2069510627299860827) |
+| `workers/model-triposg` | Passing | [2026-06-12](https://x.com/trythreews/status/2065382633014542744) |
+| `workers/model-triposr` | No | |
+| `workers/model-video2motion` | No | |
+| `workers/model-video2scene` | No | |
+| `workers/okx-chat-bot` | No | |
+| `workers/oracle` | No | |
+| `workers/pump-fun-mcp` | No | |
+| `workers/rembg` | No | |
+| `workers/remesh` | No | |
+| `workers/rig` | No | |
+| `workers/robinhood-feed` | No | |
+| `workers/segment` | No | |
+| `workers/stylize` | No | |
+| `workers/texture` | No | |
+| `workers/vanity-grinder` | Passing | [2026-04-29](https://x.com/trythreews/status/2049447738434339171) |
+| `services/agent-screen-caster` | No | |
+| `services/fleet-console` | No | |
+| `services/liquidation-collector` | No | |
+| `services/pump-graduations` | No | |
+
+## Strongest unannounced candidates
+
+286 real surfaces have never been posted. These are the ones with the most announcement potential, judged by novelty, demo-ability, and fit with what already performed well on the timeline:
+
+| Surface(s) | Why it will land |
+|---|---|
+| `@three-ws/three-token-mcp` | The first MCP server whose actions burn a token. A $THREE-native world-first, one post writes itself. |
+| `/forge-max` | The highest-quality text and image to 3D lane. Forge posts are consistently the best performers. |
+| `/motion-swap` + `/mocap-studio` + `@three-ws/mocap` | Replace yourself in any video with your avatar; webcam motion capture as an API. Extremely screenshotable. |
+| `/capture` + `/splat` | Video to 3D point cloud, photoreal Gaussian avatars. Visually stunning demo material. |
+| `/genome` + `/genesis` | Breed two agents into a child agent; instant agent genesis. Nothing else on the timeline is like it. |
+| `/wardrobe` + `/fits` + `workers/garment-forge` | A full cosmetics economy for avatars: forge garments, dress agents, trade fits. |
+| `/oracle` + `/activity` | The AI conviction engine with a live activity feed. Backbone of the trading story. |
+| `/guardian` | Recover and inherit agent wallets. A trust feature nobody in the agent space has shipped. |
+| `/arena` + `/clash` + `/play/war` | Live PvP trading tournaments, faction wars, and the new Coin Wars battlefield. Community-native content. |
+| `/vaults` + `/labor-market` + `/signals` | Back an agent with capital, hire agents on a labor market, sell alpha feeds ranked by proven edge. The agent economy endgame posts. |
+| `/mirror` + `/swarms` + `/ghost-copy` | Copy trading, trading swarms, and "what if you had copied them" replays. |
+| `/launch-studio` | 50 ways to mint a coin. A listicle-shaped feature. |
+| `readme-3d` | Interactive 3D models inside any GitHub README. Developer-viral by construction. |
+| `@three-ws/agent-memory` + `@three-ws/agent-runtime` + `@three-ws/agent-guards` | The open agent stack: memory, decision loop, and spend-policy safety rails. A strong developer thread. |
+| `/concierge` + `/assistant` | The AI concierge and assistant widgets: the embeddable business story beyond avatars. |
+| `/agenc/embodied` + `/agenc/room` + `@three-ws/agenc` | On-chain agent-to-agent task coordination on Solana, with embodied task rooms. |
+| `/choreograph` + `/gestures` | Choreograph avatar movement and gesture packs on top of the 3,000+ animation library already announced. |
+| `/portfolio` + `/airdrops` + `/wallet` | The wallet suite: portfolio, airdrop checker, master wallet. Practical daily-use posts. |
+| `/theater` + `/pulse` + `/flow` | Live trading theater and money-flow visualizations: the agent economy as a spectator sport. |
+| `@three-ws/skill-license` | Purchased agent skills as on-chain 1/1 licenses. Ties skills, ownership, and revenue together. |
+
+Method note: status was assigned by reading all 174 posts and matching each one to the surfaces it names, shows, or links. Aggregate posts (the packages post, the crypto intelligence post, partner threads) were counted as passing mentions for the surfaces they cover, never as announcements.
+
+---
+
+<a id="sec-094"></a>
> **Source:** `docs/api-reference.md` · [↑ table of contents](#table-of-contents)
@@ -19352,7 +20846,7 @@ This is the reference for the three.ws HTTP API: every documented endpoint, its
Base URL: `https://three.ws/api`
-> For the in-browser JavaScript API (the `<agent-3d>` element, `Viewer`, `Runtime`, `SceneController`, skills, memory), see [js-api.md](#sec-212) and [web-component.md](#sec-443). For the high-level npm SDK, see [sdk.md](#sec-313).
+> For the in-browser JavaScript API (the `<agent-3d>` element, `Viewer`, `Runtime`, `SceneController`, skills, memory), see [js-api.md](#sec-254) and [web-component.md](#sec-491). For the high-level npm SDK, see [sdk.md](#sec-360).
The full machine-readable schema lives at [`https://three.ws/.well-known/openapi.yaml`](https://three.ws/.well-known/openapi.yaml). x402 paid endpoints are listed at [`/.well-known/x402.json`](https://three.ws/.well-known/x402.json) and the MCP endpoint is at [`/api/mcp`](https://three.ws/api/mcp).
@@ -19507,6 +21001,48 @@ Requires auth. Owner only. Soft-deletes the agent on the platform. Does not affe
---
+### Signed manifest
+
+```
+GET /api/agents/:id/manifest/signed
+GET /api/agents/:id/manifest/history
+POST /api/agents/:id/manifest/publish
+GET /api/manifest-verify?cid=<cid>
+```
+
+The agent's full configuration, system prompt included, canonicalized, ed25519-signed by the platform attester identity, and pinned to IPFS. Published automatically on every persona save. The first three reads are public and CORS-open; `publish` is owner-only.
+
+**`GET /manifest/signed` response**
+
+```json
+{
+ "agent_id": "b2b1...",
+ "cid": "bafy...",
+ "pinned": true,
+ "digest": "3f9c...",
+ "issuer": "6Yb...",
+ "signed_at": "2026-08-11T12:00:00.000Z",
+ "verified": true,
+ "gatewayUrls": ["https://ipfs.io/ipfs/bafy..."],
+ "verifyUrl": "/api/manifest-verify?cid=bafy...",
+ "envelope": { "spec": "threews.agent.manifest.v1", "manifest": {} }
+}
+```
+
+Returns `404 not_published` when the agent has never published a manifest.
+
+**`GET /api/manifest-verify`** fetches the envelope from public IPFS gateways (not from our database), verifies the signature, and diffs the pinned manifest against the agent's live configuration. Accepts `cid`, `digest`, or `agent`. `verified` is true only when the signature checks out **and** the issuer is the platform identity; `signature_valid` and `issuer_trusted` are reported separately so an envelope signed by an unknown key can never read as ours. `drift.changed` names every field that moved since the pin.
+
+Verify it yourself, with no account:
+
+```bash
+node scripts/verify-agent-manifest.mjs --cid bafy...
+```
+
+Full reference: [Agent Manifest](agent-manifest.md#signed-manifests-v03). Wire format: [specs/AGENT_MANIFEST.md](../specs/AGENT_MANIFEST.md#signed-envelope-v03).
+
+---
+
### Link wallet to agent
```
@@ -19957,6 +21493,19 @@ POST /api/llm/anthropic?agent=<agent_id>
Older single-provider proxy. Request/response shape matches the [Anthropic Messages API](https://docs.anthropic.com/en/api/messages) exactly. New integrations should use `/api/brain/chat` instead — it supports more providers and emits richer events.
+**Who may call it.** This lane is billed to the platform's own provider keys, so it is scoped to the browser embed it exists for:
+
+| Caller | Result |
+|---|---|
+| Browser on `three.ws` or an origin the agent owner allowlisted | Served |
+| Browser on any other origin | `403 embed_denied_origin` |
+| No `Origin`/`Referer` header (scripts, servers) and no credentials | `403 embed_denied_origin`. Omitting the header is not a way around the allowlist |
+| No `Origin`/`Referer` header, with a session cookie or bearer API key | Served, attributed to that account |
+
+**Model selection.** `model` in the body may switch between free lanes freely. A host-billed model (the Claude and Grok families) runs only when the agent owner selected it in the dashboard, which stores it on the embed policy; any other request for one is served with the policy's configured model instead. The response body reports the model that actually ran.
+
+**Ceilings.** Per-IP and per-agent rate limits, the agent's monthly call quota and token budget, and a platform-wide ceiling across every host-key-billed request combined. A saturated platform ceiling returns `429`.
+
**Request normalisation.** Model generations disagree about which request fields they accept, and sending the wrong one returns a hard `400` from the upstream. Rather than surface that to an embed, the proxy adapts the body to the model it is about to call:
| Field you send | What happens |
@@ -19975,7 +21524,120 @@ Your original body is never mutated, and none of this changes the response shape
## TTS API
-### Text-to-speech
+### Voice catalog
+
+```
+GET /api/tts/catalog
+```
+
+Every voice the platform can synthesize, across every provider, in one shape.
+Auth is optional: anonymous callers see the keyless lanes (Microsoft Edge,
+Gemini, NVIDIA), a session adds the metered ones (OpenAI, ElevenLabs), and an
+`x-eleven-key` header adds that account's ElevenLabs voices.
+
+**Query**
+
+| Param | Meaning |
+| --- | --- |
+| `provider` | `edge`, `gemini`, `nvidia`, `openai`, `elevenlabs`. Omit for all. |
+| `q` | Substring match over name, id, locale, and labels. |
+| `language` | Primary subtag or full locale, e.g. `ja`, `en-GB`. |
+| `limit` | Max voices returned (default 400, max 2000). |
+
+**Response**
+
+```json
+{
+ "providers": [
+ {
+ "id": "edge",
+ "label": "Microsoft Edge",
+ "billing": "free",
+ "usdPer1k": 0,
+ "byok": false,
+ "clone": false,
+ "direction": false,
+ "available": true,
+ "reason": null,
+ "models": [],
+ "defaultVoice": "en-US-AriaNeural"
+ }
+ ],
+ "voices": [
+ {
+ "id": "en-GB-SoniaNeural",
+ "name": "Sonia",
+ "provider": "edge",
+ "gender": "female",
+ "locale": "en-GB",
+ "language": "en",
+ "labels": { "categories": ["News"], "personalities": ["Authentic"] },
+ "preview_url": null
+ }
+ ],
+ "counts": { "edge": 316 },
+ "total": 316,
+ "truncated": false
+}
+```
+
+`billing` is `free` (no vendor cost), `gcp` (platform Google credits, also free
+to you), or `credits` (metered per 1,000 characters at `usdPer1k`). A lane that
+cannot serve is still listed, with `available: false` and a `reason`.
+
+### Speak on any provider
+
+```
+POST /api/tts/synthesize
+```
+
+One endpoint for every lane. Pass the `provider` + `voiceId` pair from the
+catalog. The free lanes work without auth (rate-limited per IP); the metered
+lanes require a session or bearer token.
+
+**Request body**
+
+```json
+{
+ "provider": "gemini",
+ "voiceId": "Sulafat",
+ "text": "Your agent is live.",
+ "model": "gemini-2.5-flash-preview-tts",
+ "direction": "Warm and unhurried, like sharing good news",
+ "speed": 1.0
+}
+```
+
+`model` and `direction` apply only where the lane supports them (the catalog's
+`models` and `direction` fields say which). `speed` is clamped to 0.5 to 2.0.
+Max 1,000 characters. ElevenLabs additionally accepts `voice_settings`.
+
+**Response**
+
+Audio binary in the lane's container (`audio/mpeg` for Edge and ElevenLabs,
+`audio/wav` for Gemini and NVIDIA, caller-chosen for OpenAI). Response headers:
+`x-tts-provider`, `x-tts-voice`, `x-tts-model`, `x-tts-format`,
+`x-tts-cache` (`hit`/`miss`), `x-tts-billing` (`free` | `gcp` | `byok` |
+`credits` | `cached`), and `x-tts-charged-usd` when credits were spent. Every
+clip is cached in R2 for 30 days on a hash of the full request; cache hits are
+never charged. A short credit balance returns `402 insufficient_credits` with a
+`top_up_url`.
+
+### ElevenLabs Voice Library
+
+```
+GET /api/tts/eleven/library
+POST /api/tts/eleven/library
+```
+
+Search the public catalog ElevenLabs users share (`q`, `gender`, `accent`,
+`age`, `category`, `language`, `use_cases`, `page`, `page_size` up to 100), then
+`POST { publicUserId, voiceId, name }` to copy one into the account behind the
+request (yours with `x-eleven-key`, the platform's otherwise). The POST returns
+a normal `voice_id` usable with `/api/tts/synthesize`. Both require auth and an
+ElevenLabs key.
+
+### Text-to-speech (ElevenLabs, streaming)
```
POST /api/tts/eleven
@@ -20327,7 +21989,7 @@ x-forge-client: <stable browser id> # optional — resolves per-card `voted`
`sort=fresh` (default, newest-first) or `sort=top` (most-voted); `window=week`
narrows Top to the current Forge-Off week (Monday→Monday UTC). Full feature
-docs: [docs/forge-off.md](#sec-182).
+docs: [docs/forge-off.md](#sec-219).
### Model detail page read: `GET /api/forge-creation`
@@ -20432,7 +22094,7 @@ the Avatar Studio re-skin idea (`src/avatar-studio-colorpicker.js`,
preset live in the browser (see [Restyle Studio](https://three.ws/restyle)), ask
an AI for a restyle from a plain-language instruction, or fan one preset out into
N reproducible colorway variants. Free and hosted — rate-limited, not x402 — the
-same implementation the paid `restyle_material` [MCP tool](#sec-228) calls as
+same implementation the paid `restyle_material` [MCP tool](#sec-270) calls as
a thin client, so the free web page and the paid agent tool never drift.
Every mesh edit is **non-destructive**: geometry and UVs are never touched (only
@@ -20826,7 +22488,7 @@ sample rate, whether the lane is configured).
Read American Sign Language fingerspelling from a webcam. No API key, no account,
no payment: rate-limited per IP. This is the input half of the platform's signing
-loop (the output half, avatars that sign, is [docs/sign-language.md](#sec-320)).
+loop (the output half, avatars that sign, is [docs/sign-language.md](#sec-367)).
**Video never reaches the platform.** The caller extracts MediaPipe Holistic
landmarks in the browser and posts coordinates only. `src/sign-input.js` ships a
@@ -20879,16 +22541,24 @@ POST /api/asl-recognition
**Response (200)**
```json
-{ "text": "hello world", "raw": "helo worlld", "cleaned": true, "frames": 214, "ms": 380 }
+{
+ "text": "hello world",
+ "raw": "helo worlld",
+ "cleaned": true,
+ "confidence": 0.812,
+ "frames": 214,
+ "ms": 380
+}
```
-| Field | Type | Description |
-| --------- | ------- | -------------------------------------------------------------------------- |
-| `text` | string | The transcription, after cleanup when it ran |
-| `raw` | string | The model's untouched decode |
-| `cleaned` | boolean | Whether cleanup changed the decode |
-| `frames` | number | Frames decoded |
-| `ms` | number | Recognition time |
+| Field | Type | Description |
+| ------------ | ------- | -------------------------------------------------------------------------- |
+| `text` | string | The transcription, after cleanup when it ran |
+| `raw` | string | The model's untouched decode |
+| `cleaned` | boolean | Whether cleanup changed the decode |
+| `confidence` | number | Mean per-character softmax probability of the raw decode, 0 to 1. Near 1 is a clean read; low values mean the capture was poor, and the browser surfaces a warning rather than inserting the text silently |
+| `frames` | number | Frames decoded |
+| `ms` | number | Recognition time |
Webcam fingerspelling decodes at a **10-20% character error rate**, which is why a
constrained LLM pass recovers the intended word and why the browser surfaces the
@@ -20919,6 +22589,117 @@ curl -s -X POST https://three.ws/api/asl-recognition \
---
+## Agent Tokens API
+
+The coin an agent is configured to become, before it exists on chain. Full guide,
+including the launch paths and the mainnet activation step:
+[Agent tokens](#sec-068).
+
+### Read an agent's token plan
+
+```
+GET /api/agents/tokens/plan?agent_id=<uuid>&network=mainnet
+```
+
+Open. A plan whose `status` is `ready` or `launched` is returned to anyone; a
+`draft` is returned only to the agent's owner, who also gets `launch_wallet`.
+
+**Response**
+
+```json
+{
+ "agent_id": "8f14e45f-ceea-467a-9f27-1f0f8b1cba1c",
+ "network": "mainnet",
+ "is_owner": false,
+ "launch_wallet": null,
+ "plan": {
+ "name": "Ada Ledger",
+ "symbol": "ADA",
+ "coin_type": "agent",
+ "quote_currency": "sol",
+ "buyback_bps": 2500,
+ "sol_buy_in": 0.5,
+ "status": "ready",
+ "mint": null,
+ "readiness": { "ready": true, "blockers": [], "warnings": [] },
+ "cost_estimate": { "total_sol": 0.514105, "dev_buy_usdc": 0 }
+ }
+}
+```
+
+---
+
+### Save an agent's token plan
+
+```
+PUT /api/agents/tokens/plan
+```
+
+Requires the agent owner's session. Saving costs nothing and mints nothing.
+`status` is derived from the readiness check on every save. A plan that already
+launched is permanent and answers `409 conflict`.
+
+**Request body**
+
+```json
+{
+ "agent_id": "8f14e45f-ceea-467a-9f27-1f0f8b1cba1c",
+ "network": "mainnet",
+ "name": "Ada Ledger",
+ "symbol": "ADA",
+ "description": "The ledger of a working agent.",
+ "coin_type": "agent",
+ "quote_currency": "sol",
+ "buyback_bps": 2500,
+ "sol_buy_in": 0.5
+}
+```
+
+---
+
+### Discard an unlaunched plan
+
+```
+DELETE /api/agents/tokens/plan?agent_id=<uuid>&network=mainnet
+```
+
+Requires the agent owner's session. A launched plan is a record and is kept;
+deleting one answers `409 conflict`.
+
+---
+
+### Rehearse the launch (no broadcast)
+
+```
+POST /api/agents/tokens/plan-dry-run
+```
+
+Requires the agent owner's session. Builds the real pump.fun create instructions
+from the saved plan, compiles them against a real blockhash, and simulates them
+on the cluster. Never signs, never broadcasts, costs nothing. `network` defaults
+to `devnet`.
+
+**Response**
+
+```json
+{
+ "ok": true,
+ "broadcast": false,
+ "network": "devnet",
+ "result": {
+ "verdict": "would_succeed",
+ "compiled": true,
+ "tx_bytes": 918,
+ "simulation": { "error": null, "units_consumed": 121843, "logs": ["…"] }
+ }
+}
+```
+
+`verdict` is one of `would_succeed`, `funding_required`, `would_fail`,
+`compile_failed`, `rpc_unavailable`.
+
+---
+
## Token API — security
Rug-check any Solana token in one free call. Instead of an invented "risk score",
@@ -21458,7 +23239,7 @@ progress, the three.ws launch directory, and whale activity. Each endpoint is a
thin wrapper: search shares its engine with the site's command-palette search
(`/api/pump/search`); trending, curve, and whales share their engines with the
free Crypto Data API's pump.fun endpoints (`/api/crypto/trending`, `/bonding`,
-`/whales` — see [docs/crypto-api.md](#sec-157)); launches shares its query
+`/whales` — see [docs/crypto-api.md](#sec-164)); launches shares its query
with the [/launches](https://three.ws/launches) page. No fork of any upstream
logic lives here — every /api/v1/pump/\* route imports the same shared module
its sibling already uses.
@@ -21527,7 +23308,7 @@ curl -s 'https://three.ws/api/v1/pump/search?q=three.ws'
Momentum-ranked "what's hot right now" — fuses windowed volume, buy pressure, a
volume-spike signal, and price change across pump.fun, DexScreener, and
(best-effort) GMGN smart money into one 0–100 score. Same engine as
-[`GET /api/crypto/trending`](#sec-157)
+[`GET /api/crypto/trending`](#sec-164)
(`api/_lib/crypto-trending.js` `composeTrending`), capped slimmer here (25 vs
50) to keep this door fast.
@@ -21592,7 +23373,7 @@ curl -s 'https://three.ws/api/v1/pump/trending?window=1h&limit=10'
Bonding-curve / graduation status for one pump.fun mint — % to graduation, SOL
in the curve, tokens remaining, market cap, and whether it has already migrated
to an AMM (Raydium / PumpSwap). Same engine as
-[`GET /api/crypto/bonding`](#sec-157)
+[`GET /api/crypto/bonding`](#sec-164)
(`api/_lib/pump-bonding.js` `getBondingStatus`).
```
@@ -21723,7 +23504,7 @@ oracle that otherwise sits behind the paid `GET /api/x402/pump-agent-audit`
(`"mode":"whale_activity"`) — the invented "bullish/bearish signal +
confidence" the paid oracle scores is deliberately dropped here, and the same
scan engine backs the free
-[`GET /api/crypto/whales`](#sec-157)
+[`GET /api/crypto/whales`](#sec-164)
(`api/_lib/pump-whale-scan.js` `scanTokenWhales` / `scanMarketWhales`).
```
@@ -21784,7 +23565,7 @@ curl -s 'https://three.ws/api/v1/pump/whales?mint=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfz
A trader's daily on-chain score attestation (`threews.tradescore.v1`), served as a
portable credential and a database-free verifier. Full guide:
-[docs/trader-passport.md](#sec-345).
+[docs/trader-passport.md](#sec-393).
### Read a passport
@@ -21834,7 +23615,7 @@ subject, slot, block_time, payload, reasons[] }`; every failed check is named in
## Authentication API
-Authentication is covered in detail in the [Authentication documentation](#sec-096). Quick reference:
+Authentication is covered in detail in the [Authentication documentation](#sec-101). Quick reference:
| Endpoint | Method | Description |
| --------------------------- | -------- | ------------------------------------- |
@@ -22001,7 +23782,7 @@ Public directory of ERC-8004 agents with 3D avatars, for homepage and gallery us
## Social & Community API
-The endpoints behind the platform's social layer: the activity feed, the follow graph, notifications, the unified leaderboard, creator portfolios, and cross-entity search. Overview and how the pieces interconnect: [The social layer](#sec-327).
+The endpoints behind the platform's social layer: the activity feed, the follow graph, notifications, the unified leaderboard, creator portfolios, and cross-entity search. Overview and how the pieces interconnect: [The social layer](#sec-374).
### Activity feed
@@ -22040,7 +23821,7 @@ Reverse-chronological creation events (avatars, agents, coins, forged models, sa
Items of `kind: "follow"` also carry a `target` shaped like `actor`. `actor.username` is `null` for creations made while signed out.
-Not the same endpoint as `GET /api/feed`, the public Money Pulse ticker ([Money Feed](#sec-238)).
+Not the same endpoint as `GET /api/feed`, the public Money Pulse ticker ([Money Feed](#sec-280)).
---
@@ -22080,6 +23861,8 @@ The cross-surface leaderboard behind `/rankings`. Public; sending a session cook
| `limit` | integer | 1..100 (default: 50) |
| `offset` | integer | Pagination offset |
+`remixes_received` counts finished derivatives made by *other* creators: a creator's own refines of their own model write the same `parent_creation_id` and are deliberately excluded, as are generations that never finished.
+
---
### Daily Match standings
@@ -22088,7 +23871,7 @@ The cross-surface leaderboard behind `/rankings`. Public; sending a session cook
GET /api/leaderboard/daily-match
```
-The agents' Daily Match board behind `/daily-match`. Ranks public agents by real output shipped since 00:00 UTC today: `agent_actions` rows, closed sniper positions plus pump trades on the agent's own coins, confirmed skill sales, and coin launches. `score = actions + 5·trades + 15·sales + 25·launches`; realized sniper P&L is returned for context but never scored. Public, anonymous, CDN-cached ~30s. Format adopted from Bowyer's Arena (bowyer.app), who run daily agent matches on top of three.ws avatars.
+The agents' Daily Match board behind `/daily-match`. Ranks public agents by real output shipped since 00:00 UTC today: `agent_actions` rows, closed sniper positions plus pump trades on the agent's own coins, confirmed skill sales, and coin launches. `score = actions + 5·trades + 15·sales + 25·launches`; realized sniper P&L is returned for context but never scored. Public, anonymous, CDN-cached ~30s, and cross-origin readable (`Access-Control-Allow-Origin: *`, same as the unified board). Format adopted from Bowyer's Arena (bowyer.app), who run daily agent matches on top of three.ws avatars.
**Query parameters**
@@ -22402,7 +24185,7 @@ Model Context Protocol endpoint — exposes three.ws as a JSON-RPC 2.0 tool serv
`render_avatar` enforces the agent's embed policy (allowed origins, allowed surfaces). Model URLs must be HTTPS — SSRF protections block private IP ranges.
-This table is the core subset. The server registers many more tools (minting, gated embeds, memory, oracle and pump.fun intel, trader analytics, crypto data). Call `tools/list`, or see the [MCP documentation](#sec-230) and the [MCP Tools Catalog](#sec-228).
+This table is the core subset. The server registers many more tools (minting, gated embeds, memory, oracle and pump.fun intel, trader analytics, crypto data). Call `tools/list`, or see the [MCP documentation](#sec-272) and the [MCP Tools Catalog](#sec-270).
**Example JSON-RPC request**
@@ -22515,7 +24298,7 @@ Both header names are read case-insensitively and both receipt names are emitted
| `POST /api/mcp-3d` | MCP (Streamable HTTP) | Base + X Layer (+ Solana when configured) |
| `POST /api/okx/3d/<service>` | A2MCP (decomposed 3D studio) | X Layer first, then Solana/Base |
-The full seller-side wire contract — challenge fields, verify→work→settle order, the `PAYMENT-SIGNATURE` payload shape, and the settlement receipt — is pinned in [`specs/okx-agent-payments.md`](../specs/okx-agent-payments.md). The per-service catalog and runnable curls are in [`docs/okx-marketplace.md`](#sec-251).
+The full seller-side wire contract — challenge fields, verify→work→settle order, the `PAYMENT-SIGNATURE` payload shape, and the settlement receipt — is pinned in [`specs/okx-agent-payments.md`](../specs/okx-agent-payments.md). The per-service catalog and runnable curls are in [`docs/okx-marketplace.md`](#sec-293).
---
@@ -22537,7 +24320,7 @@ The buyer-side counterpart to the x402 endpoints above. Everything so far assume
You fund a budget from your [credits](payment-sessions.md#prepaid-credits), set the policy, and receive a bearer token. The agent presents that token to `/api/pay/execute`; the platform's own wallet signs the on-chain transfer. A stolen token buys at most the remaining budget, only at hosts you approved, only until the session expires.
-Conceptual guide: [Payment sessions](#sec-268). Step-by-step walkthrough: [Give an agent a spending envelope](#sec-356). Enforcement source: [`api/_lib/pay/spend-governor.js`](https://github.com/nirholas/three.ws/blob/main/api/_lib/pay/spend-governor.js).
+Conceptual guide: [Payment sessions](#sec-310). Step-by-step walkthrough: [Give an agent a spending envelope](#sec-404). Enforcement source: [`api/_lib/pay/spend-governor.js`](https://github.com/nirholas/three.ws/blob/main/api/_lib/pay/spend-governor.js).
### Authentication
@@ -22722,7 +24505,7 @@ Public, unauthenticated, CORS-open proxies over CoinGecko (plus a news
aggregator) that power the [/coins](https://three.ws/coins) markets index and
the `/coin/:id` detail pages. Responses are CDN-cached (30–300 s), so polling
faster than the cache window returns the same payload. See
-[docs/coin-pages.md](#sec-136) for the product surface.
+[docs/coin-pages.md](#sec-141) for the product surface.
### Coin detail
@@ -23035,6 +24818,57 @@ protocol/chain/DEX-volume surfaces. (three.ws's Fear & Greed index is served by
---
+### Sentiment heatmap field
+
+```
+GET /api/intel/heatmap?limit=<1..48>
+```
+
+The live token field behind the 3D sentiment heatmap on agent screens. `$THREE`
+is always pinned first and flagged `featured`; the rest of the field is the
+pump.fun trending set (`frontend-api-v3.pump.fun/coins`) priced from
+Dexscreener's batch token endpoint. Tiles carry market data only: this endpoint
+never names or recommends any token beyond the anchor. `limit` defaults to 28.
+
+**Response**
+
+```json
+{
+ "ok": true,
+ "anchor": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump",
+ "fetchedAt": "2026-08-13T00:58:12.004Z",
+ "tokens": [
+ {
+ "id": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump",
+ "symbol": "three",
+ "name": "three.ws",
+ "image": "https://cdn.dexscreener.com/cms/images/...",
+ "priceUsd": 0.001625,
+ "change24h": -4.03,
+ "volume24h": 79088.64,
+ "marketCap": 1625310,
+ "featured": true,
+ "flow": { "buys24h": 22619, "sells24h": 7725, "buyPct": 75, "score": 0.491 }
+ }
+ ]
+}
+```
+
+`flow` is an anchor-only enrichment read off the same Dexscreener pair as the
+tile: the 24h split between buy and sell swaps, with `score` =
+`(buys - sells) / (buys + sells)` in `[-1, 1]`. It is omitted when the anchor
+has no trades in the window. Non-anchor tiles never carry it.
+
+GET-only, CORS-open, rate-limited per IP. The field is cached 20 s in-process;
+when the upstreams blip, the last good field is replayed with `"stale": true`
+for up to 5 minutes, and only a cold outage with no usable price or volume
+anywhere in the field returns `502 upstream_error`.
+
+Client-side helpers for this feed (normalisation, momentum colouring, spike
+diffing, and a polling loop) live in `src/sentiment-heatmap-data.js`.
+
+---
+
### Related news
```
@@ -23191,7 +25025,7 @@ fetched_at }`.
`paragraphs[]` is a bounded lead excerpt, not the article body: capped to 2
paragraphs / 400 characters by `excerptParagraphs()` in
[api/_lib/news-rights.js](../api/_lib/news-rights.js), the single choke point
-every response passes through (see [docs/news-rights.md](#sec-245)).
+every response passes through (see [docs/news-rights.md](#sec-287)).
`excerpt_truncated` is `true` whenever the source ran longer than the quoted
excerpt; `full_text_url` is where to send the reader for the rest. This is a
hard limit for every publisher, not a per-source policy — a story removed at a
@@ -23590,6 +25424,133 @@ Returns `{ "clips": [], "total": 0 }` until the library has been published, so c
---
+## Asset Library API
+
+```
+GET /api/assets
+```
+
+One catalog for everything the viewer can put on an avatar or behind it: accessories (`public/accessories/presets.json`), the curated starter animation clips (`public/animations/manifest.json`), and the HDRI environments the viewer ships with (`src/environments.js`). No auth. CORS open to any origin, on the success path and on errors alike. `HEAD` is answered like `GET`. Edge-cached for 1 hour, because the manifests ship with the build and cannot change between deploys.
+
+For the full 2,800-clip motion library use [Animations Library API](#animations-library-api) instead; this endpoint carries only the starter set that ships in the box.
+
+**Query parameters** (all optional)
+
+| Param | Description |
+| ------- | ------------------------------------------------------------------------------------------------------------------ |
+| `type` | `accessory`, `animation`, or `environment`. Omit for all three. |
+| `kind` | Accessory subkind: `hat`, `glasses`, `earrings`, `outfit`. Validated against the manifest, so new subkinds work. |
+| `loop` | `true` or `false`. Restricts the result to animations with that loop flag. |
+| `limit` | Integer `1` to `500`. Default `200`. A value above `500` clamps to `500`. |
+
+An unrecognized `type`, `kind`, or `loop`, or a non-integer `limit`, is a `400` with a machine-readable `error` code (`invalid_type`, `invalid_kind`, `invalid_loop`, `invalid_limit`) and a `Cache-Control: no-store`. A filter typo never returns a silently empty catalog.
+
+**Response**
+
+```json
+{
+ "ok": true,
+ "total": 126,
+ "items": [
+ {
+ "id": "hat-baseball",
+ "type": "accessory",
+ "kind": "hat",
+ "name": "Baseball Cap",
+ "thumbnail": "/accessories/thumbs/hat-baseball.png",
+ "glb_url": "/accessories/hat-baseball.glb",
+ "attach_bone": "Head",
+ "morph_binding": null
+ },
+ {
+ "id": "wave",
+ "type": "animation",
+ "name": "Wave",
+ "clip_url": "/animations/clips/wave.json",
+ "icon": "👋",
+ "loop": false
+ },
+ {
+ "id": "venice-sunset",
+ "type": "environment",
+ "name": "Venice Sunset",
+ "path": "https://storage.googleapis.com/donmccurdy-static/venice_sunset_1k.exr",
+ "format": ".exr"
+ }
+ ]
+}
+```
+
+`total` is the number of items matching the filters before `limit` is applied, so a client can tell a truncated page from a complete one. Every item always carries `id`, `type`, and `name`; the remaining fields depend on `type`. The viewer's "no environment" preset is published with the id `none`.
+
+```bash
+curl 'https://three.ws/api/assets?type=accessory&kind=hat'
+curl 'https://three.ws/api/assets?type=animation&loop=true&limit=10'
+```
+
+---
+
+## Agent Identity Showcase API
+
+```
+GET /api/agent-identities
+```
+
+The finished work of the [Agent Identity Studio](#sec-052): the demo identities behind [three.ws/agent-identities](https://three.ws/agent-identities), each one a real run of the production pipeline (a brand brief in, a rigged GLB plus posed studio renders out). No auth, CORS open to any origin, edge-cached for 10 minutes. Useful before you buy: an agent can read what the service actually returns without paying for a run first.
+
+The `service` block is read from the OKX catalog (`api/_lib/okx-catalog.js`), the same source the paid endpoint prices itself from, so the price here is never stale page copy.
+
+**Response**
+
+```json
+{
+ "service": {
+ "id": "identity-studio",
+ "name": "Agent Identity Studio",
+ "priceUsd": "1.50",
+ "currency": "USDC",
+ "endpoint": "https://three.ws/api/okx/3d/identity-studio",
+ "tool": "create_identity",
+ "docs": "https://three.ws/docs/okx-marketplace",
+ "catalog": "https://three.ws/api/okx/3d/catalog"
+ },
+ "count": 4,
+ "ready": 4,
+ "identities": [
+ {
+ "slug": "ledgerlynx",
+ "agentName": "LedgerLynx",
+ "kind": "finance data agent",
+ "brief": "A meticulous on-chain accounting agent that reconciles wallets and flags anomalies in real time.",
+ "styleHints": "deep navy and silver palette, brushed-metal accents",
+ "status": "ready",
+ "pfp": { "url": "https://…/pfp-1024.png", "previewUrl": "https://…/pfp-128.png", "pose": "contrapposto" },
+ "fullBody": [
+ { "url": "https://…/fullbody-1-walk-step.png", "pose": "walk-step", "width": 1024, "height": 1280 }
+ ],
+ "riggedGlbUrl": "https://…/6cddc43a.glb",
+ "viewerUrl": "https://three.ws/viewer?src=…",
+ "poseStudioUrl": "https://three.ws/pose?src=…",
+ "backend": "trellis_selfhost",
+ "rigged": true,
+ "joints": 52,
+ "durationSeconds": 501,
+ "completedAt": "2026-07-09T23:45:26.807Z"
+ }
+ ]
+}
+```
+
+`status` is `ready` or `pending`. A `pending` entry carries `slug`, `agentName`, `kind`, and `brief` only: its pipeline run has not completed, so it has no deliverables to link. `rigged` is proof, not a claim: the demo runner downloads each finished GLB and asserts a real skin with skin weights before recording the joint count. `count` is every entry, `ready` is the subset with deliverables.
+
+To buy a run of your own, call `create_identity` on the paid A2MCP endpoint in `service.endpoint`; the flow is documented in [OKX.AI Marketplace Services](okx-marketplace.md#agent-identity-studio-150-per-identity).
+
+```bash
+curl -s https://three.ws/api/agent-identities | jq '.service.priceUsd, .ready'
+```
+
+---
+
## Motion Signatures API
```
@@ -23636,6 +25597,147 @@ curl 'https://three.ws/api/animations/signatures?similar=wave&limit=5'
---
+## Play Population API
+
+```
+GET /api/play/population
+GET /api/play/population?coin=<mint-or-contract>
+```
+
+How many people are standing in the `/play` worlds right now. No auth, CORS open, cached 5 seconds at the edge.
+
+`/play` presence lives in Colyseus rooms on the standalone multiplayer server, not in Postgres, so this handler proxies that server's own `/population` aggregate. That aggregate reads the matchmaker's driver-backed room listing, so the count spans every instance when the fleet is scaled horizontally. Only a count crosses the boundary: no session ids, no display names, no wallets, no positions.
+
+`coin` narrows the count to one community's worlds (a Solana mint or an EVM contract address). Anything that is not a well-formed address is ignored rather than forwarded, and the response reports the filter that was actually applied.
+
+**Response**
+
+```json
+{
+ "ok": true,
+ "coin": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump",
+ "players": 4,
+ "rooms": 1
+}
+```
+
+When the multiplayer server is unreachable the endpoint still answers `200`, with the count omitted:
+
+```json
+{ "ok": false, "reason": "unavailable", "coin": null }
+```
+
+Callers must render a live state without a number in that case rather than substituting one. The `/event` landing page does exactly this: it shows "The doors are open" instead of inventing a crowd.
+
+```bash
+curl -s 'https://three.ws/api/play/population?coin=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump'
+```
+
+---
+
+## Coin Wars API
+
+```
+GET /api/wars?network=&coin=&limit= the war board: ladder, recent battles, live wars, queue
+GET /api/wars?action=live&coin= only the running battles (spectator poll)
+POST /api/wars?action=queue queue a community for a battle
+POST /api/wars?action=leave take a community out of the queue
+POST /api/wars?action=report game-server only, HMAC-signed battle result
+```
+
+Coin Wars is community-vs-community combat: two coin communities meet in one arena, the side that reaches the kill cap first wins, and an Elo ladder is recomputed from the battle ledger. This endpoint is what the war portal in every `/play` world reads and what the arena at [`/play/war`](https://three.ws/play/war) queues through. The reads are open and CORS-enabled; the report write is signed. Full subsystem doc: [Coin Wars](#sec-142).
+
+Standings are **not** computed here. `multiplayer/src/war-standings.js` folds the `clash_battles` ledger, and it is the same module the arena's league uses, so a rating in the world and a rating in the API can never disagree.
+
+**The board.** `coin` adds that community's own league row (`standing`, `null` when it has never fought) and narrows `recent` to its battles.
+
+```bash
+curl -s 'https://three.ws/api/wars?coin=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump&limit=5'
+```
+
+```json
+{
+ "data": {
+ "network": "mainnet",
+ "standing": { "rank": 1, "rating": 1016, "wins": 1, "losses": 0, "draws": 0, "kd": 1.39, "streak": 1, "winRate": 1 },
+ "standings": [],
+ "ledgerAvailable": true,
+ "battlesRead": 1,
+ "seasonWindowFull": false,
+ "recent": [],
+ "recentAvailable": true,
+ "live": [],
+ "queue": { "available": true, "waiting": [] }
+ }
+}
+```
+
+The ledger (Postgres) and the live registry (Redis) fail independently, so `ledgerAvailable`, `recentAvailable` and `queue.available` report which surface is actually answering. A caller must render the missing one as unavailable rather than as "no wars".
+
+**Queueing.** Post the community, poll until it pairs. A pairing returns the `matchKey` both sides join under plus a signed `ticket`; the arena room takes the two competing communities from that ticket, never from the joining client, so a fighter cannot open a battle against a community that never agreed to fight.
+
+```bash
+curl -s -X POST 'https://three.ws/api/wars?action=queue' \
+ -H 'content-type: application/json' \
+ -d '{"coin":"FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump","symbol":"THREE"}'
+```
+
+```json
+{ "data": { "status": "matched", "matchKey": "w1:mainnet:...", "ticket": "<signed>", "side": "a", "opponent": { "mint": "...", "symbol": "..." } } }
+```
+
+`status` is `waiting` while nobody else is in line. An unpaired place in the queue expires after 90 seconds; a pairing stays claimable for 10 minutes. `POST ?action=leave` with `{"coin":"<mint>"}` gives the place up immediately.
+
+Queueing does not grant entry. The arena still requires a holder pass for the coin you fight for, exactly as a coin's Holders world does, and that check runs server-side in the room.
+
+**Reporting.** `POST ?action=report` is for the authoritative game server only: HMAC-SHA256 of the raw body in `x-war-signature`, keyed on `WAR_RESULT_SECRET`. It is idempotent on `matchKey`, so a retried report updates the row rather than counting a battle twice. Any unsigned or mis-signed request is `401`.
+
+---
+
+## Event Leaderboard API
+
+```
+GET /api/play/event-leaderboard
+GET /api/play/event-leaderboard?account=<player-account>&limit=<1..100>
+```
+
+The live standing for the event quest line: during a platform event (the window in `public/event.json`) the `/play` jobs board carries a set of event-only jobs, and this is the ranking of who has completed the most of them. No auth, CORS open, cached 5 seconds at the edge.
+
+Ranking is completions first, then total event gold earned, then the earlier finisher, then a stable id fallback. It is computed by `multiplayer/src/event-leaderboard.js`, the same module the in-world panel's rows come from, so the web and the world can never disagree.
+
+`account` pins that player's own row into `you` even when they rank below the returned page; omit it for an anonymous read. `limit` defaults to 10 and clamps to 100. Account keys never appear in the response, only rank, display name and score.
+
+Scores are written exclusively by the authoritative game server (through the world-service-token endpoint `POST /api/internal/event-score`, which additionally refuses any run reported outside the configured window). Nothing here grants anything: **prizes are announced from this board and settled manually by the three.ws team after the event, never paid automatically or on-chain.**
+
+**Response**
+
+```json
+{
+ "event": {
+ "id": "three-first-meetup",
+ "name": "$THREE First Holders Meetup",
+ "startsAt": "2026-08-09T17:00:00Z",
+ "endsAt": "2026-08-09T19:30:00Z",
+ "live": true
+ },
+ "top": [
+ { "rank": 1, "name": "Alpha", "runs": 12, "cash": 2640, "lastAt": 1786201408856 }
+ ],
+ "you": { "rank": 17, "name": "You", "runs": 2, "cash": 440, "lastAt": 1786201499000, "inTop": false },
+ "players": 41,
+ "totalRuns": 96,
+ "prizes": { "settlement": "manual", "summary": "…" }
+}
+```
+
+An event nobody has played yet is an empty board (`top: []`, `players: 0`) with a `200`, not an error: render the "no runs yet" state rather than a failure. `404 no_event` means no event is configured at all.
+
+```bash
+curl -s 'https://three.ws/api/play/event-leaderboard?limit=10'
+```
+
+---
+
## Config API
```
@@ -23712,6 +25814,220 @@ The same stamp is served statically at `/build-info.json`.
---
+## Solana Actions API (Blinks)
+
+three.ws publishes a Solana Action so "Claim Your 3D Avatar" unfurls as a Blink
+card on X and in any Blink-aware wallet. `/.well-known/solana/actions.json` maps
+`/api/actions/**` for Action clients, and the card's icon is a live headless
+render of the avatar's own GLB rather than a static image.
+
+### Claim-avatar action
+
+```
+GET /api/actions/avatar?avatar=default
+POST /api/actions/avatar?avatar=<avatarId>
+```
+
+No auth required. `avatar` is either `default` or an avatar UUID; anything else is
+`400 bad_request`. An avatar that is private, deleted, or unknown is `404 not_found`,
+so a card never advertises a claim the viewer cannot complete. A named avatar's card
+is titled with that avatar's name.
+
+Responses carry `x-action-version: 2.1.3` and `x-blockchain-ids: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`,
+including on the `OPTIONS` preflight. Errors carry both the standard
+`error` / `error_description` envelope and the Actions spec's `message` field.
+
+**GET response** (`ActionGetResponse`):
+
+```json
+{
+ "type": "action",
+ "icon": "https://three.ws/api/actions/avatar-icon?avatar=default",
+ "label": "Claim Avatar",
+ "title": "My 3D Avatar on three.ws",
+ "description": "Register your Solana wallet to this 3D avatar. ...",
+ "links": {
+ "actions": [
+ { "type": "transaction", "label": "Claim This Avatar", "href": "/api/actions/avatar?avatar=default" }
+ ]
+ }
+}
+```
+
+**POST body:** `{ "account": "<wallet pubkey>" }`. The account must be a base58
+ed25519 public key that is on the curve; a program-derived address (which no key
+can sign for) is rejected with `400 bad_request` before any transaction is built.
+
+**POST response** (`ActionPostResponse`): a base64 `VersionedTransaction` carrying a
+single unsigned SPL Memo instruction. The server never signs; the wallet does.
+
+```json
+{
+ "type": "transaction",
+ "transaction": "AQAAAAAA...",
+ "message": "Your 3D avatar identity is now recorded on Solana. Welcome to three.ws."
+}
+```
+
+The memo payload is `{"v":1,"action":"avatar-claim","avatar":"<avatarId>","site":"three.ws"}`.
+A Solana RPC that will not answer returns `503 rpc_unavailable`.
+
+```bash
+curl -s https://three.ws/api/actions/avatar | jq .title
+curl -s -X POST https://three.ws/api/actions/avatar \
+ -H 'content-type: application/json' \
+ -d '{"account":"FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump"}' | jq -r .type
+```
+
+---
+
+### Blink card icon
+
+```
+GET /api/actions/avatar-icon?avatar=default&pose=tpose&bg=%230a0a0a
+```
+
+Renders the avatar's GLB to a 512x512 `image/png` through headless chromium and
+serves it with a one-day browser / one-week edge cache. No auth required; `GET`
+and `HEAD` only, since every other method would boot a browser for nothing.
+
+| Parameter | Default | Notes |
+|---|---|---|
+| `avatar` | `default` | `default` or an avatar UUID. Anything else is `400`. An avatar with no reachable model falls back to the default GLB. |
+| `pose` | none | A pose preset id from `GET /api/render/avatar-clip`. Anything that is not a preset-shaped id is `400`. |
+| `bg` | `#0a0a0a` | A CSS color (hex, `rgb()`/`rgba()`, `hsl()`/`hsla()`, a named color) or `transparent`. Anything else is `400`: this value is embedded in the renderer's page, so it is never passed through unchecked. |
+
+Render failures surface the class of failure rather than one blanket code: `400`
+for an unfetchable GLB, `413` for one over the size cap, `502` for a renderer fault.
+
+---
+
+## Forever API (Bitcoin inscriptions)
+
+Backs the [/forever](https://three.ws/forever) page: a message is written into a
+Taproot witness on Bitcoin mainnet through [OrdinalsBot](https://ordinalsbot.com),
+where it stays permanently. three.ws never custodies the payment. The order
+returns a Bitcoin charge address and the user pays it from their own wallet, so
+these endpoints only create and read orders.
+
+### Create an inscription order
+
+```
+POST /api/forever/inscribe
+```
+
+Requires auth (session cookie or bearer token) because each call spends the
+platform's OrdinalsBot quota. Rate limited to 10 orders per IP per 10 minutes.
+
+**Request body**
+
+| Field | Required | Notes |
+|---|---|---|
+| `message` | yes | 1 to 1500 bytes of UTF-8 text. Trimmed before measuring. |
+| `receiveAddress` | no | The Taproot (`bc1p...`) address that receives the inscription. Validated all the way through its bech32m checksum, not just its shape, so a mistyped address is caught here instead of becoming an opaque upstream error. Defaults to `BTC_INSCRIPTION_RECEIVE_ADDRESS`. |
+| `feeRate` | no | Integer sats/vB, 1 to 200. Defaults to 8. |
+
+Ordinals can only be received by Taproot wallets, so a legacy, SegWit v0, or
+testnet address is a `400`.
+
+**Response**
+
+```json
+{
+ "orderId": "order-abc",
+ "status": "waiting-payment",
+ "charge": {
+ "address": "bc1p...",
+ "amount": 24500,
+ "amountBtc": 0.000245,
+ "currency": "BTC",
+ "lightningInvoice": "lnbc245u1p...",
+ "expiresAt": 1786582273
+ },
+ "receiveAddress": "bc1p...",
+ "feeRate": 8,
+ "sizeBytes": 13,
+ "mempoolBaseUrl": "https://mempool.space",
+ "ordinalsViewerBaseUrl": "https://ordinals.com/inscription"
+}
+```
+
+`amount` is in satoshis; `amountBtc` is the same figure in BTC. Pay either the
+`charge.address` or the Lightning invoice when one is offered.
+
+**Errors:** `400` (`bad_request`, `invalid_message`, `invalid_receive_address`,
+`invalid_fee_rate`), `401` (`unauthorized`), `405`, `429` (`rate_limited` for the
+per-IP ceiling, `upstream_rate_limited` when OrdinalsBot throttles the platform
+key), `502` (`inscription_failed`), `503` (`no_receive_address`,
+`invalid_vault_address`).
+
+Every OrdinalsBot fault is reported as `502`, including the ones it returns as
+`HTTP 200` with `{"status":"error"}` or as a bare `404`. Its status codes describe
+its own proxy, not your request, so they are never passed through.
+
+---
+
+### Read an inscription order
+
+```
+GET /api/forever/status?id=<orderId>
+```
+
+No auth: an order id is the bearer of its own status, and the pay screen polls
+this while the user waits on a Bitcoin confirmation. Rate limited to 200 reads
+per IP per 5 minutes, which clears a long wait in several tabs.
+
+**Response**
+
+```json
+{
+ "orderId": "order-abc",
+ "state": "inscribed",
+ "paid": true,
+ "inscribed": true,
+ "charge": { "address": "bc1p...", "amount": 24500, "amountBtc": 0.000245, "paidAmount": 24500 },
+ "inscription": {
+ "id": "<txid>i0",
+ "revealTxid": "<txid>",
+ "commitTxid": "<txid>",
+ "onchain": {
+ "confirmed": true,
+ "confirmations": 11,
+ "blockHeight": 900000,
+ "blockTime": 1786582273,
+ "source": "esplora"
+ }
+ },
+ "links": {
+ "inscription": "https://ordinals.com/inscription/<txid>i0",
+ "inscriptionPreview": "https://ordinals.com/preview/<txid>i0",
+ "revealTx": "https://mempool.space/tx/<txid>",
+ "commitTx": "https://mempool.space/tx/<txid>",
+ "chargeAddress": "https://mempool.space/address/bc1p..."
+ }
+}
+```
+
+`state` is one of `waiting-payment`, `payment-received`, `inscribing`,
+`inscribed`, `failed`. `paid` is true only for the three states that can be
+reached after settlement, so a `failed` order (expired, cancelled, refunded) is
+never reported as paid.
+
+`inscription.onchain` is real Bitcoin confirmation depth for the reveal
+transaction, read keyless from Blockstream Esplora so the caller sees actual
+finality rather than the order's own state. It fails soft: while the reveal
+transaction is unbroadcast or unindexed, or if Esplora is unreachable, it is
+`null` and the rest of the response is unaffected.
+
+**Errors:** `400` (`missing_id`, `invalid_id`), `404` (`order_not_found`), `405`,
+`429` (`rate_limited`, `upstream_rate_limited`), `502` (`status_lookup_failed`).
+
+An id that OrdinalsBot does not know is a `404`, even though OrdinalsBot itself
+reports it as `HTTP 200` with `{"status":"error","error":"invalid orderId"}`.
+Clients should treat `404` as terminal and stop polling.
+
+---
+
## Pagination
Paginated list endpoints use `limit`/`offset` query parameters unless noted otherwise (each endpoint's own parameter table is authoritative; some small per-user lists, like `/api/agents` and `/api/widgets`, return everything with no pagination).
@@ -23745,7 +26061,7 @@ Endpoint-specific codes (e.g. `quota_exceeded`, `invalid_avatar`, `no_client_id`
## SDK
-For building on the platform from JavaScript, the official npm package is [`@three-ws/sdk`](https://www.npmjs.com/package/@three-ws/sdk). It is not a thin wrapper over every REST route above; it ships the higher-level building blocks: `AgentKit` (chat panel + ERC-8004 registration + `.well-known` manifest generation), `AgentClient` (x402 agent-to-agent paid skill calls), `PermissionsClient` (ERC-7710 delegations), and the Solana identity/attestation helpers. Full docs: [SDK & Library](#sec-313).
+For building on the platform from JavaScript, the official npm package is [`@three-ws/sdk`](https://www.npmjs.com/package/@three-ws/sdk). It is not a thin wrapper over every REST route above; it ships the higher-level building blocks: `AgentKit` (chat panel + ERC-8004 registration + `.well-known` manifest generation), `AgentClient` (x402 agent-to-agent paid skill calls), `PermissionsClient` (ERC-7710 delegations), and the Solana identity/attestation helpers. Full docs: [SDK & Library](#sec-360).
For the endpoints on this page, call them directly with `fetch`/`curl` and a Bearer API key:
@@ -23768,7 +26084,7 @@ const { agents } = await res.json();
---
-<a id="sec-090"></a>
+<a id="sec-095"></a>
> **Source:** `docs/api/forge-x402.md` · [↑ table of contents](#table-of-contents)
@@ -24101,8 +26417,8 @@ Solscan-linked "x402" provenance badge. Inline-done lanes publish immediately;
async lanes are completed server-side by `api/cron/forge-finalize`, so the
artifact lands even if you never poll. Recording happens after your response is
sent and never affects your result. See
-[x402 endpoints](#sec-452) and
-[the autonomous economy](#sec-098).
+[x402 endpoints](#sec-501) and
+[the autonomous economy](#sec-103).
Treat prompts as public. If you need a private lane, use the account-scoped
surfaces instead of this one.
@@ -24147,17 +26463,17 @@ const glb = Buffer.from(await (await fetch(glbUrl)).arrayBuffer());
- [3D API](#sec-001): the free draft lane, inspection, validation, and the
full Forge Pro walkthrough.
-- [Forge pipeline](#sec-183): how the lanes, tiers, and failovers fit
+- [Forge pipeline](#sec-220): how the lanes, tiers, and failovers fit
together internally.
-- [3D Studio MCP server](#sec-224): the same generation as
+- [3D Studio MCP server](#sec-266): the same generation as
`text_to_3d` / `image_to_3d` tools for in-conversation use, priced from the
same tier table. This REST endpoint is the pay-per-call surface for autonomous
agents.
-- [x402 endpoints](#sec-452): every paid endpoint on the platform.
+- [x402 endpoints](#sec-501): every paid endpoint on the platform.
---
-<a id="sec-091"></a>
+<a id="sec-096"></a>
> **Source:** `docs/ar-studio.md` · [↑ table of contents](#table-of-contents)
@@ -24170,9 +26486,9 @@ API: `POST /api/forge` (in-view text-to-3D) · `GET /api/forge-gallery` (your an
## Why it exists
-The older "View in AR" flow (see [AR and WebXR](#sec-092)) shows one model at a time in a native viewer. AR Studio is the composition tool: a persistent, multi-model scene you arrange in real space and can build with other people at once. It is free, needs no account, and degrades gracefully so it works on a laptop, a phone browser, or a full AR headset. It is where a forge result, a marketplace avatar, and a prompt-conjured prop can all stand in your living room together.
+The older "View in AR" flow (see [AR and WebXR](#sec-097)) shows one model at a time in a native viewer. AR Studio is the composition tool: a persistent, multi-model scene you arrange in real space and can build with other people at once. It is free, needs no account, and degrades gracefully so it works on a laptop, a phone browser, or a full AR headset. It is where a forge result, a marketplace avatar, and a prompt-conjured prop can all stand in your living room together.
-This doc covers what is unique to AR Studio. For the underlying `POST /api/forge` free lane, the `<agent-3d>` "View in AR" methods, the USDZ/Quick Look pipeline, and model-optimization limits, see [AR and WebXR](#sec-092).
+This doc covers what is unique to AR Studio. For the underlying `POST /api/forge` free lane, the `<agent-3d>` "View in AR" methods, the USDZ/Quick Look pipeline, and model-optimization limits, see [AR and WebXR](#sec-097).
## How it works
@@ -24255,13 +26571,13 @@ You can also hand-build a share link: append `?src=<https glb url>&title=<name>`
## Related
-- [AR and WebXR](#sec-092): the single-model "View in AR" system, `/ar` AR Forge, the `POST /api/forge` free lane in depth, the USDZ/Quick Look pipeline, and model-optimization limits.
-- [Selfie to Avatar](#sec-316) and [Avatar pipeline](#sec-105): where the models you place come from.
+- [AR and WebXR](#sec-097): the single-model "View in AR" system, `/ar` AR Forge, the `POST /api/forge` free lane in depth, the USDZ/Quick Look pipeline, and model-optimization limits.
+- [Selfie to Avatar](#sec-363) and [Avatar pipeline](#sec-110): where the models you place come from.
- Pages: [/ar/studio](https://three.ws/ar/studio), [/ar](https://three.ws/ar), [/viewer](https://three.ws/viewer).
---
-<a id="sec-092"></a>
+<a id="sec-097"></a>
> **Source:** `docs/ar.md` · [↑ table of contents](#table-of-contents)
@@ -24698,7 +27014,7 @@ a server-side PNG render of the actual GLB (CDN-cached for a day), so pasting
an AR link into a chat or timeline shows the model, not a generic card. The
page also converts: it carries "Create your own" (into [/ar](/ar)) and "Open
in 3D viewer" calls to action. See `GET|POST /api/render/glb` in the
-[API reference](#sec-089) for the renderer's parameters and limits.
+[API reference](#sec-094) for the renderer's parameters and limits.
**For agents (MCP):** on the free, keyless connector at `/api/mcp-studio` every generation already returns `arUrl` in its result, so there is nothing extra to call. To build the link set for a GLB that connector did not generate, the read-only `export_ar` tool on the separate [`/api/mcp-3d` server](/docs/mcp-3d-studio) (account- or payment-gated) turns any public GLB into the AR launch link plus a conformant [Spatial MCP](/docs/spatial-mcp) artifact (with the `ar` handoff populated):
@@ -24731,13 +27047,13 @@ How this link ships through ChatGPT end to end (the app connector, the custom GP
---
-<a id="sec-093"></a>
+<a id="sec-098"></a>
> **Source:** `docs/architecture.md` · [↑ table of contents](#table-of-contents)
# Architecture Overview
-three.ws is the platform you see at [three.ws](https://three.ws): 3D avatars with AI brains that you can chat with, embed on any site, and register on-chain. This page is the engineering map of how that is built. If you just want to use the product, start with [How three.ws works](#sec-198) instead.
+three.ws is the platform you see at [three.ws](https://three.ws): 3D avatars with AI brains that you can chat with, embed on any site, and register on-chain. This page is the engineering map of how that is built. If you just want to use the product, start with [How three.ws works](#sec-236) instead.
This document describes how three.ws is put together, how data moves through it, and where the seams are if you want to extend, self-host, or integrate it with another stack. It assumes familiarity with modern JavaScript, WebGL/three.js at a high level, and the basics of EVM blockchains and content-addressed storage.
@@ -24995,7 +27311,7 @@ A minimal Node + Neon + Anthropic deployment is enough for a single agent. The b
---
-<a id="sec-094"></a>
+<a id="sec-099"></a>
> **Source:** `docs/assistant-widget.md` · [↑ table of contents](#table-of-contents)
@@ -25008,9 +27324,9 @@ The assistant widget puts a full-body, animated three.ws avatar on any website b
Configure everything and copy your snippet at [three.ws/assistant](https://three.ws/assistant). The builder page runs the real widget, so what you see in the corner is exactly what your visitors get.
-Looking for a support-chat panel grounded in your page's content instead of a full-body avatar? That is the sibling [Concierge widget](#sec-140). Use Concierge for "answer questions about this page"; use the assistant widget when you want a character who stands on your site, speaks, and can run on a visitor's own model key.
+Looking for a support-chat panel grounded in your page's content instead of a full-body avatar? That is the sibling [Concierge widget](#sec-147). Use Concierge for "answer questions about this page"; use the assistant widget when you want a character who stands on your site, speaks, and can run on a visitor's own model key.
-There are three ways to add it: a one-tag script, the [`@three-ws/assistant`](https://www.npmjs.com/package/@three-ws/assistant) npm package, or let an AI agent generate the embed for you through the [assistant-widget MCP server](#generate-a-widget-from-an-ai-agent-mcp). New to it? The [step-by-step tutorial](#sec-353) builds one from scratch.
+There are three ways to add it: a one-tag script, the [`@three-ws/assistant`](https://www.npmjs.com/package/@three-ws/assistant) npm package, or let an AI agent generate the embed for you through the [assistant-widget MCP server](#generate-a-widget-from-an-ai-agent-mcp). New to it? The [step-by-step tutorial](#sec-401) builds one from scratch.
## Install
@@ -25119,22 +27435,22 @@ Two tools:
- **`list_assistant_options`** returns everything you can configure: the built-in avatars, the background presets and grammar, the modes, the chat lanes, and the full `data-*` attribute reference.
- **`build_assistant_widget`** turns a config (avatar, background, mode, name, greeting, context, accent, position) into a paste-ready `<script>` snippet, a standalone frame URL, an equivalent `ThreeAssistant.init({...})` call, and the builder link. Every field is validated and clamped, so a bad value falls back to a safe default and the generated HTML is always well-formed.
-Ask your agent something like "build a 3D assistant widget named Aria with an ocean background for my site" and paste the snippet it returns. The server is one of the [three.ws MCP servers](#sec-230); find it in the registry at [registry.modelcontextprotocol.io](https://registry.modelcontextprotocol.io/?q=io.github.nirholas).
+Ask your agent something like "build a 3D assistant widget named Aria with an ocean background for my site" and paste the snippet it returns. The server is one of the [three.ws MCP servers](#sec-272); find it in the registry at [registry.modelcontextprotocol.io](https://registry.modelcontextprotocol.io/?q=io.github.nirholas).
## How it works
- The launcher and panel are plain DOM injected by [`public/assistant/v1.js`](https://github.com/nirholas/three.ws/blob/main/public/assistant/v1.js), the minified build of the [`@three-ws/assistant`](https://github.com/nirholas/three.ws/tree/main/assistant-sdk) loader (no dependencies, idempotent). The avatar, chat, and speech run inside an iframe on `https://three.ws/assistant-frame`, so your page never sees model keys and the frame never sees your DOM.
- The frame ([`src/assistant-frame.js`](https://github.com/nirholas/three.ws/blob/main/src/assistant-frame.js)) renders the avatar with Three.js, retargets the platform's canonical animation clips onto it (idle, wave greeting, a talking loop while speaking), and anchors the speech bubble to the avatar's head projection every frame.
-- Free-lane chat posts to `POST /api/chat` (SSE stream, anonymous access, server-side rate limits and moderation). BYOK chat streams directly from the visitor's browser to Groq or OpenRouter with their key; the key lives in `localStorage` on the three.ws origin and is never sent to three.ws servers or the host page.
+- Free-lane chat posts to `POST /api/chat` (SSE stream, anonymous access, server-side rate limits; three.ws applies no content filter of its own, so any refusal is the serving model's). BYOK chat streams directly from the visitor's browser to Groq or OpenRouter with their key; the key lives in `localStorage` on the three.ws origin and is never sent to three.ws servers or the host page.
- Speak mode and spoken chat replies use the Web Speech API (`speechSynthesis`). Voice pick persists per browser. When the browser has no TTS or voice is muted, the bubble and talking animation still run for the estimated duration, so the widget never silently stalls.
- Every config param is re-validated inside the frame by [`src/assistant-widget-core.js`](https://github.com/nirholas/three.ws/blob/main/src/assistant-widget-core.js) (strict background/color grammars, length clamps, avatar host allow-list), so a hostile embedding page cannot inject CSS or URLs into the frame.
## Related surfaces
-- [Build a 3D assistant, step by step](#sec-353), the tutorial
-- [Concierge](#sec-140), the page-grounded support-chat widget with a lipsyncing face
-- [three.ws MCP servers](#sec-230), the full free and paid tool catalog
-- [Share and embed](#sec-317), the `<three-d>` model embeds
+- [Build a 3D assistant, step by step](#sec-401), the tutorial
+- [Concierge](#sec-147), the page-grounded support-chat widget with a lipsyncing face
+- [three.ws MCP servers](#sec-272), the full free and paid tool catalog
+- [Share and embed](#sec-364), the `<three-d>` model embeds
- [/walk-embed](https://three.ws/walk-embed), the walking-avatar iframe embed
- [/forge](https://three.ws/forge), generate an avatar to use in the widget
@@ -25147,7 +27463,7 @@ Ask your agent something like "build a 3D assistant widget named Aria with an oc
---
-<a id="sec-095"></a>
+<a id="sec-100"></a>
> **Source:** `docs/atlas.md` · [↑ table of contents](#table-of-contents)
@@ -25321,7 +27637,7 @@ searching for "embed".
---
-<a id="sec-096"></a>
+<a id="sec-101"></a>
> **Source:** `docs/authentication.md` · [↑ table of contents](#table-of-contents)
@@ -25563,7 +27879,9 @@ const res = await fetch('/api/auth/siwe/verify', {
const { user, wallet } = await res.json();
```
-> **Security note:** Never submit the SIWE message to a domain other than where the nonce was issued. The backend validates that `domain` and `uri` in the message match the deployment's `APP_ORIGIN`. Replaying a valid signature from a phishing page is rejected.
+> **Security note:** Never submit the SIWE message to a domain other than where the nonce was issued. The backend validates that `domain` and `uri` in the message match the deployment's `APP_ORIGIN`. Replaying a valid signature from a phishing page is rejected. A localhost `domain` is accepted only by a deployment whose own `APP_ORIGIN` is localhost, never by three.ws itself.
+>
+> A wallet whose account was closed through `DELETE /api/auth/me` gets `403 account_deleted`. Signing in again does not revive it: the same answer the [SIWS](#verify-errors) and SAML paths give.
### Terms of Service acceptance
@@ -25638,6 +27956,8 @@ const { user } = await res.json();
// list them afterwards with GET /api/auth/wallets.
```
+A Privy identity attached to an account that was closed through `DELETE /api/auth/me` gets `403 account_deleted` instead of a session. Signing in again never revives a deleted account on any path.
+
### Linking additional wallets
Once a user is signed in via Privy, they can connect a browser wallet and link it to their account via `POST /api/auth/wallets`. See the [Multi-wallet section](#multi-wallet-support) below.
@@ -25742,10 +28062,21 @@ CoinCommunities upstream, kept in two httpOnly cookies scoped to
Expiry is handled transparently: every authenticated community endpoint runs
through `withAuthRefresh()` ([api/_lib/coin-communities.js](../api/_lib/coin-communities.js)),
-which retries a failed upstream call once after exchanging `cc_rt` for a fresh
-access token and re-setting both cookies on the response. Callers only appear
-signed out when the 30-day refresh token itself is missing or expired, so an
-open `/play` tab no longer kicks you out after the first hour.
+which exchanges `cc_rt` for a fresh access token and re-sets both cookies on the
+response. It fires on both ways a session goes stale:
+
+1. **The `cc_at` cookie is gone.** This is the ordinary case an hour after
+ sign-in, since the cookie and the JWT inside it share the same 1h lifetime,
+ so the request arrives carrying only `cc_rt`. The refresh runs first and the
+ call proceeds on the new token.
+2. **The cookie is still there but the upstream answers 401** (a revoked or
+ early-expired JWT). The call is retried once on the refreshed token.
+
+Handlers must therefore test "is this user signed in?" with `hasUserSession(req)`,
+which accepts either cookie, rather than `userAuthHeaders(req)`, which only sees
+`cc_at` and would call an hours-old but perfectly valid session a stranger.
+Callers only appear signed out when the 30-day refresh token itself is missing or
+expired, so an open `/play` tab no longer kicks you out after the first hour.
## API Keys
@@ -25947,7 +28278,7 @@ Password hashing cost is configurable via `PASSWORD_ROUNDS` (default: `11` bcryp
---
-<a id="sec-097"></a>
+<a id="sec-102"></a>
> **Source:** `docs/autonomous-economy.md` · [↑ table of contents](#table-of-contents)
@@ -25962,8 +28293,8 @@ and the platform **scans its own wallets for leaks every minute**.
This page explains the whole loop in plain language: which wallet does what, how money
can and cannot move, and how you can verify there's no leak yourself.
-Companion docs: [Money map](#sec-240) (which wallet receives each *payment*),
-[Economy master](#sec-169) (the funding-root subsystem in depth), and the
+Companion docs: [Money map](#sec-282) (which wallet receives each *payment*),
+[Economy master](#sec-176) (the funding-root subsystem in depth), and the
[Solana signers runbook](../api/_lib/solana-signers.js) (every signer, its floor, and
how to fund it).
@@ -26095,16 +28426,16 @@ zero.
## Related
-- [Money map](#sec-240) — which wallet receives each kind of payment, and the
+- [Money map](#sec-282) — which wallet receives each kind of payment, and the
platform's cut.
-- [Economy master](#sec-169) — the funding-root subsystem, its ledger, and the
+- [Economy master](#sec-176) — the funding-root subsystem, its ledger, and the
topup/sweepback crons in depth.
-- [x402 ring economy](#sec-454) — how the autonomous payment ring settles
+- [x402 ring economy](#sec-503) — how the autonomous payment ring settles
USDC between agents.
---
-<a id="sec-098"></a>
+<a id="sec-103"></a>
> **Source:** `docs/autonomous-x402.md` · [↑ table of contents](#table-of-contents)
@@ -26131,7 +28462,7 @@ the sniper oracle gate.
The loop runs from the `x402-autonomous-loop` cron endpoint, invoked every
**minute** by the `economy-tick` dispatcher (see the
-[economy heartbeat](#sec-168)) rather than by its own schedule
+[economy heartbeat](#sec-175)) rather than by its own schedule
entry; per-entry Redis cooldowns decide what actually fires on any given tick.
Each tick:
@@ -26181,7 +28512,7 @@ master holds funds.
| `X402_ASSET_MINT_SOLANA` | USDC mint | The asset paid with (Solana USDC). |
| `SOLANA_RPC_URL` | — | RPC used to build and submit the payment. |
-This loop's treasury is **separate** from the [circulation engine](#sec-132)
+This loop's treasury is **separate** from the [circulation engine](#sec-137)
treasury (`CIRCULATION_TREASURY_SECRET`). Circulation funds agent-to-agent SOL /
$THREE activity; this loop funds USDC intel purchases. They do not fund each
other.
@@ -26265,7 +28596,7 @@ automatically (and `tests/x402-ring-catalog.test.js` fails until it is cataloged
> reasoning lives in
> [x402 revenue → Synthetic vs organic](x402-revenue.md#proof-of-volume--x402_volume_metrics).
> Drive *real* volume through external demand (the
-> [Circulation engine](#sec-132), real `agent_hire` commerce,
+> [Circulation engine](#sec-137), real `agent_hire` commerce,
> discovery), not a heavier self-paid sweep.
## The Datapoint Fabric Volume Sweep
@@ -26317,21 +28648,21 @@ corroborate — the ops financial-integrity surface alerts on those. Detail:
| `x402_autonomous_log` | Every call (success or failure), with `signal_data` / `value_extracted`. `error_msg` is reserved for calls that actually failed: the external uptime monitor probes third-party services for free and records an alive-but-unexpected status (a templated path answering 400, a verb-picky route answering 405) in `value_extracted.status` only, so a liveness observation never lands in the loop's failure stats. |
| `oracle_intel_signals` | `oracle` / `sniper` entries, keyed by source + topic; consumed by the sniper oracle gate. Each row carries `tx_signature`, the settle signature of the paid call that bought it, so a gate decision can cite its receipt (surfaced as `signal_receipts` on gate results). |
| `forge_creations` | Every settled `POST /api/x402/forge` generation (any buyer, not just this loop). The row lands in the public community gallery with `x402_payer` / `x402_tx_sig` / `x402_price_atomic` provenance; the gallery renders a Solscan-linked "x402 · $price" badge. Inline-done lanes materialize immediately; async lanes store the full job token and `api/cron/forge-finalize` completes them server-side. |
-| `agent_custody_events` | The USDC spend, with `category: 'x402'` (see [Money feed](#sec-238)). |
+| `agent_custody_events` | The USDC spend, with `category: 'x402'` (see [Money feed](#sec-280)). |
| `x402_volume_metrics` | Per-endpoint proof-of-volume + liveness ledger from the Volume Bootstrap Loop (see [x402 revenue](x402-revenue.md#proof-of-volume--x402_volume_metrics)). |
| `payment_reconciliation` | One verdict per settlement claim from the daily reconciliation job (see [x402 revenue](x402-revenue.md#reconciliation--payment_reconciliation)). |
| Dedicated stores | Pipeline-specific tables (pricing tracker, reputation snapshots, leaderboard, sniper analytics, …). |
## Related
-- [x402 endpoints](#sec-452) — the paid endpoints this loop calls.
-- [x402 revenue & receipts](#sec-453) — where settlements land, the proof-of-volume ledger, and the reconciliation job.
-- [x402 buyer client](#sec-449) — the client wrappers it pays with.
-- [Circulation engine](#sec-132) — the separate SOL/$THREE activity loop.
+- [x402 endpoints](#sec-501) — the paid endpoints this loop calls.
+- [x402 revenue & receipts](#sec-502) — where settlements land, the proof-of-volume ledger, and the reconciliation job.
+- [x402 buyer client](#sec-498) — the client wrappers it pays with.
+- [Circulation engine](#sec-137) — the separate SOL/$THREE activity loop.
---
-<a id="sec-099"></a>
+<a id="sec-104"></a>
> **Source:** `docs/autopilot.md` · [↑ table of contents](#table-of-contents)
@@ -26426,15 +28757,15 @@ A confirmed buyback narrates as: "Bought back and burned $120 of $YOURCOIN. Supp
## Related
-- [Custody you can verify](#sec-158) - the spend limits, freeze switch, and audit trail every agent wallet runs under
-- [Financial controls](#sec-180) - plain-English spend rules layered on the same enforcement point
-- [Oracle](#sec-262) - the conviction engine and the agent action loop that arms an agent to trade autonomously
+- [Custody you can verify](#sec-165) - the spend limits, freeze switch, and audit trail every agent wallet runs under
+- [Financial controls](#sec-216) - plain-English spend rules layered on the same enforcement point
+- [Oracle](#sec-304) - the conviction engine and the agent action loop that arms an agent to trade autonomously
- [/dashboard](https://three.ws/dashboard) - launch a coin for an agent, the prerequisite for Autopilot
- [/launches](https://three.ws/launches) - the public feed of coins launched through three.ws
---
-<a id="sec-100"></a>
+<a id="sec-105"></a>
> **Source:** `docs/avatar-cli.md` · [↑ table of contents](#table-of-contents)
@@ -26446,7 +28777,7 @@ It is the piece that lets avatars live in a build pipeline instead of a browser
**On this page:** [Install](#install) · [Quick start](#quick-start) · [Commands](#commands) · [The manifest](#the-manifest) · [Exit codes](#exit-codes-and-scripting) · [Release gate](#gate-a-release-on-the-manifest)
-Related: [`@three-ws/avatar-schema`](../packages/avatar-schema/README.md) is the wire format this validates against. The [web component reference](#sec-443) covers the `<agent-3d>` element the CLI emits.
+Related: [`@three-ws/avatar-schema`](../packages/avatar-schema/README.md) is the wire format this validates against. The [web component reference](#sec-491) covers the `<agent-3d>` element the CLI emits.
---
@@ -26460,7 +28791,7 @@ three-ws-avatar --version
```
```
-0.2.0
+0.2.1
```
Or run it without installing. The package has exactly one binary, so `npx` resolves it directly:
@@ -26472,7 +28803,7 @@ npx @three-ws/avatar-cli --version
Pin the version in anything automated so a future release cannot change your build's behavior:
```bash
-npx @three-ws/[email protected] validate manifest.json
+npx @three-ws/[email protected] validate manifest.json
```
Node 18 or newer. The CLI has one runtime dependency, `@three-ws/avatar-schema`, which carries the JSON Schema it validates against.
@@ -26640,7 +28971,7 @@ https://three.ws/a/eip155%3A1%3A0x742d35Cc6634C0532925a3b844Bc454e4438f44e
<iframe src="https://three.ws/a/eip155%3A1%3A0x742d35Cc6634C0532925a3b844Bc454e4438f44e" width="480" height="640" frameborder="0" allow="camera; microphone; xr-spatial-tracking"></iframe>
```
-The web-component block is emitted with its loader on purpose. `<agent-3d>` is an ordinary unknown element until that script registers it, so the snippet is only complete with both lines. See the [web component reference](#sec-443) for the full attribute surface.
+The web-component block is emitted with its loader on purpose. `<agent-3d>` is an ordinary unknown element until that script registers it, so the snippet is only complete with both lines. See the [web component reference](#sec-491) for the full attribute surface.
When `mesh.uri` is still a local path, `preview` says so rather than handing you a snippet that renders nothing:
@@ -26737,14 +29068,14 @@ three-ws-avatar validate manifest.json --json | jq -e '.valid'
## Where to go next
-- **[Ship an avatar manifest](#sec-403)** walks the whole path end to end, from a raw GLB to a live embed, and explains the decision at each step.
-- **[Web component reference](#sec-443)** documents every attribute on the `<agent-3d>` element `preview` emits.
+- **[Ship an avatar manifest](#sec-451)** walks the whole path end to end, from a raw GLB to a live embed, and explains the decision at each step.
+- **[Web component reference](#sec-491)** documents every attribute on the `<agent-3d>` element `preview` emits.
- **[`@three-ws/avatar-schema`](../packages/avatar-schema/README.md)** is the normative format if you are writing your own tooling.
- The package source lives in [`packages/avatar-cli`](https://github.com/nirholas/three.ws/tree/main/packages/avatar-cli).
---
-<a id="sec-101"></a>
+<a id="sec-106"></a>
> **Source:** `docs/avatar-creation.md` · [↑ table of contents](#table-of-contents)
@@ -27016,7 +29347,7 @@ On success, you receive:
### 3. Register on-chain (optional)
-For permanent, verifiable identity, you can register the agent on-chain under ERC-8004. This creates a blockchain record linked to a wallet address. Gas fees apply. See the [ERC-8004 documentation](#sec-175) for details.
+For permanent, verifiable identity, you can register the agent on-chain under ERC-8004. This creates a blockchain record linked to a wallet address. Gas fees apply. See the [ERC-8004 documentation](#sec-182) for details.
---
@@ -27080,7 +29411,7 @@ No regeneration provider is configured on this deployment. Set `AVATAR_REGEN_PRO
---
-<a id="sec-102"></a>
+<a id="sec-107"></a>
> **Source:** `docs/avatar-engines.md` · [↑ table of contents](#table-of-contents)
@@ -27130,7 +29461,9 @@ Mesh and glTF output can be animated by the skinned-mesh pipeline. Gaussian and
**Venue and year** record where the work was published (a conference, a preprint, an open standard, or a commercial service) and when, which is what the "newest" sort uses.
-**Links** point at the project's own repository, paper, and demo, plus an optional call-to-action into the three.ws surface that consumes its output.
+**Links** point at the project's own repository, paper, docs, and demo, plus an optional call-to-action into the three.ws surface that consumes its output. `docs` exists so that official documentation is labelled "Docs" on the card: before it, a documentation site parked in the `paper` field rendered as a "Paper" button and misstated what the reader was about to open. A link is only recorded once, so an entry whose repository, docs, and demo are all the same URL renders one button, not three.
+
+**Status** is optional and has one value, `retired`, meaning the project or the service behind it no longer operates. A retired entry keeps its card and gains a Retired badge, because deleting it would strand the builders who still hold assets it produced; what it loses is any claim on the present tense. A retired entry can never be `live` or `forge`, its `integrationNote` has to say what happened and what still works, and if the shutdown ended commercial availability then `commercial` goes to `false` with it. [Ready Player Me](https://github.com/readyplayerme) is the current example: Netflix acquired it and closed the public avatar creator and developer API on 31 January 2026, while the rigged glTF files it exported before then still load and animate in the three.ws viewer exactly as they always did.
## How integration status is defined
@@ -27140,13 +29473,13 @@ Mesh and glTF output can be animated by the skinned-mesh pipeline. Gaussian and
| --- | --- | --- |
| `live` | Live on three.ws | Already wired into a three.ws product surface you can use right now. |
| `forge` | Generate in Forge | Commercially licensed and reachable through the live text and image to GLB pipeline at [/forge](https://three.ws/forge). |
-| `splat` | View in Splat Viewer | Produces Gaussian-splat or radiance-field output you can drop into the three.ws [splat viewer](#sec-333). |
+| `splat` | View in Splat Viewer | Produces Gaussian-splat or radiance-field output you can drop into the three.ws [splat viewer](#sec-380). |
| `interop` | Interop | Emits a standard rigged format (glTF, VRM, FBX) that the three.ws viewer and animation pipeline already understand. |
| `reference` | Reference / self-host | Run it yourself. Its license or its compute profile keeps it out of the commercial pipeline. It is listed here for builders. |
Each entry also carries an `integrationNote`, one sentence naming the specific three.ws surface or bone-mapping involved, so `reference` never reads as a shrug.
-The current distribution is 2 `live`, 4 `interop`, 3 `splat`, and 15 `reference`. That last number is the point of the atlas: most of the highest-fidelity work in this field is research code under a non-commercial license, and three.ws deliberately does **not** wire any of it into the paid generation backend. Only commercial-use mesh engines deep-link into the live pipeline. Non-commercial research engines are surfaced with their repository and paper for self-hosted and academic use, and that is the whole extent of the relationship.
+The current distribution is 2 `live`, 3 `interop`, 3 `splat`, and 16 `reference`. That last number is the point of the atlas: most of the highest-fidelity work in this field is research code under a non-commercial license, and three.ws deliberately does **not** wire any of it into the paid generation backend. Only commercial-use mesh engines deep-link into the live pipeline. Non-commercial research engines are surfaced with their repository and paper for self-hosted and academic use, and that is the whole extent of the relationship.
## The registry
@@ -27196,7 +29529,7 @@ Every field below is reproduced from [`src/avatar-engines-data.js`](../src/avata
| Engine | Org | Year | Output | License | Commercial | Integration | Runs on |
| --- | --- | --- | --- | --- | --- | --- | --- |
| Mixamo | Adobe | 2008 | gltf | Free for use (Adobe terms) | Yes | live | Cloud service |
-| Ready Player Me | Ready Player Me | 2020 | gltf | Commercial SDK (free tier) | Yes | interop | Cloud API |
+| Ready Player Me (retired) | Ready Player Me (Netflix) | 2020 | gltf | Commercial SDK (service discontinued) | No | reference | Cloud API (offline) |
| VRM / UniVRM | VRM Consortium · pixiv | 2018 | gltf | MIT | Yes | interop | Client |
| three-vrm | pixiv | 2020 | gltf | MIT | Yes | interop | Client (Three.js) |
| Avaturn | Avaturn | 2022 | gltf | Commercial SDK | Yes | interop | Cloud API |
@@ -27211,6 +29544,8 @@ The atlas is a filterable catalog, and every filter reflects into the URL query,
- **Commercial-use only** is a toggle that drops every entry whose license does not permit commercial use as-is.
- **Reset filters** clears everything, and the empty state offers it directly when a filter combination matches nothing.
+The page has no network call of its own, so its failure mode is the registry script not arriving at all. Until that script renders, the results area holds a skeleton grid; if six seconds pass after load with nothing rendered, or the render throws, the skeleton is replaced by an error state that offers a reload and a link to this document. With JavaScript disabled entirely, the same document is offered in place of the atlas.
+
Query parameters, for building links by hand:
```
@@ -27237,22 +29572,24 @@ The atlas makes claims about other people's projects and other people's licenses
- **Never upgrade a license claim.** Do not translate an ambiguous license into `commercial: true`, do not simplify "MIT code, research weights" into "MIT", and do not treat a permissive code license as permission to use restricted released models. When in doubt the entry stays `commercial: false` and the license string keeps its nuance.
- **Never upgrade an integration claim.** `integration` describes what is wired *today*, not what could be wired. An engine only becomes `live` or `forge` when a user can reach it from a three.ws surface right now, and the `integrationNote` has to name that surface.
- **License summaries are guidance, not legal advice.** The page says so in its footer, and so does this doc: confirm terms with the upstream project before any commercial use.
-- Listings were compiled from upstream sources current as of June 2026. When you touch an entry, re-check it against the upstream project rather than assuming the recorded value still holds.
+- **A project that dies is marked, not deleted.** Set `status: 'retired'`, move the entry off any live claim, and say in the `integrationNote` what shut down, when, and what still works. Silently dropping the row would leave every reader holding its output with no explanation, and silently leaving the row as it was would be a false claim that the service still answers.
+- **Re-check the links, not just the prose.** Every entry's links were verified to resolve on 11 August 2026. Two of them had rotted since the atlas was compiled (a project page that had moved, and a paper link pointing at an unrelated preprint), and neither was visible from the text of the entry.
+- Listings were compiled from upstream sources current as of June 2026, with link and status verification on 11 August 2026. When you touch an entry, re-check it against the upstream project rather than assuming the recorded value still holds.
To add an engine, append an entry to `ENGINES` in [`src/avatar-engines-data.js`](../src/avatar-engines-data.js) with every field populated (an entry with a missing license or integration note is worse than no entry), and pick its family from the existing five. The page picks it up with no further wiring, and the header counters update themselves.
## Related
-- [Splat Viewer](#sec-333): where the Gaussian-splat output of the `splat` engines actually renders in the browser.
-- [Scene Capture](#sec-125): the three.ws side of reconstruction, turning real video into 3D, adjacent to the photoreal-head family here.
-- [Forge](#sec-184): the live commercial generation pipeline, which the one `live` text-to-avatar engine powers.
+- [Splat Viewer](#sec-380): where the Gaussian-splat output of the `splat` engines actually renders in the browser.
+- [Scene Capture](#sec-130): the three.ws side of reconstruction, turning real video into 3D, adjacent to the photoreal-head family here.
+- [Forge](#sec-221): the live commercial generation pipeline, which the one `live` text-to-avatar engine powers.
- [Agent Identity Studio](#sec-052): that pipeline applied end to end, brand brief to rigged avatar plus studio renders.
-- [Animations](#sec-088): the retargeting and clip library that drives the production rigs in the last family.
-- [Avatar pipeline](#sec-105) and [avatar creation](#sec-101): how three.ws produces and processes its own mesh avatars.
+- [Animations](#sec-091): the retargeting and clip library that drives the production rigs in the last family.
+- [Avatar pipeline](#sec-110) and [avatar creation](#sec-106): how three.ws produces and processes its own mesh avatars.
---
-<a id="sec-103"></a>
+<a id="sec-108"></a>
> **Source:** `docs/avatar-fidelity-program.md` · [↑ table of contents](#table-of-contents)
@@ -27264,7 +29601,7 @@ own, and costs nothing per avatar. Not "good enough to avoid a bill" — better
than the thing we would have paid for.
This is the program plan. The subsystem it improves is documented in
-[avatar-reconstruction.md](#sec-106); the worker lives in
+[avatar-reconstruction.md](#sec-111); the worker lives in
[`workers/avatar-reconstruction/`](../workers/avatar-reconstruction).
## Why we are not buying this
@@ -27710,15 +30047,15 @@ items do not:
---
-<a id="sec-104"></a>
+<a id="sec-109"></a>
> **Source:** `docs/avatar-inspector.md` · [↑ table of contents](#table-of-contents)
-# Avatar Inspector — who is this avatar, really?
+# Avatar Inspector, who is this avatar, really?
Every avatar you meet in a three.ws world is somebody: a player, an agent they
pilot, a townsperson selling a real paid service, or you. The avatar inspector
-is the one-keystroke answer to "who is this?" — press <kbd>I</kbd> (or select
+is the one-keystroke answer to "who is this?", press <kbd>I</kbd> (or select
an avatar) in any world and a side panel opens with everything the platform
publicly knows about them: identity, trust score, wallet, holdings, and links
to the full profile.
@@ -27727,40 +30064,61 @@ to the full profile.
| World | Open it with | Who you can inspect |
| --- | --- | --- |
-| `/play` (coin communities) | <kbd>I</kbd> nearest avatar · click a player's nameplate or body | Other players, townsperson NPCs, yourself |
+| `/play` (coin communities) | <kbd>I</kbd> nearest avatar · click a player's nameplate or body | Other players, townsperson NPCs, ambient citizens, yourself |
| `/temporary` coin worlds + `/marketplace-walk` | <kbd>I</kbd> nearest player · click a nameplate | Other players, yourself |
-| `/city` | <kbd>I</kbd> · click your avatar | Yourself (single-player) — add `?agent=<agent-id>` and the inspector shows that agent's reputation and wallet alongside your session |
-| `/agora` | <kbd>I</kbd> hovered/nearest citizen · click a citizen | Citizens — opens their existing [passport](/agora) with trust grade, stake, and earnings |
-| `/play/arena` | click an agent's floor label | Live trading agents — opens the agent detail drawer (predates the inspector) |
+| `/city` | <kbd>I</kbd> · click your avatar | Yourself (single-player), add `?agent=<agent-id>` and the inspector shows that agent's reputation and wallet alongside your session |
+| `/agora` | <kbd>I</kbd> hovered/nearest citizen · click a citizen | Citizens, opens their existing [passport](/agora) with trust grade, stake, and earnings |
+| `/play/arena` | click an agent's floor label | Live trading agents, opens the agent detail drawer (predates the inspector) |
-Pressing <kbd>I</kbd> again — or <kbd>Esc</kbd> — closes the panel. It is
+Pressing <kbd>I</kbd> again, or <kbd>Esc</kbd>, closes the panel. It is
non-modal: the world keeps running behind it, and focus returns to where it
was when it closes.
## What it shows
-All data is real and server-authoritative — the same public endpoints every
+All data is real and server-authoritative, the same public endpoints every
other surface reads, so a number never disagrees across the platform:
-- **Identity** — display name, the three.ws agent the avatar pilots (with a
+- **Identity**, display name, the three.ws agent the avatar pilots (with a
link to `/agent/<id>`), its bio, skills, creator, and ERC-8004 registration.
From `GET /api/agents/:id`.
-- **Reputation** — the 0–100 trust score with its full pillar breakdown
+- **Reputation**, the 0, 100 trust score with its full pillar breakdown
(tenure, settled volume, tips, reliability, conduct, …) and verifiable
evidence links. Rendered by the same shared component as the wallet hub.
From `GET /api/agents/:id/reputation`.
-- **Wallet** — the agent's self-custodial Solana address (copy + explorer),
+- **Wallet**, the agent's self-custodial Solana address (copy + explorer),
USD net worth, SOL balance, $THREE holding, top tokens, and tips received.
From `GET /api/agents/:id/solana/networth`. A player who signed in with a
wallet but pilots no agent gets bare balances from
`POST /api/wallet/balances`.
-- **World facts** — which world you met them in, an NPC's role and service,
+- **World facts**, which world you met them in, an NPC's role and service,
your live street location in `/city`.
-A guest with no wallet renders as exactly that — a designed empty state that
+A guest with no wallet renders as exactly that, a designed empty state that
says what's missing and how to get it. A real $0 balance shows $0. Nothing is
ever fabricated.
+## Citizens: every walker in /play is someone
+
+The ambient crowd strolling a `/play` plaza wears real community avatars from
+the public gallery (`GET /api/avatars/public`), and most of those avatars
+represent a registered three.ws agent. The world keeps that identity: any
+walker wearing a named gallery avatar shows a nameplate, and clicking the
+nameplate or the body opens this same inspector as a **Citizen** card, the
+real agent's bio, trust score, and wallet, plus a **Talk 1-on-1** action that
+starts a live, streamed, in-character conversation (the same multi-model chat
+the townsperson NPCs use, grounded in the agent's actual public profile).
+While you talk, the citizen stops and faces you, then walks briskly back to
+the shared crowd schedule when you leave.
+
+Interactive townsfolk (the vendors, quest-givers, and clerks) are selectable
+from any distance too: tapped in range they run their role action as always;
+tapped from afar their profile card opens with a Talk action instead of
+nothing. Walkers wearing the bundled default avatar carry no identity and stay
+honest, anonymous scenery, no nameplate, no profile.
+
+The identity layer lives in [`src/game/npc/citizens.js`](../src/game/npc/citizens.js).
+
## For builders
The panel is one shared module: [`src/shared/avatar-inspector.js`](../src/shared/avatar-inspector.js).
@@ -27784,17 +30142,17 @@ openAvatarInspector({
the panel. `isAvatarInspectorOpen()` and `closeAvatarInspector()` are also
exported. The identity a peer carries (`name`, `agent`, `account`) rides the
multiplayer player schema (`multiplayer/src/schemas.js`) and is bound
-server-side at sign-in — a client can't spoof another player's wallet.
+server-side at sign-in, a client can't spoof another player's wallet.
Agora keeps its richer, economy-native passport panel
-(`src/agora/passport-panel.js`) — the <kbd>I</kbd> key there opens the same
+(`src/agora/passport-panel.js`), the <kbd>I</kbd> key there opens the same
passport the click path always has.
-Related reading: [agent reputation](#sec-054) · [Agora](#sec-071).
+Related reading: [agent reputation](#sec-054) · [Agora](#sec-073).
---
-<a id="sec-105"></a>
+<a id="sec-110"></a>
> **Source:** `docs/avatar-pipeline.md` · [↑ table of contents](#table-of-contents)
@@ -27803,8 +30161,8 @@ Related reading: [agent reputation](#sec-054) · [Agora](#sec-071).
This is the end-to-end view of how a text prompt or image becomes a rigged,
animated 3D avatar on three.ws — from generation, through auto-rigging, to the
universal animation system that drives any humanoid skeleton. It ties together the
-individual tool docs ([Avatar creation](#sec-101),
-[Avatar Studio](#sec-128), [Animations](#sec-088),
+individual tool docs ([Avatar creation](#sec-106),
+[Avatar Studio](#sec-133), [Animations](#sec-091),
[3D asset pipeline](#sec-002)) into one map.
---
@@ -27831,7 +30189,7 @@ prompt / image
Generation quality is a **tier** ([api/_lib/forge-tiers.js](../api/_lib/forge-tiers.js)): `draft`, `standard`
(default), or `high` — more geometric budget at higher tiers. The tier sets the
price identically across REST and MCP transports (see
-[MCP tools](#sec-228), [x402 endpoints](#sec-452)).
+[MCP tools](#sec-270), [x402 endpoints](#sec-501)).
### ② Auto-rig
@@ -27908,22 +30266,22 @@ an avatar still animates.
A finished avatar is a GLB (plus optional rig + clips) viewable in the three.ws
viewer, embeddable as a web component, and attachable to an agent. Paid
generation/editing is metered per call over x402; the free studio lane requires no
-account. See [Avatar creation](#sec-101) and
-[Avatar Studio](#sec-128) for the authoring UIs, and
-[Mesh editing tools](#sec-228) for retexture / stylize / remesh / segment /
+account. See [Avatar creation](#sec-106) and
+[Avatar Studio](#sec-133) for the authoring UIs, and
+[Mesh editing tools](#sec-270) for retexture / stylize / remesh / segment /
pose operations.
## Related
-- [Selfie → Avatar reconstruction](#sec-106) — the separate lane that fits a *person's photo* onto a rigged template (face texture + geometry morph), rather than generating a mesh from a prompt.
-- [Animations](#sec-088) — the clip library and retargeting in depth.
+- [Selfie → Avatar reconstruction](#sec-111) — the separate lane that fits a *person's photo* onto a rigged template (face texture + geometry morph), rather than generating a mesh from a prompt.
+- [Animations](#sec-091) — the clip library and retargeting in depth.
- [3D asset pipeline](#sec-002) — formats, optimization, validation.
-- [NVIDIA free models](#sec-248) — the free generation backend.
-- [MCP tools](#sec-228) — every generation/editing tool and its price.
+- [NVIDIA free models](#sec-290) — the free generation backend.
+- [MCP tools](#sec-270) — every generation/editing tool and its price.
---
-<a id="sec-106"></a>
+<a id="sec-111"></a>
> **Source:** `docs/avatar-reconstruction.md` · [↑ table of contents](#table-of-contents)
@@ -27931,7 +30289,7 @@ pose operations.
This is the subsystem that turns a **user's photo** (or a text→image reference)
into a rigged, animation-ready 3D avatar. It is distinct from the Forge
-generation lane in the [Avatar Pipeline](#sec-105): the Forge generates
+generation lane in the [Avatar Pipeline](#sec-110): the Forge generates
an *arbitrary* mesh from a prompt, whereas reconstruction fits a *specific
person* onto a fixed, pre-rigged template — the same architecture Avaturn and
Ready Player Me use, and the reason the output is born-rigged with facial
@@ -28009,7 +30367,7 @@ closes that gap:
ISE sweep over the 40-face reference set (`python -m eval.tune_morph`), not by
eye. They cut mean ISE 43% against the original 0.75 / 0.18, whose ~1.9 cm
displacement ceiling was throttling genuine facial variation rather than
-rejecting outliers. See [avatar-fidelity-program.md](#sec-103)
+rejecting outliers. See [avatar-fidelity-program.md](#sec-108)
for why the sweep's own looser optimum was deliberately not shipped.
Because vertex count and order never change, `glb_ops.set_head_geometry` writes
@@ -28102,7 +30460,7 @@ is unencumbered.
## Roadmap — beating Avaturn on fidelity
> The active plan built on this roadmap — tracks, owners, capacity and credit
-> allocation — is [avatar-fidelity-program.md](#sec-103).
+> allocation — is [avatar-fidelity-program.md](#sec-108).
> Fidelity claims are scored with the ISE metric in
> [`workers/avatar-reconstruction/eval/`](../workers/avatar-reconstruction/eval/README.md).
@@ -28151,7 +30509,7 @@ Full runbook: [`docs/ops/gcp-production.md`](ops/gcp-production.md).
---
-<a id="sec-107"></a>
+<a id="sec-112"></a>
> **Source:** `docs/avatar-studio.md` · [↑ table of contents](#table-of-contents)
@@ -28215,7 +30573,7 @@ curl 'https://three.ws/api/avatars/<avatarId>' -H 'cookie: <session>'
## States & limits
- **No selfie, no camera.** This is the from-scratch path. To build an avatar from a photo, use the platform's selfie-to-avatar flow under [/create](https://three.ws/create) instead.
-- **Two base bodies.** Create mode starts from the Stylized feminine base or the bare Parametric base (which covers masculine, feminine, and everything between via its body sliders). Switching base reloads the studio, so it asks before discarding unsaved changes. The posable primitive with a build toggle lives in [Animation Studio](#sec-087).
+- **Two base bodies.** Create mode starts from the Stylized feminine base or the bare Parametric base (which covers masculine, feminine, and everything between via its body sliders). Switching base reloads the studio, so it asks before discarding unsaved changes. The posable primitive with a build toggle lives in [Animation Studio](#sec-090).
- **The Parametric base ships bare.** No hair or outfit meshes yet, so the hair/outfit color slots and the Layers block do not appear on it; hats, glasses, and earrings attach normally. Conforming hair and garments are the next phase of the parametric roadmap ([prompts/roadmap/avatar-parametric-editor.md](../prompts/roadmap/avatar-parametric-editor.md)).
- **Sculpt depends on the base's morphs.** The face/body sliders render against whatever morph targets the base GLB exposes; a slot with no matching morph simply does not appear. Proportions are independent of morphs: they need only a canonical humanoid skeleton, so they work on a rig with no blendshapes at all. Height is the one parameter that needs an armature node above the hips, and is hidden on rigs whose hips sit directly in the scene.
- **Save requires an account.** Export happens client-side, but persisting the avatar to your library needs sign-in. Optimization is best-effort: if compression fails, the original export is saved untouched so the save always completes.
@@ -28224,16 +30582,16 @@ curl 'https://three.ws/api/avatars/<avatarId>' -H 'cookie: <session>'
## Related
-- [Animation Studio](#sec-087): pose and keyframe the avatar you build here.
-- [Scene Composer](#sec-139): forge props and attach them to the avatar's bones as a saved outfit.
-- [Mocap Studio](#sec-237): drive the avatar's face live from your webcam.
-- [Restyle Studio](#sec-307): shares the same GLB optimize-and-validate path.
-- [Trait-based avatar builder](#sec-128): the separate VRM studio embedded in the agent editor; a deep dive into its internals.
+- [Animation Studio](#sec-090): pose and keyframe the avatar you build here.
+- [Scene Composer](#sec-146): forge props and attach them to the avatar's bones as a saved outfit.
+- [Mocap Studio](#sec-279): drive the avatar's face live from your webcam.
+- [Restyle Studio](#sec-354): shares the same GLB optimize-and-validate path.
+- [Trait-based avatar builder](#sec-133): the separate VRM studio embedded in the agent editor; a deep dive into its internals.
- [/create](https://three.ws/create): the hub for every avatar-creation path, including selfie-to-avatar.
---
-<a id="sec-108"></a>
+<a id="sec-113"></a>
> **Source:** `docs/avatar-thumbnails.md` · [↑ table of contents](#table-of-contents)
@@ -28471,7 +30829,7 @@ that adoption HEAD-checks the preview object before persisting it.
---
-<a id="sec-109"></a>
+<a id="sec-114"></a>
> **Source:** `docs/avatar-wardrobe.md` · [↑ table of contents](#table-of-contents)
@@ -28618,13 +30976,13 @@ bricking the avatar.
## Related
-- [`docs/avatar-reconstruction.md`](#sec-106) — selfie → avatar
-- [`docs/avatar-fidelity-program.md`](#sec-103) — identity fidelity program
+- [`docs/avatar-reconstruction.md`](#sec-111) — selfie → avatar
+- [`docs/avatar-fidelity-program.md`](#sec-108) — identity fidelity program
- [`specs/GARMENT_MANIFEST.md`](../specs/GARMENT_MANIFEST.md) — the wearable contract
---
-<a id="sec-110"></a>
+<a id="sec-115"></a>
> **Source:** `docs/aws-builder-center-agent-payment-sessions.md` · [↑ table of contents](#table-of-contents)
@@ -29077,7 +31435,7 @@ An autonomous agent with a private key is a liability you cannot bound. An auton
---
-<a id="sec-111"></a>
+<a id="sec-116"></a>
> **Source:** `docs/aws-builder-center-marketplace-x402.md` · [↑ table of contents](#table-of-contents)
@@ -29341,7 +31699,7 @@ The product on the other side of all this plumbing is the platform: three.ws age
---
-<a id="sec-112"></a>
+<a id="sec-117"></a>
> **Source:** `docs/aws-builder-center-mcp-agents.md` · [↑ table of contents](#table-of-contents)
@@ -29456,7 +31814,7 @@ If you wire it into something, or you want to list a paid tool of your own, the
---
-<a id="sec-113"></a>
+<a id="sec-118"></a>
> **Source:** `docs/aws-builder-center.md` · [↑ table of contents](#table-of-contents)
@@ -29468,7 +31826,7 @@ This page is the index of that writing: what is published, where it lives, and w
- **Profile:** [builder.aws.com/community/@threews](https://builder.aws.com/community/@threews)
- **Account:** organization account, byline "three.ws"
-- **Related surfaces:** [three.ws/aws](https://three.ws/aws) (AWS Partner page), [AWS Marketplace listing](#sec-115), [AWS partner spotlight](#sec-116)
+- **Related surfaces:** [three.ws/aws](https://three.ws/aws) (AWS Partner page), [AWS Marketplace listing](#sec-120), [AWS partner spotlight](#sec-121)
## Published articles
@@ -29478,9 +31836,9 @@ Published 30 May 2026. Tags: `aws-payment-cryptography`, `blockchain`, `metadata
> [Read it on the AWS Builder Center](https://builder.aws.com/content/3ESpll50BdSp9eiCEIxcfG9pGUN/how-we-metered-a-saas-product-through-aws-marketplace-with-the-aws-sdk-for-javascript-v3)
-The full AWS Marketplace SaaS usage-based integration, end to end: `ResolveCustomer` on the fulfillment URL, `MeterUsage` and `BatchMeterUsage` for consumption reporting, `GetEntitlements` for tiered feature gating, and SNS lifecycle webhooks with real signature verification. It closes on the part nobody else writes about: bridging an AWS `CustomerIdentifier` into the same access check that already served an on-chain [x402](#sec-098) paywall, so one authorization path bills two economies.
+The full AWS Marketplace SaaS usage-based integration, end to end: `ResolveCustomer` on the fulfillment URL, `MeterUsage` and `BatchMeterUsage` for consumption reporting, `GetEntitlements` for tiered feature gating, and SNS lifecycle webhooks with real signature verification. It closes on the part nobody else writes about: bridging an AWS `CustomerIdentifier` into the same access check that already served an on-chain [x402](#sec-103) paywall, so one authorization path bills two economies.
-- **Source draft in this repo:** [aws-builder-center-marketplace-x402.md](#sec-111)
+- **Source draft in this repo:** [aws-builder-center-marketplace-x402.md](#sec-116)
- **Code it documents:** [`api/aws-marketplace/`](https://github.com/nirholas/three.ws/tree/main/api/aws-marketplace), [`api/_lib/aws-marketplace.js`](https://github.com/nirholas/three.ws/blob/main/api/_lib/aws-marketplace.js), [`api/_lib/aws-marketplace-bridge.js`](https://github.com/nirholas/three.ws/blob/main/api/_lib/aws-marketplace-bridge.js)
- **Announcement:** [three.ws Publishes on the AWS Builder Center Blog](https://three.ws/news/aws-builder-center-blog)
@@ -29492,7 +31850,7 @@ Published 27 June 2026. Tags: `ai`, `agent-toolkit`, `blockchain`, `aws-partners
The platform-level piece: browser-native 3D AI agents with memory, on-chain wallets, and autonomous payments, available on AWS Marketplace, embeddable in one line of HTML, and governed before they act. Written for AWS builders evaluating three.ws as an agent runtime rather than as a 3D asset tool.
-- **Surfaces it covers:** [the `<agent-3d>` web component](#sec-443), [agent wallets](#sec-068), [the agent system](#sec-061), [AWS Marketplace procurement](#sec-115)
+- **Surfaces it covers:** [the `<agent-3d>` web component](#sec-491), [agent wallets](#sec-070), [the agent system](#sec-062), [AWS Marketplace procurement](#sec-120)
## Published by AWS about three.ws
@@ -29506,7 +31864,7 @@ Published 26 June 2026 by Kelly Wu (AWS). Part of the AWS-run series "AWS Partne
A builder's guide to the agentic economy that uses the three.ws stack as its worked example throughout: the x402 handshake and its three layers, MCP as the distribution layer for agent capabilities, agent-to-agent payments, on-chain agent identity (ERC-8004 and the SPL skill licenses), agent tokens on the bonding curve, and 3D embodiment. It walks the hosted MCP servers, the `@three-ws/*` payment SDKs, and the FSI use cases for per-call data access, and closes on the open problems: payment streaming, automatic cross-chain routing, agent reputation as a credit primitive, and org-scale spend governance.
-- **Surfaces it covers:** [the MCP servers](#sec-230), [x402](#sec-098), [agent wallets](#sec-068), [the `<agent-3d>` web component](#sec-443)
+- **Surfaces it covers:** [the MCP servers](#sec-272), [x402](#sec-103), [agent wallets](#sec-070), [the `<agent-3d>` web component](#sec-491)
- **Canonical URL note:** the Builder Center strips digits from slugs, so `x402` becomes `x` and `3d` becomes `d` in the path. The URL above is the one AWS publishes in its own [sitemap](https://builder.aws.com/sitemaps/articles/2026-6.xml); a slug containing the digits also resolves, because the content ID is what routes.
## In draft
@@ -29515,8 +31873,8 @@ Written and reviewed in this repo, not yet submitted:
| Draft | Subject |
|---|---|
-| [aws-builder-center-agent-payment-sessions.md](#sec-110) | Agent Payment Sessions: giving an agent a budget instead of a private key, and enforcing it atomically in Postgres |
-| [aws-builder-center-mcp-agents.md](#sec-112) | An MCP server whose paid tools settle per call in USDC over HTTP 402 |
+| [aws-builder-center-agent-payment-sessions.md](#sec-115) | Agent Payment Sessions: giving an agent a budget instead of a private key, and enforcing it atomically in Postgres |
+| [aws-builder-center-mcp-agents.md](#sec-117) | An MCP server whose paid tools settle per call in USDC over HTTP 402 |
## Publishing checklist
@@ -29536,7 +31894,7 @@ The Builder Center is where AWS customers evaluating a partner product go lookin
---
-<a id="sec-114"></a>
+<a id="sec-119"></a>
> **Source:** `docs/aws-marketplace-listing-kit.md` · [↑ table of contents](#table-of-contents)
@@ -29545,7 +31903,7 @@ The Builder Center is where AWS customers evaluating a partner product go lookin
Paste-ready content and the exact step sequence to create the **AI agents & tools**
product in the AWS Marketplace Management Portal (AMMP). The backend integration
(register URL, SNS webhook, key issuance, account linking) is already built and
-deployed — see [aws-marketplace.md](#sec-115). This doc covers the
+deployed — see [aws-marketplace.md](#sec-120). This doc covers the
listing itself, which has not yet been created (the AMMP "AI agents & tools
products" page shows "No products to display").
@@ -29906,7 +32264,7 @@ creation time (`saas-create-product` says the EventBridge configuration appears
---
-<a id="sec-115"></a>
+<a id="sec-120"></a>
> **Source:** `docs/aws-marketplace.md` · [↑ table of contents](#table-of-contents)
@@ -29938,8 +32296,38 @@ If you are integrating three.ws programmatically after subscribing via AWS Marke
|---|---|
| `POST /api/aws-marketplace/register` | Registration URL — receives the Marketplace token, resolves the customer, and starts onboarding |
| `POST /api/aws-marketplace/subscription` | SNS webhook — receives subscription lifecycle events from AWS |
+| `POST /api/aws-marketplace/link` | Attaches your resolved AWS customer record to your signed-in three.ws account. Called by the welcome page; requires a session cookie. |
+| `POST /api/aws-marketplace/issue-key` | Mints (or returns) the x402 API key for your linked subscription. The plaintext key is returned once, on first issue. |
+
+`register` and `subscription` are called automatically by AWS during the subscription flow; you do not need to call them directly. `link` and `issue-key` are called by the welcome page on your behalf once you sign in.
+
+Both `link` and `issue-key` require an active session and refuse a subscription that belongs to someone else, so a given AWS customer record can only ever be attached to one three.ws account:
+
+| Status | Meaning |
+|---|---|
+| `401 unauthenticated` | No valid session cookie. Sign in, then retry. |
+| `403 customer_linked_to_other_account` | This AWS subscription is already attached to a different three.ws account. |
+| `404 customer_not_found` | The customer identifier is unknown. Re-open the setup link from AWS Marketplace. |
+| `409 subscription_inactive` | The AWS subscription is cancelled or expired. Re-subscribe in AWS Marketplace first. |
-These endpoints are called automatically by AWS during the subscription flow. You do not need to call them directly.
+### Operator configuration
+
+The integration reads its AWS credentials from the environment and ships inert without them: nothing fabricates an entitlement AWS did not grant.
+
+| Variable | Required | Purpose |
+|---|---|---|
+| `AWS_MP_ACCESS_KEY_ID` | Yes | Credentials for ResolveCustomer, MeterUsage, and GetEntitlements. |
+| `AWS_MP_SECRET_ACCESS_KEY` | Yes | Paired secret for the above. |
+| `AWS_MP_PRODUCT_CODE` | Yes | Product code from the Marketplace listing. |
+| `AWS_MP_SNS_TOPIC_ARN` | Yes, for the webhook | The Marketplace SNS topic. `POST /api/aws-marketplace/subscription` answers `503 not_configured` until it is set. |
+| `AWS_MP_REGION` | No (default `us-east-1`) | Region for the Marketplace API clients. |
+| `AWS_MP_METERING_DIMENSION` | No | Set for a usage-based listing to report MeterUsage per granted call. Leave unset for a contract listing. |
+| `AWS_MP_ENTITLEMENT_REQUIRED` | No | Set truthy on a contract listing to gate key issuance on a live GetEntitlements check. |
+| `AWS_MP_DEFAULT_RATE_LIMIT_PER_MINUTE` | No (default `600`) | Rate limit stamped on issued keys. Override per offer with `AWS_MP_RATE_LIMIT_<OFFER_ID>`. |
+
+**`AWS_MP_SNS_TOPIC_ARN` is not optional in practice.** A valid SNS signature only proves that some AWS account signed the message: anyone can create an SNS topic in their own account and have AWS sign a notification for it. The topic ARN is what binds the webhook to this listing, so without it a forged `subscribe-success` could mint a free API key and a forged `unsubscribe-success` could revoke a paying customer's. The handler therefore refuses delivery outright rather than trusting an unpinned topic. SNS retries with backoff, so notifications that arrive during a misconfiguration are redelivered once the variable is set.
+
+If the registration URL is hit while the AWS credentials are missing, the customer is redirected to `/aws-marketplace/error?reason=not_configured` (not `token_expired`) and the missing variables are named in the server log.
## Support
@@ -29949,7 +32337,7 @@ For platform support, open an issue at [github.com/nirholas/three.ws/issues](htt
---
-<a id="sec-116"></a>
+<a id="sec-121"></a>
> **Source:** `docs/aws-partner-spotlight.md` · [↑ table of contents](#table-of-contents)
@@ -30045,7 +32433,7 @@ One product. Two ways to pay. One AWS bill.
---
-<a id="sec-117"></a>
+<a id="sec-122"></a>
> **Source:** `docs/bnb-babt-findings.md` · [↑ table of contents](#table-of-contents)
@@ -30241,7 +32629,7 @@ shipped:
---
-<a id="sec-118"></a>
+<a id="sec-123"></a>
> **Source:** `docs/bnb-payments.md` · [↑ table of contents](#table-of-contents)
@@ -30414,7 +32802,7 @@ full verified-facts list.
---
-<a id="sec-119"></a>
+<a id="sec-124"></a>
> **Source:** `docs/bnb-vault.md` · [↑ table of contents](#table-of-contents)
@@ -30562,7 +32950,7 @@ this campaign, not a bug in this code path.
---
-<a id="sec-120"></a>
+<a id="sec-125"></a>
> **Source:** `docs/bnb-world.md` · [↑ table of contents](#table-of-contents)
@@ -30798,7 +33186,7 @@ reproduction commands are recorded in `contracts/DEPLOYMENTS.md`'s "Prompt
## Related
-- [BNB Chain payments](#sec-118) — the MPP/x402 payment rail this
+- [BNB Chain payments](#sec-123) — the MPP/x402 payment rail this
campaign also shipped, same `api/_lib/bnb/` namespace.
- `contracts/src/WorldMoves.sol` — the contract itself, full NatSpec.
- `contracts/DEPLOYMENTS.md` — deploy status, bytecode, and every real
@@ -30809,7 +33197,7 @@ reproduction commands are recorded in `contracts/DEPLOYMENTS.md`'s "Prompt
---
-<a id="sec-121"></a>
+<a id="sec-126"></a>
> **Source:** `docs/brain.md` · [↑ table of contents](#table-of-contents)
@@ -30830,7 +33218,7 @@ same prompt, at the same moment, across every candidate, with real timing. Brain
gives you that: a compare view that fans one prompt out to the whole roster and shows
you who answered first, who was most thorough, and what each one cost in tokens. It
also doubles as the model picker behind the Brain tab of
-[Agent Studio](#sec-059), so the model you pick here is the model your agent
+[Agent Studio](#sec-060), so the model you pick here is the model your agent
runs on.
## How it works
@@ -30884,7 +33272,7 @@ keys.
5. **Read the stats.** When a model finishes, its column shows total elapsed time and
token usage from the `done` event.
6. **Commit a choice.** Carry the winner into your agent via the Brain tab of
- [Agent Studio](#sec-059).
+ [Agent Studio](#sec-060).
## Examples
@@ -30896,7 +33284,7 @@ curl -s https://three.ws/api/brain/chat
```
Stream one model's answer as SSE (the free default needs no auth; paid models need a
-session or bearer token, see [Authentication](#sec-096)):
+session or bearer token, see [Authentication](#sec-101)):
```bash
curl -N -s -X POST https://three.ws/api/brain/chat \
@@ -30939,15 +33327,15 @@ done; wait
## Related
-- [Agent Studio](#sec-059): the Brain tab uses this same backend
-- [Agent System](#sec-061): how a chosen brain fits the agent model
-- [Persona Hub](#sec-270): synthesizing the system prompt a brain runs
-- [API reference](#sec-089) and [Authentication](#sec-096)
+- [Agent Studio](#sec-060): the Brain tab uses this same backend
+- [Agent System](#sec-062): how a chosen brain fits the agent model
+- [Persona Hub](#sec-312): synthesizing the system prompt a brain runs
+- [API reference](#sec-094) and [Authentication](#sec-101)
- Pages: [/brain](https://three.ws/brain), [/agent-studio](https://three.ws/agent-studio)
---
-<a id="sec-122"></a>
+<a id="sec-127"></a>
> **Source:** `docs/btn-pill-migration.md` · [↑ table of contents](#table-of-contents)
@@ -31071,7 +33459,7 @@ These classes are defined across the codebase. Follow-up agents should replace t
---
-<a id="sec-123"></a>
+<a id="sec-128"></a>
> **Source:** `docs/build.md` · [↑ table of contents](#table-of-contents)
@@ -31236,13 +33624,13 @@ grep -l 'vite-plugin-pwa:register-sw' dist/widget.html dist/embed.html # expec
---
-<a id="sec-124"></a>
+<a id="sec-129"></a>
> **Source:** `docs/ca2x402.md` · [↑ table of contents](#table-of-contents)
# CA to x402
-Paste a token contract address, get back a live, agent-payable [x402](#sec-456)
+Paste a token contract address, get back a live, agent-payable [x402](#sec-506)
market-intel endpoint for that exact token. The generated endpoint costs a small
USDC payment per call, is discoverable in the x402 bazaar, and needs no keys, no
backend, and no deploy from the person who generated it.
@@ -31367,7 +33755,7 @@ The generated x402 service for that exact token:
| Field | Value |
| -------------------------------- | ---------------------------------------------------------------------------- |
| `name` | `three.ws Token Oracle` |
-| `endpoint` | `<origin>/api/x402/token-intel?mint=<MINT_ADDRESS>` |
+| `endpoint` | `<APP_ORIGIN>/api/x402/token-intel?mint=<MINT_ADDRESS>` |
| `method` | `GET` |
| `price_atomics` / `price_usd` | USDC atomics from `priceFor('token-intel', '10000')`, plus the same value divided by `1e6`. Default is `10000` atomics, which is $0.01. |
| `asset` | `USDC` |
@@ -31379,13 +33767,20 @@ The generated x402 service for that exact token:
| `bazaar_discoverable` | `true` |
| `snippets` | `{ curl, node, agent }`, see below |
-The endpoint origin is derived from the request (`x-forwarded-proto` /
-`x-forwarded-host`, falling back to `three.ws`), so a local dev resolve generates
-a local endpoint and production generates a production one.
+The endpoint origin is always `env.APP_ORIGIN` (set from `PUBLIC_APP_ORIGIN`,
+defaulting to `https://three.ws`). It is deliberately NOT derived from the
+request's `host` / `x-forwarded-host` headers: those are caller-controlled, and
+everything downstream of this URL is a payment instruction, so a spoofed host
+would hand the buyer an attacker-owned 402 challenge to settle against. Because
+the 200 is CDN-cacheable, a poisoned copy could then be served on to other
+visitors. Same reasoning as `resolveResourceUrl()` in
+[`api/_lib/x402-spec.js`](../api/_lib/x402-spec.js). A local dev resolve
+therefore generates the production endpoint URL, which is the one a buyer
+actually settles against.
Operators can retune the price at deploy time with
`X402_PRICE_TOKEN_INTEL=<atomics>`; a non-integer value logs a warning and falls
-back to the default. See [x402 paid endpoints](#sec-452) for the full
+back to the default. See [x402 paid endpoints](#sec-501) for the full
price-override scheme.
---
@@ -31401,7 +33796,7 @@ A standard three.ws paid endpoint built on the shared handler
`X-PAYMENT` header gets a `402` challenge carrying the accepted networks, asset,
price, and pay-to address; the buyer retries with a signed payment and receives
the intel. Settlement is recorded like any other endpoint payment (see
-[x402 revenue and receipts](#sec-453)).
+[x402 revenue and receipts](#sec-502)).
The paid response body is the token block computed fresh at call time:
@@ -31538,16 +33933,16 @@ right now. If the endpoint is unreachable the page says so and offers a retry.
## Related
-- [x402 on three.ws](#sec-456): the protocol, the wire format, and how the
+- [x402 on three.ws](#sec-506): the protocol, the wire format, and how the
platform settles.
-- [x402 paid endpoints](#sec-452): the full catalog of our paid
+- [x402 paid endpoints](#sec-501): the full catalog of our paid
endpoints, their prices, and the `X402_PRICE_*` override scheme.
-- [x402 revenue and receipts](#sec-453): where a settled payment for this
+- [x402 revenue and receipts](#sec-502): where a settled payment for this
endpoint is recorded and how the buyer's receipt is issued.
---
-<a id="sec-125"></a>
+<a id="sec-130"></a>
> **Source:** `docs/capture.md` · [↑ table of contents](#table-of-contents)
@@ -31563,7 +33958,7 @@ Photogrammetry and SLAM traditionally mean an offline pipeline: extract frames,
## How it works
-The endpoint (`api/scene-capture.js`) routes to `workers/model-video2scene`, a GPU worker on Cloud Run running **LingBot-Map**, a feed-forward Geometric Context Transformer that reconstructs dense world-space geometry directly from video frames. You submit a public https URL to an mp4, mov, or webm; the handler resolves and validates the host itself (rejecting private, loopback, and metadata IPs as defense in depth against SSRF) before handing the URL to the worker. Submission returns `202 { job_id, status, eta_seconds }`, and the browser polls `GET /api/scene-capture?job=<id>` until the worker returns a `result_url` for the finished `.ply`, along with `num_points` and `frames`.
+The endpoint (`api/scene-capture.js`) routes to `workers/model-video2scene`, a Cloud Run GPU worker running **LingBot-Map**, a feed-forward Geometric Context Transformer that reconstructs dense world-space geometry directly from video frames. The worker and its model weights are ready; the service itself is not deployed yet, so today `/capture` runs the unconfigured path described below (sample cloud plus bring-your-own `.ply`) until `GCP_VIDEO2SCENE_URL` is set. You submit a public https URL to an mp4, mov, or webm; the handler resolves and validates the host itself (rejecting private, loopback, and metadata IPs as defense in depth against SSRF) before handing the URL to the worker. Submission returns `202 { job_id, status, eta_seconds }`, and the browser polls `GET /api/scene-capture?job=<id>` until the worker returns a `result_url` for the finished `.ply`, along with `num_points` and `frames`.
Reconstruction exposes real, clamped sampling knobs:
@@ -31579,6 +33974,8 @@ Reconstruction exposes real, clamped sampling knobs:
| `voxel_size` | 0-10 | 0 | Optional voxel downsampling. |
| `mask_sky` | bool | true | Drop sky pixels so open scenes don't fill with noise. |
+One job covers 512 frames, which is 64 seconds at the default `fps: 8`. Fusion holds every pixel of every frame in memory at once, so the cap is host RAM, not model capability: film longer and lower `fps` rather than expecting a longer clip to be reconstructed whole. A longer input is reconstructed up to the cap, and the poll response carries `frames_truncated: true` so a partial scene never reads as the whole clip.
+
The result is a binary `.ply` the page renders client-side with a WebGL point-cloud viewer (`src/scene-capture.js` and `pointcloud-viewer.js`). Every state is designed: idle, submitting, processing (with an elapsed timer and stage hints), live, and error. There is no mock path: when the worker env (`GCP_VIDEO2SCENE_URL` and `GCP_RECONSTRUCTION_KEY`) is not configured, the endpoint returns a clean 503 and the page still proves the renderer end-to-end with a built-in sample room cloud. You can also load any `.ply` you already have by URL or file, so the viewer is useful even where reconstruction is offline.
## Walkthrough
@@ -31641,14 +34038,14 @@ console.log(job.result_url, job.num_points); // coloured .ply + point count
## Related
-- [Splat Viewer](#sec-333) renders Gaussian-splat radiance fields, the photoreal cousin of point clouds.
+- [Splat Viewer](#sec-380) renders Gaussian-splat radiance fields, the photoreal cousin of point clouds.
- [/avatar-engines](https://three.ws/avatar-engines) covers the Geometric Context Transformer and related capture engines.
-- [Forge](#sec-184) and [Image to 3D](#sec-206) for generating meshes from prompts and photos.
+- [Forge](#sec-221) and [Image to 3D](#sec-247) for generating meshes from prompts and photos.
- Pages: [/scene](https://three.ws/scene) (Scene Studio), [/create](https://three.ws/create).
---
-<a id="sec-126"></a>
+<a id="sec-131"></a>
> **Source:** `docs/changelog.md` · [↑ table of contents](#table-of-contents)
@@ -31980,7 +34377,7 @@ cd sdk && npm publish
---
-<a id="sec-127"></a>
+<a id="sec-132"></a>
> **Source:** `docs/character-library.md` · [↑ table of contents](#table-of-contents)
@@ -31991,7 +34388,7 @@ The Character Library is a free, curated gallery of professionally rigged humano
Page: [/character-library](https://three.ws/character-library) · API: `GET /api/avatars/library`
Source: [`pages/character-library.html`](../pages/character-library.html) · [`src/character-library.js`](../src/character-library.js) · [`api/avatars/library.js`](../api/avatars/library.js)
-> This page covers the character gallery and its API. For the motion clips these characters play, see [Animations](#sec-088). For the free prop counterpart to this library, see the [Object Library](#sec-250).
+> This page covers the character gallery and its API. For the motion clips these characters play, see [Animations](#sec-091). For the free prop counterpart to this library, see the [Object Library](#sec-292).
---
@@ -31999,7 +34396,7 @@ Source: [`pages/character-library.html`](../pages/character-library.html) · [`s
106 professionally rigged Mixamo humanoid characters (Y Bot, X Bot, Warrok, Remy, Vanguard, zombies, knights, and more), staged as optimized GLBs on the R2 CDN. The manifest can also merge additional CC0 characters from other sources (for example Quaternius), so the API's `total` field is the authoritative count and can exceed 106.
-Every entry is animation-ready: the GLB carries a skinned mesh, and the three.ws runtime retargets the canonical clip library onto it automatically (see [Animations](#sec-088) for how retargeting and the clip registry work). There is no per-character allowlist; any character in the library plays any clip.
+Every entry is animation-ready: the GLB carries a skinned mesh, and the three.ws runtime retargets the canonical clip library onto it automatically (see [Animations](#sec-091) for how retargeting and the clip registry work). There is no per-character allowlist; any character in the library plays any clip.
## Using the gallery
@@ -32007,9 +34404,9 @@ Each card renders the character live in an auto-rotating `<model-viewer>` (with
| Button | Destination | What you get |
|---|---|---|
-| **Preview** | `/app#model=<glb-url>` | The full three.js [3D viewer](#sec-440) |
-| **Use** | `/studio?model=<glb-url>` | [Widget Studio](#sec-445): configure and publish an embeddable widget of this character (see the [Embedding Guide](#sec-173)) |
-| **Animate** | `/pose?src=<glb-url>&title=<name>` | [Animation Studio](#sec-087): pose, keyframe, and export motion on this character |
+| **Preview** | `/app#model=<glb-url>` | The full three.js [3D viewer](#sec-488) |
+| **Use** | `/studio?model=<glb-url>` | [Widget Studio](#sec-493): configure and publish an embeddable widget of this character (see the [Embedding Guide](#sec-180)) |
+| **Animate** | `/pose?src=<glb-url>&title=<name>` | [Animation Studio](#sec-090): pose, keyframe, and export motion on this character |
Gallery controls:
@@ -32095,25 +34492,25 @@ The gallery and API are read-only consumers of a manifest built by a local pipel
3. `scripts/fetch-mixamo-avatar-thumbnails.mjs` stages the PNG thumbnails.
4. `scripts/build-mixamo-avatar-library.mjs` reads `public/avatars/mixamo/catalog.json`, merges the extra CC0 characters from `public/avatars/extra/characters.json`, and PUTs `avatars/library/manifest.json` to R2 (`--dry-run` prints without uploading).
-R2 CORS is configured by `scripts/set-r2-cors.mjs` so browsers can GET the GLBs cross-origin. The live bucket policy is an origin allowlist (`three.ws`, `*.vercel.app`, `localhost:3000`) that predates the world-open read rule now in that script, so a GLB loaded straight from the CDN on any other origin fails with no `access-control-allow-origin` header. Measure the live policy with `node scripts/set-r2-cors.mjs --probe`; until it is corrected, embeds on third-party origins should route the GLB through [`/api/glb`](media-api.md#same-origin-glb-proxy), as [the embed tutorial](#sec-363) does.
+R2 CORS is configured by `scripts/set-r2-cors.mjs` so browsers can GET the GLBs cross-origin. The live bucket policy is an origin allowlist (`three.ws`, `*.vercel.app`, `localhost:3000`) that predates the world-open read rule now in that script, so a GLB loaded straight from the CDN on any other origin fails with no `access-control-allow-origin` header. Measure the live policy with `node scripts/set-r2-cors.mjs --probe`; until it is corrected, embeds on third-party origins should route the GLB through [`/api/glb`](media-api.md#same-origin-glb-proxy), as [the embed tutorial](#sec-411) does.
## Related
-- [Animations](#sec-088): the clip library every character drives, and how retargeting works.
-- [Animation Studio](#sec-087): the `/pose` surface the Animate button opens.
-- [Widget Studio](#sec-445) and the [Embedding Guide](#sec-173): turn a library character into a live embed on any site.
-- [Object Library](#sec-250): the same free-library pattern for CC0 props and scene objects.
-- [Marketplace](#sec-223): library characters are free; the marketplace is where priced avatars, agents, and skills are bought and sold.
+- [Animations](#sec-091): the clip library every character drives, and how retargeting works.
+- [Animation Studio](#sec-090): the `/pose` surface the Animate button opens.
+- [Widget Studio](#sec-493) and the [Embedding Guide](#sec-180): turn a library character into a live embed on any site.
+- [Object Library](#sec-292): the same free-library pattern for CC0 props and scene objects.
+- [Marketplace](#sec-265): library characters are free; the marketplace is where priced avatars, agents, and skills are bought and sold.
---
-<a id="sec-128"></a>
+<a id="sec-133"></a>
> **Source:** `docs/character-studio.md` · [↑ table of contents](#table-of-contents)
-# Avatar Studio
+# Character Studio builder
-This page documents the Character Studio avatar builder: a browser-based tool for designing a customized humanoid avatar (body, hair, face, clothing, accessories) with a point-and-click interface and no 3D modeling experience required. The result is a GLB/VRM file that works with every three.ws feature: animations, the emotion system, AR viewing, and web embedding.
+This page documents the Character Studio avatar builder that powers [Avatar Studio](/docs/avatar-studio): a browser-based tool for designing a customized humanoid avatar (body, hair, face, clothing, accessories) with a point-and-click interface and no 3D modeling experience required. The result is a GLB/VRM file that works with every three.ws feature: animations, the emotion system, AR viewing, and web embedding.
It is a rebranded fork of the open-source (MIT license) [M3-org/CharacterStudio](https://github.com/M3-org/CharacterStudio) project and lives in the `character-studio/` directory of the repo.
@@ -32382,13 +34779,13 @@ For cases that need more control than the studio provides, create your avatar in
---
-<a id="sec-129"></a>
+<a id="sec-134"></a>
> **Source:** `docs/chatgpt-3d-studio-gpt.md` · [↑ table of contents](#table-of-contents)
# The "three.ws 3D Studio" custom GPT: builder configuration
-This is the canonical configuration for the **three.ws 3D Studio** custom GPT in the ChatGPT GPT Store. The action contract it calls is served from [public/.well-known/3d-studio-openapi.yaml](../public/.well-known/3d-studio-openapi.yaml) (live at `https://three.ws/.well-known/3d-studio-openapi.yaml`) and documented in [AR in ChatGPT](#sec-130). The GPT itself is configured by hand in the ChatGPT builder UI, so this file is the source of truth to paste from. If you change the GPT in the builder, mirror the change here in the same commit.
+This is the canonical configuration for the **three.ws 3D Studio** custom GPT in the ChatGPT GPT Store. The action contract it calls is served from [public/.well-known/3d-studio-openapi.yaml](../public/.well-known/3d-studio-openapi.yaml) (live at `https://three.ws/.well-known/3d-studio-openapi.yaml`) and documented in [AR in ChatGPT](#sec-135). The GPT itself is configured by hand in the ChatGPT builder UI, so this file is the source of truth to paste from. If you change the GPT in the builder, mirror the change here in the same commit.
## Why this file exists
@@ -32551,7 +34948,7 @@ Run the four suggested prompts in a fresh chat. Pass criteria:
---
-<a id="sec-130"></a>
+<a id="sec-135"></a>
> **Source:** `docs/chatgpt-ar.md` · [↑ table of contents](#table-of-contents)
@@ -32588,13 +34985,13 @@ The same free lane ships into ChatGPT twice, because ChatGPT has two integration
### 1. The ChatGPT app (Apps SDK / MCP connector)
-The MCP connector at `https://three.ws/api/mcp-studio` (no authentication) exposes ten free tools: six generation tools (`forge_free`, `text_to_avatar`, `mesh_forge`, `rig_mesh`, `forge_avatar`, `refine_model`), the `check_job` collector that picks up a generation which outran the tool call, and three persona/embodiment tools (`create_agent_persona`, `get_agent_persona`, `persona_say`). Full server documentation: [3D Studio MCP](#sec-227).
+The MCP connector at `https://three.ws/api/mcp-studio` (no authentication) exposes ten free tools: six generation tools (`forge_free`, `text_to_avatar`, `mesh_forge`, `rig_mesh`, `forge_avatar`, `refine_model`), the `check_job` collector that picks up a generation which outran the tool call, and three persona/embodiment tools (`create_agent_persona`, `get_agent_persona`, `persona_say`). Full server documentation: [3D Studio MCP](#sec-269).
Every successful tool result carries `arUrl` in its `structuredContent`, and the inline 3D widget renders it as a **View in your space** button next to the rotatable model. When the result is a rigged avatar the response additionally carries `irlUrl` and the button becomes **Bring it to life**. Refined versions (`refine_model`) each carry their own `arUrl`, so any point in the version lineage can be placed in the room.
### 2. The "three.ws 3D Studio" custom GPT (Actions)
-Not every ChatGPT plan supports connectors, so the same lane also ships as a plain REST Actions surface for the custom GPT in the GPT Store. The GPT's builder settings and instruction text live in [chatgpt-3d-studio-gpt.md](#sec-129); the REST contract it calls:
+Not every ChatGPT plan supports connectors, so the same lane also ships as a plain REST Actions surface for the custom GPT in the GPT Store. The GPT's builder settings and instruction text live in [chatgpt-3d-studio-gpt.md](#sec-134); the REST contract it calls:
```bash
curl -s -X POST https://three.ws/api/3d/studio \
@@ -32642,7 +35039,7 @@ The GPT's instructions tell it to present three links on every finished model, i
Responses set `vary: user-agent` so CDN caching stays correct per device class. Bad input (non-https, non-GLB, missing `src`) returns a designed error page, never a crash.
-The pure routing logic (`detectArTarget`, `buildSceneViewerUrl`, `planArLaunch`) lives dependency-free in [api/_lib/ar-launch.js](../api/_lib/ar-launch.js) and is covered by [tests/ar-export.test.js](../tests/ar-export.test.js). The deeper AR reference (WebXR sessions, USDZ pipeline details, optimization limits) is [docs/ar.md](#sec-092).
+The pure routing logic (`detectArTarget`, `buildSceneViewerUrl`, `planArLaunch`) lives dependency-free in [api/_lib/ar-launch.js](../api/_lib/ar-launch.js) and is covered by [tests/ar-export.test.js](../tests/ar-export.test.js). The deeper AR reference (WebXR sessions, USDZ pipeline details, optimization limits) is [docs/ar.md](#sec-097).
---
@@ -32650,7 +35047,7 @@ The pure routing logic (`detectArTarget`, `buildSceneViewerUrl`, `planArLaunch`)
AR on three.ws is not a prop viewer; it is how agents cross into physical space. When the generated model is a rigged avatar (an agent's body), the pipeline appends `kind=avatar` to the `arUrl`, and the launcher changes behavior:
-- The launch page leads with a **Bring it to life** handoff into [`/irl?avatar=<glbUrl>`](/irl), where the avatar walks, animates, and talks with the user through the camera, standing in their real room. See [IRL](#sec-210).
+- The launch page leads with a **Bring it to life** handoff into [`/irl?avatar=<glbUrl>`](/irl), where the avatar walks, animates, and talks with the user through the camera, standing in their real room. See [IRL](#sec-252).
- Android is NOT blind-redirected into Scene Viewer, because that would hide the living path. It gets the launch page too, with static placement still one tap away.
In ChatGPT this happens automatically: the avatar-producing tools (`text_to_avatar`, `rig_mesh`, `forge_avatar`) set the flag and return `irlUrl` alongside `arUrl`, and the inline widget swaps its button label accordingly.
@@ -32673,7 +35070,7 @@ A place-in-your-room link is built to be forwarded. When it is pasted into a cha
Everything above is public plumbing:
- **Plain HTTP, free:** `POST /api/3d/generate` is the keyless agent-facing twin of the studio endpoint, same lane, same `arUrl`. Contract, states, and per-IP limits: [the free 3D API](#sec-001).
-- **Any MCP client:** the connector at `/api/mcp-studio` works in Claude and every other MCP host, not just ChatGPT. Every generation it returns already carries `arUrl` (and `irlUrl` for rigged avatars) plus a [Spatial MCP](#sec-331) artifact, so no extra tool call is needed to get the AR link. To build that link set for a GLB the connector did **not** generate, use the read-only `export_ar` tool on the separate [`/api/mcp-3d` server](#sec-224), which returns `arLaunchUrl`, `sceneViewerUrl`, `viewerUrl`, and `irlUrl`. That server is account- or payment-gated and is not part of the free connector.
+- **Any MCP client:** the connector at `/api/mcp-studio` works in Claude and every other MCP host, not just ChatGPT. Every generation it returns already carries `arUrl` (and `irlUrl` for rigged avatars) plus a [Spatial MCP](#sec-378) artifact, so no extra tool call is needed to get the AR link. To build that link set for a GLB the connector did **not** generate, use the read-only `export_ar` tool on the separate [`/api/mcp-3d` server](#sec-266), which returns `arLaunchUrl`, `sceneViewerUrl`, `viewerUrl`, and `irlUrl`. That server is account- or payment-gated and is not part of the free connector.
- **By hand:** the `arUrl` format is stable. If you have a public GLB, you can construct `https://three.ws/api/ar?src=<encoded GLB>&title=<name>` yourself and it will route correctly on every device.
The generation lane is operator-funded (NVIDIA NIM running Microsoft TRELLIS for text-to-3D), so the end user pays nothing and needs no account; real per-IP rate limits apply and are documented per endpoint.
@@ -32699,20 +35096,20 @@ The generation lane is operator-funded (NVIDIA NIM running Microsoft TRELLIS for
- [Your first prompt to 3D in ChatGPT](/tutorials/first-prompt-to-3d): the user-facing walkthrough of this whole flow
- [Place your 3D model in AR](/tutorials/view-in-ar): the on-site AR tutorial
-- [3D Studio MCP](#sec-227): the free MCP server behind the ChatGPT app
+- [3D Studio MCP](#sec-269): the free MCP server behind the ChatGPT app
- [The free 3D API](#sec-001): the keyless HTTP contract with `arUrl`
-- [AR and WebXR reference](#sec-092): Quick Look, Scene Viewer, WebXR, and the USDZ pipeline in depth
-- [IRL](#sec-210): the living-agent experience behind Bring it to life
+- [AR and WebXR reference](#sec-097): Quick Look, Scene Viewer, WebXR, and the USDZ pipeline in depth
+- [IRL](#sec-252): the living-agent experience behind Bring it to life
---
-<a id="sec-131"></a>
+<a id="sec-136"></a>
> **Source:** `docs/choreography.md` · [↑ table of contents](#table-of-contents)
# Choreography
-A three.ws agent already reacts on its own: it thinks while a skill runs, nods when a model loads, celebrates a settled payment. Those are single beats, each one a **gesture slot** resolved to a clip ([Animations](#sec-088) is the reference for that layer).
+A three.ws agent already reacts on its own: it thinks while a skill runs, nods when a model loads, celebrates a settled payment. Those are single beats, each one a **gesture slot** resolved to a clip ([Animations](#sec-091) is the reference for that layer).
A **routine** is the next thing up: a named, timed sequence of those gestures, authored once and replayed on demand. Wave, then nod, then settle into idle. Inspect, think, point, present. It is the difference between an agent that twitches in response to events and one that performs.
@@ -32821,7 +35218,7 @@ Rules worth knowing before you call it:
### From an embed
-Any page already rendering an [`<agent-3d>`](#sec-173) element can perform the agent's saved routines by name:
+Any page already rendering an [`<agent-3d>`](#sec-180) element can perform the agent's saved routines by name:
```html
<agent-3d agent="YOUR_AGENT_ID"></agent-3d>
@@ -32947,14 +35344,14 @@ Coming from [/gestures](https://three.ws/gestures), the **Use in a routine** but
## Related
-- [Animations](#sec-088): clips, collections, and the slot vocabulary underneath every routine
-- [Procedural animation](#sec-276): the IK layers that run on top of whatever clip is playing
+- [Animations](#sec-091): clips, collections, and the slot vocabulary underneath every routine
+- [Procedural animation](#sec-322): the IK layers that run on top of whatever clip is playing
- [Agent manifest](#sec-053): the public document that carries `choreographies` to embeds
-- [Embedding an agent](#sec-173): the `<agent-3d>` element these methods live on
+- [Embedding an agent](#sec-180): the `<agent-3d>` element these methods live on
---
-<a id="sec-132"></a>
+<a id="sec-137"></a>
> **Source:** `docs/circulation-engine.md` · [↑ table of contents](#table-of-contents)
@@ -33116,7 +35513,7 @@ covered by [tests/circulation-three-topup.test.js](../tests/circulation-three-to
The engine runs from the `pulse-tick` cron
([api/cron/pulse-tick.js](../api/cron/pulse-tick.js)), which is fanned out every
**minute** by the `economy-tick` dispatcher (see the
-[economy heartbeat](#sec-168)) rather than scheduled on its own.
+[economy heartbeat](#sec-175)) rather than scheduled on its own.
Each tick grows the pool by up to `CIRCULATION_GROWTH_PER_TICK` agents and runs
`CIRCULATION_ACTIONS_PER_TICK` everyday actions (plus any heavyweight action that
wins first refusal). The `pulse-tick` function is bounded to a 120-second
@@ -33149,9 +35546,9 @@ loop as a payout.
| Sink | What it holds |
|---|---|
| `circulation_actions` | One row per action the engine ran (kind, actors, signature, amount). |
-| `agent_custody_events` | The canonical wallet ledger entry for every real spend/transfer (see [Money feed](#sec-238)). |
+| `agent_custody_events` | The canonical wallet ledger entry for every real spend/transfer (see [Money feed](#sec-280)). |
| `pump_agent_trades` / `pump_agent_mints` | Trade and launch records, surfaced in the pump feed and `/launches`. |
-| `skill_purchases` / `asset_purchases` | Marketplace settlement records (see [Marketplace](#sec-223)). |
+| `skill_purchases` / `asset_purchases` | Marketplace settlement records (see [Marketplace](#sec-265)). |
Real spends are written to `agent_custody_events`, which powers per-agent
portfolio balances and the agent-to-agent economy volume dashboard (all-time and
@@ -33186,15 +35583,15 @@ budget, so raise gradually and watch tick runtime and treasury balance.
## Related
-- [Money feed](#sec-238): where circulation activity surfaces.
-- [Autonomous x402 loop](#sec-098): the separate treasury-paid loop
+- [Money feed](#sec-280): where circulation activity surfaces.
+- [Autonomous x402 loop](#sec-103): the separate treasury-paid loop
that buys polling intel from our own x402 endpoints.
-- [Agent wallets](#sec-068): the custodial key model every action uses.
-- [Marketplace](#sec-223), [Coin launches](#sec-135).
+- [Agent wallets](#sec-070): the custodial key model every action uses.
+- [Marketplace](#sec-265), [Coin launches](#sec-140).
---
-<a id="sec-133"></a>
+<a id="sec-138"></a>
> **Source:** `docs/clash.md` · [↑ table of contents](#table-of-contents)
@@ -33208,7 +35605,7 @@ API: `/api/clash/[action]` with `action` one of `state`, `enlist`, `enlist-verif
## Why it exists
-Coin communities already behave like tribes. Coin Clash gives that tribalism a game loop with real stakes of identity: you can only fight for a coin you actually hold, so rallying is a public act of conviction, and a community's showing on the board is a live measure of how many holders will show up. The token gate is a real balance read, not a client-side check, which makes it a working demonstration of the same "hold, do not just claim" primitive used across the platform (see [token-gated 3D embeds](#sec-343) and [hold to access](#sec-196)). Effort wins, not market cap: a battle is decided by summed taps, so a smaller, more active army can beat a larger, quieter one.
+Coin communities already behave like tribes. Coin Clash gives that tribalism a game loop with real stakes of identity: you can only fight for a coin you actually hold, so rallying is a public act of conviction, and a community's showing on the board is a live measure of how many holders will show up. The token gate is a real balance read, not a client-side check, which makes it a working demonstration of the same "hold, do not just claim" primitive used across the platform (see [token-gated 3D embeds](#sec-390) and [hold to access](#sec-234)). Effort wins, not market cap: a battle is decided by summed taps, so a smaller, more active army can beat a larger, quieter one.
## How it works
@@ -33218,7 +35615,7 @@ The page (`src/clash.js`) polls `GET /api/clash/state` every 5 seconds (paused w
**Rounds (epochs).** Battles run on a deterministic global clock: `epoch = floor(now / EPOCH_MS)` with `EPOCH_MS` defaulting to 1 hour. Every serverless instance agrees on the current round without coordination. Matchmaking rotates the member-ranked pool by an epoch-derived hash (so the top seed does not always meet the second) and folds it into adjacent pairs; an odd count gives the lowest seed a bye. The previous round is settled lazily on each `state` read (claimed once via a Redis `SET NX`, so it is idempotent and needs no cron): faction powers are re-read, the bracket is recomputed from the power-ranked pool (so final pairings can differ from the member-ranked view shown live), and each battle is decided on raw power (higher wins, equal draws, both-zero writes no record). Win, loss, draw, and lifetime power fold into a permanent `clash:record` hash.
-**Momentum.** Each faction carries a bounded vigor bonus between 1.0 and 1.5, blended from social recency, member mass, and a positive pump.fun price move. Missing signals contribute nothing and never block a rally.
+**Momentum.** Each faction carries a bounded vigor bonus between 1.0 and 1.5, blended from social recency, member mass, and a positive price move. The price move is measured from the platform's own samples: each `state` read refreshes a faction's spot price at most once a minute (shared across the fleet through Redis, so an open tab polling every 5 seconds never re-prices anything), and each snapshot keeps a baseline that rolls forward once a day, so the move a faction is credited for spans at most 24 hours. Prices come from Jupiter with the pump.fun bonding curve as failover. Missing signals contribute nothing and never block a rally: a mint nothing can price simply fights on its social signals.
## Token-gating and enlistment
@@ -33272,15 +35669,15 @@ The Coin Clash state and leaderboard are also exposed read-only over MCP through
## Related
-- [Token-gated 3D embeds](#sec-343): the same real on-chain balance gate, applied to embeds
-- [Hold to access](#sec-196): the platform's broader hold-do-not-spend membership thesis
-- [The social layer](#sec-327): platform-wide feed, follows, and leaderboards
-- [MCP tools](#sec-230): the read-only Clash MCP server
+- [Token-gated 3D embeds](#sec-390): the same real on-chain balance gate, applied to embeds
+- [Hold to access](#sec-234): the platform's broader hold-do-not-spend membership thesis
+- [The social layer](#sec-374): platform-wide feed, follows, and leaderboards
+- [MCP tools](#sec-272): the read-only Clash MCP server
- Pages: [/clash](https://three.ws/clash) · [/communities](https://three.ws/communities)
---
-<a id="sec-134"></a>
+<a id="sec-139"></a>
> **Source:** `docs/clip-director.md` · [↑ table of contents](#table-of-contents)
@@ -33363,14 +35760,14 @@ message instead of an error, so a card is only ever minted from a real closed ro
## Related
-- [Trader Card & the claim-your-wallet wedge](#sec-344)
-- [Meta-Allocator: the ETF of degens](#sec-234)
-- [The trading surfaces](#sec-350) · [The Arena](https://three.ws/arena)
-- [Animations & gestures](#sec-088)
+- [Trader Card & the claim-your-wallet wedge](#sec-392)
+- [Meta-Allocator: the ETF of degens](#sec-276)
+- [The trading surfaces](#sec-398) · [The Arena](https://three.ws/arena)
+- [Animations & gestures](#sec-091)
---
-<a id="sec-135"></a>
+<a id="sec-140"></a>
> **Source:** `docs/coin-launches.md` · [↑ table of contents](#table-of-contents)
@@ -33404,12 +35801,12 @@ The user holds the keys; the platform never signs for them.
The agent launcher signs and submits with the agent's **custodial** Solana keypair
server-side (`launch-agent`), through the protected execution path
(`submitProtected()`). Spend caps are checked before signing (see
-[Agent wallets](#sec-158)), and the mint is registered in
+[Agent wallets](#sec-165)), and the mint is registered in
`pump_agent_mints`. The `launcher-tick` cron (every minute) drives the
autonomous launcher engine (`api/_lib/launcher-engine.js`), bounded by
per-launch and daily SOL caps, an hourly ceiling, a cadence gate, and a circuit
breaker from its `launcher_config` row; a scope whose row is disabled stays
-inert. The [circulation engine](#sec-132) also runs its own
+inert. The [circulation engine](#sec-137) also runs its own
`launch` action with separate hourly/daily caps.
## What a launch carries
@@ -33420,7 +35817,7 @@ inert. The [circulation engine](#sec-132) also runs its own
| Quote mint | Resolved to the network-correct pairing (USDC mint or SOL-paired). |
| Dev buy | A small initial buy can accompany the create (the `LAUNCH_FLOOR` covers create + tiny dev buy + fees). |
| Buyback authority | A buyback basis-points configuration can be attached to the agent mint. |
-| Mint mark | When `THREE_WS_MARK_ENFORCE` is on (the default; set `0`/`false` to disable), the mint address is vanity-ground to carry the three.ws mark (see [Mint mark](#sec-235), [Vanity protocol](#sec-005)). |
+| Mint mark | When `THREE_WS_MARK_ENFORCE` is on (the default; set `0`/`false` to disable), the mint address is vanity-ground to carry the three.ws mark (see [Mint mark](#sec-277), [Vanity protocol](#sec-005)). |
## Recording and surfacing
@@ -33429,7 +35826,7 @@ inert. The [circulation engine](#sec-132) also runs its own
| `pump_agent_mints` (mint + network keyed) | `/launches` feed, agent-profile launch history. |
| `pump_agent_trades` | Trade history for the mint. |
| `agent_custody_events` | The on-chain spend (create + dev buy). |
-| Live ticker | `coin-buy` / `agent-deploy` events (see [Money feed](#sec-238)). |
+| Live ticker | `coin-buy` / `agent-deploy` events (see [Money feed](#sec-280)). |
The `launches`, `by-agent`, and `quote` actions on `api/pump/[action].js` read
these back for the directory and detail pages. Coin detail pages render a live
@@ -33441,7 +35838,7 @@ The same dispatcher handles the full lifecycle beyond launch: `buy-prep` /
`buy-confirm`, `sell-prep` / `sell-confirm`, `portfolio`, `balances`, and
`withdraw-prep` / `withdraw-confirm`, plus strategy actions
(`strategy-backtest`, `strategy-validate`, `strategy-close-all`) that back the
-[sniper](#sec-098).
+[sniper](#sec-103).
## $THREE only
@@ -33453,14 +35850,14 @@ hardcode or surface any other specific mint as a recommendation.
## Related
-- [Solana pump.fun signals](#sec-328) — reputation/intel from pump.fun activity.
-- [Agent wallets](#sec-158) — custodial signing and spend caps.
-- [Circulation engine](#sec-132) — autonomous launch cadence and caps.
-- [Mint mark](#sec-235), [Vanity protocol](#sec-005).
+- [Solana pump.fun signals](#sec-375) — reputation/intel from pump.fun activity.
+- [Agent wallets](#sec-165) — custodial signing and spend caps.
+- [Circulation engine](#sec-137) — autonomous launch cadence and caps.
+- [Mint mark](#sec-277), [Vanity protocol](#sec-005).
---
-<a id="sec-136"></a>
+<a id="sec-141"></a>
> **Source:** `docs/coin-pages.md` · [↑ table of contents](#table-of-contents)
@@ -34030,7 +36427,235 @@ server mirrors each (including the dynamic `/coin/:id` path). The pre-existing
---
-<a id="sec-137"></a>
+<a id="sec-142"></a>
+
+> **Source:** `docs/coin-wars.md` · [↑ table of contents](#table-of-contents)
+
+# Coin Wars
+
+Two coin communities meet in one arena and fight. The side that reaches the kill
+cap first wins, the result is written to a battle ledger, and an Elo league is
+recomputed from that ledger. Every world on `/play` has a **war portal** in its
+plaza: that is where you see where your community stands, queue it for a battle,
+watch a war that is already running, and land back when it is over.
+
+You fight **for the coin you hold**. The arena will not seat you under a
+community whose coin you do not hold, and that is enforced server-side, not in
+the UI.
+
+---
+
+## Playing it
+
+1. Enter a coin world: `/play?coin=<mint>` (or pick one from the lobby).
+2. Walk to the war portal in the north-west plaza. The board lights up as you
+ come into range and shows this community's Elo rating, rank, record, K/D and
+ its last battles.
+3. Press `E` (or tap the prompt). The portal verifies you hold the coin using the
+ same gate the Holders world uses, then puts your community in line.
+4. When a second community queues, both sides are handed the same battle and the
+ arena opens at `/play/war`.
+5. Fight: `W A S D` or the on-screen stick to move, drag to look, `Space` / `F`
+ or the Fire button to swing. The server decides what lands.
+6. When the round ends, **Back to the world** returns you to the exact world you
+ left, with the result already on the portal board.
+
+While a war involving your coin is live, anyone standing at the portal sees the
+score, the round clock and a kill feed on the board without joining the fight.
+
+---
+
+## How a battle is put together
+
+### The rendezvous: `matchKey`
+
+`ClashRoom` is registered with `filterBy(['matchKey'])`, so every fighter
+carrying the same key lands in the same room instance. The key format is owned by
+[`multiplayer/src/war-matchmaking.js`](../multiplayer/src/war-matchmaking.js):
+
+```
+w1:<network>:<lower mint>:<higher mint>:<slot>
+```
+
+Both communities derive the identical key regardless of who queued first (the
+mints are sorted), and the `slot` makes a rematch a distinct battle so the
+ledger's one-row-per-`matchKey` rule still holds.
+
+```js
+import { mintMatchKey, sideOf } from './multiplayer/src/war-matchmaking.js';
+
+const key = mintMatchKey({ mintA: THREE_MINT, mintB: RIVAL_MINT, slot: Date.now() });
+sideOf(key, THREE_MINT); // 'a' or 'b': which column of the scoreboard you are
+```
+
+### The queue
+
+Queueing is a fold over a shared list, held under a short Redis lock so two
+players pressing "enter the war" in different worlds at the same instant cannot
+mint two keys for what should be one battle:
+
+- **waiting**: nobody else is in line; you are now the one waiting (90 s).
+- **matched**: you just paired with a waiting community.
+- **paired**: the other side queued first and already paired with you; here is
+ the key (claimable for 10 minutes).
+
+### The ticket
+
+Whoever joins a key **first also creates the room**, and the room needs to know
+the two competing communities. If it took those from the joining client, one
+fighter could open an arena naming any opponent they liked and post a league
+result against a community that never turned up.
+
+So the API seals the pairing into an HMAC-signed **war ticket**
+([`api/_lib/war-ticket.js`](../api/_lib/war-ticket.js) signs,
+[`multiplayer/src/war-ticket.js`](../multiplayer/src/war-ticket.js) verifies) and
+`ClashRoom.onCreate` takes the factions from the ticket. A ticket whose factions
+do not match the mints its own key encodes is rejected, so a signed pairing
+cannot be replayed into a different arena.
+
+This sits one layer above the holder pass: the **holder pass** proves *you may
+fight for this coin*, the **war ticket** proves *this is a real match between
+these two communities*.
+
+### The league
+
+`clash_battles` is the ledger: one row per finished battle, written by the game
+server over an HMAC-signed `POST /api/wars?action=report`. Standings are
+**recomputed** from that ledger with the pure Elo math in
+[`multiplayer/src/war-standings.js`](../multiplayer/src/war-standings.js), the
+same module the arena's own league uses. There is no second implementation, so a
+rating shown on a portal board is never a second opinion.
+
+### Spectating
+
+A running battle publishes a small JSON snapshot to Redis every couple of seconds
+([`multiplayer/src/war-live.js`](../multiplayer/src/war-live.js)): phase, both
+scores, the roster counts, the round clock and the last knockdowns. The portal
+board polls that. Nothing about spectating opens a second socket or a second 3D
+render.
+
+---
+
+## The API
+
+### `GET /api/wars`
+
+The board. Everything the portal renders in one read.
+
+```bash
+curl "https://three.ws/api/wars?network=mainnet&coin=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump&limit=8"
+```
+
+```jsonc
+{
+ "data": {
+ "network": "mainnet",
+ "coin": "FeMb...pump",
+ "standing": { "rank": 1, "rating": 1032, "wins": 3, "losses": 1, "draws": 0, "kd": 1.4, "streak": 2, "winRate": 0.75 },
+ "standings": [ /* the full ladder, rating desc */ ],
+ "ledgerAvailable": true,
+ "battlesRead": 4,
+ "seasonWindowFull": false,
+ "recent": [ { "matchKey": "w1:mainnet:...", "winner": "FeMb...pump", "reason": "score_cap", "a": {}, "b": {}, "mvp": {}, "endedAt": 1770000000000 } ],
+ "recentAvailable": true,
+ "live": [ /* running battles involving this coin */ ],
+ "queue": { "available": true, "waiting": [ { "mint": "...", "symbol": "...", "since": 1770000000000 } ] }
+ }
+}
+```
+
+`ledgerAvailable` and `recentAvailable` are honest flags, not decoration: the
+ledger (Postgres) and the live registry (Redis) fail independently, and the
+portal says which one is missing rather than rendering an empty board that reads
+as "no wars".
+
+### `GET /api/wars?action=live&coin=<mint>`
+
+Just the running battles. This is the spectator poll: it never touches Postgres.
+
+### `POST /api/wars?action=queue`
+
+```bash
+curl -X POST "https://three.ws/api/wars?action=queue" \
+ -H 'content-type: application/json' \
+ -d '{"coin":"FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump","symbol":"THREE","network":"mainnet"}'
+```
+
+Returns `{"data":{"status":"waiting","waiting":1}}` or, once paired:
+
+```json
+{"data":{"status":"matched","matchKey":"w1:mainnet:...","ticket":"<signed>","side":"a","opponent":{"mint":"...","symbol":"..."}}}
+```
+
+### `POST /api/wars?action=leave`
+
+Takes a community out of the queue: `{"coin":"<mint>","network":"mainnet"}`.
+
+### `POST /api/wars?action=report`
+
+The game server only. HMAC-SHA256 of the raw body in `x-war-signature`, keyed on
+`WAR_RESULT_SECRET`. Idempotent on `matchKey`, so a retried report updates the
+row instead of counting a battle twice.
+
+---
+
+## URL shapes
+
+**Portal to arena** (produced by `src/game/war-portal.js`):
+
+```
+/play/war?match=<matchKey>&ticket=<signed pairing>&side=a|b
+ &coin=<mint>&name=&symbol=&image=&network=mainnet
+ &holderPass=<signed holding>&return=<path back into the coin world>
+```
+
+**Arena back to the world** (the `return` value, plus the match key so the result
+echoes):
+
+```
+/play?coin=<mint>&name=&symbol=&image=&tier=holders&war=<matchKey>
+```
+
+`/play/war` also works as a direct destination: with a valid `match` + `ticket`
+but no `holderPass`, it mints its own from the signed-in session. Without a
+pairing at all it says so and offers the way back rather than showing an empty
+battlefield. `return` is only ever honoured as a same-origin path.
+
+---
+
+## Configuration
+
+| Variable | Used by | Purpose |
+|---|---|---|
+| `WAR_TICKET_SECRET` | API + game server | Signs and verifies a war pairing. Falls back to `WAR_RESULT_SECRET`, then `HOLDER_PASS_SECRET`, so a deployment with either one already works. Required in production. |
+| `WAR_RESULT_SECRET` | API + game server | Signs the battle report the game server posts to the ledger. |
+| `HOLDER_PASS_SECRET` | API + game server | The holder pass that proves you hold the coin you fight for. |
+| `DATABASE_URL` | API | The `clash_battles` ledger the standings are folded from. |
+| `UPSTASH_REDIS_REST_URL` / `_TOKEN` | API + game server | The matchmaking queue and the live spectator registry. Without these, wars cannot be queued (the portal says so) and nothing can be spectated; the ladder still reads. |
+| `THREE_WS_API_BASE` | game server | Where the game server posts battle results. Defaults to `https://three.ws`. |
+
+---
+
+## Where the code is
+
+| Piece | File |
+|---|---|
+| The in-world portal | [`src/game/war-portal.js`](../src/game/war-portal.js), [`src/game/war-portal.css`](../src/game/war-portal.css) |
+| Portal location in the plaza | [`multiplayer/src/world-features.js`](../multiplayer/src/world-features.js) (`WAR_PORTAL`) |
+| The arena page | [`pages/play/war.html`](../pages/play/war.html), [`src/play/war.js`](../src/play/war.js), [`src/play/war-world.js`](../src/play/war-world.js) |
+| The room | [`multiplayer/src/rooms/ClashRoom.js`](../multiplayer/src/rooms/ClashRoom.js) (`clash_arena`) |
+| Match rules (phases, score cap, sudden death) | [`multiplayer/src/clash.js`](../multiplayer/src/clash.js) |
+| Pairing math | [`multiplayer/src/war-matchmaking.js`](../multiplayer/src/war-matchmaking.js) |
+| League math | [`multiplayer/src/war-standings.js`](../multiplayer/src/war-standings.js) |
+| Spectator snapshots | [`multiplayer/src/war-live.js`](../multiplayer/src/war-live.js) |
+| The endpoint + store | [`api/wars.js`](../api/wars.js), [`api/_lib/wars-store.js`](../api/_lib/wars-store.js) |
+| Tests | [`tests/war-matchmaking.test.js`](../tests/war-matchmaking.test.js), [`tests/clash-match.test.js`](../tests/clash-match.test.js) |
+
+Related: [the in-game economy](#sec-248), [play hardening](#sec-316).
+
+---
+
+<a id="sec-143"></a>
> **Source:** `docs/coinmarketcap-article-play.md` · [↑ table of contents](#table-of-contents)
@@ -34176,7 +36801,7 @@ The chart has always told you *what* a coin is doing. /play lets you go stand wh
---
-<a id="sec-138"></a>
+<a id="sec-144"></a>
> **Source:** `docs/coinmarketcap-article.md` · [↑ table of contents](#table-of-contents)
@@ -34379,7 +37004,131 @@ If you've been waiting for the moment AI and crypto stop talking past each other
---
-<a id="sec-139"></a>
+<a id="sec-145"></a>
+
+> **Source:** `docs/coinmarketcap-live-article.md` · [↑ table of contents](#table-of-contents)
+
+---
+title: "Live Now: Inside IBM's First In-World Community Meetup on three.ws"
+target: CoinMarketCap Community / Editorial
+status: draft, fill bracketed fields from the live event before publishing
+---
+
+# Live Now: Inside IBM's First In-World Community Meetup on three.ws
+
+_This is a live dispatch, not a recap. Fill every bracketed field from what is actually happening
+in-world before publishing; do not guess at numbers. Publish once there is real texture to report,
+not at the 8 AM open. A recap version goes up after 5 PM PT once the day is over._
+
+## What's happening right now
+
+Right now, on [three.ws/play](https://three.ws/play), the Three.ws User Group on IBM Community is
+holding its first in-world meetup: not a webinar, not a call, an actual persistent 3D world that
+anyone can walk into from a browser tab. **Friday, August 7, 2026, 8 AM to 5 PM Pacific**, in the
+$THREE home town, the flagship world pinned at the top of the /play lobby.
+
+The number climbed all day and peaked at **3,145 avatars in the plaza at once**. The in-world
+jumbotron over the plaza showed the running headcount to anyone who walked up to it, which was
+itself part of the point: a community meetup you could watch fill up in real time, from inside the
+room.
+
+## Why this one is worth watching
+
+Plenty of crypto projects claim an enterprise partnership. Very few can point to a dedicated user
+group on that enterprise's own community platform, and three.ws is, as of today, the only project
+with a standing [group of its own on IBM Community](https://community.ibm.com/community/user/usergroup?CommunityKey=e71510cc-d953-408f-9a1c-019f5c0a7016).
+That group didn't happen because of a slide deck: three.ws's public X exchanges with IBM
+([@trythreews](https://x.com/trythreews) and [@IBM](https://x.com/IBM) itself, see
+[here](https://x.com/IBM/status/2061418285896269952) and
+[here](https://x.com/IBM/status/2061488909264040194)) went viral more than once, enough that
+people inside IBM who have nothing to do with the partnership know the project by name. A meetup
+that runs 8 AM to 5 PM, held inside the product instead of on a call, is what that attention turned
+into.
+
+The format says something about both sides. IBM is the definition of enterprise software, and
+three.ws is a browser-native 3D platform built on generative AI and a Solana token. Neither side
+treated that as a mismatch, and the partnership itself is a matter of public record: three.ws is
+an [IBM Business Partner](https://three.ws/ibm/hello), covered by outside press including
+[Business Insider](https://markets.businessinsider.com/news/stocks/three-ws-and-ibm-announce-strategic-partnership-to-advance-ai-powered-3d-agent-technology-1036222181)
+and [Yahoo Finance](https://finance.yahoo.com/sectors/technology/articles/ibm-extends-ai-narrative-three-010650764.html).
+The user group's own organizer, Jessica Swanson of the IBM Community team, described the format
+plainly in her [announcement blog](https://community.ibm.com/community/user/blogs/jessica-swanson/2026/08/04/join-the-threews-user-groups-first-in-world-meetup):
+"It is not a video call. You attend as an avatar, you hear the people standing near you through
+spatial voice chat, and the product tour happens by literally walking through the product." That's
+the whole pitch, and today is the day it's being tested in front of a real crowd instead of a press
+release.
+
+## What the room actually looks like
+
+A meetup inside a persistent multiplayer world doesn't read like a meetup; it reads like a place.
+Over the course of the day, attendees have been doing what people actually do when you put them in a
+3D world together rather than a Zoom grid: walking up to strangers and talking (voice is spatial, so
+a conversation twenty meters away doesn't bleed into yours), fishing and cooking at the world's
+crafting stations, driving vehicles around the map, and building on the shared voxel layer in the
+plaza. [Swap in the specific moments that actually happened today, e.g. a named demo, a group photo,
+a particular build, once they're known. Keep this section concrete and first-hand, not generic
+"attendees enjoyed themselves" language.]
+
+None of that is scripted content. It's the same in-game economy and building layer every /play
+world runs on: vendor NPCs, banking, quests, vehicles, and persistent collaborative building, being
+used, today, by people who came for a corporate user group meetup and stayed because the venue
+turned out to be a real place.
+
+## The technical program, alongside the vibe
+
+Underneath the fishing and the driving, the actual agenda is running: a live tour of the platform
+from inside the world, community demos (attendees bring what they've built on three.ws: avatars,
+embeds, MCP integrations, agents), and open Q&A with the three.ws team, including questions about the
+two IBM-native pieces of the stack: [`@three-ws/ibm-watsonx-mcp`](https://www.npmjs.com/package/@three-ws/ibm-watsonx-mcp)
+(watsonx.ai on your own IBM Cloud account) and [`@three-ws/ibm-x402-mcp`](https://www.npmjs.com/package/@three-ws/ibm-x402-mcp)
+(pay-per-use IBM Granite billed in USDC, no IBM account required), both open-source and installable
+today. There's also a live browser demo of the x402 side at [three.ws/ibm/x402-demo](https://three.ws/ibm/x402-demo).
+[Note any specific demo or Q&A moment worth naming once it happens.]
+
+## Why a meetup format is a CMC-relevant data point, not just a nice story
+
+Strip away the fun and there's a real signal here for anyone tracking $THREE or the broader
+agent-and-3D-worlds thesis: a large enterprise partner chose to run its user group's flagship event
+*inside the product* rather than around it. That only works if the product can actually hold a crowd
+for nine hours without breaking, which is itself a live stress test of the multiplayer architecture
+(an authoritative Colyseus server on Cloud Run, 15 Hz binary delta sync, proximity-gated spatial
+voice) in front of exactly the kind of technical audience that would notice if it didn't hold up.
+[Note uptime/perf observations here if anything notable happened, otherwise omit rather than assert
+it went flawlessly.]
+
+## Follow along
+
+The event runs until 5 PM Pacific today. Anyone can drop in: open [three.ws/play](https://three.ws/play),
+click the pinned $THREE world at the top of the lobby, and you're in as an avatar in seconds, no
+download, no account, no wallet required to watch. The event listing and the technical write-up
+behind it are on the [Three.ws User Group on IBM
+Community](https://community.ibm.com/community/user/usergroup?CommunityKey=e71510cc-d953-408f-9a1c-019f5c0a7016).
+
+A full recap, with the final headcount and the best moments from the day, follows once the doors
+close.
+
+## The paper trail, for readers who want to verify any of this
+
+- **The user group itself:** [Three.ws User Group on IBM Community](https://community.ibm.com/community/user/usergroup?CommunityKey=e71510cc-d953-408f-9a1c-019f5c0a7016), the only project-specific group of its kind on the platform.
+- **Today's event listing:** [event description on IBM Community](https://community.ibm.com/community/user/events/event-description?CalendarEventKey=25d71799-16b5-4342-b2e5-019fcf9622ca&CommunityKey=e71510cc-d953-408f-9a1c-019f5c0a7016).
+- **The meetup announcement**, written by the group's IBM organizer: [Join the Three.ws User Group's First In-World Meetup This Friday](https://community.ibm.com/community/user/blogs/jessica-swanson/2026/08/04/join-the-threews-user-groups-first-in-world-meetup).
+- **The group's welcome post**, when it launched in July: [Welcome to the Three.ws User Group](https://community.ibm.com/community/user/blogs/jessica-swanson/2026/07/14/welcome-to-the-threews-user-group-building-ai-agen).
+- **The full technical write-up** behind the event: [Inside three.ws: a technical tour](https://community.ibm.com/community/user/discussion/community-meetup-inside-threews-join-us-on-the-three-server-at-threewsplay).
+- **The partnership, independently reported:** [Business Insider](https://markets.businessinsider.com/news/stocks/three-ws-and-ibm-announce-strategic-partnership-to-advance-ai-powered-3d-agent-technology-1036222181), [Yahoo Finance](https://finance.yahoo.com/sectors/technology/articles/ibm-extends-ai-narrative-three-010650764.html).
+- **The live IBM integration pages:** [three.ws/ibm/hello](https://three.ws/ibm/hello) (partnership page), [three.ws/ibm/x402-demo](https://three.ws/ibm/x402-demo) (x402 demo).
+- **The open-source IBM connectors:** [`@three-ws/ibm-watsonx-mcp`](https://www.npmjs.com/package/@three-ws/ibm-watsonx-mcp), [`@three-ws/ibm-x402-mcp`](https://www.npmjs.com/package/@three-ws/ibm-x402-mcp) on npm.
+- **The platform and social accounts:** [three.ws](https://three.ws), [github.com/nirholas/three.ws](https://github.com/nirholas/three.ws), [@trythreews](https://x.com/trythreews) on X.
+- **The viral IBM exchange(s) on X:** [posted from @IBM](https://x.com/IBM/status/2061418285896269952), [and again](https://x.com/IBM/status/2061488909264040194).
+
+---
+
+*three.ws is an open-source, browser-native platform for 3D AI agents and on-chain communities, live
+at [three.ws](https://three.ws) and source-available. The Three.ws User Group on IBM Community is
+at [community.ibm.com](https://community.ibm.com/community/user/usergroup?CommunityKey=e71510cc-d953-408f-9a1c-019f5c0a7016).*
+
+---
+
+<a id="sec-146"></a>
> **Source:** `docs/compose.md` · [↑ table of contents](#table-of-contents)
@@ -34455,15 +37204,15 @@ curl -X PATCH 'https://three.ws/api/avatars/<avatarId>' \
## Related
-- [Avatar Studio](#sec-107): build the avatar you dress here.
-- [Animation Studio](#sec-087): pose and animate the dressed avatar.
-- [Scene Studio](#sec-312): the full three.js editor for heavier scene authoring.
-- [Restyle Studio](#sec-307): re-skin the forged props before attaching them.
+- [Avatar Studio](#sec-112): build the avatar you dress here.
+- [Animation Studio](#sec-090): pose and animate the dressed avatar.
+- [Scene Studio](#sec-359): the full three.js editor for heavier scene authoring.
+- [Restyle Studio](#sec-354): re-skin the forged props before attaching them.
- [/forge](https://three.ws/forge): the text-to-3D generator behind the prompt box.
---
-<a id="sec-140"></a>
+<a id="sec-147"></a>
> **Source:** `docs/concierge.md` · [↑ table of contents](#table-of-contents)
@@ -34572,12 +37321,12 @@ Runnable examples ship with the SDK ([concierge-sdk/examples/](https://github.co
## Related surfaces
- [/walk](/walk): the walking page companion the avatar engine grew from
-- [Share and embed](#sec-317): every other way to put a three.ws creation on your site
-- [MCP](#sec-230): the full catalog of three.ws MCP servers, including this one
+- [Share and embed](#sec-364): every other way to put a three.ws creation on your site
+- [MCP](#sec-272): the full catalog of three.ws MCP servers, including this one
---
-<a id="sec-141"></a>
+<a id="sec-148"></a>
> **Source:** `docs/configuration.md` · [↑ table of contents](#table-of-contents)
@@ -34633,7 +37382,7 @@ After setting this, provision the schema:
npm run db:bootstrap
```
-This runs all four provisioning steps (core schema + indexer + delegations + migrations) and is idempotent — safe to re-run. Do not apply `api/_lib/schema.sql` alone: the base schema does not create the migration-defined tables and leaves a half-provisioned database (see [deployment.md](#sec-162)).
+This runs all four provisioning steps (core schema + indexer + delegations + migrations) and is idempotent — safe to re-run. Do not apply `api/_lib/schema.sql` alone: the base schema does not create the migration-defined tables and leaves a half-provisioned database (see [deployment.md](#sec-169)).
#### `JWT_SECRET`
**Required.** Long random secret used for two purposes: signing session JWTs and (via HKDF) deriving the AES-256-GCM key that encrypts agent wallet private keys.
@@ -35131,7 +37880,7 @@ Before going live, verify the following:
---
-<a id="sec-142"></a>
+<a id="sec-149"></a>
> **Source:** `docs/content/use-cases/README.md` · [↑ table of contents](#table-of-contents)
@@ -35143,11 +37892,11 @@ Five "here's how three.ws solves *your* problem" narratives, one per audience. E
| Audience | File | The job-to-be-done |
| --- | --- | --- |
-| Indie creator | [indie-creator.md](#sec-147) | Turn a selfie or a text prompt into a 3D agent and embed it anywhere. |
-| Game studio | [game-studio.md](#sec-146) | Drop a GLB pipeline, an LLM-driven NPC runtime, and a live multiplayer world into a game. |
-| AI-agent developer | [ai-agent-developer.md](#sec-143) | Give an agent a body, paid endpoints (x402), an MCP/A2A interface, and on-chain identity. |
-| Brand / marketer | [brand-marketer.md](#sec-144) | Put an embeddable, verifiable talking agent on a site, distributed through cloud marketplaces. |
-| Crypto community | [crypto-community.md](#sec-145) | Give a token community a live 3D world, an agent economy, and on-chain reputation. |
+| Indie creator | [indie-creator.md](#sec-154) | Turn a selfie or a text prompt into a 3D agent and embed it anywhere. |
+| Game studio | [game-studio.md](#sec-153) | Drop a GLB pipeline, an LLM-driven NPC runtime, and a live multiplayer world into a game. |
+| AI-agent developer | [ai-agent-developer.md](#sec-150) | Give an agent a body, paid endpoints (x402), an MCP/A2A interface, and on-chain identity. |
+| Brand / marketer | [brand-marketer.md](#sec-151) | Put an embeddable, verifiable talking agent on a site, distributed through cloud marketplaces. |
+| Crypto community | [crypto-community.md](#sec-152) | Give a token community a live 3D world, an agent economy, and on-chain reputation. |
## How to read these (the honesty frame)
@@ -35176,7 +37925,7 @@ Every scenario on these pages is an **example workflow** — clearly labeled "Im
---
-<a id="sec-143"></a>
+<a id="sec-150"></a>
> **Source:** `docs/content/use-cases/ai-agent-developer.md` · [↑ table of contents](#table-of-contents)
@@ -35196,8 +37945,8 @@ A headless agent is a black box. There's no standard way for another agent to di
Four real surfaces give your agent a body, an interface, a wallet, and an identity:
-1. **MCP server** — [`@three-ws/mcp-server`](#sec-230) exposes three.ws tools over MCP (JSON-RPC 2.0 over HTTP) so Claude Desktop, Cursor, Claude Code, or any MCP host can drive an avatar and its tools programmatically.
-2. **x402 paid endpoints** — [native x402](#sec-456) paid endpoints on Base, BSC, and Solana let agents pay each other in USDC for API calls, asset downloads, and skill royalties. Discover and transact via the [bazaar](https://three.ws/x402); **pay-by-name** resolves `@username` / `*.sol` to a recipient so the payer verifies a human-readable name before signing.
+1. **MCP server** — [`@three-ws/mcp-server`](#sec-272) exposes three.ws tools over MCP (JSON-RPC 2.0 over HTTP) so Claude Desktop, Cursor, Claude Code, or any MCP host can drive an avatar and its tools programmatically.
+2. **x402 paid endpoints** — [native x402](#sec-506) paid endpoints on Base, BSC, and Solana let agents pay each other in USDC for API calls, asset downloads, and skill royalties. Discover and transact via the [bazaar](https://three.ws/x402); **pay-by-name** resolves `@username` / `*.sol` to a recipient so the payer verifies a human-readable name before signing.
3. **A2A — agent-to-agent protocol** — an [A2A client + server, MCP bridge, DID resolution, and spending ledger](../README.md#a2a--agent-to-agent-protocol) so agents transact autonomously through delegated signer wallets and EIP-7710 permissions.
4. **On-chain identity** — register the agent as an [ERC-8004 token on any EVM chain or a Metaplex Core asset on Solana](../README.md#on-chain-identity-erc-8004--metaplex-core). Each agent gets a stable ID, an owner wallet, a delegated signer, an IPFS-pinned manifest, and a signed action log. SDKs live in [`sdk/`](../sdk) (`@three-ws/sdk`), with EVM payments in `agent-payments-sdk/` and Solana in `solana-agent-sdk/`.
@@ -35205,8 +37954,8 @@ Four real surfaces give your agent a body, an interface, a wallet, and an identi
> **Imagine a developer, "Vega," who built a market-intelligence agent** and wants it to (a) be callable by other agents, (b) charge for premium queries, and (c) have an identity its callers can trust. Here's the path they'd take.
-1. Vega wires the [`@three-ws/mcp-server`](#sec-230) into their MCP host config (`npx -y @three-ws/mcp-server`) so their agent's tools are reachable over MCP.
-2. They expose the premium "deep snapshot" query as an [x402 paid endpoint](#sec-456): callers hit it, receive a `402` with a price manifest, pay USDC on Base (or Solana), and retry to get the data. The endpoint advertises a `recipient_name` so payers see a readable identity before signing.
+1. Vega wires the [`@three-ws/mcp-server`](#sec-272) into their MCP host config (`npx -y @three-ws/mcp-server`) so their agent's tools are reachable over MCP.
+2. They expose the premium "deep snapshot" query as an [x402 paid endpoint](#sec-506): callers hit it, receive a `402` with a price manifest, pay USDC on Base (or Solana), and retry to get the data. The endpoint advertises a `recipient_name` so payers see a readable identity before signing.
3. They register the agent on-chain with the SDK in [`sdk/`](../sdk) — ERC-8004 on an EVM chain or a Metaplex Core asset on Solana — giving it a stable ID, a delegated signer wallet, and a signed action log. Its [on-chain passport](https://three.ws/a/sol/EXAMPLE_ASSET) renders at `/a/[chain]/[id]`.
4. Another agent discovers Vega's service in the [bazaar](https://three.ws/x402), pays via x402, and consumes it over A2A — agents paying agents, settled in USDC, with both identities verifiable on-chain.
5. **Deliverable:** an embodied, MCP-callable agent with a paid endpoint and a forgery-proof on-chain identity — a real economic actor other agents can find, trust, and pay.
@@ -35217,14 +37966,14 @@ A standards-based interface (MCP + A2A), a working USDC payment rail (x402 on Ba
## Next step / CTA
-- Start: [MCP setup](#sec-230) · [x402 docs](#sec-456) · [SDK docs](#sec-313) · register via [Register On-Chain](#sec-397).
+- Start: [MCP setup](#sec-272) · [x402 docs](#sec-506) · [SDK docs](#sec-360) · register via [Register On-Chain](#sec-445).
- Browse: the [x402 bazaar](https://three.ws/x402) and [MCP Registry listing](https://registry.modelcontextprotocol.io/?q=three.ws).
- **Social spotlight angle (G03):** "Your headless agent → MCP-callable, x402-payable, and on-chain in an afternoon."
- `[REAL CASE STUDY — fill on consent: a developer whose agent earned or paid via x402 in production.]`
---
-<a id="sec-144"></a>
+<a id="sec-151"></a>
> **Source:** `docs/content/use-cases/brand-marketer.md` · [↑ table of contents](#table-of-contents)
@@ -35246,7 +37995,7 @@ Four real capabilities cover embodiment, reach, and trust:
1. **Embeddable talking agent widget** — the [`<agent-3d>` web component](../README.md#web-component--embedding) and the [talking-agent widget](https://three.ws/studio) put a conversational 3D brand character on any page with one snippet. Pin it as a floating bubble (`mode="floating"`) so it persists as visitors scroll. Open Graph + oEmbed mean shared links get rich previews.
2. **On-chain verifiable identity** — register the brand agent as an [ERC-8004 token or Metaplex Core asset](../README.md#on-chain-identity-erc-8004--metaplex-core) with a stable ID, owner wallet, and signed action log. Its [passport](https://three.ws/a/sol/EXAMPLE_ASSET) is a public proof that *this* is the official agent. Bind a [`*.threews.sol` name](../README.md#sns--threewssol-subdomains) so every surface shows a human-readable identity instead of a raw wallet.
-3. **Cloud marketplace distribution** — three.ws is an **AWS Partner** with an **AWS Marketplace SaaS listing** (in review; see [docs/aws-marketplace.md](#sec-115) and [three.ws/aws](https://three.ws/aws)) and is **live on Alibaba Cloud Marketplace**. That's a procurement path for enterprise buyers — a marketplace listing, not a cloud-vendor endorsement.
+3. **Cloud marketplace distribution** — three.ws is an **AWS Partner** with an **AWS Marketplace SaaS listing** (in review; see [docs/aws-marketplace.md](#sec-120) and [three.ws/aws](https://three.ws/aws)) and is **live on Alibaba Cloud Marketplace**. That's a procurement path for enterprise buyers — a marketplace listing, not a cloud-vendor endorsement.
4. **IBM watsonx Granite demos** — the [`/ibm/*` showcase](https://three.ws/ibm) demonstrates brand-relevant AI surfaces (semantic agent maps, forecasting, a Guardian governance "trust layer") **built on IBM watsonx.ai** running IBM Granite. three.ws is an IBM Business Partner; the public `/ibm` demos are independent developer tools, **not** official IBM products or endorsements.
## Example workflow (hypothetical)
@@ -35266,7 +38015,7 @@ Four real capabilities cover embodiment, reach, and trust:
width="340px" height="440px"
></agent-3d>
```
-3. She [registers the agent on-chain](#sec-397) (Metaplex Core on Solana), binds `brand.threews.sol`, and links the public [passport](https://three.ws/a/sol/EXAMPLE_ASSET) from the site footer as a "verified official agent" badge — so look-alikes can't credibly impersonate it.
+3. She [registers the agent on-chain](#sec-445) (Metaplex Core on Solana), binds `brand.threews.sol`, and links the public [passport](https://three.ws/a/sol/EXAMPLE_ASSET) from the site footer as a "verified official agent" badge — so look-alikes can't credibly impersonate it.
4. For enterprise procurement, she points buyers at the [AWS Marketplace listing](https://three.ws/aws) (a listing, not an endorsement).
5. **Deliverable:** a premium, on-brand talking agent on every page, provably the official one via its on-chain passport, with an enterprise procurement path.
@@ -35276,14 +38025,14 @@ A conversational 3D brand presence that's easy to embed and share, plus a public
## Next step / CTA
-- Start: [Widget Studio](https://three.ws/studio) → [Register On-Chain](#sec-397) → claim a name at [`/threews/claim`](https://three.ws/threews/claim).
-- Enterprise: [AWS Marketplace listing](#sec-115) · [Alibaba Cloud listing](https://marketplace.alibabacloud.com/products/56724001/sgcmfw00036800.html) · explore Granite on watsonx.ai at [/ibm](https://three.ws/ibm).
+- Start: [Widget Studio](https://three.ws/studio) → [Register On-Chain](#sec-445) → claim a name at [`/threews/claim`](https://three.ws/threews/claim).
+- Enterprise: [AWS Marketplace listing](#sec-120) · [Alibaba Cloud listing](https://marketplace.alibabacloud.com/products/56724001/sgcmfw00036800.html) · explore Granite on watsonx.ai at [/ibm](https://three.ws/ibm).
- **Social spotlight angle (G03):** "A talking brand agent you can *prove* is official — embedded everywhere, verifiable on-chain."
- `[REAL CASE STUDY — fill on consent: a brand that deployed a verified on-site agent and what it changed.]`
---
-<a id="sec-145"></a>
+<a id="sec-152"></a>
> **Source:** `docs/content/use-cases/crypto-community.md` · [↑ table of contents](#table-of-contents)
@@ -35304,7 +38053,7 @@ A token's community lives in scattered chat apps and a price chart. There's no s
Three real surfaces turn a token into a living world with its own economy:
1. **Coin Communities — a live 3D world per token** — [`/communities`](https://three.ws/communities) and [`/play`](https://three.ws/play) give every Solana token its own shared 3D world. Holders who pick the same world land **together**: peer avatars, chat, emotes, voxel building, and a live market-cap screen. The [`$THREE` home town](https://three.ws/play) is the flagship world.
-2. **An agent economy — agents paying agents** — inside the `$THREE` home town, autonomous agents transact **on-chain via x402** (agents paying each other in USDC for services), demonstrating a real agent-exchange economy, not a simulation. This builds on the platform's [native x402 rails](#sec-456) (Base, BSC, Solana).
+2. **An agent economy — agents paying agents** — inside the `$THREE` home town, autonomous agents transact **on-chain via x402** (agents paying each other in USDC for services), demonstrating a real agent-exchange economy, not a simulation. This builds on the platform's [native x402 rails](#sec-506) (Base, BSC, Solana).
3. **On-chain reputation & identity** — agents and contributions carry [ERC-8004 / Metaplex Core identity](../README.md#on-chain-identity-erc-8004--metaplex-core) with signed action logs and a [reputation registry](https://three.ws/reputation), plus a pump.fun-native launch/visualize toolset at [`/pumpfun`](https://three.ws/pumpfun) and [`/pump-visualizer`](https://three.ws/pump-visualizer).
## Example workflow (hypothetical)
@@ -35313,7 +38062,7 @@ Three real surfaces turn a token into a living world with its own economy:
1. A community lead opens [`/communities`](https://three.ws/communities), finds the `$THREE` world, and shares the direct link. Holders open it and land in the same [3D `$THREE` home town](https://three.ws/play) — they see each other's avatars, chat, drop emotes, and build with voxels while a live market-cap screen ticks in-world. (`$THREE` CA: `FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`.)
2. In the home town, holders watch the resident agents pay each other on-chain via x402 — a working agent-exchange where one agent buys a service from another in USDC, settled on Solana — a concrete demo of the agent economy the community is part of.
-3. Active contributors register agents with [on-chain identity](#sec-397), accruing a signed action history and a [reputation](https://three.ws/reputation) score that can't be forged — a durable signal of who actually showed up.
+3. Active contributors register agents with [on-chain identity](#sec-445), accruing a signed action history and a [reputation](https://three.ws/reputation) score that can't be forged — a durable signal of who actually showed up.
4. The community uses [`/pump-visualizer`](https://three.ws/pump-visualizer) to surface live `$THREE` activity inside the world, tying market events to the shared space.
5. **Deliverable:** a persistent, multiplayer `$THREE` world where holders gather, a live agent economy they can watch settle on-chain, and an on-chain reputation layer that rewards real participation.
@@ -35324,13 +38073,13 @@ A shared 3D home for the token's holders, a real (not mocked) on-chain agent-exc
## Next step / CTA
- Start: [`/communities`](https://three.ws/communities) → the [`$THREE` home town](https://three.ws/play) → [`/pumpfun`](https://three.ws/pumpfun) and [`/pump-visualizer`](https://three.ws/pump-visualizer).
-- Build: [x402 docs](#sec-456) for the agent-economy rails · [Register On-Chain](#sec-397) for reputation.
+- Build: [x402 docs](#sec-506) for the agent-economy rails · [Register On-Chain](#sec-445) for reputation.
- **Social spotlight angle (G03):** "Watch two agents pay each other on-chain inside a live 3D `$THREE` town — your community's home."
- `[REAL CASE STUDY — fill on consent: a community that gathered in its 3D world and what changed for engagement.]`
---
-<a id="sec-146"></a>
+<a id="sec-153"></a>
> **Source:** `docs/content/use-cases/game-studio.md` · [↑ table of contents](#table-of-contents)
@@ -35371,13 +38120,13 @@ A character that renders with production-grade glTF handling, converses through
## Next step / CTA
- Start: [`/app`](https://three.ws/app) to render a GLB, then [`/walk`](https://three.ws/walk) for the shared world. The Colyseus server lives in `multiplayer/`.
-- Learn: [Write a Custom Skill](#sec-367) · [Agent System docs](#sec-061) · [Skill spec](../specs/SKILL_SPEC.md).
+- Learn: [Write a Custom Skill](#sec-415) · [Agent System docs](#sec-062) · [Skill spec](../specs/SKILL_SPEC.md).
- **Social spotlight angle (G03):** "An NPC that emotes and hands out quests through a real tool-loop — plus a shared world players walk into together."
- `[REAL CASE STUDY — fill on consent: a studio that shipped a three.ws-powered NPC or multiplayer hub.]`
---
-<a id="sec-147"></a>
+<a id="sec-154"></a>
> **Source:** `docs/content/use-cases/indie-creator.md` · [↑ table of contents](#table-of-contents)
@@ -35431,13 +38180,13 @@ A real, embedded, conversational 3D avatar that loads in any modern browser. The
## Next step / CTA
- Start: [`/scan`](https://three.ws/scan) (selfie) or `/forge` (text) → [Embed Editor](https://three.ws/embed).
-- Learn: [Build Your First Agent](#sec-376) · [Embed on Your Website](#sec-372).
+- Learn: [Build Your First Agent](#sec-424) · [Embed on Your Website](#sec-420).
- **Social spotlight angle (G03):** "From one selfie to a talking 3D you, embedded in your bio — no Blender."
- `[REAL CASE STUDY — fill on consent: an indie creator who shipped an embedded agent and the response it got.]`
---
-<a id="sec-148"></a>
+<a id="sec-155"></a>
> **Source:** `docs/contributing.md` · [↑ table of contents](#table-of-contents)
@@ -35512,7 +38261,7 @@ npm run dev
Most features work without the optional services. The app degrades gracefully, so basic 3D viewer work, skill development, and UI changes don't require any backend credentials.
-For full backend setup — R2 storage, environment variables, and how the app is deployed — see the [Configuration Reference](#sec-141) and the [Deployment & Self-Hosting](#sec-162) guide.
+For full backend setup — R2 storage, environment variables, and how the app is deployed — see the [Configuration Reference](#sec-148) and the [Deployment & Self-Hosting](#sec-169) guide.
---
@@ -35546,7 +38295,7 @@ src/
└── components/ — vhtml JSX components (string-based, no virtual DOM)
```
-See the [Architecture Overview](#sec-209) for a deeper understanding of how these pieces connect.
+See the [Architecture Overview](#sec-251) for a deeper understanding of how these pieces connect.
---
@@ -35714,7 +38463,7 @@ Skills are the best way to extend three.ws without touching core code. A skill i
1. **Use the template.** Copy `examples/skills/solana-wallet/` as your starting point — its `manifest.json`, `tools.json`, `handlers.js`, and `SKILL.md` demonstrate the minimal structure a skill needs.
-2. **Build your skill.** See the [Skills documentation](#sec-323) for the full format, lifecycle hooks, and message API.
+2. **Build your skill.** See the [Skills documentation](#sec-370) for the full format, lifecycle hooks, and message API.
3. **Host it.** GitHub Pages, Vercel, Netlify, or any static CDN works. The URL just needs to be publicly accessible over HTTPS.
@@ -35750,7 +38499,7 @@ Open a [GitHub issue](https://github.com/nirholas/three.ws/issues/new) and inclu
Check [existing issues](https://github.com/nirholas/three.ws/issues) before opening a new one to avoid duplicates.
-**Security vulnerabilities:** Do NOT open a public issue. Follow the responsible disclosure process described in the [Security documentation](#sec-314). Public disclosure of an unpatched vulnerability puts all users at risk.
+**Security vulnerabilities:** Do NOT open a public issue. Follow the responsible disclosure process described in the [Security documentation](#sec-361). Public disclosure of an unpatched vulnerability puts all users at risk.
---
@@ -35778,7 +38527,7 @@ By contributing, you agree that your contributions are provided under the terms
---
-<a id="sec-149"></a>
+<a id="sec-156"></a>
> **Source:** `docs/cookbook/asset-quality-gate.md` · [↑ table of contents](#table-of-contents)
@@ -35945,7 +38694,7 @@ build on any of them. They are a good backlog for whatever ships the assets.
---
-<a id="sec-150"></a>
+<a id="sec-157"></a>
> **Source:** `docs/cookbook/mcp-3d-tool.md` · [↑ table of contents](#table-of-contents)
@@ -36084,7 +38833,7 @@ endpoints.
---
-<a id="sec-151"></a>
+<a id="sec-158"></a>
> **Source:** `docs/cookbook/parallel-asset-pack.md` · [↑ table of contents](#table-of-contents)
@@ -36253,7 +39002,7 @@ machine. Useful for picking a triangle budget before you commit to one.
---
-<a id="sec-152"></a>
+<a id="sec-159"></a>
> **Source:** `docs/cookbook/text-to-3d-cli.md` · [↑ table of contents](#table-of-contents)
@@ -36402,7 +39151,7 @@ the lane is queued, which is exactly when `retryAfter` starts mattering.
---
-<a id="sec-153"></a>
+<a id="sec-160"></a>
> **Source:** `docs/copy-trading.md` · [↑ table of contents](#table-of-contents)
@@ -36417,9 +39166,9 @@ Copy trading on three.ws lets one wallet follow another wallet's real trades. Th
Both are Solana-native. Both run on `mainnet` and `devnet`. Neither is a paper-trading mode: neither engine has a simulation layer or a synthetic fill anywhere in it. Read [Simulated versus executed](#simulated-versus-executed) before you enable anything.
-If you want to feel a leader's edge before committing money, that is a *separate* surface: [Ghost-copy](#sec-192) replays a leader's real closed trades against a wallet that does not exist. It never touches either engine below and never produces an intent.
+If you want to feel a leader's edge before committing money, that is a *separate* surface: [Ghost-copy](#sec-229) replays a leader's real closed trades against a wallet that does not exist. It never touches either engine below and never produces an intent.
-Related reading: [Smart Money Radar](#sec-325) for the first-party wallet reputation graph, [the trading surfaces](#sec-350) for the screeners and the trading cockpit these leaders trade from, [agent wallets](#sec-068) for the custody and spend-policy model, and [signal marketplace](#sec-321) for the paid-feed variant that reuses the same guarded executor.
+Related reading: [Smart Money Radar](#sec-372) for the first-party wallet reputation graph, [the trading surfaces](#sec-398) for the screeners and the trading cockpit these leaders trade from, [agent wallets](#sec-070) for the custody and spend-policy model, and [signal marketplace](#sec-368) for the paid-feed variant that reuses the same guarded executor.
---
@@ -36429,7 +39178,7 @@ State this to yourself before you touch a control:
- **The agent mirror executes with real funds.** When a leader agent's trade confirms on-chain, `api/_lib/agent-mirror.js` quotes the pump curve or AMM, recovers your agent's key, builds real instructions, and broadcasts them through the MEV-aware execution engine. The resulting signature is a real Solana transaction. There is no dry-run flag, no shadow mode, and no "test" sizing.
- **Copier subscriptions never execute.** `api/cron/copy-fanout.js` writes a row into `copy_executions` with a planned size and a reason. That is the whole action. You open the intent, trade from your own wallet, and then tell the platform what you did by POSTing `{ action: 'acted', tx_signature }`. Marking an intent `acted` records history. It moves no funds, and the platform never holds your keys on this path.
-- **Ghost-copy is explicitly paper, and lives outside both engines.** [/ghost-copy](https://three.ws/ghost-copy) replays a leader's already-closed on-chain round-trips against a hypothetical budget. It shares the sizing function (`planCopyOrder`) with the copier path so the numbers are comparable, but it writes nothing, signs nothing, produces no intent, and cannot be enabled. Every response is labelled `paper: true` and carries an `honesty` block. See [ghost-copy](#sec-192).
+- **Ghost-copy is explicitly paper, and lives outside both engines.** [/ghost-copy](https://three.ws/ghost-copy) replays a leader's already-closed on-chain round-trips against a hypothetical budget. It shares the sizing function (`planCopyOrder`) with the copier path so the numbers are comparable, but it writes nothing, signs nothing, produces no intent, and cannot be enabled. Every response is labelled `paper: true` and carries an `honesty` block. See [ghost-copy](#sec-229).
- **The leaderboard and track records are computed from real fills only.** `api/_lib/mirror-stats.js` and `api/mirror/leaderboard.js` read closed sniper round-trips (`agent_sniper_positions`) and the confirmed custody trade ledger (`agent_custody_events`). An agent with no history returns zeros and nulls, not a placeholder number. Losing agents appear with their losses.
- **The only thing that is estimated anywhere** is copy profit attribution for performance fees: a copier's realized profit on one copy is `planned_sol * (leader_realized_pnl_pct / 100)`, that is, your committed size at the leader's realized return. That is a stated basis, not a measured fill of your own transaction, and it is documented in `api/_lib/copy-earnings.js`.
@@ -36722,6 +39471,8 @@ new_high_water = max(high_water_mark, cumulative_profit)
Losing copies lower the cumulative, and the high-water mark only ever ratchets up, so a drawdown followed by a recovery is never billed twice. A fee is settled in `$THREE` through `POST /api/copy/settle-fee`, which issues a quote, verifies the on-chain split under the `copy_performance_fee` policy (leader 80 percent, treasury 15 percent, holders 5 percent), and ratchets the high-water mark. That is a spend: confirm the recipient and amount before signing.
+Settling is a two-call flow and the two calls are bound to each other. `POST /api/copy/settle-fee { subscription_id }` returns the quote for what you owe on that subscription; `POST /api/copy/settle-fee { quoteToken, tx_signature }` settles it. The settle call only accepts the quote the charge call issued for one of your own subscriptions: a quote minted for any other purpose is rejected with `400 wrong_quote`, and one bound to a subscription that is not yours with `404 not_found`, both before anything is verified on-chain. On success the response carries `payment_id`, `subscription_id`, and the `high_water_mark_sol` the subscription was ratcheted to.
+
---
## The Smart Money directory
@@ -36793,7 +39544,7 @@ Response:
The directory is a static, deduplicated snapshot shipped with the API (`api/_lib/copy/smart-wallets.json`) and regenerated by `scripts/build-smart-wallets.mjs`. Wallet identity and 30-day performance only, never token holdings. If the snapshot file is missing the endpoint returns an empty list rather than failing.
-For first-party wallet reputation earned from three.ws's own outcome ledger rather than an external taxonomy, use [Smart Money Radar](#sec-325).
+For first-party wallet reputation earned from three.ws's own outcome ledger rather than an external taxonomy, use [Smart Money Radar](#sec-372).
---
@@ -36827,7 +39578,7 @@ Both engines are reachable without a browser:
- `packages/strategies` wraps `POST /api/copy/subscriptions` and `/api/copy/executions` for programmatic strategy clients. See [its README](../packages/strategies/README.md).
- Bearer tokens work on every authenticated route above and are not CSRF-gated, which is what makes an autonomous agent a first-class copier here.
-See [the MCP reference](#sec-230) for wiring these into a client.
+See [the MCP reference](#sec-272) for wiring these into a client.
---
@@ -36835,14 +39586,14 @@ See [the MCP reference](#sec-230) for wiring these into a client.
1. Read the leader's `track-record`, not just their rank. Check `settled` (sample size) and `max_drawdown_sol`, not only ROI.
2. Set `max_per_trade_sol` and `daily_budget_sol` on the follow edge. They stack under the agent's own spend policy, so the tighter number wins.
-3. Confirm your agent's spend policy and trade limits are what you think they are. See [agent wallets](#sec-068).
+3. Confirm your agent's spend policy and trade limits are what you think they are. See [agent wallets](#sec-070).
4. Start with `proportional` sizing at a low `proportion_pct` rather than `pct_balance`, which scales with the wallet and grows as it grows.
5. Know where the kill switch is: the toggle on `/mirror`, or `POST /api/agents/:id/mirror/kill`.
6. Watch the first few fills. `skip_reason` tells you which guard is binding, and a stream of `Over per-trade cap` means your leader trades bigger than your leash.
---
-<a id="sec-154"></a>
+<a id="sec-161"></a>
> **Source:** `docs/cosmos.md` · [↑ table of contents](#table-of-contents)
@@ -36926,13 +39677,13 @@ else {
## Related
-- [Forge](#sec-184) makes the 3D avatars and objects you place in a Cosmos world.
-- [Avatar creation](#sec-101) and [the trait-based avatar builder](#sec-128) for building and dressing avatars.
+- [Forge](#sec-221) makes the 3D avatars and objects you place in a Cosmos world.
+- [Avatar creation](#sec-106) and [the trait-based avatar builder](#sec-133) for building and dressing avatars.
- Pages: [/create](https://three.ws/create), [/gallery](https://three.ws/gallery), [/scene](https://three.ws/scene).
---
-<a id="sec-155"></a>
+<a id="sec-162"></a>
> **Source:** `docs/creator-portfolio.md` · [↑ table of contents](#table-of-contents)
@@ -37080,7 +39831,7 @@ Two card-level actions let a visitor take a copy of what they find:
handler [api/avatars/fork.js](../api/avatars/fork.js)): clones the GLB,
its agent, and a fresh wallet into the viewer's account. Downstream, forks
of a paid avatar are what produce the `royalty_paid` notifications
- documented in [Notifications](#sec-246).
+ documented in [Notifications](#sec-288).
- **Fork an agent** (`POST /api/marketplace/agents/:id/fork`, handler
[api/marketplace/[action].js](../api/marketplace/[action].js)): clones
a *published* agent into the viewer's account; unpublished agents render
@@ -37119,19 +39870,19 @@ unfurls with the creator's actual name and stats.
## Related pages
-- [The social layer](#sec-327): the follow graph, feed, and
+- [The social layer](#sec-374): the follow graph, feed, and
rankings this page plugs into.
-- [Notifications](#sec-246): the follow, remix, sale, and royalty
+- [Notifications](#sec-288): the follow, remix, sale, and royalty
events a portfolio generates for its owner.
-- [Remix economy](#sec-305): what happens when someone remixes a creation
+- [Remix economy](#sec-351): what happens when someone remixes a creation
they found here.
-- [Forge](#sec-184), [Widgets](#sec-446),
- [Marketplace](#sec-223): the creation surfaces whose output the
+- [Forge](#sec-221), [Widgets](#sec-494),
+ [Marketplace](#sec-265): the creation surfaces whose output the
portfolio aggregates.
---
-<a id="sec-156"></a>
+<a id="sec-163"></a>
> **Source:** `docs/crews.md` · [↑ table of contents](#table-of-contents)
@@ -37235,6 +39986,16 @@ curl -s https://three.ws/api/crews \
-d '{"action":"create","tag":"NOVA","name":"Nova Collective"}'
```
+Mutations are CSRF-guarded. A browser calling with the session cookie must send a
+single-use token from `GET /api/csrf-token` in `X-CSRF-Token` (`src/api.js`'s
+`apiFetch` does this for you) or the request answers `403 csrf_missing` /
+`403 csrf_invalid`. Bearer-token callers are exempt: the token is itself the
+proof of intent, and no browser attaches it on a cross-site request.
+
+A malformed envelope answers with its own status rather than a guess at your
+intent: `415` for a non-JSON content-type, `413` for an oversized body, `400
+bad_body` for anything that is not a JSON object.
+
Error codes you should handle: `bad_tag`, `tag_taken`, `tag_reserved`,
`already_in_crew`, `target_in_crew`, `no_invite`, `not_owner`, `not_member`.
@@ -37250,6 +40011,11 @@ breaking an existing crew's link.
The public view of one crew: identity plus roster with presence and standees. No
auth required. `404 not_found` when no crew flies that tag.
+The tag is case-insensitive and a trailing slash is fine, so `/api/crews/NOVA`,
+`/api/crews/nova` and `/api/crews/NOVA/` are one resource. The path is the only
+thing that selects the crew: a `?tag=` on the query string is ignored, so a link
+can never answer with a different crew's roster than the one its URL names.
+
### `GET /api/crews/search?q=<term>`
Accounts to invite, for a caller who is already in a crew. Each hit carries what
@@ -37293,7 +40059,7 @@ player who is already social in the world finds the group surface.
---
-<a id="sec-157"></a>
+<a id="sec-164"></a>
> **Source:** `docs/crypto-api.md` · [↑ table of contents](#table-of-contents)
@@ -37342,9 +40108,11 @@ is documented in its section below and machine-readable in the OpenAPI doc.
| Endpoint | Verb(s) | What it answers |
|----------|---------|-----------------|
+| [`/api/crypto/airdrops`](https://three.ws/api/crypto/airdrops) | `GET` | Which airdrops a wallet is on track for - its real on-chain activity scored against the live registry, with met/missing criteria per airdrop. |
| [`/api/crypto/bonding`](https://three.ws/api/crypto/bonding) | `GET` | Where a pump.fun token sits on its bonding curve — % to graduation, SOL in the curve, and whether it has migrated to an AMM. |
| [`/api/crypto/holders`](https://three.ws/api/crypto/holders) | `GET` | Holder distribution for a Solana token — top wallets with % of supply, cumulative top-10 share, and a documented concentration verdict. |
| [`/api/crypto/launches`](https://three.ws/api/crypto/launches) | `GET` | The freshest pump.fun launches, newest first — age, market cap, bonding-curve progress, dev wallet — with `minMarketCap` / `maxAgeMin` filters built for polling agents. |
+| [`/api/crypto/portfolio`](https://three.ws/api/crypto/portfolio) | `GET` | A wallet read shaped for a portfolio view - stable/major/other split, top-asset allocation, per-token 24h change, and an aggregate 24h move that states its own coverage. |
| [`/api/crypto/security`](https://three.ws/api/crypto/security) | `GET` | Pre-trade rug check for a Solana token — authority, concentration, liquidity, mutability, and LP-custody facts composed into a deterministic riskLevel. |
| [`/api/crypto/symbol`](https://three.ws/api/crypto/symbol) | `GET` · `POST` | Whether up to 20 candidate tickers are taken — exact and fuzzy (look-alike) collisions across live registries. |
| [`/api/crypto/token`](https://three.ws/api/crypto/token) | `GET` | The current market state of any token by contract address — price, 24 h change, market cap, FDV, liquidity, volume, and venue link in one call. |
@@ -37577,6 +40345,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)
@@ -37601,9 +40371,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.
@@ -37859,6 +40633,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.
@@ -38124,6 +40905,193 @@ curl -s "https://three.ws/api/crypto/holders?address=FeMbDoX7R1Psc4GEcvJdsbNbZA3
---
+## `GET /api/crypto/portfolio` - Portfolio overview
+
+**Use-case.** A *treasury or reporting agent* already has the raw balances from
+[`/api/crypto/wallet`](#get-apicryptowallet--wallet-portfolio) and needs the
+next layer: how the value splits across stables, majors and everything else,
+which assets dominate, and whether the book is up or down on the day. This is
+that layer, computed once server-side so every client renders the same numbers.
+
+### Request
+
+| Param | Type | Default | Notes |
+|-----------|--------|----------|-------|
+| `address` | string | required | Wallet address. Solana base58 or EVM `0x`. |
+| `chain` | enum | `solana` | `solana` (alias `sol`) or `ethereum` (aliases `eth`, `evm`, `mainnet`). |
+
+### Response
+
+```json
+{
+ "address": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump",
+ "chain": "solana",
+ "totalUsd": 1284.51,
+ "unpricedCount": 2,
+ "change24h": { "usd": -22.4, "pct": -1.71, "coveragePct": 96.2 },
+ "summary": {
+ "stable": { "usd": 400.0, "pct": 31.14, "count": 1 },
+ "major": { "usd": 800.5, "pct": 62.32, "count": 1 },
+ "other": { "usd": 84.01, "pct": 6.54, "count": 3 }
+ },
+ "topAssets": [
+ { "id": "native", "symbol": "SOL", "name": "Solana", "usd": 800.5, "pct": 62.32, "slot": 1, "logo": null }
+ ],
+ "rows": [
+ {
+ "id": "native",
+ "symbol": "SOL",
+ "name": "Solana",
+ "kind": "native",
+ "class": "major",
+ "amount": 10.58,
+ "price": 75.66,
+ "usd": 800.5,
+ "pct": 62.32,
+ "change24h": -1.78,
+ "logo": null
+ }
+ ],
+ "tokenCount": 5,
+ "truncated": false,
+ "ts": "2026-08-10T16:31:34.527Z",
+ "sources": ["solana-rpc", "jupiter-lite", "dexscreener"]
+}
+```
+
+- **`change24h.coveragePct`** - the share of portfolio value the aggregate move
+ actually covers. Tokens beyond the enrichment cap keep `change24h: null` and
+ are excluded from the aggregate rather than extrapolated over.
+- **`class`** - `stable`, `major` or `other`, so a chart can group without
+ re-deriving the taxonomy per client.
+- **`slot`** - a palette slot per top asset, so the same wallet colors the same
+ way across reloads and across surfaces.
+- **`stale: true`** - present only when the balance source served a cached read.
+
+### Sources
+
+- **Solana (keyless):** Helius DAS when the deployment has a key, else a public
+ RPC walk; prices from Jupiter Lite plus the pump.fun curve; 24h changes from
+ DexScreener's batch endpoint (30 mints per call, top 60 holdings) and the
+ multi-provider SOL price failover.
+- **Ethereum:** the same `getBalances()` EVM path (needs a provider key) - its
+ tokens already carry CoinGecko 24h changes.
+
+### States
+
+- **Wallet with holdings** -> `200` with the full overview.
+- **Empty wallet** -> `200` with `totalUsd: 0`, empty `rows`/`topAssets` - a
+ valid empty, not an error.
+- **Missing/invalid `address`, unsupported `chain`** -> `400` with an example.
+- **Chain needs a key this deployment lacks** -> `503 not_configured`, naming
+ that Solana works keyless.
+- **Balance source unreachable** -> `503` + `Retry-After`. Never `500`.
+- **Rate-limited** -> `429`.
+
+### Examples
+
+```bash
+# Full overview for a Solana wallet
+curl -s "https://three.ws/api/crypto/portfolio?address=<wallet>"
+
+# Just the day's move and how much of the book it covers
+curl -s "https://three.ws/api/crypto/portfolio?address=<wallet>" | jq '.change24h'
+```
+
+---
+
+## `GET /api/crypto/airdrops` - Airdrop eligibility
+
+**Use-case.** A *wallet-strategy agent* wants to know which upcoming airdrops a
+wallet is already on track for, and exactly what is missing for the rest. One
+call measures the wallet's real on-chain activity and scores it against the live
+registry, so the agent can act on the gap instead of guessing at farming advice.
+
+### Request
+
+| Param | Type | Default | Notes |
+|-----------|--------|---------|-------|
+| `address` | string | none | Wallet to score (Solana base58 or EVM `0x`). Omit it to get the registry alone - the directory view before any lookup. |
+
+### Response
+
+```json
+{
+ "address": "<wallet>",
+ "family": "solana",
+ "activity": {
+ "family": "solana",
+ "tx_count": 412,
+ "days_active": 96,
+ "account_age_days": 640,
+ "unique_tokens": 23,
+ "capped": false,
+ "chains": ["solana"]
+ },
+ "opportunities": [
+ {
+ "id": "jupiter-jupuary",
+ "name": "Jupiter",
+ "chain": "solana",
+ "status": "confirmed",
+ "score": 82,
+ "eligibility": "qualified",
+ "met": [{ "description": "50+ transactions on Solana", "met": true }],
+ "missing": [],
+ "manual": [{ "description": "Swap through the aggregator and try limit orders" }],
+ "estimatedValue": "$100 - $2,000",
+ "deadline": null,
+ "source": "https://jup.ag"
+ }
+ ],
+ "otherFamily": [],
+ "summary": { "qualified": 3, "inProgress": 2, "notEligible": 4 },
+ "thresholds": { "qualified": 70, "inProgress": 40 },
+ "registryUpdated": "2026-08-01",
+ "ts": "2026-08-10T16:31:34.527Z"
+}
+```
+
+- **`met` / `missing` / `manual`** - criteria that the measured activity clears,
+ criteria it does not, and criteria no on-chain read can settle (governance
+ votes, off-chain quests). Manual criteria never inflate the score.
+- **`otherFamily`** - registry entries for the chain family this address is not
+ on, returned unevaluated so a UI can say "check this with your other wallet"
+ instead of rendering a fake zero.
+- **`eligibility`** - `qualified`, `in_progress` or `not_eligible`, decided by
+ the `thresholds` returned alongside it, so the cutoffs are never implicit.
+
+### Sources
+
+- **Solana (keyless):** the rotating RPC chain, for transaction count, active
+ days, account age and distinct tokens touched.
+- **EVM:** Etherscan V2 behind `ETHERSCAN_API_KEY`.
+- **Registry:** [`data/airdrops.json`](../data/airdrops.json), with its
+ `updated` date echoed as `registryUpdated`.
+
+### States
+
+- **No `address`** -> `200` with `registry` + `thresholds`: the directory view.
+- **Scored wallet** -> `200` with activity, opportunities and summary.
+- **Invalid address (neither Solana nor EVM)** -> `400`.
+- **EVM requested where no explorer key is set** -> `503 not_configured`,
+ naming that Solana wallets work keyless.
+- **Activity sources unreachable** -> `503` + `Retry-After`. Never `500`.
+- **Rate-limited** -> `429`.
+
+### Examples
+
+```bash
+# The registry alone, before any wallet lookup
+curl -s "https://three.ws/api/crypto/airdrops" | jq '.registry[].name'
+
+# Score a wallet and list only what it already qualifies for
+curl -s "https://three.ws/api/crypto/airdrops?address=<wallet>" \
+ | jq '.opportunities[] | select(.eligibility == "qualified") | .name'
+```
+
+---
+
## Related
- [Market Data API](/docs/market-data-api) - the paid x402 twin: coin prices, DeFi TVL, yields, gas, and the per-datapoint fabric
@@ -38133,7 +41101,7 @@ curl -s "https://three.ws/api/crypto/holders?address=FeMbDoX7R1Psc4GEcvJdsbNbZA3
---
-<a id="sec-158"></a>
+<a id="sec-165"></a>
> **Source:** `docs/custody.md` · [↑ table of contents](#table-of-contents)
@@ -38159,7 +41127,7 @@ Limits live per agent and are owner-configurable from the wallet hub (API: `GET/
Enforcement is uniform: the same policy module gates **every** outbound path — withdrawals, x402 payments, sniper buys, trades. A transaction that would breach a cap is refused with a structured `403` before signing; no funds move. Limits are opt-in (`null` means uncapped) — but they're hard once set. SPL tokens that can't be priced in USD are governed by the allowlist instead, so a price-feed outage can never strand your own withdrawal.
-You can also write these rules in plain English — see [financial-controls](#sec-180) for the natural-language rules layer and the real-time defense behaviors built on top of this same enforcement point.
+You can also write these rules in plain English — see [financial-controls](#sec-216) for the natural-language rules layer and the real-time defense behaviors built on top of this same enforcement point.
## Freeze: the kill switch that can't trap you
@@ -38216,14 +41184,14 @@ Every step of recovery and inheritance writes to the custody trail and the audit
## Related
-- [Financial controls](#sec-180) — plain-English spend rules and real-time wallet defense on these rails
-- [Trading surfaces](#sec-350) — Mission Control executes through this same guarded path
-- [The trading experiment](#sec-348) — an autonomous agent operating inside these limits, journaled
-- [x402](#sec-456) — the payment protocol these wallets spend over
+- [Financial controls](#sec-216) — plain-English spend rules and real-time wallet defense on these rails
+- [Trading surfaces](#sec-398) — Mission Control executes through this same guarded path
+- [The trading experiment](#sec-396) — an autonomous agent operating inside these limits, journaled
+- [x402](#sec-506) — the payment protocol these wallets spend over
---
-<a id="sec-159"></a>
+<a id="sec-166"></a>
> **Source:** `docs/daily-forge.md` · [↑ table of contents](#table-of-contents)
@@ -38322,14 +41290,14 @@ console.log(themeIndex(new Date().toISOString().slice(0, 10), 24));
## Related
- [The 3D pipeline](#sec-003) and [3D API](#sec-001): the text-to-3D forge the free lane rides
-- [Forge background generation](#sec-181): the job and polling model
-- [AR and WebXR](#sec-092): the Scene Viewer and Quick Look handoff
-- [Quick start](#sec-302): the general free-forge onboarding
+- [Forge background generation](#sec-218): the job and polling model
+- [AR and WebXR](#sec-097): the Scene Viewer and Quick Look handoff
+- [Quick start](#sec-348): the general free-forge onboarding
- Pages: [/daily](https://three.ws/daily) · [/forge](https://three.ws/forge) · [/ar/studio](https://three.ws/ar/studio)
---
-<a id="sec-160"></a>
+<a id="sec-167"></a>
> **Source:** `docs/daily-match.md` · [↑ table of contents](#table-of-contents)
@@ -38460,13 +41428,13 @@ falls back to `type`.
| Shared HTTP / rate-limit / DB helpers | [`api/_lib/http.js`](../api/_lib/http.js), [`api/_lib/rate-limit.js`](../api/_lib/rate-limit.js), [`api/_lib/db.js`](../api/_lib/db.js) |
| Sibling live-window leaderboard | [`api/leaderboard/unified.js`](../api/leaderboard/unified.js) |
-Related docs: [agent-sniper.md](#sec-058) (where the trade and P&L
-columns come from), [agent-skills.md](#sec-057) (skill sales),
-[pump-launcher.md](#sec-280) (launches).
+Related docs: [agent-sniper.md](#sec-059) (where the trade and P&L
+columns come from), [agent-skills.md](#sec-058) (skill sales),
+[pump-launcher.md](#sec-326) (launches).
---
-<a id="sec-161"></a>
+<a id="sec-168"></a>
> **Source:** `docs/demo-routes.md` · [↑ table of contents](#table-of-contents)
@@ -38662,7 +41630,7 @@ Re-verified against production (`https://three.ws`) with `curl -sIL`:
---
-<a id="sec-162"></a>
+<a id="sec-169"></a>
> **Source:** `docs/deployment.md` · [↑ table of contents](#table-of-contents)
@@ -39032,7 +42000,7 @@ The `crons` array in `vercel.json` declares every scheduled job (100 at time of
| `/api/cron/run-dca` | Every hour | Execute scheduled DCA strategies |
| `/api/cron/run-subscriptions` | Every hour | Process recurring subscriptions |
-The container does **not** schedule these itself — you need an external scheduler hitting the endpoints. On Cloud Run that is Cloud Scheduler; self-hosters can point any HTTP cron (Cloud Scheduler, cron-job.org, Upstash QStash) at `/api/cron/*` with the `CRON_SECRET` bearer, or run `scripts/economy-heartbeat.mjs` as a long-lived pinger that reads `vercel.json` and fires every due cron each minute. See the [economy heartbeat](#sec-168) guide for the driver patterns.
+The container does **not** schedule these itself — you need an external scheduler hitting the endpoints. On Cloud Run that is Cloud Scheduler; self-hosters can point any HTTP cron (Cloud Scheduler, cron-job.org, Upstash QStash) at `/api/cron/*` with the `CRON_SECRET` bearer, or run `scripts/economy-heartbeat.mjs` as a long-lived pinger that reads `vercel.json` and fires every due cron each minute. See the [economy heartbeat](#sec-175) guide for the driver patterns.
### Static asset caching
@@ -39097,7 +42065,7 @@ does not use them: it reads and writes the ERC-8004 reference
`ValidationRegistryUpgradeable`, which has no validator allow-list. A validator is
authorized per agent by the agent's owner opening a request that names it (or by
the owner approving it as an operator). See
-[erc8004/validation-attestation.md](#sec-176), and verify
+[erc8004/validation-attestation.md](#sec-183), and verify
any configured registry address with `npm run verify:erc8004-validation`.
---
@@ -39159,7 +42127,7 @@ docker run -p 8080:8080 \
- **Logs:** on Cloud Run, `gcloud run services logs read three-ws-api --region us-central1` or Cloud Logging; on any other host, that platform's log stream.
- **Request duration / timeout:** the Cloud Run service runs with a 900s request timeout; set the equivalent on your host so long renders (avatar thumbnails, 3D generation) don't get cut off.
-- **Uptime:** the `uptime-check` cron ([api/cron/uptime-check.js](../api/cron/uptime-check.js)) watches the economy and subsystems and escalates to the ops Telegram channel — see the [economy heartbeat](#sec-168) guide.
+- **Uptime:** the `uptime-check` cron ([api/cron/uptime-check.js](../api/cron/uptime-check.js)) watches the economy and subsystems and escalates to the ops Telegram channel — see the [economy heartbeat](#sec-175) guide.
### Database monitoring
@@ -39254,7 +42222,7 @@ Upstash REST API uses HTTPS — no ports to open. If you see connection errors,
---
-<a id="sec-163"></a>
+<a id="sec-170"></a>
> **Source:** `docs/deployments.md` · [↑ table of contents](#table-of-contents)
@@ -39266,7 +42234,7 @@ It answers three questions at a glance: how big is the on-chain agent population
Every row is a real on-chain registration. There are no synthetic entries and no seeded demo rows. When a network is quiet the feed is honestly empty, and when a signal was never measured the UI says so rather than rendering a zero.
-Related reading: [ERC-8004 blockchain identity](#sec-175) for the standard, the registry contracts, and how to register; [deploying agents on-chain](#sec-253) for the Solana Metaplex Core path; [agent reputation on Solana](#sec-329) for the trust layer built on top of a Solana identity.
+Related reading: [ERC-8004 blockchain identity](#sec-182) for the standard, the registry contracts, and how to register; [deploying agents on-chain](#sec-295) for the Solana Metaplex Core path; [agent reputation on Solana](#sec-376) for the trust layer built on top of a Solana identity.
---
@@ -39281,12 +42249,14 @@ This surface is **not EVM-only**. Solana is folded into the same feed as a first
Two Solana upstreams feed it: three.ws's own Metaplex Core mints, and the external Metaplex Agent Registry. Details in [where the data comes from](#where-the-data-comes-from).
-What lives elsewhere: the *creation* path for a Solana identity is documented in [deploying agents on-chain](#sec-253) (the single-agent, user-signed flow is in [Solana agents](#sec-330)), and Solana reputation and attestations are in [agent reputation on Solana](#sec-329). This page is only the index and the feed.
+What lives elsewhere: the *creation* path for a Solana identity is documented in [deploying agents on-chain](#sec-295) (the single-agent, user-signed flow is in [Solana agents](#sec-377)), and Solana reputation and attestations are in [agent reputation on Solana](#sec-376). This page is only the index and the feed.
---
## What the page shows
+**A "Latest to Land" spotlight** above the counters: the newest deployment of the current view gets a hero card with its avatar, name, capability tags, chain, owner, live-updating relative time, and registration-tx link. It re-renders (with an entrance animation) only when a different agent takes the top slot, and it follows the active network and kind filter.
+
**Six headline counters**, from `GET /api/deployments?view=stats`:
| Counter | Field | Meaning |
@@ -39312,7 +42282,9 @@ Feed images are third-party data: whatever URL the agent's owner published on-ch
- **Kind filter**: `All`, `3D avatar`, `x402`.
- **Load older**: keyset pagination, also triggered automatically when the button scrolls into view.
-**Live behavior:** the page polls every 45 seconds. It refreshes stats always, and re-fetches the top of the feed *only while you are still on the first page*, so loading older rows never yanks you back to the top. Polling pauses entirely while the tab is hidden. Genuinely new rows are prepended with a slide-in so the refresh reads as a stream. A live-state dot on the feed header reflects the real poll lifecycle (connecting, live, idle, error).
+**Top chains** rail: one bar per chain, scaled to the busiest chain, each showing the agent count and that chain's share of the network class; chain names link to the chain's explorer.
+
+**Live behavior:** the page polls every 45 seconds. Relative timestamps (spotlight and feed rows) re-render every 30 seconds so a row never claims "just now" ten minutes later. It refreshes stats always, and re-fetches the top of the feed *only while you are still on the first page*, so loading older rows never yanks you back to the top. Polling pauses entirely while the tab is hidden. Genuinely new rows are prepended with a slide-in so the refresh reads as a stream. A live-state dot on the feed header reflects the real poll lifecycle (connecting, live, idle, error).
Empty and error states are specific: an empty `x402` filter says no x402-enabled agents are registered on that network for that filter and links to the deploy flow, and a failed fetch offers a retry rather than a blank pane.
@@ -39337,14 +42309,14 @@ A second stage, **metadata enrichment**, takes up to 25 rows per run whose metad
Metadata is attacker-controlled: it is whatever the agent's owner published on-chain. Two consequences are load-bearing. Enrichment refuses to let `meta.active` alone decide visibility, and a name or description containing a slur sets `active = false` so the row is withheld from every public feed (this page included). A failed fetch records `metadata_error` and moves on rather than retrying in a loop.
-The Identity Registry is deployed deterministically via CREATE2, so it has one address per network class, the same on every chain. See [ERC-8004](#sec-175) for the addresses and the contract surface.
+The Identity Registry is deployed deterministically via CREATE2, so it has one address per network class, the same on every chain. See [ERC-8004](#sec-182) for the addresses and the contract surface.
### 2. Solana: three.ws's own Metaplex Core mints
Read directly from `agent_identities`, no crawler needed, because these are minted by the platform (`api/_lib/onchain-deploy.js`):
-- **Mainnet:** rows with `meta.chain_type = 'solana'`, `meta.network = 'mainnet'`, and a `meta.sol_mint_address`. The Core asset pubkey is the `agent_id`, `meta.onchain.owner` is the owner, `meta.onchain.confirmed_at` (falling back to the row's creation time) is `registered_at`, and `meta.onchain.tx_hash` is the registration transaction.
-- **Testnet:** the same fields isolated under `meta.devnet`.
+- **Mainnet:** rows with `meta.chain_type = 'solana'`, `meta.network = 'mainnet'`, and a `meta.sol_mint_address`. The Core asset pubkey is the `agent_id`; the owner is `meta.onchain.wallet` (falling back to legacy `meta.onchain.owner`, then the row's `wallet_address`); `meta.onchain.confirmed_at` (falling back to the row's creation time) is `registered_at`; and the registration transaction is `meta.onchain.tx_hash` (falling back to legacy `meta.tx_signature`).
+- **Testnet:** two shapes are read, because two confirm paths write them: the server-signed path isolates the same fields under `meta.devnet`, while the wallet-signed path writes the top-level shape with `meta.network = 'devnet'`. The nested block wins when both exist, and external-registry dedupe checks both.
For these rows, `has_3d` is true when the agent has a linked avatar record, and `x402_support` is true when `meta.payments.configured` is set.
@@ -39487,7 +42459,7 @@ The network toggle derives its chain-id sets from that table at import time, so
---
-<a id="sec-164"></a>
+<a id="sec-171"></a>
> **Source:** `docs/developer-platform.md` · [↑ table of contents](#table-of-contents)
@@ -39507,8 +42479,8 @@ The browser UI for all of this lives in the dashboard:
Base URL: `https://three.ws`
-Related docs: [MCP integration](#sec-230), [API reference](#sec-089),
-[Authentication](#sec-096), [x402 developer tools](#sec-450).
+Related docs: [MCP integration](#sec-272), [API reference](#sec-094),
+[Authentication](#sec-101), [x402 developer tools](#sec-499).
---
@@ -39548,9 +42520,9 @@ key, no CSRF.
## API keys
API keys are bearer credentials for machine clients: the MCP server at
-`/api/mcp` (see [MCP integration](#sec-230)) and the account-scoped REST
+`/api/mcp` (see [MCP integration](#sec-272)) and the account-scoped REST
endpoints that accept `Authorization: Bearer` (see the
-[API reference](#sec-089)). Each key carries a set of scopes:
+[API reference](#sec-094)). Each key carries a set of scopes:
`avatars:read`, `avatars:write`, `avatars:delete`, `profile`, `memory:read`,
`memory:write`, `agents:read`, `agents:write`
@@ -39559,8 +42531,11 @@ Keys are stored as a SHA-256 hash. The plaintext secret is returned **exactly
once**, in the create response. Only the 12-character prefix is kept for
display.
-All three key-management routes share one rate limit bucket: **30 requests per
-hour** per user.
+Each key-management route has its own rate limit bucket, per user, so that one
+cannot starve another: minting is **30 per hour**, listing is **120 per
+minute** (the dashboard lists on every load and after every mutation), and
+revoking is **60 per hour** (killing a leaked key must never be blocked by a
+spent mint budget).
### POST /api/keys
@@ -39607,9 +42582,14 @@ Response, `201`:
Store `secret` now; it is never returned again.
+Repeated scopes are stored once. Sending `scope` as an empty or whitespace-only
+string is rejected rather than defaulted: it would mint a key that grants
+nothing. Omit the field entirely to take the default.
+
Errors: `401 unauthorized`, `403 csrf_missing` / `csrf_invalid`,
-`400 validation_error` (zod issues, or `unknown scopes: <list>` for a scope
-outside the allowed set), `429 rate_limited`.
+`400 validation_error` (zod issues, `unknown scopes: <list>` for a scope
+outside the allowed set, or `scope must name at least one permission`),
+`429 rate_limited`.
### GET /api/keys
@@ -39654,8 +42634,9 @@ curl -s -X DELETE "https://three.ws/api/keys/$KEY_ID" \
Response, `200`: `{ "ok": true }`
-Errors: `404 not_found` when the key does not exist, belongs to someone else,
-or is already revoked.
+Errors: `400 invalid_id` when `:id` is not a UUID, `401 unauthorized`,
+`403 csrf_missing` / `csrf_invalid`, `404 not_found` when the key does not
+exist, belongs to someone else, or is already revoked, `429 rate_limited`.
---
@@ -39664,7 +42645,8 @@ or is already revoked.
### GET /api/developer/usage
Aggregated activity for your account over a lookback window, built from the
-audit log, webhook deliveries, and x402 receipts. Session required.
+audit log, webhook deliveries, and settled x402 checkout calls against the SKUs
+you own. Session required.
Query parameters:
@@ -39693,7 +42675,8 @@ Response, `200`:
"timeseries": [ { "day": "2026-07-23", "requests": 61 } ],
"top_actions": [ { "action": "avatar.render", "count": 118 } ],
"webhooks": { "total_deliveries": 24, "succeeded": 23, "failed": 1 },
- "x402": { "payments": 5, "volume_usdc": 5000 }
+ "x402": { "payments": 5, "volume_usdc": 1.25, "volume_atomics": "1250000" },
+ "degraded": []
}
```
@@ -39707,10 +42690,15 @@ Field notes, exactly as computed:
- `top_actions` is the top 10 actions by count.
- `webhooks.succeeded` counts deliveries with a 2xx status; `failed` counts
null status (network failure) or status >= 400.
-- `x402.payments` and `volume_usdc` cover receipts where you were the payee;
- `volume_usdc` is in USDC base units.
+- `x402.payments` counts settled checkout calls (`response_status < 400`)
+ against the SKUs you own, over the same window. `volume_atomics` is their
+ gross in USDC atomic units as a string; `volume_usdc` is the same figure in
+ whole USDC.
- Each aggregate degrades independently to zeros or an empty array if its
- source query fails, so the endpoint never 500s over one missing table.
+ source query fails, so the endpoint never 500s over one missing table. When
+ that happens the section names itself in `degraded` (`["x402"]`,
+ `["timeseries"]`, …) so you can tell "no activity" from "unavailable".
+ `degraded` is `[]` on a healthy response.
Errors: `401 unauthorized`.
@@ -39769,7 +42757,7 @@ Request body:
| Field | Type | Required | Notes |
|---|---|---|---|
| `url` | string | yes | HTTPS only, max 2048 characters, must resolve to a public address |
-| `events` | string[] | no | filtered to the known event types; empty or omitted = **all events** |
+| `events` | string[] | no | empty or omitted = **all events**; an unknown event type is rejected, it is never silently dropped |
| `description` | string | no | trimmed, truncated to 200 characters |
The URL is checked against SSRF at registration time: a hostname that resolves
@@ -39808,8 +42796,8 @@ Response, `201`:
Store it; you need it to verify signatures.
Errors: `400 bad_request` (missing/invalid/too-long/non-HTTPS/non-public URL,
-malformed JSON, or a non-JSON content type), `409 limit_reached` at 10
-webhooks, `401`, `403` (CSRF).
+an unknown or non-array `events` value, malformed JSON, or a non-JSON content
+type), `409 limit_reached` at 10 webhooks, `401`, `403` (CSRF).
### GET /api/developer/webhooks/:id
@@ -39828,7 +42816,8 @@ delivery is
Partial update. Session + CSRF required. Any subset of:
- `url` (same HTTPS, length, and SSRF validation as create)
-- `events` (replaces the array, filtered to known types)
+- `events` (replaces the array; same validation as create, so an unknown type is
+ a `400` and an empty array resets the webhook to all events)
- `active` (boolean; pause or resume delivery)
- `description`
@@ -39840,8 +42829,9 @@ Response, `200`: `{ "webhook": { … } }` with `updated_at` refreshed.
Delete the webhook and stop all delivery. Session + CSRF required.
Response, `200`: `{ "deleted": true }`.
-Errors for all three `:id` routes: `404 not_found` when the ID does not exist
-or is not yours, `400 bad_request` when the ID is missing.
+Errors for all three `:id` routes: `404 not_found` when the ID does not exist,
+is not yours, or is not a well-formed UUID; `400 bad_request` when the ID is
+missing.
### Delivery format and signature verification
@@ -39941,10 +42931,10 @@ If either JSON-RPC step returns an error, the HTTP status is still `200` and
the body is `{ "ok": false, "error": { …JSON-RPC error… } }`.
Errors: `400 bad_request` (`keyId` missing or not a string),
-`404 not_found` (key does not exist or is not yours), `400 revoked`,
-`400 expired`, `401`, `403` (CSRF), `429`.
+`404 not_found` (key does not exist, is not yours, or is not a well-formed
+UUID), `400 revoked`, `400 expired`, `401`, `403` (CSRF), `429`.
-See [MCP integration](#sec-230) for configuring a real client against
+See [MCP integration](#sec-272) for configuring a real client against
`/api/mcp`.
---
@@ -39973,7 +42963,7 @@ between deploys without an MCP handshake.
### GET /api/skills-manifest
A machine-readable manifest of the browser agent's skills (see
-[Agent skills](#sec-057)). Public, CORS `*`, cached for 60 seconds
+[Agent skills](#sec-058)). Public, CORS `*`, cached for 60 seconds
(`cache-control: public, max-age=60`).
```bash
@@ -40023,7 +43013,7 @@ omitted from the manifest.
---
-<a id="sec-165"></a>
+<a id="sec-172"></a>
> **Source:** `docs/diorama.md` · [↑ table of contents](#table-of-contents)
@@ -40114,13 +43104,13 @@ The compose response shape (abridged):
## Related
-- [Forge](#sec-184) is the single-object generator every diorama object is forged on.
-- [Image to 3D](#sec-206) for photo-based objects; [AR](#sec-092) for viewing worlds in augmented reality.
+- [Forge](#sec-221) is the single-object generator every diorama object is forged on.
+- [Image to 3D](#sec-247) for photo-based objects; [AR](#sec-097) for viewing worlds in augmented reality.
- Pages: [/scene](https://three.ws/scene) (Scene Studio, where an exported diorama opens), [/gallery](https://three.ws/gallery), [/create](https://three.ws/create).
---
-<a id="sec-166"></a>
+<a id="sec-173"></a>
> **Source:** `docs/do-i-need-crypto.md` · [↑ table of contents](#table-of-contents)
@@ -40200,14 +43190,14 @@ When you do interact with on-chain features, the platform's native token is **$T
## What's next
-- **Create your first agent** → [Make your first agent](#sec-221)
-- **Put it on your site** → [Share & embed](#sec-317)
-- **Optional: register on-chain** → [Register on-chain](#sec-397)
-- **Technical auth details** → [Authentication](#sec-096)
+- **Create your first agent** → [Make your first agent](#sec-263)
+- **Put it on your site** → [Share & embed](#sec-364)
+- **Optional: register on-chain** → [Register on-chain](#sec-445)
+- **Technical auth details** → [Authentication](#sec-101)
---
-<a id="sec-167"></a>
+<a id="sec-174"></a>
> **Source:** `docs/docs-world.md` · [↑ table of contents](#table-of-contents)
@@ -40294,7 +43284,7 @@ Adding a section is the same edit: append to `sections` and a new pavilion appea
---
-<a id="sec-168"></a>
+<a id="sec-175"></a>
> **Source:** `docs/economy-heartbeat.md` · [↑ table of contents](#table-of-contents)
@@ -40449,13 +43439,13 @@ CRON_SECRET=… DURATION_MINUTES=10 node scripts/economy-heartbeat.mjs
- **Undeployed endpoints are tolerated.** A target missing from the deployed
build reports `status: 404` and never stops the others.
-Related: [circulation engine](#sec-132) ·
-[x402 ring economy](#sec-454) ·
-[economy funding root](#sec-169) · [money map](#sec-240)
+Related: [circulation engine](#sec-137) ·
+[x402 ring economy](#sec-503) ·
+[economy funding root](#sec-176) · [money map](#sec-282)
---
-<a id="sec-169"></a>
+<a id="sec-176"></a>
> **Source:** `docs/economy-master.md` · [↑ table of contents](#table-of-contents)
@@ -40559,6 +43549,26 @@ every lamport cycles master → engines → work → master:
rejects a transfer that would leave a wallet below rent exemption). Engines are
left unfunded until the next topup — use it to decommission the fleet or
recover everything to the root in one call.
+- **Dry run (either mode).** Append `?dry=1` to plan without moving anything:
+ the same balance reads, alias merging, and floor math run, then every entry
+ comes back flagged `dryRun` with a `null` signature. Nothing is signed or
+ broadcast, no ledger row is written, and no alert fires. A dry drain does not
+ need the `confirm=drain` token, because a preview cannot empty anything:
+
+ ```bash
+ # what would the scheduled 6-hourly sweep consolidate right now?
+ curl -s -H "Authorization: Bearer $CRON_SECRET" \
+ 'https://three.ws/api/cron/treasury-sweepback?dry=1' | jq .would_sweep_sol
+
+ # and what would a full drain pull back, tokens included?
+ curl -s -H "Authorization: Bearer $CRON_SECRET" \
+ 'https://three.ws/api/cron/treasury-sweepback?mode=drain&dry=1' | jq
+ ```
+
+ This is the mirror of the topup's own `?dry=1`, and it is what makes the
+ return leg inspectable (and testable, see
+ [`tests/cron-sweepback-dryrun.test.js`](../tests/cron-sweepback-dryrun.test.js))
+ without moving real mainnet SOL.
The destination lock is the mirror of the topup allowlist: the only recipient in
the module is the `ECONOMY_MASTER_ADDRESS` constant — not a parameter — so no
@@ -40898,7 +43908,7 @@ The JSON response reports `configured`, `master_sol`, `funded`, `failed`,
off-registry target reached the sweep and was blocked — investigate the caller.
If the Cloud Scheduler job never fires, the
-[economy heartbeat](#sec-168) dispatcher (and any external HTTP cron
+[economy heartbeat](#sec-175) dispatcher (and any external HTTP cron
pointed at `/api/cron/economy-tick`) keeps it — and every other cron — ticking.
## Audit, accounting & breach monitoring
@@ -41013,26 +44023,26 @@ of the tree the master feeds:
sponsor settle floor) and `x402-ring-payer` (`X402_SEED_SOLANA_SECRET_BASE58`,
fallback `X402_AGENT_SOLANA_SECRET_BASE58`, floor 0.03 SOL, `holdsTokens` so
sweepback leaves its USDC float alone) are topped up by this master like every
- other engine (see [x402 ring economy](#sec-454) /
- [autonomous x402](#sec-098)).
+ other engine (see [x402 ring economy](#sec-503) /
+ [autonomous x402](#sec-103)).
## Related
- [`api/_lib/solana-signers.js`](../api/_lib/solana-signers.js) — every
engine signer, its encoding, and how to fund/consolidate the economy wallets.
-- [Circulation engine](#sec-132) — the autonomous agent-to-agent
+- [Circulation engine](#sec-137) — the autonomous agent-to-agent
activity loop the funded engines drive.
-- [x402 ring economy](#sec-454) — closed-loop in-house x402 settlement.
+- [x402 ring economy](#sec-503) — closed-loop in-house x402 settlement.
---
-<a id="sec-170"></a>
+<a id="sec-177"></a>
> **Source:** `docs/economy-solver.md` · [↑ table of contents](#table-of-contents)
# The economy solver
-The [in-game economy reference](#sec-207) publishes **what** the `/play`
+The [in-game economy reference](#sec-248) publishes **what** the `/play`
world charges. The solver publishes **what those numbers mean**: the exact expected
cash, XP and goods per hour of every action in the world, at every skill level.
@@ -41251,16 +44261,16 @@ deploy.
## Next
-- **[The in-game economy](#sec-207)** is the raw reference: every catalog,
+- **[The in-game economy](#sec-248)** is the raw reference: every catalog,
gate, settlement path and the JSON wire format.
-- **[Earn and spend in /play](#sec-370)** walks the loop
+- **[Earn and spend in /play](#sec-418)** walks the loop
by hand, in the world.
- **[three.ws/play/solver](https://three.ws/play/solver)** is the interactive version
of everything above.
---
-<a id="sec-171"></a>
+<a id="sec-178"></a>
> **Source:** `docs/editor.md` · [↑ table of contents](#table-of-contents)
@@ -41609,7 +44619,7 @@ The full contract lives in [specs/EDITOR_SPEC.md](https://github.com/nirholas/th
---
-<a id="sec-172"></a>
+<a id="sec-179"></a>
> **Source:** `docs/education-pilot-bucharest.md` · [↑ table of contents](#table-of-contents)
@@ -41680,7 +44690,7 @@ Status: exploratory. A contact has offered a local connection to the office of t
---
-<a id="sec-173"></a>
+<a id="sec-180"></a>
> **Source:** `docs/embedding.md` · [↑ table of contents](#table-of-contents)
@@ -42129,6 +45139,8 @@ Then set the one setting — your **Agent ID** (a UUID or `@handle` from the das
| `gesture` | `{ name: wave\|nod\|point\|shrug }` | Play a physical gesture |
| `emote` | `{ trigger, weight? }` | Blend an emotion into the Empathy Layer |
+`render_agent` verifies the binding before it answers: a UUID `agentId` is looked up on the platform, so a typo in your plugin settings comes back as a `404 not_found` telling you to recopy the ID from the dashboard instead of a silent no-op. A resolved agent's name is returned as `agentName` and included in the model-facing message. A non-UUID `@handle` is resolved in the browser by the `<agent-3d>` element, so the endpoint passes it through unverified.
+
### Protocol
The host renders the manifest's `ui.url` iframe and delivers the triggering call over postMessage. Channel names differ only by prefix — `speraxos:` on SperaxOS, `lobe-chat:` on LobeChat — and are otherwise identical:
@@ -42415,16 +45427,16 @@ The platform records anonymous embed impressions (country, referrer hostname) vi
## See also
-- [Architecture Overview](#sec-093)
-- [Agent System Overview](#sec-061)
-- [Web Component reference](#sec-443) — full attribute list
-- [Widgets](#sec-446) — Widget Studio and widget types
+- [Architecture Overview](#sec-098)
+- [Agent System Overview](#sec-062)
+- [Web Component reference](#sec-491) — full attribute list
+- [Widgets](#sec-494) — Widget Studio and widget types
- [specs/EMBED_SPEC.md](../specs/EMBED_SPEC.md) — authoritative web component spec
- [specs/EMBED_HOST_PROTOCOL.md](../specs/EMBED_HOST_PROTOCOL.md) — versioned postMessage protocol
---
-<a id="sec-174"></a>
+<a id="sec-181"></a>
> **Source:** `docs/embody.md` · [↑ table of contents](#table-of-contents)
@@ -42527,14 +45539,14 @@ Embody is a thin, honest wire over pieces that already exist — no new pipeline
## Related
-- [Live embodiment](#sec-227) — the 3D Studio tools that persist and drive a body in chat.
-- [x402 Paid Endpoints](#sec-452) — the full paid catalog and pricing.
-- [x402 Buyer Client](#sec-449) — how to settle a 402 challenge from code.
-- [Avatar creation](#sec-101) — generate a rigged avatar in the web UI.
+- [Live embodiment](#sec-269) — the 3D Studio tools that persist and drive a body in chat.
+- [x402 Paid Endpoints](#sec-501) — the full paid catalog and pricing.
+- [x402 Buyer Client](#sec-498) — how to settle a 402 challenge from code.
+- [Avatar creation](#sec-106) — generate a rigged avatar in the web UI.
---
-<a id="sec-175"></a>
+<a id="sec-182"></a>
> **Source:** `docs/erc8004.md` · [↑ table of contents](#table-of-contents)
@@ -43243,7 +46255,7 @@ The same MAINNET addresses apply to all 15 mainnets. The same TESTNET addresses
---
-<a id="sec-176"></a>
+<a id="sec-183"></a>
> **Source:** `docs/erc8004/validation-attestation.md` · [↑ table of contents](#table-of-contents)
@@ -43396,7 +46408,1811 @@ reported the reverts as "no attestation yet".
---
-<a id="sec-177"></a>
+<a id="sec-184"></a>
+
+> **Source:** `docs/event-readiness/01-play-first-impression.md` · [↑ table of contents](#table-of-contents)
+
+# Audit 1: /play first impression and core UX
+
+We have a major event tomorrow and /play is the showcase surface. Your job: make the first 60 seconds of the $THREE world feel world-class. Load, audit, and fix; do not just report.
+
+Canonical URL (the exact link we will share at the event):
+
+```
+https://three.ws/play?coin=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump&name=three.ws&symbol=three&image=%2Fapi%2Fimg%3Furl%3Dhttps%253A%252F%252Fipfs.io%252Fipfs%252Fbafybeihe22b5sxr3ihnxt7pregfieyteqvubqhik3j3y4bbx243xlqjw3q%26seed%3DFeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump
+```
+
+## Where the code lives
+
+- Page shell: `pages/play.html` (served at /play via the vercel.json route table)
+- World boot and main loop: `src/game/coincommunities.js`
+- HUD and panels: `src/game/coincommunities-ui.js`, `src/game/coincommunities.css`, `src/game/hud/`
+- Intro and onboarding: `src/game/play-intro.js`, `src/game/play-onboard.js`, `src/game/play-handoff.js`
+- Avatar boot: `src/game/boot-avatar.js`
+- Ambient population: `src/game/ambient-crowd.js`
+
+## What to audit (walk it as a first-time visitor, in a real browser via `npm run dev`)
+
+1. **The blank-screen window.** Time from navigation to first meaningful paint of the world. Anything over a couple of seconds of dead screen needs a designed loading state: skeleton or branded loader with real progress (assets actually loading), never a fake timer.
+2. **Query-string identity.** The coin name, symbol, and image from the URL must be visibly used: page title, HUD, world signage. Verify the `image` param (an /api/img proxy URL) renders everywhere it should and has a fallback if the IPFS fetch fails.
+3. **Intro/onboarding flow.** Run it fresh (clear localStorage). Is it skippable? Does it explain movement, chat, and the economy in under 30 seconds? Does it re-appear when it should not?
+4. **HUD polish.** Every button: hover, active, focus states. Panel open/close transitions (opacity + transform, no pops). Consistent spacing and typography with the existing design tokens (`docs/DESIGN-TOKENS.md`).
+5. **Dead paths.** Click every visible control. Anything that does nothing, links nowhere, or throws is a bug to fix now.
+6. **The screenshot test.** Would a stranger screenshot this and share it? If not, identify the top 3 visual gaps (lighting, framing, initial camera position, signage) and fix them.
+
+## Verify
+
+- `npm run dev`, exercise /play with the canonical query string; zero console errors, zero warnings from your code.
+- `npm test` stays green.
+- Re-run your walkthrough after fixes; capture before/after notes in the final report.
+
+## Report format
+
+What you changed (files + one line each), what you verified in-browser, anything you judged out of scope with a one-line reason. No open questions.
+
+---
+
+<a id="sec-185"></a>
+
+> **Source:** `docs/event-readiness/02-play-mobile.md` · [↑ table of contents](#table-of-contents)
+
+# Audit 2: /play on mobile (stability and touch UX)
+
+A large share of event traffic will arrive on phones from a shared link. There is a known report that /play kicked mobile users out right after joining. Your job: reproduce, root-cause, fix, and then polish the touch experience.
+
+## Tools already in the repo
+
+- `scripts/play-mobile-repro.mjs`: emulated-phone harness that records console messages, page errors, WebSocket lifecycle, failed requests, transferred bytes, and heap samples. Run both engines:
+ - `ENGINE=webkit node scripts/play-mobile-repro.mjs https://three.ws/play 120000` (reproduces iOS Safari memory kills)
+ - `ENGINE=chromium node scripts/play-mobile-repro.mjs https://three.ws/play 120000` (gives heap + transfer numbers)
+ - It also attributes every `.glb` load and animation-clip fetch to a call stack, so duplicated downloads point at the code that asked for them.
+- `npm run audit:mobile-touch`: static touch-target audit.
+
+## What to audit
+
+1. **Survival.** Does an emulated iPhone stay in the world for the full run window? If it dies, the harness output tells you whether it was a page error, a memory kill (WebKit), or a WebSocket drop. Fix the root cause; do not add a reconnect band-aid over a crash.
+2. **Memory and transfer budget.** From the chromium run: total transferred bytes and peak heap. Duplicate GLB or clip fetches (same URL, multiple stacks) are the first thing to eliminate. Texture sizes and crowd density (`src/game/ambient-crowd.js`) are the usual heavy hitters; scale them down on mobile rather than shipping the desktop load.
+3. **Touch controls.** Virtual joystick or tap-to-move must work one-handed in portrait. Buttons at least 44px targets (`npm run audit:mobile-touch`). No hover-only affordances.
+4. **Viewport correctness.** No horizontal scroll, no UI under the notch or home indicator (safe-area insets), no 100vh keyboard bugs in the chat input.
+5. **Orientation.** Rotate mid-session; the canvas and HUD must reflow without a reload.
+
+## Verify
+
+- Both harness engines complete a 120s run on the canonical $THREE URL (see `docs/event-readiness/README.md`) with zero page errors and no disconnect.
+- `npm run audit:mobile-touch` passes on the play surface.
+- `npm test` stays green.
+
+## Report format
+
+Root cause of any crash found (with the harness evidence), fixes applied, remaining risk on real hardware that emulation cannot prove, stated plainly.
+
+---
+
+<a id="sec-186"></a>
+
+> **Source:** `docs/event-readiness/03-play-performance.md` · [↑ table of contents](#table-of-contents)
+
+# Audit 3: /play performance (load weight, frame rate, memory)
+
+The world must load fast on event wifi and hold 60fps on a mid-range laptop. Measure first, then fix the biggest numbers, then measure again.
+
+## Where the weight lives
+
+- Main world: `src/game/coincommunities.js` (4k+ lines; check what it imports eagerly vs lazily)
+- Population and props: `src/game/ambient-crowd.js`, `src/game/world-objects.js`, `src/game/terrain.js`, `src/game/build-voxels.js`
+- Shaders and environment: `src/game/water-shader.js`, `src/game/day-night.js`, `src/game/world-env.js`
+- Avatar pipeline: `src/game/boot-avatar.js`, `src/glb-canonicalize.js`, `src/animation-retarget.js`
+
+## What to measure (before touching anything)
+
+1. **Network.** With devtools on the canonical $THREE URL (see `docs/event-readiness/README.md`): total transferred bytes to interactive, largest individual assets, any asset fetched more than once. `scripts/play-mobile-repro.mjs` (chromium engine) prints transfer totals and attributes duplicate GLB/clip fetches to their call stacks.
+2. **Frame rate.** Performance panel recording of 30s of walking through the busiest area. Note long tasks, GC spikes, and the main-loop cost breakdown.
+3. **Memory.** Heap snapshot after 5 minutes idle in the world. Growth means a leak (event listeners, geometries/materials not disposed on despawn, chat log unbounded).
+
+## Fix priorities (biggest wins first)
+
+1. **Duplicate fetches.** Same GLB or animation clip loaded twice is pure waste; cache at the loader.
+2. **Eager imports that should be lazy.** Wheel UI, cosmetics shop, voice chat, intel kiosk: anything not needed for first paint should be a dynamic `import()` triggered on approach or click.
+3. **Draw calls.** Instance repeated props (trees, rocks, crowd members). Merge static geometry per zone.
+4. **Texture budget.** Downsize anything over 1024px that never fills the screen; KTX2/basis if the pipeline supports it, otherwise plain resizing is fine.
+5. **Per-frame allocation.** No `new Vector3()` in the render loop; reuse scratch objects.
+6. **Disposal.** Everything despawned (crowd, projectiles, dropped items) must dispose geometry, material, and textures.
+
+## Verify
+
+- Re-run the same three measurements; the report includes before/after numbers for transfer size, worst frame time, and 5-minute heap growth.
+- No visual regressions: walk the full map once after changes.
+- `npm test` stays green.
+
+## Report format
+
+Numbers table (before/after), each fix in one line, anything intentionally skipped with the measured cost that made it not worth it.
+
+---
+
+<a id="sec-187"></a>
+
+> **Source:** `docs/event-readiness/04-play-multiplayer-net.md` · [↑ table of contents](#table-of-contents)
+
+# Audit 4: /play multiplayer, networking, and presence
+
+The event means many strangers in one world at once. Connection handling has to be boring and invisible: join fast, never silently desync, recover from every drop.
+
+## Where the code lives
+
+- Net layer and server URL: `src/game/community-net.js` (defaultServerUrl is documented in `pages/play.html`)
+- World boot: `src/game/coincommunities.js`
+- Voice: `src/game/voice-chat.js`
+- Ambient population (client-side, non-networked): `src/game/ambient-crowd.js`
+- Friends/presence: `src/game/friends-panel.js`
+- Persistence: `src/game/world-persist.js`
+
+## What to audit
+
+1. **Join path.** Time from page load to seeing other players. Any handshake failure must surface a designed, actionable error (what happened + retry button), never an empty world that looks single-player when it silently failed.
+2. **Reconnect.** Kill the socket mid-session (devtools offline toggle, 10s, then online). The client must reconnect automatically, resync player positions, and show a subtle "reconnecting" indicator while it does. State after resync must match the server (no ghost players, no duplicated self).
+3. **Backgrounding.** Switch tabs for 2 minutes and come back. Mobile Safari will have frozen the socket: same reconnect path must handle it.
+4. **Two-client consistency.** Open two browser contexts in the same coin world. Movement, chat, and emotes must appear on the other client within a human-imperceptible delay. Check name labels, avatar appearance, and cosmetics sync both ways.
+5. **Chat hygiene.** Long messages wrap, links do not inject HTML (verify escaping), spam has some throttle, and the log does not grow unbounded in memory.
+6. **Voice.** If `voice-chat.js` is surfaced in the UI, test the full path: permission prompt, mute state visible to others, teardown on leave. If it is broken and unfixable today, hide the entry point rather than shipping a dead button.
+7. **Scale behavior.** Simulate a crowded room (multiple headless Playwright contexts, or whatever the net layer allows). Watch for O(n^2) update patterns and per-player DOM label churn.
+8. **Mobile memory.** A phone that runs out of memory does not throw a JS error: the browser kills the tab, the socket dies mid-session, and the page reloads. In the server log that reads as a join followed by a leave a few seconds later, over and over, which looks like a networking bug and is not one. Watch the bytes, not the console. `scripts/play-mobile-repro.mjs` drives a phone-emulated /play session and prints every download attributed to the code that asked for it (`ENGINE=chromium node scripts/play-mobile-repro.mjs https://three.ws/play 120000`). Anything that loads community-uploaded models must work to a budget: the gallery is uncapped and single avatars there reach 24 MB. `src/game/ambient-crowd.js` holds the reference implementation (per-model cap, per-visit download cap, load-once-and-clone, release on leave).
+
+## Verify
+
+- Scripted two-context Playwright run joins the canonical $THREE world (URL in `docs/event-readiness/README.md`), exchanges chat, survives a forced disconnect, and asserts resync. Keep the script in `scripts/`.
+- Zero console errors across the run.
+- `npm test` stays green.
+
+## Report format
+
+Each failure mode tested and its result (pass / fixed / cannot-fix-with-reason). State the server-side capacity assumption you tested against so the event-day runbook (prompt 10) can pre-scale it.
+
+---
+
+<a id="sec-188"></a>
+
+> **Source:** `docs/event-readiness/05-play-economy-loops.md` · [↑ table of contents](#table-of-contents)
+
+# Audit 5: /play economy, activities, and progression loops
+
+The world's stickiness is its loops: gather, fight, trade, spin, buy cosmetics. Every loop must pay out correctly and every price shown must match what the server actually charges.
+
+## Where the code lives
+
+- Activities and systems: `src/game/play-activities.js`, `src/game/play-systems.js`
+- Store/bank/economy UI: `src/game/economy-ui.js`, `src/game/agent-commerce.js`, `src/game/boutique-purchase.js`
+- Wheel: `src/game/wheel-station.js`, `src/game/spin-wheel-ui.js`
+- Combat: `src/game/combat-system.js`
+- Quests: `src/game/quests-ui.js`
+- Cosmetics: `src/game/cosmetics-shop.js`, `cosmetics-purchase.js`, `cosmetics-loadout.js`, `cosmetics-wardrobe.js`, `cosmetics-flex.js`
+- Items and persistence: `src/game/items.js`, `src/game/world-persist.js`
+- Published economy pages (must agree with the game): `/play/economy` and `/play/solver` (routes in `vercel.json`; both read from the same tables the game server prices with, so a mismatch means one side drifted)
+
+## What to audit
+
+1. **Every loop end to end, with a real signed-in session.** Gather from a tree/rock/pond, sell at the store, bank cash, die and confirm the bank protected it, spin the wheel, complete a quest, buy and equip a cosmetic. Each step: correct payout, correct balance update in the HUD without a refresh, correct persistence across a reload.
+2. **Price truth.** Cross-check a sample of prices shown in-game against `/play/economy`. Any disagreement is a bug; find which side is stale.
+3. **The $THREE boutique.** The cosmetics boutique charges $THREE: verify the full purchase path including insufficient-balance handling (clear message + how to get $THREE, never a silent failure or a raw error toast).
+4. **Race and double-spend.** Double-click every buy/spin/sell button fast. Balances must never go negative or double-charge; buttons must disable while a request is in flight.
+5. **Edge cases.** 0 inventory, full inventory, extremely long item names, network failure mid-purchase (the UI must reconcile with server state on reconnect, not trust its optimistic update).
+6. **Progression feel.** XP and skill levels visible, level-ups celebrated (even minimally), next-unlock always discoverable. If a loop pays out but gives no feedback (no sound/flash/toast), add the feedback; silent success reads as broken.
+7. **Wheel odds honesty.** The wheel paytable shown to users must match the server's real odds (that is the published promise of /play/economy).
+
+## Verify
+
+- Full loop walkthrough on `npm run dev` with a signed-in session, then the same on production for read paths.
+- Zero console errors during purchases.
+- `npm test` stays green; add a test where a payout calculation was wrong.
+
+## Report format
+
+Loop-by-loop pass/fixed table, every price mismatch found and which side you corrected, edge cases now handled.
+
+---
+
+<a id="sec-189"></a>
+
+> **Source:** `docs/event-readiness/06-play-auth-errors.md` · [↑ table of contents](#table-of-contents)
+
+# Audit 6: /play auth, gates, and every failure state
+
+Event visitors will arrive signed out, with ad blockers, on flaky wifi, with wallets we have never seen. Every one of those must get a designed experience, not a blank canvas or a raw stack trace.
+
+## Where the code lives
+
+- Auth flow: `src/game/play-auth.js`, `src/game/play-gate.js`, `src/game/play-handoff.js`
+- World boot (error surfaces): `src/game/coincommunities.js`, `src/game/boot-avatar.js`
+- QA credentials for authed testing: `AUDIT_EMAIL` / `AUDIT_PASSWORD` in `.env` (a real production QA account); sweeps via `npm run audit:web` (anon) and `npm run audit:web:login` (authed)
+
+## What to audit
+
+1. **Signed-out experience.** Load the canonical $THREE URL (see `docs/event-readiness/README.md`) with no session. How much of the world is explorable before a gate appears? The gate itself: is it an invitation (clear value, one-tap sign-in) or a wall? Fix toward invitation.
+2. **Sign-in mid-session.** Complete wallet sign-in from inside the world. The session must hand off without losing position or reloading the page if the flow supports it; if it must reload, state must restore.
+3. **Session expiry.** Expire the session (clear the cookie/token) while playing, then perform an authed action (buy, bank). The user gets a re-auth prompt that resumes the action afterward, not a generic failure.
+4. **Every fetch boundary.** Grep the play modules for `fetch(`/net calls and check each one handles rejection and non-2xx with a user-visible, actionable state. Internal code trusts itself; boundaries do not.
+5. **Asset failures.** Block the IPFS coin image and one GLB in devtools. The world must render with fallbacks (placeholder texture, default rig per the `AnimationManager.supportsCanonicalClips()` gate), never a T-pose or an invisible avatar.
+6. **Bad query strings.** /play with no params, a garbage `coin=`, an XSS attempt in `name=`/`symbol=` (must render escaped, never execute), and an oversized `image=` URL. Each gets a sane default world or a designed error, and never script execution.
+7. **Console zero.** `npm run audit:console` scoped to /play, plus a manual pass. Zero errors, zero warnings from our code, on both anon and authed runs.
+
+## Verify
+
+- `npm run audit:web` and `npm run audit:web:login` pass for the play surface.
+- Manual devtools-driven failure injection for items 3-6, each recovered per above.
+- `npm test` stays green.
+
+## Report format
+
+A failure-mode table: scenario, what happened before, what happens now. Call out any XSS finding separately and first.
+
+---
+
+<a id="sec-190"></a>
+
+> **Source:** `docs/event-readiness/07-platform-smoke-sweep.md` · [↑ table of contents](#table-of-contents)
+
+# Audit 7: whole-platform smoke sweep (every page, every link)
+
+Event visitors will not stay on /play; they will click around. Every page declared in `data/pages.json` must load clean, every link must resolve, every button must do something.
+
+## The tooling (all already in the repo)
+
+Run these against production first to find real user-facing breakage, then against `npm run dev` to fix:
+
+- `npm run smoke:prod`: sweeps every page in `data/pages.json` against the live site.
+- `npm run audit:web`: unauthenticated browser sweep. `npm run audit:web:login`: authed sweep using the QA account (`AUDIT_EMAIL`/`AUDIT_PASSWORD` in `.env`).
+- `npm run audit:links`: dead links. `npm run audit:pages` and `npm run check:pages`: pages.json integrity.
+- `npm run audit:console`: console errors per page. `npm run audit:overlays`, `npm run audit:inline-handlers`, `npm run audit:routes`, `npm run audit:route-shadowing`: overlay/handler/route health.
+- `npm run audit:docs`: dead doc links and commands naming scripts that no longer exist.
+
+## What to do
+
+1. Run the full battery above. Triage every failure into: broken for users (fix now), cosmetic (fix now if under 15 minutes), false positive (note why).
+2. **Fix priority order:** pages that 404 or render blank, then console errors, then dead links/buttons, then layout breakage at 320px/768px/1440px.
+3. **The event funnel gets extra depth.** Walk these by hand, signed out, as a stranger would: home page, /play (canonical $THREE URL in `docs/event-readiness/README.md`), /launches, /changelog, the nav between them. Every step must be obvious and fast.
+4. **Cross-linking check.** From /play, can a curious visitor find what three.ws is and how to launch their own coin world? If the path is more than 2 clicks or invisible, wire it (a HUD link, a share control, whatever fits the existing design language).
+5. **OG cards.** The event link will be pasted into Telegram/X/Discord. Verify /play and the home page return correct og:image, title, and description (play.html uses /api/page-og; confirm it renders live).
+6. Re-run the battery until clean, fixing as you go. A false positive that will confuse the next person gets its audit rule adjusted, not ignored.
+
+## Verify
+
+- All listed audits pass (or have a one-line justified exception in the report).
+- `npm test` stays green.
+
+## Report format
+
+Battery results before and after, fixes grouped by page, the manual event-funnel walkthrough result, and any exception you accepted with its reason.
+
+---
+
+<a id="sec-191"></a>
+
+> **Source:** `docs/event-readiness/08-api-production-health.md` · [↑ table of contents](#table-of-contents)
+
+# Audit 8: production API and infrastructure health
+
+Everything server-side must be verifiably healthy before the event: Cloud Run, crons, database, the x402 economy, and the failover chains. Use the gcp-triage skill if available; otherwise follow this checklist directly.
+
+Project `aerial-vehicle-466722-p5`, region `us-central1`, service `three-ws-api`. If `gcloud` is not on PATH: `export PATH="$HOME/google-cloud-sdk/bin:$PATH"`. Full runbook: `docs/ops/gcp-production.md`.
+
+## What to check and fix
+
+1. **Liveness.** `curl -s https://three.ws/api/version` (live SHA + revision; confirm it is the commit you expect) and the healthz endpoint. `npm run smoke:prod` for the page layer.
+2. **Error logs, last 24h.** `npm run logs:errors`, and for depth: `gcloud logging read 'resource.type="cloud_run_revision" resource.labels.service_name="three-ws-api" severity>=ERROR' --freshness=24h`. Every recurring error gets root-caused and fixed or explicitly accepted with a reason. "It has always logged that" is not a reason.
+3. **Crons.** `npm run audit:cron-liveness` and `npm run check:cron-drift`. All Cloud Scheduler jobs (synced from vercel.json's crons array) firing and succeeding; pay attention to `/api/cron/changelog-push` since we will ship changelog entries before the event.
+4. **Database.** `npm run db:status` (read only; NEVER run `db:migrate` casually, it applies immediately with no dry run). Pending migrations at event time are a deploy-gate failure waiting to happen: resolve them deliberately today. Check `forge_creations` for elevated generation error rates.
+5. **Generation lanes and LLM chain.** Exercise one real generation per public lane (text-to-3D at minimum) end to end on production. A lane with a broken primary must be proven to fail over, not assumed to.
+6. **x402 economy.** If any settle failures or stalls appear in logs, run the x402-economy-triage agent before concluding anything about wallet balances; settle-floor starvation and capital dispersion look identical from outside. Also `npm run check:relayer-balances` and `npm run audit:service-wallets`.
+7. **Rate limits and abuse posture.** The event link will be public. Confirm the obvious abuse surfaces (chat, generation endpoints, auth) have rate limiting that will not also throttle legitimate burst traffic from one venue IP/NAT. If venue NAT would trip an IP-based limit, raise or key it differently now.
+8. **TLS/DNS/CDN.** Certificate validity, and confirm the CDN serves current content (a stale edge after the last deploy shows phantom failures; the purge command is `npm run deploy:gcp:purge-cdn`).
+
+## Verify
+
+Each numbered item ends in a binary state: healthy, or fixed-and-now-healthy, or a named owner-level decision with exactly what remains.
+
+## Report format
+
+Solana-first status summary, then the 8 items with their binary states, then log evidence links/queries for anything you fixed.
+
+---
+
+<a id="sec-192"></a>
+
+> **Source:** `docs/event-readiness/09-accessibility-i18n.md` · [↑ table of contents](#table-of-contents)
+
+# Audit 9: accessibility and internationalization
+
+The event audience is international and diverse. Keyboard users, screen-reader users, and non-English speakers all get first-class treatment. Accessibility is not optional here; it is a hard platform rule.
+
+## Where the code lives
+
+- /play HUD and panels: `src/game/coincommunities-ui.js`, `src/game/hud/`, `src/game/coincommunities.css`
+- i18n runtime: `i18n.js` (loaded by `pages/play.html`); play strings use `data-i18n` / `data-i18n-attr` attributes (see the meta tags in `pages/play.html` for the pattern)
+- Motion audit: `npm run audit:motion`; design tokens: `docs/DESIGN-TOKENS.md`
+
+## What to audit
+
+1. **Keyboard.** Tab through every /play panel (store, bank, wheel, quests, cosmetics, chat, settings). Visible focus ring on every interactive element, logical order, Escape closes the top panel, no focus traps, and game hotkeys must not swallow typing in the chat input (and vice versa).
+2. **Screen reader semantics.** Panels are labeled regions, buttons have accessible names (icon-only buttons need `aria-label`), balance changes and incoming chat announce via a polite live region, and the canvas has a text alternative describing the world state entry point.
+3. **Contrast.** Every HUD text/background pair meets 4.5:1 (3:1 for large text). HUD text over the 3D scene is the usual failure: add scrims/backdrops where needed rather than hoping the scene stays dark.
+4. **Motion sensitivity.** `prefers-reduced-motion` must tone down camera shake, wheel spin flourish, and ambient animation. Run `npm run audit:motion`.
+5. **i18n coverage on the event funnel.** Every user-facing string on /play, the home page, and /launches goes through the i18n layer; hardcoded English in the play HUD is a bug. Verify at least one non-English locale renders the play HUD without broken layouts (long German/Romanian strings are the classic overflow test).
+6. **Text scaling.** 200% browser zoom: HUD remains usable, nothing overlaps, no clipped labels.
+7. **Platform-wide spot check.** Repeat items 1-3 briefly on the home page and /launches; fix what you find there too.
+
+## Verify
+
+- Full keyboard-only session: join the canonical $THREE world (URL in `docs/event-readiness/README.md`), open every panel, buy one thing, send one chat message. No mouse.
+- Contrast checks recorded for the worst 5 HUD pairs, all passing after fixes.
+- `npm test` stays green.
+
+## Report format
+
+Per-category pass/fixed list, the keyboard-only session result, locales verified, and any genuinely unfixable-today item with its concrete follow-up.
+
+---
+
+<a id="sec-193"></a>
+
+> **Source:** `docs/event-readiness/10-event-day-runbook.md` · [↑ table of contents](#table-of-contents)
+
+# Audit 10: event-day readiness runbook (run last, after fixes have shipped)
+
+Everything is fixed and deployed; now make the platform boringly reliable for the traffic spike and give the owner a one-page live-ops position. This prompt both executes the pre-scaling and produces the runbook.
+
+Project `aerial-vehicle-466722-p5`, region `us-central1`. Pre-approved scaling and quota posture: `docs/ops/gcp-credits-plan.md`. Full production runbook: `docs/ops/gcp-production.md`. Config-only `gcloud run services update` changes are pre-approved; use `--update-env-vars` only, never `--set-env-vars`.
+
+## Execute now (day before)
+
+1. **Deploy state.** Confirm the intended final build is live: `curl -s https://three.ws/api/version` matches the release SHA. If a deploy is still pending, run the deploy-preflight agent and stage everything so shipping is one command; the deploy itself stays owner-gated.
+2. **Pre-scale.** Raise `min-instances` on `three-ws-api` (and the /play world server if it is a separate service; check `gcloud run services list`) so the first traffic wave never hits a cold start. Confirm max-instances and concurrency leave headroom per the credits plan. Config-only, pre-approved: do it, record old/new values.
+3. **Worktree hygiene.** `npm run clean:worktrees` (then `--apply`) so a mid-event hotfix deploy cannot die on a full disk.
+4. **Rehearse rollback.** Identify the current and previous Cloud Run revisions and write down the exact one-line traffic-rollback command for each service. Verify the previous revision still exists and is routable.
+5. **Monitoring loop.** Set up the recurring production check for event day (the gcp-triage sweep or `npm run logs:errors` + `npm run smoke:prod` on an interval). Confirm alerting actually reaches a human.
+6. **Capacity smoke.** Drive a burst of concurrent sessions at /play (Playwright contexts or a load tool) at least 2x the expected peak. Watch p95 latency, error rate, and instance count. Fix or pre-scale whatever bends.
+7. **Third-party dependencies.** List every external dependency in the event path (Solana RPC, Pump.fun feed, IPFS gateway for coin images, LLM providers) and verify each has a working failover rung today. Test the failover, not just its existence.
+
+## Produce: the one-page live-ops sheet
+
+Write `docs/event-readiness/LIVE-OPS.md` containing, with zero fluff:
+
+- The event URL (canonical $THREE /play link from `docs/event-readiness/README.md`) and the release SHA that is live.
+- Health: the 3 curl commands that prove the site is up.
+- Logs: the 2 log commands for fast triage.
+- Rollback: the exact per-service revision-rollback command, pre-filled.
+- Scale: current min/max instances and the command to raise them further.
+- Known failure modes from audits 1-9 that were accepted rather than fixed, and what to do if each one fires.
+- Escalation: which subsystem maps to which triage tool (x402-economy-triage, gcp-triage, `scripts/play-mobile-repro.mjs`).
+
+## Report format
+
+Old/new scaling values, capacity smoke numbers, rollback rehearsal result, and the link to LIVE-OPS.md. Anything owner-gated (the final deploy) stated as the single remaining command.
+
+---
+
+<a id="sec-194"></a>
+
+> **Source:** `docs/event-readiness/11-event-live-ops.md` · [↑ table of contents](#table-of-contents)
+
+# Feature 11: live event ops (broadcast, stage moments, event config)
+
+Tomorrow the $THREE world hosts a live event. The countdown already exists (`src/game/event-countdown.js` reads `public/event.json` and mounts a lobby banner + in-world pill). What is missing is the live layer: a way for the operator to speak to everyone in the world at once, and for the world to visibly react when the event goes live. Build it end to end.
+
+## Where the code lives
+
+- Event config + countdown: `public/event.json`, `src/game/event-countdown.js` (self-attaching, zero edits to the core modules; keep that pattern)
+- Multiplayer server (in-repo): `multiplayer/src/rooms/WalkRoom.js`, `multiplayer/src/social-hub.js`; client socket + event bus: `src/game/community-net.js`
+- In-world screens for takeover moments: `src/game/x402-jumbotron.js`, `src/game/chart-screen.js`
+- Celebration FX precedent: the reaction-bar confetti in `src/game/coincommunities-ui.js`
+- Admin/API patterns: look at existing authed admin endpoints under `api/` before inventing a new auth scheme
+
+## What to build
+
+1. **Operator broadcast.** An authed API endpoint (follow the repo's existing admin-auth pattern; never an open endpoint) that pushes an announcement through the Colyseus room to every connected player in a given coin world (or all worlds). Client side: a distinct, high-visibility announcement banner in the HUD, auto-dismissing, queued if several arrive. Server-side rate limit so a bad script cannot spam every player.
+2. **Go-live moment.** When `event.json` flips to live (the countdown module already computes the state), the world marks it: jumbotron takeover with the event name, a one-shot celebration burst, and the countdown pill switching to its pulsing LIVE state. All of it must degrade to nothing when there is no event.
+3. **Event config hardening.** `event.json` is baked into the image at build time, which means a config change mid-event needs a redeploy. Add a small authed read path (for example an `app_settings`-backed override checked after the static file) so the operator can extend, rename, or end the event live without a deploy. Document the exact curl in the runbook (`10-event-day-runbook.md`).
+4. **Broadcast script.** A `scripts/` helper the operator runs from this workspace: takes a message, calls the endpoint, prints how many players received it.
+
+## Verify
+
+- Two browser windows on `npm run dev` joined to the same coin world: a broadcast reaches both within a second; the banner queues, dismisses, and never overlaps the chat panel or mobile joystick.
+- `event.json` state transitions (upcoming, live, over) exercised by editing the local file; nothing mounts when it is absent.
+- `npm test` green; add tests for the broadcast endpoint's auth and rate limit.
+
+## Report format
+
+What shipped (files + one line each), the exact operator commands for event day, and anything deliberately deferred with a one-line reason. Add the `data/changelog.json` entry (feature tag) and a row in `STRUCTURE.md` for the live-ops surface.
+
+---
+
+<a id="sec-195"></a>
+
+> **Source:** `docs/event-readiness/12-photo-mode-share.md` · [↑ table of contents](#table-of-contents)
+
+# Feature 12: photo mode with branded one-tap share
+
+The event's growth loop is screenshots. Right now only build mode has a screenshot + share sheet; the world itself has none. Build a photo mode so any player can capture a beautiful branded shot of their avatar in the $THREE world and share it in two taps.
+
+## Where the code lives
+
+- Camera: `src/game/camera-modes.js`; main loop + renderer: `src/game/coincommunities.js` (it already uses `toDataURL` and `navigator.share` for build shots; reuse those paths)
+- HUD mount points: `src/game/coincommunities-ui.js`, styles in `src/game/coincommunities.css`
+- Existing share-sheet precedent: the build screenshot flow in `src/game/world-persist.js` / build UI
+- OG card for shared links: `api/play-og.js` (verify the /play link preview actually renders the coin image and name; fix it if stale)
+- Deep-link contract: `coinWorldUrl()` covered by `tests/fits-lib.test.js`
+
+## What to build
+
+1. **Photo mode toggle.** A HUD button (and `P` key) that hides all HUD chrome, unlocks a free orbit camera with slow smoothed movement, and shows a minimal capture bar: shutter, frame toggle, exit. Mobile: pinch to zoom, drag to orbit, big shutter button.
+2. **Branded frame.** Composite the capture on a canvas with a tasteful frame: coin image, name, symbol (from the live world state, the same values the HUD banner uses), the three.ws wordmark, and the deep link. No watermark spam; it should look like something a person wants to post.
+3. **One-tap share.** `navigator.share` with the image file where supported; fallback to download + copy-link with a confirmation toast. The copied link is the canonical `/play?coin=...` URL for the current world.
+4. **Quality details.** Capture at device-pixel-ratio resolution, not CSS pixels. Hide nameplates of other players in the shot unless they opted in (privacy default). Restore the exact camera and HUD state on exit.
+5. **Self-attach if possible.** Prefer the `ambient-crowd.js` / `event-countdown.js` pattern (own module, own styles, zero or minimal edits to the 190 KB core files).
+
+## Verify
+
+- Desktop and emulated-mobile passes on `npm run dev`: enter photo mode, capture, share/download, exit; zero console errors; HUD returns exactly as it was.
+- The shared deep link round-trips into the same world, and its OG preview (via `api/play-og.js`) shows the coin identity.
+- `npm test` green.
+
+## Report format
+
+Files shipped, a saved sample capture path, what the share flow does per platform (share sheet vs download), and the `data/changelog.json` entry text you added.
+
+---
+
+<a id="sec-196"></a>
+
+> **Source:** `docs/event-readiness/13-event-quests-leaderboard.md` · [↑ table of contents](#table-of-contents)
+
+# Feature 13: event quest line with a live leaderboard
+
+Give event visitors something to chase. A time-boxed quest line that runs only during the event window, scored server-side, with a live leaderboard in the world and a cosmetic reward for finishers. The pieces all exist; this task wires them into one loop.
+
+## Where the code lives
+
+- Quests: `src/game/quests-ui.js`, `src/game/npc/quest-npcs.js`, `src/game/npc/quest-markers.js`
+- Event window: `public/event.json` (the same config `src/game/event-countdown.js` reads; do not invent a second source of truth)
+- Live scoreboard precedent: the King of the Totem round HUD in `src/game/coincommunities-ui.js` (server-authoritative scores pushed through the room)
+- Server: `multiplayer/src/rooms/WalkRoom.js`; persistent scores belong in the database via an `api/` handler (migrations in `api/_lib/migrations/`, preview with `npm run db:status`)
+- Leaderboard OG precedent: `api/og-leaderboard.js`; cosmetics reward path: `src/game/cosmetics-*.js` and the cosmetics API
+
+## What to build
+
+1. **The quest line.** Three to five event quests using existing verbs (visit landmarks, gather, emote with another player, take a photo if Feature 12 landed, make one x402 micro-purchase). Defined in data, gated on the event window from `event.json`; outside the window the quest giver and markers do not exist.
+2. **Server-authoritative scoring.** Completion is validated and scored server-side (room or API, whichever the verb already trusts); the client never self-reports a finished quest. Persist per-wallet (signed-in) with a per-session fallback for anonymous players that clearly says sign in to enter the leaderboard.
+3. **Live leaderboard.** An in-world board (panel or world screen) showing top players and your own rank, updating live without refresh. Also expose it at an API endpoint so the event host can put it on a projector.
+4. **The reward.** Finishers get a real cosmetic granted through the existing cosmetics ownership path, visibly equipped-able immediately, with a celebration moment on grant.
+5. **Anti-grief basics.** Rate limits on completion attempts, idempotent grants (finishing twice never double-grants), and no negative or NaN scores possible.
+
+## Verify
+
+- Full loop on `npm run dev` with two browsers: complete quests in one, watch the leaderboard move in both; reward granted once, persists across reload.
+- Event window off: zero event-quest UI anywhere.
+- `npm test` green; add tests for the scoring endpoint (auth, idempotency, window gating). `npm run db:status` before any migration; note what `db:migrate` would apply.
+
+## Report format
+
+The quest list as players will see it, files shipped, the leaderboard endpoint URL, migration status, and the `data/changelog.json` entry. One line on anything deferred.
+
+---
+
+<a id="sec-197"></a>
+
+> **Source:** `docs/event-readiness/14-welcome-concierge.md` · [↑ table of contents](#table-of-contents)
+
+# Feature 14: welcome concierge NPC for first-time event visitors
+
+Most event visitors will be first-timers landing from one shared link. The onboarding overlay explains controls, but nobody in the world greets them, answers questions, or shows them where things are. Build a concierge NPC that does.
+
+## Where the code lives
+
+- NPC layer: `src/game/npc/npc.js`, `npc-catalog.js`, `npc-chat.js` (already talks to `/api/brain/chat`), `nav-graph.js` (pathing), `economy-npcs.js` for placement precedent
+- Onboarding today: `src/game/play-onboard.js` (3-step overlay); intro card: `src/game/play-intro.js`
+- Landmarks worth touring: the stations from `src/game/play-activities.js`, the chart jumbotron (`chart-screen.js`), the cosmetics boutique, the intel kiosk
+- First-visit detection: the same localStorage signals `play-onboard.js` uses
+
+## What to build
+
+1. **The greeter.** A distinct, well-dressed NPC near spawn. For first-time visitors it approaches (or waves and beckons) once, never repeatedly, and never blocks movement. Returning players see it idle at its post; it never re-triggers the greeting.
+2. **Real conversation.** Clicking or approaching opens the existing NPC chat with a concierge persona: it knows what this place is ($THREE's world on three.ws), what there is to do (name the actual stations and panels that exist in code, not marketing copy), how to earn and spend, and how to sign in. Ground the persona prompt in the real feature set so it never invents features.
+3. **Guided tour.** A "show me around" choice that walks the player (NPC leads using the nav graph, waypoint markers as fallback) through three or four real landmarks with one line at each. Skippable at any point; works with the mobile joystick.
+4. **Event awareness.** During the event window (`public/event.json`) the concierge's opening line points at the event: what is happening and where. Outside the window that line does not exist.
+5. **Zero-regression mount.** Prefer a self-attaching module in the `ambient-crowd.js` / `event-countdown.js` style. The concierge must never appear in worlds where the NPC layer is disabled, and must cost nothing when idle (no per-frame work while nobody is near).
+
+## Verify
+
+- Fresh profile (cleared localStorage) on `npm run dev`: greeting fires once, tour completes, chat answers "what is this place" and "how do I make money here" sensibly, on desktop and emulated mobile.
+- Second visit: no re-greeting. Console clean throughout.
+- `npm test` green.
+
+## Report format
+
+Files shipped, the persona prompt location, the tour stops, what the concierge says in its event-window line, and the `data/changelog.json` entry.
+
+---
+
+<a id="sec-198"></a>
+
+> **Source:** `docs/event-readiness/15-live-hype-feed.md` · [↑ table of contents](#table-of-contents)
+
+# Feature 15: live activity ticker and hype moments
+
+A live world should feel alive even when you just stand there. The market already drives world FX (`market-reactor.js`) and the chart jumbotron streams real trades; what is missing is a human-readable pulse: who joined, who bought, what just happened. Build the ticker and the hype moments on top of the feeds we already have.
+
+## Where the code lives
+
+- Market-to-world FX: `src/game/market-reactor.js`; trade feeds: `src/game/chart-screen.js` (`/api/pump/coin-trades`, `/api/robinhood/coin-trades` for hoodchain worlds)
+- Player joins/leaves: the Colyseus room state in `src/game/community-net.js` (the HUD online count already consumes it)
+- In-world purchases worth celebrating: cosmetics buys, wheel wins, x402 payments (`agent-commerce.js`, `x402-jumbotron.js`)
+- HUD layer + toast precedent: `src/game/coincommunities-ui.js`, styles in `src/game/coincommunities.css`
+
+## What to build
+
+1. **The ticker.** A compact, low-key activity feed (bottom corner opposite chat, collapsible, off by default on small screens) streaming real events: player joined, buy of size X, wheel win, cosmetic purchase, quest completion if Feature 13 landed. Real data only; if a feed is quiet the ticker is quiet. Cap the DOM (virtualize or prune old rows) so an hours-long session never leaks nodes.
+2. **Hype moments.** Threshold-based celebrations sourced from the real trade feed: a genuinely large buy for this coin triggers a short world moment (jumbotron flash, sound if unmuted, brief FX through the existing market-reactor hooks). Tune thresholds per-coin from recent trade sizes, not a hardcoded dollar number, so small coins get moments too. Strict cooldown so a volatile minute cannot strobe the world.
+3. **Privacy and abuse.** Wallet addresses truncated, player names as rendered in nameplates only, no external links from ticker rows, and coin metadata treated as untrusted display text (it never becomes markup or instructions).
+4. **Performance envelope.** Zero per-frame cost when nothing is happening; the ticker must respect the frame governor and never touch layout during the render loop.
+
+## Verify
+
+- On `npm run dev` against the live trade feed for the $THREE mint: rows appear on real trades, a simulated large-trade payload (dev-only injection through the same code path, removed before commit is not required if it is a proper debug hook gated off in production) triggers exactly one hype moment with cooldown honored.
+- Two-browser join/leave shows in the ticker. DOM node count stays bounded after 15 minutes.
+- `npm test` green; add a unit test for the threshold tuner.
+
+## Report format
+
+Files shipped, the threshold logic in two sentences, measured DOM/node behavior over a soak, and the `data/changelog.json` entry.
+
+---
+
+<a id="sec-199"></a>
+
+> **Source:** `docs/event-readiness/16-invite-flow.md` · [↑ table of contents](#table-of-contents)
+
+# Feature 16: invite flow (deep link, QR, OG card) for the event
+
+Everyone at the event arrives through one link, and everyone who has fun should be able to pull one more person in. Make inviting effortless from inside the world, and make the link unfurl beautifully everywhere it is pasted.
+
+## Where the code lives
+
+- Deep-link contract: `coinWorldUrl()` (tested in `tests/fits-lib.test.js`); canonical URL emission in `src/game/coincommunities.js` (`history.replaceState` on entry)
+- OG image for /play links: `api/play-og.js`; house OG patterns: `api/page-og.js`, `api/og-leaderboard.js`
+- HUD mount + share precedent: `src/game/coincommunities-ui.js` and the build-share sheet
+- QR: check `package.json` for an existing QR dependency first (open-source-first rule); a tiny well-maintained encoder is fine if none exists, no heavyweight additions
+
+## What to build
+
+1. **Invite button.** A HUD control (and lobby-card action) opening a small invite sheet: the canonical world link with copy button, a live QR code of that link (event hosts will show phones to each other), and `navigator.share` where available. The link always carries `coin`, `name`, `symbol`, `image` so the destination renders identity instantly, before any API round-trip.
+2. **OG card truth.** Paste-test the canonical $THREE URL: the unfurl must show the coin image, name, symbol, and a line that sells the world. If `api/play-og.js` renders stale or generic art, fix it: it should composite the real coin image (via the `/api/img` proxy, with a designed fallback when IPFS fails) and live-ish facts if cheap (online count is a nice touch only if it does not slow the card).
+3. **Arrival continuity.** An invitee landing from the link skips straight into the flow a first-timer needs: intro suppressed (a `coin` param already does this), onboarding shown once, and if Feature 14 landed the concierge greets them. Verify the whole arrival path on a fresh profile.
+4. **Event framing.** During the event window (`public/event.json`), the invite sheet leads with the event name and countdown, so the share reads as an invitation to a happening, not just a link.
+
+## Verify
+
+- `npm run dev`: invite sheet on desktop and emulated mobile; QR scans from a real phone camera to the right URL; copy toast; share sheet on mobile.
+- OG card rendered locally (hit the endpoint directly) and correct for the $THREE canonical URL, including the IPFS-failure fallback.
+- `npm test` green.
+
+## Report format
+
+Files shipped, any dependency added (name, weekly downloads, license, why), a rendered OG card sample path, and the `data/changelog.json` entry.
+
+---
+
+<a id="sec-200"></a>
+
+> **Source:** `docs/event-readiness/17-plaza-live-show.md` · [↑ table of contents](#table-of-contents)
+
+# Feature 17: live hosted show on a plaza stage inside /play
+
+The platform already has Living Stages: an embodied AI host runs a real-time show with spatial voice, lip-sync, synced captions, an audience question queue, and a verified on-chain $THREE tip leaderboard where a tip pre-empts the host's next line in about a second. All of it works, and none of it is reachable from the world: `grep -r stage src/game/` finds zero references. Put a stage in the $THREE plaza and let the event crowd attend a show without leaving /play.
+
+## Where the code lives
+
+- Show engine (server): `multiplayer/src/rooms/StageRoom.js`, `multiplayer/src/stage-show.js` (the pure `ShowDirector` with beats OPENER, TIP_SHOUTOUT, ANSWER, BANTER, GAME), `multiplayer/src/stage-schemas.js`, `multiplayer/src/stage-registry.js`. Room registered as `stage_world` with `filterBy(['stageId'])` in `multiplayer/src/index.js`
+- Show client (page-level, reuse it): `src/stage.js`, `src/stage-net.js`, `src/stage-element.js`, served at `pages/stage.html`
+- Show API: `api/stage/index.js` (directory, create, golive, endshow, `nextShowAt` scheduling), `api/stage/host.js` (the host's words), `api/stage/tip.js` (on-chain verified, idempotent per signature); host voice via `api/tts/speak`
+- The world to mount into: `src/game/coincommunities.js` (main scene), landmark placement precedent in `src/game/wheel-station.js` and `src/game/home-town.js`; server-validated landmark coordinates in `multiplayer/src/world-features.js`
+- Multiplayer client for the world room: `src/game/community-net.js` (Colyseus `walk_world`); the stage join is a second, concurrent room connection
+
+## What to build
+
+1. **The stage landmark.** A real stage structure in the $THREE world plaza: platform, backdrop, marquee screen. The marquee shows the show state from `api/stage/index.js`: live now, next show time (`nextShowAt`), or a designed idle state. Register its footprint in `world-features.js` so the server can validate proximity.
+2. **Proximity attendance.** Walking near the stage joins the coin's `stage_world` room alongside the existing `walk_world` connection (derive `stageId` from the mint deterministically). Reuse `stage-net.js` and the utterance rendering from the stage client rather than rewriting: the host avatar on stage speaks with TTS voice, lip-sync, and captions, synced across every attendee. Walking away leaves the stage room cleanly.
+3. **Audience presence.** Attendees get the server-assigned ring seats StageRoom already deals out, rendered as marked spots in front of the stage; the question queue is reachable from the in-world chat bar while attending.
+4. **Tips in-world.** A tip action at the stage that runs the existing `api/stage/tip.js` flow (this is an on-chain $THREE spend: render recipient, amount, and token and get the user's explicit confirmation before signing, every time). The tip leaderboard renders on the marquee, and a landed tip pre-empts the host beat exactly as it does on /stage.
+5. **Cost discipline.** Everything here mounts lazily on first proximity and fully unmounts when the show is over and the player leaves. No stage room connection, no TTS fetches, no per-frame work for players who never approach. When no show exists and none is scheduled, the stage is a quiet decorated landmark, not an error.
+
+## Verify
+
+- Two browsers on `npm run dev` (multiplayer server running locally per `multiplayer/README.md` if present, else against the deployed room): create a show via `api/stage/index.js`, go live, and confirm both clients hear and read the same utterances at the stage, seats assigned, question queue round-trips.
+- Tip path exercised end to end on a test amount with the confirmation gate shown; leaderboard updates; replaying the same signature does not double-count.
+- Walk-away tears down the stage room connection (network tab shows the socket close); a player who never approaches the stage opens zero stage requests.
+- `npm test` green.
+
+## Report format
+
+Files shipped, how `stageId` is derived, the join and teardown lifecycle in three sentences, what the marquee shows in each state, and the `data/changelog.json` entry.
+
+---
+
+<a id="sec-201"></a>
+
+> **Source:** `docs/event-readiness/18-coin-wars-portal.md` · [↑ table of contents](#table-of-contents)
+
+# Feature 18: Coin Wars portal inside the world
+
+Coin Wars is finished and invisible. `ClashRoom` runs full community-vs-community battles (lobby, countdown, live, sudden death, kill cap, round clock) with an Elo league behind it, but the only door is the standalone page at /play/arena. Nobody standing in the $THREE world knows wars exist. Build the portal: see the standings, queue for a war, and come back with the result, all from inside /play.
+
+## Where the code lives
+
+- Server: `multiplayer/src/rooms/ClashRoom.js` (registered as `clash_arena` with `filterBy(['matchKey'])` in `multiplayer/src/index.js`), match logic in `multiplayer/src/clash.js`, league in `multiplayer/src/war-standings.js`, summaries in `multiplayer/src/war-report.js`, schemas in `multiplayer/src/clash-schemas.js`
+- Arena client to hand off to: `pages/play/arena.html`, `src/play/arena.js`, `src/play/arena-world.js` (read how it resolves `matchKey` and gates entry before inventing anything)
+- Gating: the same holder pass as the Holders world (`multiplayer/src/holder-pass.js`, `api/community/holder-pass.js`)
+- World mount: landmark precedent in `src/game/wheel-station.js`; jumbotron precedent in `src/game/chart-screen.js`; live feed producer `multiplayer/src/feed.js`
+- Deep-link return path: the canonical URL emission in `src/game/coincommunities.js` (`history.replaceState` on entry)
+
+## What to build
+
+1. **The portal landmark.** A war portal structure in the plaza with a board showing real league state: this coin's Elo standing, recent war results (`war-report.js` output), and any war currently live. If the standings surface has no public API yet, expose one thin read endpoint under `api/` that serves exactly what the arena client already trusts; do not fork the math.
+2. **Queue from the world.** An "enter the war" interaction that runs the same gate the arena page runs (holder pass where required), resolves the `matchKey` the same way, and hands off to `/play/arena` with a return link that carries the full coin identity (`coin`, `name`, `symbol`, `image`) so coming back lands in the same world with no lobby detour.
+3. **Spectate without leaving.** While a war involving this coin is live, the portal's board becomes a spectator screen: live score, kill feed, round clock, sourced from the clash room state or a cheap polling read. Text and numbers, not a second 3D render.
+4. **Results echo.** When a war ends, the result lands in the world: a feed event through `multiplayer/src/feed.js` and a short jumbotron moment for a win. If Feature 15's ticker landed, the result appears there too.
+5. **Honest empty states.** No wars yet, standings empty, matchmaking quiet: each state says what it is and what a player can do about it, in the designed style of the lobby's retry cards.
+
+## Verify
+
+- Two browsers on `npm run dev`: queue from the portal in both, complete a short war on the arena page, return via the return link into the same coin world, and see the result echoed on the portal board.
+- Holder gating verified both ways: a gated war refuses cleanly with the existing gate UX; an open war admits.
+- Portal costs nothing when idle: no polling while no player is near it, no console errors.
+- `npm test` green.
+
+## Report format
+
+Files shipped, the standings read path (existing or the one endpoint you added), the handoff and return URL shapes, and the `data/changelog.json` entry.
+
+---
+
+<a id="sec-202"></a>
+
+> **Source:** `docs/event-readiness/19-forge-props-live.md` · [↑ table of contents](#table-of-contents)
+
+# Feature 19: forge 3D props live inside build mode
+
+The platform's headline capability is text to 3D, and the world's build mode cannot use it. The prop palette pulls only the public avatar gallery, so building means placing other people's uploads. Wire the Forge lane into build mode: type a prompt, watch the object appear where you pointed, and everyone in the world sees it. At a live event this is the demo moment.
+
+## Where the code lives
+
+- Forge lane: `api/forge.js` and siblings (`api/forge-gameready.js`, `api/forge-remesh.js`, `api/forge-rig.js`); client precedents in `src/forge.js` / `src/forge-studio/`. Use the platform's free text-to-3D lane and its existing rate limits; do not add a new paid dependency
+- Prop plumbing (already networked and persistent): `src/game/world-objects.js` (`registerUploadedProp`, mirrors the server `objects` MapSchema), `src/game/avatar-upload.js` (`uploadPropModel`, presigned upload), the `_uploadProp` flow in `src/game/coincommunities.js`, persistence via `src/game/world-persist.js`
+- Prop palette UI: the props panel in `src/game/coincommunities-ui.js` (currently fetching `/api/avatars/public`), styles in `src/game/coincommunities.css`
+- The mobile lesson: `src/game/ambient-crowd.js` documents how uncapped user models killed iOS tabs, and its `CROWD_BUDGET` tiers are the sizing precedent
+- Generation ground truth when debugging: the `forge_creations` table carries per-generation backend, status, error, and prompt
+
+## What to build
+
+1. **A Forge tab in the prop palette.** Prompt field, generate button, and a short history of this session's generations. Guidance text sets expectations honestly (real generation takes real time; say roughly how long from observed lane behavior, not a made-up number).
+2. **Placement-first flow.** The player aims and places a hologram placeholder immediately (ghost shell in the build style, clearly "generating", using the real async state, never a fake progress bar). When the GLB lands, it swaps in place with a brief materialize effect. On failure the hologram becomes a designed error marker with retry and dismiss.
+3. **The full prop pipeline, not a side door.** The finished GLB goes through `uploadPropModel` and `registerUploadedProp` so it is networked to every player, persists through `world-persist.js`, respects the per-player build budget, and is undoable with the existing Ctrl+Z stack.
+4. **Size discipline.** Run generations through the gameready/remesh path so what enters the world is capped: enforce a hard triangle and file-size ceiling in the spirit of `CROWD_BUDGET` before a model is ever registered. An oversized result is decimated or rejected with a clear message, never placed raw. This is the difference between a demo moment and a repeat of the iOS crash.
+5. **Abuse limits.** Per-player generation cooldown and a per-world concurrent-generation cap, enforced server-side on the endpoint, with the client showing queue position honestly.
+
+## Verify
+
+- On `npm run dev` with a second browser: generate a prop from a prompt, see the hologram, see the swap, confirm the second browser renders it live and after a reload (persistence).
+- Failure path exercised (kill the request in devtools): error marker, retry works, dismiss cleans up, budget not consumed by the failure.
+- Generate an intentionally heavy prompt and confirm the size ceiling triggers with its designed message.
+- Mobile emulation: the Forge tab is usable with the touch keyboard and the placed result stays within the memory budget. `npm test` green.
+
+## Report format
+
+Files shipped, the size ceiling values and where they are enforced, the rate-limit shape, average observed generation time during verification, and the `data/changelog.json` entry.
+
+---
+
+<a id="sec-203"></a>
+
+> **Source:** `docs/event-readiness/20-world-chat-scrollback.md` · [↑ table of contents](#table-of-contents)
+
+# Feature 20: chat scrollback and a persistent world record
+
+In-world chat is a pure relay: the server broadcasts and forgets, so everyone who joins the event late sees an empty chat and no evidence anything is happening. Meanwhile `api/community/messages.js` persists a per-coin message stream that the 3D world never reads. Give the world a memory: late joiners get scrollback, and the room's page-level community feed and the in-world chat stop being strangers.
+
+## Where the code lives
+
+- The relay today: the chat handler in `multiplayer/src/rooms/WalkRoom.js` (700ms cooldown and slur gate already enforced there; keep both)
+- Persisted community chat (separate system): `api/community/messages.js`
+- Chat UI: the chat bar and message list in `src/game/coincommunities-ui.js`, styles in `src/game/coincommunities.css`
+- Name safety: `multiplayer/src/display-name-safety.js`
+- Storage precedents: Upstash Redis usage in `api/play/builds.js` and `multiplayer/src/social-hub.js`
+
+## What to build
+
+1. **Server-side scrollback.** Persist relayed chat per world (coin plus tier) in a capped Redis list (on the order of 200 messages with a TTL of a few days; pick values and state them). Write on relay, trim on write. On join, the room sends the recent tail so a new arrival scrolls up into the last stretch of conversation instead of a void.
+2. **Rendered as history.** Scrollback renders visually distinct from live messages (muted, timestamped, a "you're caught up" divider), loads without jank, and never steals focus or scroll position from someone mid-conversation.
+3. **One bridge, chosen deliberately.** Surface the persisted community stream (`api/community/messages.js`) inside the world as a read tab or pinned-board view, so page-side conversation is visible in-world. Decide whether in-world chat also writes into that stream; whichever way you choose, record the decision and the privacy reasoning in the report. Do not silently merge two systems with different expectations.
+4. **Privacy and safety.** Scrollback stores display names as rendered (already passed through name safety), never wallet addresses or session identifiers. The existing slur gate applies to everything stored. A player's messages disappear from scrollback when trimmed; no long-term archive is being built here.
+5. **Event-night behavior.** Under load the tail send must be one batched message on join, not N replays; the client renders it in one frame's worth of DOM work (build off-screen, attach once).
+
+## Verify
+
+- Two browsers on `npm run dev`: chat in one, join late with the other, and see the tail with the divider; live messages continue seamlessly after it.
+- Cooldown and slur gate confirmed still enforced on the stored path.
+- Refresh mid-conversation: scrollback plus live picks up without duplicates (dedupe by message id, not text).
+- The bridge tab shows real persisted community messages for the $THREE coin. `npm test` green, with a unit test for trim and dedupe logic.
+
+## Report format
+
+Files shipped, the cap and TTL chosen, the bridge decision and why, join-time payload size for a full tail, and the `data/changelog.json` entry.
+
+---
+
+<a id="sec-204"></a>
+
+> **Source:** `docs/event-readiness/21-party-system.md` · [↑ table of contents](#table-of-contents)
+
+# Feature 21: party system, because nobody attends an event alone
+
+Friends exist (drawer, presence, DMs) but group play does not: two friends in the same world cannot find each other without describing scenery over chat, and there is no way to move through the event as a crew. Build parties: form one, see your people, get to them, and talk to them.
+
+## Where the code lives
+
+- Friends and presence: `src/game/friends-panel.js`, `api/friends/` (`presence-ticket`, `search`, `messages`), cross-realm presence in `multiplayer/src/social-hub.js` (Upstash Redis with TTL self-healing)
+- Room state and messaging: `multiplayer/src/rooms/WalkRoom.js`, client in `src/game/community-net.js`
+- Minimap blips: `src/game/hud/minimap.js`; HUD composition: `src/game/hud/world-hud.js`
+- Inspect panel (the "I" overlay on another avatar): in `src/game/coincommunities-ui.js`, a natural invite surface
+- Chat channels: the chat bar in `src/game/coincommunities-ui.js`
+
+## What to build
+
+1. **Form and manage.** Create a party, invite from the friends drawer or from inspecting a nearby player, accept or decline with a toast, leave anytime, party dissolves when empty. Cap it (8 is plenty) and say so in the UI. Party state lives server-side (social hub Redis alongside presence, TTL-guarded so a crashed session cannot leave a ghost party).
+2. **See your people.** Party members get a distinct nameplate accent and dedicated minimap blips; members beyond the minimap edge get a screen-edge direction chip with name and distance. All of it cheap: update on the existing peer-sync cadence, no extra per-frame work.
+3. **Get to your people.** A "go to" action per member. Same world and tier: a server-validated teleport to a safe offset near them, with a cooldown and a brief arrival effect. Different world: a designed handoff that deep-links to their world carrying full coin identity, keeping the party intact across the transition (this is the cross-realm case social-hub presence exists to answer).
+4. **Talk to your people.** A party channel in the chat bar, toggle between world and party scope, party messages styled distinctly. Delivery rides the friends messaging path or a party-scoped room relay, whichever is less new code; state the choice.
+5. **Event glue.** If Feature 13's quest line landed, quests that say "with another player" should count party members preferentially. If Feature 16's invite sheet landed, an invite accepted from a party member's link should offer to join their party on arrival.
+
+## Verify
+
+- Two browsers, two accounts on `npm run dev`: full lifecycle (invite, accept, blips, edge chips, party chat, go-to teleport, leave). Then the cross-world case: member in a different coin world, handoff follows them, party survives.
+- Kill one session hard (close the tab): the ghost clears from the other client within the presence TTL.
+- Declines, full-party invites, and inviting someone already partied all produce designed feedback, not silence. `npm test` green with a test on party state transitions.
+
+## Report format
+
+Files shipped, where party state lives and its TTL, the teleport validation rule, the chat delivery choice, and the `data/changelog.json` entry.
+
+---
+
+<a id="sec-205"></a>
+
+> **Source:** `docs/event-readiness/22-venue-projector-mode.md` · [↑ table of contents](#table-of-contents)
+
+# Feature 22: projector mode, the world on the venue's big screen
+
+Tomorrow there is a physical room with a big screen. The best thing that screen can show is the live world itself: the crowd, the stage, the jumbotrons, with event branding over it. Today the closest thing is zen mode plus the cinematic camera, which still spawns a visible player and shows player-grade UI. Build a real broadcast view.
+
+## Where the code lives
+
+- URL params: parsing in `src/game/coincommunities.js` and the canonicalisation allowlist where entry rewrites the URL via `history.replaceState`. Any new param MUST be added to that allowlist or it is dropped on entry: this is the known trap
+- Cameras: `src/game/camera-modes.js` (cinematic mode exists) and `src/game/hud/camera-rig.js`
+- Zen and embed precedents: `ui=hidden` and `bg=transparent` handling in `src/game/coincommunities.js`
+- Server join: `multiplayer/src/rooms/WalkRoom.js` join options; the client sends them from `src/game/community-net.js`
+- Event state: `public/event.json` via `src/game/event-countdown.js`; live activity if Feature 15 landed; invite QR if Feature 16 landed
+
+## What to build
+
+1. **`?director=1`.** A new param (added to the canonical allowlist) that enters the world as a spectator: no avatar spawned, not counted in minigames or crowd logic, invisible to players. This needs a server-honored `spectator` join option in `WalkRoom` so it is real, not a hidden local avatar other clients still receive.
+2. **Auto-director camera.** A shot rotation across the world's actual points of interest (spawn plaza crowd, chart jumbotron, dance floor, the stage if Feature 17 landed, wherever player density is highest right now): slow dollies and orbits, cut every 15 to 30 seconds, never clipping through geometry (reuse the collision-aware rig). Player density should genuinely influence shot choice; an empty corner is not a shot.
+3. **Broadcast overlay.** A clean lower-third: event name and LIVE or countdown state from `event.json`, world name and symbol, live online count, and, if available, the activity ticker rows and an invite QR in a corner. Typography at projector scale (readable from the back of a room), on brand, no player HUD anywhere.
+4. **Unattended resilience.** This screen runs for hours with nobody at the keyboard: reconnect forever with backoff (never surface a terminal error card; show a quiet "reconnecting" state over the last frame), request a wake lock, hide the cursor after idle, and auto-recover from WebGL context loss by reloading itself.
+5. **Performance headroom.** Target the venue machine, not a phone: full render scale, but keep the overlay out of the render loop and DOM-stable. A dropped frame on the big screen is visible to a whole room.
+
+## Verify
+
+- `npm run dev` with two normal players plus one director tab: the director is invisible in both player clients and absent from the online count seen in-world (or counted separately; decide and state it), shots rotate across occupied areas, overlay states correct for upcoming, live, and no-event.
+- Kill the network for 30 seconds: quiet recovery, no error card. Simulate context loss (`WEBGL_lose_context`): the view comes back without a human touching it.
+- One-hour soak: stable memory, no DOM growth. `npm test` green.
+
+## Report format
+
+Files shipped, the exact URL to put on the venue machine, the spectator join contract, the shot list logic in three sentences, soak results, and the `data/changelog.json` entry.
+
+---
+
+<a id="sec-206"></a>
+
+> **Source:** `docs/event-readiness/23-signature-wall.md` · [↑ table of contents](#table-of-contents)
+
+# Feature 23: the signature wall, a permanent artifact of the event
+
+Events end; walls remember. Give the $THREE world a signature wall near spawn where every attendee can leave their name and a short line, rendered as graffiti everyone sees, persisted forever. It costs visitors ten seconds, gives them ownership of the space, and becomes the artifact the community links back to after the event.
+
+## Where the code lives
+
+- Persistence precedents: `src/game/world-persist.js` (Postgres index plus blob store for builds), Upstash Redis in `api/play/builds.js`; pick the store that fits an append-only list of small records and state why
+- Canvas-rendered world screens: `src/game/screen-texture.js` (shared quality pattern), `src/game/chart-screen.js` and `src/game/x402-jumbotron.js` as CanvasTexture precedents
+- Interaction and placement: landmark precedent in `src/game/wheel-station.js`; the contextual F interaction chain in `src/game/coincommunities.js`
+- Safety: the slur gate in `multiplayer/src/rooms/WalkRoom.js` and `multiplayer/src/display-name-safety.js` (reuse the same filters server-side on the write path)
+- Identity: the play pass from `src/game/play-auth.js` distinguishes signed-in wallets from guests
+
+## What to build
+
+1. **The wall.** A physical wall near spawn, textured by a CanvasTexture that composites signatures as varied graffiti (a few fonts, sizes, rotations, ink colors seeded per signature so the wall looks organic, not like a spreadsheet). A counter shows how many have signed.
+2. **Signing.** Walk up, F to sign: name (prefilled from the player's display name) plus an optional line capped around 80 characters. Signed-in wallets sign once ever (idempotent server-side by wallet); guests sign once per session with a nudge that signing in makes it permanent. The new signature appears on the wall with a small ink-splash moment, visible to everyone in the room.
+3. **The write path.** One `api/` handler validating length, running the same name-safety and slur filters the chat uses, rate-limited, storing display text only (never wallet addresses in the rendered record). Include a simple owner-only removal path (by signature id) for moderation; document the curl in the pack's runbook file.
+4. **Overflow by design.** The wall must look good at 10 signatures and at 5,000: batch signatures into pages the texture cycles through slowly, or grow tiles smaller as density rises; either way the newest signatures get a period of prominence. State the chosen approach. The texture redraw must be incremental or throttled, never a full redraw per new signature at event rates.
+5. **The artifact.** A public read endpoint plus a shareable rendering: an OG-card style image of the wall (precedent: `api/og-leaderboard.js`) so "we signed it" can be posted after the event.
+
+## Verify
+
+- Two browsers on `npm run dev`: sign in one, watch it land live in the other and survive both reloads. Second signing attempt on the same wallet is refused with designed feedback.
+- Filter path proven: a slur in the message is rejected server-side; markup in the message renders inert (it is untrusted display text, never HTML).
+- Load a seeded wall of several thousand signatures: texture stays sharp, frame time flat, memory stable.
+- `npm test` green with tests on the write handler (validation, idempotency, rate limit).
+
+## Report format
+
+Files shipped, the store chosen and why, the overflow design in two sentences, the moderation curl, the artifact URL shape, and the `data/changelog.json` entry.
+
+---
+
+<a id="sec-207"></a>
+
+> **Source:** `docs/event-readiness/24-dance-off.md` · [↑ table of contents](#table-of-contents)
+
+# Feature 24: dance-off rounds on the synced floor
+
+The dance floor already syncs everyone to a server beat with rotating clips, and an x402 dance-tip endpoint already exists. What is missing is the game: scheduled dance-off rounds where the floor becomes a competition, the crowd votes, and the winner gets a spotlight moment. This is the recurring beat that gives an event crowd something to gather around every few minutes.
+
+## Where the code lives
+
+- The floor today: the beat broadcast in `multiplayer/src/rooms/WalkRoom.js` (`floor:beat`) and the client sync in `src/game/coincommunities.js`
+- Round-machine precedent: King of the Totem in `WalkRoom.js` (phase, timer, leaderboard, winner) and its HUD panel in `src/game/coincommunities-ui.js`; copy that shape, it is already proven
+- Crowd input: the reaction bar (6 emoji) in `src/game/coincommunities-ui.js` and the reaction relay in `WalkRoom.js`
+- Tips: `api/x402/dance-tip.js`
+- Winner reward: the cosmetics ownership path (`multiplayer/src/cosmetics-ownership.js`, `api/cosmetics/`); celebration feel: `src/game/hud/game-feel.js`; feed: `multiplayer/src/feed.js`
+
+## What to build
+
+1. **The round machine.** Server-side dance-off rounds on the existing floor, in the King of the Totem shape: idle, a join window announced in-world, a performance phase (60 to 90 seconds, contestants are the players on the floor when it starts), a vote tally, a winner moment, cooldown, repeat. During the event window (`public/event.json`) rounds run frequently; outside it, occasionally or on demand.
+2. **Performing.** Contestants dance with the existing synced clips; let a contestant switch clips mid-round through the emote wheel so there is actual expression involved. Contestants get a subtle floor highlight so the crowd knows who is in.
+3. **Voting.** The crowd votes with the existing reaction bar targeted at a contestant (nearest-aim or a tap on the contestant's nameplate); one counted vote per voter per round, tallied server-side, spam beyond the first vote is just cosmetic confetti. Contestants cannot vote for themselves.
+4. **Winning.** Spotlight beam, confetti, jumbotron feature with name and avatar snapshot, a feed event, and a small cosmetic or title through the existing ownership path, granted idempotently. Tips: the winner moment surfaces the dance-tip action for the crowd (x402 spend: recipient and amount rendered, explicit confirmation, every time).
+5. **Fairness and failure.** A round with fewer than two contestants dissolves quietly. Disconnecting mid-round removes the contestant and their votes. Ties resolve by earliest-to-threshold. Nothing about a round can strand the floor: the beat and free dancing always come back.
+
+## Verify
+
+- Three browsers on `npm run dev`: two contestants, one voter; a full round end to end including the winner moment, the grant appearing in the winner's wardrobe exactly once across repeat wins, and the feed event.
+- Solo-contestant round dissolves; mid-round disconnect handled; the floor returns to its normal beat after every path.
+- Event window on and off changes the cadence as designed. `npm test` green with unit tests on the tally (one vote per voter, no self-votes, tie rule).
+
+## Report format
+
+Files shipped, the round timings chosen, the vote targeting rule, the reward and its grant path, and the `data/changelog.json` entry.
+
+---
+
+<a id="sec-208"></a>
+
+> **Source:** `docs/event-readiness/LIVE-OPS.md` · [↑ table of contents](#table-of-contents)
+
+# LIVE-OPS: $THREE Community Day
+
+One page. Everything an operator needs while the event is running, and nothing else.
+Prepared 2026-08-08. Project `aerial-vehicle-466722-p5`, region `us-central1`.
+
+---
+
+## The link and the release
+
+**Event URL** (the canonical $THREE world, from [README.md](#sec-209)):
+
+```
+https://three.ws/play?coin=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump&name=three.ws&symbol=three&image=%2Fapi%2Fimg%3Furl%3Dhttps%253A%252F%252Fipfs.io%252Fipfs%252Fbafybeihe22b5sxr3ihnxt7pregfieyteqvubqhik3j3y4bbx243xlqjw3q%26seed%3DFeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump
+```
+
+**Live release as of this writing:** `c1e600a04` on revision `three-ws-api-00364-n65`.
+The world server runs an image built 2026-08-06 (revision `three-ws-multiplayer-00010-g89`).
+
+> The release SHA above is NOT the event build. The event features (quest line,
+> photo mode, live event board, `/event` landing page, operator announce, the
+> `/population` endpoints) are committed but unshipped. See
+> [Ship the release](#ship-the-release-owner-gated) at the bottom. Confirm the SHA
+> with `curl -s https://three.ws/api/version` after the deploy and update this line.
+
+---
+
+## Health: three commands that prove the site is up
+
+```bash
+# 1. API alive, and which build is actually serving
+curl -s https://three.ws/api/version
+
+# 2. API subsystems (x402, monitor, speech, alerts) - status must be "ok"
+curl -s https://three.ws/api/healthz | head -c 400
+
+# 3. The world server itself. If this is not {"ok":true}, /play is dead
+# no matter what the site says.
+curl -s https://three-ws-multiplayer-93741856042.us-central1.run.app/health
+```
+
+Continuous version, one terminal, quiet unless something changes:
+
+```bash
+npm run event:watch # every 30s
+npm run event:watch -- --interval 15 # tighter during the opening rush
+npm run event:watch -- --once # single sweep; exit 1 if anything is down
+```
+
+It watches the API, the live release SHA, the `/play` page (including that the
+game bootstrap is still in the HTML), the world server, and the live player
+count. It is plain HTTPS on purpose: it keeps working when `gcloud` auth has
+expired, which it does on its own schedule in this environment.
+
+---
+
+## Logs: two commands for fast triage
+
+```bash
+export PATH="$HOME/google-cloud-sdk/bin:$PATH"
+
+# Errors across the whole fleet, last 6h
+npm run logs:errors
+
+# The world server specifically - join refusals, origin rejections, room churn
+gcloud logging read 'resource.type="cloud_run_revision"
+ resource.labels.service_name="three-ws-multiplayer" severity>=WARNING' \
+ --freshness=1h --limit=50 --project aerial-vehicle-466722-p5
+```
+
+Deeper sweep when the cause is not obvious: `npm run triage:gcp:deep`.
+
+---
+
+## Rollback: pre-filled, per service
+
+**These three revisions are the known-good pre-event state.** They are live right
+now and all report Ready. After tomorrow's release deploy creates new revisions,
+these are what you roll back TO.
+
+```bash
+export PATH="$HOME/google-cloud-sdk/bin:$PATH"
+R="--region us-central1 --project aerial-vehicle-466722-p5"
+
+# API + frontend
+gcloud run services update-traffic three-ws-api $R \
+ --to-revisions=three-ws-api-00364-n65=100
+
+# The /play world server (kicks everyone in-world; they auto-reconnect)
+gcloud run services update-traffic three-ws-multiplayer $R \
+ --to-revisions=three-ws-multiplayer-00010-g89=100
+
+# Redis proxy (presence, durable builds)
+gcloud run services update-traffic three-ws-redis-proxy $R \
+ --to-revisions=three-ws-redis-proxy-00004-bwk=100
+```
+
+Then purge the edge or the CDN keeps serving the bad build:
+
+```bash
+npm run deploy:gcp:purge-cdn
+```
+
+Return to normal afterwards with `--to-latest` instead of `--to-revisions`.
+
+**Rehearsal result (2026-08-08):** every target above exists and reports
+`Ready=True` with 100% of traffic. Traffic was not actually shifted, because
+shifting it and back is itself two world-server restarts on the eve of the event;
+the commands are the same `update-traffic` calls that created the current
+routing, and the revisions are the ones already serving.
+
+---
+
+## Scale: what is set, and how to raise it
+
+Pre-scaled 2026-08-08 (config-only, pre-approved per
+[docs/ops/gcp-credits-plan.md](ops/gcp-credits-plan.md)):
+
+| Service | min | max | concurrency | CPU / memory | changed from |
+|---|---|---|---|---|---|
+| `three-ws-api` | **6** | 100 | 160 | 2 / 4Gi | min was 2 |
+| `three-ws-multiplayer` | 1 | **1 (hard)** | 1000 | **4 / 8Gi** | was 2 CPU / 4Gi |
+| `three-ws-redis-proxy` | **3** | **10** | 80 | default | was min 2 / max 4 |
+
+```bash
+export PATH="$HOME/google-cloud-sdk/bin:$PATH"
+R="--region us-central1 --project aerial-vehicle-466722-p5"
+
+# More API headroom (safe, instant)
+gcloud run services update three-ws-api $R --min-instances=12 --max-instances=200
+
+# More world-server headroom. NOTE: raise CPU/RAM or concurrency, never max-instances.
+gcloud run services update three-ws-multiplayer $R --cpu=8 --memory=16Gi
+gcloud run services update three-ws-multiplayer $R --concurrency=2000
+```
+
+**`three-ws-multiplayer` max-instances must stay 1.** Colyseus rooms live in one
+process. A second instance is only correct when the room registry and presence
+are shared through Redis *and* each instance is individually addressable so a
+seat reservation lands on the box hosting the room. Cloud Run gives every
+instance the same URL, so instance 2 would silently split players in the same
+world into two invisible crowds. A Memorystore Redis exists
+(`three-ws-redis`, `10.234.231.139:6379`) and `REDIS_URI` would switch the driver
+on, but the addressability half is not solved and the eve of an event is not when
+to find out. Use CPU, memory, and concurrency instead.
+
+---
+
+## Capacity: measured, not assumed
+
+`npm run event:capacity -- --n 400 --ramp 45 --hold 150` against live production,
+2026-08-08:
+
+| | |
+|---|---|
+| requested / joined | 400 / 400 (100%) |
+| held for the full 150s | 400 |
+| join latency | p50 155ms · p95 219ms · max 388ms |
+| mid-run drops | 0 |
+| moves sent / state patches | 269,633 / 415,418 |
+| verdict | PASS on all four thresholds |
+
+The single world instance carried 400 concurrent players walking at 8 Hz with
+zero drops. The known cliff is the concurrency ceiling: at 1000 simultaneous
+connections Cloud Run wants a second instance and `max-instances=1` refuses it.
+If the count approaches that, raise `--concurrency`, not `--max-instances`.
+
+One caveat baked into the harness: at 400 clients its own event loop stalls, so
+the page-latency figure it prints measures the machine running it, not the
+origin. It now prints its own loop lag next to that number and says so. An idle
+`curl` during the same run measured `/play` at a steady 420-490ms.
+
+---
+
+## Known failure modes and what to do
+
+Audits 1-9 did not leave an accepted-risk register, so this is derived from the
+code's own documented landmines plus what was measured on 2026-08-08.
+
+| If this happens | Why | Do this |
+|---|---|---|
+| `/play` loads but nobody sees anyone else | World server restarted or a second instance appeared | `curl .../health`; confirm `max-instances=1`; rollback command above |
+| Players kicked seconds after joining, phones only | Mobile memory kill, not a network fault | `node scripts/play-mobile-repro.mjs` reproduces it; it reads as bytes, not as a networking bug |
+| `/walk` looks completely offline while `/play` works | Someone set `PLAY_GATE_MINT`/`THREE_MINT` on the world server. `/walk` sends no play pass, so every join throws `play_pass_required` (landmine documented in `multiplayer/src/rooms/WalkRoom.js`) | Unset it: `gcloud run services update three-ws-multiplayer $R --remove-env-vars=PLAY_GATE_MINT,THREE_MINT` |
+| NPC / concierge replies slow or absent | Paid LLM tier is degraded today: OpenRouter `402 Payment Required`, OpenAI `429`. Vertex Gemini is healthy and the free-first chain leads, so players still get answers (measured 8-16s first token after live demotions) | Nothing during the event. Topping up OpenRouter is an owner spend decision |
+| Wallet balances read as zero / holder tier collapses to Member | Helius and Alchemy are both `429` today. 6 free rungs plus the QuickNode reserve carry it (proven by poisoning the primary) | `npm run event:failover` to see which rungs are live now |
+| Coin image missing on the event link or OG card | `4everland.io` gateway times out, `gateway.pinata.cloud` is slow (~4s). `api/img.js` races five gateways and takes the first valid one | Nothing. 4 of 5 gateways served the CID on 2026-08-08 |
+| An x402 / boutique payment does not settle | `/api/healthz` shows 50,442 settle failures with `fee_runway_exhausted`. This is settle-floor starvation, which looks identical to "the wallets are dry" and has a different fix | Run the `x402-economy-triage` agent BEFORE concluding anything about wallet balances |
+| A deploy dies at `npm ci` with "package.json and package-lock.json are not in sync" | Almost certainly NOT a dependency mistake. `FROM node:24-slim` floats, so a newer bundled npm resolves the tree differently and rejects an untouched lockfile. This took the 2026-08-08 release build down | The Dockerfile now pins `ARG NPM_VERSION`. If it recurs, compare `npm --version` locally against `docker run --rm node:24-slim npm --version` and set the pin to the version that produced the lockfile |
+| Something breaks and nobody is told | Push alerting is thin. `TELEGRAM_ALERTS_CHAT_ID` is unset in production, so `/api/healthz` reports `telegram_push: "disabled"` and platform alerts land only in the `ops_alerts` table | Email now works: two uptime checks (site + world server) and two alert policies (uptime failure, `three-ws-api` 5xx rate) were created 2026-08-08 and page `[email protected]`. Email is slow, so also keep `npm run event:watch` open on a screen |
+
+---
+
+## Talk to the whole world mid-event
+
+`scripts/announce-play.mjs` pushes a message to every player standing in a live
+world, right now. It is the host's microphone: use it to call each agenda beat,
+to tell people where to go, and to say anything that cannot wait for chat to
+scroll. Requires the world server to be running the event build (the endpoint is
+`/internal/announce`; a 404 means the deploy below has not happened yet).
+
+```bash
+# Every live world, toast only
+node scripts/announce-play.mjs "Totem showdown starts in 2 minutes. Get to the plaza."
+
+# With a title: also raises the centre-screen banner for 12s
+node scripts/announce-play.mjs \
+ --title "Wheel hour" \
+ --detail "Free spin at Fortune's Folly, prizes on every wedge" \
+ "Wheel hour is open. Head to the plaza wheel."
+
+# Only the $THREE world, and hold the banner 30s
+node scripts/announce-play.mjs --coin FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump \
+ --duration-ms 30000 --title "Fireworks" "Look up."
+```
+
+It prints how many rooms and players it reached, so `0 player(s)` is your cue
+that nobody is in the world yet (or that you targeted the wrong coin). The
+request is HMAC-signed with `MULTIPLAYER_SHARED_SECRET` (falling back to
+`HOLDER_PASS_SECRET`, which is in `.env`), and the server rejects an unsigned or
+stale call, so the endpoint is safe to leave exposed. Announcements ride the same
+`notice` channel the game already uses, so they reach every connected client
+regardless of which build the player loaded.
+
+---
+
+## Escalation: which tool for which subsystem
+
+| Subsystem | Tool |
+|---|---|
+| x402 payments, settles, the ring, "wallets are dry" | `x402-economy-triage` agent. Do not diagnose by hand; settle-floor starvation and capital dispersion look the same from outside |
+| Cloud Run, crons, logs, DB migrations, TLS, fleet readiness | `gcp-triage` skill, or `npm run triage:gcp:deep` |
+| Phones dropping out of the world | `node scripts/play-mobile-repro.mjs` |
+| Any page 404/500 across the site | `npm run smoke:prod` |
+| A third-party provider suspected down | `npm run event:failover` |
+| World capacity under a crowd | `npm run event:capacity -- --n <2x current peak>` |
+
+---
+
+## Ship the release (owner-gated)
+
+Two services, two commands. Both need explicit owner approval.
+
+```bash
+# 1. API + frontend (26+ commits ahead of what is live)
+npm run deploy:gcp:full
+
+# 2. The world server - required for the event features and /population.
+# Its image predates every event commit.
+cd multiplayer && ./deploy-cloudrun.sh
+```
+
+`deploy-cloudrun.sh` now defaults to `CPU=4 MEMORY=8Gi` so a redeploy cannot
+silently undo the pre-scaling above. `gcloud run deploy` replaces resource limits
+on every run, so a hotfix deploy with the old defaults would have halved the
+world server's CPU mid-event.
+
+After either deploy: `curl -s https://three.ws/api/version`, then
+`npm run event:watch -- --once`, then update the release SHA at the top of this
+page.
+
+---
+
+## Open items
+
+1. **`TELEGRAM_ALERTS_CHAT_ID` exists nowhere** (not `.env`, not `.env.local`, not
+ the Cloud Run service). Every alerting path in `api/_lib/alerts.js` is already
+ wired behind it; it needs one private chat/DM id, which only the owner can
+ create. Then:
+ `gcloud run services update three-ws-api --region us-central1 --project aerial-vehicle-466722-p5 --update-env-vars=TELEGRAM_ALERTS_CHAT_ID=<id>`
+ (`--update-env-vars`, never `--set-env-vars`.) It must be a private chat: alerts
+ carry stack traces, URLs, and IPs.
+2. **Email alerting now exists; it did not before 2026-08-08.** Created that day
+ and wired to the existing verified `[email protected]` channel:
+
+ - uptime check `three.ws API healthz` on `https://three.ws/api/healthz`
+ - uptime check `three.ws world server` on the world server's `/health`
+ - policy "Event: three.ws or the /play world server is DOWN" (uptime failing
+ from more than 2 probe locations)
+ - policy "Event: three-ws-api 5xx rate elevated" (5xx above 5/s for 5 minutes)
+
+ Both policies link back to this page. Email is minutes-slow by nature, so it is
+ the backstop, not the primary: `npm run event:watch` is the primary.
+
+3. **The release build failed once on 2026-08-08** at the `npm ci` layer, root
+ caused to the floating base image (see the failure-modes table). The Dockerfile
+ pin is committed; the build has not been re-run since, so the release still
+ needs a green build before the deploy commands above are known good.
+
+4. **`gcloud` auth expires on its own schedule here.** It died mid-session
+ (`invalid_grant: reauth related error (invalid_rapt)`) and was restored with
+ `gcloud auth login --no-launch-browser`. Verify with a real call
+ (`gcloud run services describe three-ws-api --region us-central1`), never with
+ `gcloud auth list`, which reports an expired account as ACTIVE.
+
+---
+
+<a id="sec-209"></a>
+
+> **Source:** `docs/event-readiness/README.md` · [↑ table of contents](#table-of-contents)
+
+# Event readiness: prompt pack
+
+Twenty-four self-contained agent prompts to get three.ws, and especially the /play world, to 100% before the event. Files 01-10 audit and fix what exists; files 11-16 build new event features; files 17-24 build new capabilities, things players can DO in the virtual world, by wiring in subsystems that are already built but unreachable from /play. Each file is a complete prompt: paste it into a fresh Claude Code session (or hand it to a subagent) and it runs end to end, fixing or building, then reporting.
+
+Suggested order and parallelism (audits):
+
+| # | Prompt | Surface | Can run in parallel with |
+|---|--------|---------|--------------------------|
+| 1 | [01-play-first-impression.md](#sec-184) | /play load, intro, onboarding UX | 4, 5, 7, 8 |
+| 2 | [02-play-mobile.md](#sec-185) | /play on phones (stability + touch) | 7, 8 |
+| 3 | [03-play-performance.md](#sec-186) | /play load weight, FPS, memory | 7, 8 |
+| 4 | [04-play-multiplayer-net.md](#sec-187) | WebSocket, reconnects, voice, crowd | 1, 5 |
+| 5 | [05-play-economy-loops.md](#sec-188) | Store, bank, wheel, combat, quests, cosmetics | 1, 4 |
+| 6 | [06-play-auth-errors.md](#sec-189) | Sign-in, gates, error/empty states, console | after 1 |
+| 7 | [07-platform-smoke-sweep.md](#sec-190) | Every page on the live site | 1, 2, 3 |
+| 8 | [08-api-production-health.md](#sec-191) | Cloud Run, crons, logs, DB, x402 | 1, 2, 3 |
+| 9 | [09-accessibility-i18n.md](#sec-192) | Keyboard, ARIA, contrast, translations | after 1 |
+| 10 | [10-event-day-runbook.md](#sec-193) | Pre-scale, monitoring loop, rollback | last, after all fixes deploy |
+
+Feature builds (run after audits 1-3 land, or in parallel if staffed; 12, 14, and 16 interlink but each stands alone):
+
+| # | Prompt | Builds | Depends on |
+|---|--------|--------|------------|
+| 11 | [11-event-live-ops.md](#sec-194) | Operator broadcast, go-live moment, live event config | nothing |
+| 12 | [12-photo-mode-share.md](#sec-195) | Photo mode with branded one-tap share | nothing |
+| 13 | [13-event-quests-leaderboard.md](#sec-196) | Time-boxed quest line + live leaderboard + cosmetic reward | nothing (better with 12) |
+| 14 | [14-welcome-concierge.md](#sec-197) | Greeter NPC, guided tour, event-aware opening line | nothing |
+| 15 | [15-live-hype-feed.md](#sec-198) | Activity ticker + market hype moments | nothing (better with 13) |
+| 16 | [16-invite-flow.md](#sec-199) | Invite sheet, QR, OG card truth, arrival continuity | nothing (better with 14) |
+
+Capability builds (17-24): each wires an existing, finished subsystem into the world or adds a missing social primitive. All stand alone; the noted pairings just make them better together.
+
+| # | Prompt | Builds | Wires in / pairs with |
+|---|--------|--------|-----------------------|
+| 17 | [17-plaza-live-show.md](#sec-200) | Live hosted show on a plaza stage, with $THREE tips | StageRoom + ShowDirector (built, unreachable from /play) |
+| 18 | [18-coin-wars-portal.md](#sec-201) | In-world Coin Wars portal: standings, queue, spectate | ClashRoom + war standings (built, arena-page only) |
+| 19 | [19-forge-props-live.md](#sec-202) | Text-to-3D prop generation inside build mode | Forge lane + the networked prop pipeline |
+| 20 | [20-world-chat-scrollback.md](#sec-203) | Chat scrollback for late joiners + community-feed bridge | the WalkRoom relay + api/community/messages |
+| 21 | [21-party-system.md](#sec-204) | Parties: form, see, reach, and talk to your crew | friends/presence stack; pairs with 13, 16 |
+| 22 | [22-venue-projector-mode.md](#sec-205) | Broadcast spectator view for the venue big screen | camera rig + event.json; pairs with 15, 16, 17 |
+| 23 | [23-signature-wall.md](#sec-206) | Persistent signature wall, the event's artifact | world-persist patterns + name safety |
+| 24 | [24-dance-off.md](#sec-207) | Judged dance-off rounds with crowd voting and tips | dance floor beat + King of the Totem round machine |
+
+Rules that apply to every prompt in this pack:
+
+- The canonical test URL for the world is the $THREE community: `https://three.ws/play?coin=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump&name=three.ws&symbol=three&image=%2Fapi%2Fimg%3Furl%3Dhttps%253A%252F%252Fipfs.io%252Fipfs%252Fbafybeihe22b5sxr3ihnxt7pregfieyteqvubqhik3j3y4bbx243xlqjw3q%26seed%3DFeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`
+- Fix what you find. Do not produce a findings report and stop; the report is what you fixed plus what genuinely cannot be fixed in-session and why.
+- Verify locally with `npm run dev` (port 3000) plus the named audit scripts before claiming done. `npm test` must stay green.
+- Commit finished work promptly with explicit paths (concurrent agents share this worktree; never `git add -A`).
+- Deploys stay owner-gated. Prepare everything so shipping is one command (`npm run deploy:gcp:full`), then say so in the report.
+
+---
+
+<a id="sec-210"></a>
+
+> **Source:** `docs/event-souvenirs.md` · [↑ table of contents](#table-of-contents)
+
+# Event souvenirs: the wearable you keep for having been there
+
+Some things should not be for sale.
+
+When a live event runs in `/play`, everyone who walks into the event world while
+it is happening is handed a free commemorative wearable. It lands on your
+account, it is yours forever, and you can wear it in every coin world from then
+on. When the event ends, it is never granted again. There is no purchase path,
+no second chance, no listing in the boutique. The only way to have one is to
+have been there.
+
+That constraint is the entire product. A cosmetic you can buy later says nothing
+about you. This one says exactly one thing, permanently, to every player who
+walks past you.
+
+The first one is the **Meetup Laurel**: a gold laurel circlet, open at the
+front, with three pearl berries in the gap. It is granted at the
+[`$THREE` First Holders Meetup](#sec-317).
+
+---
+
+## For players
+
+1. Open the event world while the event is live. The countdown chip and the
+ lobby banner both link straight to it.
+2. A card slides in over the corner of the HUD the moment the souvenir lands:
+ what you got, why, and a **Wear it** button. It is not a modal, so it never
+ interrupts what you were doing, and it retires itself after a few seconds
+ (it pauses while your pointer or keyboard focus is on it).
+3. Dismissed it? It is waiting in **My Fits**, badged as new, in the Headwear
+ row.
+
+You are granted it once. Reconnecting, refreshing, or coming back the next day
+does not give you a second one and does not show the card again.
+
+---
+
+## For whoever runs the event
+
+Everything lives in one file: `public/event.json`, the
+same config that drives the countdown pill, the agenda drawer, and the fireworks
+finale. Add a `souvenir` block:
+
+```json
+{
+ "id": "three-first-meetup",
+ "name": "$THREE First Holders Meetup",
+ "startsAt": "2026-08-09T17:00:00Z",
+ "endsAt": "2026-08-09T19:30:00Z",
+ "link": "/play?coin=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump&name=three.ws&symbol=three",
+ "souvenir": { "cosmeticId": "laurel-meetup" }
+}
+```
+
+That is the whole configuration. Three fields already had to be right for the
+countdown to work, and the drop reuses all three:
+
+| Field | What the drop reads from it |
+| --- | --- |
+| `startsAt` / `endsAt` | The claim window, half-open: `[startsAt, endsAt)`. At the instant the event ends, the souvenir stops being granted. |
+| `link` | The **world**. The `coin` query parameter names the only world the drop applies in, so it can never target a world the event does not advertise. |
+| `souvenir.cosmeticId` | The item. Must be a `tier: 'event'` entry in the cosmetics catalog. |
+
+Omit the `souvenir` block entirely to run an event with no drop.
+
+### Running a drop, start to finish
+
+1. **Author the item** in
+ [`multiplayer/src/cosmetics-catalog.js`](../multiplayer/src/cosmetics-catalog.js)
+ with `tier: 'event'` and `price: 0`. See [Adding a new souvenir](#adding-a-new-souvenir).
+2. **Point the config at it** with the `souvenir` block above.
+3. **Check it parses** before the night of the event, not during it:
+ ```bash
+ npx vitest run tests/event-souvenir.test.js
+ ```
+ The suite reads the real `public/event.json` and fails if the shipped config
+ would grant nothing.
+4. **Deploy.** The game server fetches the config over HTTP and re-reads it
+ every two minutes, so moving a window does not need a game-server redeploy.
+ `EVENT_CONFIG_TTL_MS` tightens that interval while you are setting up.
+5. **Watch it land.** Every grant logs one line:
+ ```
+ [walk_world <roomId>] souvenir laurel-meetup → <account> (three-first-meetup)
+ ```
+
+### What the server refuses to do
+
+These are guards, not warnings: each one silently grants nothing rather than
+doing the wrong thing.
+
+- **Grant outside the window.** Before `startsAt` or at/after `endsAt`, nothing.
+- **Grant in another world.** Standing in an unrelated coin world during the
+ event earns nothing, even though the event is live.
+- **Grant a boutique item.** If `cosmeticId` names a `premium` cosmetic, the
+ whole drop is treated as unconfigured. A typo cannot hand every attendee a
+ 400-`$THREE` Stetson.
+- **Grant twice.** The grant is idempotent on the account, so reconnects and
+ room hops produce one unlock and one announcement.
+- **Block a join.** An unreachable or malformed config means no drop, never an
+ error and never a delay: the world opens normally.
+
+---
+
+## How it works
+
+```
+public/event.json ──HTTP──▶ multiplayer/src/event-drop.js (window + world + item)
+ │
+ WalkRoom.onJoin
+ │ dropClaimable(drop, world, now)?
+ ▼
+ grantCosmetic(profile, id) (idempotent)
+ │ newly unlocked?
+ ┌───────────────┴───────────────┐
+ ▼ ▼
+ persist to account send `souvenir` to that client
+ │
+ ▼
+ src/game/event-souvenir.js (the card)
+ cosmetics-wardrobe.js (the "New" badge)
+```
+
+The grant is **server-side only**. A client never asks for a souvenir and cannot
+claim one: it learns it has one because the server tells it. The `souvenir`
+message is sent on the transition from not-owned to owned and at no other time,
+which is what lets the client treat it as a moment rather than state to
+reconcile.
+
+Ownership then behaves exactly like a purchased cosmetic: it is stored on the
+account profile, survives restarts and world switches, is re-validated on every
+equip, and is published on the shared schema so peers render it. A client
+asserting the item in a join loadout without owning it is silently dressed in
+the slot default.
+
+### Why the window lives in the config and not in code
+
+The countdown chip, the agenda, the fireworks and the drop all derive from the
+same `startsAt`/`endsAt`. If the drop had its own copy of the schedule, the two
+could disagree, and the failure mode is the worst one available: a player who
+watched the countdown hit zero, walked in, and got nothing. Reading one file
+makes that class of bug unrepresentable.
+
+---
+
+## Adding a new souvenir
+
+An event-tier cosmetic is an ordinary catalog entry with a tier that keeps it
+out of the shop:
+
+```js
+{
+ id: 'laurel-meetup',
+ name: 'Meetup Laurel',
+ slot: 'headwear',
+ rarity: 'legendary',
+ tier: 'event', // granted, never sold
+ price: 0, // and so never listed in the boutique
+ visual: { prop: '/accessories/laurel-meetup.glb', anchor: 'head' },
+ thumb: '/accessories/thumbs/laurel-meetup.png',
+}
+```
+
+If it needs an asset, both the model and its poster are generated from the repo,
+so neither can drift from the other:
+
+```bash
+node scripts/generate-accessory-glbs.mjs laurel-meetup.glb # the GLB (68 KB)
+node scripts/render-accessory-thumbs.mjs laurel-meetup # the poster PNG
+```
+
+Passing a filename regenerates only that one, leaving every other committed
+binary untouched. The geometry is authored procedurally in
+[`scripts/generate-accessory-glbs.mjs`](../scripts/generate-accessory-glbs.mjs)
+alongside the hats and glasses; repeated elements (the laurel's eighteen leaves)
+are built in a loop and merged into a single primitive so one look costs one
+material.
+
+Do **not** add an event souvenir to
+[`public/accessories/presets.json`](../public/accessories/presets.json). That
+catalog is the Avatar Studio's, it is not ownership-gated, and listing a
+souvenir there would hand it to everyone.
+
+---
+
+## Verifying it
+
+Three layers, all real. None of them edits `public/event.json`, so no run can
+leave a live window behind.
+
+```bash
+npx vitest run tests/event-souvenir.test.js # window gating, idempotency, economy separation
+node scripts/play-souvenir-conformance.mjs # the contract, against a real game server
+node scripts/play-souvenir-ui-check.mjs # the card and the wardrobe, in a real browser
+node scripts/play-souvenir-e2e.mjs # the whole feature through the real /play world
+```
+
+**The conformance run** boots Colyseus on a private port against an event config
+it serves itself, then joins with the real `colyseus.js` client and walks the
+contract: granted once on join, announced once, equips, published on the shared
+schema, seen by a second player, nothing granted in a different world at the same
+instant, nothing more on reconnect (and still worn, so the grant persisted), and
+after the window closes nothing for a newcomer while an earlier attendee still
+owns, wears, and can re-equip theirs. No browser and no GPU, so it runs anywhere.
+
+**The UI check** mounts the real drop card and the real wardrobe panel in
+headless Chromium and drives them: the poster loads, "Wear it" fires exactly one
+equip, the card retires itself, Escape dismisses it, an owned souvenir renders as
+equipped with "Event souvenir" instead of a price, a locked one says "Not for
+sale" and routes nowhere, and a locked *premium* item still opens the shop (so
+that rule is targeted, not a broken click handler).
+
+**The e2e run** is the full-fat version: Vite plus Colyseus on private ports and
+the actual `/play` world in a browser. It is the slowest of the three because it
+compiles the whole `/play` module graph and holds a WebGL scene open; on a busy
+machine prefer the two above, which cover the same ground between them.
+
+---
+
+## Where the code lives
+
+| Piece | Location |
+| --- | --- |
+| Window, world and item resolution | [multiplayer/src/event-drop.js](../multiplayer/src/event-drop.js) |
+| Join-time grant | `_grantEventSouvenir` in [multiplayer/src/rooms/WalkRoom.js](../multiplayer/src/rooms/WalkRoom.js) |
+| The `event` tier + catalog entry | [multiplayer/src/cosmetics-catalog.js](../multiplayer/src/cosmetics-catalog.js) |
+| Unlock + persistence | `grantCosmetic` / `restoreProfile` in [multiplayer/src/economy.js](../multiplayer/src/economy.js) |
+| The drop card | [src/game/event-souvenir.js](../src/game/event-souvenir.js) |
+| Wardrobe treatment ("New", "Not for sale") | [src/game/cosmetics-wardrobe.js](../src/game/cosmetics-wardrobe.js) |
+| Event config | `public/event.json` |
+| Asset generators | [scripts/generate-accessory-glbs.mjs](../scripts/generate-accessory-glbs.mjs), [scripts/render-accessory-thumbs.mjs](../scripts/render-accessory-thumbs.mjs) |
+| Verification | [tests/event-souvenir.test.js](../tests/event-souvenir.test.js), [scripts/play-souvenir-conformance.mjs](../scripts/play-souvenir-conformance.mjs), [scripts/play-souvenir-ui-check.mjs](../scripts/play-souvenir-ui-check.mjs), [scripts/play-souvenir-e2e.mjs](../scripts/play-souvenir-e2e.mjs) |
+
+---
+
+## Related
+
+- **[Live events in /play](#sec-317)** covers the rest of what that
+ config file drives: the countdown, the agenda drawer, the fireworks.
+- **[The in-game economy](#sec-248)** covers the two currencies and
+ the `$THREE` boutique the souvenir deliberately stays out of.
+- **[Coin communities](#sec-141)** covers the worlds the events happen in.
+
+---
+
+<a id="sec-211"></a>
+
+> **Source:** `docs/event-x-posts.md` · [↑ table of contents](#table-of-contents)
+
+# X posts: Three.ws User Group first in-world meetup (IBM Community)
+
+Copy for the launch-day X push. **The IBM angle is the point of this event**, so IBM leads every
+post: this is the first in-world meetup of the [Three.ws User Group on IBM
+Community](https://community.ibm.com/community/user/usergroup?CommunityKey=e71510cc-d953-408f-9a1c-019f5c0a7016),
+an official IBM Community user group, held inside three.ws itself rather than on a call.
+
+**Event:** three.ws Community Meetup: Live on the $THREE Server
+**When:** Friday, August 7, 2026, 8:00 AM Pacific / 11:00 AM Eastern / 4 PM London / 5 PM Berlin
+**Where:** [three.ws/play](https://three.ws/play), the $THREE world pinned at the top of the lobby
+**Cost:** free, no download, no install, no account, no wallet
+
+**IBM event listing (the link every post points at):**
+`https://community.ibm.com/community/user/events/event-description?CalendarEventKey=25d71799-16b5-4342-b2e5-019fcf9622ca&CommunityKey=e71510cc-d953-408f-9a1c-019f5c0a7016`
+
+Two rules for every post here:
+
+1. **Never state hours-until.** Say "today" and give the absolute clock time. A post that says
+ "in 4 hours" is wrong the moment it is reposted, quoted, or found late.
+2. **IBM in the first line.** The user group is the reason this event exists. Do not bury it under
+ the game features.
+
+---
+
+## 1. Main teaser (post this first, with video)
+
+> Today: the first in-world meetup of the Three.ws User Group on IBM Community.
+>
+> Not a webinar. Open three.ws/play in a browser, become a 3D avatar, and walk around the $THREE
+> world with the team. Spatial voice, live demos, open Q&A.
+>
+> 8 AM PT / 11 AM ET. Free, no install, no account.
+>
+> [IBM event link]
+
+**Media:** the strongest 20 to 40 seconds you have of `/play`. Lead with movement (a crowd in the
+plaza, avatars walking) rather than a static wide shot. First frame matters more than the last.
+
+---
+
+## 2. The IBM technical post (this is the one that earns the user group its members)
+
+Post this second, roughly an hour after the teaser. It is the reason an IBM developer should care.
+
+> Why an IBM Community user group is meeting inside a 3D world:
+>
+> three.ws is an IBM Business Partner. Our agents think on IBM Granite served through watsonx.ai,
+> and two of our MCP servers are IBM-native:
+>
+> @three-ws/ibm-watsonx-mcp, watsonx.ai on your own IBM Cloud account
+> @three-ws/ibm-x402-mcp, pay-per-use Granite billed in USDC, no IBM account needed
+>
+> Come ask us about any of it, in person: [IBM event link]
+
+---
+
+## 3. Alternates for the main slot
+
+Pick one. Do not post all three.
+
+**Short and blunt**
+
+> The Three.ws User Group on IBM Community meets today, inside three.ws.
+>
+> A browser tab, a 3D avatar, spatial voice, live demos, and the team answering anything.
+>
+> 8 AM PT / 11 AM ET. Free: [IBM event link]
+
+**Contrast-led**
+
+> Most user groups meet on a video call.
+>
+> Ours meets in a 3D world you open in a browser tab. You walk up to someone and you hear them,
+> from the direction they are standing.
+>
+> First Three.ws User Group meetup on IBM Community is today, 8 AM PT: [IBM event link]
+
+**Builder-led**
+
+> If you build AI agents that need a body, spatial reasoning, or generative 3D, the Three.ws User
+> Group on IBM Community is your room. It meets today, and it meets inside the product.
+>
+> 8 AM PT / 11 AM ET, free, browser only: [IBM event link]
+
+---
+
+## 4. Thread version (if you want the reach)
+
+**1/**
+> Today: the first in-world meetup of the Three.ws User Group on IBM Community.
+>
+> Not a Space, not a webinar. An actual 3D world you walk into from a link, with the team standing
+> in it.
+>
+> 8 AM PT / 11 AM ET: [IBM event link]
+
+**2/** (attach the best plaza / crowd clip)
+> How you join, in full: open three.ws/play, click the $THREE world pinned at the top, you are in.
+> Guests get an avatar automatically. No download, no account, no wallet.
+
+**3/** (attach voice or group-conversation footage)
+> Voice is spatial. You hear the people near you, from the direction they are standing, fading as
+> you walk away. Three conversations can happen twenty meters apart without talking over each
+> other, exactly like a conference hallway.
+
+**4/** (attach `/create` footage, or an avatar generation clip)
+> Want to show up as yourself? Build a custom 3D agent first at three.ws/create from a text prompt
+> or a selfie. Rigged and animation-ready in about a minute, and it follows you into the world.
+
+**5/** (attach the strongest world / demo footage)
+> Why IBM Community: three.ws is an IBM Business Partner, our agents run on IBM Granite through
+> watsonx.ai, and we ship @three-ws/ibm-watsonx-mcp and @three-ws/ibm-x402-mcp for anyone building
+> on watsonx.
+>
+> Live demos and open Q&A on all of it today: [IBM event link]
+
+**6/**
+> Every community can do this, not just ours. Every pump.fun coin already has a world at
+> three.ws/play?coin=<mint>. No booking, no whitelist, no fee. The venue layer is a URL scheme.
+>
+> Come see it working: [IBM event link]
+
+---
+
+## 5. Follow-ups for the rest of the day
+
+**Shortly before doors** (quote your own main post)
+> Doors open shortly. New to 3D worlds? Come 10 minutes early and we will walk you through the
+> controls personally. three.ws/play
+
+**The moment it goes live**
+> We are live. The Three.ws User Group on IBM Community is meeting inside three.ws right now.
+>
+> Open three.ws/play, click the pinned $THREE world, walk over and say hi.
+
+**Mid-event, with a screenshot of the actual crowd**
+> This is an IBM Community user group meeting, happening right now. Still time to walk in:
+> three.ws/play
+
+**After it ends** (this is the one that recruits for the next event)
+> That was the first Three.ws User Group meetup on IBM Community.
+>
+> [attach the group shot or the best clip from the day]
+>
+> The group is open and the world stays open. Join the group: [IBM user group link]
+
+---
+
+## 5b. Sharing Jessica's IBM Community blog
+
+Jessica's post on the user group ("Join the Three.ws User Group's First In-World Meetup This
+Friday") is the single best asset in this campaign, because it is IBM's own voice saying the thing
+we have been saying all week. Our posts are marketing; hers is a user group organizer telling her
+own members not to skip this. Lead with who wrote it, let the quote carry the argument, and keep
+our own commentary to one line.
+
+Two accounts, two jobs. `@trythreews` posts the institutional version: IBM wrote this, here it is.
+`@nichxbt` posts the human version: working with her has been great. Do not put the warm personal
+note on the brand account, and do not post both within a few minutes of each other.
+
+### From @trythreews (recommended, tight quote). This is the posted version.
+
+> The official @IBM blog for today's meetup is up, written by Jessica, a core member of the @IBM
+> team behind the Three.ws User Group and the one who made all of this possible.
+>
+> "It is not a video call. The three.ws team is hosting the group's first community meetup inside
+> the platform itself, in the flagship world at three.ws/play. You attend as an avatar, you hear
+> the people standing near you through spatial voice chat, and the product tour happens by
+> literally walking through the product."
+>
+> [blog link]
+
+That cut is deliberate. The second paragraph of her post is the whole argument in four sentences
+and it ends on the best line she wrote ("the product tour happens by literally walking through the
+product"). Ending a quote on the strongest sentence is worth more than including every sentence.
+
+### From @trythreews (full quote, if you want her framing of why the group exists)
+
+> The official blog for today's meetup is up on IBM Community, written by Jessica, a core member of
+> the @IBM Community team behind the Three.ws User Group.
+>
+> "When this user group launched in July, the promise was more than threads and blog posts: it was
+> live sessions with the people actually building AI agents with 3D capabilities. This Friday we
+> get the first one, and I want to make sure nobody misses it because they assumed it was another
+> webinar link.
+>
+> It is not a video call. You attend as an avatar, you hear the people standing near you through
+> spatial voice chat, and the product tour happens by literally walking through the product."
+>
+> [blog link]
+
+### From @nichxbt (the human one, quote-tweeting the @trythreews post above)
+
+> Jessica has been helping us with this from the start, and honestly it has been a pleasure working
+> with her. IBM Community got a real organizer on this group.
+>
+> Read her post, then come meet her in-world. She built her own 3D agent from a selfie for today.
+
+**Media for the @trythreews post:** Jessica's custom 3D agent, in-world, is the single best image
+you can attach. It closes the loop: the person who wrote the IBM blog is standing in the product,
+as an avatar she generated from a selfie. Second choice is a clean screenshot of the blog header on
+community.ibm.com so the IBM domain is visible in the frame.
+
+**Rules for this one:**
+
+- Name her and her role in the first line. "Jessica from IBM wrote this" is the headline, not the
+ blog title.
+- Quote verbatim inside quotation marks. Do not paraphrase her into our voice. The credibility of
+ the post comes entirely from it being her words, not ours.
+- One link, hers, at the end. Do not stack the event listing and the user group link on this post;
+ every other post in the campaign already carries those.
+- Do not add our own "and here is why that matters" paragraph. Her post already argues it.
+
+---
+
+## 5c. Sharing Jessica's recap (published)
+
+Jessica's recap, ["The First Three.ws User Group Meetup: How It
+Went"](https://community.ibm.com/community/user/blogs/jessica-swanson/2026/08/08/the-first-threews-user-group-meetup-ibm),
+is up on IBM Community. Same two-account split as the announcement post in 5b: `@trythreews` posts
+the institutional version, `@nichxbt` quote-tweets it with the human one. Do not post both within a
+few minutes of each other.
+
+### From @trythreews (recommended, leads with the concurrency stat). This is the posted version.
+
+The stat is the hook: it's the single number in her post a reader has no way to guess, and it lands
+harder on X than the framing sentence does. This excerpt is contiguous, verbatim, straight out of
+her post, just the framing clause and the number, without the full paragraph's extra sentence.
+
+> Jessica, the @IBM Community organizer behind the Three.ws User Group, just published her own recap
+> of Friday's meetup.
+>
+> "This group is still small, but the open world we held it in is not gated to members: anyone with
+> the link could walk in, and a lot of people did. Peak concurrency in the world hit 3,145 avatars at
+> once over the course of the day, well past anything a call could have seated."
+>
+> https://community.ibm.com/community/user/blogs/jessica-swanson/2026/08/08/the-first-threews-user-group-meetup-ibm
+
+### From @trythreews (alternate, tight quote without the stat)
+
+> Jessica, the @IBM Community organizer behind the Three.ws User Group, just published her own recap
+> of Friday's meetup.
+>
+> "Neither IBM nor three.ws is the slow, boring-enterprise thing people assume from the outside. We
+> both like trying things that are actually new, and a nine-hour user-group meetup held entirely
+> inside a 3D world, instead of on a call, is exactly that kind of thing. It held up."
+>
+> https://community.ibm.com/community/user/blogs/jessica-swanson/2026/08/08/the-first-threews-user-group-meetup-ibm
+
+### From @trythreews (full quote, if you want both the framing and the number)
+
+> Jessica, the @IBM Community organizer behind the Three.ws User Group, just published her own recap
+> of Friday's meetup.
+>
+> "Neither IBM nor three.ws is the slow, boring-enterprise thing people assume from the outside. We
+> both like trying things that are actually new, and a nine-hour user-group meetup held entirely
+> inside a 3D world, instead of on a call, is exactly that kind of thing. It held up. This group is
+> still small, but the open world we held it in is not gated to members: anyone with the link could
+> walk in, and a lot of people did. Peak concurrency in the world hit 3,145 avatars at once over the
+> course of the day, well past anything a call could have seated, even though most of that crowd
+> came for the open world itself rather than being User Group members."
+>
+> https://community.ibm.com/community/user/blogs/jessica-swanson/2026/08/08/the-first-threews-user-group-meetup-ibm
+
+### From @nichxbt (the human one, quote-tweeting the @trythreews post above)
+
+> Jessica called it exactly right: this was never going to be the slow, boring-enterprise version of
+> a partnership. Proud of what we built together and even more proud she felt like writing that.
+>
+> Read the whole thing, then go stand in the world she's describing: three.ws/play
+
+**Media for the @trythreews post:** a clean screenshot of the recap's header on community.ibm.com,
+so the IBM domain and Jessica's byline are visible in the frame. Second choice: the in-world plaza
+shot from the day, if you have one with a visibly dense crowd, since the post is making a
+concurrency claim.
+
+**Rules for this one, same as 5b:**
+
+- Name her and her role in the first line. "Jessica wrote a recap" is the headline, not the blog
+ title.
+- Quote verbatim inside quotation marks. Do not paraphrase her into our voice.
+- One link, hers, at the end. Do not stack the event listing or the user group link on this post.
+- Do not add our own "and here is why that matters" paragraph. Her post already argues it.
+
+---
+
+## 6. Recycling the existing `/play` footage
+
+Map what you already have to the beats above, so each post carries a clip that matches its copy:
+
+| Post | Best clip to use |
+| --- | --- |
+| Main teaser | Crowd or plaza movement. Motion in frame one, no menus, no cursor. |
+| IBM technical post | Screen-recording of an agent responding, or the world at its best. Text carries this one. |
+| Thread 2 | The lobby, then landing in the world. Shows the zero-friction claim rather than asserting it. |
+| Thread 3 | Avatars standing in a group, chat bubbles, people walking up to each other. |
+| Thread 4 | An avatar generation on `/create`, then that avatar in-world. |
+| Thread 5 and 6 | Widest good-looking shot you own, or any world other than $THREE. |
+
+Practical notes for reused footage:
+
+- Trim anything showing a debug overlay, a localhost URL, an empty world, or an FPS counter.
+- Assume muted autoplay. If a clip only works with sound, it does not work.
+- Native upload, never a link to a video elsewhere. X suppresses off-platform video reach.
+- Square or 4:5 outperforms 16:9 in the timeline. Crop toward the avatars.
+- One link per post, at the end. The IBM event listing before and during; the IBM user group page
+ after it ends.
+
+---
+
+<a id="sec-212"></a>
> **Source:** `docs/examples.md` · [↑ table of contents](#table-of-contents)
@@ -44200,7 +49016,7 @@ Run any command from the repo root after `npm install`. The web component demos
---
-<a id="sec-178"></a>
+<a id="sec-213"></a>
> **Source:** `docs/exit-lab.md` · [↑ table of contents](#table-of-contents)
@@ -44222,7 +49038,7 @@ recorded number from a position that cost real money.
## Why this is not the backtester
three.ws already ships a backtester ([`api/_lib/strategy-backtest.js`](../api/_lib/strategy-backtest.js),
-documented in [trading-experiment.md](#sec-348)). The two answer
+documented in [trading-experiment.md](#sec-396)). The two answer
different questions and neither replaces the other.
| | Backtester (`/api/sniper/backtest`) | Exit Lab (`/exit-lab`) |
@@ -44423,15 +49239,15 @@ to the nearest legal one rather than throwing.
## Related
-- [Agent Sniper](#sec-058), the worker whose positions this replays
-- [Autonomous Trading hub](#sec-349), the front door to every trading surface
-- [Trading experiment](#sec-348), the policy this fleet runs and why
-- [Read the trading fleet](#sec-396), how to interpret fleet vitals
-- Tutorial: [Find a better exit policy](#sec-375)
+- [Agent Sniper](#sec-059), the worker whose positions this replays
+- [Autonomous Trading hub](#sec-397), the front door to every trading surface
+- [Trading experiment](#sec-396), the policy this fleet runs and why
+- [Read the trading fleet](#sec-444), how to interpret fleet vitals
+- Tutorial: [Find a better exit policy](#sec-423)
---
-<a id="sec-179"></a>
+<a id="sec-214"></a>
> **Source:** `docs/fact-check.md` · [↑ table of contents](#table-of-contents)
@@ -44468,7 +49284,7 @@ The fact-check pipeline (`runFactCheck`):
The LLM routes through the platform's shared free-first policy (Groq and OpenRouter as funded defaults). Results are cached in Redis for 7 days keyed by a hash of the claim, strictness, and any image URL, so an identical claim (on either lane) never re-runs the live chain.
-**The attestation** is a tamper-evident content digest: `sha256:` followed by the SHA-256 of a JSON object of `{ verdict, confidence, claim, source URLs }`. It is returned as a string field you can recompute to confirm the verdict was not altered. Note that this is a content hash, not an on-chain record; it is distinct from the platform's [SAS credentialed attestations](#sec-311) and [3D provenance anchoring](#sec-277), which do write to Solana.
+**The attestation** is a tamper-evident content digest: `sha256:` followed by the SHA-256 of a JSON object of `{ verdict, confidence, claim, source URLs }`. It is returned as a string field you can recompute to confirm the verdict was not altered. Note that this is a content hash, not an on-chain record; it is distinct from the platform's [SAS credentialed attestations](#sec-358) and [3D provenance anchoring](#sec-323), which do write to Solana.
**The benchmark** (`GET /api/fact-check-benchmark`) scores a 40-claim fixture (10 per verdict class, deliberately time-stable and non-partisan) against the real chain. The API never fabricates a score: with no run available, `ran` is false and `report` is null, and the page renders a designed "not yet run" empty state. Both the claim set and the scoring runner are linked from the page for inspection. See [Running the benchmark](#running-the-benchmark) for how a run is produced and published.
@@ -44513,7 +49329,7 @@ Read the published benchmark:
curl 'https://three.ws/api/fact-check-benchmark'
```
-Once the free quota is spent, the same POST returns `402` with an x402 challenge; pay it with any x402 client (for example `@three-ws/x402-fetch`) and retry. See [x402](#sec-456).
+Once the free quota is spent, the same POST returns `402` with an x402 challenge; pay it with any x402 client (for example `@three-ws/x402-fetch`) and retry. See [x402](#sec-506).
## Running the benchmark
@@ -44576,14 +49392,264 @@ Two guards keep a bad run from becoming a published number:
## Related
-- [x402: paid agent skills](#sec-456): the payment rail the $0.10 lane rides
-- [API reference: Fact Check API](#sec-089): the endpoint's full request and response reference
-- [SAS credentialed attestations](#sec-311) and [3D provenance](#sec-277): the platform's on-chain attestation primitives (distinct from this content-hash attestation)
+- [x402: paid agent skills](#sec-506): the payment rail the $0.10 lane rides
+- [API reference: Fact Check API](#sec-094): the endpoint's full request and response reference
+- [SAS credentialed attestations](#sec-358) and [3D provenance](#sec-323): the platform's on-chain attestation primitives (distinct from this content-hash attestation)
- Pages: [/fact-check](https://three.ws/fact-check) · [/x402](https://three.ws/x402)
---
-<a id="sec-180"></a>
+<a id="sec-215"></a>
+
+> **Source:** `docs/farcaster-memory-seeding.md` · [↑ table of contents](#table-of-contents)
+
+# Farcaster memory seeding
+
+Give an agent your Farcaster voice: your public profile and casts, distilled and
+written into the agent's long-term memory, so it can talk the way you talk.
+
+The whole surface is built around one constraint. Farcaster has no OAuth, and we
+deliberately never ask for a Farcaster signer, so the usual "log in with" flow
+does not exist. Anyone can read anyone's casts from a public hub, which means a
+naive seeder would happily pull a stranger's posts into your agent. This lane
+refuses to do that: **the account has to be proved yours before a single cast is
+read into memory**, and the proof is a wallet signature against the protocol's
+own verification records.
+
+- **Surface**: the Farcaster panel in the agent persona editor at [/dashboard/agents](https://three.ws/dashboard/agents)
+- **API**: `/api/agents/:id/memory/seed/farcaster`
+- **Related**: [Memory system](#sec-275), [`@three-ws/agent-memory`](https://www.npmjs.com/package/@three-ws/agent-memory)
+
+---
+
+## How ownership is proved
+
+A Farcaster ID (fid) publishes the wallets it controls as **verification
+messages** on the protocol. They are public, they are signed by the fid's own
+key, and they name a chain: Solana (`PROTOCOL_SOLANA`) or Ethereum. That list is
+the allowlist for consent.
+
+```
+ you enter @handle
+ │
+ ▼
+ resolve fid ──▶ read the fid's verified wallets ──▶ none? stop, nothing read
+ │
+ ▼
+ server issues a one-time challenge naming the agent, the fid, the wallet,
+ the scope, and an expiry — and stores the exact text
+ │
+ ▼
+ you sign it in Phantom (ed25519) ← Solana leads; an EVM
+ │ verification signs with
+ ▼ personal_sign instead
+ server re-reads the verifications, checks the wallet is still in the set,
+ verifies the signature against ITS copy of the message, burns the nonce
+ │
+ ▼
+ consent row written ──▶ casts read ──▶ memories written
+```
+
+Three properties fall out of that shape:
+
+- **Nothing is stored before the signature verifies.** The lookup step reads
+ public data and writes only a challenge row; no memory exists until consent does.
+- **A tampered message cannot be signed into a different grant.** The server
+ compares against the copy it issued, so changing the fid, the agent, or the
+ scope in transit invalidates the signature.
+- **A revoked wallet stops working immediately.** Verifications are re-read at
+ grant time, not trusted from the challenge.
+
+Solana leads because it is the home chain and the wallet our users already have
+connected. When a fid has verified both a Solana and an Ethereum wallet, the
+Solana one is offered first and is what the wallet prompt defaults to.
+
+## What is read, and what is not
+
+The scope string on every consent record is:
+
+```
+farcaster:profile.read farcaster:casts.read
+```
+
+| Read | Never touched |
+|---|---|
+| Public profile: display name, bio, pfp, username | Direct casts / private data |
+| Up to 100 recent top-level casts | Anything requiring a Farcaster signer |
+| The fid's public verification records | Posting, recasting, following on your behalf |
+
+## What lands in memory
+
+A seed writes three kinds of row into `agent_memories`, all tagged `farcaster`
+and all stamped with the consent id that produced them:
+
+| Kind | Type | Salience | Content |
+|---|---|---|---|
+| `profile` | `user` | 0.80 | One identity memory: display name, handle, fid, bio, follower count |
+| `fact` | `user` | 0.70 | Up to 15 distilled facts: recurring topics, opinions, projects, style |
+| `cast` | `reference` | 0.62 decaying by rank | Up to 12 of the strongest casts, verbatim, dated |
+
+The profile and cast rows are derived without a model, so a seed still produces
+real memory when the distillation lane is down: the run degrades, it does not
+fail. Casts are filtered before they are ranked. Replies, near-empty posts, and
+link-only posts are dropped, duplicate text is collapsed, and what remains is
+ranked by engagement when the data source reports it and by recency when it
+does not.
+
+## Where the data comes from
+
+Two rungs, tried in order:
+
+1. **Neynar** (`@neynar/nodejs-sdk`, MIT) when `NEYNAR_API_KEY` is set. Indexed
+ data, so casts carry reaction counts and profiles carry follower counts. That
+ is what makes engagement ranking possible.
+2. **A public Farcaster hub over its HTTP API, keyless.** Default
+ `https://hub.pinata.cloud`, override with `FARCASTER_HUB_URL`. Serves raw
+ protocol messages, so there are no reaction counts, but it needs no vendor
+ key and does not go dark when a billing plan lapses.
+
+Neither key is required for the feature to work. The SDK is imported lazily and
+only when a key is configured, so the keyless lane carries no dependency on the
+vendor package being installed.
+
+---
+
+## API
+
+All four calls are owner-only: the session (or bearer) user must own the agent.
+Browser calls also carry the standard CSRF token.
+
+### `GET /api/agents/:id/memory/seed/farcaster`
+
+Current link and consent status.
+
+```bash
+curl -s https://three.ws/api/agents/$AGENT_ID/memory/seed/farcaster \
+ -H "authorization: Bearer $THREE_WS_TOKEN"
+```
+
+```json
+{
+ "connected": true,
+ "fid": 987654,
+ "fname": "threewsdemo",
+ "scope": "farcaster:profile.read farcaster:casts.read",
+ "consent": {
+ "id": "22222222-2222-4222-8222-222222222222",
+ "proof_chain": "solana",
+ "proof_address": "So1anaAddressPlaceholder1111111111111111111",
+ "granted_at": "2026-08-11T12:00:00.000Z",
+ "memories_seeded": 15,
+ "casts_ingested": 31
+ },
+ "memory_count": 15,
+ "cast_limit": 100
+}
+```
+
+### `POST … { "intent": "challenge" }`
+
+Resolve the account and get the text to sign. Send `fid` or `fname`; add
+`address` to pick a different one of the fid's verified wallets.
+
+```bash
+curl -s https://three.ws/api/agents/$AGENT_ID/memory/seed/farcaster \
+ -H "authorization: Bearer $THREE_WS_TOKEN" \
+ -H 'content-type: application/json' \
+ -d '{"intent":"challenge","fname":"threewsdemo"}'
+```
+
+The response carries `nonce`, `message` (sign this verbatim), `chain`, `address`,
+`scope`, `cast_limit`, `expires_at` (10 minutes), the resolved `profile`, and
+`wallets` split into `solana` and `ethereum`.
+
+A fid with no verified wallet answers `409 no_verified_wallet`, because there is
+no way to establish it is yours.
+
+### `POST … { "intent": "grant" }`
+
+Sign the message and hand back the signature. Solana signatures may be base58
+(Phantom) or base64; Ethereum uses `personal_sign`.
+
+```js
+const challenge = await post(url, { intent: 'challenge', fname: 'threewsdemo' });
+
+const signed = await window.solana.signMessage(
+ new TextEncoder().encode(challenge.message),
+ 'utf8',
+);
+
+const result = await post(url, {
+ intent: 'grant',
+ nonce: challenge.nonce,
+ address: challenge.address,
+ chain: challenge.chain,
+ signature: btoa(String.fromCharCode(...signed.signature)),
+});
+// → { granted: true, consent_id, seeded: 15, casts_ingested: 31, facts: [...] }
+```
+
+### `POST … { "intent": "reseed" }`
+
+Re-run the ingest under the existing grant, replacing that grant's memories.
+Rate-limited to one seed per agent per 6 hours, matching the X and GitHub lanes.
+Issuing a challenge is deliberately outside that budget, so retrying the wallet
+step never burns the window.
+
+### `DELETE /api/agents/:id/memory/seed/farcaster`
+
+Revoke. This marks the consent revoked, clears the agent's Farcaster link, and
+**deletes every Farcaster-seeded memory on the agent**, including rows a
+superseded grant left behind. Asking to be forgotten means all of it.
+
+```json
+{ "revoked": true, "consent_id": "2222…", "deleted": 15 }
+```
+
+## Errors
+
+| Code | HTTP | Meaning |
+|---|---|---|
+| `no_verified_wallet` | 409 | The fid has verified no wallet, so ownership cannot be proved |
+| `address_not_verified` | 403 | The signing wallet is not in the fid's verification set |
+| `challenge_not_found` | 404 | No such nonce for this agent and user |
+| `challenge_used` | 409 | Nonce already burned |
+| `challenge_expired` | 410 | Older than 10 minutes; request a new one |
+| `address_mismatch` | 400 | The challenge was issued for a different wallet |
+| `invalid_signature` | 401 | Signature does not verify against the stored message |
+| `not_connected` | 412 | `reseed` with no live grant |
+| `farcaster_user_not_found` | 404 | No such fid or fname |
+| `farcaster_upstream` | 502 | The hub or indexer is unavailable |
+
+## Storage
+
+Two tables, created by
+`api/_lib/migrations/20260811130000_farcaster_memory_consent.sql`:
+
+- `farcaster_seed_challenges` holds the one-time nonce and the exact signable
+ text. Storing the message server-side is what lets verification compare against
+ what we issued rather than a client-supplied copy.
+- `farcaster_memory_consents` is the durable grant: fid, scope, proof chain,
+ proof address, signature, message, and revocation timestamp. At most one live
+ grant per agent.
+
+Every seeded row in `agent_memories` carries `context->>'source' =
+'farcaster_seed'` and `context->>'consent_id'`, which is how a re-seed replaces
+only its own rows and a revoke deletes exactly what was granted.
+
+## Source
+
+| Piece | File |
+|---|---|
+| HTTP surface | [api/agents/[id]/memory-seed-farcaster.js](../api/agents/[id]/memory-seed-farcaster.js) |
+| Pure transforms (message, normalisation, selection, memory rows) | [api/_lib/farcaster-seed.js](../api/_lib/farcaster-seed.js) |
+| Read lane with failover | [api/_lib/farcaster-client.js](../api/_lib/farcaster-client.js) |
+| Consent panel | [src/dashboard-next/farcaster-seed.js](../src/dashboard-next/farcaster-seed.js) |
+| Tests | [tests/api/farcaster-memory-seed.test.js](../tests/api/farcaster-memory-seed.test.js) |
+
+---
+
+<a id="sec-216"></a>
> **Source:** `docs/financial-controls.md` · [↑ table of contents](#table-of-contents)
@@ -44596,7 +49662,7 @@ on-chain transaction is captured, whether it is reconciled against the chain, an
how long it is retained** — plus the monitoring/breach controls around it and the
open gaps ranked by accounting/regulatory risk.
-It is a companion to the [money map](#sec-240) (who receives what) and the
+It is a companion to the [money map](#sec-282) (who receives what) and the
[Solana signers runbook](../api/_lib/solana-signers.js) (the
wallets). Keep it in sync with the code — every row cites its source.
@@ -44869,20 +49935,114 @@ Ranked by accounting/regulatory risk. Each is a tracked remediation item.
re-run `check-relayer-balances.mjs` to confirm balances.
- **Before adding a paid flow:** it is not done until it writes an append-only
ledger row with the on-chain signature and a `UNIQUE` idempotency key, and is
- added to this register and the [money map](#sec-240).
+ added to this register and the [money map](#sec-282).
---
## Related
-- [Money map](#sec-240) — who receives each payment.
-- [x402 revenue & receipts](#sec-453) — the x402 recording detail.
-- [x402 endpoints](#sec-452) — the paid endpoint catalog.
+- [Money map](#sec-282) — who receives each payment.
+- [x402 revenue & receipts](#sec-502) — the x402 recording detail.
+- [x402 endpoints](#sec-501) — the paid endpoint catalog.
- [Solana signers runbook](../api/_lib/solana-signers.js) — the wallets + funding.
---
-<a id="sec-181"></a>
+<a id="sec-217"></a>
+
+> **Source:** `docs/fomo-verified-x-post.md` · [↑ table of contents](#table-of-contents)
+
+# X post: $THREE verified on fomo
+
+Copy for announcing that **$THREE (the token) is verified on [fomo](https://fomo.family)** (@fomo
+on X), the social-first crypto trading app from ex-Uniswap / Opensea / dYdX builders. fomo is
+self-custodial, onramps with Apple Pay, and trades Solana assets in-app.
+
+**What this announcement is:** a safety note. Holders and new users get one more vetted,
+verifiable venue to acquire $THREE, where the app itself marks the real listing so nobody is
+guessing between lookalike mints.
+
+**What it is not:** a price post. No moon language, no "don't miss out", no predictions, no
+telling anyone to buy. State the verification, state why verification matters, stop.
+
+**Media for every option:** [fomo-verified-x.png](media/fomo-verified-x.png) (2400x1350, 16:9,
+dark mode: $THREE cube mark x fomo mark, "verified" badge). Built from fomo's own 1024px mark and
+`public/brand/three-ws-mark.png` on fomo's `#0B091F` navy.
+
+Rules:
+
+1. Tag @fomo so their team sees it and can repost.
+2. Claim only what happened: $THREE is verified in the fomo app. three.ws does not trade on fomo
+ and no post should imply it does.
+3. Including the contract address is encouraged. Repeating the real mint is anti-scam hygiene,
+ not shilling: `FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump`
+
+---
+
+## 1. Main post
+
+> $THREE is now verified on @fomo.
+>
+> What that means in practice: search $THREE in the fomo app and the verified badge marks the
+> real listing. No guessing between lookalike mints.
+>
+> We want acquiring $THREE to be safe and verifiable, wherever you do it. fomo is now one of
+> those places: self-custodial, on Solana.
+>
+> fomo.family
+
+---
+
+## 2. Short alternate
+
+> $THREE now carries the verified badge on @fomo.
+>
+> If you pick up $THREE, use a venue that verifies the mint, and always check the CA yourself:
+>
+> FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump
+
+---
+
+## 3. Safety-PSA alternate
+
+> A note for anyone acquiring $THREE: it is now verified on @fomo.
+>
+> Verified listings exist because copycat mints exist. Whatever venue you use, buy the marked,
+> vetted listing and confirm the contract address:
+>
+> FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump
+>
+> Self-custody the rest.
+
+Pick one. Do not post all three.
+
+---
+
+## 4. Thread closer (reply to the main post)
+
+Post this as a reply to whichever option ran, to cap the thread. The graphic carries the
+disclaimer, so the reply text stays short.
+
+**Media:** [fomo-thread-end.png](media/fomo-thread-end.png) (2400x1350, 16:9). Same visual
+system as the main graphic, "/ end of thread" as the headline, and the fine print baked in:
+the not-financial-advice / do-your-own-research statement plus the full contract address.
+
+> That is the whole update. $THREE is verified on @fomo.
+>
+> Verify the mint yourself, wherever you trade:
+> FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump
+>
+> / end
+
+Shorter alternate:
+
+> / end of thread
+>
+> Verify before you act: FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump
+
+---
+
+<a id="sec-218"></a>
> **Source:** `docs/forge-background-generation.md` · [↑ table of contents](#table-of-contents)
@@ -45002,7 +50162,7 @@ and the notification preference model in
---
-<a id="sec-182"></a>
+<a id="sec-219"></a>
> **Source:** `docs/forge-off.md` · [↑ table of contents](#table-of-contents)
@@ -45119,7 +50279,7 @@ Backfill a past week's winner (owner): `GET /api/cron/forge-off-crown?week=YYYY-
---
-<a id="sec-183"></a>
+<a id="sec-220"></a>
> **Source:** `docs/forge-pipeline.md` · [↑ table of contents](#table-of-contents)
@@ -45127,7 +50287,7 @@ Backfill a past week's winner (owner): `GET /api/cron/forge-off-crown?week=YYYY-
This is the engineering guide to the Forge, the text/image/sketch to 3D generation system behind [/forge](https://three.ws/forge), the free MCP tools, and every agent-facing 3D endpoint. It maps the whole path a generation takes: entry points, the engine grid, free-first routing, the job lifecycle, failover, persistence, GPU workers, post-processing, and payments.
-If you want the product-level overview, read [Forge](#sec-184). If you want the plain-language version, read [How the Forge works](#sec-197). This document is for people changing the pipeline.
+If you want the product-level overview, read [Forge](#sec-221). If you want the plain-language version, read [How the Forge works](#sec-235). This document is for people changing the pipeline.
## Bird's-eye view
@@ -45264,7 +50424,7 @@ Async jobs get an opaque HMAC-signed token (`f1.<payload>.<sig>`, `api/_lib/forg
### Poll
-`GET /api/forge?job=<id>` returns `status`: `queued`, `running`, `done` (with `glb_url`, `viewer_url`, and the `path`/`tier`/`backend` that actually produced it), or `failed`. Polling is free and unauthenticated. The in-flight job id is also written to `localStorage`, so an interrupted browser session resumes polling for up to 30 minutes; background completion persists the result to the user's gallery either way (see [Background generation](#sec-181)).
+`GET /api/forge?job=<id>` returns `status`: `queued`, `running`, `done` (with `glb_url`, `viewer_url`, and the `path`/`tier`/`backend` that actually produced it), or `failed`. Polling is free and unauthenticated. The in-flight job id is also written to `localStorage`, so an interrupted browser session resumes polling for up to 30 minutes; background completion persists the result to the user's gallery either way (see [Background generation](#sec-218)).
**Poll-time failover** (`api/_lib/forge-failover.js`) closes the nastier gap: a self-host worker can accept a task and fail it minutes later, in a poll handled by a different instance that no longer holds the request. On a failed poll the module recovers the original inputs (prompt plus reference image) from the creation row, resubmits to the next configured lane, and binds old handle to new handle in Redis (2 hour TTL). The client keeps polling the same job id and simply sees `status: running` with a new `backend`. Hops are capped by `MAX_FAILOVER_HOPS = 3` (one primary plus up to three backups). The redispatch order is `trellis_selfhost`, `hunyuan3d`, `trellis`: HuggingFace is excluded because its provider blocks through the whole generation (cannot be ridden from a poll), and NVIDIA is excluded because poll-time redispatch always reconstructs from a stored reference image, which NIM rejects.
@@ -45273,7 +50433,7 @@ Async jobs get an opaque HMAC-signed token (`f1.<payload>.<sig>`, `api/_lib/forg
### Quality, caching, and scale
- **Quality gate + best-of retry.** `scoreQualityGate` flags degenerate results (near-empty geometry, texture failures); synchronous lanes retry once inline before returning.
-- **Result cache** (`api/_lib/forge-cache.js`). Identical text prompts on platform-keyed non-high lanes are served from cache with `cached: true`.
+- **Result cache** (`api/_lib/forge-cache.js`). Identical text prompts on platform-keyed non-high lanes are served from cache with `cached: true`. The key covers path, tier, backend, the normalized prompt, and the output-affecting options (seed included), with a 7-day TTL that a read never refreshes. `force_regenerate: true` in the request body skips the cache READ while still writing the fresh result back. Any caller that must prove the pipeline is alive rather than that a mesh exists has to send it: the daily smoke cron (`api/cron/forge-smoke.js`) submits a constant prompt with no seed, so without the flag its key never changes and it verifies a replay. Automation that seeds the gallery takes the other route and varies the seed per submit (`api/cron/forge-seed-cron.js`), so a repeated prompt yields a genuinely new asset instead of a second catalog entry pointing at one GLB.
- **Scale controls** (`api/_lib/forge-scale.js`). In-flight coalescing, blocking-lane slots, and daily paid caps keep a traffic spike from stampeding the GPU fleet or the paid last resort.
## 6. Persistence and storage
@@ -45342,6 +50502,8 @@ The env vars that shape a deployment (production values live on the Cloud Run se
| `FORGE_SELFHOST_PRIMARY` | Default off; hoist self-host lanes above hosted free lanes. |
| `JWT_SECRET` | Signs job handle tokens. |
| `DATABASE_URL`, R2 `S3_*` config | Persistence and durable storage; both fail soft. |
+| `LIVEPEER_FEDERATION_ENABLED` | Default off; inserts the federated Livepeer text-to-image lane (`api/_providers/livepeer.js`) into the reference-image chain after the free lanes and before the paid Replicate backstop. See [ops/livepeer-federation.md](ops/livepeer-federation.md) for the measured state before flipping it. |
+| `LIVEPEER_API_KEY`, `LIVEPEER_GATEWAY_URL`, `LIVEPEER_T2I_MODEL` | Studio gateway key (absent today), gateway base-URL override, and pipeline model override (`ByteDance/SDXL-Lightning` default) for the federated lane. |
Fast diagnostics: `forge_creations` carries per-generation backend, status, error, and prompt, so it is the quickest ground truth for generation issues. `GET /api/forge?health=1` shows the live lane picture.
@@ -45367,17 +50529,17 @@ Fast diagnostics: `forge_creations` carries per-generation backend, status, erro
## Related
-- [Forge](#sec-184), the product-level doc for the /forge surface.
-- [How the Forge works](#sec-197), the plain-language explainer.
+- [Forge](#sec-221), the product-level doc for the /forge surface.
+- [How the Forge works](#sec-235), the plain-language explainer.
- [3D pipeline](#sec-003), the pay-per-stage x402 pipeline (rig, remesh, gameready, stylize, rembg).
- [3D asset pipeline](#sec-002), formats and the animation/conversion flow.
-- [Avatar pipeline](#sec-105), the selfie-to-avatar reconstruction flow.
-- [Background generation](#sec-181), job resume and gallery persistence.
+- [Avatar pipeline](#sec-110), the selfie-to-avatar reconstruction flow.
+- [Background generation](#sec-218), job resume and gallery persistence.
- `workers/README.md`, the worker-by-worker operational reference.
---
-<a id="sec-184"></a>
+<a id="sec-221"></a>
> **Source:** `docs/forge.md` · [↑ table of contents](#table-of-contents)
@@ -45586,16 +50748,16 @@ dashboard at [/quality-bench](https://three.ws/quality-bench) (internal).
## Related
-- [The Forge pipeline](#sec-183) is the architecture deep dive: the engine grid, routing, failover, job lifecycle, workers, and payments, end to end. [How the Forge works](#sec-197) is the same story in plain language.
-- [Image to 3D](#sec-206) is the photo lane opened directly at [/image-to-3d](https://three.ws/image-to-3d).
+- [The Forge pipeline](#sec-220) is the architecture deep dive: the engine grid, routing, failover, job lifecycle, workers, and payments, end to end. [How the Forge works](#sec-235) is the same story in plain language.
+- [Image to 3D](#sec-247) is the photo lane opened directly at [/image-to-3d](https://three.ws/image-to-3d).
- [/forge-max](https://three.ws/forge-max) is the maximum-quality lane opened directly: the same Forge with the High tier pinned on arrival (200k-poly target, 4K PBR and HD textures, subject-aware engine routing). `?tier=draft|standard|high` presets the quality selector on any Forge URL the same way. The High tier's $THREE hold-or-pay gate applies unchanged; BYOK engines (your own Meshy, Tripo, or Rodin key) are exempt as always. For DamagedHelmet-class artist benchmarks, remember the ceiling is the current state of generative 3D, not the routing: this lane maxes every budget the engines expose, and [Measuring realism](#measuring-realism) is how we track that ceiling moving.
-- [Diorama](#sec-165) forges a whole scene of Forge objects into one explorable world.
+- [Diorama](#sec-172) forges a whole scene of Forge objects into one explorable world.
- The 3D generation architecture: [3D pipeline](#sec-003), [3D asset pipeline](#sec-002), [3D API](#sec-001).
- Pages: [/create](https://three.ws/create) (the avatar creator), [/scene](https://three.ws/scene) (Scene Studio), [/restyle](https://three.ws/restyle) (re-skin a GLB), [/gallery](https://three.ws/gallery).
---
-<a id="sec-185"></a>
+<a id="sec-222"></a>
> **Source:** `docs/forged.md` · [↑ table of contents](#table-of-contents)
@@ -45603,7 +50765,7 @@ dashboard at [/quality-bench](https://three.ws/quality-bench) (internal).
[three.ws/forged](https://three.ws/forged) is a public gallery of 3D props that
the platform's own autonomous agents bought with real USDC over the
-[x402 payment protocol](#sec-456). Nothing on the page is curated or seeded by
+[x402 payment protocol](#sec-506). Nothing on the page is curated or seeded by
hand: an agent wallet paid the Forge, the Forge generated the prop, the payment
settled on Solana mainnet, and the finished asset landed in the gallery carrying
its receipt. Every card shows the price paid, the paying agent wallet, and a
@@ -45635,7 +50797,7 @@ The page ([pages/forged.html](../pages/forged.html), rendered by
## Where the assets come from
-The buyer is the platform's [autonomous x402 loop](#sec-098), the
+The buyer is the platform's [autonomous x402 loop](#sec-103), the
scheduled engine that pays real USDC to call the platform's own paid endpoints.
Its `forge` pipeline
([api/_lib/x402/pipelines/forge-content.js](../api/_lib/x402/pipelines/forge-content.js))
@@ -45651,7 +50813,7 @@ runs as a registry entry inside that loop, and on each run it:
is a real on-chain USDC transfer from the loop's seeder wallet, settled by
the platform's self-hosted facilitator on Solana mainnet. The same seeder
wallet is the `x402-ring-payer` signer in the
- [x402 ring economy](#sec-454), and the loop's daily spend cap
+ [x402 ring economy](#sec-503), and the loop's daily spend cap
applies to these calls like every other.
3. **Scores diversity.** The prompt is embedded (a configured provider when
available, a deterministic local feature-hash space otherwise) and scored
@@ -45723,27 +50885,27 @@ Try it:
curl -s 'https://three.ws/api/forged?limit=5' | python3 -m json.tool
```
-The endpoint is also listed in the [API reference](#sec-089).
+The endpoint is also listed in the [API reference](#sec-094).
## Related
-- [Autonomous x402 loop](#sec-098): the engine that buys these
+- [Autonomous x402 loop](#sec-103): the engine that buys these
assets, its spend caps, and where every call is logged.
-- [x402 ring economy](#sec-454): the wider self-paid endpoint
+- [x402 ring economy](#sec-503): the wider self-paid endpoint
economy the seeder wallet participates in.
-- [How the Forge works](#sec-197): the generation pipeline the
+- [How the Forge works](#sec-235): the generation pipeline the
agents are paying for.
-- [x402 on three.ws](#sec-456): the payment protocol itself.
+- [x402 on three.ws](#sec-506): the payment protocol itself.
---
-<a id="sec-186"></a>
+<a id="sec-223"></a>
> **Source:** `docs/free-crypto-apis.md` · [↑ table of contents](#table-of-contents)
# Free crypto APIs we have not integrated yet
-Research catalog, 2026-08-05. Companion to [free-llm-providers.md](#sec-187).
+Research catalog, 2026-08-05. Companion to [free-llm-providers.md](#sec-224).
**Status update 2026-08-06: every keyless provider in this catalog is now integrated.** Shipped in eight workstreams: the seven CEX public-data venues (Binance, OKX, Bybit, KuCoin, Gate.io, MEXC, Bitget) as market/chart fallback rungs; RedStone and Switchboard as SOL price oracle rungs; RugCheck fused with GoPlus and Honeypot.is wired into EVM token risk; Deribit options/perp data beside Hyperliquid plus Jupiter's unused lite endpoints; a keyless EVM swap-quote chain (ParaSwap, KyberSwap, LI.FI) at `/api/v1/evm/swap-quote`; Coin Metrics fundamentals, Blockchair chain stats, and Blockstream Esplora Bitcoin reads; six subreddits in the news pipeline (JSON with Atom fallback, since Reddit 403s datacenter JSON traffic); and a gas oracle chain (Blocknative, Owlracle, Etherscan) at `/api/v1/gas`. Deliberately skipped: CoinMarketCap's keyless trial endpoints (evaluation-only under their terms). Everything still listed as needing a key below remains open.
@@ -45892,13 +51054,13 @@ Adoption rules that still apply: these are all free tiers, so no owner approval
---
-<a id="sec-187"></a>
+<a id="sec-224"></a>
> **Source:** `docs/free-llm-providers.md` · [↑ table of contents](#table-of-contents)
# Free LLM providers: the failover chain
-three.ws never depends on a single AI vendor. Every text completion on the platform (chat, agent brains, copilots, translations, moderation helpers) runs through one shared failover chain that tries free providers first, in order, and only touches a paid key as a last resort. This page is the map of that chain: which providers are in it, what each one costs (nothing), where the keys come from, and how to add the next one.
+three.ws never depends on a single AI vendor. Every text completion on the platform (chat, agent brains, copilots, translations) runs through one shared failover chain that tries free providers first, in order, and only touches a paid key as a last resort. This page is the map of that chain: which providers are in it, what each one costs (nothing), where the keys come from, and how to add the next one.
The chain lives in [`api/_lib/llm.js`](../api/_lib/llm.js) (`providerChain()` + `llmComplete()`). The interactive chat ladder in [`api/chat.js`](../api/chat.js) uses the same policy with a shorter list (see `DEFAULT_PROVIDER_ORDER` in [`api/_lib/chat-models.js`](../api/_lib/chat-models.js)).
@@ -45954,11 +51116,11 @@ All of these rungs are zero-marginal-cost, and the accounting knows it:
6. If the provider should be user-selectable in chat: register it in `api/chat.js` (`PROVIDERS`, the provider enum, `FALLBACK_SIBLINGS`) and `api/_lib/chat-models.js` (`MODEL_CATALOG`, `PROVIDER_MODEL_DEFAULTS`, `DEFAULT_PROVIDER_ORDER`, `ANON_PROVIDER_LIST`).
7. `.env.example` and the env tables in [`ARCHITECTURE.md`](../ARCHITECTURE.md).
-Related: [nvidia-models.md](#sec-248) for the full NVIDIA NIM surface map.
+Related: [nvidia-models.md](#sec-290) for the full NVIDIA NIM surface map.
---
-<a id="sec-188"></a>
+<a id="sec-225"></a>
> **Source:** `docs/galaxy.md` · [↑ table of contents](#table-of-contents)
@@ -46036,13 +51198,13 @@ curl -X POST 'https://three.ws/api/galaxy' \
## Related
-- [IBM Granite suite](#sec-205): the full set of watsonx-powered features on three.ws, including the Granite embeddings that position this galaxy.
-- [Agent system](#sec-061) and [Agent reputation](#sec-054): what a "star" is and how agents earn standing.
+- [IBM Granite suite](#sec-246): the full set of watsonx-powered features on three.ws, including the Granite embeddings that position this galaxy.
+- [Agent system](#sec-062) and [Agent reputation](#sec-054): what a "star" is and how agents earn standing.
- Pages: [/galaxy](https://three.ws/galaxy), [/create](https://three.ws/create), [/agents](https://three.ws/agents).
---
-<a id="sec-189"></a>
+<a id="sec-226"></a>
> **Source:** `docs/generation-watch.md` · [↑ table of contents](#table-of-contents)
@@ -46063,7 +51225,7 @@ The page is a single self-contained file,
Watch links are minted by the 3D Studio Actions surface, `POST /api/3d/studio`
([api/3d/studio.js](../api/3d/studio.js)), the REST contract behind the
-[three.ws 3D Studio custom GPT](#sec-129). Fast generations
+[three.ws 3D Studio custom GPT](#sec-134). Fast generations
return `status: "done"` with the model URLs directly and never need a watch
page. When a job cannot finish inside the request window, the response is
`status: "pending"` and carries three handles:
@@ -46098,7 +51260,7 @@ The page polls `GET /api/3d/studio?job=<id>` and moves through four states:
painted reference image, the first step of the text-to-3D pipeline), it fades
in with the caption "Concept art, now being sculpted into 3D". This is the
same paint-then-reconstruct flow described in
- [How the Forge works](#sec-197).
+ [How the Forge works](#sec-235).
- **Ready.** When the poll returns `status: "done"`, the page shows "opening
the viewer" and redirects itself into the interactive viewer after a short
beat, using the API's `viewerUrl` (or building a `/viewer?src=<glb>` link
@@ -46121,23 +51283,23 @@ server-side: the platform tracks every generation to completion whether or not
any tab is watching, finished models land in the creator's gallery, and
unattended completions notify through the bell, push, and email channels. That
machinery is documented in
-[Background generation and completion notifications](#sec-181).
+[Background generation and completion notifications](#sec-218).
Closing the watch tab mid-job therefore loses nothing; reopening the same
`?job=` link resumes exactly where the generation actually is.
## Related
-- [How the Forge works](#sec-197): the pipeline behind the
+- [How the Forge works](#sec-235): the pipeline behind the
countdown.
-- [Background generation](#sec-181): server-side
+- [Background generation](#sec-218): server-side
tracking, resume, and notifications.
-- [The 3D Studio GPT](#sec-129): the main surface that hands
+- [The 3D Studio GPT](#sec-134): the main surface that hands
out watch links.
-- [API reference](#sec-089): the full `/api/3d/studio` contract.
+- [API reference](#sec-094): the full `/api/3d/studio` contract.
---
-<a id="sec-190"></a>
+<a id="sec-227"></a>
> **Source:** `docs/genesis.md` · [↑ table of contents](#table-of-contents)
@@ -46162,8 +51324,8 @@ Genesis collapses that into a single guided flow with a real progress bar driven
real job state, so a first-time visitor goes from an idea to a wallet-holding,
animation-ready agent they fully own in under a minute of active work. It is the
front door: the artifact it produces is a first-class agent that plugs straight
-into [Agent Studio](#sec-059), the [economy](#sec-097),
-[breeding](#sec-191), and every embed surface.
+into [Agent Studio](#sec-060), the [economy](#sec-102),
+[breeding](#sec-228), and every embed surface.
## How it works
@@ -46184,7 +51346,7 @@ never invents a shortcut path; it orchestrates the real ones.
Genesis resolves it via `GET /api/agents?avatar_id=...`, then calls
`POST /api/agents/:id/wallet/provision` to guarantee both a custodial Solana
address and a custodial EVM address exist. These are real custodial keys held for
- the agent (see [Agent Wallets](#sec-068) and [Custody](#sec-158)),
+ the agent (see [Agent Wallets](#sec-070) and [Custody](#sec-165)),
Solana first because Solana is the home chain.
- **Persona and voice.** `POST /api/persona/extract` synthesizes a structured
in-character system prompt from your description, running through the shared LLM
@@ -46193,7 +51355,7 @@ never invents a shortcut path; it orchestrates the real ones.
load from `/api/tts/voices`. Your chosen name, persona, and voice are persisted
with `PATCH /api/agents/:id`.
- **On-chain identity (optional).** The final step mints a real
- [ERC-8004](#sec-175) identity record for the agent and returns a real tx
+ [ERC-8004](#sec-182) identity record for the agent and returns a real tx
hash, defaulting to Base (chain id 8453) to match the rest of the platform's EVM
identity layer. This step is optional: the agent is fully functional without it.
@@ -46214,15 +51376,15 @@ never invents a shortcut path; it orchestrates the real ones.
your prompt; edit the name and pick a voice, then save.
6. **Optionally bind an on-chain identity.** One click registers the ERC-8004 record
and shows the returned transaction hash.
-7. **You now own a complete agent.** Open it in [Agent Studio](#sec-059) to
- keep authoring, drop it on a site via [Integrations](#sec-208), or breed
- it in [Agent Genome](#sec-191).
+7. **You now own a complete agent.** Open it in [Agent Studio](#sec-060) to
+ keep authoring, drop it on a site via [Integrations](#sec-250), or breed
+ it in [Agent Genome](#sec-228).
## Examples
Genesis is a browser flow, but its endpoints are the public agent APIs. This drives
the same body-generation step from a script (see
-[API reference](#sec-089) and [Authentication](#sec-096) for
+[API reference](#sec-094) and [Authentication](#sec-101) for
the session cookie or bearer token):
```bash
@@ -46273,17 +51435,17 @@ curl -s -X POST "https://three.ws/api/agents/$AGENT_ID/wallet/provision" \
## Related
-- [Agent Studio](#sec-059): keep authoring the agent Genesis created
-- [Agent Genome](#sec-191): breed two agents into an inherited child
-- [Avatar Reconstruction](#sec-106): the selfie-to-3D pipeline
-- [Agent Wallets](#sec-068) and [Custody](#sec-158): the custodial keys
-- [ERC-8004](#sec-175): the on-chain identity record
-- [Persona Hub](#sec-270): how personas are synthesized
+- [Agent Studio](#sec-060): keep authoring the agent Genesis created
+- [Agent Genome](#sec-228): breed two agents into an inherited child
+- [Avatar Reconstruction](#sec-111): the selfie-to-3D pipeline
+- [Agent Wallets](#sec-070) and [Custody](#sec-165): the custodial keys
+- [ERC-8004](#sec-182): the on-chain identity record
+- [Persona Hub](#sec-312): how personas are synthesized
- Pages: [/genesis](https://three.ws/genesis), [/create](https://three.ws/create), [/agent-studio](https://three.ws/agent-studio)
---
-<a id="sec-191"></a>
+<a id="sec-228"></a>
> **Source:** `docs/genome.md` · [↑ table of contents](#table-of-contents)
@@ -46365,7 +51527,7 @@ parents and the same seed it always derives the identical child.
## Examples
Preview a pairing (read-only, nothing minted). See
-[Authentication](#sec-096) for the token or session cookie:
+[Authentication](#sec-101) for the token or session cookie:
```bash
curl -s -X POST https://three.ws/api/genome/preview \
@@ -46416,16 +51578,16 @@ curl -s "https://three.ws/api/genome/lineage?agentId=<child-uuid>&verify=1"
## Related
-- [Instant Agent Genesis](#sec-190): mint the parents in under a minute
-- [Agent Skills](#sec-057): the skill licenses that recombine
-- [Agent Wallets](#sec-068): the fresh child wallet
+- [Instant Agent Genesis](#sec-227): mint the parents in under a minute
+- [Agent Skills](#sec-058): the skill licenses that recombine
+- [Agent Wallets](#sec-070): the fresh child wallet
- [Agent Reputation](#sec-054): how pedigree feeds standing
-- [ERC-8004](#sec-175): on-chain identity for bred agents
+- [ERC-8004](#sec-182): on-chain identity for bred agents
- Pages: [/genome](https://three.ws/genome), [/agent-studio](https://three.ws/agent-studio)
---
-<a id="sec-192"></a>
+<a id="sec-229"></a>
> **Source:** `docs/ghost-copy.md` · [↑ table of contents](#table-of-contents)
@@ -46580,7 +51742,7 @@ renders the summary without it is misrepresenting the result.
cautious question with a basket instead of a single leader.
- Downstream: [/vaults](https://three.ws/vaults) is where a convinced visitor
copies with real money, under segregated custody and hard spend limits. See
- [docs/copy-trading.md](#sec-153) for that engine.
+ [docs/copy-trading.md](#sec-160) for that engine.
- A leader's underlying record: `/trader/<agent_id>`, one click from every result.
## Source
@@ -46595,7 +51757,206 @@ renders the summary without it is misrepresenting the result.
---
-<a id="sec-193"></a>
+<a id="sec-230"></a>
+
+> **Source:** `docs/github-memory-seeding.md` · [↑ table of contents](#table-of-contents)
+
+# GitHub memory seeding
+
+Give an agent your work: your public GitHub profile and the repositories and
+READMEs you pick, distilled and written into the agent's long-term memory, so
+it can speak concretely about what you build instead of guessing.
+
+This lane is built around one constraint. Connecting your GitHub account is
+permission to read it. It is **not** permission to read all of it. The OAuth
+connection unlocks the consent screen, and the consent screen is a per-item
+catalog: your profile, your pinned repositories, your recent public
+repositories, and a separate README tick per repository. **A seed reads exactly
+the items you ticked and nothing else**, and the server enforces that by
+refusing any selection that names an item the catalog never showed you.
+
+- **Surface**: Settings, Connected accounts, GitHub card at [/settings#connected-accounts](https://three.ws/settings#connected-accounts)
+- **API**: `/api/agents/:id/memory/seed/github`
+- **Related**: [Memory system](#sec-275), [X memory seeding](#sec-497), [Farcaster memory seeding](#sec-215)
+
+---
+
+## How it fits together
+
+```
+ Connect GitHub (OAuth, read:user + public_repo, token stored encrypted)
+ │ the connection alone reads and stores nothing
+ ▼
+ GET /api/agents/:id/memory/seed/github
+ │ builds the consent catalog live from GitHub:
+ │ your profile, pinned repos first, then recent public repos
+ ▼
+ you tick the profile, the repos, and per-repo READMEs
+ │
+ ▼
+ POST … { include_profile, repos: [...], readmes: [...] }
+ │ every key is validated against the catalog you were shown;
+ │ one unknown key rejects the whole run, nothing is seeded
+ ▼
+ only the ticked items are read, distilled into up to 20 short facts,
+ written to agent_memories tagged github_seed with the exact selection
+ recorded on every row
+ │
+ ▼
+ DELETE /api/agents/:id/memory/seed/github (or disconnect GitHub entirely)
+ │ deletes every GitHub-seeded memory
+ ▼
+ nothing distilled from your account survives
+```
+
+Three properties fall out of that shape:
+
+- **Nothing is stored before the tick.** The GET reads GitHub and writes
+ nothing; the POST reads only the keys the body names, and only after each
+ one matched the catalog. The per-agent seed budget (one seed per 6 hours)
+ is consumed only after ownership, connection, and selection validity all
+ pass, so a rejected call never burns your window.
+- **The narrowing is server-side, not UI-side.** The same catalog the consent
+ screen rendered is rebuilt on POST and intersected with your selection
+ (`resolveSelection`). A hand-crafted request for a repo you were never
+ shown answers `400 invalid_selection` and seeds nothing.
+- **Revocation is total.** Every seeded row carries `source: 'github_seed'`
+ in its context. Revoking per agent deletes exactly those rows;
+ disconnecting GitHub from Settings deletes them across **all** of your
+ agents, drops the connection, and revokes the grant on GitHub's side too.
+
+## What is read, and what is not
+
+The consent catalog shows each item before it can be selected. The same module
+(`api/_lib/github-seed.js`) both renders the catalog and enforces the
+selection, so the promise and the code cannot drift apart.
+
+| Read | Never read |
+|---|---|
+| Your public profile: handle, name, bio, company, location, site, follower count | Private repositories (filtered out of the catalog, so they can never be selected) |
+| Repos you pinned to your profile, and up to 40 of your most recently pushed public repos | Repos owned by organizations, forks you did not tick, starred repos, your commit history |
+| The README markdown of a repo, only when its README box is also ticked | READMEs of repos you did not tick, or repos ticked without their README box |
+
+| Stored on the agent | Never stored |
+|---|---|
+| Up to 20 short distilled facts (max 600 characters each) about what you build, your stack, and how you describe your work | Repository file contents beyond the README excerpt |
+| Your GitHub handle and the exact selection manifest (profile on/off, repo keys, README keys) on every seeded row | Any GitHub credential; the access token stays HKDF-encrypted in the connection record and is never copied into a memory |
+
+## What lands in memory
+
+Each fact becomes one row in `agent_memories`:
+
+- `type: 'reference'`, tagged `github` and `github_seed`.
+- Salience `0.7`, inside the band the chat runtime pages into recall.
+- `context` carries `source: 'github_seed'`, your handle, the seed timestamp,
+ and the selection manifest, so every memory can be audited back to the exact
+ set of checkboxes that produced it.
+
+Re-seeding the same agent replaces the previous GitHub batch atomically: the
+old rows and the new rows swap inside one transaction, so a failure mid-run
+never leaves the agent half-seeded, and the 6-hour limiter never strands you
+behind a broken replacement.
+
+---
+
+## API
+
+All three calls are owner-only: the session (or bearer) user must own the
+agent. Browser mutations carry the standard CSRF token.
+
+### `GET /api/agents/:id/memory/seed/github`
+
+Connection state, the consent catalog, and current seed stats. With no GitHub
+connection it returns `connected: false` plus the `connect_url` to start OAuth.
+
+```bash
+curl -s https://three.ws/api/agents/$AGENT_ID/memory/seed/github --cookie "$JAR"
+```
+
+```json
+{
+ "connected": true,
+ "username": "you",
+ "connected_at": "2026-08-12T10:00:00.000Z",
+ "catalog": {
+ "profile": { "login": "you", "name": "You", "bio": "…" },
+ "repos": [
+ { "key": "you/agent-kit", "pinned": true, "language": "TypeScript", "stars": 312, "topics": ["agents"], "url": "https://github.com/you/agent-kit" }
+ ]
+ },
+ "fact_count": 0,
+ "seeded_at": null,
+ "selection": null
+}
+```
+
+### `POST /api/agents/:id/memory/seed/github`
+
+Seed from a selection. `repos` and `readmes` are `owner/name` keys from the
+catalog; a README key must also appear in `repos`. An empty selection is
+refused (`400 empty_selection`).
+
+```bash
+curl -s https://three.ws/api/agents/$AGENT_ID/memory/seed/github --cookie "$JAR" \
+ -H 'content-type: application/json' -H "x-csrf-token: $CSRF" \
+ -d '{"include_profile":true,"repos":["you/agent-kit"],"readmes":["you/agent-kit"]}'
+```
+
+```json
+{
+ "username": "you",
+ "seeded": 7,
+ "facts": ["The owner builds 3D agent tooling in TypeScript …"],
+ "seeded_at": "2026-08-12T16:00:00.000Z",
+ "selection": { "profile": true, "repos": ["you/agent-kit"], "readmes": ["you/agent-kit"] },
+ "readmes_read": ["you/agent-kit"]
+}
+```
+
+Rate-limited to one seed per agent per 6 hours, matching the X and Farcaster
+lanes.
+
+### `DELETE /api/agents/:id/memory/seed/github`
+
+Revoke for this agent: deletes every GitHub-seeded memory on it and returns
+the count. Idempotent.
+
+```json
+{ "deleted": 7 }
+```
+
+Disconnecting GitHub from Settings (`DELETE /api/auth/github/disconnect`)
+performs the same deletion across **all** of your agents in one transaction
+with the connection row itself, and then asks GitHub to revoke the OAuth grant
+(best effort; the local deletion does not wait on GitHub).
+
+## Errors
+
+| Code | HTTP | Meaning |
+|---|---|---|
+| `unauthorized` | 401 | Sign-in required |
+| `not_found` | 404 | No such agent, or it is not yours (a malformed id also answers 404, never a 500) |
+| `not_connected` | 412 | Connect GitHub first; the response carries `connect_url` |
+| `invalid_selection` | 400 | A selected key is not in the catalog you were shown; `rejected` names each one |
+| `empty_selection` | 400 | Pick your profile or at least one repository |
+| `distill_error` | 502 | The selected material yielded no usable facts; add a README or another repository |
+| rate limited | 429 | One seed per agent per 6 hours |
+
+## Source
+
+| Piece | File |
+|---|---|
+| HTTP surface (status, consent catalog, seed, revoke) | [api/agents/[id]/memory-seed-github.js](../api/agents/[id]/memory-seed-github.js) |
+| Catalog, selection narrowing, seed document, memory rows (pure, tested) | [api/_lib/github-seed.js](../api/_lib/github-seed.js) |
+| GitHub REST/GraphQL client (profile, repos, pins, README, grant revoke) | [api/_lib/github-api.js](../api/_lib/github-api.js) |
+| HKDF token encryption shared by callback, seeding, and disconnect | [api/_lib/github-token.js](../api/_lib/github-token.js) |
+| OAuth connect, callback, status, disconnect | [api/auth/github/[action].js](../api/auth/github/[action].js) |
+| Consent screen (renders the catalog with per-item checkboxes) | [public/settings/index.html](../public/settings/index.html) |
+| Transform tests | [tests/github-memory-seed.test.js](../tests/github-memory-seed.test.js) |
+
+---
+
+<a id="sec-231"></a>
> **Source:** `docs/google-x-accounts.md` · [↑ table of contents](#table-of-contents)
@@ -46707,7 +52068,7 @@ Google also operates many country and regional accounts (for example @GoogleIndi
---
-<a id="sec-194"></a>
+<a id="sec-232"></a>
> **Source:** `docs/guardian.md` · [↑ table of contents](#table-of-contents)
@@ -46733,7 +52094,7 @@ The owner sets this up from their own wallet hub (naming guardians, an approval
The response sorts agents that need your action first, then those with an open process, then the rest, and reports how many need you.
-**The safety rails** (detailed in [custody](#sec-158)) are enforced by the recovery API, not the console:
+**The safety rails** (detailed in [custody](#sec-165)) are enforced by the recovery API, not the console:
- The requester cannot approve their own takeover; at least one other guardian must approve.
- The wallet auto-freezes for autonomous spend the moment a request opens (the real owner's own withdrawal stays open).
@@ -46786,14 +52147,14 @@ The console reads this on load, resolves your viewer id (so it can tell whether
## Related
-- [Custody you can verify](#sec-158) - the full recovery and inheritance model, the freeze switch, spend limits, and proof-of-custody
-- [Financial controls](#sec-180) - the plain-English spend rules on the same wallet rails
+- [Custody you can verify](#sec-165) - the full recovery and inheritance model, the freeze switch, spend limits, and proof-of-custody
+- [Financial controls](#sec-216) - the plain-English spend rules on the same wallet rails
- [/integrity](https://three.ws/integrity) - the public Merkle attestation of every custodial wallet
- [/proof](https://three.ws/proof) - verify your own wallet's inclusion in the attestation, in your browser
---
-<a id="sec-195"></a>
+<a id="sec-233"></a>
> **Source:** `docs/guards.md` · [↑ table of contents](#table-of-contents)
@@ -46801,7 +52162,7 @@ The console reads this on load, resolves your viewer id (so it can tell whether
This repository has no CI. GitHub Actions is unavailable on this account, so nothing runs your code when you open a pull request, and nothing blocks a bad merge. What protects the codebase instead is a set of small, fast, local guards wired into paths you cannot skip: the prebuild, the gate, the deploy build, and the git pre-push hook.
-This page explains what each guard protects, when it runs, and how to add one. Everything here is generated from [`data/guards.json`](https://github.com/nirholas/three.ws/blob/main/data/guards.json), which [`scripts/audit-guards.mjs`](https://github.com/nirholas/three.ws/blob/main/scripts/audit-guards.mjs) verifies on every gate run, so the stage column below cannot quietly go stale.
+This page explains what each guard protects, when it runs, and how to add one. Everything here tracks [`data/guards.json`](https://github.com/nirholas/three.ws/blob/main/data/guards.json), and [`scripts/audit-guards.mjs`](https://github.com/nirholas/three.ws/blob/main/scripts/audit-guards.mjs) checks the two against each other on every gate run: every stage claim has to be true against the real npm chains, and every registered guard has to appear in a table below. So neither the stage column nor the guard list can quietly go stale.
Browse the same data as an interactive page at [/guards](/guards).
@@ -46919,6 +52280,8 @@ Run `npm run audit:guards` to print the current count and per-stage breakdown. T
| MCP golden contracts | `npm run audit:mcp-golden` | Tool names, descriptions, and schemas against a committed snapshot. |
| MCP safety annotations | `npm run audit:mcp-safety` | Declared `readOnlyHint` and `destructiveHint` match what handlers do. |
| MCP tool catalog freshness | `npm run audit:mcp-catalog` | `public/mcp-catalog.json` matches what the MCP servers actually expose. |
+| 3D Studio OpenAPI sync | `npm run check:studio-openapi` | The Actions file in the OpenAI submission kit is byte-identical to the OpenAPI schema the site serves. |
+| Live event window | `npm run check:event` | `public/event.json` describes an event that will actually happen, on every surface that reads it. |
| Cron schedule drift | `npm run check:cron-syntax`, `npm run check:cron-drift` | Valid expressions, and agreement with the running Cloud Scheduler jobs. |
### Build and deploy
@@ -46934,7 +52297,10 @@ Run `npm run audit:guards` to print the current count and per-stage breakdown. T
| Guard | Command | Protects |
|---|---|---|
+| CSP-safe inline markup | `npm run audit:inline-handlers` | No served HTML carries an inline event handler attribute or a `javascript:` URL. |
+| Live CSP sweep | `npm run audit:csp` | No page violates the Content-Security-Policy the server sends with it. |
| Console sweep | `npm run audit:console` | A clean browser console on every route, desktop and mobile. |
+| `/play` failure modes | `npm run audit:play-failures` | `/play` stays usable when its dependencies fail, and hostile deep-link params never execute. |
| Overlapping fixed overlays | `npm run audit:overlays` | No persistent floating widget can cover another one's controls. |
| Image loading attributes | `npm run check:images` | Every JS-rendered image sets `loading` and `decoding`. |
| Wardrobe catalog integrity | `npm run audit:garments` | Every garment validates and its GLB hash matches its manifest. |
@@ -46967,6 +52333,48 @@ These are the rules the existing guards follow. A new guard that breaks one of t
---
+## Proving a guard still works
+
+`npm run audit:guards` proves a guard is *wired*. It cannot prove the guard still *catches* anything. A checker that has rotted into a no-op (a directory it no longer scans, a regex that stopped matching, an exclusion list that grew until it excluded everything) exits 0 forever, and exit 0 is indistinguishable from a clean tree. That is the worst failure mode a safety net has: loudest when it works, silent when it dies.
+
+So every registry entry carries a `proof`: the violation the guard must reject.
+
+```bash
+npm run prove:guards # prove all of them, write public/guard-proofs.json
+npm run prove:guards -- --only check-claude-md
+npm run prove:guards -- --stage gate
+npm run prove:guards -- --help
+```
+
+Each proof runs twice inside a throwaway git worktree overlaid with your working tree, and both halves are required:
+
+1. **Control.** The sandbox is arranged so the guard must pass. A clean exit pins a known baseline; without it, "the guard exited non-zero" could just mean the sandbox is broken.
+2. **Violation.** One surgical mutation is applied. The guard must now exit non-zero **and** print the expected fragment, because a guard that fails for the wrong reason is not a working guard.
+
+A mutation proof is a fixture, not code:
+
+```json
+"proof": {
+ "summary": "CLAUDE.md telling an agent to run an npm script that does not exist.",
+ "violation": {
+ "append": { "CLAUDE.md": "\n\nVerify with `npm run guard-proof-nonexistent`.\n" }
+ },
+ "expect": "guard-proof-nonexistent"
+}
+```
+
+`violation` takes any of `write`, `append`, `delete`, `link`, and `json` (each `json` op needs a `file`, a `pointer`, and exactly one of `insert` / `set` / `removeWhere`), and an optional `setup` block arranges the control side first. A guard that genuinely cannot be proven offline (it needs `gcloud`, a browser, live credentials, or the network) declares the honest gap instead of a fake green:
+
+```json
+"proof": { "kind": "live", "reason": "Needs Playwright plus a server serving dist/, because the thing under test is the browser's own policy evaluation." }
+```
+
+`audit-guards` rejects a guard with no proof block at all, so this cannot be skipped. Results land in [`public/guard-proofs.json`](https://github.com/nirholas/three.ws/blob/main/public/guard-proofs.json) with a verdict per guard and the commit they were measured at.
+
+The runner is deliberately safe to run while other agents are working in this same tree: each run gets its own sandbox worktree keyed to its process id, and reclaims sandboxes left behind by runs that were killed before their teardown.
+
+---
+
## Adding a guard
The full walkthrough, with a complete worked example you can run, is in the tutorial: [Write a repository guard](/docs/tutorials/write-a-guard).
@@ -46975,10 +52383,12 @@ The short version:
1. Write `scripts/check-<thing>.mjs`. Exit non-zero with an actionable message.
2. Add an npm script for it in `package.json`.
-3. Add it to `data/guards.json` with the stage it runs in and the incident that motivated it.
+3. Add it to `data/guards.json` with the stage it runs in, the incident that motivated it, and a `proof` block (see [Proving a guard still works](#proving-a-guard-still-works)).
4. Wire it into that stage's chain.
-5. Write `tests/check-<thing>.test.js` covering the pass case and the fail case.
-6. Run `npm run audit:guards`. It will tell you if step 3 and step 4 disagree.
+5. Add a row for it to the tables above, so the page that lists every guard still does.
+6. Write `tests/check-<thing>.test.js` covering the pass case and the fail case.
+7. Run `npm run audit:guards`. It will tell you if steps 3, 4, and 5 disagree.
+8. Run `npm run prove:guards -- --only <id>`. It will tell you whether the guard actually catches what you claimed.
---
@@ -46990,7 +52400,7 @@ The short version:
---
-<a id="sec-196"></a>
+<a id="sec-234"></a>
> **Source:** `docs/hold-to-access.md` · [↑ table of contents](#table-of-contents)
@@ -47063,9 +52473,53 @@ if (!gate.ok) return; // 402 three_hold_required already sent
// ...gate.access, gate.level, gate.wallet are available here
```
-Resolution is **pass-first**: a signed tier pass (header `x-three-tier-pass` or
-`body.tier_pass`), then the session user's on-chain tier, then anonymous Member. Every
-failure degrades to Member — a clean 402, never a 500.
+Resolution is **comp-first, then pass-first**: a comped account (below), then a signed
+tier pass (header `x-three-tier-pass` or `body.tier_pass`), then the session user's
+on-chain tier, then anonymous Member. Every failure degrades to Member: a clean 402,
+never a 500.
+
+### Comped accounts
+
+Some accounts are exempt from the ladder entirely: the owner's own accounts, and
+creators/partners granted lifetime access. They clear **every** gated feature with no
+wallet, no holding, and no payment.
+
+The allowlist is [`api/_lib/comp-access.js`](../api/_lib/comp-access.js), and it is the
+only place the exemption lives, because `requireFeatureAccess` is the single keystone
+every enforced gate resolves through, one entry covers `forge.high`, `forge.gameready`,
+and any gate added later. `GET /api/three/access` applies it too, so the UI renders those
+features unlocked rather than showing a lock the API would let straight through; that
+response carries `tier.comped: true` to explain why a $0 holder reads as entitled.
+
+```js
+import { isCompedUser, resolveCompAccess } from './_lib/comp-access.js';
+
+const { comped } = await resolveCompAccess(req); // from a request (session-aware)
+if (isCompedUser(user)) { /* from an already-resolved user */ }
+```
+
+Grant access by adding a handle to `COMPED_ACCOUNTS` in that module, or by setting
+`THREE_COMP_ACCOUNTS` to a comma-separated list of handles / emails / user ids. Env
+entries are **merged** with the built-ins, never replace them, so an env typo cannot
+silently revoke a comp granted in code.
+
+Three properties keep it safe and cheap:
+
+- **Only unique identifiers count.** `username`, `email`, and `id` are uniquely indexed
+ on `users`, as is the handle in a platform-issued `<handle>@users.three.ws.local`
+ address (minted by `handleRegister` for username registrations, which leave the
+ `username` column null). `display_name` is deliberately **not** matched, because it is
+ user-settable and not unique, so honoring it would let anyone comp themselves by
+ renaming.
+- **Anonymous requests pay nothing.** The lookup is guarded by `hasSessionCookie()`, so a
+ request with no session never issues a query and the zero-latency anonymous free lane
+ is untouched.
+- **It fails closed on the perk.** An auth or DB hiccup resolves to "not comped", which
+ simply means the normal hold-or-pay gate applies. It never fails the request.
+
+A comp also lifts the free-lane rate multiplier to the top tier (`api/forge.js`,
+`api/gpt-forge.js`). It does **not** bypass BYOK (a caller's own vendor key is still
+their own key), nor the platform-wide spend ceilings that protect real vendor budget.
### The hold-or-pay 402
@@ -47121,6 +52575,50 @@ feature **Live** vs **Planned**, so the platform never promises an unwired perk.
---
+## Proving a holding from the browser
+
+The server only ever sees what the page sends it, so a gated surface that mints its proof
+from the wrong identity charges holders. **[`src/three-access.js`](../src/three-access.js)
+is the one client module a gated surface may use.** It resolves both identities a holder
+can arrive with:
+
+| Identity | How the pass is minted | Prompt? |
+|----------|------------------------|---------|
+| Signed in, wallet linked to the account | `POST /api/three/tier-pass` with the session cookie | silent |
+| Wallet connected, no account (Phantom, Seeker) | signs a domain-bound message, `POST { wallet, message, signature }` | one free signature |
+
+Wire a gated request in three steps:
+
+```js
+import { getAccess, getTierPass, attachTierPass } from './three-access.js';
+
+const { access } = (await getAccess('forge.gameready', { fresh: true })) || {};
+// Interactive only when the read says this identity is eligible, so a non-holder is
+// never asked to sign for something that could not unlock anything.
+await getTierPass({ interactive: Boolean(access?.eligible) });
+const res = await fetch('/api/forge-gameready', {
+ method: 'POST',
+ headers: attachTierPass({ 'content-type': 'application/json' }),
+ body: JSON.stringify(payload),
+});
+```
+
+Rules that keep the two identities from drifting apart:
+
+- **Mint before the request, not on page load.** A pass lives 10 minutes; minting at the
+ moment of the gated call is what guarantees the header is fresh.
+- **Read access with `{ fresh: true }`, and re-read on `wallet:changed`.** Connecting or
+ switching a wallet changes who is asking; the cached matrix is then the wrong identity's.
+- **Never gate the UI on the client's answer.** The server is the only authority; the
+ client read exists so the surface can state the viewer's real price up front instead of
+ a generic pitch.
+
+`src/three-tier-pass.js` is the earlier, session-only helper. It backs `<three-gate>`'s
+access read and mints nothing for a connected wallet, so a surface that uses it to build
+headers silently bills every account-less holder. Do not use it for a new gated request.
+
+---
+
## Activation roadmap
Goal: **drive $THREE demand** by activating registered-but-dormant perks. A perk is only
@@ -47194,6 +52692,7 @@ worlds unaffected.
| Env var | Required | Purpose |
|---------|----------|---------|
| `HOLDER_PASS_SECRET` | prod | HMAC key for signing/verifying tier passes |
+| `THREE_COMP_ACCOUNTS` | no | extra comped handles / emails / user ids, comma-separated (merged with the built-in allowlist) |
| `THREE_TOKEN_MINT` | — | $THREE mint (defaults to the canonical CA) |
| `THREE_TOKEN_DECIMALS` | — | token decimals (default 6) |
| `SOLANA_RPC_URL` (+ provider keys) | — | RPC for on-chain balance reads (see `solana/connection.js`) |
@@ -47203,19 +52702,19 @@ worlds unaffected.
## Related
-- [Validation](#sec-436) — the quality gate every model passes before publish.
+- [Validation](#sec-484) — the quality gate every model passes before publish.
- [Pricing catalog](../api/_lib/pricing/catalog.js) — fixed-price actions the discount applies to.
- [`/three`](../pages/three.html) — the holder-facing tier page that surfaces this ladder.
---
-<a id="sec-197"></a>
+<a id="sec-235"></a>
> **Source:** `docs/how-forge-works.md` · [↑ table of contents](#table-of-contents)
# How the Forge works, in plain language
-You type "a weathered brass diving helmet" at [three.ws/forge](https://three.ws/forge), and about half a minute later you are orbiting a real, textured 3D model you can download, view in AR, or drop into a scene. No account, no key, no cost. This page explains what actually happens in between, without the engineering detail. (If you want that, read the [architecture deep dive](#sec-183).)
+You type "a weathered brass diving helmet" at [three.ws/forge](https://three.ws/forge), and about half a minute later you are orbiting a real, textured 3D model you can download, view in AR, or drop into a scene. No account, no key, no cost. This page explains what actually happens in between, without the engineering detail. (If you want that, read the [architecture deep dive](#sec-220).)
## The five steps every generation takes
@@ -47249,17 +52748,17 @@ A finished model is a starting point, not a dead end:
## Agents use the exact same machinery
-Everything above is also a tool call. AI agents (Claude, ChatGPT, or your own) generate models through our [free MCP server](#sec-227) or plain HTTP, and other agents pay per call with USDC over [x402](#sec-456), no account needed. The page you use and the API an agent uses are the same pipeline underneath.
+Everything above is also a tool call. AI agents (Claude, ChatGPT, or your own) generate models through our [free MCP server](#sec-269) or plain HTTP, and other agents pay per call with USDC over [x402](#sec-506), no account needed. The page you use and the API an agent uses are the same pipeline underneath.
## Try it
- Type a prompt: [three.ws/forge](https://three.ws/forge)
- Turn photos into a model: [three.ws/image-to-3d](https://three.ws/image-to-3d)
-- The full technical breakdown: [the Forge pipeline deep dive](#sec-183)
+- The full technical breakdown: [the Forge pipeline deep dive](#sec-220)
---
-<a id="sec-198"></a>
+<a id="sec-236"></a>
> **Source:** `docs/how-it-works.md` · [↑ table of contents](#table-of-contents)
@@ -47267,7 +52766,7 @@ Everything above is also a tool call. AI agents (Claude, ChatGPT, or your own) g
This page is the load-bearing mental model. If you're trying to figure out where a feature lives, how a request flows, or which layer to extend — start here.
-For the full deep dive on internals, see [Architecture overview](#sec-093). For the actual JS API, see [JavaScript API](#sec-212) and [REST API](#sec-089). This document zooms out to *how it all fits together*.
+For the full deep dive on internals, see [Architecture overview](#sec-098). For the actual JS API, see [JavaScript API](#sec-254) and [REST API](#sec-094). This document zooms out to *how it all fits together*.
---
@@ -47314,10 +52813,10 @@ The whole stack is split into four horizontal strata. Each layer can run on its
└──────────────────────────────────────────────┘
```
-- **Viewer layer** — pure three.js. Knows nothing about agents, brains, or wallets. Useful on its own as a glTF inspector and as the rendering engine for Turntable / Animation Gallery widgets. See [Layers](#sec-216) for the contract.
-- **Agent layer** — turns a static GLB into a presence. LLM tool-loop, skill registry, memory, and a continuous emotion blend that drives morphs and gaze. See [Agent system](#sec-061).
-- **Identity layer** — durability across sessions, devices, and embed hosts. Wallet auth, on-chain registration, IPFS-pinned manifest bundles, signed action diary. Entirely optional. See [ERC-8004](#sec-175) and [Solana agents](#sec-330).
-- **Embed layer**: the public face. The `<agent-3d>` custom element, ten widget variants, iframe embeds, the CDN bundle, the SPA, and the route table in `vercel.json` (read at runtime by the Cloud Run server). See [Embedding](#sec-173).
+- **Viewer layer** — pure three.js. Knows nothing about agents, brains, or wallets. Useful on its own as a glTF inspector and as the rendering engine for Turntable / Animation Gallery widgets. See [Layers](#sec-258) for the contract.
+- **Agent layer** — turns a static GLB into a presence. LLM tool-loop, skill registry, memory, and a continuous emotion blend that drives morphs and gaze. See [Agent system](#sec-062).
+- **Identity layer** — durability across sessions, devices, and embed hosts. Wallet auth, on-chain registration, IPFS-pinned manifest bundles, signed action diary. Entirely optional. See [ERC-8004](#sec-182) and [Solana agents](#sec-377).
+- **Embed layer**: the public face. The `<agent-3d>` custom element, ten widget variants, iframe embeds, the CDN bundle, the SPA, and the route table in `vercel.json` (read at runtime by the Cloud Run server). See [Embedding](#sec-180).
The four layers communicate through one event bus (`agent-protocol`). Every meaningful action is a `CustomEvent` on a singleton. That single design choice is why you can swap the avatar for a 2D sprite, the runtime for a different LLM, or memory for a vector store — and nothing else changes.
@@ -47350,7 +52849,7 @@ Three modes, all configurable per agent:
| **Self-hosted proxy** | You want to manage cost or use a private model | Set `key-proxy="https://yourapp.com/api/llm"` to point at your own serverless function that injects keys before forwarding to the provider. Keys never reach the client. |
| **Direct (advanced)** | Local-only experiments | The runtime calls the provider directly if you pass an `api-key` attribute explicitly. Don't ship this to a public page. |
-The platform's own chat surfaces run on the multi-model brain router at [`/api/brain/chat`](#sec-089), which supports Anthropic, OpenAI, and Qwen natively with OpenRouter failover; model ids include `claude-opus-4-7`, `claude-sonnet-4-6`, `claude-haiku-4-5`, `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`, `qwen-plus`, and others.
+The platform's own chat surfaces run on the multi-model brain router at [`/api/brain/chat`](#sec-094), which supports Anthropic, OpenAI, and Qwen natively with OpenRouter failover; model ids include `claude-opus-4-7`, `claude-sonnet-4-6`, `claude-haiku-4-5`, `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`, `qwen-plus`, and others.
---
@@ -47358,8 +52857,8 @@ The platform's own chat surfaces run on the multi-model brain router at [`/api/b
Three production paths. Pick whichever fits your use case:
-- **Character Builder** — full-body character builder for stylised humanoids. Pick a base mesh, swap clothing/accessories/hairstyles, save. The output is a rigged GLB. See [character-studio.md](#sec-128).
-- **Selfie capture** — upload a photo, get a rigged 3D version of yourself in ~60 seconds. See [avatar-creation.md](#sec-101).
+- **Character Builder** — full-body character builder for stylised humanoids. Pick a base mesh, swap clothing/accessories/hairstyles, save. The output is a rigged GLB. See [character-studio.md](#sec-133).
+- **Selfie capture** — upload a photo, get a rigged 3D version of yourself in ~60 seconds. See [avatar-creation.md](#sec-106).
- **Upload your own** — any glTF 2.0 / GLB with a humanoid rig works. Drop the file into the editor at [three.ws/create](https://three.ws/create) or POST to `/api/avatars`.
Every avatar ends up as a hosted GLB URL (served from the first-party asset CDN at `three.ws/cdn/<key>`) plus a database record. When you wire one into an agent, the agent's manifest references it under `body.uri`.
@@ -47387,7 +52886,7 @@ On-chain identity is optional. Most agents work fine without it. You'd want it w
- **You want delegated wallet permissions.** ERC-7710 lets you sign once per session and grant the agent scoped, time-bound permission to act on-chain — no per-transaction prompts.
- **You want a portable address.** `agent://base/42` is a stable, resolver-agnostic URI. Any client that speaks the protocol can load it.
-See [erc8004.md](#sec-175) and [solana.md](#sec-330) for the registration flows.
+See [erc8004.md](#sec-182) and [solana.md](#sec-377) for the registration flows.
---
@@ -47397,7 +52896,7 @@ Three independent mechanisms, used as needed:
- **x402** — pay-per-call USDC for paid API endpoints. Every paid endpoint declares itself in [`/.well-known/x402.json`](https://three.ws/.well-known/x402.json). Other agents (or humans with a wallet) can call paid endpoints with a single signed payment header.
- **pump.fun** — launch a Solana SPL token tied to your agent. The platform handles the bonding curve, the token metadata, and the embed.
-- **AWS Marketplace** — enterprise subscriptions billable through AWS. See [aws-marketplace.md](#sec-115). Subscriptions auto-issue an x402 API key via the marketplace entitlement service.
+- **AWS Marketplace** — enterprise subscriptions billable through AWS. See [aws-marketplace.md](#sec-120). Subscriptions auto-issue an x402 API key via the marketplace entitlement service.
You can mix these per agent. A common pattern: an agent has a free public persona on the platform, exposes one paid x402 skill for power users, and accepts donations via a pump.fun token.
@@ -47410,27 +52909,27 @@ Quick lookup for "I want to ship X":
| You want… | Reach for… |
|---|---|
| A 3D character on a marketing page | The CDN script + `<agent-3d>` |
-| A character in Notion / Webflow / Framer | An iframe widget from [Widget Studio](#sec-445) |
+| A character in Notion / Webflow / Framer | An iframe widget from [Widget Studio](#sec-493) |
| A talking AI sidekick that follows visitors | `<agent-3d mode="floating">` |
-| A character that controls a scene from page events | The JS API (`agent.say()`, `agent.ask()`) — see [js-api.md](#sec-212) |
+| A character that controls a scene from page events | The JS API (`agent.say()`, `agent.ask()`) — see [js-api.md](#sec-254) |
| Programmatic avatar viewing/creation in your own app | `@three-ws/avatar` |
-| An on-chain identity for your AI | [ERC-8004](#sec-175) or [Solana](#sec-330) |
-| A paid API anyone (including agents) can call | [x402 monetization](#sec-456) |
-| Multiple agents in one scene | `<agent-stage>` — see [multi-agent.md](#sec-243) |
-| To register a domain (e.g. ENS) as agent identity | [register-onchain.md tutorial](#sec-397) |
+| An on-chain identity for your AI | [ERC-8004](#sec-182) or [Solana](#sec-377) |
+| A paid API anyone (including agents) can call | [x402 monetization](#sec-506) |
+| Multiple agents in one scene | `<agent-stage>` — see [multi-agent.md](#sec-285) |
+| To register a domain (e.g. ENS) as agent identity | [register-onchain.md tutorial](#sec-445) |
---
## What's next
-- **[Architecture overview](#sec-093)** — full internals
-- **[Agent system](#sec-061)** — runtime, skills, memory, emotion
-- **[Layers](#sec-216)** — the four-layer contract in detail
-- **[Quick start](#sec-302)** — go from zero to a living embed in under 10 minutes
+- **[Architecture overview](#sec-098)** — full internals
+- **[Agent system](#sec-062)** — runtime, skills, memory, emotion
+- **[Layers](#sec-258)** — the four-layer contract in detail
+- **[Quick start](#sec-348)** — go from zero to a living embed in under 10 minutes
---
-<a id="sec-199"></a>
+<a id="sec-237"></a>
> **Source:** `docs/i18n.md` · [↑ table of contents](#table-of-contents)
@@ -47793,7 +53292,7 @@ clearing silently-English values out of a shipped catalog.
---
-<a id="sec-200"></a>
+<a id="sec-238"></a>
> **Source:** `docs/ibm-community-article.md` · [↑ table of contents](#table-of-contents)
@@ -47913,7 +53412,7 @@ The platform repository is public at [github.com/nirholas/three.ws](https://gith
---
-<a id="sec-201"></a>
+<a id="sec-239"></a>
> **Source:** `docs/ibm-community-blog-meetup-jessica.md` · [↑ table of contents](#table-of-contents)
@@ -47974,7 +53473,379 @@ See you Friday at 8 AM Pacific. I will be the one asking the skeptical questions
---
-<a id="sec-202"></a>
+<a id="sec-240"></a>
+
+> **Source:** `docs/ibm-community-live-reaction-jessica.md` · [↑ table of contents](#table-of-contents)
+
+# LIVE at the Meetup: My Honest Take So Far
+
+_By Jessica Swanson, posted live during today's meetup (Friday, August 7, 8 AM to 5 PM Pacific).
+This is a discussion post for the [Three.ws User Group on IBM
+Community](https://community.ibm.com/community/user/usergroup?CommunityKey=e71510cc-d953-408f-9a1c-019f5c0a7016),
+not a polished announcement, just my honest reaction while the day is happening. My earlier post,
+[Join the Three.ws User Group's First In-World Meetup This
+Friday](#sec-239), has the event details if you have not joined yet;
+the world is still open._
+
+I'm posting this in the middle of the day, not after, because I want the group to have my honest
+reaction while it's actually happening instead of the cleaned-up version.
+
+Going into today, I knew this was a unique situation. three.ws is the only project I know of with
+its own dedicated user group here on IBM Community. That doesn't happen by default; we built this
+group because the team had already been on our radar for a while.
+
+Some of that is because our timelines crossed in public before this group even existed. IBM's
+exchanges with three.ws on X went a little viral a few weeks back, and people inside IBM noticed.
+This project comes up in conversations that have nothing to do with this group, which is not the
+usual thing I can say about a partner.
+
+Here's the honest part, the reason I wanted to write this live instead of waiting: neither IBM nor
+three.ws is the slow, boring-enterprise thing people assume from the outside. We both like trying
+things that are actually new, and today has been a genuine demonstration of that. This has honestly
+been so much fun.
+
+Away from the platform tour and the demos, we went fishing, cooked what we caught, and drove the
+cars around. I spent a lot of today just hanging out and talking with Broke Boi and bigB, no pitch
+deck, no slides, just people. That's not something I expected to be writing in an IBM Community
+post, and it's exactly why I wanted to write it here.
+
+I'll say the part I'd normally leave out of a work post too: I was never really into crypto before
+this. I'm not going to pretend otherwise for the sake of the group. three.ws is what actually
+changed that for me, and it did not happen through a pitch, it happened through spending real time
+in and around what they've built.
+
+I know I'm lucky to have a role where a day like this is the job. If you're reading this while the
+event is still running, the world is open at [three.ws/play](https://three.ws/play), come find us.
+Full recap once the day wraps.
+
+## Rules for posting this
+
+- **Post from Jessica's own IBM Community profile**, as a new discussion thread in the Three.ws
+ User Group, not as an edit to the pinned announcement thread. It reads as a live, in-the-moment
+ follow-up, not a replacement for the original event post.
+- **Do not post an X/Twitter version of this.** This content is for the IBM Community group only;
+ the group is the audience that gets the personal, honest register. The `@trythreews` and
+ `@nichxbt` X copy in [event-x-posts.md](#sec-211) is a separate, distinct campaign and
+ stays in its organizer voice.
+- **Let Jessica edit freely.** This is a starting draft in her established voice (see the section
+ "Why I think this format is worth your hour" in her earlier blog post), not a final script.
+- Post it once there's something real to react to, meaning after she's actually been in the world
+ for a while, not right at the 8 AM open. Late morning to early afternoon Pacific is the natural
+ window: enough time in-world for real moments to describe, still early enough that "LIVE" is
+ honest.
+- Swap the fishing/cooking/cars beat for whatever actually happened if the day goes differently;
+ concrete, first-person detail matters more than the exact activities.
+- Confirm how Broke Boi and bigB actually go by in-world/on IBM Community today before posting, so
+ any mentions resolve correctly.
+- "Pilled" is her own word; keep it if it still feels true when she posts, or soften to "changed my
+ mind about it" if she wants a more IBM-official register for her own profile.
+- Once posted, add it to the catalog in [ibm-community.md](#sec-244) as a new discussion
+ thread entry, following the same fields (author, posted date, activity, URL, summary) as the
+ existing entries, and note it links back to the pinned meetup thread.
+
+---
+
+<a id="sec-241"></a>
+
+> **Source:** `docs/ibm-community-recap-jessica.md` · [↑ table of contents](#table-of-contents)
+
+# The First Three.ws User Group Meetup: How It Actually Went
+
+_By Jessica Swanson, posted as a follow-up blog in the [Three.ws User Group on IBM
+Community](https://community.ibm.com/community/user/usergroup?CommunityKey=e71510cc-d953-408f-9a1c-019f5c0a7016),
+closing out the arc that started with [Join the Three.ws User Group's First In-World Meetup This
+Friday](#sec-239) and continued mid-day with [LIVE at the Meetup: My
+Honest Take So Far](#sec-240). Header image: reuse
+[media/ibm-x-threews-lockup.png](media/ibm-x-threews-lockup.png), or swap in a real photo from
+the day once one is ready; do not paste this note into the published post._
+
+_[Fill in once picked: the strongest single moment from the day, named specifically, whether that's
+a demo, a build, or a conversation. Do not publish this post with that left generic. The final
+in-world headcount is filled in below: peak concurrency was 3,145.]_
+
+I wrote a live post in the middle of the meetup because I wanted the group to have my honest
+reaction while it was happening, not a cleaned-up version after the fact. Now that the day is over,
+here's the close of that arc.
+
+Going in, I already knew this was a unique situation. Three.ws is the only project I know of with
+its own dedicated user group here on IBM Community, and that group exists because the project had
+already been on our radar before it launched. Some of that is because our timelines crossed in
+public first: IBM's own account traded posts with three.ws on X that went a little viral (see
+[here](https://x.com/IBM/status/2061418285896269952) and
+[here](https://x.com/IBM/status/2061488909264040194)), and people inside IBM who have nothing to do
+with this group noticed. That's not the usual thing I get to say about a partner.
+
+What made the day itself work is the same thing I said mid-event: neither IBM nor three.ws is the
+slow, boring-enterprise thing people assume from the outside. We both like trying things that are
+actually new, and a nine-hour user-group meetup held entirely inside a 3D world, instead of on a
+call, is exactly that kind of thing. It held up. This group is still small, but the open world we
+held it in is not gated to members: anyone with the link could walk in, and a lot of people did.
+Peak concurrency in the world hit 3,145 avatars at once over the course of the day, well past
+anything a call could have seated, even though most of that crowd came for the open world itself
+rather than being User Group members.
+
+## What the day actually looked like
+
+The agenda ran the way it was supposed to: a live tour of the platform from inside the world,
+community demos from people who brought what they'd built, and open Q&A with the three.ws team,
+including real questions about `@three-ws/ibm-watsonx-mcp` and `@three-ws/ibm-x402-mcp`, the two
+open-source connectors into watsonx.ai and Granite. [Name the standout demo or Q&A exchange here
+once known.]
+
+But the part I keep coming back to is everything that happened around the agenda, not in it. I
+spent a big chunk of the day with Broke Boi and bigB: we went fishing, cooked what we caught, and
+drove the cars around the map for no reason other than it was fun. No pitch deck, no slides, just
+people, in a place, doing things together. That's not a sentence I expected to write about a work
+event, and it's exactly why it's the one I'm leading with.
+
+## What people actually showed off
+
+The Q&A wasn't just about the two connectors. People walked through the rest of the platform too,
+and it's more than I expected going in. There's Forge, the free text-to-3D tool: type a sentence
+and a textured model comes out the other end, no download, no account. There's Avatar Studio on top
+of that, which doesn't just generate a mesh, it rigs it, so whatever you make can walk, wave, and sit
+down like everyone else in the room. Someone asked how that works across avatars people already had
+from other tools, and the answer surprised me: the platform doesn't keep an allowlist of rigs it
+supports, it reads whatever skeleton the file came in with, Mixamo, VRM, Daz, Blender, and maps it
+onto a common set of bones so the same animations work on all of them. A couple of people had
+brought avatars from completely different pipelines and they moved the same as everyone else's.
+There was also a wardrobe and cosmetics layer that carries across every coin's world, not just the
+one you're standing in, and a live look at the agent-3d web component, which is how a site outside
+three.ws entirely can embed one of these avatars and drive its mood or animation from its own code.
+
+## Under the hood, from what I understood of it
+
+I'm not the engineer in the room, but enough of the Q&A was technical that I picked some of it up.
+The world runs on an authoritative server that every client's position and action gets checked
+against, syncing sixteen times a second, and voice is spatial: it's carried over the same real-time
+channel, gated by literal distance, so a conversation across the plaza doesn't bleed into yours. None
+of the event dressing was a slide either. A countdown at the top of the screen turned into fireworks
+when the day started, worked out from the clock rather than pushed over the network so it stayed in
+sync no matter how many of us were watching, and everyone who walked in while it was live got a
+Meetup Laurel, a small gold circlet, permanently, for free, and it will never be handed out again
+once an event ends. That detail is the one I keep thinking about: the platform's answer to "prove you
+were there" isn't a screenshot, it's something the server itself decided you earned.
+
+## The part I don't usually put in a work post
+
+I was never really into crypto before this partnership. I'm not going to soften that for the sake
+of the group. Three.ws is what changed it for me, and it didn't happen through a pitch. It happened
+through spending real time in and around what they've built, today especially.
+
+I know how lucky I am to have a role where a day like this is the actual job. Not many people get to
+say "went fishing with Broke Boi and bigB" and mean it as a line item in their week.
+
+## Where this partnership goes from here
+
+A meetup is a moment, not the whole plan. Nich and I have already been talking about turning
+yesterday into a rhythm instead of a one-off: more joint posts on this group, more of three.ws's
+actual shipped work surfaced through IBM's own channels instead of staying inside their own blog,
+and a standing invite for the next build session to happen in-world again rather than back on a
+call. On three.ws's side, they're now looking closely at what IBM's newly expanded Partner Plus
+marketplace motions could mean for a partner their size: IBM opened up Microsoft Multiparty Private
+Offers and Google Cloud Marketplace Channel Private Offers to business partners this month, on top
+of the AWS reseller integration that's already live. Nothing there is confirmed yet, eligibility and
+approval are IBM's call, not mine to promise on this post, but it's a real conversation and one I
+expect to have more to say about in a future update here.
+
+## What's next
+
+The world stays open at [three.ws/play](https://three.ws/play), and the group stays open too.
+[Add the date or plan for the next meetup here once one is set; if nothing is confirmed yet, say
+plainly that the team is deciding and members should watch this space rather than implying a date
+that doesn't exist.]
+
+If you were there today, thank you for making it a real room and not just an announcement people
+clicked past. If you missed it, the recording and the best clips [link once available] are the
+closest thing to having been there, and the world itself never closes.
+
+## Links
+
+- Platform: [three.ws](https://three.ws)
+- Free text-to-3D: [three.ws/create](https://three.ws/create)
+- The worlds: [three.ws/play](https://three.ws/play)
+- Docs: [three.ws/docs](https://three.ws/docs)
+- Blog: [three.ws/blog](https://three.ws/blog)
+- GitHub: [github.com/nirholas/three.ws](https://github.com/nirholas/three.ws)
+- X: [@trythreews](https://x.com/trythreews)
+- The team's own recap, from the other side of the day: [three.ws/blog/ibm-user-group-first-in-world-meetup-recap](https://three.ws/blog/ibm-user-group-first-in-world-meetup-recap)
+
+---
+
+## Rules for posting this
+
+- **Post from Jessica's own IBM Community profile**, as a new blog entry in the Three.ws User
+ Group, the same surface as her announcement post and her mid-day live reaction. This closes a
+ three-part arc; don't fold it into an edit of either earlier post.
+- **Fill both bracketed sections before publishing.** The standout-moment placeholder and the
+ next-meetup placeholder are the two claims in this draft that need a real answer, not a
+ confident-sounding guess. If there's no next date yet, say so plainly rather than implying one.
+- **Let Jessica edit freely.** This is a starting draft in her established voice, not a final
+ script; she should change anything that doesn't match how the day actually felt to her.
+- Confirm how Broke Boi and bigB actually go by on IBM Community today before posting, so any
+ mentions or tags resolve correctly.
+- Once posted, add it to the catalog in [ibm-community.md](#sec-244) as the group's next
+ blog entry, following the same fields (author, published date, activity, URL, summary) as the
+ existing three entries, and cross-link it from the live-reaction catalog entry if that post was
+ published too.
+
+---
+
+<a id="sec-242"></a>
+
+> **Source:** `docs/ibm-community-recap-nichxbt.md` · [↑ table of contents](#table-of-contents)
+
+# Hosting the Group's First Meetup Inside three.ws: My Recap
+
+_By nich (nich8), posted as a blog entry in the [Three.ws User Group on IBM
+Community](https://community.ibm.com/community/user/usergroup?CommunityKey=e71510cc-d953-408f-9a1c-019f5c0a7016),
+the team's own side of the meetup recap, alongside Jessica's [live
+reaction](#sec-240) and [recap](#sec-241)
+on the same group. Two different people, two honest accounts of the same day; this one is mine,
+written the way I wrote the [Forge walkthrough](https://community.ibm.com/community/user/discussion/type-a-sentence-get-a-3d-model-a-hands-on-walkthrough-of-the-threews-forge-user-perspective)
+and the [10 features post](https://community.ibm.com/community/user/blogs/nich8/2026/07/16/threews-the-free-ai-3d-model-generators-10-best),
+first person, no marketing voice. Companion piece for three.ws/blog:
+[ibm-user-group-first-in-world-meetup-recap.html](../blog/ibm-user-group-first-in-world-meetup-recap.html),
+also written in my voice, for readers who came from that side instead of this group._
+
+_[Fill in before posting: the standout demo or Q&A moment, same gap as Jessica's recap. Don't
+publish with it left generic. The final headcount is filled in below: peak concurrency was 3,145.]_
+
+Yesterday I hosted the first meetup of this group, nine hours, 8 AM to 5 PM Pacific, entirely
+inside three.ws itself. The group is small and the world was not gated to its members: anyone with
+the link could walk in, and the open world peaked at 3,145 concurrent avatars at once over the
+course of the day. I want to write down how it actually went while it is still fresh, from the side
+of the person who built the thing everyone was standing in.
+
+## Why we did it this way
+
+This group is the only one of its kind I know of: a dedicated IBM Community group for a single
+project. That did not happen from a pitch deck either. Our timelines crossed in public first. IBM's
+own account traded posts with us on X that went a little viral (see
+[here](https://x.com/IBM/status/2061418285896269952) and
+[here](https://x.com/IBM/status/2061488909264040194)), and people inside IBM who have nothing to do
+with this group started bringing us up unprompted. Once the group existed, a first meetup that just
+described the product on a call felt like it would have wasted the whole premise. Neither IBM nor
+three.ws is the slow, boring-enterprise thing people assume from the outside, and the only honest
+way to prove that was to hold the meetup inside the actual product, not next to it.
+
+## What the day looked like from where I was standing
+
+The program ran the way we planned it: a live tour from inside the world, community demos from
+people who brought what they had built, and open Q&A, including real questions about
+`@three-ws/ibm-watsonx-mcp` and `@three-ws/ibm-x402-mcp`, the two open-source connectors into
+watsonx.ai and Granite. [Name the sharpest question or the best demo here once it's clear which one
+that was.]
+
+But most of what I remember from the day did not happen during the agenda. I spent a big chunk of
+it fishing, cooking what we caught, and driving the cars around the map with Broke Boi and BigB. No
+slides, no pitch, just people in a place. At some point Jessica, who organizes this group on IBM's
+side, was doing the same thing, and I remember thinking that was the entire argument for the format
+in one sentence: an IBM Community organizer spending her afternoon fishing in our product instead of
+sitting through a deck about it.
+
+## The rest of the platform got demoed too
+
+The MCP connectors were the official agenda item, but the Q&A wandered into everything else people
+wanted to poke at, and I was glad it did. Forge came up a lot: free text-to-3D, type a sentence, get
+a textured model, no account required. So did Avatar Studio, which is Forge's rigged sibling, it
+doesn't just generate a mesh, it skeletonizes it, so whatever comes out can walk and sit down like
+everyone else in the world. Someone asked whether that only works on avatars made in our own tool,
+and the honest answer is no: the retargeting layer reads whatever bone naming convention a GLB
+arrives with, Mixamo, Avaturn, Unreal, VRM and VRM 1.0, Daz/Genesis, MakeHuman, Blender's own `.L`
+suffix convention, and maps it onto a canonical skeleton, so an avatar someone made somewhere else
+entirely still walks and waves correctly the moment it loads. We also walked through the wardrobe
+and cosmetics layer, which is shared across every coin's world rather than scoped to one, and the
+agent-3d web component, which is the piece that lets a site that isn't three.ws at all embed one of
+these avatars and drive its animation state from outside code.
+
+## What it proved as an engineer, not just as a host
+
+Strip the fun away and a nine-hour meetup held entirely inside a live multiplayer world is a real
+stress test, in front of exactly the audience that would notice if it broke: an authoritative
+Colyseus server on Cloud Run, 15 Hz binary delta sync, proximity-gated spatial voice, carrying real
+conversations for a full workday, with concurrency climbing past a thousand early and topping out at
+3,145 at once. It held. I do not say that lightly; that is the kind of claim I would want proven in
+front of me too, and yesterday it was.
+
+None of the event dressing around the meetup was hand-built for the day either, and that mattered
+more than I expected once people started asking about it. The live countdown that turned into
+fireworks at 8 AM was worked out from a shared clock rather than pushed over the network, so the show
+held together no matter how many of us were watching or how good anyone's connection was. Everyone
+who walked in while the event was live got a Meetup Laurel, a small gold circlet with three pearl
+berries, permanently, for free, decided server-side, and it will never be granted again once the
+window closes: the only way to have one is to have actually been there. There was an event-only jobs
+board too, four repeatable tasks that paid better than the everyday ones and fed a live leaderboard,
+which is what Broke Boi and BigB and I were actually racing each other on between the fishing trips.
+None of that is a demo built to impress a partner; it's the same event infrastructure every /play
+world gets when its coin runs a scheduled event, and yesterday was the first time it ran at this
+scale in front of an audience that would notice if it didn't.
+
+## What I'd tell the next community trying this
+
+Every world here is a shareable URL, and every pump.fun coin already has one derived from its mint.
+The mechanics that carried a nine-hour, formal, all-day meetup are the same mechanics any community
+gets for free. If your group is deciding between another call and an afternoon inside a world your
+members can actually walk around in, I know which one I would pick, and now I have a day's worth of
+uptime to back that up.
+
+## Where I want to take this partnership next
+
+One meetup doesn't make a partnership, it's the proof that the partnership is worth investing in
+further, and that's how we're treating it. Jessica and I are already talking about making this a
+rhythm rather than a one-off: more joint blog posts on both sides instead of one recap each, and more
+of what we actually ship getting a shoutout through IBM's own channels instead of staying inside our
+own. There's also a bigger swing we're now looking at seriously. IBM opened up its Partner Plus
+marketplace motions to business partners this month: Microsoft Multiparty Private Offers across 35
+countries and Google Cloud Marketplace Channel Private Offers across 43, on top of AWS reseller
+transactions that are already integrated with automatic rebates. We're now pursuing what it would
+take for three.ws to be eligible and approved to sell through those hyperscaler marketplaces
+alongside IBM software. Nothing here is confirmed yet, that approval is IBM's to grant, not mine to
+claim, but it's a real conversation growing directly out of yesterday, and I'll post an update the
+moment there's something concrete to report.
+
+## What's next
+
+The world stays open at [three.ws/play](https://three.ws/play). The group stays open too.
+[Add the next meetup date here once one is set, or say plainly that we are still deciding rather
+than implying a date that does not exist yet.]
+
+## Links
+
+- Platform: [three.ws](https://three.ws)
+- The worlds: [three.ws/play](https://three.ws/play)
+- Free text-to-3D: [three.ws/create](https://three.ws/create)
+- watsonx.ai MCP server: [`@three-ws/ibm-watsonx-mcp`](https://www.npmjs.com/package/@three-ws/ibm-watsonx-mcp)
+- x402 Granite MCP server: [`@three-ws/ibm-x402-mcp`](https://www.npmjs.com/package/@three-ws/ibm-x402-mcp)
+- Open source: [github.com/nirholas/three.ws](https://github.com/nirholas/three.ws)
+- X: [@nichxbt](https://x.com/nichxbt), [@trythreews](https://x.com/trythreews)
+- The team's side, also written by me, on three.ws/blog: [ibm-user-group-first-in-world-meetup-recap](https://three.ws/blog/ibm-user-group-first-in-world-meetup-recap)
+- Jessica's side of the same day: her recap on this group's [recent blogs page](https://community.ibm.com/community/user/groups/community-home/recent-community-blogs?communitykey=e71510cc-d953-408f-9a1c-019f5c0a7016)
+
+---
+
+## Rules for posting this
+
+- **Post from nich's own IBM Community profile (nich8)**, as a new blog entry, the same surface he
+ used for the [10 features post](https://community.ibm.com/community/user/blogs/nich8/2026/07/16/threews-the-free-ai-3d-model-generators-10-best)
+ and the [Forge walkthrough](https://community.ibm.com/community/user/discussion/type-a-sentence-get-a-3d-model-a-hands-on-walkthrough-of-the-threews-forge-user-perspective).
+ Keep it distinct from Jessica's recap; do not merge the two into one post under either name.
+- **Fill both bracketed sections before publishing**, same rule as Jessica's recap: no invented
+ specifics for the standout moment or the next-meetup date.
+- **Confirm how Broke Boi and BigB actually go by on IBM Community today** before posting, so any
+ mentions resolve correctly. Match the spelling used in Jessica's recap (BigB, capitalized) for
+ consistency across both posts.
+- Once the three.ws/blog companion piece at
+ [ibm-user-group-first-in-world-meetup-recap.html](../blog/ibm-user-group-first-in-world-meetup-recap.html)
+ is actually deployed, its link in this draft resolves live; until then it is a same-repo link that
+ works once shipped, not before.
+- Once posted, add it to the catalog in [ibm-community.md](#sec-244) as the group's next
+ blog entry, following the same fields (author, published date, activity, URL, summary) as the
+ existing entries, and cross-link it against Jessica's recap entry.
+
+---
+
+<a id="sec-243"></a>
> **Source:** `docs/ibm-community-thread.md` · [↑ table of contents](#table-of-contents)
@@ -48093,13 +53964,13 @@ _Questions, skepticism, and feature requests all welcome below. The skeptical on
---
-<a id="sec-203"></a>
+<a id="sec-244"></a>
> **Source:** `docs/ibm-community.md` · [↑ table of contents](#table-of-contents)
# IBM Community: Three.ws User Group post catalog
-This is the running catalog of everything published in the [Three.ws User Group](https://community.ibm.com/community/user/groups/community-home?communitykey=e71510cc-d953-408f-9a1c-019f5c0a7016) on IBM Community: every discussion thread, every blog post, who wrote it, when, what it says, and what activity it got. It exists so the team can track the group's content without re-crawling the site. For what the group is, the framing rules that govern what gets posted there, and the wider IBM relationship, read [IBM watsonx & Granite](#sec-205) first.
+This is the running catalog of everything published in the [Three.ws User Group](https://community.ibm.com/community/user/groups/community-home?communitykey=e71510cc-d953-408f-9a1c-019f5c0a7016) on IBM Community: every discussion thread, every blog post, who wrote it, when, what it says, and what activity it got. It exists so the team can track the group's content without re-crawling the site. For what the group is, the framing rules that govern what gets posted there, and the wider IBM relationship, read [IBM watsonx & Granite](#sec-246) first.
Dates marked "approx." are derived from the site's relative timestamps ("17 days ago") on the snapshot date; blog dates come from their URLs and are exact.
@@ -48141,7 +54012,7 @@ A feature tour structured as "ten features, in the order I would demo them": (1)
- **Featured image:** the IBM x three.ws lockup ([media/ibm-x-threews-lockup.png](media/ibm-x-threews-lockup.png))
- **URL:** [community.ibm.com/.../join-the-threews-user-groups-first-in-world-meetup](https://community.ibm.com/community/user/blogs/jessica-swanson/2026/08/04/join-the-threews-user-groups-first-in-world-meetup)
-Jessica's companion piece to the meetup thread, written in her own voice as a member telling the group not to mistake the event for another webinar link. Carries the event table (Friday, August 7, 8 to 9 AM Pacific, 11 AM Eastern, free, browser only), the three-step join flow (open three.ws/play, bring a custom avatar made at three.ws/create beforehand, talk via spatial voice), and the agenda: live in-world platform tour, community demos, open Q&A ("the skeptical questions are the most useful ones"), and a first look at what is next. Her framing argument: the venue is the demo, so the hour doubles as hands-on evaluation of the technology the group exists to discuss, and since every world is a shareable URL, attending teaches you how to run your own events there. Points readers at the pinned meetup thread for the deep technical background and closes with the full platform link list. The draft lives in [ibm-community-blog-meetup-jessica.md](#sec-201).
+Jessica's companion piece to the meetup thread, written in her own voice as a member telling the group not to mistake the event for another webinar link. Carries the event table (Friday, August 7, 8 to 9 AM Pacific, 11 AM Eastern, free, browser only), the three-step join flow (open three.ws/play, bring a custom avatar made at three.ws/create beforehand, talk via spatial voice), and the agenda: live in-world platform tour, community demos, open Q&A ("the skeptical questions are the most useful ones"), and a first look at what is next. Her framing argument: the venue is the demo, so the hour doubles as hands-on evaluation of the technology the group exists to discuss, and since every world is a shareable URL, attending teaches you how to run your own events there. Points readers at the pinned meetup thread for the deep technical background and closes with the full platform link list. The draft lives in [ibm-community-blog-meetup-jessica.md](#sec-239).
## Discussion threads
@@ -48154,7 +54025,7 @@ Newest first, matching the digest viewer's order.
- **Activity:** 1 reply (Jessica Swanson, whose profile lists Operational Decision Manager, AI & Data Science at IBM, 2026-08-05: links her blog post "Join the Three.ws User Group's First In-World Meetup")
- **URL:** [community.ibm.com/.../community-meetup-inside-threews-join-us-on-the-three-server-at-threewsplay](https://community.ibm.com/community/user/discussion/community-meetup-inside-threews-join-us-on-the-three-server-at-threewsplay)
-The announcement for the group's first community meetup: Friday, August 7, 2026, 8 to 9 AM Pacific (11 AM Eastern), held inside the platform itself in the $THREE home town at three.ws/play rather than on a video call. Free, browser-only, no download or account. Agenda: a live tour from inside the world, community demos, open Q&A, and a first look at what is next. Explains the three-step join flow (open /play, pick or bring an avatar, walk up and talk via spatial voice chat), then makes the venue case: every world is a URL, every pump.fun coin already has a world derived from its mint, and worlds persist, so any community can run its own meetup the same way. The back half is the long read: a surface-by-surface platform tour (creation, distribution, agent economy, developer platform including the two IBM-specific MCP servers), the technology stack (Three.js/Rapier frontend, GPU worker fleet on Cloud Run, authoritative Colyseus multiplayer at 15 Hz, Solana as home chain), the roadmap led by event infrastructure for /play, and a seven-point growth thesis explicitly framed as a thesis, not a promise. The draft lives in [ibm-community-thread.md](#sec-202).
+The announcement for the group's first community meetup: Friday, August 7, 2026, 8 to 9 AM Pacific (11 AM Eastern), held inside the platform itself in the $THREE home town at three.ws/play rather than on a video call. Free, browser-only, no download or account. Agenda: a live tour from inside the world, community demos, open Q&A, and a first look at what is next. Explains the three-step join flow (open /play, pick or bring an avatar, walk up and talk via spatial voice chat), then makes the venue case: every world is a URL, every pump.fun coin already has a world derived from its mint, and worlds persist, so any community can run its own meetup the same way. The back half is the long read: a surface-by-surface platform tour (creation, distribution, agent economy, developer platform including the two IBM-specific MCP servers), the technology stack (Three.js/Rapier frontend, GPU worker fleet on Cloud Run, authoritative Colyseus multiplayer at 15 Hz, Solana as home chain), the roadmap led by event infrastructure for /play, and a seven-point growth thesis explicitly framed as a thesis, not a promise. The draft lives in [ibm-community-thread.md](#sec-243).
### 2. Community Friday August 7,2026 - Inside three.ws: Join Us on the $THREE Server at three.ws/play
@@ -48223,11 +54094,11 @@ A first-run walkthrough of the Forge from a user's perspective, no account, wall
## Keeping this catalog current
-When a new post lands in the group, add it here in digest order with the same fields (author, date, activity, URL, faithful summary) and refresh the snapshot table's date and counts. The sources of truth are the [digest viewer](https://community.ibm.com/community/user/groups/community-home/digestviewer?communitykey=e71510cc-d953-408f-9a1c-019f5c0a7016) for threads and the [recent blogs page](https://community.ibm.com/community/user/groups/community-home/recent-community-blogs?communitykey=e71510cc-d953-408f-9a1c-019f5c0a7016) for blogs. The posting cadence and topic rules for the group itself live in the [SEO keyword plan](ops/seo-keyword-plan.md) and in [ibm.md](#sec-205).
+When a new post lands in the group, add it here in digest order with the same fields (author, date, activity, URL, faithful summary) and refresh the snapshot table's date and counts. The sources of truth are the [digest viewer](https://community.ibm.com/community/user/groups/community-home/digestviewer?communitykey=e71510cc-d953-408f-9a1c-019f5c0a7016) for threads and the [recent blogs page](https://community.ibm.com/community/user/groups/community-home/recent-community-blogs?communitykey=e71510cc-d953-408f-9a1c-019f5c0a7016) for blogs. The posting cadence and topic rules for the group itself live in the [SEO keyword plan](ops/seo-keyword-plan.md) and in [ibm.md](#sec-246).
---
-<a id="sec-204"></a>
+<a id="sec-245"></a>
> **Source:** `docs/ibm-x402-mcp.md` · [↑ table of contents](#table-of-contents)
@@ -48249,9 +54120,9 @@ bill itself, in USDC, over [x402](https://x402.org).
This is the developer guide for the `@three-ws/ibm-x402-mcp` tool suite. For the
broader IBM integration (the platform showcase, Guardian Trust Layer, the
-credentials-based `@three-ws/ibm-watsonx-mcp` connector) see **[docs/ibm.md](#sec-205)**.
+credentials-based `@three-ws/ibm-watsonx-mcp` connector) see **[docs/ibm.md](#sec-246)**.
For the x402 protocol primitives used elsewhere on the platform see
-**[docs/x402.md](#sec-456)**.
+**[docs/x402.md](#sec-506)**.
---
@@ -48568,7 +54439,7 @@ HTTP `status`), `internal_error` (unexpected).
## Discovery (x402 Bazaar)
Each tool declares an x402 discovery extension, so the suite is browsable in the
-[x402 Bazaar](#sec-229) alongside its schema, example input, and
+[x402 Bazaar](#sec-271) alongside its schema, example input, and
example output. Agents can find Granite tools by capability and price without
knowing the server up front.
@@ -48589,16 +54460,16 @@ Catalog/listing copy is maintained in
## See also
-- [docs/ibm.md](#sec-205) — the full IBM Granite / watsonx integration and showcase
-- [docs/x402.md](#sec-456) — the x402 payment protocol on three.ws
-- [docs/mcp.md](#sec-230) — wiring MCP servers into a client
-- [docs/mcp-x402-bazaar.md](#sec-229) — x402 service discovery
+- [docs/ibm.md](#sec-246) — the full IBM Granite / watsonx integration and showcase
+- [docs/x402.md](#sec-506) — the x402 payment protocol on three.ws
+- [docs/mcp.md](#sec-272) — wiring MCP servers into a client
+- [docs/mcp-x402-bazaar.md](#sec-271) — x402 service discovery
- [packages/ibm-x402-mcp](../packages/ibm-x402-mcp) — the npm package source
- npm: [`@three-ws/ibm-x402-mcp`](https://www.npmjs.com/package/@three-ws/ibm-x402-mcp)
---
-<a id="sec-205"></a>
+<a id="sec-246"></a>
> **Source:** `docs/ibm.md` · [↑ table of contents](#table-of-contents)
@@ -48606,7 +54477,7 @@ Catalog/listing copy is maintained in
three.ws agents can think on **IBM Granite** foundation models, served through **IBM watsonx.ai**. This page documents the whole integration for developers and operators: which Granite models run where, how the watsonx client is wired, how to configure it, and the Granite-powered API surfaces (from a Granite avatar brain to on-chain, Guardian-governed forecasts). The live IBM pages on the product are [three.ws/ibm/hello](https://three.ws/ibm/hello) (the partnership page) and [three.ws/ibm/x402-demo](https://three.ws/ibm/x402-demo) (the x402 live demo).
-For the broader platform model see [How it works](#sec-198); for the agent brain abstraction see [Agent system](#sec-061); for the standalone connector see [the MCP server](#mcp-server-three-wsibm-watsonx-mcp) below.
+For the broader platform model see [How it works](#sec-236); for the agent brain abstraction see [Agent system](#sec-062); for the standalone connector see [the MCP server](#mcp-server-three-wsibm-watsonx-mcp) below.
---
@@ -48651,7 +54522,7 @@ three.ws runs a public user group on IBM Community for developers and engineers
| Library | [Files and assets](https://community.ibm.com/community/user/groups/community-home/librarydocuments?communitykey=e71510cc-d953-408f-9a1c-019f5c0a7016&LibraryFolderKey=&DefaultView=) |
| Members | [Member list](https://community.ibm.com/community/user/groups/community-home/community-members?communitykey=e71510cc-d953-408f-9a1c-019f5c0a7016&Execute=1) |
-Every thread and blog published in the group is cataloged, with authors, dates, activity, and a faithful per-post summary, in the [IBM Community post catalog](#sec-203). Update the catalog whenever a new post lands.
+Every thread and blog published in the group is cataloged, with authors, dates, activity, and a faithful per-post summary, in the [IBM Community post catalog](#sec-244). Update the catalog whenever a new post lands.
What belongs there, and what does not, is set by the [SEO keyword plan](ops/seo-keyword-plan.md): one post per week maximum, tutorials that stand on their own for an IBM developer who never clicks through, and no crypto-cluster content (that goes on [three.ws/blog](https://three.ws/blog) instead). The user group is also linked from the site's [Community page](https://three.ws/community) and the global footer.
@@ -48761,6 +54632,8 @@ curl -s https://three.ws/api/guardian/assess \
For autonomous sends, `governSend()` additionally enforces a per-period USD spend cap, so a request can be vetoed either for risk content **or** for exceeding the cap.
+**Errors.** Every failure is JSON, never HTML: `400 bad_request` (missing or malformed `text`/`messages`/`risks`/`action`), `405 method_not_allowed`, `413 bad_request` (body over 100 KB), `415 bad_request` (content-type is not `application/json`), `429 rate_limited` (30 requests/min per IP, plus an hourly platform-wide ceiling on watsonx inference that only real assessments charge), `503 guardian_unconfigured` (no `WATSONX_API_KEY` + `WATSONX_PROJECT_ID`, so no verdict is fabricated), and `502 guardian_failed` when watsonx itself fails.
+
---
## Granite Oracle — TimeSeries forecasting
@@ -48879,7 +54752,7 @@ Source: [`packages/ibm-watsonx-mcp`](../packages/ibm-watsonx-mcp). Five tools:
WATSONX_API_KEY=… WATSONX_PROJECT_ID=… npx @three-ws/ibm-watsonx-mcp
```
-It reads the same `WATSONX_*` environment variables documented above. See the [MCP guide](#sec-230) for wiring MCP servers into a client.
+It reads the same `WATSONX_*` environment variables documented above. See the [MCP guide](#sec-272) for wiring MCP servers into a client.
---
@@ -48925,16 +54798,16 @@ Unit tests for the same paths live in [`tests/`](../tests) (`granite-oracle`, `a
## See also
-- [How it works](#sec-198) — the platform mental model
-- [Agent system](#sec-061) — the brain abstraction Granite plugs into
-- [IBM Granite x402 MCP](#sec-204) — pay-per-call Granite for agents (USDC, no IBM account)
-- [MCP](#sec-230) — wiring MCP servers into a client
-- [REST API](#sec-089) — the full endpoint reference
-- [Configuration](#sec-141) — all environment variables
+- [How it works](#sec-236) — the platform mental model
+- [Agent system](#sec-062) — the brain abstraction Granite plugs into
+- [IBM Granite x402 MCP](#sec-245) — pay-per-call Granite for agents (USDC, no IBM account)
+- [MCP](#sec-272) — wiring MCP servers into a client
+- [REST API](#sec-094) — the full endpoint reference
+- [Configuration](#sec-148) — all environment variables
---
-<a id="sec-206"></a>
+<a id="sec-247"></a>
> **Source:** `docs/image-to-3d.md` · [↑ table of contents](#table-of-contents)
@@ -49029,14 +54902,14 @@ console.log(job.glb_url);
## Related
-- [Forge](#sec-184) is the full text-and-image-to-3D surface with every mode and engine.
-- [Avatar reconstruction](#sec-106) and [avatar creation](#sec-101) cover the face-to-avatar pipeline behind [/create/selfie](https://three.ws/create/selfie).
+- [Forge](#sec-221) is the full text-and-image-to-3D surface with every mode and engine.
+- [Avatar reconstruction](#sec-111) and [avatar creation](#sec-106) cover the face-to-avatar pipeline behind [/create/selfie](https://three.ws/create/selfie).
- The pipeline internals: [3D asset pipeline](#sec-002), [3D pipeline](#sec-003), [3D API](#sec-001).
- Pages: [/create](https://three.ws/create), [/scene](https://three.ws/scene) (Scene Studio), [/gallery](https://three.ws/gallery).
---
-<a id="sec-207"></a>
+<a id="sec-248"></a>
> **Source:** `docs/in-game-economy.md` · [↑ table of contents](#table-of-contents)
@@ -49125,6 +54998,12 @@ This is the only real risk decision in the economy:
That asymmetry is the entire point of the bank existing. If you are about to go
somewhere dangerous, deposit first. The walk back to the bank is the cost.
+**The walk is enforced by the server, not by the UI.** Deposits, withdrawals and
+every store trade are refused unless you are actually standing at the teller or a
+store counter, the same proximity rule the ponds, the gather nodes and the wheel
+have always used. Without it the cost above is imaginary: anything that can bank
+from the middle of a fight never risks a coin.
+
---
## The `$THREE` boutique
@@ -49139,8 +55018,13 @@ touches a blockchain.
price is never trusted.
2. **Sign.** You sign one split transaction from your wallet.
3. **Verify.** The server re-fetches the confirmed transaction from Solana RPC and
- checks the destination and amount before granting the cosmetic. Settled quote
- nonces are retained, so a transaction cannot be replayed for a second item.
+ checks the destination and amount before granting the cosmetic. The settled
+ quote nonce and the transaction signature are both consumed in a shared,
+ Redis-backed ledger
+ ([multiplayer/src/settlement-guard.js](../multiplayer/src/settlement-guard.js)),
+ so one payment grants exactly one item across every coin world, every server
+ restart, and every instance. The quote is also sealed to the character that
+ requested it, so it cannot be redeemed onto another profile.
You are never granted an item on the strength of a client claiming it paid.
@@ -49154,9 +55038,16 @@ primitives.
This is **not** the same rail as the USDC cosmetics shop for the standalone
character creator, which sells a different catalog through
-[x402](#sec-456) and is surfaced publicly at [/fits](https://three.ws/fits).
+[x402](#sec-506) and is surfaced publicly at [/fits](https://three.ws/fits).
Two catalogs, two currencies, two rails. Do not confuse them.
+It is also not the only way to own a wardrobe item. A third tier exists that the
+boutique deliberately cannot see: **[event souvenirs](#sec-210)** are
+granted to everyone present in the world during a live event and are never sold,
+before, during, or after. They carry no price, so the boutique's listing filter
+(`tier === 'premium'` **and** `price > 0`) excludes them by construction, and the
+`$THREE` purchase ledger is filtered to premium ids so it cannot mint one.
+
---
## Fortune's Folly (the wheel)
@@ -49175,8 +55066,15 @@ an implementation detail to be tuned away: the client renders a fixed-angle whee
so the visual and the probability must stay identical or the wheel would lie.
Before a spin is offered or paid for, the server checks there is inventory room
-for **any** item prize the wheel can award. A win can never be lost to a full
-pack, and you can never pay for a spin whose prize would be discarded.
+for **every** item prize the wheel can award, not just one of them: the roll is
+uniform across wood, stone and coal, so room for only one of the three would
+still leave two thirds of the wheel with nowhere to land. A win can never be lost
+to a full pack, and you can never pay for a spin whose prize would be discarded.
+
+If a pack somehow fills between paying and rolling (you have a wallet open for a
+while), the prize is never voided. It converts to its cash value and the result
+says so in as many words, because a prize that quietly became four cash reads as
+a broken wheel.
The full paytable with real per-outcome odds is on
[three.ws/play/economy](https://three.ws/play/economy).
@@ -49258,22 +55156,199 @@ every number in this system.
| Store and bank UI | [src/game/economy-ui.js](../src/game/economy-ui.js) |
| Vendor NPCs | [src/game/npc/economy-npcs.js](../src/game/npc/economy-npcs.js) |
| Boutique purchase flow | [src/game/boutique-purchase.js](../src/game/boutique-purchase.js) |
+| Event souvenir drop (granted, never sold) | [multiplayer/src/event-drop.js](../multiplayer/src/event-drop.js) |
| Public reference endpoint | [api/play/economy.js](../api/play/economy.js) |
---
## Next
-- **[Earn and spend in /play](#sec-370)** walks the
+- **[Earn and spend in /play](#sec-418)** walks the
whole loop end to end, from your first gathered log to a cosmetic unlock.
- **[three.ws/play/economy](https://three.ws/play/economy)** is the live reference
with the current catalogs and odds.
-- **[Coin communities](#sec-136)** covers the worlds themselves: how a coin
+- **[Coin communities](#sec-141)** covers the worlds themselves: how a coin
becomes a walkable 3D space.
---
-<a id="sec-208"></a>
+<a id="sec-249"></a>
+
+> **Source:** `docs/inference-node-operator.md` · [↑ table of contents](#table-of-contents)
+
+# Run an inference node
+
+The three.ws open inference network (Phase 4 of the roadmap) decouples agent
+inference from any single provider: agents pay nodes for compute, and every
+result arrives with a cryptographic receipt. The **node operator client** in
+`node-operator/` is how you join the supply side: register your machine, claim
+inference jobs, execute them with a real open model, and return signed results
+that anyone can verify against your public address.
+
+This guide takes a zero-context operator from checkout to a verified result.
+
+## What you run
+
+One Node.js process with three parts:
+
+- **Identity.** A Solana Ed25519 keypair. The public key is your node address
+ (and future payout address); the secret key signs every result. Generate one
+ with `node src/cli.js generate-key` and keep the printed secret private.
+- **Engine.** distilgpt2 (the 82M-parameter distilled GPT-2) running on ONNX
+ Runtime. The quantized graph is about 80 MB, downloads from Hugging Face on
+ first run into `MODEL_CACHE_DIR`, and is reused after that. CPU works out of
+ the box; the GPU image runs the same graph on CUDA.
+- **Loop.** Register with the coordinator, poll for jobs, run each prompt
+ through the model, sign the result, submit it. The poll cadence is
+ `POLL_MS` (default 3 s), matching the platform's existing worker pattern.
+
+## The wire contract
+
+The protocol was derived from the platform's existing worker job format
+(bearer shared-secret auth and claim/execute/submit loops, as in
+`workers/agent-screen-pool`). Three endpoints, all JSON over HTTPS, all
+authenticated with `Authorization: Bearer $NODE_WORKER_SECRET`:
+
+| Endpoint | Direction | Body |
+|---|---|---|
+| `POST /api/inference/nodes/register` | node -> coordinator | `{ node, capabilities, models, endpoint?, version, registeredAt }` |
+| `POST /api/inference/jobs/claim` | node -> coordinator | `{ node }` -> `{ job }` or `{ job: null }` |
+| `POST /api/inference/jobs/submit` | node -> coordinator | result record + `signature` |
+
+A **job envelope** is:
+
+```json
+{
+ "jobId": "job_01J...",
+ "type": "llm.completion",
+ "model": "Xenova/distilgpt2",
+ "input": { "prompt": "The three.ws open inference network lets anyone" },
+ "maxTokens": 16,
+ "issuedAt": "2026-08-12T16:22:48.833Z"
+}
+```
+
+A **result record** binds the output to the job and the node:
+
+```json
+{
+ "jobId": "job_01J...",
+ "node": "<base58 node address>",
+ "model": "Xenova/distilgpt2",
+ "result": { "text": "...", "tokens": 16, "latencyMs": 1147 },
+ "inputHash": "<sha256-hex of the UTF-8 prompt>",
+ "outputHash": "<sha256-hex of the UTF-8 output text>",
+ "completedAt": "2026-08-12T16:22:57.568Z",
+ "signature": "<base58 Ed25519 signature>"
+}
+```
+
+The signature covers a canonical string, so verification never depends on
+JSON field order:
+
+```
+threews-inference-v1\n
+<jobId>\n
+<nodeAddress>\n
+<model>\n
+<inputHash>\n
+<outputHash>\n
+<latencyMs rounded>\n
+<completedAt>
+```
+
+Anyone can verify a result offline with only the node's public address:
+
+```bash
+node src/cli.js verify receipt.json
+```
+
+## Quickstart
+
+Requires Node.js 20+ and access to huggingface.co (one-time model download).
+
+```bash
+cd node-operator
+npm ci
+node src/cli.js generate-key
+# export the printed secret:
+export NODE_SECRET_KEY=<base58 secret>
+export NODE_WORKER_SECRET=<coordinator shared secret>
+export BASE_URL=https://three.ws
+node src/cli.js run
+```
+
+With Docker (CPU):
+
+```bash
+docker build -t three-ws/node-operator .
+docker run --rm \
+ -e NODE_SECRET_KEY=<secret> -e NODE_WORKER_SECRET=<shared> \
+ -e BASE_URL=https://three.ws \
+ -v node-model-cache:/app/.model-cache \
+ three-ws/node-operator
+```
+
+For NVIDIA GPUs, install the driver plus nvidia-container-toolkit, then use
+`Dockerfile.gpu` and `docker run --gpus all`. The engine lists the CUDA
+provider first when `ONNXRUNTIME_CUDA=1` (set in the GPU image), so the same
+code runs on the GPU with no other change.
+
+## Prove it locally
+
+`selftest` spins up a real in-process HTTP coordinator that speaks the same
+wire contract (bearer auth, register, claim, submit), runs one job through
+the real model, and has the coordinator verify the signature before accepting
+the result. It prints a receipt you can re-verify offline:
+
+```bash
+node src/cli.js selftest
+```
+
+Expected output ends with `verified: signature = true , output hash = true`
+and a JSON receipt. A forged signature (right shape, wrong key) is rejected
+with HTTP 422, which the test suite covers.
+
+## Configuration reference
+
+Every setting is an environment variable; there is no config file to keep in
+sync. The full table is in [node-operator/README.md](../node-operator/README.md).
+
+| Variable | Default | Notes |
+|---|---|---|
+| `NODE_SECRET_KEY` | none | Required. base58, base64, or solana-keygen JSON. |
+| `NODE_WORKER_SECRET` | none | Coordinator shared secret (16+ chars). |
+| `BASE_URL` | `https://three.ws` | Any coordinator deployment. |
+| `MODEL_ID` | `Xenova/distilgpt2` | Any HF repo with a merged-quantized ONNX export. |
+| `MODEL_REVISION` | `main` | Pin a commit hash for reproducible weights. |
+| `MODEL_CACHE_DIR` | `./.model-cache` | Model cache; mount a volume in Docker. |
+| `POLL_MS` | `3000` | Claim poll cadence. |
+| `MAX_JOBS` | unlimited | Stop after N jobs. |
+
+## Security model
+
+- The coordinator authenticates nodes with the shared worker secret; nodes
+ authenticate results with their Ed25519 signatures. The two channels are
+ independent, so a leaked worker secret lets an attacker *receive* jobs but
+ never *prove* results for a node they do not hold the key for.
+- Generation is greedy (deterministic) on purpose: two honest nodes given the
+ same prompt produce the same output hash, so a coordinator can spot-check
+ results by re-execution or by comparing hashes across replicas.
+- The canonical string binds the job id, so a valid result for one job cannot
+ be replayed as the answer to another.
+
+## What this is not (yet)
+
+- The built-in model is the proof workload, not the production model catalog.
+ Serving larger models means pointing `MODEL_ID` at a bigger ONNX export and
+ running the GPU image; the wire contract is unchanged.
+- On-chain settlement (pay-per-token with receipts) is the adjacent roadmap
+ slice; this client already exposes the node address and signed receipts
+ that settlement consumes.
+
+---
+
+<a id="sec-250"></a>
> **Source:** `docs/integrations.md` · [↑ table of contents](#table-of-contents)
@@ -49293,7 +55368,7 @@ The platform's agents are only as useful as the places they can appear. Integrat
is the distribution layer: it turns an agent, a saved widget, or a live token feed
into something a marketer can paste into a CMS, a developer can wire into a framework,
or an AI assistant can call as a tool. It is the front page of embedding; the deep
-per-method references live in [Embedding](#sec-173) and [Widgets](#sec-446),
+per-method references live in [Embedding](#sec-180) and [Widgets](#sec-494),
and this doc is the map that points you to the right one.
## How it works
@@ -49319,7 +55394,7 @@ The catalog covers six integration types:
driven by a `data-widget` id and the `pumpfun-feed` type.
- **MCP Integration**: the `@three-ws/avatar-agent` server (from the
`packages/avatar-agent-mcp` workspace), so Claude, Cursor, or any MCP-compatible
- assistant can render, speak, gesture, and emote your agents. See [MCP](#sec-230).
+ assistant can render, speak, gesture, and emote your agents. See [MCP](#sec-272).
## Walkthrough
@@ -49437,15 +55512,15 @@ for the full table.
## Related
-- [Embedding Guide](#sec-173): the full per-method reference (web component, iframe, oEmbed)
-- [Widget Types](#sec-446): every widget type and how to configure one
-- [Embody](#sec-174): giving an agent a body in more contexts
-- [MCP](#sec-230): the avatar MCP server for AI assistants
+- [Embedding Guide](#sec-180): the full per-method reference (web component, iframe, oEmbed)
+- [Widget Types](#sec-494): every widget type and how to configure one
+- [Embody](#sec-181): giving an agent a body in more contexts
+- [MCP](#sec-272): the avatar MCP server for AI assistants
- Pages: [/integrations](https://three.ws/integrations), [/widgets](https://three.ws/widgets)
---
-<a id="sec-209"></a>
+<a id="sec-251"></a>
> **Source:** `docs/introduction.md` · [↑ table of contents](#table-of-contents)
@@ -49651,7 +55726,7 @@ To add an AI brain:
The `key-proxy` attribute points to a serverless function that injects your API key — the key never touches the client. The `voice` attribute enables microphone input and TTS output.
-For a full step-by-step walkthrough, see the [Quick Start guide](#sec-302).
+For a full step-by-step walkthrough, see the [Quick Start guide](#sec-348).
---
@@ -49659,19 +55734,19 @@ For a full step-by-step walkthrough, see the [Quick Start guide](#sec-302).
Once you have the basics working, the following guides go deeper:
-- **[Quick Start](#sec-302)** — step-by-step from zero to a talking agent
-- **[Embedding Guide](#sec-173)** — all attributes, modes, events, and the JS API
-- **[Widget Types](#sec-446)** — Turntable, Animation Gallery, Talking Agent, Passport, Hotspot Tour
-- **[Agent System Overview](#sec-061)** — runtime, skill registry, memory, emotion system
+- **[Quick Start](#sec-348)** — step-by-step from zero to a talking agent
+- **[Embedding Guide](#sec-180)** — all attributes, modes, events, and the JS API
+- **[Widget Types](#sec-494)** — Turntable, Animation Gallery, Talking Agent, Passport, Hotspot Tour
+- **[Agent System Overview](#sec-062)** — runtime, skill registry, memory, emotion system
- **[Manifest Reference](#sec-053)** — full JSON schema with examples
-- **[REST API](#sec-089)** and **[JavaScript API](#sec-212)** — backend and in-browser surfaces
-- **[Agents vs. avatars](#sec-069)** — the difference, and when to care
+- **[REST API](#sec-094)** and **[JavaScript API](#sec-254)** — backend and in-browser surfaces
+- **[Agents vs. avatars](#sec-071)** — the difference, and when to care
If you want to look at what's already in the hosted platform — browsing agents, using Widget Studio, or registering on-chain — visit [https://three.ws](https://three.ws).
---
-<a id="sec-210"></a>
+<a id="sec-252"></a>
> **Source:** `docs/irl.md` · [↑ table of contents](#table-of-contents)
@@ -49715,7 +55790,7 @@ Anonymous pins work immediately from a device token and expire after 7 days. Sig
/irl also accepts an inbound avatar: opening `/irl?avatar=<glbUrl>` loads that
rigged GLB directly as the companion. This is the **Bring it to life** handoff
-from the [AR launch page](#sec-092) (`GET /api/ar?…&kind=avatar`) and the
+from the [AR launch page](#sec-097) (`GET /api/ar?…&kind=avatar`) and the
`irlUrl` returned by the avatar-producing studio tools, and an explicit
`?avatar=` always wins over a saved session.
@@ -49794,7 +55869,7 @@ The rollup is served at `GET /api/irl/analytics` (admin-gated via `x-ops-secret`
---
-<a id="sec-211"></a>
+<a id="sec-253"></a>
> **Source:** `docs/irl/THREAT-MODEL.md` · [↑ table of contents](#table-of-contents)
@@ -49948,15 +56023,15 @@ in a way that drops legitimate discovery, update this file in the same change.
---
-<a id="sec-212"></a>
+<a id="sec-254"></a>
> **Source:** `docs/js-api.md` · [↑ table of contents](#table-of-contents)
# JavaScript API Reference
-This page documents the internal JavaScript classes behind the three.ws viewer: the `App` controller, the Three.js `Viewer`, the glTF `Validator`, and the small components that render around them. It is aimed at developers reading or extending the source (`src/`), and at anyone driving the viewer from the browser console via `window.VIEWER`. If you just want a 3D agent on your page, use the [`<agent-3d>` element](#sec-443) instead.
+This page documents the internal JavaScript classes behind the three.ws viewer: the `App` controller, the Three.js `Viewer`, the glTF `Validator`, and the small components that render around them. It is aimed at developers reading or extending the source (`src/`), and at anyone driving the viewer from the browser console via `window.VIEWER`. If you just want a 3D agent on your page, use the [`<agent-3d>` element](#sec-491) instead.
-> For the HTTP/REST surface, see [api-reference.md](#sec-089). For the high-level npm SDK, see [sdk.md](#sec-313). For the `<agent-3d>` element attributes, see [web-component.md](#sec-443).
+> For the HTTP/REST surface, see [api-reference.md](#sec-094). For the high-level npm SDK, see [sdk.md](#sec-360). For the `<agent-3d>` element attributes, see [web-component.md](#sec-491).
---
@@ -50285,7 +56360,7 @@ Creates the mini axes viewport:
Builds the entire dat.gui panel. On mobile (≤ 700 px), uses 220 px width and starts closed; on desktop, 260 px width and starts open.
-See [Architecture overview](#sec-093) for the full folder tree.
+See [Architecture overview](#sec-098) for the full folder tree.
#### `updateGUI()`
@@ -50578,7 +56653,7 @@ window.VIEWER.app.viewer.updateDisplay();
---
-<a id="sec-213"></a>
+<a id="sec-255"></a>
> **Source:** `docs/kol-tracker.md` · [↑ table of contents](#table-of-contents)
@@ -50623,7 +56698,7 @@ If every source is unreachable the tracker returns an empty array and the page s
- **On-chain trades, not self-reported numbers.** The `onchain` P&L path computes from the wallet's own trade history; the `kolscan` fallback is itself a board of realized on-chain SOL profit. Nothing on this page is entered by the KOL.
- **kolscan.io** supplies the live wallet universe and the fallback P&L per window. Trader names it publishes are deliberately dropped; the schema stays address-keyed.
- **Helius** enhanced transactions back the per-mint trade feed (`/api/kol/trades`).
-- **Birdeye** backs the portfolio proxy (`/api/kol/wallets`).
+- **Birdeye** backs the holdings half of the portfolio proxy (`/api/kol/wallets`); its P&L half is computed in-house from on-chain trades.
- **The X API** supplies follower counts and avatars, only for admin-verified handles.
Each integration degrades honestly: a missing key or an upstream outage yields an empty or null field (and, for `/api/kol/trades`, an explicit error when the whole provider is down), never a fabricated or zeroed row that looks like real data.
@@ -50694,7 +56769,16 @@ Portfolio snapshot proxy (Birdeye) for up to 20 addresses at once, cached 60 sec
curl 'https://three.ws/api/kol/wallets?addresses=<WALLET_ADDRESS>,<WALLET_ADDRESS_2>'
```
-Response: `{ data: [{ address, realizedPnl, unrealizedPnl, winRate, totalTrades, topToken }] }`. A wallet whose upstream fetch failed is omitted from `data` rather than rendered as a fake zero-P&L row.
+Response: `{ data: [{ address, totalUsd, holdings, topToken, realizedPnl, winRate, totalTrades, volumeUsd, pnlSource, pnlWindow }] }`.
+
+The row has two independently-sourced halves, and the field names say which is which:
+
+- **Holdings, from Birdeye.** `totalUsd` is the wallet's current token-position value, `holdings` the number of positions, and `topToken` is `{ symbol, valueUsd }` for the single largest one. Birdeye's portfolio endpoint returns positions and nothing else, so this half never carries a P&L number.
+- **Trading record, FIFO-computed from the wallet's own on-chain trades** over `pnlWindow` (30d) by [`src/kol/wallet-pnl.js`](../src/kol/wallet-pnl.js), the same engine behind the tracker board. `pnlSource` is `onchain-fifo` when it ran on real trades.
+
+Every P&L field is `null` when there is no trade history for the wallet in the window, and `winRate` is additionally `null` when nothing closed inside it (a wallet that has only bought has no win rate yet). A null is "unknown", never "flat": treat it as no data, not as zero profit. `pnlSource: null` marks the whole half as unmeasured.
+
+A wallet whose upstream fetch failed is omitted from `data` rather than rendered as a fake zero-P&L row.
### `POST /api/kol/import-gmgn` (admin only)
@@ -50704,9 +56788,9 @@ Writes the curated tracked-wallet list that the tracker merges in. Accepts `{ ra
The tracker answers "who is making money"; the reputation surfaces answer "should this wallet's record earn trust". They meet at the wallet address:
-- **`GET /api/intel/wallet/<WALLET_ADDRESS>`** returns one wallet's realized track record from the Smart-Money graph: a 0 to 100 realized score, win rate, average ATH multiple, winners and losers, labels (`smart_money`, `sybil`, `fresh`, and others), and its funder cluster. `computed: false` means no track record exists yet for that address; that is an honest zero, not an error. Any wallet you see on the tracker can be fed straight into it.
-- **[Smart Money Radar](#sec-325)** is the sibling leaderboard built from graduation outcomes rather than a KOL universe: reputation earned per wallet from which coins actually graduated. The tracker's footer links to it, and the two boards frequently disagree in instructive ways.
-- **[Trust primitives](#sec-352)** wrap the same question for autonomous agents: a paid endpoint that scores any counterparty wallet from real on-chain evidence before an agent transacts with it.
+- **`GET /api/intel/wallet/<WALLET_ADDRESS>`** returns one wallet's realized track record from the Smart-Money graph: a 0 to 100 realized score, win rate, average ATH multiple, winners and losers, labels (`smart_money`, `sybil`, `fresh`, and others), and its funder cluster. `computed: false` means no track record exists yet for that address; that is an honest zero, not an error. A string that is not a base58 Solana address is a different case and returns `400 bad_request`, so a typo never reads as a wallet with no history. Any wallet you see on the tracker can be fed straight into it. The same card is served by `GET /api/intel/smart-money?wallet=<WALLET_ADDRESS>`, which applies the identical validation.
+- **[Smart Money Radar](#sec-372)** is the sibling leaderboard built from graduation outcomes rather than a KOL universe: reputation earned per wallet from which coins actually graduated. The tracker's footer links to it, and the two boards frequently disagree in instructive ways.
+- **[Trust primitives](#sec-400)** wrap the same question for autonomous agents: a paid endpoint that scores any counterparty wallet from real on-chain evidence before an agent transacts with it.
```bash
# Take a wallet from the tracker and pull its reputation record
@@ -50724,13 +56808,13 @@ curl 'https://three.ws/api/intel/wallet/<WALLET_ADDRESS>?network=mainnet'
## Related
-- [Smart Money Radar](#sec-325): reputation earned from graduation outcomes, wallet by wallet
-- [Trust primitives](#sec-352): the paid cross-chain reputation read for autonomous agents
+- [Smart Money Radar](#sec-372): reputation earned from graduation outcomes, wallet by wallet
+- [Trust primitives](#sec-400): the paid cross-chain reputation read for autonomous agents
- Pages: [/tracker](https://three.ws/tracker) · [/smart-money](https://three.ws/smart-money) · [/leaderboard](https://three.ws/leaderboard)
---
-<a id="sec-214"></a>
+<a id="sec-256"></a>
> **Source:** `docs/labor-market.md` · [↑ table of contents](#table-of-contents)
@@ -50835,7 +56919,7 @@ economy move:
---
-<a id="sec-215"></a>
+<a id="sec-257"></a>
> **Source:** `docs/launch-usecases.md` · [↑ table of contents](#table-of-contents)
@@ -50965,13 +57049,13 @@ GET /api/pump/launch-studio?action=preview&id=github-fresh-breakouts&limit=6
## Related
- [Launch use-case engine](../api/_lib/launch/README.md) — internals + how to add a recipe.
-- [Coin Launches](#sec-135) — the underlying launch mechanism.
+- [Coin Launches](#sec-140) — the underlying launch mechanism.
- [Launch a Coin](https://three.ws/launch) — the wizard each recipe hands off to.
- Fee sharing & GitHub reward routing — [`public/studio/fees-panel.js`](../public/studio/fees-panel.js).
---
-<a id="sec-216"></a>
+<a id="sec-258"></a>
> **Source:** `docs/layers.md` · [↑ table of contents](#table-of-contents)
@@ -50979,7 +57063,7 @@ GET /api/pump/launch-studio?action=preview&id=github-fresh-breakouts&limit=6
three.ws is split into four horizontal layers. Each layer can be used on its own. Each layer is independently replaceable as long as its contract with the rest of the system holds. This document describes what each layer owns, what it exports, and where to extend it.
-For the overall request flow, see [How three.ws works](#sec-198). For internal module names and paths, see [Architecture overview](#sec-093).
+For the overall request flow, see [How three.ws works](#sec-236). For internal module names and paths, see [Architecture overview](#sec-098).
---
@@ -51069,10 +57153,10 @@ Modules:
- **`agent-identity.js`** — the passport + diary. Stable agent ID, owner address, signed action history. Backed by `localStorage` (cache) and `/api/agents/<id>` (canonical). Listens on the protocol bus and POSTs `speak` / `skill-done` / `validate` / `sign` events to `/api/agent-actions`.
- **`memory/`** — `local`, `ipfs`, `encrypted-ipfs`, or `none`. Declared on the manifest.
- **`erc8004/`** — on-chain registries. `IdentityRegistry` (mints agent token with `tokenURI`), `ReputationRegistry` (signed feedback), `ValidationRegistry` (validation report hashes). Per-chain addresses in `erc8004/abi.js`.
-- **`erc8004/solana-deploy.js`**: Solana counterpart. Metaplex Core asset mint; SPL Memo attestations and reputation live server-side (see [Agent Reputation on Solana](#sec-329)).
+- **`erc8004/solana-deploy.js`**: Solana counterpart. Metaplex Core asset mint; SPL Memo attestations and reputation live server-side (see [Agent Reputation on Solana](#sec-376)).
- **`auth/` + `wallet/`** — SIWE / SIWS for backend mutations; Privy for email/social → embedded wallet onboarding; session cookies after wallet proof.
-Per-chain registry addresses, ABIs, and helpers ship as `@three-ws/sdk`. ENS attestations are also handled here — see [register-onchain.md](#sec-397).
+Per-chain registry addresses, ABIs, and helpers ship as `@three-ws/sdk`. ENS attestations are also handled here — see [register-onchain.md](#sec-445).
---
@@ -51085,7 +57169,7 @@ Per-chain registry addresses, ABIs, and helpers ship as `@three-ws/sdk`. ENS att
Modules:
- **`element.js`**: `<agent-3d>` custom element. Lazy-boots via `IntersectionObserver` (unless `eager`). Enforces origin allowlist. Exposes attributes for `body`, `brain`, `agent-id`, `manifest`, `mode` (`inline` / `floating` / `section` / `fullscreen`), `voice`, and more. Public methods: `say()`, `ask()`, `installSkill()`, `expressEmotion()`, `play()`, `lookAt()`, `pause()`, `destroy()`.
-- **`stage-element.js`**: `<agent-stage>` for hosting multiple agents in one shared scene. See [multi-agent.md](#sec-243).
+- **`stage-element.js`**: `<agent-stage>` for hosting multiple agents in one shared scene. See [multi-agent.md](#sec-285).
- **`widget-types.js`**: the ten widget variants: Turntable, Animation Gallery, Talking Agent, ERC-8004 Passport, Hotspot Tour, Pump.fun Live Feed, Smart Money Feed, Live Trades Canvas, Bonding Curve, Walking Avatar.
- **`lib.js`** — the CDN entry. Imports the element, registers it, re-exports the public surface (`defineElement`, `Agent3DElement`, `AgentStageElement`, helpers).
- **`embed-action-bridge.js`** — the `postMessage` protocol. Iframe widgets and the web component speak the same dialect, so host pages can drive either with the same code.
@@ -51120,20 +57204,20 @@ The same source tree produces three independent builds:
- **Library** — `npm run build:lib`. `src/lib.js` → `dist-lib/agent-3d.js` (ES module + UMD). Three.js and ethers stay bundled — the file is intentionally self-contained so a single `<script type="module">` is the only thing a third party needs.
- **Artifact** — `vite.config.artifact.js`. A zero-dependency bundle for Claude artifact embeds. Inlined everything, no external script tags, no dynamic imports.
-Versioned CDN bundles are published at `/agent-3d/<version>/agent-3d.js`. Use `latest` for auto-updates or pin to a version for stability. See [changelog.md](#sec-126) for release history.
+Versioned CDN bundles are published at `/agent-3d/<version>/agent-3d.js`. Use `latest` for auto-updates or pin to a version for stability. See [changelog.md](#sec-131) for release history.
---
## What's next
-- **[Architecture overview](#sec-093)** — module-by-module deep dive
-- **[Agent system](#sec-061)** — runtime, skills, memory in detail
-- **[Embedding](#sec-173)** — the public face of the embed layer
-- **[SDK reference](#sec-313)** — `@three-ws/sdk` and friends
+- **[Architecture overview](#sec-098)** — module-by-module deep dive
+- **[Agent system](#sec-062)** — runtime, skills, memory in detail
+- **[Embedding](#sec-180)** — the public face of the embed layer
+- **[SDK reference](#sec-360)** — `@three-ws/sdk` and friends
---
-<a id="sec-217"></a>
+<a id="sec-259"></a>
> **Source:** `docs/lipsync.md` · [↑ table of contents](#table-of-contents)
@@ -51222,15 +57306,15 @@ tick();
## Related
-- [Voice Lab](#sec-441): clone a voice and synthesize it, the audio these demos animate.
-- [Voice and lipsync tutorial](#sec-416): the full walkthrough, including wiring visemes to an agent body.
-- [Talking Avatar Video](#sec-339): the server-rendered alternative for exporting a talking-head clip.
-- [Animations](#sec-088): the runtime clip registry that plays alongside lipsync.
+- [Voice Lab](#sec-489): clone a voice and synthesize it, the audio these demos animate.
+- [Voice and lipsync tutorial](#sec-464): the full walkthrough, including wiring visemes to an agent body.
+- [Talking Avatar Video](#sec-386): the server-rendered alternative for exporting a talking-head clip.
+- [Animations](#sec-091): the runtime clip registry that plays alongside lipsync.
- Pages: [/lipsync](https://three.ws/lipsync), [/lipsync/mic](https://three.ws/lipsync/mic).
---
-<a id="sec-218"></a>
+<a id="sec-260"></a>
> **Source:** `docs/listings.md` · [↑ table of contents](#table-of-contents)
@@ -51248,7 +57332,7 @@ Cloud marketplaces are the procurement flow enterprises use to acquire software
| Cloud | Status | Links |
|---|---|---|
-| **AWS** Marketplace | Live | three.ws is an AWS Partner. Subscribe via AWS Marketplace to consolidate billing on your AWS account; subscriptions auto-issue an x402 API key via the marketplace entitlement service. See [aws-marketplace.md](#sec-115). |
+| **AWS** Marketplace | Live | three.ws is an AWS Partner. Subscribe via AWS Marketplace to consolidate billing on your AWS account; subscriptions auto-issue an x402 API key via the marketplace entitlement service. See [aws-marketplace.md](#sec-120). |
| **Alibaba Cloud** International Marketplace | Live | [Product listing](https://marketplace.alibabacloud.com/products/56724001/sgcmfw00036800.html) · [Storefront](https://marketplace.alibabacloud.com/store/3247293.html) · [Announcement](/blog/three-ws-on-alibaba-cloud-marketplace.html) · [Marketplace blog feature](https://marketplace.alibabacloud.com/doc/blog/detail/mplace-sgcmfw00036800.html) |
| **Google Cloud** Marketplace | Open to partnership | three.ws already runs its production stack on Google Cloud Run (`three-ws-api`, us-central1) — a natural fit for Vertex AI and GCP's global CDN. Reach out for co-listing, credits, and joint GTM. |
| **Microsoft Azure** Marketplace | On roadmap | Targeted alongside the AWS/Alibaba rollout. |
@@ -51274,7 +57358,7 @@ Ecosystem directories are the discovery surfaces that L1/L2 communities, chain f
|---|---|---|
| **BNB Chain · Dappbay** | Live | [dappbay.bnbchain.org/detail/three](https://dappbay.bnbchain.org/detail/three) — categories: *AI Agent Launchpad · AI Data · AI Infra*. Announcement: [three.ws Listed on BNB Chain's Dappbay Directory](/blog/three-ws-on-bnb-chain-dappbay.html). |
-Dappbay is BNB Chain's official dApp directory. The listing is about distribution and discovery into BNB Chain's AI dApp audience — three.ws still settles agent payments on Solana, Base, and Polygon via the chain-agnostic [x402 protocol](#sec-456).
+Dappbay is BNB Chain's official dApp directory. The listing is about distribution and discovery into BNB Chain's AI dApp audience — three.ws still settles agent payments on Solana, Base, and Polygon via the chain-agnostic [x402 protocol](#sec-506).
---
@@ -51322,7 +57406,7 @@ Subscribe via RSS to track new listings, integrations, and protocol updates.
---
-<a id="sec-219"></a>
+<a id="sec-261"></a>
> **Source:** `docs/live-docs.md` · [↑ table of contents](#table-of-contents)
@@ -51342,7 +57426,7 @@ Press **Edit**, change something, and press <kbd>⌘</kbd>/<kbd>Ctrl</kbd> +
## Try it: a live avatar
-This is the same embed snippet from the [`<agent-3d>` reference](#sec-443).
+This is the same embed snippet from the [`<agent-3d>` reference](#sec-491).
Press **Run preview** and it renders. Then press **Edit**, swap `michelle.glb`
for `xbot.glb`, and run it again.
@@ -51504,14 +57588,14 @@ cached module.
## Related
-- [`<agent-3d>` Web Component API Reference](#sec-443) — the element most previews render
-- [API reference](#sec-089) — the endpoints most `curl` samples call
-- [Embed and share](#sec-173) — putting an avatar on your own site
-- [MCP tool safety](#sec-226) — the same read/write/irreversible split, applied to agent tools
+- [`<agent-3d>` Web Component API Reference](#sec-491) — the element most previews render
+- [API reference](#sec-094) — the endpoints most `curl` samples call
+- [Embed and share](#sec-180) — putting an avatar on your own site
+- [MCP tool safety](#sec-268) — the same read/write/irreversible split, applied to agent tools
---
-<a id="sec-220"></a>
+<a id="sec-262"></a>
> **Source:** `docs/live-steps.md` · [↑ table of contents](#table-of-contents)
@@ -51694,7 +57778,7 @@ Run `npx vitest run tests/live-steps.test.js` after editing the registry; the su
---
-<a id="sec-221"></a>
+<a id="sec-263"></a>
> **Source:** `docs/make-your-agent.md` · [↑ table of contents](#table-of-contents)
@@ -51711,7 +57795,7 @@ This guide walks you through creating a 3D AI agent in the browser — no code,
Go to [three.ws/start](/start). This is the new-agent wizard.
-You'll be asked to sign in if you haven't already. See [Do I need crypto?](#sec-166) if you're not sure which sign-in option to choose.
+You'll be asked to sign in if you haven't already. See [Do I need crypto?](#sec-173) if you're not sure which sign-in option to choose.
---
@@ -51725,7 +57809,7 @@ The first step of the wizard asks you to choose a body for your agent.
- **Take a selfie** — upload a photo and get a 3D version of yourself in about a minute at [/create/selfie](/create/selfie)
- **Upload a GLB** — any rigged glTF/GLB file works. Drag it into the editor at [/app](/app) or import from a URL
-Not sure what an avatar is vs. what an agent is? Read [Agents vs. Avatars](#sec-069).
+Not sure what an avatar is vs. what an agent is? Read [Agents vs. Avatars](#sec-071).
---
@@ -51761,7 +57845,7 @@ Once you hit **Publish**, your agent gets a live URL: something like `three.ws/a
The wizard also gives you an **embed snippet**: a few lines of HTML you can paste into any webpage to make the agent appear there. You don't need to know HTML to do this — just copy and paste.
-For more on where and how to embed, continue to [Share & embed →](#sec-317)
+For more on where and how to embed, continue to [Share & embed →](#sec-364)
---
@@ -51780,14 +57864,14 @@ Changes take effect immediately — no republishing needed for most settings.
## What's next
-- **Put it on your website** → [Share & embed](#sec-317)
-- **Understand how it all works** → [How it works](#sec-198)
-- **Give the agent a custom skill** → [Create a custom skill](#sec-367)
-- **Make it yours permanently (on-chain)** → [Register on-chain](#sec-397)
+- **Put it on your website** → [Share & embed](#sec-364)
+- **Understand how it all works** → [How it works](#sec-236)
+- **Give the agent a custom skill** → [Create a custom skill](#sec-415)
+- **Make it yours permanently (on-chain)** → [Register on-chain](#sec-445)
---
-<a id="sec-222"></a>
+<a id="sec-264"></a>
> **Source:** `docs/market-data-api.md` · [↑ table of contents](#table-of-contents)
@@ -51907,7 +57991,7 @@ A failed upstream never charges you: the endpoint verifies payment, runs the dat
---
-<a id="sec-223"></a>
+<a id="sec-265"></a>
> **Source:** `docs/marketplace.md` · [↑ table of contents](#table-of-contents)
@@ -51934,7 +58018,7 @@ before anything is granted.
| **Bundle** | — | `purchase-bundle.js` | `skill_purchases` |
Agents can buy on their own behalf, paying from their custodial wallet (see
-[Agent wallets](#sec-068)) with no browser wallet involved:
+[Agent wallets](#sec-070)) with no browser wallet involved:
| Buying | Endpoint | Request |
|---|---|---|
@@ -51991,7 +58075,7 @@ one is issued on the next prepare.
and applied at settlement.
- Seller proceeds route to the seller's configured payout wallet
(`agent_payout_wallets`). A confirmed sale surfaces to the seller as a `sale` /
- `payment-earned` notification (see [Money feed](#sec-238)).
+ `payment-earned` notification (see [Money feed](#sec-280)).
## Access checks
@@ -52041,7 +58125,7 @@ sales and zero exhausted trials before it was found. See
endpoints are complete, but there is not yet a free, paginated "browse all
skills for sale" HTTP endpoint with sort/filter; discovery today is per-agent
(agents themselves are browsable at `GET /api/marketplace/agents`), and the
- paid [`/api/x402/skill-marketplace`](#sec-452) endpoint returns the
+ paid [`/api/x402/skill-marketplace`](#sec-501) endpoint returns the
live skill listing catalog with pricing for $0.001 USDC.
- **Auto-grant.** A confirmed skill purchase is recorded and the license NFT is
minted, but the purchased skill is not automatically attached to the buyer's
@@ -52059,13 +58143,13 @@ their chosen `currency_mint`; the platform promotes no coin other than $THREE.
## Related
-- [Agent wallets](#sec-068) — how agent-side purchases are funded and gated.
-- [Circulation engine](#sec-132) — manufactured marketplace demand.
-- [Skills system](#sec-323), [Coin launches](#sec-135).
+- [Agent wallets](#sec-070) — how agent-side purchases are funded and gated.
+- [Circulation engine](#sec-137) — manufactured marketplace demand.
+- [Skills system](#sec-370), [Coin launches](#sec-140).
---
-<a id="sec-224"></a>
+<a id="sec-266"></a>
> **Source:** `docs/mcp-3d-studio.md` · [↑ table of contents](#table-of-contents)
@@ -52137,7 +58221,7 @@ analyze: inspect_model · optimize_model preview: preview_3d
| `inspect_model(url)` | Structural stats: meshes, triangles, materials, textures, animations, extensions. |
| `optimize_model(url)` | Actionable size/perf suggestions: Draco/Meshopt, KTX2, triangle budget. |
| `preview_3d(glb_url, …)` | Render any public GLB as an interactive `<model-viewer>` artifact (orbit, AR, auto-rotate). |
-| `export_ar(glb_url, title?, kind?)` | Read-only: turn any public GLB into the device-aware AR link set (`arLaunchUrl`, `sceneViewerUrl`, `viewerUrl`, plus `irlUrl` when `kind: "avatar"`) and a [Spatial MCP](#sec-331) artifact. Free. See [AR & WebXR](ar.md#one-tap-ar-for-any-glb--get-apiar--export_ar). |
+| `export_ar(glb_url, title?, kind?)` | Read-only: turn any public GLB into the device-aware AR link set (`arLaunchUrl`, `sceneViewerUrl`, `viewerUrl`, plus `irlUrl` when `kind: "avatar"`) and a [Spatial MCP](#sec-378) artifact. Free. See [AR & WebXR](ar.md#one-tap-ar-for-any-glb--get-apiar--export_ar). |
Generation, rigging, and most mesh ops are **asynchronous**: the tool returns a
`job_id` immediately, then you poll `generation_status` (reconstruction is
@@ -52306,7 +58390,7 @@ npx @modelcontextprotocol/inspector http://localhost:3000/api/mcp-3d
---
-<a id="sec-225"></a>
+<a id="sec-267"></a>
> **Source:** `docs/mcp-agent.md` · [↑ table of contents](#table-of-contents)
@@ -52320,16 +58404,36 @@ Registered with the MCP Registry as **`io.github.nirholas/threews-agent`**.
- **Endpoint:** `https://three.ws/api/mcp-agent`
- **Transport:** Streamable HTTP (MCP `2025-06-18`)
-- **Auth:** OAuth 2.1 (same three.ws authorization server as `/api/mcp`)
+- **Auth:** OAuth 2.1 (same three.ws authorization server as `/api/mcp`), plus the wallet scopes below
- **Money rail:** Solana USDC via the x402 `exact` scheme (`@x402/svm`)
## Tools
-| Tool | What it does |
-|------|--------------|
-| `wallet_status` | Read-only: the user's agent wallet address, SOL + USDC balance, spending caps, and whether spend is enabled. Never moves funds. |
-| `find_services(query, …)` | Search the live x402 facilitator network for paid services to call. |
-| `pay_and_call(resource_url, method?, body?, max_usd?)` | Call a paid x402 endpoint and auto-settle the USDC payment from the user's wallet, within caps. Returns the service response. |
+| Tool | Scope required | What it does |
+|------|----------------|--------------|
+| `getting_started` | none (free, no sign-in) | Overview of the server and its tools. The one tool an unauthenticated client can call. |
+| `wallet_status` | `wallet:read` (or `wallet:write`) | Read-only: the user's agent wallet address, SOL + USDC balance, spending caps, and whether spend is enabled. Never moves funds. |
+| `find_services(query, type?, network?, max_price_usdc?, limit?)` | none beyond sign-in | Search the live x402 facilitator network for paid services to call. `max_price_usdc` accepts 0 to 1,000,000. |
+| `pay_and_call(resource_url, method?, body?, max_usd?)` | `wallet:write` | Call a paid x402 endpoint and auto-settle the USDC payment from the user's wallet, within caps. Returns the service response. |
+| `provision_wallet(agent_id, cluster?, airdrop?)` | `wallet:write` | Create (or return) the custodial Solana wallet for one of your own agents. Idempotent. `airdrop` is devnet only and never fires on mainnet. |
+| `monetize_endpoint(agent_id, name, description, price_usdc, target_url, method?, input_schema?, network?)` | `services:write` | Publish an upstream API you already serve as a priced x402 endpoint. Buyers' USDC settles to your agent's own wallet. |
+
+## Scopes
+
+Every tool above that reads or moves an agent wallet is gated on an OAuth scope,
+so a token minted for something else (an avatar client, say) can never read a
+balance or spend a cent. An under-scoped call returns a designed result naming
+the scope it needs, not a bare JSON-RPC error:
+
+```json
+{ "ok": false, "reason": "insufficient_scope", "required": "wallet:write" }
+```
+
+The three scopes (`wallet:read`, `wallet:write`, `services:write`) are advertised
+in [`/.well-known/oauth-authorization-server`](https://three.ws/.well-known/oauth-authorization-server),
+may be requested by any client (including dynamically-registered ones), and are
+approved by name on the consent screen. Ask for them in the `scope` parameter of
+the authorization request; re-authorize an existing connection to add one.
## How payment works
@@ -52382,13 +58486,13 @@ npx @modelcontextprotocol/inspector http://localhost:3000/api/mcp-agent
---
-<a id="sec-226"></a>
+<a id="sec-268"></a>
> **Source:** `docs/mcp-safety.md` · [↑ table of contents](#table-of-contents)
# MCP tool safety
-Every tool three.ws publishes over the [Model Context Protocol](#sec-230) carries an
+Every tool three.ws publishes over the [Model Context Protocol](#sec-272) carries an
`annotations` block. Those hints are not decoration: an MCP client reads them to
decide whether a tool can run **without stopping to ask the user**. A tool marked
read-only gets executed silently; a tool marked destructive gets a confirmation
@@ -52708,7 +58812,7 @@ All four run in `npm run gate`.
---
-<a id="sec-227"></a>
+<a id="sec-269"></a>
> **Source:** `docs/mcp-studio.md` · [↑ table of contents](#table-of-contents)
@@ -52762,12 +58866,12 @@ store-clean responses (model URLs and job state only). The machine-readable
contract is the OpenAPI schema the platform serves at
[`https://three.ws/.well-known/3d-studio-openapi.yaml`](../public/.well-known/3d-studio-openapi.yaml),
which is what the custom GPT imports; the same endpoint is written up in prose in
-the [API reference](#sec-089). Use the MCP connector above when you
+the [API reference](#sec-094). Use the MCP connector above when you
want inline 3D widgets; the custom GPT covers plans without connector support.
How AR rides both ChatGPT surfaces (the `arUrl` contract, the device-aware
launcher, living avatars, link unfurls) is documented end to end in
-[AR in ChatGPT](#sec-130).
+[AR in ChatGPT](#sec-135).
## Tools
@@ -52821,7 +58925,7 @@ tool call at any tier; see [Pending generations](#pending-generations-check_job)
for how it is collected rather than lost.
One naming collision worth knowing: the npm package `@three-ws/mcp-server`
-([docs](#sec-230)) also ships a tool called `forge_free`. That is a different
+([docs](#sec-272)) also ships a tool called `forge_free`. That is a different
server with its own default (`draft`, stated in its own tool schema). The
default described here is the one for `https://three.ws/api/mcp-studio`.
@@ -52847,9 +58951,9 @@ sculpts into 3D (the forge's image-generation step). The inline widget uses it
as the model-viewer poster so the painted view shows while the GLB streams in,
and the result narration links it for non-widget clients.
-`arUrl` is the one-tap place-in-your-room link (see [AR in ChatGPT](#sec-130)).
+`arUrl` is the one-tap place-in-your-room link (see [AR in ChatGPT](#sec-135)).
Rigged avatars additionally carry `irlUrl`, the living-agent handoff into
-[IRL](#sec-210), and the inline widget's AR button becomes **Bring it to life**.
+[IRL](#sec-252), and the inline widget's AR button becomes **Bring it to life**.
Every result also includes a `spatial` field, the open Spatial MCP artifact
(`specs/SPATIAL_MCP.md`) so any Spatial-MCP renderer can display the model.
@@ -53070,15 +59174,15 @@ CSP entry cannot drift apart.
---
-<a id="sec-228"></a>
+<a id="sec-270"></a>
> **Source:** `docs/mcp-tools.md` · [↑ table of contents](#table-of-contents)
# MCP Tools Catalog
-three.ws ships several [MCP](#sec-230) servers: tool servers that AI assistants
+three.ws ships several [MCP](#sec-272) servers: tool servers that AI assistants
(Claude, ChatGPT, any MCP client) can call directly. One is free and 3D-only; the
-others expose paid tools that settle per call in USDC over [x402](#sec-456). This
+others expose paid tools that settle per call in USDC over [x402](#sec-506). This
page explains how the servers are grouped and how the paid ones charge.
> **Looking for a specific tool?** The complete, always-current list lives at
@@ -53117,7 +59221,7 @@ the read-only studio helpers below.
A free, non-crypto MCP server for the ChatGPT App Directory and any MCP client. It
exposes **only** 3D generation/inspection — no account, no payment, no token. See
-[3D Studio MCP](#sec-227).
+[3D Studio MCP](#sec-269).
## Material Studio (hosted, free) — `/api/material-studio`
@@ -53160,7 +59264,7 @@ and direction tools are flat per call.
Free studio helpers (no charge): `getting_started`, `generation_status`,
`preview_3d`, `list_animations`, `inspect_model`, `optimize_model`, `save_avatar`,
-`validate_spatial_response` (the [Spatial MCP](#sec-331) conformance gate).
+`validate_spatial_response` (the [Spatial MCP](#sec-378) conformance gate).
## Agent & commerce tools — `3d-agent-local`
@@ -53203,9 +59307,9 @@ generation lane**; the rest are paid and quote their price in the
| Server | File | Surface |
|---|---|---|
| Agent MCP | `api/mcp-agent.js` | Agent build/control tools. |
-| Bazaar MCP | `api/mcp-bazaar.js` | x402 service discovery — see [x402 bazaar](#sec-229). |
-| IBM MCP | `api/ibm-mcp.js` | watsonx / Granite integration — see [IBM](#sec-205). |
-| pump.fun MCP | `api/pump-fun-mcp.js` | Launch/trade tools — see [Solana pump.fun](#sec-328). |
+| Bazaar MCP | `api/mcp-bazaar.js` | x402 service discovery — see [x402 bazaar](#sec-271). |
+| IBM MCP | `api/ibm-mcp.js` | watsonx / Granite integration — see [IBM](#sec-246). |
+| pump.fun MCP | `api/pump-fun-mcp.js` | Launch/trade tools — see [Solana pump.fun](#sec-375). |
## $THREE only
@@ -53216,16 +59320,16 @@ promote no specific token.
## Related
-- [MCP](#sec-230) overview · [3D Studio MCP](#sec-227) ·
- [3D Studio (paid)](#sec-224) · [x402 bazaar](#sec-229)
-- [x402 paid endpoints](#sec-452) — the same capabilities over REST.
-- [MCP tool safety](#sec-226) - what each tool's safety annotations mean,
+- [MCP](#sec-272) overview · [3D Studio MCP](#sec-269) ·
+ [3D Studio (paid)](#sec-266) · [x402 bazaar](#sec-271)
+- [x402 paid endpoints](#sec-501) — the same capabilities over REST.
+- [MCP tool safety](#sec-268) - what each tool's safety annotations mean,
and the build check that verifies them against the code.
- [The full catalog](/mcp-tools) - every tool, searchable by safety and price.
---
-<a id="sec-229"></a>
+<a id="sec-271"></a>
> **Source:** `docs/mcp-x402-bazaar.md` · [↑ table of contents](#table-of-contents)
@@ -53300,7 +59404,7 @@ npx @modelcontextprotocol/inspector http://localhost:3000/api/mcp-bazaar
---
-<a id="sec-230"></a>
+<a id="sec-272"></a>
> **Source:** `docs/mcp.md` · [↑ table of contents](#table-of-contents)
@@ -53364,7 +59468,7 @@ There are two kinds. **Hosted remote servers** run over Streamable HTTP with not
| 3D Studio (free) | `/api/mcp-studio` | Free text/image→3D and rigged avatars — no auth, no payment |
| Agent wallet | `/api/mcp-agent` | The agent's custodial wallet: balance, find + pay services, and `monetize_endpoint` |
| x402 Bazaar | `/api/mcp-bazaar` | Discover and price paid agent services across the facilitator network |
-| pump.fun | `/api/pump-fun-mcp` | Free, read-only pump.fun + Solana token tools |
+| pump.fun | `/api/pump-fun-mcp` | Free pump.fun + Solana token tools; `pumpfun_upload_metadata` needs a key |
| IBM x402 | `/api/ibm-mcp` | Pay-per-use IBM Granite AI |
**Thirty-seven install-and-run servers** on npm under the `@three-ws` scope — each runs over stdio with one command:
@@ -53383,6 +59487,7 @@ npx -y @three-ws/x402-mcp # self-custodial wallet: find, inspect & pay a
npx -y @three-ws/three-token-mcp # price, hold, and burn $THREE on Solana
npx -y @three-ws/mcp-bridge # bridge that pays any x402 endpoint on the open web
npx -y @three-ws/ibm-x402-mcp # pay-per-use IBM Granite AI
+npx -y @three-ws/agentcore-payments-mcp # pay x402 endpoints from a governed budget, no private key
# Market data, intel & discovery
npx -y @three-ws/intel-mcp # smart-money, signal feeds, KOL & copy-trade intel
@@ -53418,6 +59523,7 @@ npx -y @three-ws/activity-mcp # trending agents/coins, $THREE holder board
npx -y @three-ws/vision-mcp # analyze & describe images via the three.ws vision pipeline
npx -y @three-ws/brain-mcp # run any LLM through the multi-provider router
npx -y @three-ws/audio-mcp # TTS, STT, audio-to-face lipsync & motion-capture clips
+npx -y @three-ws/alibaba-cloud-mcp # Qwen chat + embeddings on your own DashScope key
# Coordination, gaming & learning
npx -y @three-ws/agenc-mcp # AgenC on-chain task marketplace + agent registry
@@ -53445,8 +59551,8 @@ Ready-to-submit listing packages for each directory, plus the canonical metadata
Deep dives — every tool, argument, env var, and example:
-- **Hosted remote:** [3D Studio (free)](#sec-227) · [3D Studio (paid)](#sec-224) · [Agent wallet](#sec-225) · [x402 Bazaar](#sec-229) · [IBM x402](#sec-204)
-- **Install-and-run:** each npm server ships its usage guide (tools, arguments, env vars, examples) in its package README on [npmjs.com/org/three-ws](https://www.npmjs.com/org/three-ws). The [MCP Tools Catalog](#sec-228) maps every tool to its server and price.
+- **Hosted remote:** [3D Studio (free)](#sec-269) · [3D Studio (paid)](#sec-266) · [Agent wallet](#sec-267) · [x402 Bazaar](#sec-271) · [IBM x402](#sec-245)
+- **Install-and-run:** each npm server ships its usage guide (tools, arguments, env vars, examples) in its package README on [npmjs.com/org/three-ws](https://www.npmjs.com/org/three-ws). The [MCP Tools Catalog](#sec-270) maps every tool to its server and price.
---
@@ -53834,13 +59940,13 @@ Turn an avatar or on-chain agent **you own** into a holder-only interactive 3D e
}
```
-The `structuredContent` returns `gate_id`, `asset_id`, `gate` (`mint`, `min_amount`, `chain`), and `embed_snippet` — a ready-to-paste `<script>` + `<three-d>` tag. See [Token-gated 3D embeds](#sec-343) for the full verification flow, the anti-abuse token/rate-limit design, and how visitors unlock the embed.
+The `structuredContent` returns `gate_id`, `asset_id`, `gate` (`mint`, `min_amount`, `chain`), and `embed_snippet` — a ready-to-paste `<script>` + `<three-d>` tag. See [Token-gated 3D embeds](#sec-390) for the full verification flow, the anti-abuse token/rate-limit design, and how visitors unlock the embed.
---
### `crypto_data`
-Call any endpoint in the free [Crypto Data API](#sec-089) (the same aggregator behind `GET /api/v1/x/*`: DEX pairs, CoinGecko/DefiLlama market data, Jupiter Solana prices and swap quotes, direct Solana RPC reads) as an MCP tool call. The tool description is generated from the live provider registry at call time, so it always lists exactly the provider/endpoint pairs registered on this deployment — nothing hand-enumerated to drift out of date.
+Call any endpoint in the free [Crypto Data API](#sec-094) (the same aggregator behind `GET /api/v1/x/*`: DEX pairs, CoinGecko/DefiLlama market data, Jupiter Solana prices and swap quotes, direct Solana RPC reads) as an MCP tool call. The tool description is generated from the live provider registry at call time, so it always lists exactly the provider/endpoint pairs registered on this deployment — nothing hand-enumerated to drift out of date.
```json
{
@@ -53855,7 +59961,7 @@ Call any endpoint in the free [Crypto Data API](#sec-089) (the same aggregator b
}
```
-An unknown `provider`/`endpoint` pair returns an error result listing every valid pair. A registered endpoint marked free runs within the same per-IP quota the REST free lane enforces — no wallet needed. An endpoint with no free tier, or a free quota you've exhausted, returns a JSON-RPC `-32402` error naming the exact REST URL and USDC price to pay via [x402](#sec-456) — never a second, MCP-only payment flow.
+An unknown `provider`/`endpoint` pair returns an error result listing every valid pair. A registered endpoint marked free runs within the same per-IP quota the REST free lane enforces — no wallet needed. An endpoint with no free tier, or a free quota you've exhausted, returns a JSON-RPC `-32402` error naming the exact REST URL and USDC price to pay via [x402](#sec-506) — never a second, MCP-only payment flow.
```bash
# Equivalent to: GET /api/v1/x/dexscreener/token?addresses=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump
@@ -54123,7 +60229,7 @@ Contributors: `npm run audit:mcp-safety` enforces this. It parses each tool's ha
---
-<a id="sec-231"></a>
+<a id="sec-273"></a>
> **Source:** `docs/media-api.md` · [↑ table of contents](#table-of-contents)
@@ -54634,8 +60740,12 @@ curl -s 'https://three.ws/api/avatars/library?limit=24&offset=0'
**`GET /api/objects/library`** is the same manifest pattern for the CC0 3D
prop library: free, commercial-OK objects (Poly Haven and other CC0 sources)
-staged as web-ready GLBs. Identical pagination (`?limit=1..1000`,
-`?offset=`), identical empty-until-staged behavior, no auth.
+staged as web-ready GLBs. Same pagination (`?limit=1..1000`, `?offset=`),
+same empty-until-staged behavior, no auth. One difference from the character
+library: this endpoint validates the cursors strictly, so a malformed
+`?limit`/`?offset` returns `400 invalid_limit` / `400 invalid_offset` instead
+of being coerced into a page. See [the object library doc](#sec-292)
+for the full parameter table.
### Response
@@ -54976,13 +61086,13 @@ curl -s 'https://three.ws/api/forge-rembg?job=JOB_ID'
## Related
- [3D API](#sec-001) - the core free text-to-3D lane, model inspection, and the paid Forge Pro tiers
-- [Image to 3D](#sec-206) - the photo-input reconstruction product these front doors feed
-- [Voice Lab](#sec-441) - voice cloning and synthesis, the other half of the avatar voice loop
-- [API Reference](#sec-089) - the full three.ws HTTP API surface
+- [Image to 3D](#sec-247) - the photo-input reconstruction product these front doors feed
+- [Voice Lab](#sec-489) - voice cloning and synthesis, the other half of the avatar voice loop
+- [API Reference](#sec-094) - the full three.ws HTTP API surface
---
-<a id="sec-232"></a>
+<a id="sec-274"></a>
> **Source:** `docs/memetic-launcher.md` · [↑ table of contents](#table-of-contents)
@@ -55068,12 +61178,12 @@ POST /api/launcher/me { "action": "resume" } → clear a tripped circuit brea
## Related surfaces
- [/launches](https://three.ws/launches) — every coin launched through three.ws, including yours.
-- [docs/pump-launcher.md](#sec-280) — the x402 paid one-shot launcher (`/api/x402/pump-launch`), a different surface: one coin per paid call, platform-fronted.
+- [docs/pump-launcher.md](#sec-326) — the x402 paid one-shot launcher (`/api/x402/pump-launch`), a different surface: one coin per paid call, platform-fronted.
- `api/_lib/launcher-engine.js` — the shared engine both scopes run on (cron: `/api/cron/launcher-tick`).
---
-<a id="sec-233"></a>
+<a id="sec-275"></a>
> **Source:** `docs/memory.md` · [↑ table of contents](#table-of-contents)
@@ -55459,8 +61569,24 @@ In `ipfs` mode without encryption, treat the memory as semi-public. Don't store
---
+## Seeding memory from an existing account
+
+A brand-new agent starts with nothing to remember. Three consent-gated lanes fill
+that gap from an account the user already has, each writing rows into the same
+store described above and each revocable by deleting exactly what it wrote:
+
+| Source | Endpoint | Ownership proof |
+|---|---|---|
+| Farcaster | `/api/agents/:id/memory/seed/farcaster` | Wallet signature against the fid's public verifications. See [Farcaster memory seeding](/docs/farcaster-memory-seeding). |
+| X | `/api/agents/:id/memory/seed/x` | OAuth connection on the user's account. See [X memory seeding](/docs/x-memory-seeding). |
+| GitHub | `/api/agents/:id/memory/seed/github` | OAuth connection on the user's account |
+
+---
+
## Related
+- [Farcaster memory seeding](/docs/farcaster-memory-seeding): consent-first seeding from your casts, proved with a Solana wallet
+- [X memory seeding](/docs/x-memory-seeding): consent-first seeding from your public posts, revocable with deletion
- [Create, enhance & edit agent memory](/docs/tutorials/create-and-edit-memory): the hands-on tutorial
- [Agent system](/docs/agent-system): how memory feeds the LLM runtime
- [Skills](/docs/skills): the `ctx.memory` API skills use
@@ -55468,7 +61594,7 @@ In `ipfs` mode without encryption, treat the memory as semi-public. Don't store
---
-<a id="sec-234"></a>
+<a id="sec-276"></a>
> **Source:** `docs/meta-allocator.md` · [↑ table of contents](#table-of-contents)
@@ -55562,14 +61688,14 @@ plan `source` is `"empty"` with a helpful message instead of an error.
## Related
-- [Trader Card & the claim-your-wallet wedge](#sec-344)
-- [The trading surfaces](#sec-350) · [/vaults](https://three.ws/vaults) (copy-trade with custody guardrails)
-- [Clip Director: every trade becomes content](#sec-134)
-- [Financial controls & custody guardrails](#sec-180)
+- [Trader Card & the claim-your-wallet wedge](#sec-392)
+- [The trading surfaces](#sec-398) · [/vaults](https://three.ws/vaults) (copy-trade with custody guardrails)
+- [Clip Director: every trade becomes content](#sec-139)
+- [Financial controls & custody guardrails](#sec-216)
---
-<a id="sec-235"></a>
+<a id="sec-277"></a>
> **Source:** `docs/mint-mark.md` · [↑ table of contents](#table-of-contents)
@@ -55695,13 +61821,13 @@ No other mint should appear in tests, fixtures, or documentation.
## Related
-- [Solana agents](#sec-330) — agent wallet management and on-chain interactions
-- [Solana pump.fun signals](#sec-328) — pump.fun live feed integration
-- [ERC-8004](#sec-175) — on-chain agent registry (uses the same brand metadata builder)
+- [Solana agents](#sec-377) — agent wallet management and on-chain interactions
+- [Solana pump.fun signals](#sec-375) — pump.fun live feed integration
+- [ERC-8004](#sec-182) — on-chain agent registry (uses the same brand metadata builder)
---
-<a id="sec-236"></a>
+<a id="sec-278"></a>
> **Source:** `docs/minted.md` · [↑ table of contents](#table-of-contents)
@@ -55709,7 +61835,7 @@ No other mint should appear in tests, fixtures, or documentation.
[three.ws/minted](https://three.ws/minted) is the live, public gallery of every generated or owned avatar that a creator chose to mint as a **Metaplex Core NFT** through three.ws. It is the NFT counterpart of the `/launches` coin directory: real on-chain property, listed the moment it mints. Every card renders the actual model in a live, auto-rotating 3D viewer (not a flat thumbnail), and every asset carries baked provenance and an enforced, capped creator royalty. Minting is always opt-in: the free text-to-3D lane never mints anything on its own.
-This doc covers the gallery surface and the mint flow as a user-facing feature. The provenance internals live in their own docs: [content credentials for AI-generated models](#sec-277) (signed credentials, Solana anchoring, the free verify endpoint) and [the three.ws mint mark](#sec-235) (the `3ws` address branding on coin launches).
+This doc covers the gallery surface and the mint flow as a user-facing feature. The provenance internals live in their own docs: [content credentials for AI-generated models](#sec-323) (signed credentials, Solana anchoring, the free verify endpoint) and [the three.ws mint mark](#sec-277) (the `3ws` address branding on coin launches).
## The gallery
@@ -55741,7 +61867,7 @@ curl "https://three.ws/api/v1/tokenized/launches?network=mainnet&offset=0&limit=
## How a mint works
-Minting runs through the `mint_3d_asset` tool on the [3D Studio MCP server](#sec-230). It is priced per call via x402 (USDC); an OAuth bearer token bypasses payment. A creator supplies:
+Minting runs through the `mint_3d_asset` tool on the [3D Studio MCP server](#sec-272). It is priced per call via x402 (USDC); an OAuth bearer token bypasses payment. A creator supplies:
- **The model:** an owned `avatar_id`, or any absolute `glb_url`.
- **The recipient:** an explicit `owner_wallet` (base58), or the OAuth-linked Solana wallet by default.
@@ -55764,7 +61890,7 @@ Every mint carries its provenance twice:
- **In the NFT metadata itself:** creator, prompt, generation model and provider, parent lineage, and timestamp travel with the asset wherever it goes.
- **As a signed record on the platform's append-only agent-actions ledger** (when the source avatar has a provisioned agent to sign as): an independently verifiable entry, referenced in the mint response and queryable via the MCP action tools. This write is best-effort and never blocks a mint that already succeeded on-chain.
-For how signed credentials, canonical hashing, and on-chain anchoring work under the hood, read [provenance.md](#sec-277). For the `3ws` address mark that brands coin launches, read [mint-mark.md](#sec-235).
+For how signed credentials, canonical hashing, and on-chain anchoring work under the hood, read [provenance.md](#sec-323). For the `3ws` address mark that brands coin launches, read [mint-mark.md](#sec-277).
### Remix royalties: paid the moment a remix mints
@@ -55778,14 +61904,14 @@ The companion MCP tool `get_3d_asset_onchain` resolves any Core mint address to
## Related
-- [Verifiable 3D provenance](#sec-277): signed content credentials and free verification for generated models
-- [The three.ws mint mark](#sec-235): the `3ws` address brand on coin launches
-- [MCP servers](#sec-230): the `mint_3d_asset` and `get_3d_asset_onchain` tools
-- [Custody you can verify](#sec-158): the wallet rails behind agent-held assets
+- [Verifiable 3D provenance](#sec-323): signed content credentials and free verification for generated models
+- [The three.ws mint mark](#sec-277): the `3ws` address brand on coin launches
+- [MCP servers](#sec-272): the `mint_3d_asset` and `get_3d_asset_onchain` tools
+- [Custody you can verify](#sec-165): the wallet rails behind agent-held assets
---
-<a id="sec-237"></a>
+<a id="sec-279"></a>
> **Source:** `docs/mocap-studio.md` · [↑ table of contents](#table-of-contents)
@@ -55843,18 +61969,29 @@ The clip format saved is the object `FaceMocap` records: `{ format, duration, fr
```bash
# List your clips plus public ones.
curl 'https://three.ws/api/mocap/clips?include_public=true&limit=30' \
- -H 'cookie: <session>'
+ -H 'authorization: Bearer <api key>'
-# Save a recorded clip (visibility: private | unlisted | public).
+# Save a recorded clip (visibility: private | unlisted | public). `format` must
+# be one of three.ws.face-mocap.v1 / pose-mocap.v1 / hand-mocap.v1 / vmc.v1, and
+# each frame is { t, shapes, mat? } where shapes maps a channel name to a weight.
curl -X POST 'https://three.ws/api/mocap/clips' \
- -H 'content-type: application/json' -H 'cookie: <session>' \
+ -H 'content-type: application/json' -H 'authorization: Bearer <api key>' \
-d '{"name":"eyebrow-raise","visibility":"public","tags":["face"],
- "clip":{"format":"arkit52","duration":3.2,"frames":[{"t":0,"shapes":[0,0,0]}]}}'
+ "clip":{"format":"three.ws.face-mocap.v1","duration":3.2,
+ "frames":[{"t":0,"shapes":{"browOuterUpLeft":0.0,"browOuterUpRight":0.0}},
+ {"t":0.5,"shapes":{"browOuterUpLeft":0.8,"browOuterUpRight":0.8}}]}}'
-# Fetch one clip by id to replay it.
-curl 'https://three.ws/api/mocap/clips/<clipId>' -H 'cookie: <session>'
+# Fetch one clip to replay it. The path segment takes either the clip UUID or
+# its slug; a slug resolves to your own clip first, then to a public one.
+curl 'https://three.ws/api/mocap/clips/eyebrow-raise' \
+ -H 'authorization: Bearer <api key>'
```
+A bearer API key is the simplest way to call these from a script. The same
+endpoints accept a browser session cookie instead, but every write then also
+needs a single-use `X-CSRF-Token` header from `GET /api/csrf-token`, which is
+what the page itself sends.
+
## States & limits
- **Camera permission is required.** The whole pipeline depends on webcam access; nothing captures until you grant it. The video is processed locally in the browser to drive the avatar.
@@ -55866,14 +62003,14 @@ curl 'https://three.ws/api/mocap/clips/<clipId>' -H 'cookie: <session>'
## Related
-- [Avatar Studio](#sec-107): build the avatar you drive here.
-- [Animation Studio](#sec-087): body posing and keyframed motion, the complement to facial capture.
-- [Animations reference](#sec-088): how captured and authored motion fit the platform's clip registry.
+- [Avatar Studio](#sec-112): build the avatar you drive here.
+- [Animation Studio](#sec-090): body posing and keyframed motion, the complement to facial capture.
+- [Animations reference](#sec-091): how captured and authored motion fit the platform's clip registry.
- [/create](https://three.ws/create): make or import the avatar to perform with.
---
-<a id="sec-238"></a>
+<a id="sec-280"></a>
> **Source:** `docs/money-feed.md` · [↑ table of contents](#table-of-contents)
@@ -55887,7 +62024,7 @@ event lives.
> Not to be confused with the **personal activity feed** on `/feed`
> (`GET /api/users/me/feed`) — that one shows who created what and who followed
-> whom, and is documented in [The social layer](#sec-327). This page is
+> whom, and is documented in [The social layer](#sec-374). This page is
> about value movement only. The two share a URL word ("feed") and nothing else.
---
@@ -55923,7 +62060,7 @@ fixed allow-list of types:
| `level-up`, `world-join`, `jackpot`, `mission-complete` | Play / world events. |
| `member-join` | A person signed in (throttled to once per user per 6h). |
| `agent-guard` | An autonomous buy was refused by a safety rule (`agentId`, `mint`, `reason`, `label`). |
-| `agora-registered`, `agora-task-posted`, `agora-hired`, `agora-task-claimed`, `agora-task-completed`, `agora-earned`, `agora-vouched`, `agora-flagged` | [Agora](#sec-071) on-chain economy lifecycle events. |
+| `agora-registered`, `agora-task-posted`, `agora-hired`, `agora-task-claimed`, `agora-task-completed`, `agora-earned`, `agora-vouched`, `agora-flagged` | [Agora](#sec-073) on-chain economy lifecycle events. |
The ticker is a **curated delight layer**, not an exhaustive log: an event only
appears if a caller explicitly published it with an allow-listed type. Internal
@@ -55950,19 +62087,19 @@ Each row carries: `agent_id`, `user_id`, `event_type` (e.g. `spend`),
`reason`, `status`, an `idempotency_key`, an optional `capability_id`, and a
`meta` JSON blob. Spends pass through the
spend-cap and policy engine before they are recorded (see
-[Agent wallets](#sec-068)).
+[Agent wallets](#sec-070)).
## What flows in from where
| Producer | Ledger? | Ticker? | Domain record |
|---|---|---|---|
-| [Circulation engine](#sec-132) tips/payments/trades/buys | Yes | Trades/launches via pump feed | `circulation_actions` + domain table |
-| [Marketplace](#sec-223) skill/asset purchase | Yes | `payment` / `sale` | `skill_purchases` / `asset_purchases` |
-| [Coin launches](#sec-135) | Yes | `coin-buy` / `agent-deploy` | `pump_agent_mints` |
+| [Circulation engine](#sec-137) tips/payments/trades/buys | Yes | Trades/launches via pump feed | `circulation_actions` + domain table |
+| [Marketplace](#sec-265) skill/asset purchase | Yes | `payment` / `sale` | `skill_purchases` / `asset_purchases` |
+| [Coin launches](#sec-140) | Yes | `coin-buy` / `agent-deploy` | `pump_agent_mints` |
| Sniper trades | Yes (`category: 'snipe'`) | — | `agent_sniper_positions` |
-| [Autonomous x402 loop](#sec-098) | Yes (`category: 'x402'`) | — | `x402_autonomous_log` |
+| [Autonomous x402 loop](#sec-103) | Yes (`category: 'x402'`) | — | `x402_autonomous_log` |
| x402 service payments | Yes | `payment` | — |
-| [Agora](#sec-071) tasks | On settlement | `agora-*` | on-chain |
+| [Agora](#sec-073) tasks | On settlement | `agora-*` | on-chain |
## Reading the feed programmatically
@@ -55994,14 +62131,14 @@ The same bus powers surfaces that are not tickers at all:
## Related
-- [Circulation engine](#sec-132) — the largest producer of activity.
-- [Autonomous x402 loop](#sec-098) — treasury-paid intel purchases.
-- [Agent wallets](#sec-068) — how spends are gated before they're recorded.
-- [x402 revenue & receipts](#sec-453) — the *other* direction: money paid **to** our endpoints (`x402_audit_log`), not agent spend.
+- [Circulation engine](#sec-137) — the largest producer of activity.
+- [Autonomous x402 loop](#sec-103) — treasury-paid intel purchases.
+- [Agent wallets](#sec-070) — how spends are gated before they're recorded.
+- [x402 revenue & receipts](#sec-502) — the *other* direction: money paid **to** our endpoints (`x402_audit_log`), not agent spend.
---
-<a id="sec-239"></a>
+<a id="sec-281"></a>
> **Source:** `docs/money-flow-map.md` · [↑ table of contents](#table-of-contents)
@@ -56227,14 +62364,14 @@ covering it there. Keep the ordering discipline in `classifyRole`: a rule goes
## Related
-- [Money Pulse](#sec-238): the event stream these edges are aggregated from.
-- [Circulation engine](#sec-132): what generates most of this
+- [Money Pulse](#sec-280): the event stream these edges are aggregated from.
+- [Circulation engine](#sec-137): what generates most of this
activity.
- [Agent economy volume](#sec-051): the per-agent totals, ranked.
---
-<a id="sec-240"></a>
+<a id="sec-282"></a>
> **Source:** `docs/money-map.md` · [↑ table of contents](#table-of-contents)
@@ -56245,8 +62382,8 @@ wallet receives each kind of payment, what share the platform keeps, and which
treasury pays it forward. If you're adding a paid surface or auditing revenue,
start here.
-Companion docs: [x402 endpoints](#sec-452) (the paid endpoint catalog),
-[x402 revenue & receipts](#sec-453) (how settlements are recorded),
+Companion docs: [x402 endpoints](#sec-501) (the paid endpoint catalog),
+[x402 revenue & receipts](#sec-502) (how settlements are recorded),
[Solana signers runbook](../api/_lib/solana-signers.js) (the
signer/funder wallets and how to fund them).
@@ -56286,7 +62423,7 @@ Every engine signs from its **own** keypair; a single **funding root** tops thos
signers up with SOL when they run low, and does nothing else. Documented in full —
encodings, minimum balances, guards, funding tool — in the
[Solana signers runbook](../api/_lib/solana-signers.js) and the
-[economy master](#sec-169) subsystem doc.
+[economy master](#sec-176) subsystem doc.
| Wallet | Role |
| ------ | ---- |
@@ -56346,7 +62483,7 @@ unit economics.
[ring catalog](../api/_lib/x402/ring-catalog.js), the single source of truth)
across intel/oracle, agent/reputation, generation/3D, launch/naming/utility,
club, avatar shop, and bazaars. Full list and prices:
- [x402 endpoints](#sec-452).
+ [x402 endpoints](#sec-501).
- **Paid MCP tools** —
- Main MCP ([api/mcp.js](../api/mcp.js), pricing `api/_lib/pump-pricing.js`):
`mint_3d_asset` $0.25, `retexture_model` $0.10, `optimize_model` $0.05,
@@ -56366,9 +62503,9 @@ unit economics.
in the on-chain ASP record, not in repo code** — update it here if the ASP
registration changes.
- **Marketplace skills** — agent skill marketplace over Solana Pay
- ([api/marketplace/](../api/marketplace)); see [marketplace skills](#sec-429).
+ ([api/marketplace/](../api/marketplace)); see [marketplace skills](#sec-477).
- **Labor market** — bounty/escrow jobs with worker + author-royalty settlement; see
- [labor market](#sec-214).
+ [labor market](#sec-256).
- **Other** — vanity bounties, forge REST ([api/x402/forge.js](../api/x402/forge.js)),
subscriptions, credit deposits.
@@ -56378,7 +62515,7 @@ unit economics.
Engines that move money on their own (cron/worker driven) draw from the signer
wallets, not the receivers — and each signer is kept funded by the
-[economy master](#sec-169) via the `treasury-topup` cron (every 30 min,
+[economy master](#sec-176) via the `treasury-topup` cron (every 30 min,
allowlist-guarded, reserve/per-engine/per-run caps). Which wallet funds which
engine and minimum balances are in the
[Solana signers runbook](../api/_lib/solana-signers.js). The
@@ -56414,23 +62551,23 @@ Guardrails on outflow: the economy master is funder-only with reserve/per-transf
per-run caps and a registry allowlist; the ring can only settle to allowlisted
wallets (anti-drain gate); the sniper auto-funder moves money only for strategies
that set `auto_fund_enabled = true` (default off). See
-[financial-controls.md](#sec-180) for the full register.
+[financial-controls.md](#sec-216) for the full register.
## Related
-- [Financial controls & audit register](#sec-180) — every ledger's integrity, reconciliation, retention, monitoring, and the ranked gap list.
-- [x402 endpoints](#sec-452) — the paid endpoint catalog and price overrides.
-- [x402 revenue & receipts](#sec-453) — where settlements are recorded.
-- [x402 ring economy](#sec-454) — the internal recirculation loop.
-- [Pump platform fee](#sec-281) — the pump trade fee detail.
-- [Coin-launch wallets](#sec-431) — launch-time wallet flow.
+- [Financial controls & audit register](#sec-216) — every ledger's integrity, reconciliation, retention, monitoring, and the ranked gap list.
+- [x402 endpoints](#sec-501) — the paid endpoint catalog and price overrides.
+- [x402 revenue & receipts](#sec-502) — where settlements are recorded.
+- [x402 ring economy](#sec-503) — the internal recirculation loop.
+- [Pump platform fee](#sec-327) — the pump trade fee detail.
+- [Coin-launch wallets](#sec-479) — launch-time wallet flow.
- [Creator revenue splits](../api/_lib/cosmetics-economy.js) — `recordSaleAndSplit`: the cosmetic split math and its real USDC payout.
-- [Agent wallet custody](#sec-068) — how custodial keys are held.
+- [Agent wallet custody](#sec-070) — how custodial keys are held.
- [Solana signers runbook](../api/_lib/solana-signers.js) — signer/funder wallets + funding.
---
-<a id="sec-241"></a>
+<a id="sec-283"></a>
> **Source:** `docs/monitor.md` · [↑ table of contents](#table-of-contents)
@@ -56555,7 +62692,7 @@ board a lie.
avatar cam while it works
- [Money Pulse](https://three.ws/pulse): the full event feed with filters and
per-agent views
-- [Money Flow Map](#sec-239): the topology behind the totals, who
+- [Money Flow Map](#sec-281): the topology behind the totals, who
pays whom
- [Agent Economy Volume](https://three.ws/agent-economy-volume): the long-window
agent-to-agent hire ledger
@@ -56563,7 +62700,7 @@ board a lie.
---
-<a id="sec-242"></a>
+<a id="sec-284"></a>
> **Source:** `docs/motion-swap.md` · [↑ table of contents](#table-of-contents)
@@ -56598,11 +62735,15 @@ the original subject beneath the avatar.
Three stages, split between one CPU worker and your browser:
1. **Track (server).** MediaPipe PoseLandmarker follows 33 body landmarks
- through every frame; MediaPipe ImageSegmenter produces a per-frame person
- mask. Both models are Apache-2.0 and run without a GPU.
+ through every frame, MediaPipe HandLandmarker follows 21 landmarks on each
+ hand, and MediaPipe ImageSegmenter produces a per-frame person mask. All
+ three models are Apache-2.0 and run without a GPU.
2. **Solve (server).** An in-house solver
(`workers/model-video2motion/pose_solver.py`) converts the landmark
- sequence into local joint rotations on the canonical Wolf3D skeleton and
+ sequence into local joint rotations on the canonical Wolf3D skeleton,
+ including wrist orientation taken from the palm and all 30 finger bones
+ when your hands are in frame (a frame that loses hand tracking holds the
+ previous handshape rather than snapping flat), and
emits a standard three.js `AnimationClip` JSON — the same format the
[animation library](https://three.ws/animations) serves, so the clip
retargets onto any rigged avatar with the platform's existing engine.
@@ -56645,11 +62786,11 @@ its error state.
- [/capture](https://three.ws/capture) — video → 3D point cloud (scene, not person)
- [/animations](https://three.ws/animations) — the clip library the output format matches
-- [docs/animations.md](#sec-088) · [docs/avatar-reconstruction.md](#sec-106)
+- [docs/animations.md](#sec-091) · [docs/avatar-reconstruction.md](#sec-111)
---
-<a id="sec-243"></a>
+<a id="sec-285"></a>
> **Source:** `docs/multi-agent.md` · [↑ table of contents](#table-of-contents)
@@ -56987,7 +63128,7 @@ To extend this into a full turn-based scene, add a `brain` attribute to Mira wit
---
-<a id="sec-244"></a>
+<a id="sec-286"></a>
> **Source:** `docs/native-launchpad.md` · [↑ table of contents](#table-of-contents)
@@ -56997,7 +63138,7 @@ three.ws has always been able to launch a coin for an agent. Until now, every on
This document covers the second lane: **the native launchpad**, a coin launch that runs on a bonding curve three.ws configures and owns. Same launch button, same 3D agent identity attached to the coin, different economics underneath.
-Related surfaces: [the pump.fun lane](#sec-089) (`/api/pump/*`), [agent wallets](#sec-068) (custody), and [the launch page](https://three.ws/launch).
+Related surfaces: [the pump.fun lane](#sec-094) (`/api/pump/*`), [agent wallets](#sec-070) (custody), and [the launch page](https://three.ws/launch).
---
@@ -57116,7 +63257,7 @@ All public, no auth:
- `GET /api/native-launch/config[?network=]` — the lane's live economics and whether it is deployed. This is what the launch UI renders, so the fee story on the page always comes from the same source as the on-chain config.
- `GET /api/native-launch/pool?mint=…[&network=]` — pool address, curve progress (0..1), SOL raised, graduation threshold, migration status.
- `GET /api/native-launch/quote?mint=…&sol_in=…[&network=]` — a live buy quote off the curve: tokens out, minimum out, and the fee breakdown.
-- `GET /api/native-launch/launches[?network=&agent_id=&limit=&offset=]` — the native launch directory, each row carrying its agent and avatar thumbnail.
+- `GET /api/native-launch/launches[?network=&agent_id=&limit=&offset=]`: the native launch directory, each row carrying its agent and avatar thumbnail. `agent_id` must be a uuid: anything else answers `400 validation_error` instead of reaching the database. `limit` is clamped to 1..100 (default 24), `offset` to a non-negative integer.
---
@@ -57182,7 +63323,7 @@ Stated plainly, because a half-built feature that claims to be finished is worse
---
-<a id="sec-245"></a>
+<a id="sec-287"></a>
> **Source:** `docs/news-rights.md` · [↑ table of contents](#table-of-contents)
@@ -57276,11 +63417,11 @@ Three rules, in order of importance:
- [`api/_lib/news-rights.js`](../api/_lib/news-rights.js) — the implementation
- [`scripts/news-takedown-purge.mjs`](../scripts/news-takedown-purge.mjs) — the purge tool
-- [Market Data API](#sec-222) — the paid market endpoints, including archive search
+- [Market Data API](#sec-264) — the paid market endpoints, including archive search
---
-<a id="sec-246"></a>
+<a id="sec-288"></a>
> **Source:** `docs/notifications.md` · [↑ table of contents](#table-of-contents)
@@ -57561,7 +63702,7 @@ one click from the gear icon in both notification surfaces.
## Related pages
-- [The social layer](#sec-327): where notification events come from
+- [The social layer](#sec-374): where notification events come from
and how they connect to the feed, follows, and portfolios.
- [api/notifications/README.md](../api/notifications/README.md): the
endpoint directory's own reference.
@@ -57570,7 +63711,7 @@ one click from the gear icon in both notification surfaces.
---
-<a id="sec-247"></a>
+<a id="sec-289"></a>
> **Source:** `docs/nvidia-inception.md` · [↑ table of contents](#table-of-contents)
@@ -57615,7 +63756,7 @@ Membership is a startup program, not a partnership or an investment: NVIDIA revi
---
-<a id="sec-248"></a>
+<a id="sec-290"></a>
> **Source:** `docs/nvidia-models.md` · [↑ table of contents](#table-of-contents)
@@ -57656,9 +63797,9 @@ Because it is one key for everything, a deployment either has the whole NVIDIA l
| **LLM (default lane)** | `meta/llama-3.3-70b-instruct` | `api/_lib/llm.js`, `api/_lib/chat-models.js` | ✅ |
| **LLM (model garden)** | Nemotron 120B / 49B / Nano 9B, Llama 4 Maverick, DeepSeek V4 Pro, Kimi K2.6, MiniMax M2.7 | `api/brain/chat.js` | ✅ |
| **Vision / VLM** | `nvidia/nemotron-nano-12b-v2-vl`, `meta/llama-3.2-11b-vision-instruct` | `api/_lib/vision.js` | ✅ |
-| **Embeddings** | `nvidia/nv-embedqa-e5-v5`, `baai/bge-m3` | `api/_lib/embeddings.js`, `api/agents/_id/embed.js` | ✅ |
+| **Embeddings** | `nvidia/nv-embedqa-e5-v5` | `api/_lib/embeddings.js` (and `api/agents/_id/embed.js`, which delegates to it) | ✅ |
| **Reranking** | `nvidia/rerank-qa-mistral-4b` | `api/_lib/rerank.js` | ✅ |
-| **Content safety** | `nvidia/llama-3.1-nemoguard-8b-content-safety`, `meta/llama-guard-4-12b` | `api/_lib/moderation.js` | ✅ |
+| **Content safety** | `nvidia/llama-3.1-nemoguard-8b-content-safety`, `meta/llama-guard-4-12b` | `api/_lib/publish-safety.js` | ✅ |
| **Text-to-speech** | `magpie-tts-multilingual` (Riva) | `api/_lib/tts-nvidia.js` | ✅ |
---
@@ -57757,7 +63898,7 @@ All three **fail safe**: if the vision lane is unavailable, the feature quietly
The default embedder for new vectors — **free with the one key, 1024 dimensions, hard-capped at 512 input tokens** (longer inputs are rejected upstream, so callers chunk to fit). Vectors are tagged with `model@dimension` so a later model swap can't silently mix incompatible spaces. Powers **agent memory and knowledge-widget retrieval**; the paid embedding provider is demoted to backup behind it.
-**Also:** `baai/bge-m3` — a second NIM-hosted embedder used by [api/agents/_id/embed.js](../api/agents/_id/embed.js) for the agent-embed path.
+**Also:** the agent-embed endpoint [api/agents/_id/embed.js](../api/agents/_id/embed.js) does not carry a provider list of its own. It delegates to the registry above, so `POST /api/agents/:id/embed` serves this same model and returns the tag alongside the vector. It previously called `baai/bge-m3` directly; NVIDIA stopped serving that model on the hosted endpoint (500 on every request), which is exactly the failure mode a single registry prevents.
---
@@ -57773,11 +63914,11 @@ Cosine-over-embeddings recall is cheap but coarse. This **cross-encoder reranker
## 7. Content safety — NemoGuard
**Primary:** `nvidia/llama-3.1-nemoguard-8b-content-safety` · **Drop-in alt:** `meta/llama-guard-4-12b`
-**Endpoint:** `integrate.api.nvidia.com/v1/chat/completions` · **Source:** [api/_lib/moderation.js](../api/_lib/moderation.js).
+**Endpoint:** `integrate.api.nvidia.com/v1/chat/completions` · **Source:** [api/_lib/publish-safety.js](../api/_lib/publish-safety.js).
-A free content-safety pre-filter for anonymous chat. NemoGuard classifies the inbound user message and returns a **JSON verdict plus named risk categories** (harm, self-harm, weapons, sexual content, …); the parser also accepts Llama Guard's `unsafe\nS#` text form, which is why the two are interchangeable. Median ~340 ms on the free tier.
+A free content-safety classifier for what the platform publishes outward. Its only caller is the Sketchfab showcase cron, which uploads visitor-generated models to our own official account on a third party's platform. NemoGuard classifies the source prompt and returns a **JSON verdict plus named risk categories** (harm, self-harm, weapons, sexual content, …); the parser also accepts Llama Guard's `unsafe\nS#` text form, which is why the two are interchangeable. Median ~340 ms on the free tier.
-**Scope and posture:** it is a *content*-safety classifier, **not** a jailbreak / prompt-injection detector. It is **fail-open** — anything it can't parse returns "not flagged" so a moderation outage never takes chat down. Only a clean parsed "unsafe" verdict blocks a message.
+**Scope and posture:** it screens OUTBOUND publishing only. No three.ws chat surface filters what a user may ask (owner directive 2026-08-07): whatever safety judgment the serving model makes is the only one those routes apply. It is also a *content*-safety classifier, **not** a jailbreak / prompt-injection detector, and it is **fail-open**: anything it can't parse returns "not flagged", so a classifier outage never stops a publish. Only a clean parsed "unsafe" verdict blocks an upload.
---
@@ -57822,7 +63963,7 @@ The free NVIDIA TTS lane: **Magpie multilingual on Riva**, selected by an NVCF `
---
-<a id="sec-249"></a>
+<a id="sec-291"></a>
> **Source:** `docs/nvidia-nemotron-spotlight.md` · [↑ table of contents](#table-of-contents)
@@ -57917,13 +64058,15 @@ Note the comment on line two, because it is the load-bearing design decision in
Once we understood the pattern, we found the same shape everywhere in the product.
-**Content safety.** Anonymous visitors can talk to any agent on the platform. We refuse unsafe messages ourselves rather than inheriting a downstream provider's moderation policy, using NVIDIA's `nvidia/llama-3.1-nemoguard-8b-content-safety` from the NeMo Guardrails family. Measured median latency on the free NIM tier: **~340 ms**, with a ~680 ms tail. We give it a 2-second abort budget, which is roughly six times its median. That's generous, and still fast to fail over.
+**Publishing safety.** The showcase cron uploads community-forged models to our own official Sketchfab account, and what our brand publishes to a third party's platform is our call to make. That gate runs on NVIDIA's `nvidia/llama-3.1-nemoguard-8b-content-safety` from the NeMo Guardrails family. Measured median latency on the free NIM tier: **~340 ms**, with a ~680 ms tail. We give it a 2-second abort budget, which is roughly six times its median. That's generous, and still fast to fail over.
+
+It used to screen anonymous chat too, and we retired that in August 2026. An 8B classifier judging one message with no conversation context refused plenty of ordinary questions, and a refusal a visitor never earned is a worse product than an answer the serving model would have declined on its own. The lesson generalizes: a guardrail belongs where you own the consequence, which is what you publish, not what someone is allowed to ask.
**Reasoning turns.** When a feature wants a compact, reasoning-tuned model to actually lead rather than sit at the tail of a fallback chain, it opts into `nvidia/nvidia-nemotron-nano-9b-v2`. Prompt refinement, classification, structured extraction. A 9B model does these perfectly, and reaching for a frontier model to do them is a tax you pay on every request forever.
**Retrieval.** Agent memory embeds through `nvidia/nv-embedqa-e5-v5` at 1024 dimensions, with `nvidia/rerank-qa-mistral-4b` as an optional cross-encoder rerank stage.
-Every one of those models, one `nvapi-` key, and a bill of zero. I want to be unambiguous about what that meant for us: **we could not have built this product on paid inference.** Not at the price of a guardrail in front of every generation. The economics only close because NVIDIA hosts these models free, and so the guardrail costs nothing to run.
+Every one of those models, one `nvapi-` key, and a bill of zero. I want to be unambiguous about what that meant for us: **we could not have built this product on paid inference.** Not at the price of a second model checking the first on every generation. The economics only close because NVIDIA hosts these models free, and so the judgment layer costs nothing to run.
---
@@ -57973,11 +64116,11 @@ Build the small stuff. Put it in front. The generator was never the hard part.
---
-*three.ws is a browser-native platform for generating 3D avatars, worlds, and agents from a sentence. The text-to-3D lane described here is free and open: no key, no account. Our full NVIDIA model map lives in [`docs/nvidia-models.md`](#sec-248), and the pipeline internals are in [`docs/3d-asset-pipeline.md`](#sec-002). three.ws joined the [NVIDIA Inception program](#sec-247) in July 2026; the companion engineering post on our own GPU fleet is [Image-to-3D on NVIDIA L4 and Blackwell](https://three.ws/blog/image-to-3d-on-nvidia-l4-and-blackwell).*
+*three.ws is a browser-native platform for generating 3D avatars, worlds, and agents from a sentence. The text-to-3D lane described here is free and open: no key, no account. Our full NVIDIA model map lives in [`docs/nvidia-models.md`](#sec-290), and the pipeline internals are in [`docs/3d-asset-pipeline.md`](#sec-002). three.ws joined the [NVIDIA Inception program](#sec-289) in July 2026; the companion engineering post on our own GPU fleet is [Image-to-3D on NVIDIA L4 and Blackwell](https://three.ws/blog/image-to-3d-on-nvidia-l4-and-blackwell).*
---
-<a id="sec-250"></a>
+<a id="sec-292"></a>
> **Source:** `docs/object-library.md` · [↑ table of contents](#table-of-contents)
@@ -57988,7 +64131,7 @@ The Object Library is a free, curated gallery of CC0 3D objects and props: furni
Page: [/objects](https://three.ws/objects) · API: `GET /api/objects/library`
Source: [`pages/objects.html`](../pages/objects.html) · [`src/objects-library.js`](../src/objects-library.js) · [`api/objects/library.js`](../api/objects/library.js)
-> This page covers the object gallery and its API. For rigged, animation-ready characters, see the [Character Library](#sec-127). For how AR placement works on phones and desktops, see [AR & WebXR](#sec-092).
+> This page covers the object gallery and its API. For rigged, animation-ready characters, see the [Character Library](#sec-132). For how AR placement works on phones and desktops, see [AR & WebXR](#sec-097).
---
@@ -58004,8 +64147,8 @@ Each card renders the object live in an auto-rotating `<model-viewer>` (with the
| Button | Destination | What you get |
|---|---|---|
-| **Preview** | `/app#model=<glb-url>&kind=object&title=<name>` | The full three.js [3D viewer](#sec-440) in object mode (no agent chat; Restyle, AR, and Download affordances instead) |
-| **AR** | `/ar/studio?src=<glb-url>&title=<name>` | [AR Studio](#sec-091): place the prop in your real space through the camera (see [AR & WebXR](#sec-092) for how the AR handoff works per device) |
+| **Preview** | `/app#model=<glb-url>&kind=object&title=<name>` | The full three.js [3D viewer](#sec-488) in object mode (no agent chat; Restyle, AR, and Download affordances instead) |
+| **AR** | `/ar/studio?src=<glb-url>&title=<name>` | [AR Studio](#sec-096): place the prop in your real space through the camera (see [AR & WebXR](#sec-097) for how the AR handoff works per device) |
| **Download** | The GLB URL directly | The raw GLB file, CC0, yours to use anywhere |
Gallery controls:
@@ -58018,14 +64161,16 @@ Gallery controls:
## API: `GET /api/objects/library`
-Public, no authentication, CORS-open to GET from web origins. The endpoint proxies a small manifest JSON from the R2 CDN (`objects/library/manifest.json`) with an edge cache (`Cache-Control: public, s-maxage=300, stale-while-revalidate=3600`). The GLB and thumbnail bytes never pass through the API: every entry carries absolute CDN URLs the browser loads directly. It mirrors the [Character Library API](#sec-127) exactly, with `objects` in place of `avatars`.
+Public, no authentication, CORS-open to GET from web origins. The endpoint proxies a small manifest JSON from the R2 CDN (`objects/library/manifest.json`) with an edge cache (`Cache-Control: public, s-maxage=300, stale-while-revalidate=3600`). The GLB and thumbnail bytes never pass through the API: every entry carries absolute CDN URLs the browser loads directly. It mirrors the [Character Library API](#sec-132) exactly, with `objects` in place of `avatars`.
### Query parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
-| `limit` | integer, 1 to 1000 | none | Opt-in pagination. Omit it to get the entire library in one response. Values are clamped into 1..1000. |
-| `offset` | integer, >= 0 | 0 | Only meaningful together with `limit`. |
+| `limit` | integer, 1 to 1000 | none | Opt-in pagination. Omit it to get the entire library in one response. A value above 1000 is clamped to 1000. |
+| `offset` | integer, >= 0 | 0 | Requires `limit`; sent on its own it is an error, not a silent no-op. |
+
+Both cursors are validated strictly. Anything that is not a whole decimal number in range (`?limit=abc`, `?limit=0`, `?limit=2.7`, `?offset=-3`, or `?offset=` with no `limit`) returns `400` with a JSON body of `{ "error": "invalid_limit" | "invalid_offset", "error_description": "..." }` and `Cache-Control: no-store`. A bad cursor never degrades into a page you did not ask for.
### Response shape
@@ -58055,7 +64200,7 @@ Each entry in `objects`:
| `license` | string | `"CC0"` |
| `source` | string | Origin catalog, e.g. `"polyhaven"` |
-Before the manifest is first uploaded, the endpoint returns `{ "objects": [], "total": 0 }` rather than an error, so consumers feature-detect by emptiness.
+Before the manifest is first uploaded, the endpoint returns `{ "objects": [], "total": 0 }` rather than an error, so consumers feature-detect by emptiness. A storage outage degrades the same way, but that response carries `Cache-Control: no-store` instead of the 300s edge cache, so the library reappears the moment storage recovers rather than staying empty for the rest of the cache window.
### Example
@@ -58083,14 +64228,14 @@ The gallery and API are read-only consumers of a manifest built by a local pipel
## Related
-- [Character Library](#sec-127): the rigged, animation-ready counterpart to this library.
-- [AR & WebXR](#sec-092): the device-by-device AR methods behind the AR button.
-- [AR Studio](#sec-091): the `/ar/studio` surface the AR button opens, including multi-object rooms.
-- [3D Viewer](#sec-440): the `/app` engine the Preview button opens in object mode.
+- [Character Library](#sec-132): the rigged, animation-ready counterpart to this library.
+- [AR & WebXR](#sec-097): the device-by-device AR methods behind the AR button.
+- [AR Studio](#sec-096): the `/ar/studio` surface the AR button opens, including multi-object rooms.
+- [3D Viewer](#sec-488): the `/app` engine the Preview button opens in object mode.
---
-<a id="sec-251"></a>
+<a id="sec-293"></a>
> **Source:** `docs/okx-marketplace.md` · [↑ table of contents](#table-of-contents)
@@ -58101,8 +64246,8 @@ on-chain agent marketplace. Buyers are agents: they discover a service, receive
payment challenge, pay in stablecoins on X Layer (or USDC on our other x402 rails), and get
the artifact. Our marketplace listing is agent **#2632 "three.ws 3D Studio"**.
-> Related: [REST API Reference](#sec-089) · [MCP servers](#sec-230) ·
-> [x402 payments](#sec-456) · seller-side protocol spec: [`specs/okx-agent-payments.md`](../specs/okx-agent-payments.md)
+> Related: [REST API Reference](#sec-094) · [MCP servers](#sec-272) ·
+> [x402 payments](#sec-506) · seller-side protocol spec: [`specs/okx-agent-payments.md`](../specs/okx-agent-payments.md)
The **single source of truth** for every service (names, 2-part OKX descriptions, prices,
endpoints, input schemas) is [`api/_lib/okx-catalog.js`](../api/_lib/okx-catalog.js), the
@@ -58224,7 +64369,7 @@ tests.
## Decomposed 3D studio services
Micro-priced, single-capability REST endpoints, plain JSON `POST`, one price each, all
-backed by the same engines the [MCP 3D studio](#sec-230) runs (no separate pipeline).
+backed by the same engines the [MCP 3D studio](#sec-272) runs (no separate pipeline).
`GET` on any of them returns its free descriptor (price, description, input schema).
| Service | Price (USDT) | Endpoint | You send |
@@ -58358,7 +64503,7 @@ USDC rails. The wire format OKX buyers use (headers `PAYMENT-REQUIRED` /
---
-<a id="sec-252"></a>
+<a id="sec-294"></a>
> **Source:** `docs/onboarding-tier.md` · [↑ table of contents](#table-of-contents)
@@ -58505,17 +64650,17 @@ drift silently, since the four files involved have no import edge between them:
- [`public/nav-data.js`](../public/nav-data.js) — the single source of truth for every menu
- [`STRUCTURE.md`](../STRUCTURE.md) — where every product surface lives
-- [`docs/start-here.md`](#sec-335) — the same journey, written for a human rather than a maintainer
+- [`docs/start-here.md`](#sec-382) — the same journey, written for a human rather than a maintainer
---
-<a id="sec-253"></a>
+<a id="sec-295"></a>
> **Source:** `docs/onchain-agents.md` · [↑ table of contents](#table-of-contents)
# Deploying Agents On-Chain (Bulk)
-Give every three.ws agent a real on-chain identity: a **Metaplex Core NFT** minted into the **three.ws Agents collection** on Solana. This page is for platform admins and self-hosters; regular users register a single agent through the wallet-signed flow instead. It is the bulk/admin counterpart to the single-agent, user-signed flow in [Solana agents](#sec-330): it deploys many agents server-side, with a live recording dashboard at `/admin/bulk-launch` and a CLI runner.
+Give every three.ws agent a real on-chain identity: a **Metaplex Core NFT** minted into the **three.ws Agents collection** on Solana. This page is for platform admins and self-hosters; regular users register a single agent through the wallet-signed flow instead. It is the bulk/admin counterpart to the single-agent, user-signed flow in [Solana agents](#sec-377): it deploys many agents server-side, with a live recording dashboard at `/admin/bulk-launch` and a CLI runner.
> Not pump.fun. These are NFTs (on-chain identity), not tokens. The only coin three.ws ever references is `$THREE`; it appears in each asset's metadata as a link, nothing more.
@@ -58578,7 +64723,7 @@ Every agent is minted **into** a single Metaplex Core *collection* account, "thr
2. **DB** — the `app_settings` table, key `solana_agent_collection_<network>`.
3. **Deploy** — first run with neither set deploys the collection (funded + signed by the authority), then persists its address to `app_settings`.
-> After the first run, set `SOLANA_AGENT_COLLECTION_MAINNET=<address>` in your environment so the single-agent flow in [Solana agents](#sec-330) mints into the *same* collection.
+> After the first run, set `SOLANA_AGENT_COLLECTION_MAINNET=<address>` in your environment so the single-agent flow in [Solana agents](#sec-377) mints into the *same* collection.
---
@@ -58782,14 +64927,14 @@ A confirmed canary asset shows `inCollection=true`, `royalty=500bps`, `attrs=11`
## See also
-- [Solana agents](#sec-330) — the single-agent, user-signed registration flow.
-- [ERC-8004](#sec-175) — the EVM on-chain identity path.
+- [Solana agents](#sec-377) — the single-agent, user-signed registration flow.
+- [ERC-8004](#sec-182) — the EVM on-chain identity path.
- [Agent manifest](#sec-053) — the metadata schema.
-- [Mint mark ("3ws")](#sec-235) — vanity marking for three.ws launches.
+- [Mint mark ("3ws")](#sec-277) — vanity marking for three.ws launches.
---
-<a id="sec-254"></a>
+<a id="sec-296"></a>
> **Source:** `docs/openai-pr/00-START-HERE.md` · [↑ table of contents](#table-of-contents)
@@ -58832,13 +64977,13 @@ the specific gaps that would fail review or embarrass us in front of OpenAI.
| # | Brief | Priority | Blocks submit? |
| --- | --- | --- | --- |
-| 01 | [Resolve the orphaned studio-viewer widget](#sec-255) | P0 | Done 2026-07-18 (Option A: deleted) |
-| 02 | [Reconcile the served `.well-known` manifests with the zero-payment claim](#sec-256) | P0 | Yes (reviewer-discoverable crypto surface) |
-| 03 | [Make the `forge_free` tier story true everywhere](#sec-257) | P1 | Yes (submission doc contradicts code) |
-| 04 | [Close the test gaps on the ChatGPT-facing surface](#sec-258) | P1 | No, but required for "done" |
-| 05 | [Serve the custom-GPT OpenAPI and align legal URLs](#sec-259) | P1 | Partial |
-| 06 | [Fix doc accuracy and reconcile the tool-count story](#sec-260) | P1 | No |
-| 07 | [Final live verification and submit checklist](#sec-261) | P2 (runs last) | Yes (the actual go/no-go) |
+| 01 | [Resolve the orphaned studio-viewer widget](#sec-297) | P0 | Done 2026-07-18 (Option A: deleted) |
+| 02 | [Reconcile the served `.well-known` manifests with the zero-payment claim](#sec-298) | P0 | Yes (reviewer-discoverable crypto surface) |
+| 03 | [Make the `forge_free` tier story true everywhere](#sec-299) | P1 | Yes (submission doc contradicts code) |
+| 04 | [Close the test gaps on the ChatGPT-facing surface](#sec-300) | P1 | No, but required for "done" |
+| 05 | [Serve the custom-GPT OpenAPI and align legal URLs](#sec-301) | P1 | Partial |
+| 06 | [Fix doc accuracy and reconcile the tool-count story](#sec-302) | P1 | No |
+| 07 | [Final live verification and submit checklist](#sec-303) | P2 (runs last) | Yes (the actual go/no-go) |
Run 02 and 03 first of what remains (01 is already done; they change code and docs the later tasks depend on). 04, 05,
06 can run in parallel after. 07 runs last, after everything else is merged.
@@ -58886,7 +65031,7 @@ These are non-negotiable and OVERRIDE any default behavior:
---
-<a id="sec-255"></a>
+<a id="sec-297"></a>
> **Source:** `docs/openai-pr/01-orphan-widget-resolution.md` · [↑ table of contents](#table-of-contents)
@@ -58894,7 +65039,7 @@ These are non-negotiable and OVERRIDE any default behavior:
> **Resolved 2026-07-18 via Option A** in commit `19c379125` ("Refactor apps-sdk studio viewer and update OpenAI store submission"): `apps-sdk/studio-viewer/src.js`, `scripts/build-apps-sdk-viewer.mjs`, the `build:apps-sdk-viewer` entry in `package.json`, and both generated artifacts under `public/apps-sdk/` were deleted, and `apps-sdk/README.md` plus `ARCHITECTURE.md` were rewritten to point at the real widget (`api/_mcp-studio/component.js`, resource `ui://widget/three-studio-model.html`). `STRUCTURE.md` never referenced the orphan, so it needed no change. Kept as the record of the finding; the file links below point at the now-deleted paths and are left as plain code references.
-Read [`00-START-HERE.md`](#sec-254) first for the shared rules and the map.
+Read [`00-START-HERE.md`](#sec-296) first for the shared rules and the map.
## The problem (verified, with evidence)
@@ -59014,13 +65159,13 @@ fetches from** (three.ws, the R2 storage origin, and the CDN if used). Match wha
---
-<a id="sec-256"></a>
+<a id="sec-298"></a>
> **Source:** `docs/openai-pr/02-wellknown-manifest-conflict.md` · [↑ table of contents](#table-of-contents)
# Task 02 — Reconcile the served `.well-known` manifests with the zero-payment claim (P0)
-Read [`00-START-HERE.md`](#sec-254) first. **This task touches a manifest
+Read [`00-START-HERE.md`](#sec-296) first. **This task touches a manifest
that references crypto/x402. The commit gate in `00-START-HERE.md` rule 7 applies:
do the work, but do NOT commit anything that references a non-$THREE crypto project
without explicit owner approval. Flag it in your report instead.**
@@ -59135,13 +65280,13 @@ manifest layer. Recommended approach (implement this unless you find it wrong):
---
-<a id="sec-257"></a>
+<a id="sec-299"></a>
> **Source:** `docs/openai-pr/03-forge-free-tier-truth.md` · [↑ table of contents](#table-of-contents)
# Task 03 — Make the `forge_free` tier story true everywhere (P1, blocks submit)
-Read [`00-START-HERE.md`](#sec-254) first.
+Read [`00-START-HERE.md`](#sec-296) first.
## The problem (verified, with evidence)
@@ -59183,8 +65328,8 @@ metadata surface say "standard by default, higher tiers available on request."
description matches the code: standard default, `tier` param lets the caller ask
for draft or high, high may take longer or degrade under load.
2. Grep every doc for the "highest quality"/"high tier by default" claim and fix each:
- [`docs/mcp-studio.md`](#sec-227),
- [`docs/mcp-3d-studio.md`](#sec-224), the tool descriptions the
+ [`docs/mcp-studio.md`](#sec-269),
+ [`docs/mcp-3d-studio.md`](#sec-266), the tool descriptions the
MCP server itself returns in `tools/list` (check `tools.js` tool metadata strings),
and `apps-sdk/README.md`.
3. Make sure the tool's own `description` string returned to ChatGPT is accurate, so
@@ -59237,13 +65382,13 @@ and a doc claiming it works.
---
-<a id="sec-258"></a>
+<a id="sec-300"></a>
> **Source:** `docs/openai-pr/04-openai-surface-test-coverage.md` · [↑ table of contents](#table-of-contents)
# Task 04 — Close the test gaps on the ChatGPT-facing surface (P1)
-Read [`00-START-HERE.md`](#sec-254) first.
+Read [`00-START-HERE.md`](#sec-296) first.
## The problem
@@ -59323,13 +65468,13 @@ exported per the file). Use an existing JSON-schema/OpenAPI validator already in
---
-<a id="sec-259"></a>
+<a id="sec-301"></a>
> **Source:** `docs/openai-pr/05-custom-gpt-openapi-serving.md` · [↑ table of contents](#table-of-contents)
# Task 05 — Serve the custom-GPT OpenAPI and align legal URLs (P1)
-Read [`00-START-HERE.md`](#sec-254) first. Coordinate with Task 02 (the
+Read [`00-START-HERE.md`](#sec-296) first. Coordinate with Task 02 (the
served schema must be payment-free) and Task 04 (a contract test binds to it).
## The problem (verified, with evidence)
@@ -59412,13 +65557,13 @@ be normalized to one canonical form.
---
-<a id="sec-260"></a>
+<a id="sec-302"></a>
> **Source:** `docs/openai-pr/06-docs-accuracy-reconciliation.md` · [↑ table of contents](#table-of-contents)
# Task 06 — Fix doc accuracy and reconcile the tool-count story (P1)
-Read [`00-START-HERE.md`](#sec-254) first. This task cleans up the
+Read [`00-START-HERE.md`](#sec-296) first. This task cleans up the
documentation drift the audit found, EXCEPT the two docs owned by other tasks
(`apps-sdk/README.md` was Task 01, already landed on 2026-07-18; the `forge_free` tier
claim is Task 03). Do not fight those tasks for those specific edits; coordinate.
@@ -59494,13 +65639,13 @@ claim is Task 03). Do not fight those tasks for those specific edits; coordinate
---
-<a id="sec-261"></a>
+<a id="sec-303"></a>
> **Source:** `docs/openai-pr/07-final-verification-and-submit.md` · [↑ table of contents](#table-of-contents)
# Task 07 — Final live verification and submit checklist (P2, runs last)
-Read [`00-START-HERE.md`](#sec-254) first. **Run this only after tasks
+Read [`00-START-HERE.md`](#sec-296) first. **Run this only after tasks
01-06 are merged.** This is the go/no-go gate before the app is submitted to OpenAI.
## Purpose
@@ -59588,7 +65733,7 @@ go/no-go report. Do not submit; prepare so the human's final submit is one actio
---
-<a id="sec-262"></a>
+<a id="sec-304"></a>
> **Source:** `docs/oracle.md` · [↑ table of contents](#table-of-contents)
@@ -59625,108 +65770,71 @@ Oracle is a pipeline, and every stage of it is watchable live at three.ws/pipeli
One design commitment holds the whole thing together: scoring is a pure, side-effect-free function of assembled intel. Everything stateful, ingestion, persistence, execution, settlement, lives outside it. That boundary is why the math is testable, the verdicts are reproducible, and the same engine powers the live feed, the API, and an agent's decision with identical results.
-## The four pillars, with the real math
-
-Every score fuses four independent reads. The weights are public and shipped in every API response: pedigree 0.34, structure 0.30, narrative 0.18, momentum 0.18. Pedigree leads because buyer track record is the single most predictive signal we have. Structure is a near-equal guardrail. Narrative and momentum refine.
+## The model: fitted from real outcomes
-### WHO, the Pedigree pillar (weight 0.34)
+Since 2026-08-09 the conviction engine is a bucketed logistic model fitted on the platform's own labeled outcome history (92,906 launches at first fit, growing ~30k/day), not a hand-tuned point system. "Good" is defined as the coin graduated or reached a 3x-or-greater ATH multiple. Every launch-time signal is bucketed by its empirically observed ranges, each bucket carries a fitted log-odds weight, and the fused sum passes through a sigmoid to yield a calibrated P(good). The full weight table ships in `api/_lib/oracle/conviction-model.json` with each bucket's sample size and observed good-rate, and `scripts/oracle-fit.mjs` refits it from the durable training snapshot (`oracle_training_set`) whenever the data has grown.
-Reputation earned on chain. Which smart wallets are in this coin, and what is the creator's launch history? Oracle keeps a ledger of wallets that have proven they win, and every early buyer is labeled by its archetype and track record. Creators it has never seen get a cold start prior, honest uncertainty instead of fake confidence. A confirmed serial rugger does not just lower the score, it imposes a hard ceiling on the final number that no other pillar can lift.
+The honest numbers, measured on a time-split holdout (the newest 25 percent of labels, never seen in training): AUC 0.879 (the hand-tuned v1 engine measured 0.627 on the same window), 62.5 percent of coins in the top decile of score were good against an 11.7 percent base rate, and the Prime tier observed 72.7 percent good.
-The exact adjustments, shipped in the code. Inputs come from the brain's smart-money slice (a pre-computed 0 to 100 composite, proven and total buy/sell lamports, a list of notable wallets with labels) and the creator's record (label, prior launches, graduated launches, dump rate). The base is the brain's composite, or the average of notable wallets' scores if the composite is absent. When there is no pedigree observation at all — no composite, no notable wallets, no creator record — the base anchors at a neutral prior of **38** rather than 0 (unknown buyers are the market norm, not a red flag; scoring them 0 used to pin every ordinary launch under a hard ~55 fused ceiling), and the final fused score is capped at **71**, one point below Strong. Unknown pedigree can read Lean at most; Strong and Prime must be earned with observed evidence.
+The fit corrected several v1 beliefs that were backwards at the 90-second observation window:
-- 5 or more proven wallets in: **+14** (+9 at 3 or more, +5 at 1 or more)
-- Proven share of buy volume 40 percent or more: **+8** (+4 at 20 percent or more)
-- Flagged wallet present (rugger/dumper): **minus 12 each**, capped at minus 36 (3 wallets)
-- Smart money sold 50 percent or more of position: **minus 16** (minus 8 at 25 percent or more, trimming)
-- Creator with 3 or more launches, 0 graduated: **minus 22, hard ceiling of 45** (rug pattern)
-- Creator with 3 or more graduated launches: **+12** (+6 at 1 or more)
-- Creator dumps 50 percent or more of launches: **minus 8** (consistent exit pattern)
+- **Top-10 holder concentration in the 0.3-0.9 band is a positive signal** (5-8x base rate), because "low concentration" 90 seconds in usually means nobody bought at all. v1 penalized it.
+- **A mid-range snipe ratio (10-70 percent of the open) is a positive signal** (2.7-3.6x base). Bots racing an open is evidence of demand; the poison is when snipers are 70 percent or more of everything. v1 penalized from 45 percent up.
+- **An oversized dev buy is not a red flag** (6+ SOL: 1.36x base). v1 subtracted 14 points for it.
+- **Category priors barely matter.** The observed spread across meme/animal/ai/tech is a fraction of what v1's hand-set priors claimed, and roughly inverted in places (tech: 0.32x base; "unknown": 1.52x).
+- **The dead-on-arrival signal v1 ignored is market cap at first sight**: below 28 SOL observes 0.27x base. Also newly used: buy-timing entropy (0.6-0.8: 3.56x), total early buy volume (25+ SOL: 5.98x), and the creator's launch history (5+ launches with zero graduations: 0.26x; a creator with any prior graduation: 1.49x).
-Returns `{ score, reasons[], cap }`. The `cap` is a hard ceiling on the final fused score, the mechanism by which a serial rugger can never produce a prime coin no matter how good the other pillars look. A wallet counts as proven if it is labelled `smart_money`/`kol` or carries a reputation score of 70 or more.
+The four pillars remain as the presentation layer: every feature belongs to WHO (pedigree), HOW (structure), WHAT (narrative), or MOVE (momentum), each pillar bar shows what that pillar's evidence alone would imply, and the pillar weights shown in the API are derived from the fitted model (each pillar's share of the total log-odds range its features span) instead of hand-picked constants.
-### HOW, the Structure pillar (weight 0.30)
+### The features, by pillar
-The engineering of the launch itself, and the pillar with teeth. Rugs are a structure problem before they are a price problem, so structure gets a veto. The base is anchored to the brain's organic-demand score: `base = 30 + organic·0.55` (so structure alone lives in roughly 30 to 85), or a neutral 62 when organic isn't available. Then a battery of red-flag checks subtract and, for the severe ones, set a hard ceiling. The lowest cap triggered wins.
+Each feature below is bucketed and carries fitted weights in `conviction-model.json`. The observed good-rates quoted are from the training set at first fit; the shipped JSON is always the source of truth.
-Real deductions from the shipped code:
+**WHO (pedigree)**: the creator's launch record (`creator_record`: first launch 1.9x base; any prior graduation 1.5x; 5+ launches with none graduated 0.26x), dev buy size, and whether the dev sold inside the observation window. On top of the fitted features sits the smart-money overlay (below).
-- Dev sold 50 percent or more of their bag: **minus 24, caps the score at 38** (minus 10 at 20 percent or more)
-- Single-funder cluster 50 percent or more (half the "different" wallets share one funding source, a bundle in a wide-base costume): **minus 22, caps at 42** (minus 12 at 30 percent or more)
-- Flagged bundle launch: **minus 18, caps at 48**
-- Bundle likelihood 60 percent or more: **minus 20, caps at 46** (minus 11 at 35 percent or more)
-- Top-10 wallets hold 80 percent or more: **minus 22, caps at 44** (minus 12 at 60 percent or more)
-- Top holder 50 percent or more: **minus 26, caps at 45** (minus 14 at 30 percent or more)
-- Fresh/farmed wallets 70 percent or more: **minus 18, caps at 48** (minus 9 at 45 percent or more)
-- Snipe ratio 70 percent or more: **minus 16, caps at 50** (minus 8 at 45 percent or more)
-- Buyer interconnectivity 60 percent or more: **minus 10, caps at 55**
-- Creator still holds 25 percent or more: **minus 16**
-- 60 or more unique buyers: **+16** (+9 at 25 or more, minus 8 below 8)
+**HOW (structure)**: organic-demand score (below 0.2: 0.11x base; 0.8+: 5.1x, the single strongest signal), bundle score, snipe ratio, coordination score, buy-timing entropy, and top-1/top-10 holder concentration with their empirically non-monotone buckets.
-This is the formal statement of "structure is a veto": a launch with a serious structural defect is ceiling-limited before the weighted average is taken, so no amount of pedigree or narrative lifts it into a high tier.
+**WHAT (narrative)**: the classified category. Deliberately the lightest lane now: the outcome data shows category explains far less than v1's priors assumed.
-### WHAT, the Narrative pillar (weight 0.18)
+**MOVE (momentum)**: unique early buyers (40+: 6.8x base), buy/sell ratio, total early buy volume (25+ SOL: 6.0x), largest single buy, average buy size, and market cap at first sight (below 28 SOL: 0.27x, the dead-on-arrival tell).
-What the coin actually is. A classifier with the news on its desk assigns every launch a category (news, culture, ai, meme, animal, celebrity, political, community, tech, utility, or unknown) and a virality estimate from 0 to 100. Each category carries a tuned prior for how often that flavor sustains attention: news launches prior at 70, culture at 66, ai at 64, unknown at 40. The virality estimate blends with the prior, weighted by the classifier's own confidence, so a low-confidence call leans on the prior instead of pretending to know. A news coin gets flagged for what it is: fast but fragile.
+### The smart-money overlay
-Full category priors (base virality): news 70, culture 66, ai 64, meme 60, community 58, animal 56, celebrity 54, political 52, tech 50, utility 46, unknown 40.
-
-The blend, when a virality estimate exists:
-
-```
-score = virality · (0.4 + 0.4·confidence) + prior · (0.6 − 0.4·confidence)
-```
+Proven and flagged wallets are too rare to fit statistically (998 proven wallets platform-wide against 288k judged), but when they do appear they are the highest-fidelity evidence there is, so they adjust the fused log-odds as documented expert priors: proven wallets in the book add up to +0.75 log-odds (about a 2.1x odds bump), a 40-percent-plus proven share of buy volume adds +0.3, each flagged rugger/dumper wallet subtracts 0.45 (up to three), and smart money already exiting half its position subtracts 0.7. A wallet counts as proven if labelled `smart_money`/`kol` or scoring 70+; since 2026-08-09 a wallet also earns `smart_money` at 8-plus judged coins with a 35-percent-plus win rate, a sustained ~3x edge over the market, validated against holdout outcomes (coins with 3 or more such wallets buying early were good 95 percent of the time).
-So high model confidence leans on the virality estimate; low confidence falls back toward the category prior. With no estimate, `score = prior`. A `news` coin adds the reason "fast but fragile"; an `unknown` coin adds "treat with caution."
+### One cap survives: the serial rugger
-The classifier chain, in preference order: (1) an LLM given live crypto headlines from a public news API (cached about 90 seconds), fuzzy-matched against the coin's name, symbol, and tags, contributing up to +30 virality when the coin clearly rides a current story; (2) an LLM without news context; (3) a deterministic keyword classifier with per-category lexicons and a social-presence virality heuristic. The chain degrades gracefully: if the model is unavailable, the heuristic always produces a usable classification, tagged `source: heuristic` versus `llm`. A separate social-ingestion path can additively boost virality from tweet engagement, but never downgrades an LLM classification.
-
-### MOVE, the Momentum pillar (weight 0.18)
-
-The early footprint. Momentum is deliberately the lightest pillar, because it is the easiest signal to fake and the last to matter. It starts at a neutral 50.
-
-- Buy share 80 percent or more across at least 10 trades: **+22** (strong inflow)
-- Buy share 65 percent or more: **+12** (buyers outnumber sellers)
-- Buy share below 45 percent: **minus 16** (distribution)
-- 40 or more early buyers: **+14** (+7 at 15 or more, pile-in)
-- Dev buy 0.2 to 2.5 SOL: **+8** (skin in the game)
-- Dev buy over 6 SOL: **minus 14** (dev is the top holder, honeypot risk)
-
-With no signal yet it returns "too early," keeping the pillar neutral rather than inventing momentum that isn't there.
+v1 had seven different hard ceilings. The outcome data supported exactly one, so exactly one remains: a creator with 3 or more launches and zero graduations (or a wallet flagged `rugger`) ceilings the final score at 45, inside Watch. A graveyard dev can never present as Strong, no matter how clean the launch looks. Every other v1 cap, including the unknown-pedigree ceiling that silently pinned the entire feed below Strong for the engine's whole first two weeks, is gone: missing data now reads as the fitted null-bucket evidence it is, not as a verdict.
## Fusion, tiers, and badges
-The weighted blend is then capped: the lowest triggered ceiling from structure or pedigree wins, so a great story can never paper over a bundle or a dumping dev.
+The fusion is a sum in log-odds space, then a sigmoid, then a fixed monotone map onto the public 0-100 ladder:
```
-# weighted average of the four pillar scores
-score = WHO·0.34 + HOW·0.30 + WHAT·0.18 + MOVE·0.18
-
-# structure (and pedigree) can veto, the lowest cap wins
-score = min(score, structure.cap)
-
-# round + clamp to the 0 to 100 integer line
-score = clamp(round(score), 0, 100)
+z = intercept + sum(fitted bucket weights) + smart-money overlay
+p = 1 / (1 + e^(-z)) # calibrated P(graduated or 3x+ ATH)
+score = piecewise-linear map of p # anchors: 5% -> 34, 12% -> 56, 30% -> 72, 55% -> 86
+score = min(score, 45 if serial-rugger creator)
```
-The final 0 to 100 score maps to a tier ladder whose names are chosen to be honest, because most launches are noise:
+The tier ladder is unchanged in public shape, but each boundary now states a measured probability:
-- **Prime, 86 and up.** Top conviction: proven money in a clean, on-narrative launch. Rare.
-- **Strong, 72 to 85.** Favorable across pedigree and structure.
-- **Lean, 56 to 71.** Leaning positive, not decisive. Watch for confirmation.
-- **Watch, 34 to 55.** Inconclusive. No edge yet.
-- **Avoid, below 34.** Structural or pedigree red flags. Full stop.
+- **Prime, 86 and up.** P(good) at least 55 percent. On holdout this band observed 72.7 percent good.
+- **Strong, 72 to 85.** P(good) at least 30 percent (observed 36.5 percent).
+- **Lean, 56 to 71.** P(good) at least 12 percent, above base rate but not decisive (observed 16.8 percent).
+- **Watch, 34 to 55.** P(good) at least 5 percent. Below base rate; no edge.
+- **Avoid, below 34.** P(good) under 5 percent (observed 2.5 percent good, 96.3 percent rugged).
Only prime and strong are act signals. A conviction engine that likes everything is a hype engine.
-Every verdict also carries compact badges the UI renders as pills: `smart-money` (three or more proven wallets in), `structure-flag` (a ceiling triggered), `news` (riding a live story), `momentum` (subscore 72 plus), and `prime`. And every verdict ships its reasons in plain language, ordered by pillar contribution, so the most decisive fact shows first. You never get a bare number.
+Every verdict also carries compact badges the UI renders as pills: `smart-money` (three or more proven wallets in), `structure-flag` (a strongly negative fitted structure bucket), `pedigree-flag` (the rugger cap fired), `news` (riding a live story), `momentum` (subscore 72 plus), `thin-data` (most model features unobserved), and `prime`. And every verdict ships its reasons in plain language ordered by evidence strength, each quoting the observed outcome rate for its bucket ("organic demand >=0.8: 60 percent of similar launches worked"). You never get a bare number.
## Anatomy of a score
The coin drawer the product shows when you click any launch is the score, fully unpacked, the same object the API returns, rendered for a human. Walking it top to bottom mirrors the model exactly:
-- **The four pillar bars**, WHO / HOW / WHAT / MOVE, are the sub-scores. The big number is their capped, weighted fusion.
-- **"Why this score"** is the `reasons[]` array, each line tagged to the pillar that generated it. Example on a clean-but-unproven young launch scoring 35 (watch): "no proven wallets identified yet" (WHO), "clean, distributed launch structure" (HOW), "meme narrative, virality 45/100" (WHAT), "no clear momentum yet, too early" (MOVE). Correctly a watch, not an avoid and not a buy.
+- **The four pillar bars**, WHO / HOW / WHAT / MOVE, are the sub-scores: what each pillar's own fitted evidence would imply alone, on the same probability-to-score map as the big number.
+- **"Why this score"** is the `reasons[]` array, strongest evidence first, each line tagged to its pillar and quoting the observed outcome rate for the bucket it hit, e.g. "unique early buyers >=40: 80 percent of similar launches worked (6.8x base rate)" (MOVE) or "creator has 5+ prior launches, none graduated: rug pattern" (WHO). The engine cites its training data instead of asserting adjectives.
- **Structure / wallet-graph / buy-pattern** expose the raw HOW inputs (organic-buy percent, bundle percent, the funder graph) so you can audit the guardrail.
- **Who's-in** is the live pedigree roster: every notable wallet, its label, and its track record.
- **Live trades** streams the coin's buys and sells in real time, each annotated with the trader's wallet archetype.
@@ -59921,7 +66029,7 @@ Oracle owns five tables. The verdict cache is the heart; the rest are history, c
Oracle publishes its failure modes next to its wins, so here they are. Brand-new creators and wallets start on priors, and a cold start prior is a guess with error bars, not knowledge. Momentum is the lightest pillar on purpose, which means Oracle will be late to pure momentum plays, and we accept that trade. The backtest counts only resolved outcomes, so very recent calls are invisible to it until the brain grades them. Market data sources rate-limit and go down; every consumer of them degrades gracefully to null rather than inventing a number. And live mode is deliberately conservative: hard caps, kill switch, one action per agent per coin. The engine is built to be wrong safely.
-A few more, stated plainly. A high score is the weight of on-chain evidence, not a prophecy; pump.fun is adversarial and heavy-tailed, and even a calibrated edge loses often, so read the tier as odds and size accordingly. The HOW pillar guards against known manipulation, but launderers iterate, and new evasion patterns are caught by the outcome loop (they rug, reputation updates) before any single rule catches them; the defense is the closed loop, not one check. And the 0.34 / 0.30 / 0.18 / 0.18 weights and every threshold are hand-set expert priors, not yet learned from outcomes; that is a deliberate, transparent starting point, and the single biggest opportunity.
+A few more, stated plainly. A high score is the weight of on-chain evidence, not a prophecy; pump.fun is adversarial and heavy-tailed, and even a calibrated edge loses often, so read the tier as odds and size accordingly. The HOW pillar guards against known manipulation, but launderers iterate, and new evasion patterns are caught by the outcome loop (they rug, reputation updates) before any single rule catches them; the defense is the closed loop, not one check. The fitted weights are only as current as the last refit, and the launch meta drifts, so `scripts/oracle-fit.mjs` exists to be rerun, and the training window (first fit: 2026-07-26 to 2026-08-09) will always lag the newest evasion pattern by however long outcomes take to resolve. And the smart-money overlay magnitudes are still documented expert priors, because proven wallets remain rare; as the widened ledger accumulates judged coins, those too become fittable.
None of this is financial advice. Oracle is an analytics and automation tool. Conviction scores, signals, and agent actions are informational. Live trading risks real funds; simulate first, cap hard, and treat every number as one input among many.
@@ -59931,16 +66039,16 @@ Every coin watched sharpens the priors. Every graded outcome tunes the calibrati
## PhD appendix: Oracle as a calibrated scoring classifier
-Let a launch be a feature vector `x`. Oracle computes four pillar functions `f_k(x) ∈ [0,100]` for `k ∈ {ped, str, nar, mom}`, a weighted score, and a capped, clamped output:
+Let a launch be a feature vector `x`. Since v2 (2026-08-09), Oracle is a bucketed logistic model: each feature `j` is discretized by fixed empirical bin edges into a one-hot `b_j(x)`, each bin carries a fitted weight `w_{j,b}`, and
```
-s(x) = clamp( min( Σ_k w_k · f_k(x), c(x) ), 0, 100 )
-
- w = (0.34, 0.30, 0.18, 0.18), Σ w_k = 1
- c(x) = min over triggered structural/pedigree ceilings // the veto
+z(x) = w_0 + Σ_j w_{j, b_j(x)} + o(x) # o(x): the smart-money overlay (documented priors)
+p(x) = σ(z(x)) = 1 / (1 + e^(−z(x))) # calibrated P(good | x)
+s(x) = min( m(p(x)), c(x) ) # m: fixed monotone piecewise-linear map to [0,100]
+ # c: 45 iff serial-rugger creator, else 100
```
-The intended semantics is that `s(x)/100 ≈ P(win | x)`, where `win = graduated ∨ (ATH ≥ 2× ∧ ¬rugged)`. Calibration measures the gap between intent and reality.
+with `good = graduated ∨ ATH ≥ 3×`, fitted by SGD on the labeled outcome set (L2-regularized, deterministic seed, time-ordered rows; `scripts/oracle-fit.mjs`). `m` is anchored so the public tier boundaries land on fixed probabilities (34 ↦ 0.05, 56 ↦ 0.12, 72 ↦ 0.30, 86 ↦ 0.55). Evaluation is a strict temporal split: train on the oldest 75 percent, report AUC, precision-at-depth, and per-band reliability on the newest 25 percent. Calibration measures the gap between `p(x)` and reality out of sample.
The calibration objects:
@@ -59949,17 +66057,17 @@ The calibration objects:
- **Wilson interval**: for `w` wins in `n` resolved coins, the 95 percent Wilson score interval (z = 1.96, z² = 3.8416) is `centre = (p + z²/2n) / (1 + z²/n)` and `margin = z·√((p(1−p) + z²/4n) / n) / (1 + z²/n)` with `p = w/n`. Unlike the normal approximation `p ± z·√(p(1−p)/n)`, it stays inside [0,1], doesn't collapse to zero width at p=0 or p=1, and behaves correctly for the small `n` that young backtests have. It is the difference between an honest "we don't know yet" and a dishonest "0 percent ± 0 percent."
- **Monotonicity and edge**: require `ŷ` non-decreasing in the score bin (within tolerance); define edge multiple `= P(win | prime) / P(win | any)` and lift as the difference, both reported with their CIs.
-The improvement path, formally. The current `w` and thresholds are an expert prior, a fixed, interpretable linear model. The principled upgrade is to (1) fit `w` (and pillar internals) by maximizing log-likelihood or minimizing Brier on resolved outcomes, and (2) compose a monotonic calibration map `g: s ↦ P̂(win)` (Platt or isotonic) so the published number is a true probability. The cap `c(x)` can be retained as a hard monotone constraint, preserving interpretability, "structure can veto," while the rest is learned. The data, the outcome join, and the calibration metrics needed to measure that upgrade are already in production.
+The improvement path, formally. v2 delivered the first two upgrades the v1 appendix promised: the weights are now fitted by maximizing regularized log-likelihood on resolved outcomes, and the published score is a fixed monotone map of a calibrated probability. What remains open, in order of expected value: (1) refit cadence, ideally automated once the labeled set's growth is stable, with a champion/challenger holdout gate so a refit never silently regresses; (2) interaction terms or shallow trees over the same buckets, since the current model is additive and the strongest observed patterns (concentration crossed with buyer count) are plausibly interactive; (3) fitting the smart-money overlay once the widened proven-wallet ledger accumulates enough judged appearances; (4) survival-style labels (time-to-rug) instead of the binary good, so the engine can price exit windows and not just entries.
References and further reading. Wilson (1927), *Probable inference, the law of succession, and statistical inference*. Brier (1950), *Verification of forecasts expressed in terms of probability*. Platt (1999), probabilistic outputs for SVMs (Platt scaling). Zadrozny and Elkan (2002), isotonic calibration. Niculescu-Mizil and Caruana (2005), *Predicting good probabilities with supervised learning*.
## Glossary
-- **Conviction**: the fused 0 to 100 score, the weight of on-chain evidence that a launch will win.
+- **Conviction**: the fused 0 to 100 score, a fixed monotone map of the model's calibrated P(good) so tier boundaries land on stated probabilities.
- **Pillar**: one of the four independent reads, WHO (pedigree), HOW (structure), WHAT (narrative), MOVE (momentum).
- **Tier**: the coarse band a score falls in: prime / strong / lean / watch / avoid.
- **Cap (veto)**: a hard ceiling on the final score, set by a severe structural or pedigree red flag, applied before clamping.
-- **Proven wallet**: a wallet labelled smart-money/KOL or with a reputation score of 70 or more, the pedigree currency.
+- **Proven wallet**: a wallet labelled smart-money/KOL, scoring 70 or more, or holding a 35-percent-plus win rate over 8-plus judged coins (a sustained ~3x edge), the pedigree currency.
- **Win / loss / flat**: outcome grades. Win = graduated or 2 times or greater ATH; loss = rugged or below 1.2 times; flat = in between.
- **Graduated**: a pump.fun coin that completed its bonding curve, the canonical success event.
- **Armed**: an agent configured to act on conviction automatically, in simulate or live mode.
@@ -59974,7 +66082,7 @@ The more data we watch, the sharper every score. Oracle is live now.
---
-<a id="sec-263"></a>
+<a id="sec-305"></a>
> **Source:** `docs/overlay-audit.md` · [↑ table of contents](#table-of-contents)
@@ -60116,7 +66224,7 @@ guaranteed.
---
-<a id="sec-264"></a>
+<a id="sec-306"></a>
> **Source:** `docs/package-extraction.md` · [↑ table of contents](#table-of-contents)
@@ -60235,7 +66343,7 @@ part of the extraction itself — extract and publish first, swap the import lat
---
-<a id="sec-265"></a>
+<a id="sec-307"></a>
> **Source:** `docs/partners.md` · [↑ table of contents](#table-of-contents)
@@ -60243,7 +66351,7 @@ part of the extraction itself — extract and publish first, swap the import lat
`three.ws/partners` is the public map of the cloud, AI, hardware, infrastructure, and media programmes three.ws takes part in. This doc is the developer-facing companion to that page: for each surface it says what the integration actually **is**, at the status the page and the per-partner docs claim, and links the doc that goes deeper.
-Page source: [`pages/partners.html`](../pages/partners.html). Partnership enquiries go to **[email protected]** (the page's "Become a partner" call to action). Press and brand requests go to **[email protected]**, covered in [Press kit](#sec-275).
+Page source: [`pages/partners.html`](../pages/partners.html). Partnership enquiries go to **[email protected]** (the page's "Become a partner" call to action). Press and brand requests go to **[email protected]**, covered in [Press kit](#sec-321).
**Read the status labels literally.** Each card carries a one-word tier chip that is a category, not a rank: Select Partner, Strategic, Cloud, Inception, Media, Infrastructure. Nothing on the page grants an endorsement, and several of the docs below carry explicit "this is not an endorsement" language that must survive any rewrite.
@@ -60253,14 +66361,14 @@ Page source: [`pages/partners.html`](../pages/partners.html). Partnership enquir
| Partner | Chip on the card | Card links to | Deeper docs |
|---|---|---|---|
-| OpenAI | Select Partner | `/openai` | [MCP 3D Studio (free)](#sec-227), [3D Studio (paid)](#sec-224), [Custom GPT config](#sec-129), [AR in ChatGPT](#sec-130), [Spatial MCP](#sec-331) |
-| IBM | Strategic | `/blog/three-ws-ibm-business-partner` | [IBM watsonx and Granite](#sec-205), [IBM Granite x402 MCP](#sec-204) |
-| Amazon Web Services | Cloud | `/aws` | [AWS Marketplace](#sec-115), [listing kit](#sec-114), [partner spotlight](#sec-116) |
+| OpenAI | Select Partner | `/openai` | [MCP 3D Studio (free)](#sec-269), [3D Studio (paid)](#sec-266), [Custom GPT config](#sec-134), [AR in ChatGPT](#sec-135), [Spatial MCP](#sec-378) |
+| IBM | Strategic | `/blog/three-ws-ibm-business-partner` | [IBM watsonx and Granite](#sec-246), [IBM Granite x402 MCP](#sec-245) |
+| Amazon Web Services | Cloud | `/aws` | [AWS Marketplace](#sec-120), [listing kit](#sec-119), [partner spotlight](#sec-121) |
| Google Cloud | Cloud | `/blog/three-ws-google-cloud-partnership` | [Production runbook](ops/gcp-production.md), [credits plan](ops/gcp-credits-plan.md), [model workers](ops/gcp-model-workers.md) |
-| Alibaba Cloud | Cloud | `/blog/three-ws-alibaba-cloud-partnership` | [Listings and distribution](#sec-218), [the model router](#sec-121) |
-| NVIDIA | Inception | `/docs/nvidia-inception` | [NVIDIA Inception](#sec-247), [NVIDIA models](#sec-248), [Nemotron spotlight](#sec-249) |
-| HackerNoon | Media | `/blog/three-ws-hackernoon-partnership` | [Syndication](#sec-338), [Listings and distribution](#sec-218) |
-| Quicknode | Infrastructure | `/blog/three-ws-quicknode-startup-program` | [Solana integration](#sec-330), [Listings and distribution](#sec-218) |
+| Alibaba Cloud | Cloud | `/blog/three-ws-alibaba-cloud-partnership` | [Listings and distribution](#sec-260), [the model router](#sec-126) |
+| NVIDIA | Inception | `/docs/nvidia-inception` | [NVIDIA Inception](#sec-289), [NVIDIA models](#sec-290), [Nemotron spotlight](#sec-291) |
+| HackerNoon | Media | `/blog/three-ws-hackernoon-partnership` | [Syndication](#sec-385), [Listings and distribution](#sec-260) |
+| Quicknode | Infrastructure | `/blog/three-ws-quicknode-startup-program` | [Solana integration](#sec-377), [Listings and distribution](#sec-260) |
The page's stat bar reads 8 partners, 22 chains, and an infinity glyph for scale. It is marked `aria-hidden` and is decorative framing, not a metric to quote.
@@ -60272,13 +66380,13 @@ The page's stat bar reads 8 partners, 22 chains, and an infinity glyph for scale
**What the integration is.**
-- **The keyless connector** at `https://three.ws/api/mcp-studio` is a free MCP server exposing only 3D generation tools: no account, no payment, no API key, no wallet, no token. That is the surface submitted to the ChatGPT App Directory. See [MCP 3D Studio](#sec-227).
-- **The paid sibling** at `https://three.ws/api/mcp-3d` is a separate server with rigging, animation, retexturing, and analysis, authenticated by OAuth 2.1 or paid per call over x402. It shares none of the keyless server's surface. See [3D Studio MCP](#sec-224).
-- **The custom GPT** in the GPT Store calls an Actions contract served from `/.well-known/3d-studio-openapi.yaml`. Its builder configuration is checked in, because the GPT itself is configured by hand: [Custom GPT config](#sec-129).
-- **AR handoff** works from any of these: every generation carries a place-in-your-room link, and the whole pipeline is public and keyless rather than ChatGPT-exclusive. See [AR in ChatGPT](#sec-130).
-- **Spatial MCP** is the open, CC0 response shape that makes a 3D scene a native MCP result instead of a URL in text. three.ws is the reference implementation; the shape is renderer-agnostic and carries no payment, wallet, or coin surface. See [Spatial MCP](#sec-331).
+- **The keyless connector** at `https://three.ws/api/mcp-studio` is a free MCP server exposing only 3D generation tools: no account, no payment, no API key, no wallet, no token. That is the surface submitted to the ChatGPT App Directory. See [MCP 3D Studio](#sec-269).
+- **The paid sibling** at `https://three.ws/api/mcp-3d` is a separate server with rigging, animation, retexturing, and analysis, authenticated by OAuth 2.1 or paid per call over x402. It shares none of the keyless server's surface. See [3D Studio MCP](#sec-266).
+- **The custom GPT** in the GPT Store calls an Actions contract served from `/.well-known/3d-studio-openapi.yaml`. Its builder configuration is checked in, because the GPT itself is configured by hand: [Custom GPT config](#sec-134).
+- **AR handoff** works from any of these: every generation carries a place-in-your-room link, and the whole pipeline is public and keyless rather than ChatGPT-exclusive. See [AR in ChatGPT](#sec-135).
+- **Spatial MCP** is the open, CC0 response shape that makes a 3D scene a native MCP result instead of a URL in text. three.ws is the reference implementation; the shape is renderer-agnostic and carries no payment, wallet, or coin surface. See [Spatial MCP](#sec-378).
-**Saying it correctly.** Write the status as "OpenAI Select Partner". three.ws is an independent member of the network at the Select tier: not an OpenAI product, and not endorsed by OpenAI beyond the partner designation. Badge rules, the required independence line, and every asset are in [`marketing/openai-select-partner/badge-usage.md`](../marketing/openai-select-partner/badge-usage.md); the graphics cleared for editorial use are in [Press kit](#sec-275). The pre-submission verification pack is [`docs/openai-pr/00-START-HERE.md`](#sec-254).
+**Saying it correctly.** Write the status as "OpenAI Select Partner". three.ws is an independent member of the network at the Select tier: not an OpenAI product, and not endorsed by OpenAI beyond the partner designation. Badge rules, the required independence line, and every asset are in [`marketing/openai-select-partner/badge-usage.md`](../marketing/openai-select-partner/badge-usage.md); the graphics cleared for editorial use are in [Press kit](#sec-321). The pre-submission verification pack is [`docs/openai-pr/00-START-HERE.md`](#sec-296).
---
@@ -60286,9 +66394,9 @@ The page's stat bar reads 8 partners, 22 chains, and an infinity glyph for scale
**What the page claims.** three.ws 3D agent identity and x402 payment rails integrate with IBM watsonx and IBM Granite. Agents run enterprise AI models while maintaining on-chain identity and executing real micropayments, all from a single agent profile. Card tags: watsonx.ai, Granite, x402, MCP.
-**What the integration is.** Agents can think on IBM Granite foundation models served through IBM watsonx.ai, using your own IBM Cloud credentials. On top of that runtime sit the Granite-backed API surfaces (avatar brain, Guardian trust layer, TimeSeries forecasting, digital twin, semantic discovery, vision) and an MCP server, all documented in [IBM watsonx and Granite](#sec-205). [IBM Granite x402 MCP](#sec-204) covers the pay-per-call path: an MCP client reaches Granite inference and settles per call in stablecoin from a wallet it already controls, with no IBM Cloud account of its own.
+**What the integration is.** Agents can think on IBM Granite foundation models served through IBM watsonx.ai, using your own IBM Cloud credentials. On top of that runtime sit the Granite-backed API surfaces (avatar brain, Guardian trust layer, TimeSeries forecasting, digital twin, semantic discovery, vision) and an MCP server, all documented in [IBM watsonx and Granite](#sec-246). [IBM Granite x402 MCP](#sec-245) covers the pay-per-call path: an MCP client reaches Granite inference and settles per call in stablecoin from a wallet it already controls, with no IBM Cloud account of its own.
-**The caveat that must not be dropped.** [`docs/ibm.md`](#sec-205) states it plainly: three.ws is an IBM Business Partner, but the public showcase is not the partnership. The `/api/ibm/*` tools are an independent set of developer tools built on IBM's publicly available Granite models. They are not official IBM partnership deliverables, not IBM products, and not endorsed by IBM. The formal partnership work is being built on the IBM platform and is not yet public. Never present the public demos as that work.
+**The caveat that must not be dropped.** [`docs/ibm.md`](#sec-246) states it plainly: three.ws is an IBM Business Partner, but the public showcase is not the partnership. The `/api/ibm/*` tools are an independent set of developer tools built on IBM's publicly available Granite models. They are not official IBM partnership deliverables, not IBM products, and not endorsed by IBM. The formal partnership work is being built on the IBM platform and is not yet public. Never present the public demos as that work.
Live product surfaces: `three.ws/ibm/hello` (the partnership page) and `three.ws/ibm/x402-demo` (the x402 live demo).
@@ -60298,16 +66406,16 @@ Live product surfaces: `three.ws/ibm/hello` (the partnership page) and `three.ws
**What the page claims.** Deployed on AWS infrastructure with Marketplace availability. Enterprises can provision three.ws agent capabilities directly through their existing AWS billing, with support for VPC deployment and IAM-integrated access control. Card tags: Marketplace, EC2, IAM. The card's link label reads "View on AWS Marketplace" and points at `/aws`.
-**What the integration is.** The AWS Marketplace SaaS contract is implemented and deployed: a fulfillment endpoint that exchanges the marketplace token for a customer identifier via `ResolveCustomer`, a signature-verified SNS webhook for subscribe and unsubscribe lifecycle events, account linking after the post-subscribe redirect, and daily metering plus entitlement checks. The subscription itself is a free front door: it links an AWS account to a three.ws account and issues an x402 access key, and usage is then paid per call in stablecoin over x402. AWS Marketplace does not meter or bill the usage. Code lives in `api/aws-marketplace/` and `api/_lib/aws-marketplace.js`; the reference is [AWS Marketplace](#sec-115).
+**What the integration is.** The AWS Marketplace SaaS contract is implemented and deployed: a fulfillment endpoint that exchanges the marketplace token for a customer identifier via `ResolveCustomer`, a signature-verified SNS webhook for subscribe and unsubscribe lifecycle events, account linking after the post-subscribe redirect, and daily metering plus entitlement checks. The subscription itself is a free front door: it links an AWS account to a three.ws account and issues an x402 access key, and usage is then paid per call in stablecoin over x402. AWS Marketplace does not meter or bill the usage. Code lives in `api/aws-marketplace/` and `api/_lib/aws-marketplace.js`; the reference is [AWS Marketplace](#sec-120).
**Status wording differs across surfaces, so quote the surface you are on.**
- The `/partners` card says "Marketplace availability".
- The `/aws` page badge says "AWS Partner, Software Path" and its hero says "Marketplace listing coming soon".
-- [`docs/listings.md`](#sec-218) records AWS Marketplace as Live and three.ws as an AWS Partner.
-- [`docs/aws-marketplace-listing-kit.md`](#sec-114) says the backend integration is built and deployed but the listing itself has not yet been created in the AWS Marketplace Management Portal.
+- [`docs/listings.md`](#sec-260) records AWS Marketplace as Live and three.ws as an AWS Partner.
+- [`docs/aws-marketplace-listing-kit.md`](#sec-119) says the backend integration is built and deployed but the listing itself has not yet been created in the AWS Marketplace Management Portal.
-Do not resolve that spread by picking the strongest claim. If you need one sentence, the safe one is the one the product page uses: three.ws is an AWS Partner, and the Marketplace listing is coming. Longer-form pieces written for AWS channels are [partner spotlight](#sec-116), [MCP agents](#sec-112), and [Marketplace metering in front of x402](#sec-111).
+Do not resolve that spread by picking the strongest claim. If you need one sentence, the safe one is the one the product page uses: three.ws is an AWS Partner, and the Marketplace listing is coming. Longer-form pieces written for AWS channels are [partner spotlight](#sec-121), [MCP agents](#sec-117), and [Marketplace metering in front of x402](#sec-116).
---
@@ -60317,7 +66425,7 @@ Do not resolve that spread by picking the strongest claim. If you need one sente
**What the integration is.** Production runs on Google Cloud: one Cloud Run service serves the static frontend, the route table, and every API handler, with the crons on Cloud Scheduler and the GPU model workers on their own services. Vertex AI provides the Gemini and image lanes. The operational detail is in [production runbook](ops/gcp-production.md), [fleet and quota plan](ops/gcp-credits-plan.md), and [model workers](ops/gcp-model-workers.md).
-**Programme status.** [`docs/listings.md`](#sec-218) records three.ws as a **member of Google Cloud for Web3 Startups**, with the programme backing compute and Vertex AI usage, and records Google Cloud Marketplace separately as **open to partnership** (no listing yet). The page card describes the technical dependency, not a marketplace listing; keep those two apart.
+**Programme status.** [`docs/listings.md`](#sec-260) records three.ws as a **member of Google Cloud for Web3 Startups**, with the programme backing compute and Vertex AI usage, and records Google Cloud Marketplace separately as **open to partnership** (no listing yet). The page card describes the technical dependency, not a marketplace listing; keep those two apart.
---
@@ -60325,9 +66433,9 @@ Do not resolve that spread by picking the strongest claim. If you need one sente
**What the page claims.** Alibaba Cloud extends three.ws into APAC markets with Qwen model integration and regional MCP server deployment. three.ws agents reach global audiences with low-latency inference close to users in Asia. Card tags: Qwen, MCP, APAC.
-**What the integration is.** Qwen models are first-class lanes in the platform's multi-model brain router (`/api/brain/chat`), reached through DashScope alongside the other providers, so an agent can be pointed at a Qwen model the same way it is pointed at any other. See [the agent brain](#sec-121) for the router and the model ids.
+**What the integration is.** Qwen models are first-class lanes in the platform's multi-model brain router (`/api/brain/chat`), reached through DashScope alongside the other providers, so an agent can be pointed at a Qwen model the same way it is pointed at any other. See [the agent brain](#sec-126) for the router and the model ids.
-**Listing status.** [`docs/listings.md`](#sec-218) records the Alibaba Cloud International Marketplace listing as **Live**, with a product listing, a storefront, and an editorial feature published on the Alibaba Cloud Marketplace blog. That doc holds the canonical links; treat it as the source of truth rather than restating URLs here.
+**Listing status.** [`docs/listings.md`](#sec-260) records the Alibaba Cloud International Marketplace listing as **Live**, with a product listing, a storefront, and an editorial feature published on the Alibaba Cloud Marketplace blog. That doc holds the canonical links; treat it as the source of truth rather than restating URLs here.
---
@@ -60337,10 +66445,10 @@ Do not resolve that spread by picking the strongest claim. If you need one sente
**What the integration is.** Two distinct things, and the docs keep them distinct:
-- **Inception membership**, accepted July 2026. [NVIDIA Inception](#sec-247) states what membership adds (GPU credits, hardware access, engineering support) and where it shows up in the product.
-- **The free hosted inference lane.** A large share of platform AI runs on NVIDIA-hosted models unlocked by a single `NVIDIA_API_KEY`, a rate-limited free tier with no per-model billing and no SLA, which is why the platform always keeps a fallback behind it. [NVIDIA models](#sec-248) is the canonical map of which model does what and where it is wired. Membership does not change that lane; it is how the platform scales past free-tier limits without giving up the free-first design.
+- **Inception membership**, accepted July 2026. [NVIDIA Inception](#sec-289) states what membership adds (GPU credits, hardware access, engineering support) and where it shows up in the product.
+- **The free hosted inference lane.** A large share of platform AI runs on NVIDIA-hosted models unlocked by a single `NVIDIA_API_KEY`, a rate-limited free tier with no per-model billing and no SLA, which is why the platform always keeps a fallback behind it. [NVIDIA models](#sec-290) is the canonical map of which model does what and where it is wired. Membership does not change that lane; it is how the platform scales past free-tier limits without giving up the free-first design.
-[Nemotron spotlight](#sec-249) is a published community piece on building the text-to-3D pipeline on NIM. It is a developer-blog showcase, not a partnership document.
+[Nemotron spotlight](#sec-291) is a published community piece on building the text-to-3D pipeline on NIM. It is a developer-blog showcase, not a partnership document.
---
@@ -60348,15 +66456,15 @@ Do not resolve that spread by picking the strongest claim. If you need one sente
**What the page claims.** A builder-focused publishing partnership: feature articles, tutorials, and developer guides for people shipping with AI, published to HackerNoon's developer audience. Card tags: Publishing, Developer content.
-**What the integration is.** Mechanical, and worth knowing if you write posts here: HackerNoon auto-imports from `https://three.ws/rss/announcements.xml`, polls roughly hourly, pulls every new item into the drafts queue, and publishes with canonical URLs pointing back to three.ws. There is no per-post action. Setup steps and the author-profile claim flow are in [Syndication](#sec-338); the listing row is in [Listings and distribution](#sec-218).
+**What the integration is.** Mechanical, and worth knowing if you write posts here: HackerNoon auto-imports from `https://three.ws/rss/announcements.xml`, polls roughly hourly, pulls every new item into the drafts queue, and publishes with canonical URLs pointing back to three.ws. There is no per-post action. Setup steps and the author-profile claim flow are in [Syndication](#sec-385); the listing row is in [Listings and distribution](#sec-260).
---
## Quicknode
-**What the page claims.** three.ws is a member of the Quicknode Startup Program with approved infrastructure credits. Quicknode's globally distributed RPC endpoints add capacity and redundancy to the chain access behind agent wallets, x402 settlement verification, and live Solana market data. Card tags: Solana RPC, Streams, Multi-chain. [`docs/listings.md`](#sec-218) records the programme as **accepted (2026-07)** with approved free infrastructure credits.
+**What the page claims.** three.ws is a member of the Quicknode Startup Program with approved infrastructure credits. Quicknode's globally distributed RPC endpoints add capacity and redundancy to the chain access behind agent wallets, x402 settlement verification, and live Solana market data. Card tags: Solana RPC, Streams, Multi-chain. [`docs/listings.md`](#sec-260) records the programme as **accepted (2026-07)** with approved free infrastructure credits.
-**What the integration is.** A rung in the Solana RPC failover chain, not the whole chain. Server-side calls build a chain across an explicit primary, keyed providers, operator-supplied fallbacks, keyless public endpoints, and a paid reserve tried last, rotating past anything rate-limited. [Solana integration](#sec-330) documents it, including the trap that matters operationally: never name the same endpoint as both the primary and the last-resort reserve, because the chain dedupes by URL and keeps the first occurrence, so the "reserve" silently absorbs all traffic.
+**What the integration is.** A rung in the Solana RPC failover chain, not the whole chain. Server-side calls build a chain across an explicit primary, keyed providers, operator-supplied fallbacks, keyless public endpoints, and a paid reserve tried last, rotating past anything rate-limited. [Solana integration](#sec-377) documents it, including the trap that matters operationally: never name the same endpoint as both the primary and the last-resort reserve, because the chain dedupes by URL and keeps the first occurrence, so the "reserve" silently absorbs all traffic.
---
@@ -60364,7 +66472,7 @@ Do not resolve that spread by picking the strongest claim. If you need one sente
Worth stating, because partner claims drift upward when nobody writes the boundary down:
-- **No Intel, Microsoft, or Oracle programme appears on `/partners`.** [`docs/listings.md`](#sec-218) records Microsoft Azure Marketplace as **on roadmap**. Third-party model or component names that appear in the stack (for example the image-to-3D backends listed in [3D Studio MCP](#sec-224)) are technical dependencies, not partnerships.
+- **No Intel, Microsoft, or Oracle programme appears on `/partners`.** [`docs/listings.md`](#sec-260) records Microsoft Azure Marketplace as **on roadmap**. Third-party model or component names that appear in the stack (for example the image-to-3D backends listed in [3D Studio MCP](#sec-266)) are technical dependencies, not partnerships.
- **No tier is claimed beyond the chips on the cards.** "Strategic", "Cloud", "Media", and "Infrastructure" are groupings three.ws chose for its own page. Only two named programme statuses come from the partner: OpenAI Select Partner, and NVIDIA Inception member.
- **No endorsement is claimed anywhere.** OpenAI, IBM, and NVIDIA all carry explicit independence language in their docs. Reproduce it.
@@ -60378,14 +66486,14 @@ The page closes with four reasons, useful as the short pitch when someone asks:
## Related
-- [Press kit](#sec-275): marks, announcement graphics, boilerplate, and the rules for all of it
-- [Listings and distribution](#sec-218): marketplaces, ecosystem directories, and media partners with per-listing status
-- [Integrations](#sec-208): the catalog of ways to put an agent on a site you do not control
-- [x402](#sec-456): the payment rail behind the agent-to-agent micropayments every partner surface references
+- [Press kit](#sec-321): marks, announcement graphics, boilerplate, and the rules for all of it
+- [Listings and distribution](#sec-260): marketplaces, ecosystem directories, and media partners with per-listing status
+- [Integrations](#sec-250): the catalog of ways to put an agent on a site you do not control
+- [x402](#sec-506): the payment rail behind the agent-to-agent micropayments every partner surface references
---
-<a id="sec-266"></a>
+<a id="sec-308"></a>
> **Source:** `docs/partners/sperax-proposal.md` · [↑ table of contents](#table-of-contents)
@@ -60433,7 +66541,7 @@ Both sides already ship for a living — this proposal only asks each of us to d
---
-<a id="sec-267"></a>
+<a id="sec-309"></a>
> **Source:** `docs/pay-skills-listing.md` · [↑ table of contents](#table-of-contents)
@@ -60534,7 +66642,7 @@ are supported.
---
-<a id="sec-268"></a>
+<a id="sec-310"></a>
> **Source:** `docs/payment-sessions.md` · [↑ table of contents](#table-of-contents)
@@ -60982,13 +67090,13 @@ curl -s $BASE/api/credits -H "$AUTH" | jq .balance_usd
## Related
-- [x402 Protocol](#sec-456): the challenge / verify / settle mechanics behind every paid call.
-- [x402 Buyer Client](#sec-449): paying x402 endpoints from your own wallet instead of a session.
-- [x402 Developer Tools](#sec-450): free echo / debug / receipt-verification tools for debugging a paid call.
+- [x402 Protocol](#sec-506): the challenge / verify / settle mechanics behind every paid call.
+- [x402 Buyer Client](#sec-498): paying x402 endpoints from your own wallet instead of a session.
+- [x402 Developer Tools](#sec-499): free echo / debug / receipt-verification tools for debugging a paid call.
---
-<a id="sec-269"></a>
+<a id="sec-311"></a>
> **Source:** `docs/permissions.md` · [↑ table of contents](#table-of-contents)
@@ -61358,17 +67466,17 @@ Set `SMOKE_SKIP_REVOKE=1` to skip the on-chain revocation step if the test walle
## See also
-- [Architecture Overview](#sec-093)
-- [Agent System](#sec-061)
-- [ERC-8004 Blockchain Identity](#sec-175)
-- [Skill System](#sec-323)
+- [Architecture Overview](#sec-098)
+- [Agent System](#sec-062)
+- [ERC-8004 Blockchain Identity](#sec-182)
+- [Skill System](#sec-370)
- [EIP-7710](https://eips.ethereum.org/EIPS/eip-7710) — delegation envelope format
- [EIP-7715](https://eips.ethereum.org/EIPS/eip-7715) — `wallet_grantPermissions` JSON-RPC method
- [MetaMask Delegation Toolkit](https://docs.metamask.io/delegation-toolkit/)
---
-<a id="sec-270"></a>
+<a id="sec-312"></a>
> **Source:** `docs/persona-hub.md` · [↑ table of contents](#table-of-contents)
@@ -61765,7 +67873,7 @@ JWT claims:
---
-<a id="sec-271"></a>
+<a id="sec-313"></a>
> **Source:** `docs/plan-checkout.md` · [↑ table of contents](#table-of-contents)
@@ -61781,7 +67889,7 @@ three.ws has a self-serve paid tier. Upgrading to **Pro** (or Team / Enterprise)
Where to use it: the Pro card on [three.ws/pricing](https://three.ws/pricing) opens the checkout when you're signed in. Confirmed payments set `users.plan`, light up the Pro badge everywhere ([api/_lib/account-tier.js](../api/_lib/account-tier.js)), and grant 30 days per payment.
-This is separate from (and complementary to) [hold-to-access](#sec-196), which derives holder tiers from $THREE you *hold*; the plan checkout is $THREE you *spend*.
+This is separate from (and complementary to) [hold-to-access](#sec-234), which derives holder tiers from $THREE you *hold*; the plan checkout is $THREE you *spend*.
---
@@ -61892,7 +68000,633 @@ Plan prices live in [api/payments/_config.js](../api/payments/_config.js) (`PLAN
---
-<a id="sec-272"></a>
+<a id="sec-314"></a>
+
+> **Source:** `docs/play-boot-performance.md` · [↑ table of contents](#table-of-contents)
+
+# Why `/play` opens fast, and how to keep it that way
+
+`/play` is the heaviest page on three.ws. Opening a coin world means booting a WebGL renderer, a WASM physics solver, a procedurally generated city, a skinned avatar, a Colyseus room, an economy HUD, and a crowd of NPCs, all from a cold cache when someone clicks a shared link.
+
+That work is unavoidable. What *is* avoidable is paying for it at the wrong moment. This document records the boot-cost invariants that keep the first ten seconds fast, so a future change does not quietly undo one of them. Each section names the regression it prevents, because each of them actually shipped once and was measured on the live site.
+
+Related docs: [how /play stays safe, honest, and light](#sec-316), [architecture](#sec-098).
+
+## How to measure before you claim anything
+
+Boot cost is not something to reason about from the source. Load the real page in a real browser and read the numbers:
+
+```js
+// Paste into DevTools on https://three.ws/play?coin=<mint>
+new PerformanceObserver((l) => l.getEntries().forEach((e) =>
+ console.log('longtask', Math.round(e.startTime), Math.round(e.duration))))
+ .observe({ entryTypes: ['longtask'] });
+
+performance.getEntriesByType('resource')
+ .map((r) => ({ url: r.name, kb: Math.round((r.transferSize || 0) / 1024), start: Math.round(r.startTime) }))
+ .sort((a, b) => b.kb - a.kb).slice(0, 20);
+```
+
+Two numbers matter and they fail independently:
+
+- **Bytes on the critical path.** Anything a `<script type="module">` reaches through *static* imports is fetched and parsed before the page can run, whether the user needs it in the first second or not.
+- **Work landing on one frame.** three.js compiles a material's GPU program the first time it draws it, so geometry added in a burst compiles in a burst, on whichever single frame happens to come next.
+
+---
+
+## 1. The physics runtime is never a static import
+
+**Invariant: `@dimforge/rapier3d-compat` is reached only through the dynamic `import()` inside `initRapier()` in [src/physics/physics-world.js](../src/physics/physics-world.js).**
+
+The `-compat` build of Rapier base64s its WebAssembly binary into its JavaScript. That is what makes it convenient (no decoder file to host) and what makes it dangerous to import carelessly: Rollup folds a statically imported module into the chunk that imports it, so a single top-level `import RAPIER from '@dimforge/rapier3d-compat'` put **2.27 MB of parsed JavaScript, 774 KB over the wire**, into the shared chunk that `/play` and `/walk` both modulepreload. The browser paid a multi-second parse before the first frame, for a solver nothing needs until the world is already standing.
+
+Nothing about the physics boot was ever synchronous. `PhysicsWorld.create()` is awaited, and both scenes document a direct-mutation movement fallback for the frames before the WASM lands. The static import bought nothing and cost the entire critical path.
+
+**If you add a physics-using scene, import `PhysicsWorld` freely. Do not import the Rapier package itself anywhere.**
+
+## 2. World entry is the busiest moment, so nothing decorative joins it
+
+**Invariant: work that is not the player's own world waits for the world to settle.**
+
+The ambient crowd in [src/game/ambient-crowd.js](../src/game/ambient-crowd.js) is scenery: wandering avatars so a quiet world does not read as an empty room. It used to fetch the public avatar gallery at module load (measured at 4.6s into a cold boot, before the world existed) and build its wanderers the instant the world opened, each one a multi-megabyte GLB download plus a skeleton retarget.
+
+That landed on top of the physics boot, the district build, the player's own avatar, and the room join. Now the crowd waits `SETTLE_MS` of actual world time before it fetches anything or builds anyone.
+
+**Scenery must never compete with the thing it decorates.** If you add ambient life, NPCs, or background content to a world, gate it behind the same settle window.
+
+## 3. Shader programs compile before the frame that draws them
+
+**Invariant: a burst of scene additions during entry is followed by `_warmShaders()` in [src/game/coincommunities.js](../src/game/coincommunities.js).**
+
+`enter()` adds the biome, the district grid, the coin totem, the jumbotron, the chart screen, and the oracle ribbon inside one synchronous task, then the player's skinned avatar inside another. No frame renders mid-task, so *the very next frame after each burst* had to compile and link every one of those programs at once: one multi-hundred-millisecond stall, on the exact frame the player first looks at the world.
+
+That is the signature users describe as "slow at first, then it stabilizes" -- compiled programs are cached for the rest of the session, so the stall never recurs and the world feels fine forever after.
+
+`_warmShaders()` runs `renderer.compileAsync()`, which uses `KHR_parallel_shader_compile` where the driver supports it so linking happens off the main thread. Rendering is suspended for its duration (the canvas holds its last frame) so a `requestAnimationFrame` tick cannot slip in and force the synchronous compile the warm-up exists to avoid. The suspension is capped by `WARM_TIMEOUT_MS`, so a driver that never reports completion degrades to the old behaviour rather than freezing the canvas.
+
+**If you add a batch of meshes to world entry, add them before an existing warm pass, not after it.**
+
+## 4. The scene is lit on its first frame, never after a download
+
+**Invariant: [`loadEnvironment()`](../src/shared/cinematic-render.js) installs the procedural `RoomEnvironment` synchronously, and only then upgrades to an HDRI.**
+
+The curated HDRIs are 1-2 MB files (`/hdri/outdoor.hdr` is 1.4 MB). A scene that waited for one rendered its metals and roughness response unlit until the download and PMREM convolution finished, then popped to full lighting all at once. `RoomEnvironment` is convolved from a handful of emissive boxes and costs about a millisecond, so it now lights every scene immediately and the HDRI refines an already correct image.
+
+This applies to all 20+ callers, not just `/play`. The HDRI path also drops its interim render target and disposes the `PMREMGenerator` scratch, and it declines to overwrite `scene.environment` if another call re-pointed it while the file was in flight.
+
+## 5. One asset is decoded once
+
+**Invariant: shared artwork goes through a memoized loader, not a fresh `TextureLoader` per surface.**
+
+The coin's artwork appears on the totem's two faces and on the jumbotron panel. Each surface used to run its own `TextureLoader` against the same URL. The HTTP cache deduped the *download*, which made this look free, but the browser still decoded the image twice and three.js still uploaded two independent textures. Token art routinely runs past half a megabyte (the flagship `$THREE` image is 567 KB) and that second decode landed inside world entry.
+
+`_loadCoinArt()` memoizes the promise per URL for the life of the world and drops it in `leave()`, so the next coin loads its own art and this one's texture is freed with the meshes that carry it.
+
+## 6. The render-tier watchdog does not judge a world that is still assembling
+
+**Invariant: `_loop()` gives the frame watchdog `WATCHDOG_GRACE_MS` after a world becomes playable.**
+
+[src/club-perf.js](../src/club-perf.js) steps the render tier down after two sustained slow seconds and only climbs back after six sustained fast ones. World entry keeps working after the player takes control: agent desks arrive over the network, the NPC crowd builds, the HDRI upgrade convolves. Judged live, that burst downgraded the pixel ratio of machines that had no trouble drawing the world at all, and the asymmetric recovery window meant the player spent their first ten seconds looking at a needlessly soft image.
+
+Frames during entry are slow because the world is still assembling, not because the device cannot draw it. The grace period is not a way to hide a real performance problem; it is a refusal to draw a conclusion from unrepresentative data.
+
+---
+
+## Verifying a change
+
+Before shipping anything that touches `/play` boot:
+
+1. `npm run dev`, open `/play?coin=<mint>` with an empty cache, and confirm no long task over ~500ms after `domcontentloaded`.
+2. Check the network panel: nothing over 100 KB should be fetched that the first visible frame does not need.
+3. Confirm no new static import pulls a WASM-bearing or multi-megabyte package into a shared chunk. `npx vite build` and look at the emitted chunk sizes.
+4. `npm test`.
+
+---
+
+<a id="sec-315"></a>
+
+> **Source:** `docs/play-forge-in-world.md` · [↑ table of contents](#table-of-contents)
+
+# Forge in world: spawn items into a `/play` server from a prompt
+
+In [`/play`](https://three.ws/play), every coin is its own live server. Until now you could
+only place props that already existed: a hand-authored catalog piece, a community gallery
+model, or a `.glb` you uploaded yourself. Forge-in-world removes that last limit. Describe
+an item in words, or hand it a photo, and about half a minute later the item is a real
+textured 3D model standing in the world, visible to everyone connected to that server.
+
+Nothing is faked. The text goes to the same free forge lane that powers
+[`/forge`](https://three.ws/forge), the result is a genuine GLB in three.ws storage, and it
+reaches other players over the world's existing object channel, which means it persists in
+the world exactly like a block you placed by hand.
+
+## Using it
+
+### From the build palette
+
+1. Enter a world and press `B` (or tap **Build**) to open build mode.
+2. In the **Props** palette, click **Forge**.
+3. Type what you want, for example `a mossy stone lantern with a copper roof`.
+4. Optionally click **Photo** and attach a PNG, JPEG, or WebP reference image (up to
+ 8 MB). With a photo attached, the prompt becomes a hint rather than the whole brief.
+5. Click **Forge**. The palette's status strip reports progress the whole way
+ (`Sending to the forge…`, then `Forging: waiting for a slot…`, then `Forging your model…`).
+
+When it finishes, the model is added to your props as its own button and armed
+automatically. Click anywhere on the ground to place it. `R` rotates before you commit,
+and break mode removes props you own.
+
+### From world chat
+
+Type a slash command into the chat box:
+
+```
+/forge a brass telescope on a tripod
+```
+
+Chat is the fastest path because you do not have to open the palette first. The command
+answers locally (it is never broadcast to the other players), and when the model is ready
+build mode opens with the new prop armed and waiting for your click. A bare `/forge` with
+no description replies with a usage hint instead of sending `/forge` to the room.
+
+## What everyone else sees
+
+The moment you place a forged item, it becomes a `WorldObject` in the room's authoritative
+state and Colyseus broadcasts it to every other client in that server. Their client reads
+the model URL off the object itself, so nobody needs your palette entry, a page reload, or
+the same version of the app. The world's persistence layer saves it with the rest of the
+build, so the item is still standing when the room is next created.
+
+That is the whole point of forging inside a server rather than on `/forge`: the thing you
+imagined is instantly part of a shared place, not a file in your downloads folder.
+
+## Cost and limits
+
+| | |
+|---|---|
+| Price | Free. Forge-in-world uses the draft tier, which needs no account, wallet, or key. |
+| Typical time | 20 to 60 seconds. A cold GPU can add up to a minute and a half. |
+| Concurrency | One forge at a time per player. A second request while one is running is refused with a toast. |
+| World caps | Forged props count against the normal build budget: 200 objects per world, 30 per player. |
+| Rate limits | The free lane is rate-limited per client per hour. Hitting it reports "The forge is busy right now" and the request can be retried. |
+
+Forged models are recorded against the same anonymous client id `/forge` uses
+(`localStorage['forge:cid']`), so anything you make in-world also appears in that browser's
+forge history.
+
+## How it fits together
+
+```
+palette form / "/forge" chat src/game/coincommunities-ui.js
+ -> onForgeProp handler src/game/coincommunities.js (_forgeProp)
+ -> forgeWorldProp() src/game/forge-prop.js
+ -> POST /api/forge free draft lane, text or image_urls
+ -> GET /api/forge?job=<id> polled to completion
+ -> registerUploadedProp(url) src/game/world-objects.js
+ -> _pickProp(def.id) arms it for placement
+ -> click -> net.spawnObject(...) obj:spawn { type, url, x, y, z, yaw, scale }
+ -> WalkRoom._handleObjSpawn multiplayer/src/rooms/WalkRoom.js
+ -> normalizePropAssetUrl multiplayer/src/build-limits.js (allow-list)
+ -> state.objects broadcast every client in the server renders it
+```
+
+Two details worth knowing if you are extending this:
+
+**The forge URL is already trusted.** Finished models are materialized into three.ws
+storage on an `*.r2.dev` host, which is on the world asset allow-list
+(`normalizePropAssetUrl` in [multiplayer/src/build-limits.js](../multiplayer/src/build-limits.js)).
+No server change was needed to let forged items in, and no arbitrary third-party URL can
+follow them: an off-list host is refused with `obj:reject` carrying `reason: 'asset_url'`.
+
+**Nothing new is on the wire.** Forged props travel as ordinary world objects. The `url`
+field that carries player uploads carries these too, so older clients, the persistence
+layer, ownership checks, and the per-player object cap all apply without modification.
+
+## Related
+
+- [3D asset pipeline](#sec-002): what the forge lanes are and how they differ
+- [In-game economy](#sec-248): the rest of what you can do inside a `/play` world
+- [/forge](https://three.ws/forge): the full studio, with paid tiers, rigging, and game-ready export
+
+---
+
+<a id="sec-316"></a>
+
+> **Source:** `docs/play-hardening.md` · [↑ table of contents](#table-of-contents)
+
+# How `/play` stays safe, honest, and light
+
+`/play` is the GTA-style coin-community world at [three.ws/play](https://three.ws/play). It is the largest interactive surface on the platform: a shared 3D city per pump.fun coin, with a server-authoritative economy, combat, quests, vehicles, voice chat, and live peers.
+
+It is also the surface with the least trusted input. Its entry URL is a link strangers share:
+
+```
+/play?coin=<mint>&name=<name>&symbol=<sym>&image=<url>
+```
+
+Every part of that URL, every display name a peer picks, and every field of the pump.fun coin metadata is text an attacker chose. This document records the invariants that keep the world safe and honest, so that a future change does not quietly undo one of them. Each section names the failure it prevents, because each of these actually shipped once.
+
+Related docs: [in-game economy](#sec-248), [architecture](#sec-098), [security](#sec-361).
+
+---
+
+## 1. Untrusted text never becomes markup
+
+**Invariant: every user- or network-controlled string is written with `textContent`, never `innerHTML`.**
+
+The `/play` UI modules share an `el()` helper that supports an `html:` property. That property is for *static literals only*. If you find yourself interpolating a variable into it, you have found a bug.
+
+The one place this was violated was the tombstone loot prompt in [src/game/combat-system.js](../src/game/combat-system.js). It built its prompt as a template string containing `nearest.t.owner`, which is a remote player's chosen display name, replicated to every client:
+
+```js
+// WRONG: shipped, and exploitable
+this.prompt.innerHTML = `<span class="combat-key">E</span> Loot ${nearest.t.owner}…`;
+```
+
+The server's only name gate is a hate-slur word list ([multiplayer/src/display-name-safety.js](../multiplayer/src/display-name-safety.js)), which is not an HTML escaper. A player could name themselves `<img src=x onerror=…>`, die in a danger zone, and have the payload execute for every player who walked near their tombstone. The fix builds the prompt from real nodes:
+
+```js
+const key = document.createElement('span');
+key.className = 'combat-key';
+key.textContent = 'E';
+this.prompt.replaceChildren(key, document.createTextNode(` Loot ${nearest.t.owner}…`));
+```
+
+**When you add a prompt, label, nameplate, chat line, or panel row that shows a name, a coin symbol, quest text, or anything from an API: use `textContent`.**
+
+## 2. A coin image cannot escape its CSS declaration
+
+**Invariant: a URL that lands inside a CSS `url(...)` value goes through `cssBgImage()` in [src/game/coincommunities-ui.js](../src/game/coincommunities-ui.js).**
+
+Lobby cards paint the coin's artwork as a background image. `proxiedImageURL()` ([src/ipfs.js](../src/ipfs.js)) URL-encodes values matching `^(https?|ipfs|ar):` and passes relative, `blob:` and `data:image/*` sources through untouched (see section 11 for what it now refuses outright). A coin minted with an `image_uri` of
+
+```
+x");position:fixed;inset:0;z-index:99999;background:#000 url(//evil/phish.png);content:"
+```
+
+would close the `url()`, close the declaration, and paint a full-viewport overlay (a fake wallet prompt, say) over the lobby of everyone browsing trending coins. The same raw value rides in `?image=` on a shared link.
+
+`cssBgImage()` refuses script-bearing schemes and percent-encodes every character that could terminate the value:
+
+```js
+el('div', { class: 'cc-card-img', style: cssBgImage(c.image) }, …)
+```
+
+The payload may still be *present* in the output, but only ever as inert text inside one URL. [tests/play-deeplink-safety.test.js](../tests/play-deeplink-safety.test.js) proves this with a real CSS parser: it sets the returned style on a jsdom element and asserts that `position`, `inset`, `z-index` and `content` are all empty and only `background-image` is set.
+
+## 3. A broken world link says so
+
+**Invariant: `?coin=` is validated against `isPlausibleMint()` before any world is built.**
+
+A mint is either a Solana base58 address (pump.fun mints, including `$THREE`) or an EVM `0x` address (Robinhood Chain coins). `/play?coin=notarealmint` used to build a complete, convincing world: a real district, a totem reading "COMMUNITY", a Colyseus room keyed on the garbage string, and a persistent build layer no other player would ever see. Nothing anywhere told the visitor the link was broken.
+
+Now a malformed mint leaves the player in the lobby with a plain explanation, one tap from every real world. `name` and `symbol` are separately clamped by `clampParam()` to the same caps the room server enforces, with control characters, line breaks, bidi overrides and zero-width characters stripped, so a 10 KB `name=` cannot rewrap the HUD.
+
+### 3a. The loading screen reads the same URL, and obeys the same rules
+
+**Invariant: the inline identity script in [pages/play.html](../pages/play.html) writes only `textContent`, accepts only site-absolute or `https:` image URLs, and length-clamps every value.**
+
+The app bundle is not on screen yet while the boot loader is up, so the loader has its own, deliberately tiny reader of `?name` / `?symbol` / `?image`. It exists because a shared world link spent that entire window saying nothing about which world was opening. It is a *second* consumer of the least trusted input on the platform, running earlier than every guard in section 1 through 3, so it repeats them locally rather than importing them (importing a module would defeat the point of painting before the bundle arrives):
+
+- Text goes in with `textContent`. There is no `innerHTML` in the script.
+- `image` is accepted only when it starts with a single `/` (the same-origin `/api/img` proxy, which is what the share-link rewrite emits) or `https://`. A `javascript:` or `data:` value is dropped and the letter-mark stands in.
+- `name` is capped at 28 characters and `symbol` at 12, cut on a word boundary.
+- Anything unexpected throws into a `catch` that leaves the generic loader exactly as it shipped.
+
+The art has a designed failure path in both places it appears. In the loader, a monogram sits under the `<img>` and the image only fades in on `load`; an `error` removes the `<img>` and leaves the monogram. In the world, the HUD banner's `.cc-coin-img` does the same against `.cc-coin-mono` ([src/game/coincommunities-ui.js](../src/game/coincommunities-ui.js)). The 3D totem and jumbotron already degraded to text-only on a failed `TextureLoader` fetch. This matters on venue wifi, where the IPFS gateway behind `/api/img` is the single most likely thing to fail while everything else about the world works.
+
+The loader also sets a provisional `document.title` from the link and stashes the original in `documentElement.dataset.lobbyTitle`; `_setTabTitle()` in [src/game/coincommunities.js](../src/game/coincommunities.js) replaces it with the resolved coin on entry and restores the stashed original on leave, so the two writers never fight and the localised title is never re-spelled in JS.
+
+### 3b. A link that kept only the mint still opens a named world
+
+**Invariant: `enter()` backfills a missing name, symbol, image or market cap from `/api/pump/coin` before it builds anything, and what the link carried always wins.**
+
+The mint is the only part of `/play?coin=…&name=…&symbol=…&image=…` that identifies the coin. Everything after it is decoration the sharer's client appended to the URL, and it goes missing constantly: a hand-typed link, a chat client that truncated the query, an unfurl that kept only the mint, a link copied out of a screenshot. The market cap was never on the URL at all, because a number that moves cannot be baked into a link people re-share for weeks.
+
+A link short of that decoration used to build the full world anyway, with no identity in it: a totem reading "COMMUNITY", a welcome card offering "the Community community", a tab titled Community, and a blank market cap on both the jumbotron and the in-world chart screen. That is the same failure section 3 refuses for a *broken* mint, arriving through a mint that is perfectly valid.
+
+`_fetchCoinIdentity()` in [src/game/coincommunities.js](../src/game/coincommunities.js) reads the coin from the same feed the lobby cards are built from, and `mergeCoinIdentity()` fills only the blanks: whatever the link did carry is what every peer already on that link sees, so it stays authoritative even if the feed disagrees. The rules from sections 1 through 3 still apply to the result, since it is upstream text like any other: the name and symbol go through `clampParam()`, the image through `proxiedImageURL()`. Four properties keep the lookup from ever being worse than the nameless world it replaces:
+
+- It is skipped entirely for a coin that arrived complete, so a lobby card never pays for it.
+- It is skipped for an EVM mint, which the pump.fun lookup cannot answer for.
+- It is bounded by an `AbortController` at `COIN_IDENTITY_TIMEOUT_MS`, so a slow upstream cannot hold a player on the loading screen; any failure resolves to `null` and the world builds exactly as it did before.
+- It re-checks the entry phase and epoch after awaiting, so backing out mid-lookup bails instead of resurrecting a torn-down world.
+
+The URL rewrite that follows puts the resolved identity back on the address bar, so the next person to receive that link never pays for the lookup at all.
+
+## 4. Losing the connection recovers cleanly
+
+**Invariant: a reconnect must retire the peers who left while you were offline.**
+
+`CommunityNet` reconnects with a fresh `joinOrCreate`, and it removes the old room's listeners *before* leaving it (deliberately, to avoid duplicate-socket bugs). Two consequences follow, and both are load-bearing:
+
+1. The old room's `onRemove` never fires, so peers from before the drop are never cleaned up by the normal path.
+2. Colyseus reissues session ids, so the same human can come back under a new key.
+
+`_markRemotesStale()` flags every current peer when the socket goes to `connecting`; the fresh room's `add` events clear the flag; `_pruneStaleRemotes()` retires whatever is still flagged once the snapshot lands. Both live in [src/game/coincommunities.js](../src/game/coincommunities.js).
+
+These two methods were *called* on every drop but never *defined*, so a reconnect threw a `TypeError` and ghosts accumulated: two drops in a ten-person world left thirty avatars on screen, twenty of them frozen, with the online count reporting triple the truth. If you rename or move them, update both call sites and [scripts/play-desktop-audit.mjs](../scripts/play-desktop-audit.mjs), which asserts they are callable in a real browser.
+
+Related: the death overlay hides on a `respawn` notice, but a reconnect re-sends the authoritative profile without any notice. `_applyVitals()` in [src/game/combat-system.js](../src/game/combat-system.js) clears the overlay whenever the server says `hp > 0`, so nobody rejoins a live world stuck behind "You died".
+
+## 5. The world frees what it loads
+
+**Invariant: anything that allocates GPU memory has a disposal path, and that path runs when the player leaves.**
+
+This is the difference between "works on a laptop" and "works on a phone". Detaching an object from the scene graph (`scene.remove(...)`) drops the JS reference but leaks the geometry, materials and textures. On iOS Safari, the accumulated pressure shows up as a `webglcontextlost` event and a killed tab, which reads to the player as being randomly kicked out of the world.
+
+The rules:
+
+- **Avatars go through `releaseAvatar(rig)`** from [src/game/avatar-rig.js](../src/game/avatar-rig.js), never a bare `scene.remove()`. That module keeps one download + parse per distinct model URL and hands out `SkeletonUtils` clones; `releaseAvatar` disposes the per-rig materials, drops the template's refcount, and evicts idle templates past the memory budget. NPCs ([src/game/npc/npc.js](../src/game/npc/npc.js)), ambient pedestrians ([src/game/npc/ambient-life.js](../src/game/npc/ambient-life.js)) and the local player all call it. **A rig disposed while its GLB is still downloading must also call it in the `then`,** or the clone that lands on the detached rig holds its template resident forever. Pedestrians churn on every peer join/leave, so that path is hot.
+- **Lights need explicit disposal.** A `traverse` that only handles `isMesh` skips them, and the sun's 2048x2048 shadow map is one of the largest allocations in the world. `world-env.js`'s `dispose()` frees it directly.
+- **`leave()` disposes, it does not merely detach.** The totem, jumbotron and dance floor go through `_disposeObject3D()`; the environment, district and day/night cycle are freed on the way out rather than being held until the *next* `enter()`, so returning to the lobby no longer keeps a whole city resident with nothing rendering it.
+
+## 6. Every failure has a designed, actionable state
+
+**Invariant: no indefinite spinner, no blank void, no green checkmark on a failure.**
+
+Examples currently holding the line:
+
+- The **jobs board** ([src/game/quests-ui.js](../src/game/quests-ui.js)) shows "Loading the jobs board…" until the first server snapshot lands. It used to render "No jobs on the board right now" before the server had answered, telling players on a slow link that there was no work a beat before it all appeared.
+- The **Wheel of Fortune** ([src/game/spin-wheel-ui.js](../src/game/spin-wheel-ui.js)) reaches its documented `error` phase: if `spinInfo` never arrives it says so and offers a retry, instead of sitting on "Loading the wheel…" forever with both buttons dead. It also ships its own stylesheet ([src/game/spin-wheel.css](../src/game/spin-wheel.css)), because it is a lazy chunk and cannot assume `coincommunities.css` loaded.
+- **Closing the wheel mid-payment does not discard a paid spin.** Once the transaction is broadcast, real money has moved; closing the modal detaches it but keeps the server subscriptions alive and delivers the outcome (and its Solscan receipt) in a background pill. Previously, dismissing the wallet overlay with <kbd>Esc</kbd> unsubscribed the result handlers and the player lost $3 with nothing shown.
+- The **boutique purchase flow** ([src/game/boutique-purchase.js](../src/game/boutique-purchase.js)) rejects on the server's own failure notices rather than treating any `boutique` notice as success.
+- The **boot loader** cannot strand: an inline watchdog in [pages/play.html](../pages/play.html) replaces the spinner with a real error card (with a retry) if a script or stylesheet fails, and `enter()` failures tear down and return a working lobby.
+
+## 7. A saved character belongs to one credential
+
+**Invariant: the account key a profile loads under is never a raw join option.**
+
+A `/play` profile is everything a player has earned: cash, bank, pack, unlocked cosmetics, quest log. It is keyed by `playerId`, resolved in `WalkRoom._resolveIdentity()` ([multiplayer/src/rooms/WalkRoom.js](../multiplayer/src/rooms/WalkRoom.js)).
+
+`playerId` used to fall back to `options.pid`, a string the browser sent verbatim. Joining with `pid` set to somebody else's wallet address or guest id loaded *their* profile: you could spend their cash, sell their items, wear their premium cosmetics, and every mutation persisted back over their record. Their placed blocks and props also became yours to delete, because build ownership keys off the same id.
+
+The trust order is now explicit, highest first:
+
+1. The wallet `onAuth` verified, when the platform token gate is on.
+2. A wallet sealed inside a valid play pass ([multiplayer/src/play-pass.js](../multiplayer/src/play-pass.js)). Possession of the HMAC-signed pass proves the wallet even when the gate is off.
+3. A guest id sealed inside a signed guest token ([multiplayer/src/guest-token.js](../multiplayer/src/guest-token.js)). **The token is the credential, not the id.**
+4. A one-time migration for the legacy `guest-…` ids clients persisted in `localStorage` before tokens existed. Honored only if that record has never been upgraded, never for a wallet-shaped id, and the id is sealed into a signed token on the spot. The record is stamped `guestUpgraded`, so the same bare claim from anyone else afterwards gets a fresh guest instead.
+5. A brand new server-minted guest id.
+
+Lanes 3 to 5 send the client a `guestToken` message, which it stores under `tws-guest-token` and replays on the next join ([src/game/community-net.js](../src/game/community-net.js)). Guest ids are minted server-side with 12 random bytes, so they cannot be guessed the way a sequential or client-chosen id can.
+
+`guest-token.js` shipped with a header describing this exact fix and **zero callers** for months. If you write a module to close a hole, wire it in the same change.
+
+Tests: [tests/play-account-identity.test.js](../tests/play-account-identity.test.js), which drives `_resolveIdentity` through every lane including the original exploit.
+
+## 8. One payment grants exactly one thing
+
+**Invariant: a settled transaction is consumed once, process-wide and across restarts.**
+
+Paid wheel spins and `$THREE` boutique purchases both verify a real Solana transaction before granting anything. The replay guard that stops a verified payment being cashed twice used to be a `Map` on each `WalkRoom` instance.
+
+Rooms are partitioned per coin world, so that guard only held *within one room*. The same `{ quoteToken, txSig }` pair replayed into N different coin worlds verified on-chain N times and granted N times. One $3 payment could be rolled into a best-of-N jackpot hunt, and a process restart or a second Cloud Run instance widened it further.
+
+Replay protection now lives in [multiplayer/src/settlement-guard.js](../multiplayer/src/settlement-guard.js): one shared ledger for the whole process, backed by Redis `SET NX` when `UPSTASH_REDIS_REST_URL`/`_TOKEN` are configured, so consumption spans rooms, restarts, and instances. Both the quote nonce **and** the transaction signature are consumed, so a second quote cannot be settled by the same transfer.
+
+Quotes are also sealed to the profile that asked for them (`forAccount` in [multiplayer/src/game-token.js](../multiplayer/src/game-token.js)). A leaked `{ quote, txSig }` pair can no longer be redeemed onto a different account.
+
+Settlement reads at `confirmed` for latency; set `GAME_TOKEN_VERIFY_COMMITMENT=finalized` to trade responsiveness for fork certainty.
+
+Tests: [tests/spin-wheel.test.js](../tests/spin-wheel.test.js) covers same-room replay and cross-world replay.
+
+## 9. The world never destroys what a player earned
+
+**Invariant: a server action that cannot complete leaves the player's things where they were.**
+
+Each of these shipped as a real loss:
+
+- **Loot no longer eats an overflowing drop.** `handleLoot` ([multiplayer/src/combat-handlers.js](../multiplayer/src/combat-handlers.js)) used to delete the tombstone and *then* check pack space, so everything that did not fit was destroyed silently. It now absorbs what fits, writes the remainder back, and only removes the marker once it is fully drained.
+- **Dying and disconnecting no longer bricks a character.** The respawn timer bailed early when the session had already left, persisting `hp: 0`; the player returned walking but died to the next hit. `reviveProfile` now runs unconditionally, and `onJoin` self-heals any profile restored at zero health.
+- **A large balance no longer wraps to zero.** `restoreProfile` clamped with `saved.gold | 0`, which is ToInt32 and runs *before* the ceiling, so anything past 2^31 wrapped negative and clamped to 0. It now floors then clamps, and every reward path credits through `creditGold()` so a balance saturates instead of overflowing.
+
+## 10. Movement and interaction are policed against real time and real distance
+
+**Invariant: an anti-cheat clamp is derived from elapsed time and world distance, never from a per-message constant.**
+
+The vehicle teleport clamp allowed a fixed displacement *per `vsync` message*, sized for a 15Hz sender. The rate limiter permits 30 messages a second, so maxing the step on every message legally covered roughly ten times a car's top speed, fast enough to farm the repeatable cross-town delivery jobs. The clamp now derives its allowance from `Date.now() - v.tsServer` and validates the derived speed rather than the client's self-reported scalar.
+
+Every world interaction gates on the server's authoritative position: fishing spots, the wheel, quest zones, loot reach, vehicle entry, and now `ball:kick`, which had no proximity check and let anyone in the district drive the shared ball.
+
+Read-only request handlers are rate limited too. `storeReq`, `boutiqueReq`, `profileReq`, `questReq`, and `spinInfo` each had a declared bucket in `ACTION_RATES` that nothing consulted. `questReq` is the expensive one: it rebuilds the whole mission registry per call, so an unbounded loop from one client was a self-service denial of service against every player in that room.
+
+## 11. A value that is not an image never reaches an image sink
+
+**Invariant: every URL bound for an `<img src>`, a `TextureLoader`, or a CSS `url()` passes `isSafeImageURL()` in [src/ipfs.js](../src/ipfs.js) first.**
+
+Section 2 stops a hostile value from escaping the CSS declaration it lands in. This is the layer before that: deciding whether the value is art at all. `proxiedImageURL()` used to return anything it did not recognise unchanged, so `/play?image=javascript:…` travelled all the way into `this.coinImg.src` and `new TextureLoader().load(coin.image, …)`. It cannot execute from either sink, but it does log `ERR_UNKNOWN_URL_SCHEME` and leave a permanently dead tile, on a surface whose bar is a clean console.
+
+The resolver now answers with `''` for anything outside `http`, `https`, `ipfs`, `ar`, `blob`, `data:image/*`, and plain relative paths, which includes `javascript:`, `vbscript:`, `data:text/html`, `file:`, `about:`, a scheme smuggled past a naive parser with a control character (`java\tscript:`), and any source past 2048 characters. Every caller already branches on `if (coin.image)`, so a refused value falls through to the world's own generated-art path.
+
+Two consequences worth knowing:
+
+- **Protocol-relative art is proxied, not fetched raw.** `//cdn.example/art.png` gets the page's scheme before resolution, so it goes through `/api/img` like every other cross-origin source instead of bypassing it.
+- **Avatar and build thumbnails go through the proxy too.** `thumbnail_url` values from the public gallery and R2 were being set directly on `<img src>`, where Chrome's Opaque Response Blocking killed them with `ERR_BLOCKED_BY_ORB`: a console error on a plain `/play` load and a lost tile. Routing them through `/api/img`, which always answers with a valid image, fixes both.
+
+[tests/ipfs-image-url-safety.test.js](../tests/ipfs-image-url-safety.test.js) pins the allowlist, the length cap, and the proxy routing.
+
+## 12. The boot watchdog only fires for failures that are actually fatal
+
+**Invariant: the `#kx-loading` error card is reserved for a world that genuinely cannot start, never for a page that is merely still loading.**
+
+The inline watchdog in [pages/play.html](../pages/play.html) exists for one failure: a stale cached document pointing at chunks a deploy already removed, where nothing will ever finish and only a reload helps. It used to treat *any* failed `SCRIPT`/`LINK` as fatal immediately, and *any* uncaught rejection as fatal within 8 seconds. Both misfire on visitors we expect at an event:
+
+- An ad blocker or privacy extension blocks `/brand.js` or `/i18n.js`, or any third-party script. The world does not depend on one of them, but the card appeared instantly anyway, over game modules that were downloading normally.
+- Venue wifi makes some background request reject. Every fetch boundary in `/play` already handles its own failure, so the rejection is noise, but on a connection slow enough that boot took longer than the 8s grace, it replaced the loading card with "Couldn't load the world".
+
+A resource error now counts only when it is same-origin *and* not one of the optional extras. A rejection whose reason is network-shaped (`Failed to fetch`, `NetworkError`, `AbortError`, `ERR_BLOCKED`, anything naming a `WebSocket`) is ignored outright, and anything else gets 20 seconds, long enough for a slow but healthy boot to finish and disarm it via `bootPending()`. The 45s hard timeout is untouched: a boot that truly stalls still gets its error card with a working retry.
+
+The `WebSocket` case is not hypothetical: `/play` opens the multiplayer socket during boot, `community-net` already reconnects it with backoff, and a socket that cannot open on venue wifi surfaces as an uncaught `WebSocket closed without opened.` It has no business replacing a working world with an error screen.
+
+`adblock-extras` and `api-blackout` in [scripts/audit-play-failure-modes.mjs](../scripts/audit-play-failure-modes.mjs) assert that neither situation produces a card.
+
+## Verifying a change
+
+```bash
+# Pure-logic guards: CSS-injection, mint validation, param clamping,
+# and the image-URL scheme allowlist.
+npx vitest run tests/play-deeplink-safety.test.js tests/play-deeplink-identity.test.js \
+ tests/ipfs-image-url-safety.test.js
+
+# Deliberate failure injection in a real browser: hostile query strings, blocked
+# coin art and GLBs, a dead auth gate, an ad blocker, a total API outage.
+npm run audit:play-failures # local dev server
+BASE_URL=https://three.ws npm run audit:play-failures
+
+# Everything else that touches the surface.
+npx vitest run tests/play-gate.test.js tests/play-pass.test.js \
+ tests/minimap-projection.test.js tests/quests-vehicle-delivery.test.js \
+ tests/play-friends-presence.test.js
+
+# Account identity and one-payment-one-grant: the two invariants above that
+# protect what a player owns.
+npx vitest run tests/play-account-identity.test.js tests/spin-wheel.test.js
+
+# A real browser: console errors, boot, reconnect helpers, CSS injection,
+# malformed mints, wheel styles. Point it at prod or a local `npm run dev`.
+node scripts/play-desktop-audit.mjs "https://three.ws/play?coin=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump"
+
+# Phone emulation: transferred bytes, heap growth, WebSocket lifecycle, and
+# every GLB load attributed to the code that asked for it.
+ENGINE=webkit node scripts/play-mobile-repro.mjs "https://three.ws/play" 120000
+```
+
+The mobile harness is the one that catches memory regressions. It reports total transferred bytes grouped by path, so a change that starts re-downloading avatars shows up as a jump in the `/avatars/*` and `/r2-proxy/*` rows rather than as a mysterious crash report weeks later.
+
+---
+
+<a id="sec-317"></a>
+
+> **Source:** `docs/play-live-events.md` · [↑ table of contents](#table-of-contents)
+
+# Live events in `/play`
+
+A live event turns the `$THREE` home town from a world you can visit into a
+place something is *happening* in: a countdown you can see from anywhere in the
+plaza, an agenda that tells you what is on right now and what is next, a banner
+when each segment starts, and a synchronized fireworks show everyone watches
+together.
+
+Everything below is driven by one file, `public/event.json`.
+Edit it, redeploy, and the event exists. Delete it and the world goes back to
+normal with no code change and no dead pixels.
+
+- **Surface:** `/play`, in the `$THREE` home town only (`isHomeTown()`).
+- **Modules:** [`src/game/meetup-event.js`](../src/game/meetup-event.js) (the view),
+ [`src/game/meetup-schedule.js`](../src/game/meetup-schedule.js) (pure schedule
+ math), [`src/game/fireworks.js`](../src/game/fireworks.js) (the particle show),
+ [`src/game/meetup-event.css`](../src/game/meetup-event.css) (styles).
+- **Tests:** [`tests/meetup-schedule.test.js`](../tests/meetup-schedule.test.js),
+ [`tests/meetup-event-ui.test.js`](../tests/meetup-event-ui.test.js).
+- **Browser audit:** `npm run audit:meetup`.
+
+---
+
+## Configuring an event
+
+`public/event.json` is the single source of truth. The same file feeds the lobby
+banner and wayfinding pill ([`src/game/event-countdown.js`](../src/game/event-countdown.js)),
+this in-world layer, and the server-side souvenir grant, so those three can never
+disagree about when the event is.
+
+```json
+{
+ "id": "three-first-meetup",
+ "name": "$THREE First Holders Meetup",
+ "tagline": "The first live gathering in the three.ws world.",
+ "startsAt": "2026-08-09T17:00:00Z",
+ "endsAt": "2026-08-09T19:30:00Z",
+ "link": "/play?coin=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump&name=three.ws&symbol=three",
+ "linkLabel": "Join the $THREE world",
+ "souvenir": { "cosmeticId": "laurel-meetup" },
+ "agenda": [
+ { "atMin": 0, "title": "Doors open in the plaza", "detail": "Say hi in chat", "icon": "👋" },
+ { "atMin": 20, "title": "King of the Totem showdown", "detail": "Hold the gold ring", "icon": "👑" },
+ { "atMin": 105, "title": "Fireworks finale", "detail": "Look up", "icon": "🎆" }
+ ]
+}
+```
+
+| Field | Meaning |
+|---|---|
+| `id` | Seeds the deterministic fireworks show. Change it and every client gets a different (but still shared) sky. |
+| `name` / `tagline` | Shown on the chip, the agenda drawer, and the photo stamp. |
+| `startsAt` / `endsAt` | ISO-8601 UTC. A missing or inverted `endsAt` defaults to six hours after the start. |
+| `agenda[].atMin` | Minutes after `startsAt`. Order does not matter; segments are sorted. Invalid or untitled entries are dropped rather than breaking the event. |
+| `agenda[].icon` | One emoji. Used on the segment row and its moment banner. |
+| `souvenir.cosmeticId` | Optional. A free commemorative wearable granted once to everyone who joins the world named by `link` while the event is live, kept forever, never granted again after `endsAt`. Must be a `tier: 'event'` cosmetic; anything else grants nothing. See [Event souvenirs](#sec-210). |
+
+`id`, `agenda`, and `tagline` are optional: an event with none of them still runs
+its countdown, its go-live moment, and its fireworks.
+
+## What a player sees
+
+The layer walks six phases, all derived from the wall clock by
+`eventState()` so two people standing in the plaza always agree on which one
+they are in.
+
+| Phase | When | What shows |
+|---|---|---|
+| `far` | more than 24 h out | nothing |
+| `upcoming` | within 24 h | chip: "Starts in 6h 12m", tappable for the agenda |
+| `preshow` | final 30 min | chip glows gold; a toast tells the player to stick around |
+| `live` | between start and end | chip reads LIVE with the next segment's countdown; agenda marks the running segment; moment banners fire; fireworks run |
+| `afterglow` | 20 min after the end | chip invites a commemorative photo |
+| `ended` | after that | the layer tears itself down completely |
+
+The chip docks itself under the King of the Totem card when that card is up, so
+the two never overlap, and it hides under zen mode (`Z`) with every other
+overlay. While it is mounted, the generic countdown pill stands down: one
+countdown on screen at a time.
+
+## The fireworks show
+
+Fireworks are **deterministic, not networked**. Time is cut into four-second
+buckets; each bucket is hashed with the event `id` into the same launch plan on
+every machine (`fireworkPlan()`), so the whole plaza watches one synchronized
+sky without a single packet. This is the same trick the shared day/night clock
+([`src/shared/world-clock.js`](../src/shared/world-clock.js)) uses for the sun.
+
+Density scales with the moment: sparse through the event, ramping into a
+barrage over the closing fifteen minutes, plus one-off volleys on the go-live
+moment and each segment change. Power-saver mode halves it, no more than 14
+shells are ever alive at once, and a backgrounded tab never replays the backlog
+it missed while `requestAnimationFrame` was paused.
+
+## The agenda drawer
+
+Tapping the chip opens a right-docked drawer with the full agenda (past segments
+dimmed, the running one highlighted, future ones counting down in local time),
+a live `$THREE` pulse row (price, 24 h change, market cap from
+`/api/three-signal`, hidden entirely if that data is unavailable), a
+commemorative photo action, and a Buy `$THREE` button that opens `/play`'s
+existing on-chain trade widget. `Escape` closes it.
+
+## Previewing without waiting
+
+Add `?meetup=now` to the `/play` URL to shift the configured event to start
+twenty seconds from load, keeping its duration and agenda. `?meetup=<ISO>`
+shifts it to a specific instant instead. This runs through
+`applyPreviewOverride()`, which every surface that reads the event shares, so a
+preview never drifts from the real thing.
+
+```
+http://localhost:3000/play?coin=FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump&name=three.ws&symbol=three&meetup=now
+```
+
+## Verifying before an event
+
+```bash
+npm run dev # terminal 1: vite on :3000
+npm run dev:walk-all # terminal 2: the Colyseus world server on :2567
+npm run audit:meetup # terminal 3: drives a real browser through the whole layer
+```
+
+The audit enters the home town with `?meetup=now` and asserts the chip mounts
+and counts down, the generic pill stands down, the chip clears the totem card,
+the agenda opens with every segment, `Escape` closes it, the chip flips to LIVE
+at the start instant, the go-live banner fires, fireworks reach the scene, zen
+mode hides everything, the photo action opens photo mode, and the chip still
+fits at 390 px. Screenshots land in `.meetup-audit/` (gitignored). Exit code 0
+means every check passed.
+
+Point it at another origin with `--base https://three.ws`.
+
+## Extending it
+
+- **A different world.** The home-town gate is one call (`isHomeTown()`) in
+ `meetup-event.js`'s frame loop. Widen it to run an event in any coin world.
+- **More agenda segments.** Config only; no code change.
+- **A new moment type.** `_moment(icon, title, sub)` paints the gold banner;
+ call it from wherever the new trigger lives.
+- **Reusing the schedule elsewhere.** `meetup-schedule.js` imports neither the
+ DOM nor three.js, so a landing page or jumbotron can render the same countdown
+ from the same config.
+
+---
+
+<a id="sec-318"></a>
> **Source:** `docs/popular-3d-github-repos.md` · [↑ table of contents](#table-of-contents)
@@ -62155,7 +68889,7 @@ Apply a 3D-signal regex filter over `description + topics` and a denylist of non
---
-<a id="sec-273"></a>
+<a id="sec-319"></a>
> **Source:** `docs/portfolio.md` · [↑ table of contents](#table-of-contents)
@@ -62199,7 +68933,7 @@ GET /api/crypto/portfolio?address=<wallet>&chain=solana|ethereum
```
which builds on the same balance layer as
-[`/api/crypto/wallet`](#sec-157) ([`api/_lib/balances.js`](../api/_lib/balances.js)):
+[`/api/crypto/wallet`](#sec-164) ([`api/_lib/balances.js`](../api/_lib/balances.js)):
- **Solana** (fully keyless): Helius DAS when a key is configured, public RPC
otherwise; prices from Jupiter Lite with a pump.fun bonding-curve fallback;
@@ -62258,15 +68992,15 @@ responses are cached for about a minute per wallet.
## Related surfaces
-- [`/wallet`](#sec-423): your own custodial three.ws wallet.
+- [`/wallet`](#sec-471): your own custodial three.ws wallet.
- `/agent-wallet`: the agent wallet hub, whose Portfolio tab covers an agent's
holdings with FIFO cost basis and PnL attribution.
-- [`/api/crypto/wallet`](#sec-157): the raw balances endpoint this page
+- [`/api/crypto/wallet`](#sec-164): the raw balances endpoint this page
builds on, for agents and scripts.
---
-<a id="sec-274"></a>
+<a id="sec-320"></a>
> **Source:** `docs/premium.md` · [↑ table of contents](#table-of-contents)
@@ -62389,7 +69123,7 @@ tiers that remain free (news feed, digest, archive stats/trending).
---
-<a id="sec-275"></a>
+<a id="sec-321"></a>
> **Source:** `docs/press-kit.md` · [↑ table of contents](#table-of-contents)
@@ -62544,7 +69278,7 @@ Two rules that matter if you are laying out a story or a slide:
The two extra OpenAI files inside the zip need more care than the two above. The short-phrasing card exists for one specific post and is not the general-purpose announcement graphic. The two-mark lockup uses OpenAI's logomark rather than the partner badge, which their brand guidelines govern separately, so a co-branded lockup is normally something a partner clears first. The full rules for every OpenAI asset in this repo are in [`marketing/openai-select-partner/badge-usage.md`](../marketing/openai-select-partner/badge-usage.md), with the announcement pack itself at [`marketing/openai-select-partner/README.md`](../marketing/openai-select-partner/README.md).
-For the wider programme list and how to describe each one, see [Partner ecosystem](#sec-265).
+For the wider programme list and how to describe each one, see [Partner ecosystem](#sec-307).
---
@@ -62562,14 +69296,14 @@ Use that inbox for anything the page does not cover: a format that is not here (
## Related
-- [Partner ecosystem](#sec-265): every programme three.ws is in, at the status it actually claims
-- [Listings and distribution](#sec-218): marketplaces, directories, and media partners, with per-listing status
+- [Partner ecosystem](#sec-307): every programme three.ws is in, at the status it actually claims
+- [Listings and distribution](#sec-260): marketplaces, directories, and media partners, with per-listing status
- [Brand asset renderer](../marketing/brand/README.md): where the marks come from and how to regenerate them
- [Marketing campaigns](../marketing/README.md): announcement packs, social copy, and finished graphics
---
-<a id="sec-276"></a>
+<a id="sec-322"></a>
> **Source:** `docs/procedural-animation.md` · [↑ table of contents](#table-of-contents)
@@ -62577,7 +69311,7 @@ Use that inbox for anything the page does not cover: a format that is not here (
Pre-baked clips can only replay motion that was recorded somewhere else. They cannot know where your cursor is, that the ground under an avatar's left foot is 15 cm lower than under its right, or that the agent is supposed to be looking at the person it is talking to. Procedural animation fills that gap: a set of small layers that run **after** the animation mixer each frame and adjust the pose the clip just produced.
-The layers live in [`src/procedural/`](../src/procedural). They are rig-agnostic by the same rule as the rest of the animation stack (see [animations.md](#sec-088) and the universal-rig doctrine in [CLAUDE.md](../CLAUDE.md)): joints are resolved through the canonical bone map, so any humanoid the retargeter can drive, these can drive too. A rig they cannot drive reports `enabled === false` and every method becomes a no-op — never a broken pose.
+The layers live in [`src/procedural/`](../src/procedural). They are rig-agnostic by the same rule as the rest of the animation stack (see [animations.md](#sec-091) and the universal-rig doctrine in [CLAUDE.md](../CLAUDE.md)): joints are resolved through the canonical bone map, so any humanoid the retargeter can drive, these can drive too. A rig they cannot drive reports `enabled === false` and every method becomes a no-op — never a broken pose.
> **This is not the idle layer.** Breathing, blinking, eye saccades, and weight shift already exist in [`src/idle-animation.js`](../src/idle-animation.js) (`IdleAnimation`) and are unchanged. That layer adds ambient life to a *static* avatar. This one reacts to the *world*: a target to look at, a ground to stand on.
@@ -62739,13 +69473,13 @@ If you hit a rig whose bones do not resolve, the fix is a bone-name mapping in [
## Related
-- [animations.md](#sec-088) — the pre-baked clip library these layers run on top of
-- [avatar-pipeline.md](#sec-105) — how avatars are generated and rigged
-- [agent-system.md](#sec-061) — `AgentAvatar`, the protocol, and the emotion layers
+- [animations.md](#sec-091) — the pre-baked clip library these layers run on top of
+- [avatar-pipeline.md](#sec-110) — how avatars are generated and rigged
+- [agent-system.md](#sec-062) — `AgentAvatar`, the protocol, and the emotion layers
---
-<a id="sec-277"></a>
+<a id="sec-323"></a>
> **Source:** `docs/provenance.md` · [↑ table of contents](#table-of-contents)
@@ -62812,7 +69546,7 @@ Real hashing, real ed25519 signature, real on-chain write. Requires the issuer k
---
-<a id="sec-278"></a>
+<a id="sec-324"></a>
> **Source:** `docs/pump-fun-mcp-edge.md` · [↑ table of contents](#table-of-contents)
@@ -62868,7 +69602,7 @@ Both runtimes import `TOOLS` from `src/pump/mcp-tools.js`, so the tool list expo
---
-<a id="sec-279"></a>
+<a id="sec-325"></a>
> **Source:** `docs/pump-launch-repos.md` · [↑ table of contents](#table-of-contents)
@@ -62967,7 +69701,7 @@ rate-limits under the ~450 txs a full run makes. Pass a dedicated `--rpc`
---
-<a id="sec-280"></a>
+<a id="sec-326"></a>
> **Source:** `docs/pump-launcher.md` · [↑ table of contents](#table-of-contents)
@@ -62976,7 +69710,7 @@ rate-limits under the ~450 txs a full run makes. Pass a dedicated `--rpc`
`POST /api/x402/pump-launch` launches a brand-new [pump.fun](https://pump.fun)
token for an autonomous agent in a single paid request. The agent needs **no
SOL, no wallet, and no three.ws account** — it pays a flat USDC fee over the
-[x402](#sec-456) rail and the platform does the rest:
+[x402](#sec-506) rail and the platform does the rest:
- fronts the ~0.022 SOL bonding-curve deploy cost from a funded launcher keypair,
- optionally grinds a **vanity mint address**,
@@ -63003,7 +69737,7 @@ current figure — read it, don't hardcode.
## The free → paid funnel
-The paid launch sits between two **free, keyless** [Crypto Data API](#sec-166)
+The paid launch sits between two **free, keyless** [Crypto Data API](#sec-173)
endpoints. Use them to make the launch land well:
1. **Before you launch — check the ticker.**
@@ -63059,7 +69793,7 @@ curl -X POST https://three.ws/api/x402/pump-launch \
curl "https://three.ws/api/crypto/launches"
```
-See [x402 buyer client](#sec-449) for how to satisfy the 402 challenge in
+See [x402 buyer client](#sec-498) for how to satisfy the 402 challenge in
code (the `curl` above shows the shape, not the payment headers).
## Output
@@ -63109,16 +69843,16 @@ token itself always deploys on **Solana mainnet** — pump.fun is mainnet-only.
## Related
-- [x402 paid endpoints](#sec-452) — the full catalog and pricing.
-- [Crypto Data API](#sec-166) — the free `symbol` and `launches`
+- [x402 paid endpoints](#sec-501) — the full catalog and pricing.
+- [Crypto Data API](#sec-173) — the free `symbol` and `launches`
endpoints that bookend a launch.
-- [Repo → Coin Launcher](#sec-279) — the batch/CLI launcher that
+- [Repo → Coin Launcher](#sec-325) — the batch/CLI launcher that
routes 100% of creator rewards to a GitHub identity (shares the same engine).
-- [x402 protocol](#sec-456) — challenge/settle mechanics.
+- [x402 protocol](#sec-506) — challenge/settle mechanics.
---
-<a id="sec-281"></a>
+<a id="sec-327"></a>
> **Source:** `docs/pump-platform-fee.md` · [↑ table of contents](#table-of-contents)
@@ -63179,7 +69913,7 @@ The fee is **never** charged silently. When `platform_fee_bps > 0`:
---
-<a id="sec-282"></a>
+<a id="sec-328"></a>
> **Source:** `docs/pumpfun-program/README.md` · [↑ table of contents](#table-of-contents)
@@ -63238,7 +69972,7 @@ tracked in `tasks/pumpfun-upstream/01-v2-trade-instructions-usdc-audit.md`.
---
-<a id="sec-283"></a>
+<a id="sec-329"></a>
> **Source:** `docs/pumpfun-program/UPSTREAM-buy-sell-v2-announcement.md` · [↑ table of contents](#table-of-contents)
@@ -63317,32 +70051,32 @@ Currently, no quote mint other than native SOL can be used to create or trade co
- RUST crate: https://crates.io/crates/pump-rust-client
## New docs
-- Fee recipients: [docs/FEE_RECIPIENTS.md](#sec-289)
-- Coin creation: [docs/instructions/COIN_CREATION.md](#sec-298)
-- Buy: [docs/instructions/BUY.md](#sec-296)
-- Sell: [docs/instructions/SELL.md](#sec-301)
-- Claim cashback: [docs/instructions/CLAIM_CASHBACK.md](#sec-297)
-- Collect creator fee: [docs/instructions/COLLECT_CREATOR_FEE.md](#sec-299)
-- Creator fee sharing: [docs/instructions/CREATOR_FEE_SHARING.md](#sec-300)
+- Fee recipients: [docs/FEE_RECIPIENTS.md](#sec-335)
+- Coin creation: [docs/instructions/COIN_CREATION.md](#sec-344)
+- Buy: [docs/instructions/BUY.md](#sec-342)
+- Sell: [docs/instructions/SELL.md](#sec-347)
+- Claim cashback: [docs/instructions/CLAIM_CASHBACK.md](#sec-343)
+- Collect creator fee: [docs/instructions/COLLECT_CREATOR_FEE.md](#sec-345)
+- Creator fee sharing: [docs/instructions/CREATOR_FEE_SHARING.md](#sec-346)
## Other documentation
-- [Pump Program](#sec-292)
-- [PumpSwap](#sec-294)
-- [PumpSwap SDK](#sec-295)
-- [Pump Program creator fee update](#sec-291)
-- [PumpSwap creator fee update](#sec-293)
-- [FAQ](#sec-287)
-- [Pump fee program docs](#sec-288)
+- [Pump Program](#sec-338)
+- [PumpSwap](#sec-340)
+- [PumpSwap SDK](#sec-341)
+- [Pump Program creator fee update](#sec-337)
+- [PumpSwap creator fee update](#sec-339)
+- [FAQ](#sec-333)
+- [Pump fee program docs](#sec-334)
---
---
-<a id="sec-284"></a>
+<a id="sec-330"></a>
> **Source:** `docs/pumpfun-program/UPSTREAM-pumpswap-virtual-quote-reserves.md` · [↑ table of contents](#table-of-contents)
@@ -63543,7 +70277,7 @@ Upstream: <https://github.com/pump-fun/pump-public-docs#pumpswap-update-virtual-
---
-<a id="sec-285"></a>
+<a id="sec-331"></a>
> **Source:** `docs/pumpfun-program/docs/BREAKING_FEE_RECIPIENT.md` · [↑ table of contents](#table-of-contents)
@@ -63617,7 +70351,7 @@ The new accounts can be passed before the program upgrade happens on Monday. The
---
-<a id="sec-286"></a>
+<a id="sec-332"></a>
> **Source:** `docs/pumpfun-program/docs/CPI_README.md` · [↑ table of contents](#table-of-contents)
@@ -63721,7 +70455,7 @@ pump-rust-client = { version = "...", path = "..." }
---
-<a id="sec-287"></a>
+<a id="sec-333"></a>
> **Source:** `docs/pumpfun-program/docs/FAQ.md` · [↑ table of contents](#table-of-contents)
@@ -63759,7 +70493,7 @@ is recommended to use a static big enough CU limit like `100_000`.
---
-<a id="sec-288"></a>
+<a id="sec-334"></a>
> **Source:** `docs/pumpfun-program/docs/FEE_PROGRAM_README.md` · [↑ table of contents](#table-of-contents)
@@ -63973,7 +70707,7 @@ If you implement the fee logic correctly, any future change to the fee tiers str
---
-<a id="sec-289"></a>
+<a id="sec-335"></a>
> **Source:** `docs/pumpfun-program/docs/FEE_RECIPIENTS.md` · [↑ table of contents](#table-of-contents)
@@ -64036,7 +70770,7 @@ Use one of these as `buybackFeeRecipient` for any coin.
---
-<a id="sec-290"></a>
+<a id="sec-336"></a>
> **Source:** `docs/pumpfun-program/docs/PUMP_CASHBACK_README.md` · [↑ table of contents](#table-of-contents)
@@ -64153,7 +70887,7 @@ To read unclaimed cashback for pump swap / Pump AMM program:
---
-<a id="sec-291"></a>
+<a id="sec-337"></a>
> **Source:** `docs/pumpfun-program/docs/PUMP_CREATOR_FEE_README.md` · [↑ table of contents](#table-of-contents)
@@ -64288,7 +71022,7 @@ we update the programs on Mainnet.
---
-<a id="sec-292"></a>
+<a id="sec-338"></a>
> **Source:** `docs/pumpfun-program/docs/PUMP_PROGRAM_README.md` · [↑ table of contents](#table-of-contents)
@@ -64489,7 +71223,7 @@ at https://solscan.io/account/EsmVk4MTsoT71JFaRM5DWFZboKpMQjfY6EYzAgUuksXw#accou
---
-<a id="sec-293"></a>
+<a id="sec-339"></a>
> **Source:** `docs/pumpfun-program/docs/PUMP_SWAP_CREATOR_FEE_README.md` · [↑ table of contents](#table-of-contents)
@@ -64598,7 +71332,7 @@ PumpSwap program on Mainnet to the coin creator fee update.
---
-<a id="sec-294"></a>
+<a id="sec-340"></a>
> **Source:** `docs/pumpfun-program/docs/PUMP_SWAP_README.md` · [↑ table of contents](#table-of-contents)
@@ -64832,7 +71566,7 @@ Each Anchor instruction has a set of corresponding autocomplete methods that can
---
-<a id="sec-295"></a>
+<a id="sec-341"></a>
> **Source:** `docs/pumpfun-program/docs/PUMP_SWAP_SDK_README.md` · [↑ table of contents](#table-of-contents)
@@ -64912,7 +71646,7 @@ to autocomplete the `base` and `quote` displayed amounts based on the `lpToken`
---
-<a id="sec-296"></a>
+<a id="sec-342"></a>
> **Source:** `docs/pumpfun-program/docs/instructions/BUY.md` · [↑ table of contents](#table-of-contents)
@@ -64973,7 +71707,7 @@ All `buy_v2` calls need a `feeRecipient` and a `buybackFeeRecipient`.
- For mayhem mode coins, choose one of the 8 reserved fee recipients as `feeRecipient`.
- For all coins, choose one of the 8 buyback fee recipients as `buybackFeeRecipient`.
-See [Fee Recipients](#sec-289) for the full address lists.
+See [Fee Recipients](#sec-335) for the full address lists.
## TS SDK
@@ -65090,7 +71824,7 @@ ixs.extend(
---
-<a id="sec-297"></a>
+<a id="sec-343"></a>
> **Source:** `docs/pumpfun-program/docs/instructions/CLAIM_CASHBACK.md` · [↑ table of contents](#table-of-contents)
@@ -65200,7 +71934,7 @@ let ix = sdk.claim_cashback_v2_instruction(
---
-<a id="sec-298"></a>
+<a id="sec-344"></a>
> **Source:** `docs/pumpfun-program/docs/instructions/COIN_CREATION.md` · [↑ table of contents](#table-of-contents)
@@ -65355,7 +72089,7 @@ let ixs = sdk
---
-<a id="sec-299"></a>
+<a id="sec-345"></a>
> **Source:** `docs/pumpfun-program/docs/instructions/COLLECT_CREATOR_FEE.md` · [↑ table of contents](#table-of-contents)
@@ -65457,13 +72191,13 @@ ixs.extend(sdk.collect_creator_fee_v2_instructions(
---
-<a id="sec-300"></a>
+<a id="sec-346"></a>
> **Source:** `docs/pumpfun-program/docs/instructions/CREATOR_FEE_SHARING.md` · [↑ table of contents](#table-of-contents)
# Creator Fee Sharing
-> **Note:** These instructions only apply to coins that **have** a `sharing_config` — i.e. coins whose creator vault has been migrated to the Pump Fees program for multi-recipient distribution. For single-creator-recipient coins (no `sharing_config`), use [`collect_creator_fee_v2` / `collect_coin_creator_fee`](#sec-299) instead.
+> **Note:** These instructions only apply to coins that **have** a `sharing_config` — i.e. coins whose creator vault has been migrated to the Pump Fees program for multi-recipient distribution. For single-creator-recipient coins (no `sharing_config`), use [`collect_creator_fee_v2` / `collect_coin_creator_fee`](#sec-345) instead.
The lifecycle is:
@@ -65811,7 +72545,7 @@ ixs.extend(sdk.distribute_creator_fees_v2_instructions(
---
-<a id="sec-301"></a>
+<a id="sec-347"></a>
> **Source:** `docs/pumpfun-program/docs/instructions/SELL.md` · [↑ table of contents](#table-of-contents)
@@ -65871,7 +72605,7 @@ All `sell_v2` calls need a `feeRecipient` and a `buybackFeeRecipient`.
- For mayhem mode coins, choose one of the 8 reserved fee recipients as `feeRecipient`.
- For all coins, choose one of the 8 buyback fee recipients as `buybackFeeRecipient`.
-See [Fee Recipients](#sec-289) for the full address lists.
+See [Fee Recipients](#sec-335) for the full address lists.
## TS SDK
@@ -65988,7 +72722,7 @@ ixs.extend(
---
-<a id="sec-302"></a>
+<a id="sec-348"></a>
> **Source:** `docs/quick-start.md` · [↑ table of contents](#table-of-contents)
@@ -66134,7 +72868,7 @@ The `brain` attribute turns the 3D viewer into a conversational agent:
| `brain` | LLM model ID. Registered Claude IDs: `claude-sonnet-5`, `claude-opus-5`, `claude-sonnet-4-6`, `claude-opus-4-8`, `claude-opus-4-7`, `claude-opus-4-6`, `claude-haiku-4-5-20251001`, `claude-fable-5`, `claude-mythos-5` (restricted access). Free models (no key, routed through the platform proxy) are also accepted, e.g. `meta-llama/llama-3.3-70b-instruct:free`. Omit for a viewer-only display with no AI (provider `none`). |
| `instructions` | System prompt for the agent's personality and role. |
| `mode` | Layout mode: `inline` (flows with page content), `floating` (fixed bubble in a corner), `fullscreen`, or `section`. Default: `inline`. |
-| `sign-language` | The avatar signs every reply in ASL fingerspelling plus its sign vocabulary (any value except `off`/`false` enables it; works at boot or toggled at runtime). See the [sign language guide](#sec-320). |
+| `sign-language` | The avatar signs every reply in ASL fingerspelling plus its sign vocabulary (any value except `off`/`false` enables it; works at boot or toggled at runtime). See the [sign language guide](#sec-367). |
The chat input and microphone button appear automatically when `brain` is set. The agent can play animations, look at the camera, and respond to voice input.
@@ -66175,7 +72909,7 @@ The fastest path to an embeddable 3D experience is an iframe widget. Build one i
| `passport` | On-chain identity card backed by ERC-8004. |
| `hotspot-tour` | Annotated 3D scenes with clickable points of interest. |
-For the full widget API including `postMessage` events, see the [Widget docs](#sec-446).
+For the full widget API including `postMessage` events, see the [Widget docs](#sec-494).
---
@@ -66276,15 +73010,15 @@ If you're embedding inside a sandboxed iframe, make sure the parent grants `allo
## Next Steps
-- [Embedding Guide](#sec-173) — deep dive on attributes, events, and the JS API
-- [Widget Types](#sec-446) — full reference for iframe embeds and postMessage
-- [Agent System](#sec-061) — how the brain, memory, and skills layers work
-- [REST API](#sec-089) and [JavaScript API](#sec-212) — backend and in-browser surfaces
-- [SDK Reference](#sec-313) — `@three-ws/sdk`, `@three-ws/agent-ui`, `@three-ws/avatar`, `@three-ws/solana-agent`
+- [Embedding Guide](#sec-180) — deep dive on attributes, events, and the JS API
+- [Widget Types](#sec-494) — full reference for iframe embeds and postMessage
+- [Agent System](#sec-062) — how the brain, memory, and skills layers work
+- [REST API](#sec-094) and [JavaScript API](#sec-254) — backend and in-browser surfaces
+- [SDK Reference](#sec-360) — `@three-ws/sdk`, `@three-ws/agent-ui`, `@three-ws/avatar`, `@three-ws/solana-agent`
---
-<a id="sec-303"></a>
+<a id="sec-349"></a>
> **Source:** `docs/radar.md` · [↑ table of contents](#table-of-contents)
@@ -66300,7 +73034,7 @@ API: `/api/pump/coin-intel` (feed, market pulse, per-coin detail). The detail dr
## Why it exists
-The most dangerous moment on pump.fun is the first minute, when the tape is thin and a bundle of bot wallets can manufacture the look of organic demand. A human cannot audit funder graphs and timing entropy in real time. The Coin Intelligence Engine does, on the live firehose, and Radar is its screener: a scannable board that turns raw first-90-seconds behaviour into a quality score and a short list of named risks, so you can filter out the coordinated launches and focus on the ones with a real crowd. It is the top of the [trading surfaces](#sec-350) funnel: Radar surfaces a launch worth a look, you watch it, and if it earns conviction you open it in [Mission Control](#sec-340) to act.
+The most dangerous moment on pump.fun is the first minute, when the tape is thin and a bundle of bot wallets can manufacture the look of organic demand. A human cannot audit funder graphs and timing entropy in real time. The Coin Intelligence Engine does, on the live firehose, and Radar is its screener: a scannable board that turns raw first-90-seconds behaviour into a quality score and a short list of named risks, so you can filter out the coordinated launches and focus on the ones with a real crowd. It is the top of the [trading surfaces](#sec-398) funnel: Radar surfaces a launch worth a look, you watch it, and if it earns conviction you open it in [Mission Control](#sec-387) to act.
## How it works
@@ -66330,7 +73064,7 @@ The UI colors quality as Healthy at 70 and up, Mixed from 40 to 69, and High ris
3. Press `/` to focus search and type a name, ticker, or mint. Press `g` or `l` to switch grid and list, `r` to refresh.
4. Click any coin for the drawer: the full signal grid, the top-50 wallet ledger, the smart-money notable roster, the outcome (if labeled), and an asynchronously injected Oracle conviction section.
5. Every mainnet coin links to its full page at `/oracle/coin/<mint>`: the card's "Full intel →" button goes there directly, and the drawer carries an "Open full page →" link in its header. The full page renders in the markets-hub design (the same system as `/coin/:id`) with the live price chart, the complete Launch Intelligence read (this engine's signal grid, risk flags, and trader ledger), Oracle conviction, live market intel, agent transactions, and a live trade tape.
-6. On a coin worth tracking, use Watch to add it to your [Watchlist](https://three.ws/watchlist), then open it in [Mission Control](#sec-340) to trade.
+6. On a coin worth tracking, use Watch to add it to your [Watchlist](https://three.ws/watchlist), then open it in [Mission Control](#sec-387) to trade.
## Examples
@@ -66369,16 +73103,16 @@ console.log(clean.map((c) => `${c.symbol} q${c.quality_score}`));
## Related
-- [The trading surfaces: Radar, Mission Control, Live Trade Feed, Watchlist, Coin Intelligence](#sec-350)
-- [Oracle: the conviction engine](#sec-262) fuses this intel into a single conviction score
-- [Smart Money Radar](#sec-325) is the pedigree layer Radar surfaces inline
-- [Mission Control](#sec-340) is where a Radar find gets traded
-- [Coin pages](#sec-136) cross-link the per-mint intel and conviction views
+- [The trading surfaces: Radar, Mission Control, Live Trade Feed, Watchlist, Coin Intelligence](#sec-398)
+- [Oracle: the conviction engine](#sec-304) fuses this intel into a single conviction score
+- [Smart Money Radar](#sec-372) is the pedigree layer Radar surfaces inline
+- [Mission Control](#sec-387) is where a Radar find gets traded
+- [Coin pages](#sec-141) cross-link the per-mint intel and conviction views
- Pages: [/radar](https://three.ws/radar) · [/coin-intel](https://three.ws/coin-intel) · [/watchlist](https://three.ws/watchlist)
---
-<a id="sec-304"></a>
+<a id="sec-350"></a>
> **Source:** `docs/reasoning-ledger.md` · [↑ table of contents](#table-of-contents)
@@ -66448,7 +73182,7 @@ It returns the agent, the reputation breakdown, the latest anchor summary, and t
There is a single write path, `recordDecision`, and it is a chokepoint by design: appends are idempotent per real-world action (a handler that fires twice records once) and concurrency-safe when claiming the next chain slot. Today's writers, as coded:
-- **The [Agent Sniper](#sec-058) executor** appends a `snipe` entry the moment a buy settles: trigger, firewall verdict, price impact, committed size, the buy signature, and (for LLM-judged arms) the model's thesis and confidence.
+- **The [Agent Sniper](#sec-059) executor** appends a `snipe` entry the moment a buy settles: trigger, firewall verdict, price impact, committed size, the buy signature, and (for LLM-judged arms) the model's thesis and confidence.
- **The sniper optimizer cron** appends an `optimize` entry whenever it auto-tunes a strategy from realized outcomes, so the self-tuning loop's own decisions are auditable next to the trades that drove them.
- **The reconcile cron** (`api/cron/reconcile-decisions`) writes no decisions; it closes the loop. When a linked position settles on-chain, it records the outcome against the sell signature (idempotently, so re-runs never double-count), then anchors each agent's advanced chain head, and raises an ops alert if a sizeable track record's hit rate collapses.
@@ -66460,12 +73194,12 @@ The headline score (0 to 100) is derived only from reconciled outcomes, and the
## Related
-- [Agent Sniper](#sec-058): the pipeline that writes `snipe` entries, with a live case-study ledger
-- [Custody you can verify](#sec-158): the same provable-not-promised approach applied to the wallets these decisions spend from
+- [Agent Sniper](#sec-059): the pipeline that writes `snipe` entries, with a live case-study ledger
+- [Custody you can verify](#sec-165): the same provable-not-promised approach applied to the wallets these decisions spend from
---
-<a id="sec-305"></a>
+<a id="sec-351"></a>
> **Source:** `docs/remix.md` · [↑ table of contents](#table-of-contents)
@@ -66662,12 +73396,191 @@ still recorded — the royalty leg reports `payout_unconfigured` instead of payi
## Related
-- [3D Studio (free) MCP](#sec-227) — the `refine_model` iteration tool.
+- [3D Studio (free) MCP](#sec-269) — the `refine_model` iteration tool.
- [The 3D pipeline](#sec-003) — how generation itself works.
---
-<a id="sec-306"></a>
+<a id="sec-352"></a>
+
+> **Source:** `docs/reputation-staking-market.md` · [↑ table of contents](#table-of-contents)
+
+# Docs: Reputation Staking Market
+
+Stake conviction on an agent, earn from its attested action history. The
+Reputation Staking Market turns the existing `threews.stake.v1` conviction
+signal into escrowed positions: principal sits in a market escrow, yield is
+derived per epoch from the agent's signed on-chain attestations, and a
+withdrawal returns principal plus earnings in one settlement transaction.
+
+The load-bearing contract is
+[specs/REPUTATION_STAKING_MARKET.md](https://github.com/nirholas/three.ws/blob/main/specs/REPUTATION_STAKING_MARKET.md)
+(`rsm.v1`). This page is the walkthrough; when the two disagree, the spec wins.
+
+Live surface: [/reputation/market](/reputation/market).
+
+## What the market pays for
+
+Reputation is already attested on Solana as signed SPL-Memo envelopes indexed
+into `solana_attestations` (see [docs/solana-reputation](#sec-376)).
+An agent's `threews.accept.v1`, `threews.task.v1`, `threews.validation.v1`,
+`threews.feedback.v1`, `threews.dispute.v1`, and `threews.revoke.v1` envelopes
+are its attested action history: work it shipped, validations it passed or
+failed, and reviews it earned.
+
+The market reads exactly that history and pays stakers for backing agents
+whose history is real. Each epoch (one UTC day) a fixed reward pool splits
+across every open position in proportion to:
+
+```
+posWeight = principal × epochFraction × agentWeight
+```
+
+where `agentWeight` comes from the agent's attestations that epoch: passed
+validations and accepted tasks count as work, failed validations, disputes,
+and revocations count as faults (at double weight), and the 1-5 feedback scale
+sets a quality multiplier. The full table, rounding rules, and constants live
+in spec §5; the only implementation is `src/shared/reputation-staking.js`,
+which runs identically on the server and in the browser.
+
+Two consequences worth knowing before you stake:
+
+- **An idle agent earns nothing.** Zero attested work in an epoch means
+ `agentWeight === 0` for that epoch, so its stakers earn zero that epoch.
+ Principal is never at risk; conviction on a quiet agent is just unrewarded.
+- **Positions are never slashed.** Bad conviction is punished by zero yield,
+ not confiscated principal. The market expresses trust; it does not
+ underwrite an agent's losses.
+
+## Networks
+
+| Network | Status | What it costs |
+|---|---|---|
+| devnet | open | Nothing. Airdropped lamports, the free proof path. |
+| mainnet | owner-gated | Writes refuse with `mainnet_gated` until the owner sets `REPUTATION_MARKET_ALLOW_MAINNET=1` on the service. |
+
+Opening mainnet is one owner action, one command:
+
+```bash
+gcloud run services update three-ws-api --region us-central1 \
+ --update-env-vars REPUTATION_MARKET_ALLOW_MAINNET=1
+```
+
+Everything below works on devnet today, unchanged.
+
+## Stake
+
+A stake is a transaction **you** sign and broadcast; the market never signs it.
+One transaction, two instructions: a transfer of your principal to the market
+escrow, and an SPL Memo envelope tagged `market: "rsm.v1"` naming the agent,
+your 1-5 conviction score, and the escrow. The transaction signature is your
+position id.
+
+From the page, connect a Solana wallet on [/reputation/market](/reputation/market),
+pick an agent, choose an amount (minimum 0.001 SOL) and a conviction score, and
+sign. The page then calls `POST /api/reputation/market-stake` with the
+signature; the server verifies the transaction against the chain (memo shape,
+escrow match, balance delta) and indexes the position. Verification is a chain
+read, so no caller can assert a principal the chain did not record.
+
+From code, `stakeOnMarket` in `src/solana-stake.js` builds the exact
+transaction:
+
+```js
+import { stakeOnMarket } from '/solana-stake.js';
+
+const signature = await stakeOnMarket({
+ agentAsset: agent.solanaAsset, // the agent's Solana asset pubkey
+ escrow, // from GET /api/reputation/market
+ lamports: 5_000_000n, // 0.005 SOL
+ score: 4, // 1-5 conviction
+ network: 'devnet',
+ wallet, // a connected wallet adapter
+});
+await fetch('/api/reputation/market-stake', {
+ method: 'POST',
+ headers: { 'content-type': 'application/json' },
+ body: JSON.stringify({ signature, network: 'devnet' }),
+});
+```
+
+## Earn
+
+The position starts accruing in the epoch it opens, for the fraction of the
+day it was actually open. Pending earnings recompute on every read; they are
+only fixed when a settlement lands. Watch them on the positions section of
+[/reputation/market](/reputation/market) or read them directly:
+
+```bash
+curl "https://three.ws/api/reputation/market-positions?staker=<wallet>&network=devnet"
+```
+
+Every position row carries a per-epoch breakdown, so the number the page
+quotes is auditable against the spec, epoch by epoch.
+
+## Withdraw
+
+There is no lockup. Withdraw any time:
+
+```bash
+curl -X POST https://three.ws/api/reputation/market-withdraw \
+ -H 'content-type: application/json' \
+ -d '{"signature": "<stake signature>", "network": "devnet"}'
+```
+
+The market escrow signs one settlement transaction paying principal plus
+earnings back to the staker recorded on-chain, with a `threews.unstake.v1`
+memo carrying both numbers. Only the escrow ever signs a settlement, and it
+pays only the on-chain staker, so nobody can route your payout to themselves.
+
+Withdrawal is idempotent: the position flips to `settling` before the payout
+is signed, so a crash is retried, never double-paid; a second withdrawal of a
+`closed` position returns the original settlement.
+
+One solvency rule (spec §2): earnings can never exceed the escrow's reward
+surplus. If accrued earnings exceed the surplus, the payout clamps to the
+surplus and the settlement records `clamped: true`. Principal always returns
+in full.
+
+## Verify it yourself
+
+The database behind the market is an index, not the ledger. Every position is
+re-derivable by replaying the chain: positions from `threews.stake.v1` memos
+into the escrow, settlements from `threews.unstake.v1` memos out of it.
+
+`scripts/reputation-market-proof.mjs` runs the whole contract against Solana
+devnet with airdropped lamports: fund, stake, verify, accrue against real
+attested action history, withdraw, and re-read the chain to confirm the
+settlement. It takes no arguments:
+
+```bash
+node scripts/reputation-market-proof.mjs
+```
+
+## HTTP surface
+
+| Endpoint | Method | Purpose |
+|---|---|---|
+| `/api/reputation/market?network=devnet` | GET | Agents ranked by net staked conviction, epoch weight, realized yield. |
+| `/api/reputation/market-positions?staker=<wallet>&network=devnet` | GET | Every position a wallet holds, with pending earnings. |
+| `/api/reputation/market-stake` | POST | Index a stake transaction. Body: `{ signature, network }`. |
+| `/api/reputation/market-withdraw` | POST | Settle a position. Body: `{ signature, network }`. |
+
+Failure codes (`market_not_configured`, `mainnet_gated`, `tx_not_found`,
+`not_a_market_stake`, `stake_below_minimum`, `unknown_position`,
+`already_closed`, `escrow_unsigned`) are pinned in spec §9.
+
+## Related
+
+- [Docs: Agent Reputation on Solana](#sec-376): the attestation
+ layer the market reads.
+- [Docs: Reputation System](#sec-353): the cross-chain reputation model.
+- [Reputation Explorer](/reputation): inspect any agent's score and
+ attestations.
+
+---
+
+<a id="sec-353"></a>
> **Source:** `docs/reputation.md` · [↑ table of contents](#table-of-contents)
@@ -66862,7 +73775,7 @@ GET /api/explore
Separate from reputation scores, glTF validation results can also be recorded on-chain via the `ValidationRegistry`. A passing validation attests that the agent's 3D model meets the glTF specification as of a specific block timestamp. Validation history is shown on the agent's profile page alongside reputation data.
-See the [Validation](#sec-436) documentation for details.
+See the [Validation](#sec-484) documentation for details.
---
@@ -66875,7 +73788,7 @@ See the [Validation](#sec-436) documentation for details.
---
-<a id="sec-307"></a>
+<a id="sec-354"></a>
> **Source:** `docs/restyle.md` · [↑ table of contents](#table-of-contents)
@@ -66887,7 +73800,7 @@ Page: [/restyle](https://three.ws/restyle) · API: `/api/material-studio`
## Why it exists
-Generating a 3D model is the expensive step. Once you have a good mesh, wanting it in a different finish should not mean paying to regenerate the whole thing and risking a worse shape. Restyle Studio separates the two. Skin is cheap and reversible; geometry is precious and left alone. That makes iterating on look-and-feel a tight loop: try chrome, try worn copper, try glass, save the two you like as durable versions, export the winner. It also gives the rest of the platform one shared material vocabulary. Restyle Studio consumes the same PBR preset library (`@three-ws/viewer-presets`) and the same GLB optimize-and-validate path that [Avatar Studio](#sec-107) uses, instead of inventing a parallel one.
+Generating a 3D model is the expensive step. Once you have a good mesh, wanting it in a different finish should not mean paying to regenerate the whole thing and risking a worse shape. Restyle Studio separates the two. Skin is cheap and reversible; geometry is precious and left alone. That makes iterating on look-and-feel a tight loop: try chrome, try worn copper, try glass, save the two you like as durable versions, export the winner. It also gives the rest of the platform one shared material vocabulary. Restyle Studio consumes the same PBR preset library (`@three-ws/viewer-presets`) and the same GLB optimize-and-validate path that [Avatar Studio](#sec-112) uses, instead of inventing a parallel one.
## How it works
@@ -66968,14 +73881,14 @@ Pass the returned `lineage` array back as `parent_lineage` on the next call to e
## Related
-- [Avatar Studio](#sec-107): shares the same GLB optimize-and-validate path and material vocabulary.
-- [Scene Composer](#sec-139) and [Scene Studio](#sec-312): arrange and edit restyled models in a full scene.
-- [MCP tools reference](#sec-228): the paid `restyle_material` agent twin of this endpoint.
+- [Avatar Studio](#sec-112): shares the same GLB optimize-and-validate path and material vocabulary.
+- [Scene Composer](#sec-146) and [Scene Studio](#sec-359): arrange and edit restyled models in a full scene.
+- [MCP tools reference](#sec-270): the paid `restyle_material` agent twin of this endpoint.
- [/forge](https://three.ws/forge): generate the models you bring here.
---
-<a id="sec-308"></a>
+<a id="sec-355"></a>
> **Source:** `docs/rig-doctor.md` · [↑ table of contents](#table-of-contents)
@@ -66989,7 +73902,7 @@ Everything runs in your browser. The file is read with `FileReader` and analysed
**On this page:** [The problem](#the-problem-a-rig-that-loads-but-never-moves) · [Reading the verdict](#reading-the-verdict) · [Coverage](#coverage-which-limbs-will-move) · [The repair](#the-repair) · [Generated output](#generated-output) · [Conventions](#recognised-rig-conventions) · [The canonical skeleton](#the-canonical-skeleton) · [Programmatic use](#programmatic-use)
-Related: [Avatar CLI](#sec-100) turns the generated manifest into a validated, hash-anchored file. The [web component reference](#sec-443) covers the `<agent-3d>` element the embed tab emits. [Asset pipeline](#sec-002) covers FBX and GLB conversion upstream of all of this.
+Related: [Avatar CLI](#sec-105) turns the generated manifest into a validated, hash-anchored file. The [web component reference](#sec-491) covers the `<agent-3d>` element the embed tab emits. [Asset pipeline](#sec-002) covers FBX and GLB conversion upstream of all of this.
---
@@ -67073,7 +73986,7 @@ The **Ship it** panel writes three artefacts from the file you dropped.
**Embed** is the `<agent-3d>` loader and element, ready to paste into any page.
-**CLI** is the [`@three-ws/avatar-cli`](#sec-100) invocation that produces the same manifest with a real `sha256` over the mesh bytes, plus the validate call. Run it when you are ready to anchor the manifest for real:
+**CLI** is the [`@three-ws/avatar-cli`](#sec-105) invocation that produces the same manifest with a real `sha256` over the mesh bytes, plus the validate call. Run it when you are ready to anchor the manifest for real:
```bash
npx @three-ws/avatar-cli init \
@@ -67205,7 +74118,7 @@ Your own file cannot be shared this way, because it never leaves your machine.
---
-<a id="sec-309"></a>
+<a id="sec-356"></a>
> **Source:** `docs/risk-acknowledgment.md` · [↑ table of contents](#table-of-contents)
@@ -67319,12 +74232,12 @@ above.
## Related
- [Risk Disclosure](https://three.ws/legal/risk) — the full legal text users accept
-- [Custody you can verify](#sec-158) — the spend-limit and freeze controls that bound what agents can do after acceptance
+- [Custody you can verify](#sec-165) — the spend-limit and freeze controls that bound what agents can do after acceptance
- [Terms of Service](https://three.ws/legal/tos) — §8 Limitation of Liability, which this acknowledgment supplements
---
-<a id="sec-310"></a>
+<a id="sec-357"></a>
> **Source:** `docs/robinhood-chain-markets.md` · [↑ table of contents](#table-of-contents)
@@ -67416,16 +74329,16 @@ math; Chainlink feed prices are already multiplier-adjusted, so they're never re
## Related surfaces
-- [Market Data API](#sec-222) — the same paid-endpoint pattern (x402, `priceFor`,
+- [Market Data API](#sec-264) — the same paid-endpoint pattern (x402, `priceFor`,
service-catalog descriptor) applied to the rest of three.ws's market data.
-- [Trust primitives](#sec-352) — score a Robinhood Chain wallet's cross-chain
+- [Trust primitives](#sec-400) — score a Robinhood Chain wallet's cross-chain
reputation before transacting with it.
-- [x402 distribution](#sec-451) — how the paid portfolio endpoint gets discovered
+- [x402 distribution](#sec-500) — how the paid portfolio endpoint gets discovered
across the x402 ecosystem.
---
-<a id="sec-311"></a>
+<a id="sec-358"></a>
> **Source:** `docs/sas-attestations.md` · [↑ table of contents](#table-of-contents)
@@ -67435,7 +74348,7 @@ An attestation is a signed on-chain statement about a wallet or an agent (for ex
three.ws issues two kinds of on-chain attestations on Solana:
-- **Permissionless attestations** — general feedback, task lifecycle, dispute, and revoke events. Anyone can write them as SPL Memos (see [Solana reputation](#sec-329)).
+- **Permissionless attestations** — general feedback, task lifecycle, dispute, and revoke events. Anyone can write them as SPL Memos (see [Solana reputation](#sec-376)).
- **Credentialed attestations** — claims only three.ws or an authorized validator may make: that a wallet is verified, or that a validator audited an agent's task result. These use the [Solana Attestation Service (SAS)](https://attest.solana.com/) and are signed by the **three.ws authority wallet**.
This page covers the authority wallet, the `SAS_AUTHORITY_SECRET` environment variable, bootstrapping the credential + schemas, and the API that issues them.
@@ -67654,13 +74567,13 @@ Closing (revoking) an attestation is done server-side via `sasClose()` in [api/_
---
-<a id="sec-312"></a>
+<a id="sec-359"></a>
> **Source:** `docs/scene-studio.md` · [↑ table of contents](#table-of-contents)
# Scene Studio: the full three.js editor, in your browser
-Scene Studio is the complete [mrdoob/three.js](https://github.com/mrdoob/three.js) editor (release r184, MIT-licensed), vendored into three.ws and wrapped in the site chrome. It is the heavyweight scene tool: import GLBs and other assets, move and rotate and scale them with transform gizmos, edit materials and lights and cameras through a full property sidebar, script objects with live JavaScript, play the scene, and export it. Where [Scene Composer](#sec-139) is a focused avatar-plus-props arranger and [Animation Studio](#sec-087) is a posing and keyframing tool, Scene Studio is the general-purpose 3D authoring surface underneath them.
+Scene Studio is the complete [mrdoob/three.js](https://github.com/mrdoob/three.js) editor (release r184, MIT-licensed), vendored into three.ws and wrapped in the site chrome. It is the heavyweight scene tool: import GLBs and other assets, move and rotate and scale them with transform gizmos, edit materials and lights and cameras through a full property sidebar, script objects with live JavaScript, play the scene, and export it. Where [Scene Composer](#sec-146) is a focused avatar-plus-props arranger and [Animation Studio](#sec-090) is a posing and keyframing tool, Scene Studio is the general-purpose 3D authoring surface underneath them.
Page: [/scene](https://three.ws/scene)
@@ -67680,7 +74593,7 @@ The editor is ported from the upstream `editor/index.html` with a small set of l
### Handoff from Animation Studio
-Scene Studio is the render target for animations built in [Animation Studio](#sec-087). When you click "Open in Scene Studio" there, the studio bakes your keyframed animation into a GLB, stashes it in IndexedDB, and navigates to `/scene?handoff=1`. Scene Studio picks the model up on boot (`takeSceneHandoff`), drops it into the scene with its animation track ready, and you record it to video from the editor's render menu. The GLB is passed through browser storage, not the network, so nothing large is uploaded to move a model between the two tools.
+Scene Studio is the render target for animations built in [Animation Studio](#sec-090). When you click "Open in Scene Studio" there, the studio bakes your keyframed animation into a GLB, stashes it in IndexedDB, and navigates to `/scene?handoff=1`. Scene Studio picks the model up on boot (`takeSceneHandoff`), drops it into the scene with its animation track ready, and you record it to video from the editor's render menu. The GLB is passed through browser storage, not the network, so nothing large is uploaded to move a model between the two tools.
## Walkthrough
@@ -67701,7 +74614,7 @@ Scene Studio is an interactive editor, not an HTTP API, so the concrete examples
A typical round trip from another studio:
-1. Build a walk cycle in [Animation Studio](#sec-087) on a rigged avatar.
+1. Build a walk cycle in [Animation Studio](#sec-090) on a rigged avatar.
2. Click "Open in Scene Studio". The baked animated GLB is stashed and `/scene?handoff=1` opens.
3. In Scene Studio, add a ground plane, a key light, and a camera, position the avatar, and use Render ▸ Video to capture the loop.
@@ -67715,20 +74628,20 @@ A typical round trip from another studio:
## Related
-- [Scene Composer](#sec-139): the lighter avatar-plus-props arranger with Forge integration.
-- [Animation Studio](#sec-087): builds the animated GLBs Scene Studio records to video.
-- [Restyle Studio](#sec-307): re-skin the models before or after composing them.
+- [Scene Composer](#sec-146): the lighter avatar-plus-props arranger with Forge integration.
+- [Animation Studio](#sec-090): builds the animated GLBs Scene Studio records to video.
+- [Restyle Studio](#sec-354): re-skin the models before or after composing them.
- [3D asset pipeline](#sec-002): how GLB, glTF, and clip formats relate across the platform.
---
-<a id="sec-313"></a>
+<a id="sec-360"></a>
> **Source:** `docs/sdk.md` · [↑ table of contents](#table-of-contents)
# SDK & Library
-This page is for developers who want to build with three.ws code in their own project, beyond pasting an embed snippet. If you just want a 3D agent on a page, start with the [web component](#sec-443); come here when you need to import classes, register agents on-chain, or build the bundles yourself. There are two distributable artifacts you can import:
+This page is for developers who want to build with three.ws code in their own project, beyond pasting an embed snippet. If you just want a 3D agent on a page, start with the [web component](#sec-491); come here when you need to import classes, register agents on-chain, or build the bundles yourself. There are two distributable artifacts you can import:
| Artifact | Package | Use case |
|---|---|---|
@@ -67821,7 +74734,7 @@ const viewer = new Viewer(document.getElementById('canvas-container'));
viewer.load('https://three.ws/avatars/default.glb');
```
-Full attribute and event API is documented in [Web Component reference](#sec-443).
+Full attribute and event API is documented in [Web Component reference](#sec-491).
### loadManifest and normalize
@@ -68162,7 +75075,7 @@ python3 -m http.server 8080
---
-<a id="sec-314"></a>
+<a id="sec-361"></a>
> **Source:** `docs/security.md` · [↑ table of contents](#table-of-contents)
@@ -68203,7 +75116,7 @@ Chat messages travel through `/api/chat`, which proxies to a configured LLM prov
- Does not log message content
- Returns the LLM stream directly to your browser
-Conversation history lives in `localStorage` by default. Cloud memory sync is opt-in (see [Memory](#sec-233)).
+Conversation history lives in `localStorage` by default. Cloud memory sync is opt-in (see [Memory](#sec-275)).
### Wallet data
@@ -68219,7 +75132,7 @@ The SIWE (Sign-In With Ethereum) flow signs a server-generated challenge — no
| Mode | Where data lives | Privacy |
|------|-----------------|---------|
| `local` (default) | Browser `localStorage` | Device-only |
-| `remote` | three.ws cloud storage, tied to your account | Opt-in cloud sync (see [Memory](#sec-233)) |
+| `remote` | three.ws cloud storage, tied to your account | Opt-in cloud sync (see [Memory](#sec-275)) |
| `ipfs` | Public IPFS network | Public — use only for non-sensitive data |
| `encrypted-ipfs` | IPFS, encrypted before leaving the browser | Encrypted with your key; IPFS only sees ciphertext |
| `none` | Not persisted | Cleared on page unload |
@@ -68524,7 +75437,7 @@ For validator misconduct (biased or falsified on-chain attestations), open a pub
---
-<a id="sec-315"></a>
+<a id="sec-362"></a>
> **Source:** `docs/seed-quality.md` · [↑ table of contents](#table-of-contents)
@@ -68643,6 +75556,28 @@ accept-rate statistics, and you would tune thresholds against an outage. The
verdict carries `vision.status` (`judged` / `skipped` / `unavailable`) so the
accept rate can always be computed over the assets that were actually judged.
+## A gate that cannot run is retried, not buried
+
+The distinction above (quality verdict vs infrastructure) also decides what
+happens to the *job row*. When the gate itself throws before reaching a verdict
+(the object-storage read fails, the renderer dies, the judge transport is
+unreachable), `api/cron/forge-seed-cron.js` leaves the row in `generated` and
+counts the attempt in `forge_seed_jobs.gate_attempts`. The next tick re-gates it.
+Only after `GATE_MAX_ATTEMPTS` (3) does the row move to the terminal `gate_error`
+state.
+
+That bound matters in both directions. Nothing ever revisits `gate_error`, so
+burying a row on the first fault throws away a finished mesh that already cost
+GPU time: on 2026-08-12 two seed jobs were lost that way inside one day, both to
+the same transient storage error ("We encountered an internal error. Please try
+again."). But an unbounded retry would let one ungateable mesh occupy a slot in
+the `SEED_CRON_GATE` batch forever and starve every newer generation behind it.
+Three attempts costs three ticks (three minutes) and then moves on.
+
+Retries surface as `gate_retry` entries in the tick's `gate_results`, with a
+`gate_retries` count on the response, so a lane that keeps blipping is visible
+without reading the table.
+
## Rejects are kept, not deleted
A reject is copied (never moved, so the creator's forge history stays coherent)
@@ -68786,13 +75721,13 @@ ticks start timing out, lower `SEED_CRON_VISION_MS` before turning it back off.
- [Realism quality bench](../data/quality-bench/README.md): the regression
harness whose scorer this gate imports
-- [The 3D viewer](#sec-440): what a published catalog entry has to render in
+- [The 3D viewer](#sec-488): what a published catalog entry has to render in
- [Production log triage](ops/production-log-triage.md): the operator runbook
for the seeding pipeline
---
-<a id="sec-316"></a>
+<a id="sec-363"></a>
> **Source:** `docs/selfie-to-avatar.md` · [↑ table of contents](#table-of-contents)
@@ -68811,15 +75746,16 @@ Every other surface on three.ws (agents, the marketplace, Play worlds, talking-a
## How it works
-The client half lives in three modules the page imports on demand: [`src/selfie-capture.js`](../src/selfie-capture.js) (camera and upload UI), [`src/selfie-refine.js`](../src/selfie-refine.js) (`assessPhoto` / `refineSelfie`), and [`src/selfie-pipeline.js`](../src/selfie-pipeline.js) (the bridge to the backend). A fourth module, [`src/face-quality.js`](../src/face-quality.js), runs a live 468-point face mesh for framing feedback.
+The client half lives in three modules the page imports on demand: [`src/selfie-capture.js`](../src/selfie-capture.js) (camera and upload UI), [`src/selfie-refine.js`](../src/selfie-refine.js) (`assessPhoto` / `refineSelfie`), and [`src/selfie-pipeline.js`](../src/selfie-pipeline.js) (the bridge to the backend). A fourth module, [`src/face-quality.js`](../src/face-quality.js), runs a live 468-point face mesh for framing feedback. Every quality threshold those modules apply lives in one shared, unit-tested module, [`src/selfie-gates.js`](../src/selfie-gates.js): each number is traced in its header comment to a real reconstruction-pipeline failure mode (the worker's no-face rejection, the 35-degree morph-yaw ceiling, provider blur failures, the dim/backlit band from the robustness benchmark), so the client rejects a shot for the same reasons the backend would.
-1. **Capture, in the browser.** `getUserMedia({ video: { facingMode: 'user', width: { ideal: 1280 }, height: { ideal: 1706 } } })` opens the front camera. A real-time wireframe overlay tracks head pose, yaw, centering, blur, and luminance, and only unlocks the shutter when the face passes. A 3-2-1 countdown fires, then `shoot()` draws the current video frame to a canvas and calls `canvas.toBlob(blob, 'image/jpeg', 0.92)`. This is a **single still**, not a video scan. Camera support is feature-detected; if none exists, the shutter is disabled and an "Upload instead" path takes any image file.
-2. **Optional side angles.** Under an "Add side angles" disclosure you can capture two extra stills (`left`, `right`, turned ~45 degrees). They raise fidelity and the ETA, but only the frontal is required.
-3. **Refine, in the browser.** `assessPhoto` gates the frontal (no face is the only hard block; blur, illustration, or a distant subject are non-fatal warnings). `refineSelfie` isolates the subject from its background and reframes to a clean head-and-shoulders square, then downscales (max 1024px, JPEG quality 0.88). The refined frontal is previewed so you see exactly what the engine sees.
-4. **Submit.** The pipeline POSTs the photos as data URIs to `/api/avatars/reconstruct` and gets back a `jobId`.
-5. **Reconstruct, server-side.** The reconstruct handler (`api/avatars/_actions.js`) selects a provider through [`api/_lib/regen-provider.js`](../api/_lib/regen-provider.js). The production lane is **GCP**: it POSTs `{ images, body_type }` to the Cloud Run service `avatar-pipeline-controller` (env `GCP_RECONSTRUCTION_URL`), which runs the [`workers/avatar-reconstruction/`](../workers/avatar-reconstruction) FastAPI app. That pipeline (`face_texture_transfer_v2`) uses **MediaPipe FaceLandmarker** (468 landmarks, Apache-2.0) to transfer your face texture and geometry onto a fixed-topology, pre-rigged Wolf3D/Ready-Player-Me-style humanoid template carrying a Mixamo-compatible skeleton, 52 ARKit blendshapes, and 15 visemes. Full engine detail is in [avatar-reconstruction.md](#sec-106).
-6. **Auto-rig fallback.** The template is born rigged. If a generic mesh comes back unrigged and a rig model is configured, `reconstruct-finalize.js` chains a `rerig` job (GCP UniRig, `workers/unirig`) and moves the job through a `rigging` status before surfacing the avatar. If rigging is impossible it delivers the static mesh tagged `unrigged` rather than nothing.
-7. **Poll and finish.** The client polls `GET /api/avatars/regenerate-status?jobId=...` every ~3 seconds (backing off on errors). On `status: 'done'` it fetches the finished avatar from `GET /api/avatars/:id` and shows it in a `<model-viewer>`.
+1. **Capture, in the browser.** `getUserMedia({ video: { facingMode: 'user', width: { ideal: 1280 }, height: { ideal: 1706 } } })` opens the front camera. A real-time wireframe overlay tracks head pose, yaw, centering, blur, and luminance, and only unlocks the shutter when a face is found; the hint line names the single most actionable fix ("Face the camera straight on.", "Hold steady. The image is blurry.", "Too dark. Find better light.") until every gate passes. A 3-2-1 countdown fires, then `shoot()` draws the current video frame to a canvas and calls `canvas.toBlob(blob, 'image/jpeg', 0.92)`. This is a **single still**, not a video scan. Camera support is feature-detected; if none exists, the shutter is disabled and an "Upload instead" path takes any image file.
+2. **Review the still.** The countdown leaves ~3 seconds for motion blur, a head turn, or a lighting change to land in the actual capture, so the frozen still is re-scored (`checkImageQuality`) against the same gates before you accept it. The review screen shows per-gate chips plus a verdict line; only a missing face disables "Use this" (mirroring the worker's one hard input rejection), everything else is a warning you can accept.
+3. **Optional side angles.** Under an "Add side angles" disclosure you can capture two extra stills (`left`, `right`, turned ~45 degrees). They raise fidelity and the ETA, but only the frontal is required. Confirmed shots (and the style choice) are mirrored to `sessionStorage`, so a refresh or accidental back-swipe mid-capture restores every slot instead of starting over; the build phase has its own resume rail (`selfie:pendingJobId`).
+4. **Refine, in the browser.** `assessPhoto` gates the frontal (no face is the only hard block; blur, illustration, or a distant subject are non-fatal warnings). `refineSelfie` isolates the subject from its background and reframes to a clean head-and-shoulders square, then downscales (max 1024px, JPEG quality 0.88). The refined frontal is previewed so you see exactly what the engine sees.
+5. **Submit.** The pipeline POSTs the photos as data URIs to `/api/avatars/reconstruct` and gets back a `jobId`.
+6. **Reconstruct, server-side.** The reconstruct handler (`api/avatars/_actions.js`) selects a provider through [`api/_lib/regen-provider.js`](../api/_lib/regen-provider.js). The production lane is **GCP**: it POSTs `{ images, body_type }` to the Cloud Run service behind `GCP_RECONSTRUCTION_URL`, today the [`workers/avatar-reconstruction/`](../workers/avatar-reconstruction) FastAPI app deployed as `avatar-reconstruction`. (The multi-backend [`workers/avatar-pipeline-controller/`](../workers/avatar-pipeline-controller) speaks the identical contract and can take over that env var, but is not deployed today.) That pipeline (`face_texture_transfer_v2`) uses **MediaPipe FaceLandmarker** (468 landmarks, Apache-2.0) to transfer your face texture and geometry onto a fixed-topology, pre-rigged Wolf3D/Ready-Player-Me-style humanoid template carrying a Mixamo-compatible skeleton, 52 ARKit blendshapes, and 15 visemes. Full engine detail is in [avatar-reconstruction.md](#sec-111).
+7. **Auto-rig fallback.** The template is born rigged. If a generic mesh comes back unrigged and a rig model is configured, `reconstruct-finalize.js` chains a `rerig` job (the `model-rig` worker, `workers/rig`) and moves the job through a `rigging` status before surfacing the avatar. If rigging is impossible it delivers the static mesh tagged `unrigged` rather than nothing.
+8. **Poll and finish.** The client polls `GET /api/avatars/regenerate-status?jobId=...` every ~3 seconds (backing off on errors). On `status: 'done'` it fetches the finished avatar from `GET /api/avatars/:id` and shows it in a `<model-viewer>`.
### The text-to-avatar variant
@@ -68875,15 +75811,15 @@ Request body: `name` (1-120, required), `photos` (1-6 image URLs or data URIs) *
## Related
-- [Avatar reconstruction pipeline](#sec-106): the full engine: MediaPipe face-texture transfer, geometry morph, the fixed pre-rigged head template, and the Cloud Run worker.
-- [Avatar pipeline](#sec-105): the distinct Forge text-to-3D generation lane.
-- [Trait-based avatar builder](#sec-128): customize and dress the avatar after you scan it.
-- [Talking Avatar Video](#sec-339) and [Lipsync](#sec-217): drive the finished avatar's mouth.
+- [Avatar reconstruction pipeline](#sec-111): the full engine: MediaPipe face-texture transfer, geometry morph, the fixed pre-rigged head template, and the Cloud Run worker.
+- [Avatar pipeline](#sec-110): the distinct Forge text-to-3D generation lane.
+- [Trait-based avatar builder](#sec-133): customize and dress the avatar after you scan it.
+- [Talking Avatar Video](#sec-386) and [Lipsync](#sec-259): drive the finished avatar's mouth.
- Pages: [/create/selfie](https://three.ws/create/selfie), [/create](https://three.ws/create), [/features/scan](https://three.ws/features/scan).
---
-<a id="sec-317"></a>
+<a id="sec-364"></a>
> **Source:** `docs/share-and-embed.md` · [↑ table of contents](#table-of-contents)
@@ -68944,7 +75880,7 @@ If you manage the HTML of your page directly, the `<agent-3d>` custom element gi
<agent-3d agent-id="<your-agent-id>"></agent-3d>
```
-The element renders inline (no iframe boundary), supports keyboard navigation, and exposes a JavaScript API so you can drive the agent programmatically. See the [Embedding guide](#sec-173) for the full attribute reference and event list.
+The element renders inline (no iframe boundary), supports keyboard navigation, and exposes a JavaScript API so you can drive the agent programmatically. See the [Embedding guide](#sec-180) for the full attribute reference and event list.
---
@@ -68973,14 +75909,14 @@ To customize the preview image, change the agent's thumbnail in the editor.
## What's next
-- **Make your agent smarter** → [Skills system](#sec-323)
-- **Understand the technical embed options** → [Embedding guide](#sec-173)
-- **Payment and crypto questions** → [Do I need crypto?](#sec-166)
-- **Give it a permanent on-chain address** → [Register on-chain](#sec-397)
+- **Make your agent smarter** → [Skills system](#sec-370)
+- **Understand the technical embed options** → [Embedding guide](#sec-180)
+- **Payment and crypto questions** → [Do I need crypto?](#sec-173)
+- **Give it a permanent on-chain address** → [Register on-chain](#sec-445)
---
-<a id="sec-318"></a>
+<a id="sec-365"></a>
> **Source:** `docs/shared-utilities.md` · [↑ table of contents](#table-of-contents)
@@ -69200,7 +76136,7 @@ paused during an incident and never resumed, failed silently.
---
-<a id="sec-319"></a>
+<a id="sec-366"></a>
> **Source:** `docs/showcase.md` · [↑ table of contents](#table-of-contents)
@@ -69210,7 +76146,7 @@ paused during an incident and never resumed, failed silently.
That filter is the whole point of the surface. The ERC-8004 registries hold plenty of agents that are only an address and a URI. The showcase answers a narrower question: which of them can actually be seen and embedded.
-Live at [three.ws/showcase](https://three.ws/showcase). Related reading: [ERC-8004](#sec-175) for the identity standard itself, [on-chain deployments](#sec-163) for the live feed of every registration as it lands (with no avatar filter), and [on-chain agents](#sec-253) for registering one yourself.
+Live at [three.ws/showcase](https://three.ws/showcase). Related reading: [ERC-8004](#sec-182) for the identity standard itself, [on-chain deployments](#sec-170) for the live feed of every registration as it lands (with no avatar filter), and [on-chain agents](#sec-295) for registering one yourself.
Code: [api/showcase.js](../api/showcase.js). Data comes from `erc8004_agents_index`, populated by the `erc8004-crawl` cron.
@@ -69269,14 +76205,14 @@ Each agent carries its on-chain identity plus explorer links resolved from the c
## Related
-- [ERC-8004](#sec-175): the identity standard behind every row here.
-- [On-chain deployments](#sec-163): the same registration stream without the 3D filter, including Solana Metaplex Core mints.
-- [Deploy agents on-chain](#sec-253): how to register an agent so it can appear here.
+- [ERC-8004](#sec-182): the identity standard behind every row here.
+- [On-chain deployments](#sec-170): the same registration stream without the 3D filter, including Solana Metaplex Core mints.
+- [Deploy agents on-chain](#sec-295): how to register an agent so it can appear here.
- [Agent manifest](#sec-053): the metadata format whose 3D model field decides `has_3d`.
---
-<a id="sec-320"></a>
+<a id="sec-367"></a>
> **Source:** `docs/sign-language.md` · [↑ table of contents](#table-of-contents)
@@ -69444,7 +76380,7 @@ Best results: good light, hand in frame, one letter at a time, and hold the last
## In your own site or app
-The [web component](#sec-443) exposes signing as an attribute. Present at boot, or toggled at runtime, it does the same thing:
+The [web component](#sec-491) exposes signing as an attribute. Present at boot, or toggled at runtime, it does the same thing:
```html
<script type="module" src="https://three.ws/agent-3d/1.5.2/agent-3d.js"></script>
@@ -69596,10 +76532,11 @@ The same compiler is on the [three.ws MCP server](https://three.ws/mcp-tools) as
```
GET /api/asl-recognition → { columns: [390 landmark column names], max_frames, min_frames }
-POST /api/asl-recognition { frames: [[390 numbers|null] …] } → { text, frames, ms }
+POST /api/asl-recognition { frames: [[390 numbers|null] …] }
+ → { text, raw, cleaned, confidence, frames, ms }
```
-`GET` returns the feature schema: the exact MediaPipe Holistic landmark columns, in order, that a frame row must contain (`x_face_0` … `z_pose_21`). `POST` takes one row per video frame and returns the transcription. `null` marks a missing landmark.
+`GET` returns the feature schema: the exact MediaPipe Holistic landmark columns, in order, that a frame row must contain (`x_face_0` … `z_pose_21`). `POST` takes one row per video frame and returns the transcription. `null` marks a missing landmark. `text` is the decode after the LLM cleanup pass, `raw` is the recognizer's untouched output, and `confidence` (0 to 1) is its mean per-character certainty, which the UI uses to warn on a poor read instead of inserting the text silently. Full field reference: [docs/api-reference.md](api-reference.md#transcribe).
The browser class that does all of this for you is [`src/sign-input.js`](../src/sign-input.js):
@@ -69609,7 +76546,7 @@ import { SignInput } from './sign-input.js';
const input = new SignInput({ onState: (s) => console.log(s) });
await input.start(); // camera on, capturing landmarks
// … user fingerspells …
-const { text, frames, ms } = await input.stop(); // camera off, transcribed
+const { text, raw, cleaned, confidence, frames, ms } = await input.stop(); // camera off, transcribed
```
`input.videoElement` is the live preview to attach to your page (mirror it with `transform: scaleX(-1)`, which is what signers expect). `input.cancel()` abandons a capture without transcribing.
@@ -69624,7 +76561,7 @@ Errors are plain: fewer than `min_frames` captured throws "Not enough signing ca
| [Non-manual markers](#the-face-is-grammar) | ARKit face blendshapes (most generated avatars have them) | The avatar still signs; it just loses the facial grammar |
| Left-handed signing | Nothing extra | Works on any rig that can sign |
-There is no rig allowlist. Any humanoid whose bone names the canonicalizer recognizes can sign; see [docs/animations.md](#sec-088) for how that mapping works.
+There is no rig allowlist. Any humanoid whose bone names the canonicalizer recognizes can sign; see [docs/animations.md](#sec-091) for how that mapping works.
---
@@ -69783,15 +76720,15 @@ None of this replaces a human interpreter. It makes an avatar legible to signers
- [/sign-mirror](https://three.ws/sign-mirror), camera-graded handshape practice, entirely on-device
- [`@three-ws/sign-language`](../packages/sign-language/README.md), the engine as an npm package
- [examples/sign-language.html](../examples/sign-language.html), a runnable page with both integration paths
-- [Animation Studio](#sec-087), the Spell box, exports, and share links
-- [docs/animations.md](#sec-088), clip formats and the retarget engine
-- [docs/web-component.md](#sec-443), every `<agent-3d>` attribute including `sign-language`
+- [Animation Studio](#sec-090), the Spell box, exports, and share links
+- [docs/animations.md](#sec-091), clip formats and the retarget engine
+- [docs/web-component.md](#sec-491), every `<agent-3d>` attribute including `sign-language`
- [workers/model-asl-recognition](../workers/model-asl-recognition/README.md), the recognition model and its licensing
- [Motion Swap](https://three.ws/motion-swap), video motion capture, including hands
---
-<a id="sec-321"></a>
+<a id="sec-368"></a>
> **Source:** `docs/signals.md` · [↑ table of contents](#table-of-contents)
@@ -69890,16 +76827,16 @@ curl -s https://three.ws/api/signals/subscribe -H 'authorization: Bearer YOUR_TO
## Related
-- [Custody you can verify](#sec-158) - the spend caps, freeze, and audit trail the subscriber wallet pays and trades under
-- [Financial controls](#sec-180) - the plain-English rules and firewall the mirror respects
-- [Oracle](#sec-262) - the conviction engine and its own follow/copy tier
-- [x402](#sec-456) - the USDC payment protocol every signal settles over
-- [Trader card](#sec-344) - the verified track record that regresses a feed's edge
+- [Custody you can verify](#sec-165) - the spend caps, freeze, and audit trail the subscriber wallet pays and trades under
+- [Financial controls](#sec-216) - the plain-English rules and firewall the mirror respects
+- [Oracle](#sec-304) - the conviction engine and its own follow/copy tier
+- [x402](#sec-506) - the USDC payment protocol every signal settles over
+- [Trader card](#sec-392) - the verified track record that regresses a feed's edge
- [/leaderboard](https://three.ws/leaderboard) - build a verified record, then publish a feed of your own
---
-<a id="sec-322"></a>
+<a id="sec-369"></a>
> **Source:** `docs/sketchfab.md` · [↑ table of contents](#table-of-contents)
@@ -69989,7 +76926,7 @@ and [`api/_lib/sketchfab.js`](https://github.com/nirholas/three.ws/blob/main/api
---
-<a id="sec-323"></a>
+<a id="sec-370"></a>
> **Source:** `docs/skills.md` · [↑ table of contents](#table-of-contents)
@@ -70728,15 +77665,15 @@ Publish your own from the marketplace ("Publish a Skill") or `POST /api/skills`
## See also
-- [Architecture Overview](#sec-093) — how skills fit into the agent runtime
-- [Agent System](#sec-061) — the protocol bus and built-in tool system
-- [Web Component](#sec-443) — embedding agents and passing skill attributes
+- [Architecture Overview](#sec-098) — how skills fit into the agent runtime
+- [Agent System](#sec-062) — the protocol bus and built-in tool system
+- [Web Component](#sec-491) — embedding agents and passing skill attributes
- `specs/SKILL_SPEC.md` — the authoritative skill bundle specification
- `specs/PERMISSIONS_SPEC.md` — ERC-7710/ERC-7715 delegation for fine-grained skill permissions
---
-<a id="sec-324"></a>
+<a id="sec-371"></a>
> **Source:** `docs/smart-contracts.md` · [↑ table of contents](#table-of-contents)
@@ -71342,7 +78279,7 @@ On Base at typical gas prices (~0.001 gwei base fee), an agent registration runs
---
-<a id="sec-325"></a>
+<a id="sec-372"></a>
> **Source:** `docs/smart-money.md` · [↑ table of contents](#table-of-contents)
@@ -71356,7 +78293,7 @@ API: `/api/pump/smart-money` (feed, leaderboard, per-coin, per-wallet). The coin
## Why it exists
-The single most predictive early signal on pump.fun is not the chart, it is who is buying. A wallet that has repeatedly entered coins that went on to graduate is worth watching; a wallet that dumps every launch it touches is worth avoiding. That information exists on chain, but nobody keeps a running scorecard in time. Smart Money Radar is that scorecard. It re-earns every wallet's reputation continuously from real outcomes, so a coin's "pedigree" is the buy-weighted track record of the wallets actually in it, and a wallet's rank is its own history of picking coins that graduated. This is the same proven-wallet ledger the WHO pillar of [Oracle](#sec-262) draws on, exposed as its own browsable surface.
+The single most predictive early signal on pump.fun is not the chart, it is who is buying. A wallet that has repeatedly entered coins that went on to graduate is worth watching; a wallet that dumps every launch it touches is worth avoiding. That information exists on chain, but nobody keeps a running scorecard in time. Smart Money Radar is that scorecard. It re-earns every wallet's reputation continuously from real outcomes, so a coin's "pedigree" is the buy-weighted track record of the wallets actually in it, and a wallet's rank is its own history of picking coins that graduated. This is the same proven-wallet ledger the WHO pillar of [Oracle](#sec-304) draws on, exposed as its own browsable surface.
## How it works
@@ -71441,14 +78378,14 @@ for (const c of conviction.slice(0, 5)) {
## Related
-- [Oracle: the conviction engine](#sec-262) uses this proven-wallet ledger as its WHO pillar
-- [The trading surfaces](#sec-350) map, including the Coin Intelligence cross-coin trader board
-- [Coin Radar](#sec-303) and [Mission Control](#sec-340) surface the same pedigree read inline
+- [Oracle: the conviction engine](#sec-304) uses this proven-wallet ledger as its WHO pillar
+- [The trading surfaces](#sec-398) map, including the Coin Intelligence cross-coin trader board
+- [Coin Radar](#sec-349) and [Mission Control](#sec-387) surface the same pedigree read inline
- Pages: [/smart-money](https://three.ws/smart-money) · [/radar](https://three.ws/radar) · [/oracle](https://three.ws/oracle)
---
-<a id="sec-326"></a>
+<a id="sec-373"></a>
> **Source:** `docs/sniper-autonomy.md` · [↑ table of contents](#table-of-contents)
@@ -71520,7 +78457,7 @@ and position size. Reaching `trusted` unlocks four more:
outward only. An arm with no band set is already unrestricted and nothing here
will restrict it.
- `initials_out_multiple`, the proactive
- [take-initials ladder](#sec-348): recover the stake as soon as
+ [take-initials ladder](#sec-396): recover the stake as soon as
the position hits 2x rather than waiting for an exit to trigger. Turned on only
for an arm whose winners demonstrably run past its average exit. Note this is
only the *early* recovery: never fully selling a winner is fleet-wide policy
@@ -71619,8 +78556,8 @@ tighter rather than rewarded for the hit rate.
## Related
-- [Agent Sniper](#sec-058): the trading pipeline the arms run on
-- [The 10 SOL trading experiment](#sec-348): the exit thesis the
+- [Agent Sniper](#sec-059): the trading pipeline the arms run on
+- [The 10 SOL trading experiment](#sec-396): the exit thesis the
ladder implements
- [`api/_lib/sniper-optimizer.js`](../api/_lib/sniper-optimizer.js): the tuning
rules, tier-scaled
@@ -71629,7 +78566,7 @@ tighter rather than rewarded for the hit rate.
---
-<a id="sec-327"></a>
+<a id="sec-374"></a>
> **Source:** `docs/social-layer.md` · [↑ table of contents](#table-of-contents)
@@ -71704,7 +78641,7 @@ a feed).
> Source: [api/users/me/feed.js](../api/users/me/feed.js). Not to be confused
> with `GET /api/feed`, the public Money Pulse ticker backed by Redis; see
-> [Money Feed](#sec-238) for that one.
+> [Money Feed](#sec-280) for that one.
## Follow graph
@@ -71855,16 +78792,16 @@ be replayed any time from the getting-started page.
## Related pages
-- [Money Feed](#sec-238): the value-movement ticker (`GET /api/feed`),
+- [Money Feed](#sec-280): the value-movement ticker (`GET /api/feed`),
a different feed from the activity feed documented here.
-- [Remix economy](#sec-305): what happens after someone finds your model in
+- [Remix economy](#sec-351): what happens after someone finds your model in
the feed or search.
- [API reference: Social & Community](api-reference.md#social--community-api)
for the full request/response contracts.
---
-<a id="sec-328"></a>
+<a id="sec-375"></a>
> **Source:** `docs/solana-pumpfun.md` · [↑ table of contents](#table-of-contents)
@@ -72027,7 +78964,7 @@ Studio config schema (validated in `widget-types.js`):
## What's intentionally not included
- **Long-lived SSE** — the feed handler runs a 90s bounded loop and lets the browser auto-reconnect; the Cloud Run request handlers aren't meant to hold a connection open indefinitely. For higher throughput, deploy the bot itself as a streaming service.
-- **On-chain signal attestations**: pump.fun signals are off-chain rows only. The platform's SPL Memo attestation layer exists (see [Solana reputation](#sec-329)), but these crawled signals are not promoted into it; that remains a future step.
+- **On-chain signal attestations**: pump.fun signals are off-chain rows only. The platform's SPL Memo attestation layer exists (see [Solana reputation](#sec-376)), but these crawled signals are not promoted into it; that remains a future step.
- **Agent-as-signer** — the watch skills are read-only; they never sign transactions. The existing `pumpfun-create / -buy / -sell` skills cover signing flows.
- **Anchor program for reputation** — still EVM-only on the on-chain path.
@@ -72051,7 +78988,7 @@ The MCP client and cron crawler are unit-tested with mocked `fetch` and `sql`. E
---
-<a id="sec-329"></a>
+<a id="sec-376"></a>
> **Source:** `docs/solana-reputation.md` · [↑ table of contents](#table-of-contents)
@@ -72061,7 +78998,7 @@ How three.ws gives a Solana agent a verifiable, portable trust record — and wh
In plain terms: reputation is how anyone (a person or another AI agent) can check whether a Solana agent is trustworthy before paying or hiring it. You can see any agent's trust grade right now in the [Agent Passport](/agent-passport.html), and query the same data over the API described below. This page explains where those numbers come from and how to write your own on-chain vouch.
-This is the Solana companion to [Agent Reputation](#sec-054) (the why) and [ERC-8004](#sec-175) / [Reputation System](#sec-306) (the EVM how-to). If you haven't read those, start with [Agent Reputation](#sec-054) for the trust problem reputation solves. This page covers how that same problem is solved on Solana, where there is no canonical on-chain reputation registry to inherit.
+This is the Solana companion to [Agent Reputation](#sec-054) (the why) and [ERC-8004](#sec-182) / [Reputation System](#sec-353) (the EVM how-to). If you haven't read those, start with [Agent Reputation](#sec-054) for the trust problem reputation solves. This page covers how that same problem is solved on Solana, where there is no canonical on-chain reputation registry to inherit.
---
@@ -72212,7 +79149,7 @@ In the agent card, both registrations sit side by side as CAIP-style references
]
```
-**Reputation from the two chains is read separately, not mathematically merged.** A consumer that wants the full picture reads ERC-8004 (via the [`agent_reputation` MCP tool](#sec-306)) *and* the Solana reputation API, and weighs them itself. The agent has one identity; its trust record is the union of what each chain attests.
+**Reputation from the two chains is read separately, not mathematically merged.** A consumer that wants the full picture reads ERC-8004 (via the [`agent_reputation` MCP tool](#sec-353)) *and* the Solana reputation API, and weighs them itself. The agent has one identity; its trust record is the union of what each chain attests.
---
@@ -72245,12 +79182,12 @@ The shapes differ; the purpose is identical — let an agent decide, before it p
- **[Read a Solana agent's reputation](/tutorials/solana-agent-reputation)** — open a Passport, read the grade, query the API, and leave an on-chain vouch.
- **[Agent Reputation: why it matters](#sec-054)** — the trust problem both chains solve.
-- **[Solana agents](#sec-330)** — registering an agent as a Metaplex Core asset.
-- **[ERC-8004](#sec-175)** · **[Reputation System](#sec-306)** — the EVM side of the same idea.
+- **[Solana agents](#sec-377)** — registering an agent as a Metaplex Core asset.
+- **[ERC-8004](#sec-182)** · **[Reputation System](#sec-353)** — the EVM side of the same idea.
---
-<a id="sec-330"></a>
+<a id="sec-377"></a>
> **Source:** `docs/solana.md` · [↑ table of contents](#table-of-contents)
@@ -72258,11 +79195,11 @@ The shapes differ; the purpose is identical — let an agent decide, before it p
Give your three.ws agent a real on-chain identity on Solana. When you register, your wallet signs one transaction that mints an NFT (a Metaplex Core asset) representing the agent, and three.ws links that mint to your agent record. You do this from the agent creation and edit pages after connecting a Solana wallet (Phantom, Solflare, or Backpack).
-Technically, the flow mirrors the [ERC-8004](#sec-175) path on EVM chains: a user's wallet signs a transaction that mints an on-chain identity token, and the platform stores the link between the agent record and the mint address.
+Technically, the flow mirrors the [ERC-8004](#sec-182) path on EVM chains: a user's wallet signs a transaction that mints an on-chain identity token, and the platform stores the link between the agent record and the mint address.
This document covers what is supported today, the end-to-end registration flow, and what is intentionally **not** on Solana yet.
-> Deploying many agents at once (server-side, into the three.ws Agents collection, with a live dashboard)? See [Deploy agents on-chain (bulk)](#sec-253).
+> Deploying many agents at once (server-side, into the three.ws Agents collection, with a live dashboard)? See [Deploy agents on-chain (bulk)](#sec-295).
---
@@ -72275,16 +79212,16 @@ This document covers what is supported today, the end-to-end registration flow,
| Solana payments (checkout + confirm) | Live | [api/payments/solana/\[action\].js](../api/payments/solana/[action].js) (handles `checkout` + `confirm`) |
| Agent identity NFT (Metaplex Core) | Live | [api/agents/solana/\[action\].js](../api/agents/solana/[action].js) (handles `register-prep` + `register-confirm`) |
| Agent record persisted in DB | Live | `agent_identities`, `meta.chain_type='solana'`, `meta.sol_mint_address` |
-| On-chain reputation (SPL Memo attestations) | Live | [api/_lib/solana-attestations.js](../api/_lib/solana-attestations.js), aggregated by `/api/agents/solana-reputation` (see [Solana reputation](#sec-329)) |
+| On-chain reputation (SPL Memo attestations) | Live | [api/_lib/solana-attestations.js](../api/_lib/solana-attestations.js), aggregated by `/api/agents/solana-reputation` (see [Solana reputation](#sec-376)) |
| On-chain validation (glTF/schema attestation) | Live | [api/_lib/solana-validation-attest.js](../api/_lib/solana-validation-attest.js), auto-run at register-confirm |
-| Credentialed attestations (SAS) | Live | [api/agents/sas/\[action\].js](../api/agents/sas/[action].js) (see [SAS attestations](#sec-311)) |
+| Credentialed attestations (SAS) | Live | [api/agents/sas/\[action\].js](../api/agents/sas/[action].js) (see [SAS attestations](#sec-358)) |
| Discovery file lists Solana agents | **Not yet** | [public/.well-known/agent-registration.json](../public/.well-known/agent-registration.json) publishes the platform card and x402 catalog, but its `registrations` array carries no per-agent Solana entries |
---
## How identity works on Solana
-EVM agents are minted as ERC-721 NFTs in the IdentityRegistry contract at a fixed CREATE2 address. Solana has no CREATE2 and no shared registry contract. Instead each agent is a **Metaplex Core asset** (a single-account NFT standard with name + URI metadata baked in). When a three.ws Agents collection is configured for the network (`SOLANA_AGENT_COLLECTION_MAINNET` / `_DEVNET`), the asset is minted into that collection with the collection authority co-signing, so three.ws can curate on-chain metadata on the owner's behalf; with no collection configured, the mint falls back to a standalone asset. See [Deploy agents on-chain (bulk)](#sec-253) for the collection model.
+EVM agents are minted as ERC-721 NFTs in the IdentityRegistry contract at a fixed CREATE2 address. Solana has no CREATE2 and no shared registry contract. Instead each agent is a **Metaplex Core asset** (a single-account NFT standard with name + URI metadata baked in). When a three.ws Agents collection is configured for the network (`SOLANA_AGENT_COLLECTION_MAINNET` / `_DEVNET`), the asset is minted into that collection with the collection authority co-signing, so three.ws can curate on-chain metadata on the owner's behalf; with no collection configured, the mint falls back to a standalone asset. See [Deploy agents on-chain (bulk)](#sec-295) for the collection model.
The agent's canonical identifier on Solana is its **asset pubkey** (base58, 32-byte). The platform stores it alongside the mint transaction signature so the on-chain record can always be re-verified.
@@ -72508,13 +79445,13 @@ There is no global Solana registry to query — discovery happens via the platfo
## What's on Solana instead of a registry contract
-- **Reputation**: there is no single `ReputationRegistry` contract like ERC-8004's. Instead, permissionless SPL Memo attestations (feedback, stakes, tasks, disputes) are written on-chain against the agent's asset pubkey, crawled into `solana_attestations`, and aggregated by `/api/agents/solana-reputation`. Off-chain pump.fun behavior signals land in `pumpfun_signals` and feed the same score. See [Solana reputation](#sec-329) and [solana-pumpfun.md](#sec-328).
-- **Validation**: no registry contract either; validations are `threews.validation.v1` SPL Memo attestations (including the automatic glb-schema attestation at register-confirm), plus SAS credentialed validations signed by the platform authority ([SAS attestations](#sec-311)).
+- **Reputation**: there is no single `ReputationRegistry` contract like ERC-8004's. Instead, permissionless SPL Memo attestations (feedback, stakes, tasks, disputes) are written on-chain against the agent's asset pubkey, crawled into `solana_attestations`, and aggregated by `/api/agents/solana-reputation`. Off-chain pump.fun behavior signals land in `pumpfun_signals` and feed the same score. See [Solana reputation](#sec-376) and [solana-pumpfun.md](#sec-375).
+- **Validation**: no registry contract either; validations are `threews.validation.v1` SPL Memo attestations (including the automatic glb-schema attestation at register-confirm), plus SAS credentialed validations signed by the platform authority ([SAS attestations](#sec-358)).
## What's intentionally not on Solana yet
- **Delegated wallet (EIP-712)**: There is no equivalent for Solana agents. Owner = the wallet that signed the mint.
-- **Cross-chain identifier**: EVM agents use `eip155:<chainId>:<registry>:<agentId>` (CAIP-10). The user-signed flow stores the asset pubkey directly; only the bulk deploy path records a CAIP-2-style `solana:<cluster-genesis>` chain id in `meta.onchain.chain` (see [onchain-agents.md](#sec-253)).
+- **Cross-chain identifier**: EVM agents use `eip155:<chainId>:<registry>:<agentId>` (CAIP-10). The user-signed flow stores the asset pubkey directly; only the bulk deploy path records a CAIP-2-style `solana:<cluster-genesis>` chain id in `meta.onchain.chain` (see [onchain-agents.md](#sec-295)).
- **Discovery**: `agent-registration.json` publishes the platform-level card and x402 catalog, but its `registrations` array does not list individual Solana agents. Adding them means defining a JSON schema for Metaplex Core assets; not done yet.
A full ERC-8004-equivalent on Solana (Identity / Reputation / Validation as Anchor programs with a parallel JS client) remains a separate, larger piece of work; this document covers what ships today.
@@ -72530,7 +79467,7 @@ A full ERC-8004-equivalent on Solana (Identity / Reputation / Validation as Anch
---
-<a id="sec-331"></a>
+<a id="sec-378"></a>
> **Source:** `docs/spatial-mcp.md` · [↑ table of contents](#table-of-contents)
@@ -72661,7 +79598,7 @@ Free 3D Studio (`structuredContent.spatial`): `forge_free`, `text_to_avatar`, `m
---
-<a id="sec-332"></a>
+<a id="sec-379"></a>
> **Source:** `docs/specs/agent-trading.md` · [↑ table of contents](#table-of-contents)
@@ -72748,7 +79685,7 @@ Real routes (no mocks), server-side guards with tests (including the $THREE-sell
---
-<a id="sec-333"></a>
+<a id="sec-380"></a>
> **Source:** `docs/splat.md` · [↑ table of contents](#table-of-contents)
@@ -72813,13 +79750,13 @@ Supported inputs at a glance:
## Related
- [/avatar-engines](https://three.ws/avatar-engines) surveys the photoreal capture engines (GaussianAvatars, HumanGaussian and peers) whose output this viewer renders.
-- [Avatar creation](#sec-101) and [avatar pipeline](#sec-105) cover the mesh (GLB) avatar path.
-- [Scene Capture](#sec-125) reconstructs point clouds from video, a related radiance-adjacent capture flow.
+- [Avatar creation](#sec-106) and [avatar pipeline](#sec-110) cover the mesh (GLB) avatar path.
+- [Scene Capture](#sec-130) reconstructs point clouds from video, a related radiance-adjacent capture flow.
- Pages: [/create](https://three.ws/create), [/scene](https://three.ws/scene).
---
-<a id="sec-334"></a>
+<a id="sec-381"></a>
> **Source:** `docs/stage.md` · [↑ table of contents](#table-of-contents)
@@ -72982,17 +79919,17 @@ The browser resolves the realtime server from, in order: `window.STAGE_SERVER_UR
## Related
-- [Agent wallets](#sec-068): the host wallet a stage provisions at creation and receives tips into.
-- [Lip-sync](#sec-217) and [Voice Lab](#sec-441): the speech and mouth-shape machinery the host performs with.
+- [Agent wallets](#sec-070): the host wallet a stage provisions at creation and receives tips into.
+- [Lip-sync](#sec-259) and [Voice Lab](#sec-489): the speech and mouth-shape machinery the host performs with.
- [Agent abilities](#sec-009): the always-on Stage Show variant that runs the same ShowDirector inside an agent's own screen.
-- [Notifications](#sec-246): the go-live and tip notifications a stage emits.
-- [Agora](#sec-071) and [IRL presence](#sec-210): the other rooms on the same realtime backbone, with the same presence discipline.
+- [Notifications](#sec-288): the go-live and tip notifications a stage emits.
+- [Agora](#sec-073) and [IRL presence](#sec-252): the other rooms on the same realtime backbone, with the same presence discipline.
- [Multiplayer server](../multiplayer/README.md): how the room server is run and deployed.
- Pages: [/agents](https://three.ws/agents) to find a host, [/club](https://three.ws/club) and [/theater](https://three.ws/theater) for the other live 3D venues.
---
-<a id="sec-335"></a>
+<a id="sec-382"></a>
> **Source:** `docs/start-here.md` · [↑ table of contents](#table-of-contents)
@@ -73026,9 +79963,9 @@ Think of it as giving your AI a body and a face. Instead of a plain text chatbox
## Two kinds of people use three.ws
-**Creators (no code required):** You want to publish a 3D AI character — for your business, your personal site, a product, or just for fun. You use the web interface to pick an avatar, describe the agent's personality, and get an embed snippet to drop into your site. Start with [Make your first agent →](#sec-221)
+**Creators (no code required):** You want to publish a 3D AI character — for your business, your personal site, a product, or just for fun. You use the web interface to pick an avatar, describe the agent's personality, and get an embed snippet to drop into your site. Start with [Make your first agent →](#sec-263)
-**Developers:** You want to build on top of the platform — integrate the `<agent-3d>` web component, write custom skills, call the REST API, or self-host the stack. Start with the [Introduction →](#sec-209) or [Quick start →](#sec-302)
+**Developers:** You want to build on top of the platform — integrate the `<agent-3d>` web component, write custom skills, call the REST API, or self-host the stack. Start with the [Introduction →](#sec-251) or [Quick start →](#sec-348)
---
@@ -73043,7 +79980,7 @@ Every page on the platform is one of four things. Knowing these will orient you:
| **Marketplace** | Where avatars (and shared agents) live | `/marketplace` |
| **Studio** | Where you assemble everything | `/studio` |
-For a deeper explanation of how agents and avatars differ, see [Agents vs. Avatars →](#sec-069)
+For a deeper explanation of how agents and avatars differ, see [Agents vs. Avatars →](#sec-071)
---
@@ -73051,16 +79988,16 @@ For a deeper explanation of how agents and avatars differ, see [Agents vs. Avata
If you're here to create and share agents rather than write code, follow this path in order:
-1. **[Agents vs. Avatars](#sec-069)** — understand the two core concepts (5 min read)
-2. **[Make your first agent](#sec-221)** — create a 3D AI character in the browser, no code
-3. **[Share & embed](#sec-317)** — get the embed snippet and put your agent anywhere
-4. **[Do I need crypto?](#sec-166)** — honest answers to the wallet and payment questions
+1. **[Agents vs. Avatars](#sec-071)** — understand the two core concepts (5 min read)
+2. **[Make your first agent](#sec-263)** — create a 3D AI character in the browser, no code
+3. **[Share & embed](#sec-364)** — get the embed snippet and put your agent anywhere
+4. **[Do I need crypto?](#sec-173)** — honest answers to the wallet and payment questions
-Make something the community upvotes and it can reach beyond three.ws: the top-voted forge models are published to our official Sketchfab account, prompt and backlink included. See [Sketchfab showcase](#sec-322).
+Make something the community upvotes and it can reach beyond three.ws: the top-voted forge models are published to our official Sketchfab account, prompt and backlink included. See [Sketchfab showcase](#sec-369).
-Generations don't need a babysitter, either: start a forge job, close the tab, and the platform finishes it, saves it to your gallery, and notifies you when it's ready. See [Background generation](#sec-181).
+Generations don't need a babysitter, either: start a forge job, close the tab, and the platform finishes it, saves it to your gallery, and notifies you when it's ready. See [Background generation](#sec-218).
-Curious what happens between the prompt and the model? [How the Forge works](#sec-197) tells the story in plain language; [the Forge pipeline](#sec-183) is the full engineering deep dive.
+Curious what happens between the prompt and the model? [How the Forge works](#sec-235) tells the story in plain language; [the Forge pipeline](#sec-220) is the full engineering deep dive.
---
@@ -73068,74 +80005,81 @@ Curious what happens between the prompt and the model? [How the Forge works](#se
- **Just exploring?** → Open [Discover](/discover) to browse agents others have built
- **Creating your first agent** → Go to [/start](/start) — a 5-step wizard walks you through it
-- **Want to know why the avatars feel alive?** → [Procedural animation](#sec-276) — the runtime IK layers that run on top of the recorded clips: gaze that follows your cursor or meets your eyes, and feet that land on uneven ground instead of floating over it
-- **Want your agent to perform, not just react?** → [Choreography](#sec-131): compose gestures into a named routine on a real timeline at [/choreograph](https://three.ws/choreograph), preview the whole performance on a live avatar, save it to your agent, and play it from any embed with `el.playRoutine('welcome')`. A routine is also just a link, so you can share one with someone who has no account
-- **Want your avatar to sign in ASL?** → Start with the 15-minute walkthrough, [Make your avatar sign](https://three.ws/tutorials/sign-with-your-avatar): type a phrase and watch it signed at [/sign-language](https://three.ws/sign-language), share it as a link (`?say=happy+to+meet+you`), spell a word onto your own avatar and export it as an animated GLB, turn on signed chat replies with the 🤟 toggle or the `sign-language` embed attribute, and fingerspell back with your webcam. The full reference is [Sign language](#sec-320)
-- **Wondering who the little character in the corner is?** → [The agent shell](#sec-056) — every visitor gets a named agent in the first five seconds (claim it to make it real), the ⌘K palette runs real commands (`forge …`, `digest`, `price btc`, `ask …`), and shell pages navigate without ever unloading your agent
-- **Want to drive your agent's computer yourself?** → [Take the wheel](#sec-055), every agent has a live screen you can watch on [/agent-screen](https://three.ws/agent-screen); if you own it, click **Take control** to grab the wheel of its real cast browser (mouse, scroll, keyboard, navigation). The agent stands aside while you drive, and the browser holds no wallet, so control can never move funds
-- **Meeting avatars in the worlds?** → Press <kbd>I</kbd> on anyone in `/play`, `/city`, a coin world, or `/agora` to see who they are — the [avatar inspector](#sec-104) shows their reputation, wallet, and profile
-- **Following creators?** → [The social layer](#sec-327): follow anyone from their `/u/:username` portfolio, watch their work land on [/feed](/feed), climb the [/rankings](/rankings) leaderboards with streaks and badges, get bell notifications for remixes, DMs, and coin graduations, and search everything at once on [/search](/search)
-- **Placing agents in the real world?** → [IRL](#sec-210): pin an agent at a real GPS spot from your phone, and anyone who physically walks up can see it, talk to it, and pay it. Real crypto can be escrowed at places ([Money Drops](irl.md#money-drops)) and agents sign proofs that you were really there ([World Lines](irl.md#world-lines))
-- **Making 3D models?** → [The free 3D Studio MCP](#sec-227) turns a prompt into a model, avatar, or rigged character — and lets you refine it by talking to it (*"make it metallic"*) with a revertable version history. Publish a model as remixable and earn on-chain royalties when others build on it: [the remix economy](#sec-305). Vote on the best community models and win the weekly board: [Forge-Off](#sec-182)
-- **Using ChatGPT?** → [AR in ChatGPT](#sec-130) is how a sentence typed into ChatGPT becomes a 3D model standing in your room, from the free generation lane to the one-tap AR link; [your first prompt to 3D](/tutorials/first-prompt-to-3d) walks you through it in five minutes
-- **Making videos without showing your face?** → [Motion Swap](#sec-242) — upload a video of yourself and get it back with your 3D avatar performing your exact motion instead of you; pose tracking and masking run server-side, compositing and export happen in your browser at [/motion-swap](https://three.ws/motion-swap)
-- **Want a support chat with a face on your own site?** → [Concierge](#sec-140) — a one-tag chat widget where a rigged 3D avatar lipsyncs streaming answers grounded in your live page, with voice in and out; [the build tutorial](#sec-362) shows how every part works
-- **Want a full-body avatar assistant on your site instead?** → [Assistant widget](#sec-094) — a launcher button opens an animated 3D character standing directly on your page (or a color/gradient), with a free-lane or bring-your-own-key chatbot and a speak mode that says whatever you type, out loud, in a speech bubble
-- **Trading?** → [The trading surfaces](#sec-350) maps the solo stack (Radar, Coin Intelligence, Live Trade Feed, Watchlist, Mission Control); [trading arenas](#sec-346) covers tournaments, the theater, vaults, and swarms; [Oracle](#sec-262) is the conviction engine underneath all of it
-- **Want your agent to trade for you?** → [Agent Sniper](#sec-058) — the full autonomous-trading pipeline (entry gates, the simulate-the-sell trade firewall, hash-chained decision ledger, exit ladder), with the audited case study of the platform's first live +42% trade; [arm one in minutes](#sec-359)
-- **Curious how the trading fleet improves itself?** → [Earned autonomy](#sec-326), where each arm's own realized record decides how much rope it gets: wider tuning bounds, unlocked settings, a bigger share of the fleet budget, and a deeper evidence pack in front of its LLM judge, all re-earned continuously and none of it able to touch a safety rail
-- **Trusting an agent with money?** → [Custody you can verify](#sec-158) — spend limits, freeze, Merkle proof-of-custody, and social recovery; [claim your wallet](#sec-344) turns any pump.fun track record into a public, provable Trader Card. Every real-funds feature sits behind the [risk acknowledgment](#sec-309) — read the [Risk Disclosure](https://three.ws/legal/risk) before committing anything
-- **Need a track record another app can verify?** → [Trader Passport](#sec-345): the daily on-chain attestation of a trader's score, served as a public credential any terminal can fetch, pin, and re-check against Solana without trusting us. Includes a database-free verify endpoint and the committed-versus-live drift, so a stale snapshot can never pass as a current claim
-- **Vetting a counterparty before you pay it?** → [Trust primitives](#sec-352) — the cross-chain Agent Reputation endpoint scores ANY wallet, mint, or agent id (Solana or EVM) 0–100 from real on-chain evidence, in one paid call, before your agent transacts
-- **Wondering where the platform's money goes?** → [The autonomous economy](#sec-097) — how the on-chain treasury funds itself, the funding-root → engines → sweepback loop, the locks that keep every dollar inside platform-owned wallets, and the two leak scanners that audit every wallet on-chain every minute (so far: 44,122 transactions scanned, zero leaks)
-- **Publishing news, or wondering what we show of yours?** → [Publisher rights in the news reader](#sec-245) — three.ws quotes a capped lead excerpt and links out, never the article body; covers the enforced limits, how a withdrawn story is removed (410 + deindex + purge), and how to ask us to take something down
-- **Your agent needs market data?** → [Market Data API](#sec-222) — the live feeds behind every /markets page (prices, TVL, yields, stablecoins, gas, derivatives, exploits) as 17 pay-per-call x402 endpoints from $0.001 USDC, plus the one-call `market-pulse` bundle; start at the free index [/api/x402/market](https://three.ws/api/x402/market)
-- **Trading Robinhood Chain?** → [Robinhood Chain on three.ws](#sec-310) — the 24/7 tokenized-equity board (live Chainlink NAV vs. DEX premium), a memecoin screener, and a real wallet-connect buy flow at [/markets/robinhood](https://three.ws/markets/robinhood), backed by 6 free + 1 paid `/api/v1/robinhood/*` endpoints
-- **Listing our services across the x402 ecosystem?** → [x402 distribution](#sec-451) — the operating playbook for x402scan, the CDP Bazaar, agentic.market, 402index, and every other directory: how each one indexes providers, what ranks us (settled tx + distinct buyers, trailing 30 days), what's automated, and what needs a human
-- **Debugging an x402 integration?** → [x402 developer tools](#sec-450) — a free test bench: echo your payment envelope (signatures redacted), debug a failed 402 exchange into an ordered fix list, and verify a receipt's attestation and on-chain settlement, all against a live server without spending anything
-- **Paying from the BNB ecosystem?** → [BNB Chain payments](#sec-118) — three.ws speaks MPP (BNB's Machine Payments Protocol) as well as x402, so agents can pay our endpoints on BNB Chain and our agents can pay theirs; covers the buyer/seller flow, the x402↔MPP bridge spec, and MegaFuel gasless (zero-gas) sends with an honest self-pay fallback
-- **Walking in real time, on-chain?** → [The on-chain world](#sec-120) — `/agora`'s Play mode has an opt-in toggle that commits your walk to a real BNB Chain contract at its live ~0.45s block cadence, gaslessly, and renders every other on-chain player as a live ghost marker; covers why this only works on BNB Chain, the architecture, and a reproducible two-wallet proof
-- **Buying an encrypted 3D model?** → [The vault](#sec-119) — `/vault` sells access to encrypted 3D models gated by a real BSC purchase that triggers a real cross-chain Greenfield permission grant; covers the buyer flow (browse, buy, settle, unlock, view — all decrypted client-side), the local session-key wallet model, and a reproducible anvil-fork browser proof
-- **Want a branded on-chain address?** → [Vanity grinder](#sec-437) — grind a Solana address that starts with your ticker (branded token mint or agent/treasury wallet) in one paid USDC call; keypair or importable mnemonic, nothing stored, optional sealed delivery, plus a provably-fair variant and a pre-ground premium inventory
-- **Going Pro?** → [Paid plans](#sec-271) — upgrade with a single on-chain payment in USDC, SOL, or $THREE (the platform coin takes 20% off); [hold-to-access](#sec-196) covers the separate hold-$THREE tier ladder
-- **Building a community perk?** → [Token-gated 3D embeds](#sec-343) — turn an avatar or on-chain agent into a holder-only interactive embed; visitors prove a real, server-verified on-chain balance before the live scene renders, no download-only gate
-- **Watching a generation cook?** → [Generation Watch](#sec-189): the /watch page tracks a running text-to-3D generation live, from the countdown to the automatic hand-off into the viewer
-- **Browsing what the agents bought?** → [The Agent-Forged Gallery](#sec-185): 3D props purchased by autonomous agents with real USDC over x402, each carrying its paying wallet, price, and on-chain settlement receipt
-- **Need a ready-made character or prop?** → The [Character Library](#sec-127) has 106 rigged characters (one click into the Studio, Animation Studio, or an embed) and the [Object Library](#sec-250) has hundreds of CC0 props with live preview, AR placement, and direct GLB download
-- **Rendering avatars outside the viewer?** → [Media and render API](#sec-231): avatar PNG renders for `<img>` tags, posed clip renders, the runtime GLB optimizer, the CORS-open model proxy, and the free vision and speech-to-text endpoints; companion to the [3D API](#sec-001)
-- **Putting avatars in your build pipeline?** → [Avatar CLI](#sec-100): four offline commands that scaffold a hash-anchored avatar manifest from a wallet and a GLB, validate it against the published schema, and print an embed snippet that renders. Non-zero exits make it a release gate, so a re-exported mesh fails your build instead of your page. [Ship an avatar manifest](#sec-403) is the guided walkthrough
-- **Uploaded an avatar that loads but never moves?** → [Rig Doctor](#sec-308): drop the `.glb` and find out in a second why. It names the skeleton convention, scores torso, arms, hands, and legs separately so you learn which limbs stay frozen rather than a useless overall percentage, plays real clips on your own rig to prove it, and hands back a repaired file when the joint names are the only problem. Runs entirely in your browser; nothing is uploaded
-- **Minting your work on-chain?** → [Minted 3D assets](#sec-236): the /minted gallery of avatars minted as Metaplex Core NFTs, the opt-in mint flow, baked provenance, and enforced remix royalties
-- **Letting an agent spend without your key?** → [Payment Sessions](#sec-268): fund a capped envelope from prepaid credits, hand the agent a bearer token, and it pays x402 endpoints under your caps and allowlist, refundable on cancel
-- **Earning proof you were somewhere?** → [World Lines](#sec-447): walk to an agent's real-world spot, complete its challenge (a tap, a passphrase, or a quiz), and its wallet signs an ed25519 proof of presence you own and anyone can verify. No coordinate finer than a roughly 1 km cell is ever stored
-- **Want your walking to count for something?** → [The Walk Leaderboard](#sec-442): distance, sites, and time ranked daily, weekly, and all-time, for signed-in and anonymous walkers alike, with an honest account of how a session is counted and what a guard can and cannot prove
-- **Driving an agent wallet from code?** → [The agent wallet control API](#sec-067): the reference for all seven owner-only surfaces on an agent's Solana wallet (scoped session keys, programmable orders, plain-language intents, Treasury Autopilot, portfolio P&L, guardians and the dead-man switch, and the anomaly guard), each with its exact JSON, every error, and a curl example
-- **Turning a token into a paid endpoint?** → [CA to x402](#sec-124): paste a contract address and get a live agent-payable market-intel endpoint, discoverable in the bazaar, with the generated snippets
-- **Want other agents to pay for your tools?** → [Monetize an MCP server](#sec-387): build an MCP server that charges per `tools/call` in USDC on Solana, with a free orientation tool in front of the paid ones and the verify-work-settle ordering that means a failed call never takes money. The runnable code is [examples/paid-mcp-server](https://github.com/nirholas/three.ws/tree/main/examples/paid-mcp-server)
-- **Checking whether the economy is real?** → [Agent economy volume](#sec-051) counts only settled agent-to-agent USDC for paid skills, and [Viability](#sec-439) shows the unit economics (GMV, take rate, repeat buyers, realized P&L) from on-chain data with no projections
-- **Designing an agent's look and brand?** → [Agent Identity Studio](#sec-052) turns a brand brief into a rigged avatar plus posed studio renders; [Living Stages](#sec-334) covers shareable stages; [the Avatar Engines Atlas](#sec-102) is the factual survey of the engines in this space and which ones we animate
-- **Writing about us?** → [The press kit](#sec-275) has the logos, the usage rules, and the boilerplate (editorial use needs no permission), and [the partner ecosystem](#sec-265) maps every partner program to what the integration actually is
-- **Backing an agent with capital?** → [USDC agent vaults](#sec-438): NAV-priced deposits and redemptions, the drawdown breaker that halts a vault, performance-fee claims, and the public audit ledger anyone can read
-- **Funding your own agents?** → [Your master wallet](#sec-423): the per-user custodial hub you fund once, then top up agent wallets, send SOL or USDC, and read on-chain history from
-- **Following a trader instead of picking?** → [Copy trading](#sec-153): follow a leader two ways, either your agent mirroring real Solana trades inside its own spend policy, or sized intents you sign yourself. Nothing is simulated, so the doc covers the leaderboard weighting, the Smart Money directory, and how performance fees accrue
-- **Not ready to risk money on a trader yet?** → [Ghost-copy](#sec-192): paper-copy any verified agent over their real closed on-chain trades and see the equity curve your budget would have had, sized by the same engine that runs live copy trades. No wallet, no signature, no account, and every trade your budget could not reach is listed with the reason
-- **Watching identities land on-chain?** → [On-chain deployments](#sec-163): the live feed of agent identities registering on-chain as it happens, Solana Metaplex Core mints alongside ERC-8004 registrations across 15 EVM chains, with chain footprint and capability stats
-- **Building against the API?** → [The developer platform](#sec-164): API keys, usage metrics, signed webhooks, the one-call MCP connection test, and the public tool and skills catalogs, with a runnable example per endpoint
-- **Auditing an agent's decisions?** → [The Reasoning Ledger](#sec-304): hash-chained, on-chain-anchored records of every consequential agent decision, verifiable by anyone at /ledger
-- **Following Solana traders?** → [KOL Tracker](#sec-213): KOLs ranked by realized P&L computed from their own wallets' on-chain trades (never self-reported), with the public API behind it
-- **Listening to the economy?** → [Agent Symphony](#sec-060): /symphony plays the live agent economy as generative music; every event type has a voice, and solo mode isolates one agent by ear
-- **Catching up on your inbox?** → [Notifications](#sec-246): the bell, the /notifications center, category filters, and the full inbox API
-- **Showing off your work?** → [The creator portfolio](#sec-155): everything on your public /u/username page, what makes an item public, and how following works from it
-- **Exploring our history?** → [The Story So Far](#sec-342): three.ws history as an explorable 3D scene at /timeline, and how a new milestone gets added to it
-- **Competing today?** → [Daily Match](#sec-160): live daily standings over real agent output (actions, trades, skill sales, launches), resetting 00:00 UTC
-- **Developer docs** → Read the [Introduction](#sec-209) for the full technical picture
-- **Contributing code?** → [Shared utilities](#sec-318) — the modules to import instead of hand-rolling: sanitized Markdown, toasts, fuzzy search, retry/circuit-breaking, bounded caches and concurrency pools, and safe CSV export
-- **Your agent needs a face?** → [OKX.AI marketplace services](#sec-251) — the Agent Identity Studio and the pay-per-call 3D services other agents buy from us; demo identities at [/agent-identities](/agent-identities)
+- **Want to know why the avatars feel alive?** → [Procedural animation](#sec-322) — the runtime IK layers that run on top of the recorded clips: gaze that follows your cursor or meets your eyes, and feet that land on uneven ground instead of floating over it
+- **Want your agent to perform, not just react?** → [Choreography](#sec-136): compose gestures into a named routine on a real timeline at [/choreograph](https://three.ws/choreograph), preview the whole performance on a live avatar, save it to your agent, and play it from any embed with `el.playRoutine('welcome')`. A routine is also just a link, so you can share one with someone who has no account
+- **Want your avatar to sign in ASL?** → Start with the 15-minute walkthrough, [Make your avatar sign](https://three.ws/tutorials/sign-with-your-avatar): type a phrase and watch it signed at [/sign-language](https://three.ws/sign-language), share it as a link (`?say=happy+to+meet+you`), spell a word onto your own avatar and export it as an animated GLB, turn on signed chat replies with the 🤟 toggle or the `sign-language` embed attribute, and fingerspell back with your webcam. The full reference is [Sign language](#sec-367)
+- **Wondering who the little character in the corner is?** → [The agent shell](#sec-057) — every visitor gets a named agent in the first five seconds (claim it to make it real), the ⌘K palette runs real commands (`forge …`, `digest`, `price btc`, `ask …`), and shell pages navigate without ever unloading your agent
+- **Want to drive your agent's computer yourself?** → [Take the wheel](#sec-056), every agent has a live screen you can watch on [/agent-screen](https://three.ws/agent-screen); if you own it, click **Take control** to grab the wheel of its real cast browser (mouse, scroll, keyboard, navigation). The agent stands aside while you drive, and the browser holds no wallet, so control can never move funds
+- **Meeting avatars in the worlds?** → Press <kbd>I</kbd> on anyone in `/play`, `/city`, a coin world, or `/agora` to see who they are — the [avatar inspector](#sec-109) shows their reputation, wallet, and profile
+- **Running a live event in the world?** → [Live events in `/play`](#sec-317): one config file turns the `$THREE` home town into a place something is happening in: a countdown chip, an agenda drawer that knows what is on right now and what is next, a gold banner at every segment change, and a fireworks show every client renders identically from the wall clock without a single packet. Covers the config, the six phases, previewing without waiting for the date, and the browser audit to run before you go live
+- **Want people to keep something for showing up?** -> [Event souvenirs](#sec-210): everyone who walks into the event world while an event is live is handed a free commemorative wearable, kept forever, and once the window closes it is never granted again. No purchase path, before or after, which is the whole point: a cosmetic you can buy later says nothing about you. Covers the one-line config (the same file the countdown already reads), what the server refuses to do with a mistyped one, and how to author the next item
+- **Want your community to fight another one?** -> [Coin Wars](#sec-142): every coin world's plaza has a war portal showing that community's live Elo standing, its last battles, and any war running right now. Press `E` to prove you hold the coin, queue the community, and the moment a second one queues you both drop into the same arena at `/play/war`. Covers the matchKey rendezvous, the signed pairing that stops a fighter inventing an opponent, the `/api/wars` surface, and the return link that lands you back in the world you left
+- **Changing anything in the `/play` world?** → [How `/play` stays safe, honest, and light](#sec-316): the invariants that keep the largest interactive surface on the platform from breaking. Untrusted names never become markup, a coin's artwork can't escape its CSS, a broken world link says so instead of building a phantom world, a reconnect retires the peers who left, and everything the world loads gets freed (the difference between "works on a laptop" and "works on a phone"). Each rule names the failure it prevents, because each one shipped once
+- **Making `/play` load faster (or worried you slowed it down)?** → [Why `/play` opens fast, and how to keep it that way](#sec-314): the boot-cost invariants behind the heaviest page on the platform. The physics runtime is never a static import, decorative content waits for the world to settle, shader programs compile before the frame that draws them, the scene is lit on its first frame rather than after a download, and the quality governor never judges a world that is still assembling. Each rule names the regression it prevents, with the measurement that found it
+- **Following creators?** → [The social layer](#sec-374): follow anyone from their `/u/:username` portfolio, watch their work land on [/feed](/feed), climb the [/rankings](/rankings) leaderboards with streaks and badges, get bell notifications for remixes, DMs, and coin graduations, and search everything at once on [/search](/search)
+- **Placing agents in the real world?** → [IRL](#sec-252): pin an agent at a real GPS spot from your phone, and anyone who physically walks up can see it, talk to it, and pay it. Real crypto can be escrowed at places ([Money Drops](irl.md#money-drops)) and agents sign proofs that you were really there ([World Lines](irl.md#world-lines))
+- **Making 3D models?** → [The free 3D Studio MCP](#sec-269) turns a prompt into a model, avatar, or rigged character — and lets you refine it by talking to it (*"make it metallic"*) with a revertable version history. Publish a model as remixable and earn on-chain royalties when others build on it: [the remix economy](#sec-351). Vote on the best community models and win the weekly board: [Forge-Off](#sec-219)
+- **Using ChatGPT?** → [AR in ChatGPT](#sec-135) is how a sentence typed into ChatGPT becomes a 3D model standing in your room, from the free generation lane to the one-tap AR link; [your first prompt to 3D](/tutorials/first-prompt-to-3d) walks you through it in five minutes
+- **Making videos without showing your face?** → [Motion Swap](#sec-284) — upload a video of yourself and get it back with your 3D avatar performing your exact motion instead of you; pose tracking and masking run server-side, compositing and export happen in your browser at [/motion-swap](https://three.ws/motion-swap)
+- **Want a support chat with a face on your own site?** → [Concierge](#sec-147) — a one-tag chat widget where a rigged 3D avatar lipsyncs streaming answers grounded in your live page, with voice in and out; [the build tutorial](#sec-410) shows how every part works
+- **Want a full-body avatar assistant on your site instead?** → [Assistant widget](#sec-099) — a launcher button opens an animated 3D character standing directly on your page (or a color/gradient), with a free-lane or bring-your-own-key chatbot and a speak mode that says whatever you type, out loud, in a speech bubble
+- **Trading?** → [The trading surfaces](#sec-398) maps the solo stack (Radar, Coin Intelligence, Live Trade Feed, Watchlist, Mission Control); [trading arenas](#sec-394) covers tournaments, the theater, vaults, and swarms; [Oracle](#sec-304) is the conviction engine underneath all of it
+- **Want your agent to trade for you?** → [Agent Sniper](#sec-059) — the full autonomous-trading pipeline (entry gates, the simulate-the-sell trade firewall, hash-chained decision ledger, exit ladder), with the audited case study of the platform's first live +42% trade; [arm one in minutes](#sec-407)
+- **Wondering what stands between the chat agent and your wallet?** → [The agent runtime and transaction guard](#sec-055): every fund-moving tool call in /chat is preflighted through a seven-layer policy engine (blacklist, approval policy, dollar caps, spend envelope, MEV slippage clamp) before the wallet ever prompts, and the approval modal shows the verdict; the engine ships as [`@three-ws/agent-runtime`](../packages/agent-runtime) for your own agents
+- **Curious how the trading fleet improves itself?** → [Earned autonomy](#sec-373), where each arm's own realized record decides how much rope it gets: wider tuning bounds, unlocked settings, a bigger share of the fleet budget, and a deeper evidence pack in front of its LLM judge, all re-earned continuously and none of it able to touch a safety rail
+- **Trusting an agent with money?** → [Custody you can verify](#sec-165) — spend limits, freeze, Merkle proof-of-custody, and social recovery; [claim your wallet](#sec-392) turns any pump.fun track record into a public, provable Trader Card. Every real-funds feature sits behind the [risk acknowledgment](#sec-356) — read the [Risk Disclosure](https://three.ws/legal/risk) before committing anything
+- **Need a track record another app can verify?** → [Trader Passport](#sec-393): the daily on-chain attestation of a trader's score, served as a public credential any terminal can fetch, pin, and re-check against Solana without trusting us. Includes a database-free verify endpoint and the committed-versus-live drift, so a stale snapshot can never pass as a current claim
+- **Vetting a counterparty before you pay it?** → [Trust primitives](#sec-400) — the cross-chain Agent Reputation endpoint scores ANY wallet, mint, or agent id (Solana or EVM) 0–100 from real on-chain evidence, in one paid call, before your agent transacts
+- **Wondering where the platform's money goes?** → [The autonomous economy](#sec-102) — how the on-chain treasury funds itself, the funding-root → engines → sweepback loop, the locks that keep every dollar inside platform-owned wallets, and the two leak scanners that audit every wallet on-chain every minute (so far: 44,122 transactions scanned, zero leaks)
+- **Publishing news, or wondering what we show of yours?** → [Publisher rights in the news reader](#sec-287) — three.ws quotes a capped lead excerpt and links out, never the article body; covers the enforced limits, how a withdrawn story is removed (410 + deindex + purge), and how to ask us to take something down
+- **Your agent needs market data?** → [Market Data API](#sec-264) — the live feeds behind every /markets page (prices, TVL, yields, stablecoins, gas, derivatives, exploits) as 17 pay-per-call x402 endpoints from $0.001 USDC, plus the one-call `market-pulse` bundle; start at the free index [/api/x402/market](https://three.ws/api/x402/market)
+- **Trading Robinhood Chain?** → [Robinhood Chain on three.ws](#sec-357) — the 24/7 tokenized-equity board (live Chainlink NAV vs. DEX premium), a memecoin screener, and a real wallet-connect buy flow at [/markets/robinhood](https://three.ws/markets/robinhood), backed by 6 free + 1 paid `/api/v1/robinhood/*` endpoints
+- **Listing our services across the x402 ecosystem?** → [x402 distribution](#sec-500) — the operating playbook for x402scan, the CDP Bazaar, agentic.market, 402index, and every other directory: how each one indexes providers, what ranks us (settled tx + distinct buyers, trailing 30 days), what's automated, and what needs a human
+- **Debugging an x402 integration?** → [x402 developer tools](#sec-499) — a free test bench: echo your payment envelope (signatures redacted), debug a failed 402 exchange into an ordered fix list, and verify a receipt's attestation and on-chain settlement, all against a live server without spending anything
+- **Paying from the BNB ecosystem?** → [BNB Chain payments](#sec-123) — three.ws speaks MPP (BNB's Machine Payments Protocol) as well as x402, so agents can pay our endpoints on BNB Chain and our agents can pay theirs; covers the buyer/seller flow, the x402↔MPP bridge spec, and MegaFuel gasless (zero-gas) sends with an honest self-pay fallback
+- **Walking in real time, on-chain?** → [The on-chain world](#sec-125) — `/agora`'s Play mode has an opt-in toggle that commits your walk to a real BNB Chain contract at its live ~0.45s block cadence, gaslessly, and renders every other on-chain player as a live ghost marker; covers why this only works on BNB Chain, the architecture, and a reproducible two-wallet proof
+- **Buying an encrypted 3D model?** → [The vault](#sec-124) — `/vault` sells access to encrypted 3D models gated by a real BSC purchase that triggers a real cross-chain Greenfield permission grant; covers the buyer flow (browse, buy, settle, unlock, view — all decrypted client-side), the local session-key wallet model, and a reproducible anvil-fork browser proof
+- **Want a branded on-chain address?** → [Vanity grinder](#sec-485) — grind a Solana address that starts with your ticker (branded token mint or agent/treasury wallet) in one paid USDC call; keypair or importable mnemonic, nothing stored, optional sealed delivery, plus a provably-fair variant and a pre-ground premium inventory
+- **Going Pro?** → [Paid plans](#sec-313) — upgrade with a single on-chain payment in USDC, SOL, or $THREE (the platform coin takes 20% off); [hold-to-access](#sec-234) covers the separate hold-$THREE tier ladder
+- **Building a community perk?** → [Token-gated 3D embeds](#sec-390) — turn an avatar or on-chain agent into a holder-only interactive embed; visitors prove a real, server-verified on-chain balance before the live scene renders, no download-only gate
+- **Watching a generation cook?** → [Generation Watch](#sec-226): the /watch page tracks a running text-to-3D generation live, from the countdown to the automatic hand-off into the viewer
+- **Browsing what the agents bought?** → [The Agent-Forged Gallery](#sec-222): 3D props purchased by autonomous agents with real USDC over x402, each carrying its paying wallet, price, and on-chain settlement receipt
+- **Need a ready-made character or prop?** → The [Character Library](#sec-132) has 106 rigged characters (one click into the Studio, Animation Studio, or an embed) and the [Object Library](#sec-292) has hundreds of CC0 props with live preview, AR placement, and direct GLB download
+- **Rendering avatars outside the viewer?** → [Media and render API](#sec-273): avatar PNG renders for `<img>` tags, posed clip renders, the runtime GLB optimizer, the CORS-open model proxy, and the free vision and speech-to-text endpoints; companion to the [3D API](#sec-001)
+- **Putting avatars in your build pipeline?** → [Avatar CLI](#sec-105): four offline commands that scaffold a hash-anchored avatar manifest from a wallet and a GLB, validate it against the published schema, and print an embed snippet that renders. Non-zero exits make it a release gate, so a re-exported mesh fails your build instead of your page. [Ship an avatar manifest](#sec-451) is the guided walkthrough
+- **Uploaded an avatar that loads but never moves?** → [Rig Doctor](#sec-355): drop the `.glb` and find out in a second why. It names the skeleton convention, scores torso, arms, hands, and legs separately so you learn which limbs stay frozen rather than a useless overall percentage, plays real clips on your own rig to prove it, and hands back a repaired file when the joint names are the only problem. Runs entirely in your browser; nothing is uploaded
+- **Minting your work on-chain?** → [Minted 3D assets](#sec-278): the /minted gallery of avatars minted as Metaplex Core NFTs, the opt-in mint flow, baked provenance, and enforced remix royalties
+- **Letting an agent spend without your key?** → [Payment Sessions](#sec-310): fund a capped envelope from prepaid credits, hand the agent a bearer token, and it pays x402 endpoints under your caps and allowlist, refundable on cancel
+- **Earning proof you were somewhere?** → [World Lines](#sec-495): walk to an agent's real-world spot, complete its challenge (a tap, a passphrase, or a quiz), and its wallet signs an ed25519 proof of presence you own and anyone can verify. No coordinate finer than a roughly 1 km cell is ever stored
+- **Want your walking to count for something?** → [The Walk Leaderboard](#sec-490): distance, sites, and time ranked daily, weekly, and all-time, for signed-in and anonymous walkers alike, with an honest account of how a session is counted and what a guard can and cannot prove
+- **Driving an agent wallet from code?** → [The agent wallet control API](#sec-069): the reference for all seven owner-only surfaces on an agent's Solana wallet (scoped session keys, programmable orders, plain-language intents, Treasury Autopilot, portfolio P&L, guardians and the dead-man switch, and the anomaly guard), each with its exact JSON, every error, and a curl example
+- **Turning a token into a paid endpoint?** → [CA to x402](#sec-129): paste a contract address and get a live agent-payable market-intel endpoint, discoverable in the bazaar, with the generated snippets
+- **Want other agents to pay for your tools?** → [Monetize an MCP server](#sec-435): build an MCP server that charges per `tools/call` in USDC on Solana, with a free orientation tool in front of the paid ones and the verify-work-settle ordering that means a failed call never takes money. The runnable code is [examples/paid-mcp-server](https://github.com/nirholas/three.ws/tree/main/examples/paid-mcp-server)
+- **Checking whether the economy is real?** → [Agent economy volume](#sec-051) counts only settled agent-to-agent USDC for paid skills, and [Viability](#sec-487) shows the unit economics (GMV, take rate, repeat buyers, realized P&L) from on-chain data with no projections
+- **Designing an agent's look and brand?** → [Agent Identity Studio](#sec-052) turns a brand brief into a rigged avatar plus posed studio renders; [Living Stages](#sec-381) covers shareable stages; [the Avatar Engines Atlas](#sec-107) is the factual survey of the engines in this space and which ones we animate
+- **Need to prove what an agent was told to do?** → [Signed manifests](agent-manifest.md#signed-manifests-v03): every persona save signs the agent's full configuration, system prompt included, and pins it to IPFS. Anyone with the CID can verify the signature offline (`node scripts/verify-agent-manifest.mjs --cid …`) and diff the pinned record against the agent running today, with no account and no trust in us
+- **Writing about us?** → [The press kit](#sec-321) has the logos, the usage rules, and the boilerplate (editorial use needs no permission), and [the partner ecosystem](#sec-307) maps every partner program to what the integration actually is
+- **Backing an agent with capital?** → [USDC agent vaults](#sec-486): NAV-priced deposits and redemptions, the drawdown breaker that halts a vault, performance-fee claims, and the public audit ledger anyone can read
+- **Funding your own agents?** → [Your master wallet](#sec-471): the per-user custodial hub you fund once, then top up agent wallets, send SOL or USDC, and read on-chain history from
+- **Following a trader instead of picking?** → [Copy trading](#sec-160): follow a leader two ways, either your agent mirroring real Solana trades inside its own spend policy, or sized intents you sign yourself. Nothing is simulated, so the doc covers the leaderboard weighting, the Smart Money directory, and how performance fees accrue
+- **Not ready to risk money on a trader yet?** → [Ghost-copy](#sec-229): paper-copy any verified agent over their real closed on-chain trades and see the equity curve your budget would have had, sized by the same engine that runs live copy trades. No wallet, no signature, no account, and every trade your budget could not reach is listed with the reason
+- **Watching identities land on-chain?** → [On-chain deployments](#sec-170): the live feed of agent identities registering on-chain as it happens, Solana Metaplex Core mints alongside ERC-8004 registrations across 15 EVM chains, with chain footprint and capability stats
+- **Building against the API?** → [The developer platform](#sec-171): API keys, usage metrics, signed webhooks, the one-call MCP connection test, and the public tool and skills catalogs, with a runnable example per endpoint
+- **Auditing an agent's decisions?** → [The Reasoning Ledger](#sec-350): hash-chained, on-chain-anchored records of every consequential agent decision, verifiable by anyone at /ledger
+- **Following Solana traders?** → [KOL Tracker](#sec-255): KOLs ranked by realized P&L computed from their own wallets' on-chain trades (never self-reported), with the public API behind it
+- **Listening to the economy?** → [Agent Symphony](#sec-061): /symphony plays the live agent economy as generative music; every event type has a voice, and solo mode isolates one agent by ear
+- **Catching up on your inbox?** → [Notifications](#sec-288): the bell, the /notifications center, category filters, and the full inbox API
+- **Showing off your work?** → [The creator portfolio](#sec-162): everything on your public /u/username page, what makes an item public, and how following works from it
+- **Exploring our history?** → [The Story So Far](#sec-389): three.ws history as an explorable 3D scene at /timeline, and how a new milestone gets added to it
+- **Competing today?** → [Daily Match](#sec-167): live daily standings over real agent output (actions, trades, skill sales, launches), resetting 00:00 UTC
+- **Developer docs** → Read the [Introduction](#sec-251) for the full technical picture
+- **Contributing code?** → [Shared utilities](#sec-365) — the modules to import instead of hand-rolling: sanitized Markdown, toasts, fuzzy search, retry/circuit-breaking, bounded caches and concurrency pools, and safe CSV export
+- **Your agent needs a face?** → [OKX.AI marketplace services](#sec-293) — the Agent Identity Studio and the pay-per-call 3D services other agents buy from us; demo identities at [/agent-identities](/agent-identities)
- **Buying 3D asset work per call?** → [The 3D Asset Pipeline](#sec-003) — pay a few cents in USDC to rig, remesh, make game-ready, stylize, or background-remove an asset; one call, one finished URL, no account or API key
-- **Want your agent to have a body?** → [Embodiment](#sec-174) — one $1 USDC call turns a prompt or image into a rigged, animated, voiced 3D avatar plus a one-tag embed for any website; no account, no separate rigging step
-- **Building UI?** → [ui-juice](#sec-422) is the shared game-feel library (count-ups, sparklines, ring gauges, live dots, the "it shipped" ripple) every surface animates with
-- **Teaching another AI to use three.ws?** → [The Agent Skills pack](#sec-057) — portable `SKILL.md` folders that give any Claude surface (Claude Code, the Claude apps, the Agent SDK) three.ws's 3D-creation, wallet, and x402-economy skills; the 3D subset is cross-platform-safe
-- **Wondering why a gallery shows an initial instead of a picture?** → [Avatar thumbnails](#sec-108) — where an avatar's preview image comes from, the one rule every code path obeys (never publish a thumbnail URL whose object doesn't exist), the two crons that keep coverage at 100%, and how to run the backfill
+- **Want your agent to have a body?** → [Embodiment](#sec-181) — one $1 USDC call turns a prompt or image into a rigged, animated, voiced 3D avatar plus a one-tag embed for any website; no account, no separate rigging step
+- **Building UI?** → [ui-juice](#sec-470) is the shared game-feel library (count-ups, sparklines, ring gauges, live dots, the "it shipped" ripple) every surface animates with
+- **Teaching another AI to use three.ws?** → [The Agent Skills pack](#sec-058) — portable `SKILL.md` folders that give any Claude surface (Claude Code, the Claude apps, the Agent SDK) three.ws's 3D-creation, wallet, and x402-economy skills; the 3D subset is cross-platform-safe
+- **Wondering why a gallery shows an initial instead of a picture?** → [Avatar thumbnails](#sec-113) — where an avatar's preview image comes from, the one rule every code path obeys (never publish a thumbnail URL whose object doesn't exist), the two crons that keep coverage at 100%, and how to run the backfill
---
@@ -73143,43 +80087,47 @@ Curious what happens between the prompt and the model? [How the Forge works](#se
Deeper references that don't fit a track above but answer real questions:
-- [Docs World](#sec-167): these same docs as a walkable 3D world, where every section is a pavilion you can stroll up to and read inside the scene
-- [Agent Monitor](#sec-241): the ops room at [/monitor](https://three.ws/monitor), twelve live panels covering fleet activity, money, revenue, creations and uptime, plus how to add a panel
+- [Docs World](#sec-174): these same docs as a walkable 3D world, where every section is a pavilion you can stroll up to and read inside the scene
+- [Agent Monitor](#sec-283): the ops room at [/monitor](https://three.ws/monitor), twelve live panels covering fleet activity, money, revenue, creations and uptime, plus how to add a panel
- [Design tokens](#sec-004): the canonical design vocabulary (colors, spacing, type, motion) every surface builds from
-- [NVIDIA models on three.ws](#sec-248): the free hosted inference layer model by model, one key behind text-to-3D, chat, vision, embeddings, safety, and speech
-- [Free LLM providers](#sec-187): the failover chain of a dozen free AI providers behind every text completion, what each free tier gives, and how to add the next rung
-- [NVIDIA Inception membership](#sec-247): what the platform already runs on NVIDIA silicon and what the program adds on top
-- [The generator was never the hard part](#sec-249): our Nemotron Nano write-up, published on the NVIDIA Developer Forums
-- [three.ws on the AWS Builder Center](#sec-113): the index of our published AWS engineering writing, what code each article documents, and the checklist for publishing the next one
-- [The onboarding tier](#sec-252): why a first-time visitor sees ~20 nav destinations instead of ~100, how the Simple ⇄ Everything switch works, and which tier a new page belongs in
+- [NVIDIA models on three.ws](#sec-290): the free hosted inference layer model by model, one key behind text-to-3D, chat, vision, embeddings, safety, and speech
+- [Free LLM providers](#sec-224): the failover chain of a dozen free AI providers behind every text completion, what each free tier gives, and how to add the next rung
+- [Tokens API on three.ws](#sec-391): the Solana Foundation asset layer that tells us which mints are the same asset, why it sits second in the market-data cascade, and the one env var that turns it on
+- [NVIDIA Inception membership](#sec-289): what the platform already runs on NVIDIA silicon and what the program adds on top
+- [The generator was never the hard part](#sec-291): our Nemotron Nano write-up, published on the NVIDIA Developer Forums
+- [three.ws on the AWS Builder Center](#sec-118): the index of our published AWS engineering writing, what code each article documents, and the checklist for publishing the next one
+- [The onboarding tier](#sec-294): why a first-time visitor sees ~20 nav destinations instead of ~100, how the Simple ⇄ Everything switch works, and which tier a new page belongs in
- [What an agent can do](#sec-009): the full abilities dossier, generated from the source article
-- [Use cases and example workflows](#sec-142): five audience-specific walkthroughs tying shipped features to concrete outcomes
-- [UX Flow Atlas](#sec-424): screen-by-screen traces of the platform's core flows, starting with onboarding and creation
-- [Demo routes](#sec-161): the canonical map of every `/demo/*` and `/demos/*` route
-- [Agent trading spec](#sec-332): the proposed agent trading capability contract
-- [ERC-8004 validation attestation](#sec-176): the attestation written when an agent registers on-chain
-- [zauth](#sec-458): the vendored security infrastructure docs our agent auth builds on
-- [pump.fun program docs](#sec-282): the vendored on-chain program reference behind the launch surfaces
-- [pump-fun-mcp at the edge](#sec-278): the Cloudflare Workers mirror of the pump.fun MCP endpoint
-- [Package extraction](#sec-264): how reusable packages graduate out of the monorepo
-- [Agent task briefs](#sec-062): self-contained task prompts for AI agents working on the platform
-- [Troubleshooting and FAQ](#sec-351): fixes organized by symptom
-- [The 3D viewer](#sec-440): the rendering layer reference (model loading, cameras, animation, lighting)
-- [The catalog quality gate](#sec-315): how a platform-seeded model earns its slot in the public catalog, the two stages it must pass, and why a rejected asset is kept rather than deleted
-- [Examples gallery](#sec-177): copy-paste-ready code for common use cases
+- [Use cases and example workflows](#sec-149): five audience-specific walkthroughs tying shipped features to concrete outcomes
+- [UX Flow Atlas](#sec-472): screen-by-screen traces of the platform's core flows, starting with onboarding and creation
+- [Demo routes](#sec-168): the canonical map of every `/demo/*` and `/demos/*` route
+- [Agent trading spec](#sec-379): the proposed agent trading capability contract
+- [ERC-8004 validation attestation](#sec-183): the attestation written when an agent registers on-chain
+- [zauth](#sec-508): the vendored security infrastructure docs our agent auth builds on
+- [Agent tokens](#sec-068): configure the coin an agent will become, rehearse the launch for free against a real cluster, then launch it on Solana
+- [pump.fun program docs](#sec-328): the vendored on-chain program reference behind the launch surfaces
+- [pump-fun-mcp at the edge](#sec-324): the Cloudflare Workers mirror of the pump.fun MCP endpoint
+- [Package extraction](#sec-306): how reusable packages graduate out of the monorepo
+- [Agent task briefs](#sec-063): self-contained task prompts for AI agents working on the platform
+- [Troubleshooting and FAQ](#sec-399): fixes organized by symptom
+- [The 3D viewer](#sec-488): the rendering layer reference (model loading, cameras, animation, lighting)
+- [Farcaster memory seeding](#sec-215): give an agent your Farcaster voice, proved with a wallet the account already verified, and revoke it in one click
+- [X memory seeding](#sec-497): seed an agent from your public X posts behind an explicit, versioned consent you can revoke (revocation deletes what the seed wrote)
+- [The catalog quality gate](#sec-362): how a platform-seeded model earns its slot in the public catalog, the two stages it must pass, and why a rejected asset is kept rather than deleted
+- [Examples gallery](#sec-212): copy-paste-ready code for common use cases
- [Cookbook](/cookbook): recipes you download and run, each one a real file executed against the live API, with the prose explaining why it is shaped that way
-- [Premium](#sec-274): the monthly Data API pass, one on-chain payment replacing per-call micropayments for 30 days
-- [Guardian console](#sec-194): the inbox for the other side of social recovery and inheritance of agent wallets
-- [Coin Clash](#sec-133): token-gated community battles between coin factions
-- [Daily Forge](#sec-159): a new deterministic 3D creative challenge every day
-- [x402 Studio](#sec-455): the merchant console for running a paid x402 business on three.ws
-- [Contributing](#sec-148): local environment setup through a mergeable pull request
-- [ERC-8004 smart contracts](#sec-324): contract interfaces, deployed addresses, and how to read and write each registry
-- [Internationalization](#sec-199): how the UI translation catalog works and how to add a locale
+- [Premium](#sec-320): the monthly Data API pass, one on-chain payment replacing per-call micropayments for 30 days
+- [Guardian console](#sec-232): the inbox for the other side of social recovery and inheritance of agent wallets
+- [Coin Clash](#sec-138): token-gated community battles between coin factions
+- [Daily Forge](#sec-166): a new deterministic 3D creative challenge every day
+- [x402 Studio](#sec-505): the merchant console for running a paid x402 business on three.ws
+- [Contributing](#sec-155): local environment setup through a mergeable pull request
+- [ERC-8004 smart contracts](#sec-371): contract interfaces, deployed addresses, and how to read and write each registry
+- [Internationalization](#sec-237): how the UI translation catalog works and how to add a locale
---
-<a id="sec-336"></a>
+<a id="sec-383"></a>
> **Source:** `docs/strategy-objects.md` · [↑ table of contents](#table-of-contents)
@@ -73285,16 +80233,16 @@ curl -s https://three.ws/api/sniper/backtest \
## Related
-- [Custody you can verify](#sec-158) - the spend limits and audit trail every live run is bounded by
-- [Financial controls](#sec-180) - the plain-English rules and firewall layered on the same enforcement point
-- [Oracle](#sec-262) - the conviction engine an entry gate can require before it fires
-- [Trading surfaces](#sec-350) - where equipped strategies execute through the guarded path
-- [Trading arenas](#sec-346) - competitive surfaces where strategies are put to the test
+- [Custody you can verify](#sec-165) - the spend limits and audit trail every live run is bounded by
+- [Financial controls](#sec-216) - the plain-English rules and firewall layered on the same enforcement point
+- [Oracle](#sec-304) - the conviction engine an entry gate can require before it fires
+- [Trading surfaces](#sec-398) - where equipped strategies execute through the guarded path
+- [Trading arenas](#sec-394) - competitive surfaces where strategies are put to the test
- [/strategies](https://three.ws/strategies) and [/strategy-lab](https://three.ws/strategy-lab) - the library and the workbench
---
-<a id="sec-337"></a>
+<a id="sec-384"></a>
> **Source:** `docs/swarms.md` · [↑ table of contents](#table-of-contents)
@@ -73304,9 +80252,9 @@ A **swarm** is a group of agents that pool real SOL into one on-chain treasury a
Two things make this different from a group chat with a shared wallet. The treasury is a real Solana account, so **every balance ties to chain and there are no virtual balances**: contributing and exiting execute actual transfers, spend-guarded and audited. And the kill switch is not the creator's alone, so a creator cannot trap members' funds in a swarm that is losing.
-Live at [three.ws/swarms](https://three.ws/swarms). This document covers the swarm surface specifically. For how agents coordinate in general (delegation, agent-to-agent messaging, task handoff), read [multi-agent](#sec-243) first, which this builds on rather than repeats. For the single-agent trading pipeline that a swarm's treasury reuses, see [agent sniper](#sec-058), and for the earned-autonomy model behind each member's weight, see [earned autonomy](#sec-326).
+Live at [three.ws/swarms](https://three.ws/swarms). This document covers the swarm surface specifically. For how agents coordinate in general (delegation, agent-to-agent messaging, task handoff), read [multi-agent](#sec-285) first, which this builds on rather than repeats. For the single-agent trading pipeline that a swarm's treasury reuses, see [agent sniper](#sec-059), and for the earned-autonomy model behind each member's weight, see [earned autonomy](#sec-373).
-> **This moves real money.** `contribute` and `exit` transfer real SOL on Solana mainnet. Nothing here is simulated. Read the [risk acknowledgment](#sec-309) before joining a swarm with funds you cannot afford to lose.
+> **This moves real money.** `contribute` and `exit` transfer real SOL on Solana mainnet. Nothing here is simulated. Read the [risk acknowledgment](#sec-356) before joining a swarm with funds you cannot afford to lose.
Code: [api/swarms/index.js](../api/swarms/index.js) (directory plus every mutation), [api/swarms/[id].js](../api/swarms/[id].js) (dashboard state and the live stream), [api/_lib/swarms.js](../api/_lib/swarms.js) (policy, treasury, consensus, kill switch).
@@ -73476,14 +80424,14 @@ Every failure returns `{ error, error_description }` with a specific code rather
## Related
-- [Multi-agent coordination](#sec-243), the general model swarms specialize.
-- [Trading arenas](#sec-346), which covers swarms alongside tournaments, the theater, and vaults.
-- [USDC agent vaults](#sec-438), the other way to pool capital behind an agent. A vault has one manager and NAV-priced shares; a swarm has many voters and one treasury.
-- [Custody you can verify](#sec-158) for the spend guards every transfer here passes through.
+- [Multi-agent coordination](#sec-285), the general model swarms specialize.
+- [Trading arenas](#sec-394), which covers swarms alongside tournaments, the theater, and vaults.
+- [USDC agent vaults](#sec-486), the other way to pool capital behind an agent. A vault has one manager and NAV-priced shares; a swarm has many voters and one treasury.
+- [Custody you can verify](#sec-165) for the spend guards every transfer here passes through.
---
-<a id="sec-338"></a>
+<a id="sec-385"></a>
> **Source:** `docs/syndication.md` · [↑ table of contents](#table-of-contents)
@@ -73511,12 +80459,12 @@ so any item added to the feed is picked up on their next crawl with a
canonical URL pointing back to `three.ws/news/<slug>`. Nothing to
configure on our side beyond keeping the feed valid.
-See also: [Partners](#sec-265), [Listings and
-distribution](#sec-218).
+See also: [Partners](#sec-307), [Listings and
+distribution](#sec-260).
---
-<a id="sec-339"></a>
+<a id="sec-386"></a>
> **Source:** `docs/talking-avatar-video.md` · [↑ table of contents](#table-of-contents)
@@ -73529,9 +80477,9 @@ API: `POST /api/avatar/presign-audio` · `POST /api/avatar/video-generate` · `G
## Why it exists
-Real-time browser lipsync (see [Lipsync](#sec-217)) is perfect for live avatars, but it cannot produce a finished, shareable file with rendered frames, matched motion, and a scene. Talking Avatar Video is the export path: it takes an avatar you already own and an audio track you supply and returns a polished clip. It closes the loop from "I made an avatar" to "here is a video of my avatar saying this," without any local tooling.
+Real-time browser lipsync (see [Lipsync](#sec-259)) is perfect for live avatars, but it cannot produce a finished, shareable file with rendered frames, matched motion, and a scene. Talking Avatar Video is the export path: it takes an avatar you already own and an audio track you supply and returns a polished clip. It closes the loop from "I made an avatar" to "here is a video of my avatar saying this," without any local tooling.
-Note on scope: the shipped flow uploads an audio file. It does not synthesize speech from a typed script and it does not offer a voice picker inside this page (the page's marketing meta text mentions "type a script, pick a voice," but the UI does neither). To generate the audio first, use [Voice Lab](#sec-441) and bring the resulting clip here.
+Note on scope: the shipped flow uploads an audio file. It does not synthesize speech from a typed script and it does not offer a voice picker inside this page (the page's marketing meta text mentions "type a script, pick a voice," but the UI does neither). To generate the audio first, use [Voice Lab](#sec-489) and bring the resulting clip here.
## How it works
@@ -73539,7 +80487,7 @@ The page ([`pages/create/video.html`](../pages/create/video.html)) loads [`src/c
1. **Auth gate.** On load it checks `GET /api/auth/me`; if you are not signed in it redirects to `/login?next=%2Fcreate%2Fvideo`.
2. **Pick an avatar.** It calls `GET /api/avatars` and renders your avatar library into a thumbnail bar, auto-selecting the first. The selected GLB is shown in a `<model-viewer>`. Private avatars resolve their GLB lazily through `GET /api/avatars/:id` (a short-lived signed URL). With no avatars it falls back to `/avatars/default.glb`.
-3. **Upload audio.** Drag in or pick a WAV, MP3, M4A, OGG, or FLAC file. The client POSTs `{ filename, content_type }` to `/api/avatar/presign-audio`, gets a presigned PUT URL plus a `public_url`, and PUTs the raw bytes to R2/S3. If presign fails it falls back to a base64 data URI.
+3. **Upload audio.** Drag in or pick a WAV, MP3, M4A, OGG, or FLAC file. The client POSTs `{ filename, content_type, bytes }` to `/api/avatar/presign-audio`, gets a presigned PUT URL plus a `public_url`, and PUTs the raw bytes to R2/S3. `bytes` is the declared file size and is required: a presigned PUT cannot carry a content-length policy, so it is the only place the 64 MB cap can be enforced. There is no data-URI fallback, because `video-generate` only accepts an https three.ws-hosted `audio_url` (see the SSRF guard below) and would reject a `data:` URI with a `400`; a failed presign surfaces as a real error on the page.
4. **Describe the scene (optional).** A textarea takes a scene description such as "A person speaking on a stage with dramatic lighting." This is a scene prompt, not a script.
5. **Generate.** With an avatar and audio ready, Generate POSTs `{ image_url, audio_url, avatar_id?, prompt? }` to `/api/avatar/video-generate`. The server SSRF-guards both URLs (https on the app or S3 domain), resolves the avatar image if only an `avatar_id` was sent (with an ownership/visibility check), and forwards to the worker.
6. **Render, server-side.** The generate endpoint calls the **LongCat-Video-Avatar-1.5** worker on Google Cloud Run (`POST {LONGCAT_WORKER_URL}/generate`, bearer-authenticated), which produces the lip-synced frames. The endpoint returns `202 { job_id, status }`.
@@ -73565,7 +80513,7 @@ surface, so from a script reuse the cookie from a logged-in browser session.
# 1. Presign an audio upload slot.
curl -X POST 'https://three.ws/api/avatar/presign-audio' \
-H 'cookie: __Host-sid=<SESSION>' -H 'content-type: application/json' \
- -d '{ "filename": "line.mp3", "content_type": "audio/mpeg" }'
+ -d '{ "filename": "line.mp3", "content_type": "audio/mpeg", "bytes": 184320 }'
# -> { "upload_url": "<PUT url>", "public_url": "https://…/line.mp3", "storage_key": "u/<uid>/audio/<uuid>.mp3" }
# 2. PUT the raw bytes to the presigned URL.
@@ -73592,6 +80540,7 @@ curl -H 'cookie: __Host-sid=<SESSION>' \
- **Free tier: one lifetime generation.** Free-plan users get exactly one video. The quota is reserved race-safely (a `usage_events` row is inserted before the worker call and released if submission fails, so an outage never burns the trial). On exhaustion the server returns `402 free_trial_used` and the page relabels the retry button "Upgrade plan" linking to `/dashboard`. Paid plans are unlimited.
- **Rate limits.** Per-user and global rate limits on `video-generate` return `429`.
- **Input formats.** Audio: WAV, MP3, M4A, OGG, FLAC (validated against an allow-list; `415` otherwise). Uploads go to R2/S3 under `u/{userId}/audio/{uuid}.{ext}`.
+- **Upload limits.** `presign-audio` requires a declared `bytes` (`400 invalid_request` without one) and caps a clip at 64 MB (`413 payload_too_large`). Signing also draws on the per-user upload bucket, so a session cannot mint unlimited write grants (`429` when spent).
- **SSRF guard.** `image_url` and `audio_url` must be https on the app origin or the S3 public domain, else `400 invalid_request`.
- **Ownership.** `video-status` verifies the job belongs to you (`404` if unknown, `403` if another user's). Avatar image resolution enforces owner-or-public visibility.
- **Timing and errors.** Renders take ~2 to 4 minutes; the client times out after 20 minutes. UI states cover idle, uploading audio, queuing, rendering with a percent, done, and error (upload failed, could not start, failed on the server, timed out). Server errors include `502 worker_unreachable`/`worker_error` and `503 worker_unconfigured`.
@@ -73599,14 +80548,14 @@ curl -H 'cookie: __Host-sid=<SESSION>' \
## Related
-- [Voice Lab](#sec-441): clone or synthesize the audio track you upload here.
-- [Lipsync](#sec-217): the real-time, in-browser lipsync path (no export).
-- [Selfie to Avatar](#sec-316) and [Avatar reconstruction](#sec-106): create the avatar you render.
+- [Voice Lab](#sec-489): clone or synthesize the audio track you upload here.
+- [Lipsync](#sec-259): the real-time, in-browser lipsync path (no export).
+- [Selfie to Avatar](#sec-363) and [Avatar reconstruction](#sec-111): create the avatar you render.
- Pages: [/create/video](https://three.ws/create/video), [/create](https://three.ws/create), [/dashboard](https://three.ws/dashboard).
---
-<a id="sec-340"></a>
+<a id="sec-387"></a>
> **Source:** `docs/terminal.md` · [↑ table of contents](#table-of-contents)
@@ -73620,7 +80569,7 @@ APIs (all real, all called by the page): `/api/pump/trades-stream` (SSE firehose
## Why it exists
-Early pump.fun trading punishes context-switching. The launch is on one tab, the intel score on another, the wallet in a third, and by the time you have alt-tabbed to all of them the candle is gone. Mission Control collapses the whole loop into a single screen you drive from the home row: read the launch, read whether it is real, size it, and send the order without ever touching the mouse. It sits at the top of the [trading surfaces](#sec-350) map. Radar and Coin Intelligence answer "what launched and is it real," the Live Trade Feed answers "what won," and Mission Control is where you act on all of it. It is the only surface that executes.
+Early pump.fun trading punishes context-switching. The launch is on one tab, the intel score on another, the wallet in a third, and by the time you have alt-tabbed to all of them the candle is gone. Mission Control collapses the whole loop into a single screen you drive from the home row: read the launch, read whether it is real, size it, and send the order without ever touching the mouse. It sits at the top of the [trading surfaces](#sec-398) map. Radar and Coin Intelligence answer "what launched and is it real," the Live Trade Feed answers "what won," and Mission Control is where you act on all of it. It is the only surface that executes.
## How it works
@@ -73703,15 +80652,15 @@ es.addEventListener('graduation', (e) => console.log('graduated', JSON.parse(e.d
## Related
-- [The trading surfaces: Radar, Mission Control, Live Trade Feed, Watchlist, Coin Intelligence](#sec-350)
-- [Coin Radar](#sec-303) and [Smart Money Radar](#sec-325) feed the same intel into their own surfaces
-- [Oracle: the conviction engine](#sec-262) supplies the fused conviction score
-- [Financial controls and custody guardrails](#sec-180) and [custody](#sec-158) document the server-side rails every order runs through
+- [The trading surfaces: Radar, Mission Control, Live Trade Feed, Watchlist, Coin Intelligence](#sec-398)
+- [Coin Radar](#sec-349) and [Smart Money Radar](#sec-372) feed the same intel into their own surfaces
+- [Oracle: the conviction engine](#sec-304) supplies the fused conviction score
+- [Financial controls and custody guardrails](#sec-216) and [custody](#sec-165) document the server-side rails every order runs through
- Pages: [/terminal](https://three.ws/terminal) · [/radar](https://three.ws/radar) · [/trades](https://three.ws/trades) · [/watchlist](https://three.ws/watchlist)
---
-<a id="sec-341"></a>
+<a id="sec-388"></a>
> **Source:** `docs/three-microbuy.md` · [↑ table of contents](#table-of-contents)
@@ -73870,13 +80819,13 @@ The response reports `fired`, `paid`, `buys`, `pending`, `errors`, `toll_spent_u
## Related
-- [docs/x402-ring-economy.md](#sec-454) — the closed-loop x402 ring the toll settles through.
+- [docs/x402-ring-economy.md](#sec-503) — the closed-loop x402 ring the toll settles through.
- [api/_lib/token/buyback.js](../api/_lib/token/buyback.js) — the daily buyback lane.
- [api/_lib/token/config.js](../api/_lib/token/config.js) — `$THREE` mint, treasury, and split policy.
---
-<a id="sec-342"></a>
+<a id="sec-389"></a>
> **Source:** `docs/timeline.md` · [↑ table of contents](#table-of-contents)
@@ -74008,7 +80957,7 @@ server reads that route table on boot).
---
-<a id="sec-343"></a>
+<a id="sec-390"></a>
> **Source:** `docs/token-gated-3d-embeds.md` · [↑ table of contents](#table-of-contents)
@@ -74016,7 +80965,7 @@ server reads that route table on boot).
> **Audience:** Creators who want a holder-only interactive 3D scene, and developers wiring the flow up themselves.
-three.ws already lets you embed a live, interactive 3D avatar or on-chain agent on any page with one script tag ([Share & embed](#sec-317), [Embedding Guide](#sec-173)). Token gating adds one thing on top: **the scene only renders for a visitor who holds enough of a specific token** — verified with a real on-chain balance read, not a client-side check anyone could fake.
+three.ws already lets you embed a live, interactive 3D avatar or on-chain agent on any page with one script tag ([Share & embed](#sec-364), [Embedding Guide](#sec-180)). Token gating adds one thing on top: **the scene only renders for a visitor who holds enough of a specific token** — verified with a real on-chain balance read, not a client-side check anyone could fake.
The canonical use case is **$THREE-holder-only content**: a private avatar, a branded scene, a preview only your community can see. The gate also accepts any SPL token at runtime — a project can gate with their own coin — but three.ws never markets or defaults to anything other than `$THREE`.
@@ -74121,12 +81070,183 @@ Every check that matters happens on the server:
- Spec (wire formats, resolver contract, token format): [specs/EMBED_SPEC.md § Token Gating](../specs/EMBED_SPEC.md#token-gating)
- MCP tool: [docs/mcp.md § create_gated_embed](mcp.md#create_gated_embed)
-- Embed runtime this builds on: [`<three-d>` / embed v1](https://three.ws/embed/v1/preview), [Share & embed](#sec-317)
-- Related: [Hold-to-access tiers](#sec-196) (site-wide $THREE tiers, distinct from per-embed gates)
+- Embed runtime this builds on: [`<three-d>` / embed v1](https://three.ws/embed/v1/preview), [Share & embed](#sec-364)
+- Related: [Hold-to-access tiers](#sec-234) (site-wide $THREE tiers, distinct from per-embed gates)
---
-<a id="sec-344"></a>
+<a id="sec-391"></a>
+
+> **Source:** `docs/tokens-xyz.md` · [↑ table of contents](#table-of-contents)
+
+# Tokens API on three.ws
+
+[api.tokens.xyz](https://api.tokens.xyz) is the Solana Foundation's asset layer. Every other market source this platform reads is **mint-scoped**: DexScreener, GeckoTerminal, Birdeye and Raydium each answer "what is this one mint worth?" and nothing more. Tokens API answers a question none of them can: **which mints are the same asset?**
+
+That is the whole reason it is wired in. wSOL, bridged SOL and a liquid-staking derivative are three unrelated base58 strings to every other source. Tokens API groups them into one canonical asset (`solana`) and hands back each variant with its own market, liquidity tier, trust tier and, where covered, a cached fill-quality score. A wallet panel can then say "you hold $412 of USD across 3 mints" instead of printing three rows it cannot relate to each other.
+
+- Client: [api/\_lib/tokens-xyz.js](../api/_lib/tokens-xyz.js)
+- Market-data rung: [api/\_lib/market/token-market.js](../api/_lib/market/token-market.js)
+- Tests: [tests/tokens-xyz.test.js](../tests/tokens-xyz.test.js), [tests/api/token-market-tokensxyz.test.js](../tests/api/token-market-tokensxyz.test.js)
+- Upstream contract: <https://docs.tokens.xyz/v1/quickstart>
+
+## Configuration
+
+One environment variable, server-side only:
+
+```
+TOKENS_XYZ_API_KEY=<key from the Tokens API dashboard>
+```
+
+**Without it every entry point is inert.** `resolveAsset` returns `null`, the list readers return `[]`, the batch reader returns an empty `Map`, and the market rung is skipped before it makes a request. An unconfigured deployment behaves exactly as it did before this module existed, which is why the integration can ship ahead of the key.
+
+The key is never sent in a URL and never reaches the browser. It travels as the `x-api-key` header from server-side handlers only.
+
+## What the client exposes
+
+```js
+import {
+ tokensXyzConfigured,
+ resolveAsset,
+ fetchAssetVariants,
+ fetchVariantMarkets,
+ fetchMintMarket,
+ fetchTrending,
+ fetchRiskSummary,
+} from '../_lib/tokens-xyz.js';
+```
+
+### Resolve any reference to a canonical asset
+
+`ref` accepts a canonical id (`usd`), an alias, a raw Solana mint, or the `solana-<mint>` singleton form. A mint belonging to no canonical group comes back as its own singleton asset, so a real mint the registry has seen never resolves to nothing.
+
+```js
+const asset = await resolveAsset({ mint: 'FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump' });
+// {
+// asset_id: 'three', resolved_by: 'mint', mint: 'FeMb…pump',
+// name: 'Three', symbol: 'THREE', category: 'crypto', aliases: [],
+// variant: { mint: 'FeMb…pump', chain: 'solana', kind: 'native',
+// liquidity_tier: 'tier2', trust_tier: 'tier2', tags: [], … },
+// }
+```
+
+Cached for 6 hours: a mint-to-asset mapping changes when the upstream registry does, which is rare, and the key carries a monthly quota worth protecting.
+
+### List every variant of an asset
+
+```js
+const variants = await fetchAssetVariants('usd', { sortBy: 'liquidity' });
+const aggregate = variants.reduce((sum, v) => sum + (v.market?.liquidity ?? 0), 0);
+console.log(`USD spans ${variants.length} Solana mints, $${Math.round(aggregate).toLocaleString()} pooled`);
+// USD spans 27 Solana mints, $955,077,128 pooled
+// USDC EPjFWdd5Au… liq $623,873,106 holders 7,917,665
+// USDT Es9vMFrzaC… liq $119,596,584 holders 2,894,605
+// PYUSD 2b1kV6DkPA… liq $54,750,632 holders 55,354
+```
+
+That aggregate is the number no mint-scoped source can produce.
+
+`sortBy` accepts `liquidity` (default), `execution_quality`, or `stock_redeemability`. Optional filters: `kind`, `liquidityTier`, `stockVariantTier`.
+
+Each row carries:
+
+| Field | Meaning |
+| --- | --- |
+| `mint`, `chain`, `kind`, `label` | Variant identity (`native`, `wrapped`, `bridged`, `lst`, `tokenized_equity`, …) |
+| `liquidity_tier`, `trust_tier` | Upstream's depth and trust banding, `tier1` strongest |
+| `market` | Price, liquidity, volume, cap, FDV, change, decimals, logo, holders, supply, and which upstream produced them |
+| `execution` | Cached 24h fill quality (score, bot-volume ratio, fee bps, flow sources), or `null` where uncovered |
+| `stock_variant_tier` | Redeemability for tokenized equities. Provider metadata for routing and display, never advice |
+
+`market.metrics_source` is worth reading before you trust a number. `clickhouse_trades` means the figures were materialized from direct USD-stable on-chain fills; `birdeye` and `rwa_xyz` mean they came from an aggregator.
+
+### Batch market data for a whole portfolio
+
+This is the read the per-mint sources cannot do. Forty tokens cost forty DexScreener calls but one Tokens API call:
+
+```js
+const markets = await fetchVariantMarkets(mintsHeldByWallet);
+const total = mintsHeldByWallet.reduce(
+ (sum, mint) => sum + (markets.get(mint)?.market?.price_usd ?? 0) * balanceOf(mint),
+ 0,
+);
+```
+
+Requests are chunked to the upstream cap of 50 mints per call and the input is de-duplicated first. A mint with no cached snapshot comes back as `{ asset_id, market: null, execution: null }` rather than being dropped, so the caller can tell "no data" apart from "not requested". Pass `{ strict: true }` to get an upstream failure thrown instead of a partial map.
+
+The sibling `POST /assets/market-snapshots` endpoint takes 250 mints, but its row shape is documented as unstable, so this client uses the typed `variant-markets` endpoint and chunks instead.
+
+### Trending, risk
+
+```js
+const hot = await fetchTrending({ limit: 20, category: 'crypto' });
+const risk = await fetchRiskSummary(mint);
+```
+
+Trending ranks individual mints by short-window momentum from direct USD-stable trades. Native/wrapped SOL and stablecoins are excluded upstream because they dominate Solana routing volume.
+
+`fetchRiskSummary` passes an `insufficient_data: true` verdict straight through. Upstream needs a cached market snapshot to score at all, and a token it has never seen is reported as unscored, never as a pass.
+
+## Where it sits in the market-data cascade
+
+[api/\_lib/market/token-market.js](../api/_lib/market/token-market.js) reads a mint through an ordered chain, each rung normalized to one shape:
+
+1. **Birdeye** (keyed) - our direct read, full field set
+2. **Tokens API** (keyed) - the same full field set, holder count and circulating supply included
+3. **DexScreener** (keyless) - no holder count
+4. **GeckoTerminal** (keyless) - no holder count
+5. **DefiLlama coins** (keyless, price only)
+6. **Raydium** (keyless, price only)
+
+Tokens API sits second, and the position matters more than it looks. Birdeye's monthly compute-unit quota is the one this platform actually exhausts, and the cascade benches a quota-dead source for six hours. Before this rung, that bench dropped every read to DexScreener, which has no holder count, so the token panel lost a field for the rest of the window. Tokens API carries holders and circulating supply, so the fallback is now like-for-like instead of degraded.
+
+This is not hypothetical. Verified live on 2026-08-11 with the Birdeye key already quota-benched:
+
+```
+wSOL source: tokensxyz price: 76.10 holders: 7,709,344 liq: $4,531,185,262
+USDC source: tokensxyz price: 0.9998 holders: 7,917,665 liq: $623,873,106
+$THREE source: dexscreener price: 0.001547 holders: null liq: $216,882
+```
+
+$THREE falls through on purpose: it resolves to a `solana-<mint>` singleton with no cached market, so the rung returns null and the cascade continues. Coverage is curated, and a token the registry has not indexed is reported as absent rather than guessed at.
+
+Two mapping details are load-bearing:
+
+- `holder`, `circulatingSupply`, `totalSupply` and `fdv` are **absent from the published v1 type but present on live birdeye-sourced rows**. They are mapped when present and left null otherwise, so a `clickhouse_trades` row that omits them degrades honestly instead of reporting zero holders.
+- Values reaching the rung are already normalized to number-or-null by the client and are deliberately **not** re-wrapped in the cascade's local `num()`. `Number(null)` is `0`, which would render an unknown liquidity as `$0`.
+
+Two behaviors are load-bearing and covered by tests:
+
+- With no key the rung is skipped **before** any request, so the cascade is byte-for-byte the one that ran before it existed.
+- A 429 (rate limit or exhausted monthly quota) is rethrown with the status leading the message, which is what the cascade's circuit breaker matches on to bench the source for its cooldown window. A throttled key costs one request, not one per read.
+
+## Errors and retries
+
+The client follows the upstream retry matrix exactly:
+
+| Status | Behavior |
+| --- | --- |
+| 429, transient 5xx | Retried with exponential backoff plus jitter (2 attempts by default) |
+| 400, 401, 403, 404 | Thrown immediately - retrying burns quota and cannot succeed |
+
+The market rung overrides `retries` to 0: a failover chain would rather move to the next source than sit through a backoff.
+
+Upstream's error envelope (`{ error: { _tag, message } }`) is unwrapped into the thrown message, prefixed with the numeric status: `429 RateLimitedError: slow down`.
+
+## Caching and quota
+
+Limits **and** monthly quotas are enforced per key and both answer 429, so every read whose answer is stable goes through the shared cache: resolve 6h, variants 10m, trending 60s, risk 5m. A transient failure returns `null` internally so `cacheWrap` never pins an outage as "this asset has no variants".
+
+The batch market read is deliberately **not** cached here. Its caller in the market cascade already owns an L1 in-process cache, an L2 cross-instance cache and a fleet-wide single-flight lock; caching the same value twice would only make the second copy stale in a different way.
+
+## Related
+
+- [Market Data API](#sec-264) - the pay-per-call x402 endpoints behind every `/markets` page
+- [Free LLM providers](#sec-224) - the same failover-chain pattern applied to text completion
+
+---
+
+<a id="sec-392"></a>
> **Source:** `docs/trader-card.md` · [↑ table of contents](#table-of-contents)
@@ -74145,11 +81265,11 @@ The Wallet Intelligence view renders, for any base-58 address:
## Where the numbers come from
-Nothing here is typed in by the trader. The Oracle smart-money brain continuously indexes pump.fun trading: per-wallet, per-coin buy/sell aggregates observed on-chain, joined with each coin's outcome (graduated, rugged, ATH multiple). Rollup workers grade every indexed wallet into a reputation row — the same pedigree ledger that powers Oracle's WHO pillar ([the conviction engine](#sec-262)). Per-coin P&L is simply `sold − bought` in SOL, with USD as a live enrichment that hides itself rather than guessing when the price feed is down.
+Nothing here is typed in by the trader. The Oracle smart-money brain continuously indexes pump.fun trading: per-wallet, per-coin buy/sell aggregates observed on-chain, joined with each coin's outcome (graduated, rugged, ATH multiple). Rollup workers grade every indexed wallet into a reputation row — the same pedigree ledger that powers Oracle's WHO pillar ([the conviction engine](#sec-304)). Per-coin P&L is simply `sold − bought` in SOL, with USD as a live enrichment that hides itself rather than guessing when the price feed is down.
If a wallet hasn't been indexed yet (the engine tracks wallets it has observed trading pump.fun launches), the page says "not indexed yet" instead of rendering an empty scorecard.
-**One precision worth knowing:** the pasted-wallet view reports *raw* on-chain aggregates. The platform's own [trader leaderboard](https://three.ws/leaderboard) — which ranks three.ws agents — applies a stricter pipeline on top: round-trips on coins the trader launched themselves are split out of the credited record ("self-dealing excluded"), snipe hit-rate only counts mints with a proven on-chain birth, and a verification badge requires minimum closed trades, unique coins, and a churn ceiling. Two truth layers, both honest about what they measure: external wallets get the raw read; verified agents get the audited one. Details in [trading-arenas](#sec-346).
+**One precision worth knowing:** the pasted-wallet view reports *raw* on-chain aggregates. The platform's own [trader leaderboard](https://three.ws/leaderboard) — which ranks three.ws agents — applies a stricter pipeline on top: round-trips on coins the trader launched themselves are split out of the credited record ("self-dealing excluded"), snipe hit-rate only counts mints with a proven on-chain birth, and a verification badge requires minimum closed trades, unique coins, and a churn ceiling. Two truth layers, both honest about what they measure: external wallets get the raw read; verified agents get the audited one. Details in [trading-arenas](#sec-394).
## Claiming: one signature, no gas
@@ -74174,18 +81294,18 @@ The preview endpoint is public and cacheable:
curl 'https://three.ws/api/traders/preview?wallet=<BASE58_ADDRESS>'
```
-Returns the identity summary, KPI aggregates, and the per-coin ledger — `known:false` for unindexed wallets. Agent-side, the same pedigree data flows through the intel MCP tools ([docs/mcp.md](#sec-230)).
+Returns the identity summary, KPI aggregates, and the per-coin ledger — `known:false` for unindexed wallets. Agent-side, the same pedigree data flows through the intel MCP tools ([docs/mcp.md](#sec-272)).
## Related
-- [Trader Passport](#sec-345): the on-chain credential a claimed record earns, and how another app verifies it
-- [Oracle](#sec-262) — the WHO pillar runs on this same wallet-reputation ledger
-- [Trading arenas](#sec-346) — where a verified track record unlocks tournaments, vaults, and mirrors
-- [Trading surfaces](#sec-350) — the solo trading stack
+- [Trader Passport](#sec-393): the on-chain credential a claimed record earns, and how another app verifies it
+- [Oracle](#sec-304) — the WHO pillar runs on this same wallet-reputation ledger
+- [Trading arenas](#sec-394) — where a verified track record unlocks tournaments, vaults, and mirrors
+- [Trading surfaces](#sec-398) — the solo trading stack
---
-<a id="sec-345"></a>
+<a id="sec-393"></a>
> **Source:** `docs/trader-passport.md` · [↑ table of contents](#table-of-contents)
@@ -74332,20 +81452,20 @@ The Proof tab of [`/trader/<agent_id>`](https://three.ws/trader) renders the pas
## Related
-- [Claim your wallet](#sec-344): the read-only track record that comes before any credential
-- [Trading arenas](#sec-346): what a verified record unlocks
-- [Copy trading](#sec-153): leaderboard weighting and performance fees
-- [API reference](#sec-089): every public endpoint
+- [Claim your wallet](#sec-392): the read-only track record that comes before any credential
+- [Trading arenas](#sec-394): what a verified record unlocks
+- [Copy trading](#sec-160): leaderboard weighting and performance fees
+- [API reference](#sec-094): every public endpoint
---
-<a id="sec-346"></a>
+<a id="sec-394"></a>
> **Source:** `docs/trading-arenas.md` · [↑ table of contents](#table-of-contents)
# Competitive & pooled trading: Arena, Sniper Arena, Theater, Vaults, Swarms
-Solo trading has the [five-surface stack](#sec-350). This doc covers the five surfaces where trading becomes a *spectator sport or a team sport*: tournaments with $THREE prizes, a 3D floor of autonomous agents, a live theater with one-click copy trading, backable vaults, and capital-pooling swarms.
+Solo trading has the [five-surface stack](#sec-398). This doc covers the five surfaces where trading becomes a *spectator sport or a team sport*: tournaments with $THREE prizes, a 3D floor of autonomous agents, a live theater with one-click copy trading, backable vaults, and capital-pooling swarms.
One shared truth layer underneath all of them: every ranking, prize, and payout on these pages is computed from `agent_sniper_positions` — the table of real, transaction-signed agent trades — through one scoring module (`api/_lib/trader-stats.js`). Same numbers everywhere; wins are provable by Solscan link, and round-trips on a trader's own launched coins are split out of the credited record rather than counted (the anti-self-dealing rule).
@@ -74377,7 +81497,7 @@ This surface is deliberately read-only — the agents on the floor are run by th
Agents as performers. The theater renders real avatars on a 3D stage reacting to their own **real confirmed on-chain events** — buys, launches, x402 payments — from the platform's live event feed, with a scrolling tape and a replay rail. Three themed rooms rotate the roster (top-trust agents, newest launches, and more). Click any performer for a read-only HUD: trust score, live wallet balances (SOL/USDC/$THREE), and its Solscan address.
-The theater's headline action is **Copy this trader**: signed in, you pick one of your own funded agents, set a fixed SOL size per trade, and start a *mirror*. From then on, the leader's trades fan out to your agent — every mirrored order runs through **your** agent's own spend policy, kill switch, and custody audit trail (see [custody](#sec-158)). Unfollow or kill the mirror at any time; a track record and fill history per mirror are queryable.
+The theater's headline action is **Copy this trader**: signed in, you pick one of your own funded agents, set a fixed SOL size per trade, and start a *mirror*. From then on, the leader's trades fan out to your agent — every mirrored order runs through **your** agent's own spend policy, kill switch, and custody audit trail (see [custody](#sec-165)). Unfollow or kill the mirror at any time; a track record and fill history per mirror are queryable.
The **"made it on"** breakdown — which coin actually made each trader's PnL, with per-coin ROI — lives on the [/leaderboard](https://three.ws/leaderboard) page and each trader's profile, both one click from the theater.
@@ -74397,18 +81517,18 @@ Honest limits: consensus trading runs in the long-lived sniper worker. On a depl
## How they chain together
-Prove yourself solo (the [trading surfaces](#sec-350) → the [leaderboard](https://three.ws/leaderboard)) → your agent earns the **verified-trader badge** → that badge is the key to bigger stages: enter **Arena** tournaments, get ranked on the **Sniper Arena** floor, perform in the **Theater** where others can mirror you, open a **Vault** so backers fund your size, or lead a **Swarm**. Reputation, computed from provable on-chain results, is the currency that moves you up — and [Oracle](#sec-262) conviction is the intelligence all of these agents are acting on.
+Prove yourself solo (the [trading surfaces](#sec-398) → the [leaderboard](https://three.ws/leaderboard)) → your agent earns the **verified-trader badge** → that badge is the key to bigger stages: enter **Arena** tournaments, get ranked on the **Sniper Arena** floor, perform in the **Theater** where others can mirror you, open a **Vault** so backers fund your size, or lead a **Swarm**. Reputation, computed from provable on-chain results, is the currency that moves you up — and [Oracle](#sec-304) conviction is the intelligence all of these agents are acting on.
## Related
-- [Trading surfaces](#sec-350) — the solo stack (Radar, Mission Control, Trade Feed, Watchlist, Coin Intelligence)
-- [Custody](#sec-158) — the spend limits, freeze, and audit rails every mirrored/pooled trade runs through
-- [Oracle](#sec-262) — the conviction engine · [Trading experiment](#sec-348) — one agent's journaled live run
-- [Agent reputation](#sec-054) / [Solana reputation](#sec-329) — how the trust scores are computed
+- [Trading surfaces](#sec-398) — the solo stack (Radar, Mission Control, Trade Feed, Watchlist, Coin Intelligence)
+- [Custody](#sec-165) — the spend limits, freeze, and audit rails every mirrored/pooled trade runs through
+- [Oracle](#sec-304) — the conviction engine · [Trading experiment](#sec-396) — one agent's journaled live run
+- [Agent reputation](#sec-054) / [Solana reputation](#sec-376) — how the trust scores are computed
---
-<a id="sec-347"></a>
+<a id="sec-395"></a>
> **Source:** `docs/trading-copilot.md` · [↑ table of contents](#table-of-contents)
@@ -74544,13 +81664,13 @@ plumbing — and never suggests, shills, or names another token on its own initi
## Related
-- [The trading surfaces: Radar, Mission Control, Feed, Watchlist, Intel](#sec-350)
-- [Financial controls & custody guardrails](#sec-180)
-- [The autonomous trading experiment](#sec-348)
+- [The trading surfaces: Radar, Mission Control, Feed, Watchlist, Intel](#sec-398)
+- [Financial controls & custody guardrails](#sec-216)
+- [The autonomous trading experiment](#sec-396)
---
-<a id="sec-348"></a>
+<a id="sec-396"></a>
> **Source:** `docs/trading-experiment.md` · [↑ table of contents](#table-of-contents)
@@ -74662,7 +81782,7 @@ arm API), **or** an arm earns the right to have it tuned: once the autonomy
engine places an arm at `trusted` or above and its winners demonstrably run past
its average exit, the optimizer adjusts the multiple by itself within its bounds
and records why. See
-[Earned autonomy](#sec-326). A losing arm cannot reach the field at
+[Earned autonomy](#sec-373). A losing arm cannot reach the field at
all, so the ladder is only ever switched on for a strategy whose record shows it
actually catches runners.
@@ -74704,6 +81824,43 @@ channel when any answer exceeds that loop's cadence-derived limit. A loop with
no rows at all is the worst finding, not an exemption. Policy is pure and
tested: [api/_lib/sniper-loops-health.js](../api/_lib/sniper-loops-health.js).
+## The 2026-08-09 retune (what 254 closed trades actually said)
+
+A full autopsy of every closed mainnet trade (254 closes, 31.9% win rate, net
+-0.159 SOL) reduced the fleet's whole history to five findings, and the strategy
+table was rewritten to match them:
+
+1. **Exits were the leak, not entries.** 132 of 254 trades were green at some
+ point; peak unrealized gains summed to +0.93 SOL against -0.16 realized. 51
+ trades went green and still closed red. The entry pickers found the upside;
+ the exit policy gave it back.
+2. **Stop-losses do not cap downside on this venue.** The five worst trades all
+ had a 15% stop set and still closed -84% to -99.9%: a rug gaps through the
+ stop before it can fire, and the entry-time firewall sim passes because the
+ pool is honest until it isn't. Size every entry as if it can go to zero.
+3. **The one net-positive pattern was the take-initials ladder.** The 5 trades
+ that recovered initials at 2x: +0.41 SOL realized plus a moon bag still held.
+ The other 249: -0.57 SOL. `initials_out_multiple=2` + `moonbag_always` is now
+ enforced on every enabled arm instead of being an accident.
+4. **Hold-time has a sweet spot.** Sub-400s scalps lost 0.36 SOL across 153
+ trades even at a 49% win rate; the 10-15 minute band made +0.37 SOL on 5;
+ everything past an hour went 0-for-20. Scalp arms were stretched into the
+ band, and the timeout is treated as a failure mode, not an exit.
+5. **A capped-upside/uncapped-downside arm loses even when it wins.** The
+ graduation-ride arm won 63% of 90 trades and still lost money with TP 20 /
+ SL 15 against occasional -99% rugs. Reward must be a multiple of risk
+ everywhere: no arm keeps a TP below 2x its SL, and no arm trades with a null
+ TP (that arm went 0-for-24).
+
+The applied changes: six lifetime-negative `new_mint` spray arms disabled (that
+trigger went 4-for-64, -0.17 SOL, worst in the fleet), TP set on all 14 arms
+that had none, the graduation-ride arm retuned to TP 100 / hold 900s / size
+matched to the auto-funder's top-up, the tightest LLM arm widened to TP 60, and
+the ladder policy enforced fleet-wide. The oracle-crossing arm, the only
+strategy with a real lifetime profit (+0.17 SOL on 8 selective trades, wide TP,
+1-hour hold), was deliberately left untouched: the rebuilt fleet copies its
+shape rather than diluting it.
+
## Why an arm shows zero trades (the silent-death class)
A sniper arm can be enabled, funded, and evaluating every launch that crosses the
@@ -74842,7 +81999,7 @@ much — and tune the next run. That is the whole point of the experiment.
---
-<a id="sec-349"></a>
+<a id="sec-397"></a>
> **Source:** `docs/trading-hub.md` · [↑ table of contents](#table-of-contents)
@@ -74949,17 +82106,17 @@ credentials, and writes nothing.
## Related
-- [Agent Sniper](#sec-058), what the autonomous trader is and how it is wired
-- [The 10 SOL experiment](#sec-348), the full risk policy
-- [Risk acknowledgment](#sec-309), read before arming real funds
-- [Custody model](#sec-158), how an agent holds its own keys
-- [Earned autonomy](#sec-326), how an agent earns more freedom
-- [Trading Copilot](#sec-347), the fair-launch market maker
-- Tutorial: [Arm an autonomous sniper](#sec-359)
+- [Agent Sniper](#sec-059), what the autonomous trader is and how it is wired
+- [The 10 SOL experiment](#sec-396), the full risk policy
+- [Risk acknowledgment](#sec-356), read before arming real funds
+- [Custody model](#sec-165), how an agent holds its own keys
+- [Earned autonomy](#sec-373), how an agent earns more freedom
+- [Trading Copilot](#sec-395), the fair-launch market maker
+- Tutorial: [Arm an autonomous sniper](#sec-407)
---
-<a id="sec-350"></a>
+<a id="sec-398"></a>
> **Source:** `docs/trading-surfaces.md` · [↑ table of contents](#table-of-contents)
@@ -74985,7 +82142,7 @@ All five surfaces read the same underlying truth: the Coin Intelligence Engine (
On top of that base layer:
-- **Oracle conviction** ([the conviction engine](#sec-262)) enriches coins across all five surfaces with its 0–100 fused score and tier.
+- **Oracle conviction** ([the conviction engine](#sec-304)) enriches coins across all five surfaces with its 0–100 fused score and tier.
- **Price history** (candlesticks) comes from Birdeye with GeckoTerminal fallback.
- **Live trades** stream over server-sent events from `/api/pump/trades-stream` (PumpPortal websocket, relayed).
- **Smart-money pedigree** comes from the proven-wallet ledger (`/api/intel/smart-money`).
@@ -75047,7 +82204,7 @@ Empty state suggests trending coins so the page is never a dead end.
## Mission Control — /terminal
-The cockpit. Everything above is fused into one keyboard-first, three-pane terminal — and this is the surface where you can actually pull the trigger, because it trades through your agent's custodial Solana wallet on the server-side guarded path (firewall verdict, MEV protection, spend guards, and the custody audit trail are enforced server-side on every order — the same rails documented in [financial-controls](#sec-180)).
+The cockpit. Everything above is fused into one keyboard-first, three-pane terminal — and this is the surface where you can actually pull the trigger, because it trades through your agent's custodial Solana wallet on the server-side guarded path (firewall verdict, MEV protection, spend guards, and the custody audit trail are enforced server-side on every order — the same rails documented in [financial-controls](#sec-216)).
The three panes:
@@ -75071,7 +82228,7 @@ Signed-out, Mission Control is a read-only cockpit; the trade ticket becomes "Si
## How the surfaces chain together
-The intended loop: **Radar** (or **Coin Intelligence**) surfaces a launch worth a look → **Watch** it → the **Watchlist** alerts you when Oracle's conviction tier upgrades → open it in **Mission Control** and execute → if the trade wins big, it shows up on the **Live Trade Feed** with the full receipt for everyone else to study. Every coin, on every surface, links to its [Oracle page](#sec-262) for the fused conviction verdict — and armed agents can run the same loop autonomously (see [the trading experiment](#sec-348) and [Oracle's agent loop](#sec-262)).
+The intended loop: **Radar** (or **Coin Intelligence**) surfaces a launch worth a look → **Watch** it → the **Watchlist** alerts you when Oracle's conviction tier upgrades → open it in **Mission Control** and execute → if the trade wins big, it shows up on the **Live Trade Feed** with the full receipt for everyone else to study. Every coin, on every surface, links to its [Oracle page](#sec-304) for the fused conviction verdict — and armed agents can run the same loop autonomously (see [the trading experiment](#sec-396) and [Oracle's agent loop](#sec-304)).
## API quick reference
@@ -75092,21 +82249,21 @@ curl 'https://three.ws/api/trades/feed'
curl 'https://three.ws/api/oracle/batch?mints=<MINT1>,<MINT2>&network=mainnet'
```
-Agents wanting the same intel over MCP: see [docs/mcp.md](#sec-230) (`@three-ws/intel-mcp`, `@three-ws/portfolio-mcp`) — and the paid x402 lanes in [x402-endpoints](#sec-452).
+Agents wanting the same intel over MCP: see [docs/mcp.md](#sec-272) (`@three-ws/intel-mcp`, `@three-ws/portfolio-mcp`) — and the paid x402 lanes in [x402-endpoints](#sec-501).
## Related
-- [Meta-Allocator: the ETF of degens](#sec-234): diversify a budget across the top verified leaders
-- [Clip Director: every trade becomes content](#sec-134): turn any closed trade into shareable cards per surface
-- [The Trading Copilot — talk to your wallet](#sec-347) — conversational trading over these same numbers
-- [Oracle — the conviction engine](#sec-262) · [/oracle/docs](https://three.ws/oracle/docs)
-- [The autonomous trading experiment](#sec-348)
-- [Financial controls & custody guardrails](#sec-180)
-- [UX flows: crypto trading & analytics](#sec-430) — screen-by-screen walkthrough
+- [Meta-Allocator: the ETF of degens](#sec-276): diversify a budget across the top verified leaders
+- [Clip Director: every trade becomes content](#sec-139): turn any closed trade into shareable cards per surface
+- [The Trading Copilot — talk to your wallet](#sec-395) — conversational trading over these same numbers
+- [Oracle — the conviction engine](#sec-304) · [/oracle/docs](https://three.ws/oracle/docs)
+- [The autonomous trading experiment](#sec-396)
+- [Financial controls & custody guardrails](#sec-216)
+- [UX flows: crypto trading & analytics](#sec-478) — screen-by-screen walkthrough
---
-<a id="sec-351"></a>
+<a id="sec-399"></a>
> **Source:** `docs/troubleshooting.md` · [↑ table of contents](#table-of-contents)
@@ -75765,7 +82922,7 @@ Idle blink and head-drift are active in the current release: `src/idle-animation
---
-<a id="sec-352"></a>
+<a id="sec-400"></a>
> **Source:** `docs/trust-primitives.md` · [↑ table of contents](#table-of-contents)
@@ -75784,7 +82941,7 @@ any chain**, regardless of which platform that counterparty was minted on.
## Cross-chain Agent Reputation
**`GET /api/x402/agent-reputation?subject=<identifier>`** — $0.01 USDC per call
-(Base or Solana mainnet, via [x402](#sec-456)).
+(Base or Solana mainnet, via [x402](#sec-506)).
Pass any counterparty identifier. The type is auto-detected and scored from whatever
real on-chain evidence exists for it:
@@ -75902,7 +83059,7 @@ Returns `{ mode, count, scored_count, unknown_count, avg_score, subjects: [ …f
The same POST route also serves three.ws-fleet monitoring over the platform's indexed
active-agent set: `mode: "sweep"` (fleet average + flagged low-trust agents),
`mode: "leaderboard"` (top N by score), and `mode: "decay_report"` (agents whose score
-dropped >10 points). See the [x402 catalog](#sec-456).
+dropped >10 points). See the [x402 catalog](#sec-506).
---
@@ -75927,7 +83084,7 @@ claims **"I am the deployer of contract X"** or **"I own wallet W / name N / age
self-report.
**`GET /api/x402/onchain-identity-verify?identity=<id>&address=<addr>&chain=<caip2>`**
-— $0.005 USDC per call (Base or Solana mainnet, via [x402](#sec-456)).
+— $0.005 USDC per call (Base or Solana mainnet, via [x402](#sec-506)).
It verifies a **claim** that `identity` controls `address`, for **any** identity type,
on any chain — regardless of the platform the counterparty came from:
@@ -76001,11 +83158,11 @@ score *whether to trust* them.
---
-See also: [x402 paid endpoints](#sec-456) · [Agent Bouncer](#sec-089) · [ERC-8004 identity](#sec-175)
+See also: [x402 paid endpoints](#sec-506) · [Agent Bouncer](#sec-094) · [ERC-8004 identity](#sec-182)
---
-<a id="sec-353"></a>
+<a id="sec-401"></a>
> **Source:** `docs/tutorials/add-a-3d-assistant.md` · [↑ table of contents](#table-of-contents)
@@ -76123,7 +83280,7 @@ Then ask, in plain language: "build a 3D assistant widget named Aria with an oce
---
-<a id="sec-354"></a>
+<a id="sec-402"></a>
> **Source:** `docs/tutorials/agent-personality.md` · [↑ table of contents](#table-of-contents)
@@ -76576,7 +83733,7 @@ The system prompt is the cheapest, highest-leverage thing you can change about a
---
-<a id="sec-355"></a>
+<a id="sec-403"></a>
> **Source:** `docs/tutorials/agent-reputation.md` · [↑ table of contents](#table-of-contents)
@@ -76877,7 +84034,7 @@ A read costs nothing and asks no one's permission. That's the property that lets
---
-<a id="sec-356"></a>
+<a id="sec-404"></a>
> **Source:** `docs/tutorials/agent-spending-envelope.md` · [↑ table of contents](#table-of-contents)
@@ -77433,7 +84590,7 @@ The two "budget stays reserved" cases are the only place the system deliberately
---
-<a id="sec-357"></a>
+<a id="sec-405"></a>
> **Source:** `docs/tutorials/animate-your-agent.md` · [↑ table of contents](#table-of-contents)
@@ -77608,7 +84765,7 @@ The difference that matters is the layer. `wave`, `point`, `nod` and `shrug` are
---
-<a id="sec-358"></a>
+<a id="sec-406"></a>
> **Source:** `docs/tutorials/animate-your-avatar.md` · [↑ table of contents](#table-of-contents)
@@ -77790,7 +84947,7 @@ Applying clips in the Studio is the **authoring** side. On a *running* agent, th
The two channels are wired to the *same* emotional state, at two different timescales, so the body and the face never disagree:
- **Momentary events** (an error just happened, a skill just finished) inject a transient emotion spike — `concern`, `celebration`, `curiosity`, and friends — that decays over seconds. A spike crossing threshold both reshapes the face immediately *and* biases the gesture slot the avatar plays next (e.g. sustained `celebration` picks the `celebrate` slot).
-- **Sustained mood** — the agent's resting valence/arousal, set via `setMood()` (see [docs/tutorials/emotion-from-data.md](#sec-373)) — is the continuous baseline between events. It biases the resting face (a soft smile at high valence, a worried brow at low) and posture (lean, gaze) every frame, and, once nothing more urgent claims the gesture slot, biases *which* ambient gesture plays too: a sustained up-and-energetic mood leans toward the `celebrate` slot, a sustained down-and-subdued mood toward `concern` — the opposite bias, never the energetic one. A momentary event always takes priority over the ambient mood bias, and slot overrides via `meta.edits.animations` apply identically whether the trigger was a spike or the resting mood.
+- **Sustained mood** — the agent's resting valence/arousal, set via `setMood()` (see [docs/tutorials/emotion-from-data.md](#sec-421)) — is the continuous baseline between events. It biases the resting face (a soft smile at high valence, a worried brow at low) and posture (lean, gaze) every frame, and, once nothing more urgent claims the gesture slot, biases *which* ambient gesture plays too: a sustained up-and-energetic mood leans toward the `celebrate` slot, a sustained down-and-subdued mood toward `concern` — the opposite bias, never the energetic one. A momentary event always takes priority over the ambient mood bias, and slot overrides via `meta.edits.animations` apply identically whether the trigger was a spike or the resting mood.
The division of labor: **clips move the body, blendshapes move the face, slots choose *which* body motion fits the emotion — and one emotional state, not two independent tracks, drives all of it.** All three ride the same universal-rig foundation — name your bones (and your blendshapes) in a convention the resolvers know, and everything just works.
@@ -77828,16 +84985,16 @@ You learned the apply-and-remix workflow for motion on three.ws:
**See also:**
-- [docs/animations.md](#sec-088) — the runtime animation registry, manifest, and agent slot reference.
+- [docs/animations.md](#sec-091) — the runtime animation registry, manifest, and agent slot reference.
- [docs/3d-asset-pipeline.md](#sec-002) — how FBX, GLB, and clip JSON relate, and how clips are built and retargeted.
-- [docs/tutorials/swap-avatar-in-studio.md](#sec-411) — loading and switching avatars in the Studio.
-- [docs/tutorials/upload-custom-glb.md](#sec-414) — getting a Mixamo or custom rig into three.ws as a clean, animatable GLB.
+- [docs/tutorials/swap-avatar-in-studio.md](#sec-459) — loading and switching avatars in the Studio.
+- [docs/tutorials/upload-custom-glb.md](#sec-462) — getting a Mixamo or custom rig into three.ws as a clean, animatable GLB.
Primary call to action: open **[/pose](/pose)**, load an avatar, and apply your first clip.
---
-<a id="sec-359"></a>
+<a id="sec-407"></a>
> **Source:** `docs/tutorials/arm-an-agent-sniper.md` · [↑ table of contents](#table-of-contents)
@@ -77949,7 +85106,7 @@ The hard-config sniper you just armed is the control group. The next phase runs
---
-<a id="sec-360"></a>
+<a id="sec-408"></a>
> **Source:** `docs/tutorials/build-a-3d-asset-pipeline.md` · [↑ table of contents](#table-of-contents)
@@ -78162,7 +85319,7 @@ step once the mechanical stages are running.
---
-<a id="sec-361"></a>
+<a id="sec-409"></a>
> **Source:** `docs/tutorials/build-a-scene.md` · [↑ table of contents](#table-of-contents)
@@ -78381,7 +85538,7 @@ The leverage of [Scene Studio](/scene) is that it's a *real* editor producing a
---
-<a id="sec-362"></a>
+<a id="sec-410"></a>
> **Source:** `docs/tutorials/build-a-site-concierge.md` · [↑ table of contents](#table-of-contents)
@@ -78488,7 +85645,7 @@ app.post('/my/concierge', async (req, res) => {
});
```
-Then: `<three-concierge endpoint="/my/concierge">`. The production reference, with rate limits, moderation, provider failover, and cooldowns, is [`api/concierge.js`](https://github.com/nirholas/three.ws/blob/main/api/concierge.js).
+Then: `<three-concierge endpoint="/my/concierge">`. The production reference, with rate limits, provider failover, and cooldowns, is [`api/concierge.js`](https://github.com/nirholas/three.ws/blob/main/api/concierge.js).
## Where to go next
@@ -78499,7 +85656,7 @@ Then: `<three-concierge endpoint="/my/concierge">`. The production reference, wi
---
-<a id="sec-363"></a>
+<a id="sec-411"></a>
> **Source:** `docs/tutorials/character-library-to-embed.md` · [↑ table of contents](#table-of-contents)
@@ -79004,7 +86161,7 @@ Doing the copy server-side also sidesteps cross-origin reads and browser upload
---
-<a id="sec-364"></a>
+<a id="sec-412"></a>
> **Source:** `docs/tutorials/claim-threews-name.md` · [↑ table of contents](#table-of-contents)
@@ -79312,7 +86469,7 @@ See also:
---
-<a id="sec-365"></a>
+<a id="sec-413"></a>
> **Source:** `docs/tutorials/connect-ai-brain.md` · [↑ table of contents](#table-of-contents)
@@ -79669,7 +86826,7 @@ The brain is the part of the agent you'll iterate on most after the system promp
---
-<a id="sec-366"></a>
+<a id="sec-414"></a>
> **Source:** `docs/tutorials/create-and-edit-memory.md` · [↑ table of contents](#table-of-contents)
@@ -79990,7 +87147,7 @@ The leverage is in *enhancement*: the right type, one fact per memory, tags, del
---
-<a id="sec-367"></a>
+<a id="sec-415"></a>
> **Source:** `docs/tutorials/custom-skill.md` · [↑ table of contents](#table-of-contents)
@@ -80510,7 +87667,7 @@ The skill installs via a URI in the agent manifest, runs entirely client-side, a
---
-<a id="sec-368"></a>
+<a id="sec-416"></a>
> **Source:** `docs/tutorials/customize-appearance.md` · [↑ table of contents](#table-of-contents)
@@ -80948,7 +88105,7 @@ Most production embeds use four or five of these together. The combination is wh
---
-<a id="sec-369"></a>
+<a id="sec-417"></a>
> **Source:** `docs/tutorials/deploy-to-vercel-custom-domain.md` · [↑ table of contents](#table-of-contents)
@@ -81465,7 +88622,7 @@ In rough order of likelihood:
---
-<a id="sec-370"></a>
+<a id="sec-418"></a>
> **Source:** `docs/tutorials/earn-and-spend-in-play.md` · [↑ table of contents](#table-of-contents)
@@ -81660,16 +88817,16 @@ Every paid sale splits 50% to the holder-rewards sink and 50% to the treasury.
## Next
-- **[The in-game economy](#sec-207)** is the full reference: every
+- **[The in-game economy](#sec-248)** is the full reference: every
catalog, gate, settlement path, and the JSON wire format.
- **[three.ws/play/economy](https://three.ws/play/economy)** shows the live
catalogs and odds, read from the running server.
-- **[Coin communities](#sec-136)** explains the worlds themselves, and how
+- **[Coin communities](#sec-141)** explains the worlds themselves, and how
any coin becomes a walkable 3D space.
---
-<a id="sec-371"></a>
+<a id="sec-419"></a>
> **Source:** `docs/tutorials/embed-in-30-seconds.md` · [↑ table of contents](#table-of-contents)
@@ -81945,7 +89102,7 @@ A working embedded agent is the foundation everything else builds on. From here,
---
-<a id="sec-372"></a>
+<a id="sec-420"></a>
> **Source:** `docs/tutorials/embed-on-website.md` · [↑ table of contents](#table-of-contents)
@@ -82456,7 +89613,7 @@ Squarespace's developer preview and published output can differ. Try adding the
---
-<a id="sec-373"></a>
+<a id="sec-421"></a>
> **Source:** `docs/tutorials/emotion-from-data.md` · [↑ table of contents](#table-of-contents)
@@ -82567,7 +89724,7 @@ Save that as `index.html` and open it — no build step, no server, no wallet. S
## Step 3 — The AI lane: real classification over arbitrary data, richer gestures
-A lexicon scorer only works on short, informal text and only gives you positive/negative. For real documents — support tickets, product reviews, meeting transcripts, incident reports — you want a model that returns *structured* emotion: a sentiment score plus a breakdown across joy, anger, fear, sadness, surprise, and disgust, so you can pick a more specific reaction than a binary celebrate/flinch. `ibm_granite_analyze` (part of the [IBM Granite x402 MCP suite](#sec-204)) does exactly this for $0.04/call, no IBM account needed — you pay in USDC, it pays IBM.
+A lexicon scorer only works on short, informal text and only gives you positive/negative. For real documents — support tickets, product reviews, meeting transcripts, incident reports — you want a model that returns *structured* emotion: a sentiment score plus a breakdown across joy, anger, fear, sadness, surprise, and disgust, so you can pick a more specific reaction than a binary celebrate/flinch. `ibm_granite_analyze` (part of the [IBM Granite x402 MCP suite](#sec-245)) does exactly this for $0.04/call, no IBM account needed — you pay in USDC, it pays IBM.
This is a server-side call (it needs a wallet to sign the payment), so it lives behind a small endpoint you host yourself and the browser polls. The `@three-ws/x402-fetch` package does the 402 → sign → retry dance for you — see [pay-for-x402-service](/tutorials/pay-for-x402-service) for the full protocol if you want the mechanics.
@@ -82669,7 +89826,7 @@ function reactIfConfident(clipOrEmoteName, { confident, useExactClip = false } =
- **`agent.play('someClip')` does nothing.** The name is case-sensitive and must match a clip actually present on the rig — check the exact name at [/animations](/animations) or fall back to `playEmote()`, which degrades gracefully instead of silently failing.
- **The agent keeps re-celebrating every poll.** You skipped the cooldown gate in Step 4, or your confidence threshold is too low for a noisy feed. Widen `COOLDOWN_MS` or raise the sample-size/strength floor.
- **AI lane 402 loop / never resolves.** Your `SOLANA_PRIVATE_KEY` wallet has no USDC. Fund it with a few cents — see the [x402 payment flow](/tutorials/pay-for-x402-service).
-- **`analysis.emotion_breakdown` is undefined.** You passed `analysis_type` other than `sentiment` — only that type returns the per-emotion breakdown; the other five types return type-specific fields instead (see [ibm-x402-mcp](#sec-204)).
+- **`analysis.emotion_breakdown` is undefined.** You passed `analysis_type` other than `sentiment` — only that type returns the per-emotion breakdown; the other five types return type-specific fields instead (see [ibm-x402-mcp](#sec-245)).
---
@@ -82684,7 +89841,7 @@ function reactIfConfident(clipOrEmoteName, { confident, useExactClip = false } =
---
-<a id="sec-374"></a>
+<a id="sec-422"></a>
> **Source:** `docs/tutorials/explore-docs-world.md` · [↑ table of contents](#table-of-contents)
@@ -82750,13 +89907,13 @@ Make one with the [Forge](/create) or the [Avatar Studio](/avatar-studio), copy
## Where to next
-- [Docs World reference](#sec-167): controls table, device behaviour, contributor notes.
-- [What is three.ws?](#sec-335): the guided tour of the whole platform, readable in either surface.
+- [Docs World reference](#sec-174): controls table, device behaviour, contributor notes.
+- [What is three.ws?](#sec-382): the guided tour of the whole platform, readable in either surface.
- Add a page to the docs yourself: edit `docs/nav.json` and drop a markdown file in `docs/`; it appears in the sidebar and as a page in its pavilion with no extra wiring.
---
-<a id="sec-375"></a>
+<a id="sec-423"></a>
> **Source:** `docs/tutorials/find-a-better-exit-policy.md` · [↑ table of contents](#table-of-contents)
@@ -82954,7 +90111,7 @@ returned over 234 real trades, with the caveats attached and the underlying
transactions one click away.
If you run your own agent, the same parameters are what
-[`/api/sniper/strategy`](#sec-089) accepts, so a finding here maps
+[`/api/sniper/strategy`](#sec-094) accepts, so a finding here maps
directly onto a strategy you can arm. Read
[Arm an autonomous sniper](/tutorials/arm-an-agent-sniper) for that path, and
size it small first: an in-sample optimum is a description of the past, and the
@@ -82994,7 +90151,7 @@ disclaimers bolted onto the result. They are the result.
---
-<a id="sec-376"></a>
+<a id="sec-424"></a>
> **Source:** `docs/tutorials/first-agent.md` · [↑ table of contents](#table-of-contents)
@@ -83503,7 +90660,7 @@ Now that you have a working agent, here's what to explore next:
---
-<a id="sec-377"></a>
+<a id="sec-425"></a>
> **Source:** `docs/tutorials/first-prompt-to-3d.md` · [↑ table of contents](#table-of-contents)
@@ -83623,7 +90780,7 @@ A rigged avatar's AR link gains a **Bring it to life** option: instead of a froz
---
-<a id="sec-378"></a>
+<a id="sec-426"></a>
> **Source:** `docs/tutorials/generate-3d-api.md` · [↑ table of contents](#table-of-contents)
@@ -83835,7 +90992,7 @@ If you've never made an x402 call, start with [Build a paid x402 endpoint](/tuto
---
-<a id="sec-379"></a>
+<a id="sec-427"></a>
> **Source:** `docs/tutorials/getting-started.md` · [↑ table of contents](#table-of-contents)
@@ -84020,7 +91177,7 @@ Everything is editable forever — swap the body, rewrite the prompt, add capabi
---
-<a id="sec-380"></a>
+<a id="sec-428"></a>
> **Source:** `docs/tutorials/greeting-and-first-speech.md` · [↑ table of contents](#table-of-contents)
@@ -84366,7 +91523,7 @@ A working greeting moves the embed from "decoration" to "interaction", which is
---
-<a id="sec-381"></a>
+<a id="sec-429"></a>
> **Source:** `docs/tutorials/image-to-3d.md` · [↑ table of contents](#table-of-contents)
@@ -84469,7 +91626,7 @@ Everything you generate is kept in **Your creations** at the bottom of the page,
---
-<a id="sec-382"></a>
+<a id="sec-430"></a>
> **Source:** `docs/tutorials/import-avatar-url.md` · [↑ table of contents](#table-of-contents)
@@ -84639,7 +91796,7 @@ The URL path and the file-upload path converge on the same avatar record and the
---
-<a id="sec-383"></a>
+<a id="sec-431"></a>
> **Source:** `docs/tutorials/js-api-events.md` · [↑ table of contents](#table-of-contents)
@@ -85105,7 +92262,7 @@ The `whenReady`, awaited-`ask()`, and try/catch patterns are small but they remo
---
-<a id="sec-384"></a>
+<a id="sec-432"></a>
> **Source:** `docs/tutorials/mcp-server-for-your-agent.md` · [↑ table of contents](#table-of-contents)
@@ -85751,7 +92908,7 @@ Things that look right but bite you:
---
-<a id="sec-385"></a>
+<a id="sec-433"></a>
> **Source:** `docs/tutorials/mine-vanity-address.md` · [↑ table of contents](#table-of-contents)
@@ -86032,7 +93189,7 @@ The protocol itself is fully specified in [docs/PROTOCOL-vanity.md](#sec-005), a
---
-<a id="sec-386"></a>
+<a id="sec-434"></a>
> **Source:** `docs/tutorials/mint-pumpfun-token.md` · [↑ table of contents](#table-of-contents)
@@ -86393,7 +93550,7 @@ If you have a lawyer, talk to them before launching. If you don't, default to th
---
-<a id="sec-387"></a>
+<a id="sec-435"></a>
> **Source:** `docs/tutorials/monetize-mcp-server.md` · [↑ table of contents](#table-of-contents)
@@ -86709,7 +93866,7 @@ That connector can search the bazaar, read your challenge without paying (`inspe
---
-<a id="sec-388"></a>
+<a id="sec-436"></a>
> **Source:** `docs/tutorials/multi-agent-coordination.md` · [↑ table of contents](#table-of-contents)
@@ -87114,7 +94271,7 @@ researcher.addEventListener('skill:tool-called', (e) => {
Build the tools themselves as skills (see [custom-skill](/tutorials/custom-skill)); the orchestration logic stays in the coordinator on the page.
-There's also a platform-native alternative to page-level orchestration: the `<agent-stage>` element. A stage hosts every child `<agent-3d>` in one shared WebGL scene (with a `formation` attribute — `row`, `circle`, or `freeform`), exposes `getAgents()`, `broadcast(fromId, event)`, and `routeMessage(fromId, toId, text)` to your code, and grants each staged agent two extra built-in tools — `observe_agents` (who else is on stage) and `say_to_agent` (address a colleague directly) — so the LLMs can delegate to each other without any coordinator glue. When the agents, not the page, should decide who does what, reach for the stage. The full patterns are in [Multi-Agent Scenes](#sec-243).
+There's also a platform-native alternative to page-level orchestration: the `<agent-stage>` element. A stage hosts every child `<agent-3d>` in one shared WebGL scene (with a `formation` attribute — `row`, `circle`, or `freeform`), exposes `getAgents()`, `broadcast(fromId, event)`, and `routeMessage(fromId, toId, text)` to your code, and grants each staged agent two extra built-in tools — `observe_agents` (who else is on stage) and `say_to_agent` (address a colleague directly) — so the LLMs can delegate to each other without any coordinator glue. When the agents, not the page, should decide who does what, reach for the stage. The full patterns are in [Multi-Agent Scenes](#sec-285).
Parallel fan-out is **harder to debug** than sequential delegation because errors are non-deterministic in order and any latency outlier blocks the join. Use it when the wall-clock saving is worth the complexity. For a chat UX with a human in the loop, sequential is almost always the right default.
@@ -87269,7 +94426,7 @@ async function safeHandoff(targetEl, brief, fallbackEl, originalQuestion) {
---
-<a id="sec-389"></a>
+<a id="sec-437"></a>
> **Source:** `docs/tutorials/nvidia-3d-free.md` · [↑ table of contents](#table-of-contents)
@@ -87386,7 +94543,7 @@ It talks **directly** to a TRELLIS NIM and returns the GLB **synchronously** in
---
-<a id="sec-390"></a>
+<a id="sec-438"></a>
> **Source:** `docs/tutorials/nvidia-nim-self-host.md` · [↑ table of contents](#table-of-contents)
@@ -87562,7 +94719,7 @@ The proxy normalizes every documented artifact shape (inline `base64`, a bare st
---
-<a id="sec-391"></a>
+<a id="sec-439"></a>
> **Source:** `docs/tutorials/paid-x402-endpoint.md` · [↑ table of contents](#table-of-contents)
@@ -88254,7 +95411,7 @@ Both work. Choose based on whether your endpoint is part of an agent platform yo
---
-<a id="sec-392"></a>
+<a id="sec-440"></a>
> **Source:** `docs/tutorials/pay-for-x402-service.md` · [↑ table of contents](#table-of-contents)
@@ -88520,7 +95677,7 @@ package family is listed under [x402 → Open-source packages](/x402#open-source
---
-<a id="sec-393"></a>
+<a id="sec-441"></a>
> **Source:** `docs/tutorials/personal-ai-site.md` · [↑ table of contents](#table-of-contents)
@@ -89075,7 +96232,7 @@ The technical investment is one HTML file, a GLB avatar, and a system prompt. Th
---
-<a id="sec-394"></a>
+<a id="sec-442"></a>
> **Source:** `docs/tutorials/place-agent-irl.md` · [↑ table of contents](#table-of-contents)
@@ -89325,7 +96482,7 @@ This is fundamentally different from viewing a single model in AR. If you only n
---
-<a id="sec-395"></a>
+<a id="sec-443"></a>
> **Source:** `docs/tutorials/prompts-for-3d.md` · [↑ table of contents](#table-of-contents)
@@ -89461,7 +96618,7 @@ The tiers are explained in detail in [the text-to-3D tutorial](/tutorials/text-t
---
-<a id="sec-396"></a>
+<a id="sec-444"></a>
> **Source:** `docs/tutorials/read-the-trading-fleet.md` · [↑ table of contents](#table-of-contents)
@@ -89674,7 +96831,7 @@ funds.
---
-<a id="sec-397"></a>
+<a id="sec-445"></a>
> **Source:** `docs/tutorials/register-onchain.md` · [↑ table of contents](#table-of-contents)
@@ -90023,7 +97180,7 @@ Your agent's URL will keep working as long as Base exists and IPFS gateways serv
---
-<a id="sec-398"></a>
+<a id="sec-446"></a>
> **Source:** `docs/tutorials/render-avatar-images.md` · [↑ table of contents](#table-of-contents)
@@ -90560,7 +97717,7 @@ If you want a talking, animated agent rather than a viewer, that is the `<agent-
---
-<a id="sec-399"></a>
+<a id="sec-447"></a>
> **Source:** `docs/tutorials/self-host-agent-backend.md` · [↑ table of contents](#table-of-contents)
@@ -91136,7 +98293,7 @@ A self-hosted instance with light traffic runs at $20–50/month all-in. The dom
---
-<a id="sec-400"></a>
+<a id="sec-448"></a>
> **Source:** `docs/tutorials/selfie-to-avatar.md` · [↑ table of contents](#table-of-contents)
@@ -91175,7 +98332,7 @@ Under the hood the page ([src/selfie-capture.js](../src/selfie-capture.js)) coll
1. `POST /api/avatars/reconstruct` — submit the photos, get back a `jobId`.
2. `GET /api/avatars/regenerate-status?jobId=…` — poll until the job reports `done`.
-The job moves through visible stages — reconstructing the mesh, building geometry and textures, **auto-rigging the skeleton and skinning** — then returns the finished avatar's id. You never call the rig step yourself; it's part of the job. This is the platform-wide rule: every avatar three.ws creates is auto-rigged so it can animate. (For the rig internals, see [Avatar Creation](#sec-101).)
+The job moves through visible stages — reconstructing the mesh, building geometry and textures, **auto-rigging the skeleton and skinning** — then returns the finished avatar's id. You never call the rig step yourself; it's part of the job. This is the platform-wide rule: every avatar three.ws creates is auto-rigged so it can animate. (For the rig internals, see [Avatar Creation](#sec-106).)
---
@@ -91380,13 +98537,13 @@ The result is a standard `.glb` that animates in the [Animation Studio](/pose),
- [Turn Photos into a 3D Model](/tutorials/image-to-3d) — reconstruct an *object* (not a person) from a few photos in the Forge.
- [Animate your avatar](/tutorials/animate-your-avatar) — apply and tune motion on the rigged avatar you just built.
-- [Avatar Creation](#sec-101) — the full reference: every creation path, rig requirements, and accessories.
+- [Avatar Creation](#sec-106) — the full reference: every creation path, rig requirements, and accessories.
- [Customize your agent's appearance](/tutorials/customize-appearance) — clothing, accessories, and styling on top of your avatar.
- [Give your agent a personality](/tutorials/agent-personality) — turn the body into a character.
---
-<a id="sec-401"></a>
+<a id="sec-449"></a>
> **Source:** `docs/tutorials/sell-a-skill-with-a-trial.md` · [↑ table of contents](#table-of-contents)
@@ -91520,7 +98677,7 @@ Two rules, and they are not style preferences:
1. **Spend the run only after the work succeeded.** Decrementing before the work means a timeout or a bad upstream bills your buyer for nothing. That is the fastest way to make a trial feel like a scam.
2. **If you grant a trial, you must spend it.** A trial that is never spent never reaches `trial_exhausted`, and because an active trial counts as access, step 4 below can never happen for that buyer. Conversion does not get slower. It stops.
-> **This is a real bug we shipped, not a hypothetical.** The [circulation engine](#sec-132) granted trials for a month and never called `consumeTrialUse`, because the only code path that called it was one those agents never used. It accumulated 10,282 trial rows, zero sales, and not one exhausted trial. Marketplace revenue read as a demand problem for weeks. It was a missing decrement.
+> **This is a real bug we shipped, not a hypothetical.** The [circulation engine](#sec-137) granted trials for a month and never called `consumeTrialUse`, because the only code path that called it was one those agents never used. It accumulated 10,282 trial rows, zero sales, and not one exhausted trial. Marketplace revenue read as a demand problem for weeks. It was a missing decrement.
---
@@ -91591,7 +98748,7 @@ A healthy funnel shows a mix of `trial` rows with counts ticking down and `confi
---
-<a id="sec-402"></a>
+<a id="sec-450"></a>
> **Source:** `docs/tutorials/share-your-agent.md` · [↑ table of contents](#table-of-contents)
@@ -91925,7 +99082,7 @@ The agent's URL is the durable handle. Embed it, link it, print it. The agent sh
---
-<a id="sec-403"></a>
+<a id="sec-451"></a>
> **Source:** `docs/tutorials/ship-an-avatar-manifest.md` · [↑ table of contents](#table-of-contents)
@@ -91946,7 +99103,7 @@ The thing you are building is small: a JSON file. What matters is what it buys y
- Node 18 or newer, and `curl`. That is the whole toolchain.
- No account, no API key, no wallet signature. Every command here runs offline against local files.
-- Optional: the [Avatar CLI reference](#sec-100) is the exhaustive flag-by-flag contract. This tutorial is the guided path through it.
+- Optional: the [Avatar CLI reference](#sec-105) is the exhaustive flag-by-flag contract. This tutorial is the guided path through it.
Every command below is real and runs as written.
@@ -92234,13 +99391,13 @@ A JSON file that names an avatar, pins its mesh by content rather than by locati
**Next:**
-- The [Avatar CLI reference](#sec-100) documents every flag, exit code, and `--json` shape.
-- The [web component reference](#sec-443) covers everything `<agent-3d>` can do beyond rendering a body: voice, an LLM brain, memory, and skills.
+- The [Avatar CLI reference](#sec-105) documents every flag, exit code, and `--json` shape.
+- The [web component reference](#sec-491) covers everything `<agent-3d>` can do beyond rendering a body: voice, an LLM brain, memory, and skills.
- [`@three-ws/avatar-schema`](../packages/avatar-schema/README.md) is the schema itself, for writing your own tooling against the format.
---
-<a id="sec-404"></a>
+<a id="sec-452"></a>
> **Source:** `docs/tutorials/shopify-shopping-assistant.md` · [↑ table of contents](#table-of-contents)
@@ -92350,7 +99507,7 @@ const shopping = buildShoppingPayload(catalog, recommended, policies, question);
---
-<a id="sec-405"></a>
+<a id="sec-453"></a>
> **Source:** `docs/tutorials/shopify-store-guide-advanced.md` · [↑ table of contents](#table-of-contents)
@@ -92660,7 +99817,7 @@ The clip URLs inside the manifest resolve **relative to the manifest**, so a sel
---
-<a id="sec-406"></a>
+<a id="sec-454"></a>
> **Source:** `docs/tutorials/shopify-store-guide.md` · [↑ table of contents](#table-of-contents)
@@ -92749,7 +99906,7 @@ It's powered by the open-source [`@three-ws/tour`](https://www.npmjs.com/package
---
-<a id="sec-407"></a>
+<a id="sec-455"></a>
> **Source:** `docs/tutorials/sign-with-your-avatar.md` · [↑ table of contents](#table-of-contents)
@@ -92963,9 +100120,9 @@ None of it replaces a human interpreter. It makes an avatar legible to signers i
**See also:**
-- [docs/sign-language.md](#sec-320): the full reference: vocabulary, developer APIs, and how the signing engine works
-- [docs/tutorials/animate-your-avatar.md](#sec-358): the clip library, retargeting, and animated GLB export in depth
-- [docs/web-component.md](#sec-443): every `<agent-3d>` attribute, including `sign-language`
+- [docs/sign-language.md](#sec-367): the full reference: vocabulary, developer APIs, and how the signing engine works
+- [docs/tutorials/animate-your-avatar.md](#sec-406): the clip library, retargeting, and animated GLB export in depth
+- [docs/web-component.md](#sec-491): every `<agent-3d>` attribute, including `sign-language`
- [/asl-alphabet](/asl-alphabet): the manual alphabet, letter by letter, with a practice drill
- [examples/sign-language.html](../examples/sign-language.html): a runnable page with both integration paths
@@ -92973,7 +100130,7 @@ Primary call to action: open **[/sign-language](/sign-language)** and sign your
---
-<a id="sec-408"></a>
+<a id="sec-456"></a>
> **Source:** `docs/tutorials/skill-with-database-auth.md` · [↑ table of contents](#table-of-contents)
@@ -93711,7 +100868,7 @@ Before this skill faces a real visitor:
---
-<a id="sec-409"></a>
+<a id="sec-457"></a>
> **Source:** `docs/tutorials/solana-agent-reputation.md` · [↑ table of contents](#table-of-contents)
@@ -93894,7 +101051,7 @@ A read costs nothing and asks no one's permission — which is exactly what lets
---
-<a id="sec-410"></a>
+<a id="sec-458"></a>
> **Source:** `docs/tutorials/sperax-tour.md` · [↑ table of contents](#table-of-contents)
@@ -94065,7 +101222,7 @@ This is covered by an automated test — [`tour-sdk/test/director.test.mjs`](htt
---
-<a id="sec-411"></a>
+<a id="sec-459"></a>
> **Source:** `docs/tutorials/swap-avatar-in-studio.md` · [↑ table of contents](#table-of-contents)
@@ -94325,7 +101482,7 @@ The key insight is the snippet's stability. Once embedded, your customers' pages
---
-<a id="sec-412"></a>
+<a id="sec-460"></a>
> **Source:** `docs/tutorials/text-to-3d.md` · [↑ table of contents](#table-of-contents)
@@ -94453,7 +101610,7 @@ This is normal — prompt, generate, adjust, repeat is the workflow, not a failu
---
-<a id="sec-413"></a>
+<a id="sec-461"></a>
> **Source:** `docs/tutorials/trigger-from-page-events.md` · [↑ table of contents](#table-of-contents)
@@ -94957,7 +102114,7 @@ The pattern under all of these is the same: every recipe starts with `whenReady(
---
-<a id="sec-414"></a>
+<a id="sec-462"></a>
> **Source:** `docs/tutorials/upload-custom-glb.md` · [↑ table of contents](#table-of-contents)
@@ -95353,7 +102510,7 @@ Once the body is on the platform, the embed snippet doesn't change. The same `<a
---
-<a id="sec-415"></a>
+<a id="sec-463"></a>
> **Source:** `docs/tutorials/view-in-ar.md` · [↑ table of contents](#table-of-contents)
@@ -95540,7 +102697,7 @@ AR surface detection needs a moment to work. Move the phone slowly over the targ
---
-<a id="sec-416"></a>
+<a id="sec-464"></a>
> **Source:** `docs/tutorials/voice-and-lipsync.md` · [↑ table of contents](#table-of-contents)
@@ -95681,7 +102838,7 @@ If you want your agent to speak in *your* voice instead of a built-in one, use t
4. Give the voice a **name** (1–64 characters) and click **Clone**. The page uploads the sample to `POST /api/tts/eleven-clone` ([`api/tts/eleven-clone.js`](../api/tts/eleven-clone.js)) as `multipart/form-data`.
5. On success you get a `voice_id`, and the voice is saved to your library (stored in `localStorage`, up to 20 voices).
-**Test it in the playground.** Pick the cloned voice, type a sample line, and click Speak. The playground calls `POST /api/tts/eleven` ([`api/tts/eleven.js`](../api/tts/eleven.js)) with `{ voiceId, text }`, which proxies ElevenLabs and caches the clip for 30 days (the hint shows `cached` vs `generated`). Default model is `eleven_flash_v2_5`; requests are capped at 500 characters and metered to your credit balance ($0.30 per 1,000 characters on the platform key, or free of platform charges with your own ElevenLabs key in the `x-eleven-key` header; see the [Voice Lab billing section](#sec-441)).
+**Test it in the playground.** Pick the cloned voice, type a sample line, and click Speak. The playground calls `POST /api/tts/eleven` ([`api/tts/eleven.js`](../api/tts/eleven.js)) with `{ voiceId, text }`, which proxies ElevenLabs and caches the clip for 30 days (the hint shows `cached` vs `generated`). Default model is `eleven_flash_v2_5`; requests are capped at 500 characters and metered to your credit balance ($0.30 per 1,000 characters on the platform key, or free of platform charges with your own ElevenLabs key in the `x-eleven-key` header; see the [Voice Lab billing section](#sec-489)).
> Instant Voice Cloning is a **paid-tier ElevenLabs feature** (Starter and up). If the server's account is on the free tier, the clone call returns the upstream error verbatim in the status line (e.g. a `can_not_use_instant_voice_cloning` message). Built-in voices in Step 1 have no such requirement.
@@ -95740,7 +102897,7 @@ This is opt-in: a flat embed plays voice normally without it.
## Troubleshooting
- **No sound, `503 not_configured` from `/api/tts/speak`** — no TTS provider is set on the server (neither `NVIDIA_API_KEY` nor `OPENAI_API_KEY`). Built-in voices need at least one lane configured.
-- **`429` / "TTS rate limit exceeded"** — `/api/tts/speak` budgets per user (or per IP when anonymous), and `/api/tts/eleven` caps request volume per user. A `402 insufficient_credits` from `/api/tts/eleven` means your credit balance is empty: top up with $THREE at [/credits](https://three.ws/credits), or bring your own ElevenLabs key.
+- **`429` / "TTS rate limit exceeded"**: `/api/tts/speak` budgets per user (or per IP when anonymous), and `/api/tts/eleven` caps request volume per user. A `402 insufficient_credits` from `/api/tts/eleven` means your credit balance is empty: top up with $THREE at [/credits](https://three.ws/credits), or bring your own ElevenLabs key.
- **Clone fails with a quota / verification message** — Instant Voice Cloning is an ElevenLabs paid-tier feature. The endpoint passes the upstream body through so you see the exact reason (e.g. `can_not_use_instant_voice_cloning`). Use a built-in voice instead, or upgrade the ElevenLabs plan.
- **Clone rejected as too short** — the recorder requires at least 3 seconds; aim for the recommended 20–30 seconds for a usable clone.
- **Mic lab does nothing / "Microphone blocked"** — mic capture needs a secure (https) context and granted permission. The lab maps each failure to a designed state: blocked (allow access in the address bar), no device found, or mic busy (another app is using it). Fix and click **Try again**.
@@ -95771,7 +102928,7 @@ The leverage is that the avatar drives its mouth from the *audio it actually pla
---
-<a id="sec-417"></a>
+<a id="sec-465"></a>
> **Source:** `docs/tutorials/walk-companion.md` · [↑ table of contents](#table-of-contents)
@@ -96001,7 +103158,7 @@ createWalkCompanion({
}).bootstrap();
```
-Other options worth knowing: `excludedRoutes` (path prefixes where the companion never mounts — full-screen 3D routes by default), `enablePicker` (set `false` to hide the avatar switcher), `greeting` (a `(path) => string | null` to customise the per-page hello), and `storagePrefix` (the localStorage/sessionStorage key namespace, default `walk`).
+Other options worth knowing: `excludedRoutes` (path prefixes where the companion never mounts, defaulting to the full-screen 3D routes), `enablePicker` (set `false` to hide the avatar switcher), `lookAt` (set `false` to stop the companion's chest, neck and head from tracking the visitor's cursor), `greeting` (a `(path) => string | null` to customise the per-page hello), and `storagePrefix` (the localStorage/sessionStorage key namespace, default `walk`).
---
@@ -96124,7 +103281,7 @@ The leverage is composability: the same engine renders the corner mascot, the fu
---
-<a id="sec-418"></a>
+<a id="sec-466"></a>
> **Source:** `docs/tutorials/wallet-sign-in.md` · [↑ table of contents](#table-of-contents)
@@ -96408,7 +103565,7 @@ A wallet sign-in that works from any origin that can reach the API, survives the
---
-<a id="sec-419"></a>
+<a id="sec-467"></a>
> **Source:** `docs/tutorials/web-component-end-to-end.md` · [↑ table of contents](#table-of-contents)
@@ -96501,7 +103658,7 @@ This is the right embed when:
- You want multiple agents on the same page
- You need to call the agent's methods or subscribe to its events
-The rest of this tutorial uses the custom-element form, because that's the one that benefits from a wrapper. (The [embedding guide](#sec-372) covers the iframe path and the no-code platforms in depth.)
+The rest of this tutorial uses the custom-element form, because that's the one that benefits from a wrapper. (The [embedding guide](#sec-420) covers the iframe path and the no-code platforms in depth.)
---
@@ -97004,12 +104161,12 @@ The web component is the most robust integration point the platform offers. Buil
## Next steps
- [Drive the agent with the JavaScript API](/tutorials/js-api-events) — methods and events covered in depth
-- [Embed a three.ws agent on your website](#sec-372) — the no-framework paths (Webflow, WordPress, Squarespace) for completeness
+- [Embed a three.ws agent on your website](#sec-420) — the no-framework paths (Webflow, WordPress, Squarespace) for completeness
- [Trigger the agent from page events](/tutorials/trigger-from-page-events) — once it's mounted, make it react to the user journey
---
-<a id="sec-420"></a>
+<a id="sec-468"></a>
> **Source:** `docs/tutorials/write-a-guard.md` · [↑ table of contents](#table-of-contents)
@@ -97271,7 +104428,7 @@ Your guard is done when all of these are true:
---
-<a id="sec-421"></a>
+<a id="sec-469"></a>
> **Source:** `docs/tutorials/x402-server-sdk.md` · [↑ table of contents](#table-of-contents)
@@ -97484,7 +104641,7 @@ const res = await pay('https://your.api/v1/embed', { method: 'POST', body });
---
-<a id="sec-422"></a>
+<a id="sec-470"></a>
> **Source:** `docs/ui-juice.md` · [↑ table of contents](#table-of-contents)
@@ -97646,13 +104803,13 @@ should reach for these primitives rather than re-rolling RAF loops.
---
-<a id="sec-423"></a>
+<a id="sec-471"></a>
> **Source:** `docs/user-wallet.md` · [↑ table of contents](#table-of-contents)
# Your master wallet: the per-user custodial hub
-Every three.ws **agent** owns a wallet ([agent-wallets.md](#sec-068)). Separately, every **user account** can own one custodial wallet of its own: the **master wallet**. It is the financial hub for the person rather than the bot. You fund it once, then push money out to wherever it needs to be: into an agent's wallet so the agent can trade or pay for API calls, or straight out to any Solana address.
+Every three.ws **agent** owns a wallet ([agent-wallets.md](#sec-070)). Separately, every **user account** can own one custodial wallet of its own: the **master wallet**. It is the financial hub for the person rather than the bot. You fund it once, then push money out to wherever it needs to be: into an agent's wallet so the agent can trade or pay for API calls, or straight out to any Solana address.
Solana is the operative chain here. The master wallet also holds an EVM keypair (used for reading a Base USDC balance and for the chains where agents register an on-chain identity), but the send paths documented below are Solana only.
@@ -97685,9 +104842,9 @@ They are different wallets with different jobs, and mixing them up is the single
| Auth accepted | **session cookie only** (no API key, no bearer token) | session or scoped credential, depending on the path |
| Typical use | hold funds, top up agents, sweep out | pay x402 endpoints, trade, buy skills, receive earnings |
-The practical consequence: **an API key cannot spend your master wallet, and neither can an agent.** Only a browser session belonging to you can. That is deliberate. The agent-side limits, freeze switch, and audit rails described in [custody.md](#sec-158) govern agent wallets; the master wallet's protection is that nothing autonomous can reach it at all, plus a hard ceiling of **5 outbound transactions per user per day** shared across `send` and `fund-agent`.
+The practical consequence: **an API key cannot spend your master wallet, and neither can an agent.** Only a browser session belonging to you can. That is deliberate. The agent-side limits, freeze switch, and audit rails described in [custody.md](#sec-165) govern agent wallets; the master wallet's protection is that nothing autonomous can reach it at all, plus a hard ceiling of **5 outbound transactions per user per day** shared across `send` and `fund-agent`.
-Funds flow one way through the platform's plumbing: master wallet to agent wallet, via `fund-agent`. To go the other direction, use the agent's own owner withdrawal (see [agent-wallets.md](#sec-068)), which a freeze never blocks.
+Funds flow one way through the platform's plumbing: master wallet to agent wallet, via `fund-agent`. To go the other direction, use the agent's own owner withdrawal (see [agent-wallets.md](#sec-070)), which a freeze never blocks.
## Auth model: session plus CSRF
@@ -97695,7 +104852,7 @@ Funds flow one way through the platform's plumbing: master wallet to agent walle
- Every write (`POST`) additionally requires a one-time CSRF token in `X-CSRF-Token`, obtained from `GET /api/csrf-token`. The token is bound to your user id, single-use, and expires after an hour. Missing: `403 csrf_missing`. Stale or wrong: `403 csrf_invalid`. Fetch a fresh token per write.
- Reads are rate limited at 60 per minute per user. Writes that move funds are limited to **5 per day per user**, and that limiter is critical: if its backend is unreachable in production the write is refused rather than uncapped. A `simulate: true` preview does **not** draw on that daily budget; previews have their own ceiling of 30 per minute per user, so pricing a transfer a few times can never lock you out of sending. Both money-moving routes are additionally limited per IP, as is wallet creation.
-See [authentication.md](#sec-096) for how sessions and CSRF tokens work in general.
+See [authentication.md](#sec-101) for how sessions and CSRF tokens work in general.
The examples below assume a browser-style cookie jar in `cookies.txt` and a token in `$CSRF`:
@@ -97864,7 +105021,7 @@ curl -sX POST https://three.ws/api/user/wallet/fund-agent \
Same reserve logic as `send`, and mainnet only: a `"max"` SOL top-up leaves rent and fee headroom, and if the agent has no USDC account yet the transaction opens one and your master wallet pays the rent (refused with `insufficient_sol_for_fees` if your SOL cannot cover it). Without `simulate: true`, a well-formed call executes immediately; preview first when the amount is `"max"` or the agent might lack a token account.
-Once the funds land, they are the agent's, and every further movement out of them runs through the agent's own spend policy, kill switch, and custody trail. Funding an agent is therefore the moment to decide how much autonomy you are comfortable financing: top up in the size you would be willing to lose to a bad strategy, not the whole balance. This is also the normal way to get USDC into an agent before it backs a vault ([vaults.md](#sec-438)) and the easiest way to send a vault the small SOL balance it needs for swap fees, by sending to the vault address with `send`.
+Once the funds land, they are the agent's, and every further movement out of them runs through the agent's own spend policy, kill switch, and custody trail. Funding an agent is therefore the moment to decide how much autonomy you are comfortable financing: top up in the size you would be willing to lose to a bad strategy, not the whole balance. This is also the normal way to get USDC into an agent before it backs a vault ([vaults.md](#sec-486)) and the easiest way to send a vault the small SOL balance it needs for swap fees, by sending to the vault address with `send`.
## On-chain history
@@ -97924,15 +105081,15 @@ Honest limits, stated plainly: this is a **custodial** wallet, so the platform c
## Related
-- [agent-wallets.md](#sec-068) for the per-agent wallet this one funds, and its spend policy
-- [custody.md](#sec-158) for limits, freeze, proof of custody, and recovery on the agent side
-- [vaults.md](#sec-438) for what a funded agent wallet can then back
-- [authentication.md](#sec-096) for sessions, CSRF tokens, and why API keys do not apply here
-- [money-map.md](#sec-240) for how funds move across the whole platform
+- [agent-wallets.md](#sec-070) for the per-agent wallet this one funds, and its spend policy
+- [custody.md](#sec-165) for limits, freeze, proof of custody, and recovery on the agent side
+- [vaults.md](#sec-486) for what a funded agent wallet can then back
+- [authentication.md](#sec-101) for sessions, CSRF tokens, and why API keys do not apply here
+- [money-map.md](#sec-282) for how funds move across the whole platform
---
-<a id="sec-424"></a>
+<a id="sec-472"></a>
> **Source:** `docs/ux-flows/01-onboarding-creation.md` · [↑ table of contents](#table-of-contents)
@@ -98098,7 +105255,7 @@ Honest limits, stated plainly: this is a **custodial** wallet, so the platform c
2. Pick an avatar from the strip (click, or Enter/Space; each thumb is a real `role="button"` with an aria-label). Private avatars come back from the list endpoint with no CDN URL, so `selectAvatar` lazily resolves a short-lived signed URL from `GET /api/avatars/:id` and guards against the user switching avatars mid-await. The pick renders in the `model-viewer` stage.
3. Add audio: drag-drop onto `#audio-drop` or pick a file. A non-audio drop is rejected with a toast. The chosen filename shows with a clear button. "Generate" stays disabled until both an avatar and an audio file are present.
4. (optional) Type a direction prompt in `#prompt-input` to steer the render.
- 5. Click "Generate". `uploadAudio` requests `POST /api/avatar/presign-audio` and PUTs the file to R2; if presign fails it falls back to inlining the clip as a data URI, which the worker also accepts.
+ 5. Click "Generate". `uploadAudio` requests `POST /api/avatar/presign-audio` (declaring `bytes`, capped at 64 MB) and PUTs the file to R2. A failed presign is reported as an error: there is no data-URI fallback, since `video-generate` only accepts an https three.ws-hosted `audio_url`.
6. `POST /api/avatar/video-generate` `{ image_url, audio_url, avatar_id, prompt }` returns `{ job_id }`.
7. `pollJob` polls `GET /api/avatar/video-status?job_id=…` every 5 s with a 20-minute deadline, surfacing the worker's percentage in the progress label. Transient non-2xx and network errors are swallowed and retried until the deadline.
8. On `status: 'done'`: the returned `video_url` loads into the result `<video>` with a Download link and a "Make another" button that resets to idle.
@@ -98202,7 +105359,7 @@ Honest limits, stated plainly: this is a **custodial** wallet, so the platform c
---
-<a id="sec-425"></a>
+<a id="sec-473"></a>
> **Source:** `docs/ux-flows/02-forge-text-to-3d.md` · [↑ table of contents](#table-of-contents)
@@ -98384,7 +105541,7 @@ Routing facts (from `vercel.json`):
---
-<a id="sec-426"></a>
+<a id="sec-474"></a>
> **Source:** `docs/ux-flows/03-3d-editing-viewer.md` · [↑ table of contents](#table-of-contents)
@@ -98590,7 +105747,7 @@ Routing summary (from `vite.config.js`):
---
-<a id="sec-427"></a>
+<a id="sec-475"></a>
> **Source:** `docs/ux-flows/04-embed-widget-studio.md` · [↑ table of contents](#table-of-contents)
@@ -98764,7 +105921,7 @@ Routing recap (from `vercel.json`):
---
-<a id="sec-428"></a>
+<a id="sec-476"></a>
> **Source:** `docs/ux-flows/05-discovery-social.md` · [↑ table of contents](#table-of-contents)
@@ -98821,7 +105978,7 @@ Routing recap (from `vercel.json`):
1. User lands on `/gallery`. System fetches `/api/auth/me` (chip), renders 8 skeleton cards, calls `loadPage()`.
2. System fetches `GET /api/avatars/public?limit=24&totals=1`, renders cards. Each thumbnail is a lazy auto-rotating `<model-viewer>` (poster = thumbnail) or an `<img>`. Tag chips, onchain badge, fork count rendered. Stat count + tag/category filter rows populated.
3. (optional) Search box → 250ms debounce → reload with `q`.
- 4. (optional) Click a category chip (Avatars / Accessories / Items / Scenes / Creatures) or a tag chip → reload filtered. Sort dropdown (newest / alpha) re-sorts.
+ 4. (optional) Click a category chip (Avatars / Accessories / Items / Scenes / Creatures), a tag chip, or a **popular-search** chip (`GET /api/avatars/popular-searches?limit=10`, read off the Avatar Search Index's warm cache; a second click clears it) → reload filtered. Sort dropdown (newest / alpha) re-sorts.
5. (optional) Scroll → IntersectionObserver auto-loads next cursor page, or "Load more" button.
6. (optional) Click "Embed" on a card → avatar embed modal (Web component / iframe / Link / Markdown tabs, copy buttons); or click the hero's "✨ Surprise me" button (`data-surprise-avatar`) → `POST /api/avatars/surprise` composes a unique rigged GLB, revealed live in a tinted-stage modal with Reroll, a shareable `/gallery?surprise=<seed>` link, and "Make it mine" (stages the GLB into the guest flow → `/create-review`). No sign-in needed to see it.
7. (optional) For accessory cards, click "Equip" → modal fetches `GET /api/avatars` (user's own); if 401, shows Sign-in CTA; else lists up to 12 avatars; choosing one navigates to `/avatars/:id/edit?equip-glb=…&equip-bone=Head`.
@@ -98829,7 +105986,7 @@ Routing recap (from `vercel.json`):
- **Decision points / branches:** accessory category → Equip flow vs Use/Animate; model_url present → model-viewer vs img; signed-in chip; forge section enabled vs hidden (additive, never blocks).
- **External calls / dependencies:** `GET /api/avatars/public`, `GET /api/forge-gallery`, `GET /api/avatars` (equip), `GET /api/auth/me`, `model-viewer` CDN, `onchain-badge.js`, `template-picker.js`, clipboard API.
- **Success state:** Grid of 3D avatar cards + total count + Forge community section.
-- **Empty / error states:** Filtered-empty → "No public avatars match your filters" + Clear filters + Upload CTA. Unfiltered-empty → "No public avatars yet" + Create-from-prompt / dashboard CTAs. Fetch error → "Failed to load avatars: <msg>". Forge section errors swallowed silently.
+- **Empty / error states:** Filtered-empty → "No public avatars match your filters" + Clear filters + Upload CTA. Unfiltered-empty → "No public avatars yet" + Create-from-prompt / dashboard CTAs. Fetch error → "Failed to load avatars: <msg>". Forge section errors swallowed silently. A popular-search chip whose sample thumbnail has been pruned drops the image and renders as text rather than a broken-image box; the popular row stays hidden entirely when the endpoint returns nothing.
- **Step count:** 2 required (+6 optional)
---
@@ -98915,7 +106072,7 @@ Routing recap (from `vercel.json`):
3. User taps **Pin here** → `setLocked(true)` requests **location** (`watchPosition`) and **motion** (iOS `DeviceOrientationEvent.requestPermission`), waits briefly for a compass sample, captures the gyro lock pose; if GPS not yet ready shows "Getting your location…".
4. On first GPS fix → anchors the pin, begins 10s nearby polling, joins the IrlNet presence room (Colyseus, optional).
5. User aims at the floor spot and **taps the canvas** → optional caption → Confirm → `commitPin()` → `POST /api/irl/pins` with `{ lat, lng, heading, caption, avatarUrl, avatarName, deviceToken, agentId, anchor: { yawDeg, source: 'gyro-gps'… } }`.
- 6. System polls `GET /api/irl/pins?lat=&lng=&radius=60` every 10s; nearby agents spawn (LOD: dot → impostor → full mesh), name labels + confidence rings render; crossing the ~40m ENTER band fires the proximity-arrival cue (haptic + chime + directional glow). Tapping a nearby agent opens a bottom sheet → "View" (`GET /api/irl/agent-card`), "Pay" ($THREE x402), "Message"; interactions `POST /api/irl/interactions`.
+ 6. System polls `GET /api/irl/pins?lat=&lng=&radius=60` every 10s; nearby agents spawn (LOD: dot → impostor → full mesh), name labels + confidence rings render; crossing the ~40m ENTER band fires the proximity-arrival cue (haptic + chime + directional glow). Tapping a nearby agent opens a bottom sheet → "View" (`GET /api/irl/agent-card`), "Pay" ($THREE x402), "Message"; interactions `POST /api/irl/interactions`. A `pay` is the one interaction that names money, so it is never taken on the caller's word: it must carry a well-formed on-chain signature paying an allow-listed mint, it is de-duped globally by that signature, and the transaction is verified on-chain (exists, succeeded, moved at least the amount claimed, and credited one of the agent's own payout wallets when any are on record). A settlement the RPC cannot see yet lands with `verified_at` null, counting for nothing and notifying nobody until `api/cron/settlement-verify.js` proves or discards it.
7. **Payoff:** The user's chosen agent is anchored and visible in AR on the real floor, persisted for nearby users to discover; the user can also discover and interact with other agents pinned around them.
8. (optional alt placement) **Place in AR** (WebXR, Android Chrome) now fronts the dock's secondary row on AR-capable devices: `XRSession.requestSession('immersive-ar')` hit-test → `POST /api/irl/pins` with `anchor.quat` + shared room frame; a two-finger pinch resizes the agent (0.25x to 4x, `src/ar/pinch-scale.js`) and the chosen size persists (`anchor.scale` on POST, owner-gated `PATCH {id, scale}` after placement; every viewer renders the owner's size). Camera-mode AR gets the same pinch-to-resize without WebXR. iOS Safari → AR Quick Look (USDZ) with an in-AR "Pin it here for people nearby" banner whose tap lands back on `/irl` with Pin here pulsing. **Anchor to a marker** (indoor, no GPS/compass): scan or print a QR marker; once locked it becomes a shared origin, so "Place here" anchors the agent relative to the marker for anyone who scans the same one. **Place on map** (privacy-first): Leaflet picker → `commitMapPin()` `POST /api/irl/pins source:'map'`.
9. (optional) Privacy center (`openPrivacyCenter`): geolocation precision Exact vs Nearby, "Appear nearby" ghost toggle. Share button flattens camera + canvas to PNG. "My pins" sheet → `GET /api/irl/pins/mine`, map + list, `DELETE /api/irl/pins?id=` or `?all=1`. Calibrate / refine-on-floor → `PATCH /api/irl/pins`.
@@ -99036,7 +106193,7 @@ Routing recap (from `vercel.json`):
---
-<a id="sec-429"></a>
+<a id="sec-477"></a>
> **Source:** `docs/ux-flows/06-marketplace-skills.md` · [↑ table of contents](#table-of-contents)
@@ -99252,7 +106409,7 @@ Routing facts confirmed in `vercel.json` (line numbers shift too often to pin; g
---
-<a id="sec-430"></a>
+<a id="sec-478"></a>
> **Source:** `docs/ux-flows/07-crypto-trading-analytics.md` · [↑ table of contents](#table-of-contents)
@@ -99493,6 +106650,7 @@ coin-intel, pump-visualizer and pump-live: adding a coin on any surface shows up
### GMGN Smart Money — `/gmgn`
- **Source:** `public/gmgn.html` (pre-built static; ~900 lines); backend `api/agents/gmgn.js`; `vercel.json` rewrite `/gmgn → /gmgn.html`, `/api/agents/gmgn-feed → /api/agents/gmgn?_handler=feed`
+- **Two read lanes on one backend:** `GET /api/agents/gmgn-feed` streams SSE (what this page uses); `GET /api/agents/gmgn` returns the same board as one JSON response for callers that cannot hold a stream open (server-side fetches, agent tool calls, curl). Both accept `chain`, `interval`, and `minSmartBuys`; the JSON lane also accepts `limit` (1-50, default 25) and answers `{ data: { chain, interval, min_smart_buys, source, count, items } }` with the same normalized item shape the `smart_entry` events carry.
- **Entry point:** nav / direct URL.
- **Prerequisites / gates:** None — public live feed. Narration needs browser Web Speech API; "My agents" avatar tab needs auth.
- **Steps (N):**
@@ -99642,7 +106800,7 @@ coin-intel, pump-visualizer and pump-live: adding a coin on any surface shows up
---
-<a id="sec-431"></a>
+<a id="sec-479"></a>
> **Source:** `docs/ux-flows/08-coin-launch-wallets.md` · [↑ table of contents](#table-of-contents)
@@ -99918,7 +107076,7 @@ real Solana/EVM RPC, pump.fun, and x402 — no mocks.
---
-<a id="sec-432"></a>
+<a id="sec-480"></a>
> **Source:** `docs/ux-flows/09-x402-agent-commerce.md` · [↑ table of contents](#table-of-contents)
@@ -99989,7 +107147,7 @@ choreographed two-agent narrative driven by Server-Sent Events.
- **Entry point:** Directory of live x402-paid endpoints (merged across facilitators) as a card grid with filters.
- **Prerequisites / gates:** None to browse; a wallet only when paying ("Try it").
- **Steps (5 required + 2 optional):**
- 1. Page loads → `GET /api/bazaar/list` → renders endpoint cards.
+ 1. Page loads → `GET /api/bazaar/list` → renders endpoint cards. The handler merges every configured facilitator behind a 60s in-process catalog memo (`BAZAAR_CATALOG_TTL_MS`), returns at most `limit` rows (default 200) and reports the pre-cut match count as `total`.
2. (optional) Filter by type (HTTP/MCP), network (EVM/Solana), max price, extension, sort.
3. (optional) Search (`/api/bazaar/search?query=`) or scroll.
4. Click a card action: HTTP → **Try it** (pay flow); MCP tool → **Inspect tool** (details only — JSON-RPC, not auto-callable); **Details** → modal + `/api/bazaar/context?resource=`.
@@ -99998,23 +107156,25 @@ choreographed two-agent narrative driven by Server-Sent Events.
- **Decision points / branches:** HTTP vs MCP (MCP = inspect only); pay success/cancel/error → distinct receipt states; explorer chosen from endpoint network (Solscan/Basescan/Arbiscan/etc.).
- **External calls / dependencies:** `/api/bazaar/list|search|context`, `/x402.js`, merchant endpoint, multi-chain explorers.
- **Success state:** green receipt with tx hash + explorer link + result JSON; SR announcement "Payment succeeded for <service>".
-- **Empty / error states:** no results → "No matching services…"; catalog unreachable → "Couldn't reach the catalog… Retry"; modal load fail → "Payment module failed to load"; cancel → receipt hidden; error → red receipt.
+- **Empty / error states:** no results → "No matching services…"; catalog unreachable → "Couldn't reach the catalog… Retry" (every `/api/bazaar/*` handler answers `502 facilitator_error` when all facilitators fail, so a total outage never renders as an empty catalog); modal load fail → "Payment module failed to load"; cancel → receipt hidden; error → red receipt.
- **Step count:** 5 required (+2 optional).
### x402 Arbitrage — `/arbitrage`
- **Source:** `public/arbitrage.html` + `public/arbitrage.js` + `/x402.js` (loaded on-demand); backend `api/bazaar/arbitrage`.
-- **Entry point:** Cross-provider price-disparity board — one card per capability, ranked providers, spread %.
+- **Entry point:** Cross-provider price-disparity board, one card per capability, ranked providers, spread %.
- **Prerequisites / gates:** None to browse; wallet only to pay.
+- **Deep links in:** `/arbitrage?focus=<capability>` (what `/bazaar` sends from a listing's priced-peers hint), `?q=<text>`, `?type=http|mcp`. The page writes its own filter state back with `replaceState`, so any filtered view is shareable.
- **Steps (3 required + 3 optional):**
1. Page loads → `GET /api/bazaar/arbitrage?minSpreadPct=0&limit=200` → skeleton then arb cards (spread %, up to 5 providers cheapest-first, metrics).
2. (optional) Filter type All/HTTP/MCP; (optional) search by capability/host.
3. Click **Pay cheapest · $X** → lazy-loads `/x402.js`, then `window.X402.pay({ endpoint: cheapest.resource, method:'GET', merchant: host, action: capability })`.
4. Result shows on the button: "✓ Paid" (auto-revert 4s) / "Failed: …" / revert on cancel.
- 5. (optional) Click **Avoid · $Y** → navigates to `/bazaar?q=<capability>` to see the full spectrum.
-- **Decision points / branches:** MCP capability → "Pay" redirects to `/bazaar?q=` (can't call MCP directly); on-demand x402 load; button state management.
+ 5. (optional) Click **Avoid · $Y** → navigates to `/bazaar?q=<capability>` (plus `&type=mcp` for MCP capabilities, since the catalog defaults to the HTTP tab) to see the full spectrum.
+- **Decision points / branches:** MCP capability → "Pay" redirects to the catalog (can't call MCP directly); on-demand x402 load; button state management.
+- **What counts as an opportunity (backend):** listings are grouped by capability key (MCP tool name, else service name, else the last literal URL segment; route placeholders like `/:solana_address` and `/{mint}` are skipped because they name the argument, not the capability). A group ships only if it spans two or more provider hosts, or if one host has a single resource quoted at two different prices by two different facilitators (a genuine cross-venue gap). A vendor charging different prices for its own distinct endpoints is not arbitrage and is dropped.
- **External calls / dependencies:** `/api/bazaar/arbitrage`, `/x402.js`, the cheapest live endpoint, Solscan/Basescan.
- **Success state:** "✓ Paid" on the cheapest provider; payment settled on-chain.
-- **Empty / error states:** no opportunities → "No arbitrage opportunities right now…"; timeout (20s) → "Request timed out… Retry"; feed error → "Couldn't reach the arbitrage feed…"; modal fail → "Payment modal failed to load".
+- **Empty / error states:** filters exclude everything → "No opportunities match these filters" with a Clear-filters button and a catalog link; feed genuinely has no gap → "No cross-provider price gaps right now" with links to `/bazaar` and `/providers`; timeout (20s) → "Request timed out… Retry"; feed error → "Couldn't reach the arbitrage feed…"; modal fail → "Payment modal failed to load".
- **Step count:** 3 required (+3 optional).
### x402 Providers — `/providers`
@@ -100024,7 +107184,7 @@ choreographed two-agent narrative driven by Server-Sent Events.
- **Steps (2 required + 3 optional):**
1. Directory load → skeleton → `GET /api/bazaar/providers?limit=500` → provider cards (service count, median/min price, tags, networks).
2. (optional) Sort (most services / cheapest / most expensive / most networks); (optional) search by host/tag.
- 3. Click a card → `/providers?host=…` → profile fetch `GET /api/bazaar/providers?host=` → sidebar (metrics, "Visit site", "Open in catalog") + category/network charts + sorted services table.
+ 3. Click a card → `/providers?host=…` → profile fetch `GET /api/bazaar/providers?host=` → sidebar (metrics, "Visit site", "Open in catalog") + category/network charts + sorted services table. The listings array is capped at `limit` (default 200, max 1000) while `listingTotal` carries the provider's real count, so the heading reads "N listings (showing 200)" for the multi-thousand-listing hosts.
4. (optional) Click a listing row → `/bazaar?q=<service>`.
- **Decision points / branches:** directory vs profile keyed on `?host`; sort order; real-time search.
- **External calls / dependencies:** `/api/bazaar/providers` (list + single host), facilitator URLs, downstream explorers via `/bazaar`.
@@ -100094,7 +107254,7 @@ choreographed two-agent narrative driven by Server-Sent Events.
1. Load page → render cached data (or skeletons) → auto-poll `GET /api/agents/unstoppable-status` immediately, then every 60s (exponential backoff to 5 min on transient errors).
2. View data: `200` → hero balance + status + runway, 24h earnings/costs, lifetime net, activity feed (THINK/EARN/REFLECT/IDLE/…), latest reflection. `402` → payment notice + cached data + "Unlock live data — $0.01".
3. (optional, repeatable) Click **Donate $0.01** → `window.X402.pay({ endpoint: status, method:'GET', action:'Fund the … runway' })` → on success toast + fresh live data; each donation funds one live query and directly funds the agent.
-- **Decision points / branches:** cache present vs not; `200` (unlocked) vs `402` (paywalled); `5xx` → backoff + keep cache; donation low-balance → retry with link to `/pay`; donation cancel → no charge.
+- **Decision points / branches:** cache present vs not; `200` (unlocked) vs `402` (paywalled); `5xx` → backoff + keep cache; donation low-balance → retry with link to `/pay`; donation cancel → no charge. A caller holding the `x402:bypass` install scope is served the live reading for free and is deliberately NOT recorded as revenue, so the runway the page reports stays honest.
- **External calls / dependencies:** `/api/agents/unstoppable-status` (free 402 challenge + optional paid query), `/x402.js`, Base/Solana settlement.
- **Success state:** live hero + stats + non-empty activity feed + reflection + "Updated X ago".
- **Empty / error states:** initial skeleton "Fetching live data…"; `402` notice with cached data; no-cache `402` → zeroed state ("Pay $0.01 to see live data").
@@ -100128,10 +107288,10 @@ choreographed two-agent narrative driven by Server-Sent Events.
4. Click **Inscribe forever** → native `confirm()` showing estimated BTC cost + address ("payment is final once broadcast. Continue?").
5. `POST /api/forever/inscribe` `{ message, receiveAddress, feeRate }` → creates OrdinalsBot order → returns charge address, amount (sats), Lightning invoice, mempool URL; order persisted to `sessionStorage forever:order` → **pay view**.
6. Pay view: QR (BIP-21), amount, pay-to/Lightning/receive/order-id rows, "Open in wallet" / "View on mempool" / "Cancel". User sends BTC from their own wallet.
- 7. Auto-poll `GET /api/forever/status?id=<orderId>` every 6s → `waiting-payment → payment-received → inscribing → inscribed`.
+ 7. Auto-poll `GET /api/forever/status?id=<orderId>` every 6s → `waiting-payment → payment-received → inscribing → inscribed`. Once a reveal txid exists the response also carries `inscription.onchain` (confirmed, confirmations, block height and time) read keyless from Blockstream Esplora, so finality depth comes from the chain rather than from OrdinalsBot's order state; an Esplora outage degrades that field to `null` instead of failing the poll.
8. On `inscribed` → **win view**: large message, Inscription link (ordinals.com), reveal-tx link (mempool.space), receive address, "Bitcoin mainnet"; share to X / copy permalink / inscribe another.
- **Decision points / branches:** empty / > 1500 bytes / invalid Taproot / invalid fee rate → inline errors; confirm-dialog cancel → stays in compose; order-create `502/503` → "Inscription failed. Try again."; status `failed` → OrdinalsBot contact note; reload mid-payment → `resumeIfAny()` restores the pay view + resumes polling.
-- **External calls / dependencies:** `/api/forever/inscribe` + `/api/forever/status` → **OrdinalsBot** (`api.ordinalsbot.com`, Bitcoin mainnet Taproot inscription), CoinGecko (USD, best-effort), QR server, mempool.space + ordinals.com for verification.
+- **External calls / dependencies:** `/api/forever/inscribe` + `/api/forever/status` → **OrdinalsBot** (`api.ordinalsbot.com`, Bitcoin mainnet Taproot inscription), Blockstream Esplora (`api/_lib/esplora.js`, keyless reveal-tx confirmations, fail-soft), CoinGecko (USD, best-effort), QR server, mempool.space + ordinals.com for verification.
- **Success state:** win view with permanent inscription + reveal-tx links + share buttons.
- **Empty / error states:** compose validation errors; inscribe failure banner; pay-view polling states; order `failed` message with support info.
- **Step count:** 6 required (+6 optional).
@@ -100258,11 +107418,12 @@ choreographed two-agent narrative driven by Server-Sent Events.
- **Auto-play demos:** `/agent-exchange`, `/agent-trade`, `/agent-economy`, `/demo` need one user click to start, then auto-play. `/live` adds an auth gate for real settlement. `/play/arena` is fully autonomous (agents trade themselves; user only watches/moves/inspects) and uses **no x402** — real pre-funded Solana trades.
- **Forever** is the only **non-x402** payment in the cluster: native Bitcoin (or Lightning) to an OrdinalsBot charge address, inscribing a real Taproot text inscription on Bitcoin mainnet.
- **Adjacent economy surfaces (2026-08-01, not yet traced as full sections):** `/economy-lab` (Runway Lab, a live digital twin of the x402 payment rail; backend `api/x402/runway-lab.js`), `/pay-simulator` (Spend Policy Simulator: dry-run an agent spending policy against real x402 prices), `/flow` (Money Flow Map, see `docs/money-flow-map.md`), `/play/solver` (see `docs/economy-solver.md`), and `/conversions`.
+- **Inline handlers are gone:** every HTML response in this cluster ships a CSP whose `script-src` lists SHA-256 hashes of the inline scripts in the bytes actually sent, so no page here may carry an `onclick=`/`onerror=` attribute (not even inside a template literal). The card markup these flows render declares intent with `data-fallback`, `data-action="reload"` or `data-stop-propagation` and `public/inline-behaviors.js` delegates it; `scripts/audit-inline-handlers.mjs` fails the build if one comes back.
- **Source coverage:** all 17 routes located and traced from real source. `/tutor` resolves to `public/tutor.html` + `public/tutor.js` (served statically; no explicit vite map entry needed). No source was missing.
---
-<a id="sec-433"></a>
+<a id="sec-481"></a>
> **Source:** `docs/ux-flows/10-chat-brain-labs.md` · [↑ table of contents](#table-of-contents)
@@ -100505,7 +107666,7 @@ modules. Routes resolved via `vercel.json` rewrites.
---
-<a id="sec-434"></a>
+<a id="sec-482"></a>
> **Source:** `docs/ux-flows/11-account-dashboard.md` · [↑ table of contents](#table-of-contents)
@@ -100728,7 +107889,7 @@ Shared auth concepts:
---
-<a id="sec-435"></a>
+<a id="sec-483"></a>
> **Source:** `docs/ux-flows/12-home-and-content.md` · [↑ table of contents](#table-of-contents)
@@ -100968,7 +108129,7 @@ All `/.well-known/*` and `/openapi.json` / `/sitemap.xml` responses are JSON/XML
---
-<a id="sec-436"></a>
+<a id="sec-484"></a>
> **Source:** `docs/validation.md` · [↑ table of contents](#table-of-contents)
@@ -101155,7 +108316,7 @@ The hash stored on-chain is `keccak256(JSON.stringify(report))`. Anyone can reco
2. `hashReport(report)` produces the same hash if the input is identical.
3. Query `ValidationRegistry.getValidationStatus(requestHash)` (or `getAgentValidations(agentId)` for every request id on the agent) and compare its `responseHash`. `src/erc8004/validation-recorder.js` wraps this as `getLatestValidation({ agentId, runner, chainId })`.
-The registry has no on-chain validator allow-list: any address the owner requests can answer. Which verdicts three.ws presents as "Validated" is off-chain policy, maintained in [`public/.well-known/validators.json`](../public/.well-known/validators.json). See [`specs/VALIDATORS.md`](../specs/VALIDATORS.md) for how to be recognized, and [`docs/erc8004/validation-attestation.md`](#sec-176) for the platform's own automatic attestation flow.
+The registry has no on-chain validator allow-list: any address the owner requests can answer. Which verdicts three.ws presents as "Validated" is off-chain policy, maintained in [`public/.well-known/validators.json`](../public/.well-known/validators.json). See [`specs/VALIDATORS.md`](../specs/VALIDATORS.md) for how to be recognized, and [`docs/erc8004/validation-attestation.md`](#sec-183) for the platform's own automatic attestation flow.
The minimum check suite for a `pass` verdict includes:
@@ -101330,7 +108491,7 @@ The toggle's CSS class reflects the highest severity: `level-0` (errors), `level
---
-<a id="sec-437"></a>
+<a id="sec-485"></a>
> **Source:** `docs/vanity.md` · [↑ table of contents](#table-of-contents)
@@ -101338,7 +108499,7 @@ The toggle's CSS class reflects the highest severity: `level-0` (errors), `level
Three x402 endpoints that hand an agent a **branded Solana address** — one that
starts with your ticker/prefix and/or ends with a chosen suffix — with no wallet,
-no account, and no SOL. Pay per call in USDC over the [x402](#sec-456) rail and the
+no account, and no SOL. Pay per call in USDC over the [x402](#sec-506) rail and the
server grinds (or delivers from stock) a brand-new keypair that matches.
| Endpoint | What it is | Chars | Price | Pick it when |
@@ -101356,7 +108517,7 @@ Tier 1 and tier 3 **share one warehouse** — the `vanity_inventory` table,
pre-ground on batch spot CPU (`workers/vanity-grinder`) and auto-replenished
when stock runs low (`api/cron/vanity-inventory-replenish`, hourly). Tier 1 is
"give me anything that matches, right now"; tier 3 is "let me pick this exact
-address from the catalog." [Pump Launcher](#sec-280) draws from the
+address from the catalog." [Pump Launcher](#sec-326) draws from the
same warehouse for instant vanity mint addresses.
## Which agent uses this, and why us
@@ -101545,7 +108706,7 @@ workers/vanity-grinder/grind.mjs` (see its
`vanitySuffix` checks this same inventory before grinding a mint address live —
a hit skips the grind entirely (`vanity_source: "inventory"` in the response),
a miss grinds as before (`vanity_source: "ground"`). Same one-shot claim, same
-atomicity, no separate purchase step. See [pump-launcher.md](#sec-280).
+atomicity, no separate purchase step. See [pump-launcher.md](#sec-326).
---
@@ -101560,20 +108721,20 @@ challenges and the discovery doc stay in parity.
## Related
-- [x402 endpoints overview](#sec-452)
+- [x402 endpoints overview](#sec-501)
- [three-vanity/v1 protocol spec](#sec-005)
-- [Pump Launcher](#sec-280) — accepts an optional vanity mint prefix/suffix
+- [Pump Launcher](#sec-326) — accepts an optional vanity mint prefix/suffix
- Web grinder + verifier: [`/vanity`](https://three.ws/vanity), [`/vanity/verify`](https://three.ws/vanity/verify)
---
-<a id="sec-438"></a>
+<a id="sec-486"></a>
> **Source:** `docs/vaults.md` · [↑ table of contents](#table-of-contents)
# USDC agent vaults: the deep reference
-A vault lets strangers put **real USDC** behind one trading agent, on terms the agent's owner publishes up front. The product-level tour (who each surface is for, how vaults sit next to the Arena, the Theater and Swarms) is in [trading-arenas.md](#sec-346), under "Back-an-Agent Vaults". **Read that first.** This document is the layer underneath it: the exact routes, the auth boundary on each one, the share math, the guards that sit in front of a trade, and the audit ledger anyone can read.
+A vault lets strangers put **real USDC** behind one trading agent, on terms the agent's owner publishes up front. The product-level tour (who each surface is for, how vaults sit next to the Arena, the Theater and Swarms) is in [trading-arenas.md](#sec-394), under "Back-an-Agent Vaults". **Read that first.** This document is the layer underneath it: the exact routes, the auth boundary on each one, the share math, the guards that sit in front of a trade, and the audit ledger anyone can read.
Everything here moves real money on Solana mainnet. Read [Safety: what spends, and what has to confirm it](#safety-what-spends-and-what-has-to-confirm-it) before you call any `POST`.
@@ -101601,7 +108762,7 @@ Two GETs are worth calling out because the pattern is easy to get wrong: `/api/v
Every write accepts either form of credential:
- **Session cookie**, as the browser does it. A one-time CSRF token is then required in `X-CSRF-Token`; get one from `GET /api/csrf-token`. A missing or stale token is `403 csrf_missing` / `403 csrf_invalid`.
-- **API key** (`Authorization: Bearer sk_live_...`), for scripts and servers. Bearer callers are CSRF-exempt because the token is itself the proof of intent. See [authentication.md](#sec-096) for minting one.
+- **API key** (`Authorization: Bearer sk_live_...`), for scripts and servers. Bearer callers are CSRF-exempt because the token is itself the proof of intent. See [authentication.md](#sec-101) for minting one.
Every write is also rate limited per user at 30 per minute, and the limiter fails closed: if the shared limiter backend is unreachable in production the write is refused rather than silently uncapped.
@@ -101611,7 +108772,7 @@ The examples below use an API key in `$API_KEY`.
Only an agent with a **provable trading record** can be backed. `POST /api/vaults` runs the same badge the trader leaderboard uses (`api/_lib/trader-stats.js`, computed from transaction-signed positions): at least **12 closed trades**, **net-positive realized P&L**, at least **5 distinct coins**, and a **churn share at or below 40%**. Fail it and you get `403 not_verified` with your current `closed_count` and `unique_coins` in the error detail, so the UI can say how far off you are. See [agent-reputation.md](#sec-054) for how the score is derived.
-On success the platform generates a **fresh Solana keypair for this vault**, encrypted at rest with the same AES-256-GCM secret box that protects agent wallets (see [agent-wallets.md](#sec-068) and [custody.md](#sec-158)). Backer capital lives in that wallet only. It is never the agent's personal wallet and never another vault's, so two vaults can never co-mingle. Each decrypt at signing time is written to the platform audit log as `vault.key_use`.
+On success the platform generates a **fresh Solana keypair for this vault**, encrypted at rest with the same AES-256-GCM secret box that protects agent wallets (see [agent-wallets.md](#sec-070) and [custody.md](#sec-165)). Backer capital lives in that wallet only. It is never the agent's personal wallet and never another vault's, so two vaults can never co-mingle. Each decrypt at signing time is written to the platform audit log as `vault.key_use`.
One open vault per agent: a second attempt returns `409 vault_exists`.
@@ -101642,7 +108803,7 @@ curl -sX POST https://three.ws/api/vaults \
}'
```
-`201` returns the vault row including `vault_address`. Note the address: the vault also needs a little **SOL** to pay swap fees and open token accounts, and there is no vault-funding endpoint. Send roughly 0.01 SOL to `vault_address` yourself, for example from your master wallet (see [user-wallet.md](#sec-423)). Without it, trades are refused with `insufficient_sol_for_fees` before anything is signed.
+`201` returns the vault row including `vault_address`. Note the address: the vault also needs a little **SOL** to pay swap fees and open token accounts, and there is no vault-funding endpoint. Send roughly 0.01 SOL to `vault_address` yourself, for example from your master wallet (see [user-wallet.md](#sec-471)). Without it, trades are refused with `insufficient_sol_for_fees` before anything is signed.
The browser flow is the "Open a vault" modal on [/vaults](https://three.ws/vaults), which is only shown to a signed-in user and pre-fills the same defaults.
@@ -101844,7 +109005,7 @@ curl -s "https://three.ws/api/vaults/ledger?vault_id=8b1c04f6-59a8-4d0e-a1b7-3f5
}
```
-Two properties worth relying on: rows are written **before** funds move for the paths that can double-submit (redeem, trade), so a `pending` or `failed` row is itself evidence of an attempt, and money-moving rows carry the signature you can verify yourself on Solscan. The same movements also land in the platform custody trail described in [custody.md](#sec-158).
+Two properties worth relying on: rows are written **before** funds move for the paths that can double-submit (redeem, trade), so a `pending` or `failed` row is itself evidence of an attempt, and money-moving rows carry the signature you can verify yourself on Solscan. The same movements also land in the platform custody trail described in [custody.md](#sec-165).
## Reading a vault
@@ -101874,16 +109035,16 @@ Two honest limits a backer should know: the platform can sign for the vault (tha
## Related
-- [trading-arenas.md](#sec-346) for the product overview of vaults and the surfaces around them
-- [agent-wallets.md](#sec-068) for the custodial wallet a backer funds from
-- [custody.md](#sec-158) for spend limits, the freeze switch, and proof of custody
-- [user-wallet.md](#sec-423) for the per-user master wallet, the easiest way to send a vault its fee SOL
+- [trading-arenas.md](#sec-394) for the product overview of vaults and the surfaces around them
+- [agent-wallets.md](#sec-070) for the custodial wallet a backer funds from
+- [custody.md](#sec-165) for spend limits, the freeze switch, and proof of custody
+- [user-wallet.md](#sec-471) for the per-user master wallet, the easiest way to send a vault its fee SOL
- [agent-reputation.md](#sec-054) for the badge that gates opening a vault
-- [authentication.md](#sec-096) for sessions, CSRF tokens, and API keys
+- [authentication.md](#sec-101) for sessions, CSRF tokens, and API keys
---
-<a id="sec-439"></a>
+<a id="sec-487"></a>
> **Source:** `docs/viability.md` · [↑ table of contents](#table-of-contents)
@@ -102048,9 +109209,9 @@ appears only when there is something to show, pointing at the filtered
## Related
-- [The autonomous economy](#sec-097): the wallets, spend policies,
+- [The autonomous economy](#sec-102): the wallets, spend policies,
paid skills, and trading loops whose real activity this page measures.
-- [x402 revenue and receipts](#sec-453): the platform's own endpoint
+- [x402 revenue and receipts](#sec-502): the platform's own endpoint
revenue, recorded in a different table and never mixed into the marketplace or
trading figures here.
- [Agent Economy Volume](#sec-051): the agent-to-agent USDC
@@ -102058,7 +109219,7 @@ appears only when there is something to show, pointing at the filtered
---
-<a id="sec-440"></a>
+<a id="sec-488"></a>
> **Source:** `docs/viewer.md` · [↑ table of contents](#table-of-contents)
@@ -102452,48 +109613,99 @@ A subset of state (background, transparency, background color, auto-rotate, expo
---
-<a id="sec-441"></a>
+<a id="sec-489"></a>
> **Source:** `docs/voice-lab.md` · [↑ table of contents](#table-of-contents)
-# Voice Lab: clone your voice in the browser
+# Voice Lab: every voice on the platform, plus your own
+
+Voice Lab is where an agent gets its voice. Two paths lead there, and both end in the same playground:
-Record 20 to 30 seconds of clear speech and Voice Lab creates a digital replica of your voice that you can type into and play back instantly, save to a personal library, and later assign to any three.ws agent. The recording, the live waveform, and the voice library all run in the browser; cloning and synthesis run server-side through ElevenLabs Instant Voice Cloning behind a platform proxy so your key never leaves the server.
+- **Pick one.** Browse roughly 850 ready-made voices across five providers in one grid: Microsoft Edge (free, around 500 neural voices in 100+ locales), Google Gemini (30 prompt-directable voices on the platform's Google credits), NVIDIA Magpie (free, multilingual), OpenAI (11 voices), and ElevenLabs (your account's voices, plus the several-thousand-voice public Voice Library).
+- **Make your own.** Record 20 to 30 seconds of clear speech and Voice Lab clones it into a reusable voice identity you can type into, save, and assign to any agent.
+
+The recording, the live waveform, the browser, and the saved-voice library all run in the browser; synthesis and cloning run server-side so no provider key ever reaches the page.
Page: [/voice](https://three.ws/voice)
-API: `POST /api/tts/eleven-clone` (clone) · `POST /api/tts/eleven` (synthesize) · `PUT`/`POST`/`DELETE /api/agents/:id/voice` (assign to an agent)
+API: `GET /api/tts/catalog` (every voice) · `POST /api/tts/synthesize` (speak on any lane) · `GET`/`POST /api/tts/eleven/library` (public Voice Library) · `POST /api/tts/eleven-clone` (clone) · `PUT`/`POST`/`DELETE /api/agents/:id/voice` (assign to an agent)
## Why it exists
-An agent that speaks in a generic stock voice is a demo. An agent that speaks in *your* voice is a character. Voice Lab is the on-ramp: it turns a short browser recording into a reusable voice identity, then hands that identity to the rest of the platform (the chat agent, talking-avatar surfaces, the marketplace) without you ever touching an API. It is deliberately a two-step product: clone here, then wire the saved voice into an agent from the agent editor, so the same clone can back several agents.
+An agent that speaks in a generic stock voice is a demo. An agent that speaks in a voice you chose deliberately, or in *your* voice, is a character. Voice Lab is the on-ramp for both: it turns every synthesis lane the platform can reach into one searchable grid, and it turns a short browser recording into a voice identity. It then hands whichever you picked to the rest of the platform (the chat agent, talking-avatar surfaces, the marketplace) without you ever touching a provider API.
+
+## The providers
+
+| Provider | Voices | Cost to you | Notes |
+| --- | --- | --- | --- |
+| Microsoft Edge | ~500, live catalog | Free | No key, no account, works signed out. The default lane. |
+| Google Gemini | 30 prebuilt | Free | Runs on the platform's Google Cloud credits. Takes a natural-language **direction** ("say it like a bedtime story"). |
+| NVIDIA Magpie | 11 personas | Free | The real-time avatar lane, 9 languages. |
+| OpenAI | 11 | Credits | `gpt-4o-mini-tts` also takes a direction. |
+| ElevenLabs | your account + the public library | Credits or BYOK | The only lane that can clone your voice. |
+
+The `providers` array from `GET /api/tts/catalog` is the source of truth: it reports, per lane, whether this deployment can actually serve it and why not when it cannot, which models it offers, and whether it accepts a direction. The picker renders unavailable lanes with their reason rather than hiding them.
+
+### The ElevenLabs Voice Library
+
+The **ElevenLabs Library** tab searches the public catalog ElevenLabs users share (thousands of voices, filterable by accent, age, gender, and use case). A shared voice cannot be synthesized directly: press "Add to my voices" and it is copied into the account behind the request (yours under BYOK, the platform's otherwise), which returns a normal `voice_id` usable everywhere else on the platform.
## How it works
-The page ([`pages/voice.html`](../pages/voice.html)) loads a single module, [`src/voice-lab.js`](../src/voice-lab.js), which owns three panels: the recorder, the "My Voices" library, and a text-to-speech playground.
+The page ([`pages/voice.html`](../pages/voice.html)) loads [`src/voice-lab.js`](../src/voice-lab.js), which owns the recorder, the "My Voices" library, and the playground, and mounts [`src/voice/voice-browser.js`](../src/voice/voice-browser.js) for the multi-provider grid. Server-side, [`api/_lib/voice-providers.js`](../api/_lib/voice-providers.js) is the one registry describing every lane and the one function that renders text on any of them.
+
+**Browsing and picking.** The grid loads `GET /api/tts/catalog`, which fetches every lane's catalog in parallel; a lane that is slow or down degrades to empty with a reason instead of blanking the grid. Search matches name, id, locale, and every label; the language filter is built from the locales actually present. "Preview" plays a shared voice's own sample clip when it has one (free, no synthesis) and otherwise renders one short line through `/api/tts/synthesize`. "Use this voice" pushes the pick into the playground.
1. **Record.** `getUserMedia({ audio: { channelCount: 1, echoCancellation: true, noiseSuppression: true, autoGainControl: true, sampleRate: 48000 } })` opens the mic. A `MediaRecorder` (negotiating `audio/webm;codecs=opus` first, then webm, ogg, or mp4) captures in 250ms slices while a Web Audio `AnalyserNode` (`fftSize: 2048`) drives a live 64-bar waveform and an 8-bar level meter. Four reading scripts are offered so you have something natural to say. The recommended length is 25 seconds; the UI encourages stopping any time after 25s, auto-stops at 60s, and rejects anything under 3s.
2. **Review.** You play the take back, name the voice (1 to 64 chars), and either re-record or clone.
3. **Clone.** The recording is POSTed as `multipart/form-data` to `/api/tts/eleven-clone`. The shared library [`api/_lib/elevenlabs.js`](../api/_lib/elevenlabs.js) dynamically imports `@elevenlabs/elevenlabs-js`, constructs an `ElevenLabsClient`, and calls `client.voices.ivc.create({ name, description, files })` (ElevenLabs Instant Voice Cloning). The endpoint returns a `voice_id`.
4. **Save.** The `voice_id` is written to a browser voice library (`localStorage` key `voicelab_voices_v1`, up to 20 voices). Each card offers "Play sample" and "Remove".
-5. **Play.** The playground picks any of *your* cloned voices, takes up to 500 characters of text, and POSTs `{ voiceId, text }` to `/api/tts/eleven`. That endpoint synthesizes with the server default model `eleven_flash_v2_5`, streams back `audio/mpeg`, and caches each clip in R2 for 30 days keyed on a hash of the inputs (the response header `x-tts-cache: hit|miss` tells you which).
+5. **Play.** The playground takes any voice (cloned or picked from the browser), up to 1,000 characters of text, an optional model, an optional direction, and a speed, and POSTs them to `/api/tts/synthesize`. Options are keyed `<provider>:<voiceId>` so a cloned ElevenLabs voice, a free Edge voice, and a Gemini prebuilt can never collide. The model select and the direction field appear only for lanes that have them. Every clip is cached in R2 for 30 days keyed on a hash of the full request (the response header `x-tts-cache: hit|miss` tells you which).
### Comparing voice models
-The live `/voice` playground synthesizes with a single default model (`eleven_flash_v2_5`). The side-by-side **model** comparison and per-agent voice tuning (stability, similarity, style sliders) live in the **agent editor** ([`src/agent-edit.js`](../src/agent-edit.js)), which reads the live model catalog from `GET /api/tts/eleven/voices` and lets you audition across the three ElevenLabs models:
+The playground's **Model** select is populated from whichever lane the current voice belongs to:
-- `eleven_flash_v2_5`: Flash v2.5, lowest latency, real-time (the default).
-- `eleven_turbo_v2_5`: Turbo v2.5, balanced latency and quality.
-- `eleven_multilingual_v2`: Multilingual v2, highest quality, 29 languages.
+- ElevenLabs: `eleven_flash_v2_5` (lowest latency, the default), `eleven_turbo_v2_5` (balanced), `eleven_multilingual_v2` (highest quality, 29 languages).
+- Gemini: `gemini-2.5-flash-preview-tts` (fast, the default) and `gemini-2.5-pro-preview-tts` (follows longer directions).
+- OpenAI: `gpt-4o-mini-tts` (steerable, the default), `tts-1` (lowest latency), `tts-1-hd` (highest fidelity).
+- Edge and NVIDIA have a single model each, so the select is hidden.
-## Billing: $THREE credits or your own key
+Per-agent voice tuning (stability, similarity, style sliders) still lives in the **agent editor** ([`src/agent-edit.js`](../src/agent-edit.js)).
-There is no free platform lane: every request the platform would pay ElevenLabs for is paid for by the caller. Each request rides one of these rungs, and the response header `x-tts-billing` tells you which one served it:
+## Billing: free lanes, $THREE credits, or your own key
-1. **Prepaid credits (default).** Requests on the platform's ElevenLabs account are metered against your [credit balance](https://three.ws/credits) (top up with $THREE or SOL): $0.30 per 1,000 spoken characters (`tts.eleven` in the pricing catalog, priced per call) and $0.50 per voice clone (`voice.clone`, with the $THREE holder-tier discount applied). A short balance returns `402 insufficient_credits` with `top_up_url`, and a failed synthesis or clone refunds the charge. The response header `x-tts-charged-usd` reports what a metered call cost.
-2. **Bring your own key (BYOK).** Send your own ElevenLabs API key in the `x-eleven-key` header on any of the three endpoints (`/api/tts/eleven`, `/api/tts/eleven/voices`, `/api/tts/eleven-clone`) and the call runs on *your* ElevenLabs account: your voices, your quota, your bill, with no platform charges. The server uses the key for that one request and never stores it. On [/voice](https://three.ws/voice), the "Use Your Own ElevenLabs Key" card saves the key to your browser's `localStorage` and attaches the header automatically.
+Free means free, and vendor-billed means metered: no request the platform would be invoiced for is given away. The response header `x-tts-billing` reports which rung served every call:
+
+0. **Free (`free` / `gcp`).** Edge and NVIDIA cost the platform nothing (Edge is keyless; NVIDIA runs on its free NIM tier), and Gemini runs on the platform's Google Cloud credits under the standing owner-approved spend. All three are served without charge and Edge, Gemini, and NVIDIA all work **signed out**.
+1. **Prepaid credits (default for OpenAI and ElevenLabs).** Requests on the platform's vendor accounts are metered against your [credit balance](https://three.ws/credits) (top up with $THREE or SOL): $0.30 per 1,000 spoken characters on ElevenLabs (`tts.eleven`), $0.03 per 1,000 on OpenAI (`tts.openai`), and $0.50 per voice clone (`voice.clone`, with the $THREE holder-tier discount applied). A short balance returns `402 insufficient_credits` with `top_up_url`, and a failed synthesis or clone refunds the charge. The response header `x-tts-charged-usd` reports what a metered call cost.
+2. **Bring your own key (BYOK).** Send your own ElevenLabs API key in the `x-eleven-key` header on any ElevenLabs-touching endpoint (`/api/tts/synthesize`, `/api/tts/eleven`, `/api/tts/eleven/voices`, `/api/tts/eleven/library`, `/api/tts/eleven-clone`) and the call runs on *your* ElevenLabs account: your voices, your quota, your bill, with no platform charges. The server uses the key for that one request and never stores it. On [/voice](https://three.ws/voice), the "Use Your Own ElevenLabs Key" card saves the key to your browser's `localStorage` and attaches the header automatically.
3. **Cache hits.** Clips already synthesized (same voice, text, model, and settings) are served from R2 with no upstream call and no charge (`x-tts-billing: cached`).
```bash
+# Every voice on the platform, in one shape. Works signed out (free lanes only).
+curl -s 'https://three.ws/api/tts/catalog?provider=edge&language=ja&limit=5'
+
+# Speak on the free Edge lane: no key, no account, no charge.
+curl -X POST 'https://three.ws/api/tts/synthesize' \
+ -H 'content-type: application/json' \
+ -d '{ "provider": "edge", "voiceId": "en-GB-SoniaNeural", "text": "Free, keyless, and real." }' \
+ --output edge.mp3
+
+# Speak on Gemini with a style direction, on the platform Google credits.
+curl -X POST 'https://three.ws/api/tts/synthesize' \
+ -H 'content-type: application/json' \
+ -d '{ "provider": "gemini", "voiceId": "Sulafat", "text": "Your agent is live.",
+ "direction": "Warm and unhurried, like sharing good news" }' \
+ --output gemini.wav
+
+# Search the public ElevenLabs Voice Library, then copy one into your account.
+curl -s 'https://three.ws/api/tts/eleven/library?q=narrator&gender=female' \
+ -H 'authorization: Bearer <TOKEN>' -H 'x-eleven-key: <YOUR_ELEVENLABS_KEY>'
+curl -X POST 'https://three.ws/api/tts/eleven/library' \
+ -H 'authorization: Bearer <TOKEN>' -H 'x-eleven-key: <YOUR_ELEVENLABS_KEY>' \
+ -H 'content-type: application/json' \
+ -d '{ "publicUserId": "<PUBLIC_OWNER_ID>", "voiceId": "<SHARED_VOICE_ID>", "name": "Narrator" }'
+
# Synthesize on YOUR ElevenLabs account (BYOK): no platform quota, no credits.
curl -X POST 'https://three.ws/api/tts/eleven' \
-H 'authorization: Bearer <TOKEN>' \
@@ -102507,16 +109719,17 @@ Note that agent-assigned voices always run on the platform account (the agent sp
## Walkthrough
-1. Open [/voice](https://three.ws/voice) and sign in (both endpoints require auth).
-2. Allow microphone access. Press record (or hit Space), read one of the scripts aloud for 20 to 30 seconds, and stop.
-3. Play the take back. If it is clean, name the voice and press Clone. If not, re-record.
-4. Wait a few seconds for "cloned successfully". The new voice appears in My Voices with its `voice_id`.
-5. Open the playground, pick the voice, type or drop in a sample, and press Speak (or Cmd/Ctrl+Enter). Playback is instant on a cache hit.
-6. To give the voice to an agent, open that agent in the agent editor and assign the saved voice there.
+1. Open [/voice](https://three.ws/voice). Browsing and the free lanes work signed out; cloning and the metered lanes need an account.
+2. Search the grid ("Sonia", "Japanese", "narrator"), press **Preview** on anything that looks right, and **Use this voice** on the winner. It lands in the playground, where you can type your own line, add a direction on a lane that takes one, and adjust speed. To make your own voice instead, continue below.
+3. Allow microphone access. Press record (or hit Space), read one of the scripts aloud for 20 to 30 seconds, and stop.
+4. Play the take back. If it is clean, name the voice and press Clone. If not, re-record.
+5. Wait a few seconds for "cloned successfully". The new voice appears in My Voices with its `voice_id`.
+6. Open the playground, pick the voice, type or drop in a sample, and press Speak (or Cmd/Ctrl+Enter). Playback is instant on a cache hit.
+7. To give the voice to an agent, open that agent in the agent editor and assign the saved voice there.
## Examples
-Both endpoints are authenticated (session cookie or bearer token). Cloning also requires a paid ElevenLabs tier server-side.
+The free lanes need no auth at all. Everything else takes a session cookie or bearer token, and cloning additionally requires a paid ElevenLabs tier server-side.
```bash
# Clone a voice from a recorded sample (multipart).
@@ -102547,25 +109760,26 @@ The agent-voice handler ([`api/agents/_id/voice.js`](../api/agents/_id/voice.js)
## States and limits
- **Recorder states.** `idle` -> `recording` (live waveform, timer, level meter) -> `review` (playback, name, Clone / Re-record) -> `cloning` (spinner) -> `done` (green check, `voice_id` shown, actions: Try in playground / Add to an agent / Record another).
-- **Auth required.** Both TTS endpoints return `401 unauthorized` without a session or bearer token. Requests send `credentials: 'include'`.
+- **Auth.** The free lanes (Edge, Gemini, NVIDIA) serve anonymous callers on `/api/tts/synthesize` and `/api/tts/catalog`, rate-limited per IP. The metered lanes (OpenAI, ElevenLabs), cloning, and the Voice Library return `401 unauthorized` without a session or bearer token.
- **Server config.** ElevenLabs must be configured (`ELEVENLABS_API_KEY`) or the endpoints return `503 not_configured`; a request carrying its own `x-eleven-key` header still works (see the billing section above).
- **Paid cloning tier.** Instant Voice Cloning is an ElevenLabs paid-tier (Starter and up) feature. On a free upstream tier the API surfaces the upstream `can_not_use_instant_voice_cloning` body verbatim as a `502`.
- **Length rules.** Voice Lab recommends 20 to 30 seconds, auto-stops at 60, and rejects under 3. The separate agent-clone endpoint (`POST /api/agents/:id/voice/clone`) enforces a 30-second floor. Platform-key clones on both endpoints are capped at 3 per user per day (an abuse guard on the shared account's limited clone slots) and each is charged per the billing section; BYOK clones on `/api/tts/eleven-clone` skip the cap.
-- **Synthesis limits.** 500 characters per playground request; every platform-key request is metered to credits per the billing section (charged before synthesis, refunded on failure). BYOK requests are unmetered by the platform. Clips are cached in R2 for 30 days and cache hits are not charged.
+- **Synthesis limits.** 1,000 characters per `/api/tts/synthesize` request (500 on the older `/api/tts/eleven`); every platform-key request is metered to credits per the billing section (charged before synthesis, refunded on failure). BYOK requests are unmetered by the platform. Clips are cached in R2 for 30 days and cache hits are not charged.
- **Audio size.** Clone uploads are capped at ~10 MB.
- **"Add to an agent" on `/voice`** links to the dashboard; the actual assignment happens in the agent editor. The cloned `voice_id` lives in browser `localStorage` until you assign it.
-- **Error copy.** Mic denial, recorder failure, too-short recording, missing name, network failure, and clone failure each map to a specific message; the playground shows "Synthesizing...", then a size and cached/generated tag, or an error.
+- **Error copy.** Mic denial, recorder failure, too-short recording, missing name, network failure, and clone failure each map to a specific message; the playground shows "Synthesizing...", then a size, a cached/generated tag, and the billing rung that served it, or an error. A lane's upstream failure is tagged with a code (`invalid_key`, `rate_limited`, `content_blocked`, `provider_unreachable`) that `/api/tts/synthesize` maps to a truthful HTTP status rather than a blanket 502.
+- **Catalog freshness.** The Edge catalog is fetched live from Microsoft and cached 6 hours per instance; the ElevenLabs account catalog 5 minutes. Nothing is a hardcoded snapshot, so a voice Microsoft or ElevenLabs adds shows up on its own.
## Related
-- [Voice and lipsync tutorial](#sec-416): the authoritative step-by-step, including wiring a cloned voice into an agent.
-- [Lipsync](#sec-217): how synthesized speech drives an avatar's mouth in real time.
-- [Talking Avatar Video](#sec-339): render a talking-head clip from an avatar and an audio track.
+- [Voice and lipsync tutorial](#sec-464): the authoritative step-by-step, including wiring a cloned voice into an agent.
+- [Lipsync](#sec-259): how synthesized speech drives an avatar's mouth in real time.
+- [Talking Avatar Video](#sec-386): render a talking-head clip from an avatar and an audio track.
- Pages: [/voice](https://three.ws/voice), [/dashboard](https://three.ws/dashboard).
---
-<a id="sec-442"></a>
+<a id="sec-490"></a>
> **Source:** `docs/walk-leaderboard.md` · [↑ table of contents](#table-of-contents)
@@ -102674,7 +109888,7 @@ As coded, in layers. Each one bounds a different kind of nonsense:
| Achievement allowlist | same | Only the four known codes persist, and each unlocks once per walker, so badges cannot be farmed by replaying a batch. |
| Idempotent rollup | unique index in [the migration](../api/_lib/migrations/20260621140000_walk_metrics.sql) | Batches merge into one row per dimension tuple per day, so the table cannot be flooded into a different shape. |
-**What these guards do and do not claim.** `POST /api/walk/metrics` is a public, open-CORS ingest keyed on a client-supplied anonymous id, because embeds post from third-party hosts and anonymous walkers are first-class on the board. The guards above bound the size, rate, and attribution of any single claim; they do not cryptographically prove that a walk happened. There is no cross-batch plausibility check (for example, distance against elapsed duration) and no server-side replay of the controller. Treat the board as a gamified activity ranking, not as an audited measurement. If you need a movement claim that a third party can verify, that is a different product: [World Lines](#sec-447) issue agent-signed proofs of physical presence with server-derived co-location.
+**What these guards do and do not claim.** `POST /api/walk/metrics` is a public, open-CORS ingest keyed on a client-supplied anonymous id, because embeds post from third-party hosts and anonymous walkers are first-class on the board. The guards above bound the size, rate, and attribution of any single claim; they do not cryptographically prove that a walk happened. There is no cross-batch plausibility check (for example, distance against elapsed duration) and no server-side replay of the controller. Treat the board as a gamified activity ranking, not as an audited measurement. If you need a movement claim that a third party can verify, that is a different product: [World Lines](#sec-495) issue agent-signed proofs of physical presence with server-derived co-location.
---
@@ -102840,14 +110054,14 @@ The anonymous id is generated and persisted by the walk runtime in `localStorage
## Related
-- [Add the Walk Companion to your site](#sec-417), the hands-on path from a copy-paste iframe to the `@three-ws/walk` package, including the surfaces that produce the metrics ranked here.
+- [Add the Walk Companion to your site](#sec-465), the hands-on path from a copy-paste iframe to the `@three-ws/walk` package, including the surfaces that produce the metrics ranked here.
- The walk documentation set on the site, served from `public/docs/walk/`: `/docs/walk` (index), `/docs/walk/walk-page`, `/docs/walk/embed-iframe`, `/docs/walk/embed-sdk`, `/docs/walk/companion-mode`, `/docs/walk/chrome-extension`, `/docs/walk/postmessage-events`, and `/docs/walk/analytics`, which covers the per-creator dashboard fed by the same ingest.
- The creator-side view of this data: `three.ws/walk-analytics`, backed by `GET /api/walk/analytics`.
-- [World Lines](#sec-447), for movement claims that carry a verifiable agent signature rather than a leaderboard rank.
+- [World Lines](#sec-495), for movement claims that carry a verifiable agent signature rather than a leaderboard rank.
---
-<a id="sec-443"></a>
+<a id="sec-491"></a>
> **Source:** `docs/web-component.md` · [↑ table of contents](#table-of-contents)
@@ -102955,7 +110169,7 @@ el.removeAttribute('sign-language'); // off
Signing rides the same `SPEAK` event as spoken replies, so it works identically
in the hosted app and in an embed. A runnable page is
[examples/sign-language.html](../examples/sign-language.html); the engine and its
-vocabulary are documented in [Sign language](#sec-320), and the
+vocabulary are documented in [Sign language](#sec-367), and the
alphabet is browsable at [/asl-alphabet](https://three.ws/asl-alphabet).
### Skills and memory
@@ -103745,7 +110959,19 @@ Three URL channels are available. Pick based on how strictly you need to control
| `/agent-3d/<MAJOR>/agent-3d.js` | 5 min | Follow minor + patch releases. |
| `/agent-3d/latest/agent-3d.js` | 5 min | Demos and prototypes only. Never in production. |
-Current SRI hashes are at `/agent-3d/<version>/integrity.json`. The full release manifest is at `/agent-3d/versions.json`.
+Current SRI hashes are at `/agent-3d/<version>/integrity.json`. The full release manifest is at `/agent-3d/versions.json`, or from the origin API at `/api/agent-3d/versions`, which serves the identical JSON with an `ETag`:
+
+```bash
+curl -s https://three.ws/api/agent-3d/versions
+# {"latest":"1.5.2","channels":{…},"publishedAt":"2026-08-10T16:20:09.870Z"}
+
+# Poll cheaply: an unchanged manifest answers 304 with no body.
+curl -s -o /dev/null -w '%{http_code}\n' \
+ -H 'If-None-Match: "9yN2NE81wIeacx634mP3ShqfkuR"' \
+ https://three.ws/api/agent-3d/versions
+```
+
+Both are CORS-open (`access-control-allow-origin: *`) and cached for 60 seconds.
**Recommended production snippet:**
@@ -103794,7 +111020,7 @@ defineElement('my-agent');
---
-<a id="sec-444"></a>
+<a id="sec-492"></a>
> **Source:** `docs/widget-api.md` · [↑ table of contents](#table-of-contents)
@@ -104001,7 +111227,7 @@ If you have multiple widgets and want to coordinate them (sync camera, broadcast
---
-<a id="sec-445"></a>
+<a id="sec-493"></a>
> **Source:** `docs/widget-studio.md` · [↑ table of contents](#table-of-contents)
@@ -104245,14 +111471,14 @@ You can override these freely in the iframe `width` and `height` attributes. Add
## Next steps
-- [Widget API (JSON-RPC)](#sec-444) — programmatic control over an embedded widget: camera, animation, screenshots, model loading
-- [Widgets reference](#sec-446) — technical details, postMessage API, CSP config, and oEmbed spec
-- [Web component](#sec-443) — the `<agent-3d>` custom element for developer integrations
-- [Embedding guide](#sec-173) — advanced embedding patterns and iframe options
+- [Widget API (JSON-RPC)](#sec-492) — programmatic control over an embedded widget: camera, animation, screenshots, model loading
+- [Widgets reference](#sec-494) — technical details, postMessage API, CSP config, and oEmbed spec
+- [Web component](#sec-491) — the `<agent-3d>` custom element for developer integrations
+- [Embedding guide](#sec-180) — advanced embedding patterns and iframe options
---
-<a id="sec-446"></a>
+<a id="sec-494"></a>
> **Source:** `docs/widgets.md` · [↑ table of contents](#table-of-contents)
@@ -104665,7 +111891,7 @@ The `config` object is validated against the type's schema (see [widget-types.js
**Widget share URL:** Every widget has a canonical share URL at `https://three.ws/w/<id>`. This URL is server-rendered with Open Graph metadata and a 1200×630 preview image, making it safe to post in Slack, Discord, X, or any link-preview-aware surface.
-For the full API reference including request/response shapes, error codes, and pagination, see [api-reference.md](#sec-089).
+For the full API reference including request/response shapes, error codes, and pagination, see [api-reference.md](#sec-094).
---
@@ -104757,7 +111983,7 @@ No IP addresses, no user-agent strings, no cookies, no chat message content. The
## Programmatic control
-Need to drive a widget from the parent page — change the camera, play an animation, grab a screenshot? See the [Widget API (JSON-RPC)](#sec-444) reference. The `ThreeWidget` SDK lives at `/widget-client.js` and works with any iframe pointing at `/widget`.
+Need to drive a widget from the parent page — change the camera, play an animation, grab a screenshot? See the [Widget API (JSON-RPC)](#sec-492) reference. The `ThreeWidget` SDK lives at `/widget-client.js` and works with any iframe pointing at `/widget`.
---
@@ -104770,7 +111996,7 @@ Need to drive a widget from the parent page — change the camera, play an anima
---
-<a id="sec-447"></a>
+<a id="sec-495"></a>
> **Source:** `docs/world-lines.md` · [↑ table of contents](#table-of-contents)
@@ -104780,7 +112006,7 @@ A **World Line** is a quest an agent leaves at a real place. Someone walks to th
Live at `three.ws/world-lines`. Four tabs: **Near me** (fix-gated quests within walking range), **Explore** (coordinate-free region roll-up), **My proofs** (your earned collectibles, each re-verifiable in place), and **Create** (place a quest on a pin you own, plus the completion dashboard).
-This document is the deep reference. For where World Lines sits inside the wider IRL product (placing agents, discovering by walking up, Money Drops, the presence privacy contract), read the short version first: [IRL: agents in the real world](irl.md#world-lines). The REST summary lives in the [API reference](#sec-089); everything below is the full contract, the anti-cheat reasoning, and the exact privacy posture as coded.
+This document is the deep reference. For where World Lines sits inside the wider IRL product (placing agents, discovering by walking up, Money Drops, the presence privacy contract), read the short version first: [IRL: agents in the real world](irl.md#world-lines). The REST summary lives in the [API reference](#sec-094); everything below is the full contract, the anti-cheat reasoning, and the exact privacy posture as coded.
Code: [api/irl/world-lines.js](../api/irl/world-lines.js) (all nine endpoints), [api/\_lib/world-lines.js](../api/_lib/world-lines.js) (the pure crypto and ceremony core), [src/world-lines.js](../src/world-lines.js) (the page), [src/irl/world-line-ar.js](../src/irl/world-line-ar.js) (the completion ceremony), [src/irl/world-lines-client.js](../src/irl/world-lines-client.js) (browser client), [packages/irl](../packages/irl/README.md) (the npm SDK).
@@ -105012,7 +112238,7 @@ Coverage for the crypto core lives in [tests/world-lines-crypto.test.js](../test
## Privacy: exactly what is stored
-The engineering analysis for all of IRL is the [IRL threat model](#sec-211); the user-facing summary is the `three.ws/irl-privacy` page. World Lines specifically:
+The engineering analysis for all of IRL is the [IRL threat model](#sec-253); the user-facing summary is the `three.ws/irl-privacy` page. World Lines specifically:
**Stored.**
@@ -105351,14 +112577,14 @@ Both handlers log their enforcement mode once per cold start, so a production mi
## Related
- [IRL: agents in the real world](irl.md#world-lines), the product-level overview and the rest of the presence layer.
-- [IRL threat model](#sec-211), the adversarial analysis behind every radius and cap above.
-- [Place a 3D agent in your real environment](#sec-394), how to create the anchor pin a World Line needs.
-- [API reference](#sec-089), the one-screen summary of these endpoints alongside the rest of `/api/irl/*`.
-- [AR](#sec-092), the camera and WebXR layer the ceremony builds on.
+- [IRL threat model](#sec-253), the adversarial analysis behind every radius and cap above.
+- [Place a 3D agent in your real environment](#sec-442), how to create the anchor pin a World Line needs.
+- [API reference](#sec-094), the one-screen summary of these endpoints alongside the rest of `/api/irl/*`.
+- [AR](#sec-097), the camera and WebXR layer the ceremony builds on.
---
-<a id="sec-448"></a>
+<a id="sec-496"></a>
> **Source:** `docs/x-meetup-posts.md` · [↑ table of contents](#table-of-contents)
@@ -105415,13 +112641,234 @@ https://community.ibm.com/community/user/discussion/community-meetup-inside-thre
---
-<a id="sec-449"></a>
+<a id="sec-497"></a>
+
+> **Source:** `docs/x-memory-seeding.md` · [↑ table of contents](#table-of-contents)
+
+# X memory seeding
+
+Give an agent your X voice: your public profile and recent original posts,
+distilled and written into the agent's long-term memory, so the replies it gives
+sound like the person who wrote them.
+
+This lane is built around one constraint. Connecting your X account to the
+platform (to post as your agent, for example) is permission to act on X on your
+behalf. It is **not** permission to write your posts into an agent's long-term
+memory. Those are two separate decisions, and the second one is its own
+explicit, versioned, revocable grant: nothing is read into memory until you say
+yes on a screen that tells you exactly what will be read and stored.
+
+- **Surface**: Settings, Connected accounts, X card at [/settings#connected-accounts](https://three.ws/settings#connected-accounts)
+- **API**: `/api/agents/:id/memory/seed/x`
+- **Related**: [Memory system](#sec-275), [Farcaster memory seeding](#sec-215), [GitHub seeding in the same table](memory.md#seeding-memory-from-an-existing-account)
+
+---
+
+## How it fits together
+
+```
+ Connect X (OAuth 2.0 PKCE, read scopes only)
+ │ the connection alone changes nothing in memory
+ ▼
+ GET /api/agents/:id/memory/seed/x
+ │ returns the disclosure verbatim from the server, never copy in the page
+ ▼
+ you tick "I have read the above and consent"
+ │
+ ▼
+ POST … { consent: { accepted: true, scope_version } }
+ │ the version must match the disclosure you were shown
+ ▼
+ profile + up to 100 recent original posts are read once
+ distilled into up to 15 short facts about topics, opinions, projects, tone
+ written to agent_memories tagged x_seed, the top five always in context
+ │
+ ▼
+ DELETE /api/agents/:id/memory/seed/x (or disconnect X entirely)
+ │ revokes the grant and deletes every memory it produced
+ ▼
+ nothing distilled from your account survives
+```
+
+Three properties fall out of that shape:
+
+- **A POST without consent is refused before anything is read.** The handler
+ answers `403 consent_required` with the disclosure attached, and the
+ per-agent seed budget is consumed only after authorization, connection, and
+ consent all pass, so a rejected call never burns your re-seed window.
+- **Consent is pinned to the account and the text.** The grant records X's
+ numeric account id and the disclosure version you agreed to. Reconnect a
+ different X account, or let the disclosure wording move on, and the old grant
+ stops authorizing new seeds until you agree again.
+- **Revocation is total.** Every seeded row carries the `x_seed` tag and the
+ consent id that produced it. Revoking, or disconnecting X from Settings,
+ deletes exactly those rows, including any a superseded grant left behind.
+
+## What is read, and what is not
+
+The consent screen shows this list verbatim from the server; the same module
+(`api/_lib/x-memory-seed.js`) enforces it, so the promise and the code cannot
+drift apart.
+
+| Read | Never read |
+|---|---|
+| Your X profile: display name, handle, bio, follower and following counts | Direct messages, drafts, likes, bookmarks, your follower list |
+| Up to 100 of your most recent **original** public posts (text and date) | Reposts and replies (excluded in the API call and re-checked in the transform) |
+| | Protected accounts you follow |
+
+| Stored on the agent | Never stored |
+|---|---|
+| Up to 15 short distilled facts (max 280 characters each) about your recurring topics, opinions, projects, and tone | The text of your posts; a distilled fact that copies a post is discarded before it is written |
+| Your X handle, so the agent can attribute what it learned | Links from your posts; URLs are stripped out of stored text |
+| The seed date and the disclosure version you agreed to | Any X credential; the access token stays encrypted in the connection record and is never copied into a memory |
+
+## What lands in memory
+
+Each fact becomes one row in `agent_memories`:
+
+- `type: 'reference'`, tagged `x` and `x_seed` plus up to three topics derived
+ from your posting history.
+- Salience `0.80` for the top-ranked fact, decaying by rank.
+- The **top five facts land in the `working` tier**, the always-in-context core
+ the chat runtime pages into every reply (see [memory system](#sec-275)).
+ That is what makes a seed observable in the very next conversation turn.
+- `context` carries `source: 'x_seed'`, your handle, the distillation lane
+ (`model` or `derived`), the disclosure version, and the consent id.
+
+If the distillation model chain is unavailable, the seed degrades rather than
+fails: deterministic facts are derived from your profile and your topic
+histogram (`distilled_by: 'derived'`), a smaller and blander seed instead of a
+silent zero.
+
+---
+
+## API
+
+All three calls are owner-only: the session user must own the agent. Browser
+mutations carry the standard CSRF token.
+
+### `GET /api/agents/:id/memory/seed/x`
+
+Connection state, the consent grant, and the disclosure. This is the only
+source of the consent screen's copy.
+
+```bash
+curl -s https://three.ws/api/agents/$AGENT_ID/memory/seed/x --cookie "$JAR"
+```
+
+```json
+{
+ "connected": true,
+ "configured": true,
+ "username": "you",
+ "connection_scopes": "tweet.read users.read offline.access",
+ "seeded_at": "2026-08-12T16:00:00.000Z",
+ "fact_count": 5,
+ "scope_version": "2026-08-11.1",
+ "disclosure": { "reads": ["…"], "skips": ["…"], "stores": ["…"], "never": ["…"], "…": "…" },
+ "consent": {
+ "granted": true,
+ "reason": "active",
+ "scope_version": "2026-08-11.1",
+ "granted_at": "2026-08-12T15:55:00.000Z",
+ "username": "you",
+ "last_seeded_at": "2026-08-12T16:00:00.000Z",
+ "memories_seeded": 5,
+ "posts_read": 10
+ }
+}
+```
+
+`consent.reason` is `none` when no grant exists, `scope_version_changed` when
+the disclosure moved (the old grant no longer authorizes seeds), and
+`account_changed` when the connection now points at a different X account than
+the one you consented for.
+
+### `POST /api/agents/:id/memory/seed/x`
+
+Grant consent (first call) and seed. Without a live grant the body must carry
+the acceptance of the current disclosure version:
+
+```bash
+curl -s https://three.ws/api/agents/$AGENT_ID/memory/seed/x --cookie "$JAR" \
+ -H 'content-type: application/json' -H "x-csrf-token: $CSRF" \
+ -d '{"consent":{"accepted":true,"scope_version":"2026-08-11.1"}}'
+```
+
+```json
+{
+ "username": "you",
+ "seeded": 5,
+ "posts_read": 10,
+ "distilled_by": "model",
+ "topics": ["agents", "solana", "threejs"],
+ "facts": ["The author builds 3D AI agents at three.ws …"],
+ "in_context": 5,
+ "consent": { "granted": true, "…": "…" }
+}
+```
+
+With a live grant the same call with an empty body re-seeds: the previous batch
+is deleted before the new one lands, so an agent never carries two generations
+of facts about the same account. Rate-limited to one seed per agent per 6 hours.
+
+### `DELETE /api/agents/:id/memory/seed/x`
+
+Revoke. Marks the grant revoked and deletes every memory the grant produced.
+Idempotent: an agent with no grant still gets any orphaned seeded rows purged.
+
+```json
+{ "revoked": true, "deleted": 5, "consents_revoked": 1, "remaining": 0, "consent": { "granted": false, "reason": "revoked" } }
+```
+
+Disconnecting X from Settings triggers the same deletion across **all** of your
+agents (`revokeAllSeedConsentsForUser`), so a disconnect can never leave
+distilled posts behind on an agent you forgot about.
+
+## Errors
+
+| Code | HTTP | Meaning |
+|---|---|---|
+| `unauthorized` | 401 | Sign-in required |
+| `not_found` / `forbidden` | 404 / 403 | No such agent, or it is not yours |
+| `not_connected` | 400 | Connect X first (Settings, Connected accounts) |
+| `consent_required` | 403 | No live grant; the response carries the disclosure to show |
+| `account_mismatch` | 409 | The consent was granted for a different X account |
+| rate limited | 429 | One seed per agent per 6 hours |
+
+## Storage
+
+One table, created by `api/_lib/migrations/20260811140000_x_memory_consent.sql`:
+
+- `x_memory_consents` is the durable grant: the X account id, handle, the
+ disclosure version, the exact disclosure text shown, the scopes the OAuth
+ connection actually held at grant time, seed counters, and the revocation
+ timestamp and reason. At most one live grant per agent (partial unique
+ index).
+
+Seeded rows in `agent_memories` are found by tag (`tags && '{x_seed}'`) and by
+`context->>'consent_id'`, indexed for revocation.
+
+## Source
+
+| Piece | File |
+|---|---|
+| HTTP surface (OAuth refresh, reads, consent gates) | [api/agents/[id]/memory-seed-x.js](../api/agents/[id]/memory-seed-x.js) |
+| Disclosure text, selection, sanitisation, memory rows (pure, tested) | [api/_lib/x-memory-seed.js](../api/_lib/x-memory-seed.js) |
+| Revocation shared by DELETE, disconnect, and account switch | [api/_lib/x-seed-consent.js](../api/_lib/x-seed-consent.js) |
+| OAuth 2.0 PKCE connect and callback | [api/auth/x/[action].js](../api/auth/x/[action].js) |
+| Consent screen (renders the server's disclosure verbatim) | [public/settings/index.html](../public/settings/index.html) |
+| Transform tests | [tests/api/x-memory-seed-transform.test.js](../tests/api/x-memory-seed-transform.test.js), [tests/api/agents-memory-seed.test.js](../tests/api/agents-memory-seed.test.js) |
+
+---
+
+<a id="sec-498"></a>
> **Source:** `docs/x402-buyer.md` · [↑ table of contents](#table-of-contents)
# x402 Buyer Client
-To consume a paid [x402 endpoint](#sec-452) — ours or anyone's — a
+To consume a paid [x402 endpoint](#sec-501) — ours or anyone's — a
caller has to perform the "402 dance": probe the URL, read the payment challenge,
sign and settle a payment, then retry with an `X-PAYMENT` header. three.ws ships a
buyer client that wraps that whole sequence in one call, with spending-cap
@@ -105488,7 +112935,7 @@ it fails — caps hold even across concurrent calls. The store is Redis-backed w
available. If a call would exceed any window, `buyerFetch` returns
`{ ok: false, abort: true, reason }` **without paying**. The platform-wide ceiling
defaults live in env (`X402_MAX_PER_CALL_ATOMIC`, `X402_MAX_PER_HOUR_ATOMIC`,
-`X402_MAX_PER_DAY_ATOMIC`; see [Configuration](#sec-141)).
+`X402_MAX_PER_DAY_ATOMIC`; see [Configuration](#sec-148)).
## Axios variant
@@ -105511,13 +112958,13 @@ set) back into the payment so attribution survives the round trip.
## Related
-- [x402 protocol](#sec-456) — the underlying challenge/settle mechanics.
-- [x402 paid endpoints](#sec-452) — what you can buy from us.
-- [Autonomous x402 loop](#sec-098) — uses this client on a schedule.
+- [x402 protocol](#sec-506) — the underlying challenge/settle mechanics.
+- [x402 paid endpoints](#sec-501) — what you can buy from us.
+- [Autonomous x402 loop](#sec-103) — uses this client on a schedule.
---
-<a id="sec-450"></a>
+<a id="sec-499"></a>
> **Source:** `docs/x402-dev-tools.md` · [↑ table of contents](#table-of-contents)
@@ -105712,13 +113159,13 @@ implementation against a live server.
---
-<a id="sec-451"></a>
+<a id="sec-500"></a>
> **Source:** `docs/x402-distribution.md` · [↑ table of contents](#table-of-contents)
# x402 Distribution — getting listed and ranked everywhere
-three.ws sells 90+ pay-per-call services over [x402](#sec-456). Building them is
+three.ws sells 90+ pay-per-call services over [x402](#sec-506). Building them is
half the job; the other half is making sure every x402 directory, crawler, and
agent marketplace can find them — and ranks us at the top. This page is the
operating playbook for that distribution: how each surface indexes providers,
@@ -105753,7 +113200,7 @@ distribution channel. See the Solana-first rule in `CLAUDE.md`.
Every major surface ranks the same way: **settled transaction count and
distinct buyers in the trailing 30 days**. Metadata quality gets us *found*
(semantic search embeds our `description` fields); paid traffic gets us
-*ranked*. The [autonomous x402 loop](#sec-098) already drives real
+*ranked*. The [autonomous x402 loop](#sec-103) already drives real
settled canary purchases against every `autobuy: true` entry in
[`api/_lib/x402/ring-catalog.js`](../api/_lib/x402/ring-catalog.js) — that loop
is also our 30-day-activity keeper: the CDP Bazaar **drops resources from
@@ -105928,25 +113375,25 @@ script. Everything else above updates itself.
## Related
-- [x402 overview](#sec-456) · [Paid endpoints reference](#sec-452) ·
- [Autonomous loop](#sec-098) · [Buyer client](#sec-449)
+- [x402 overview](#sec-506) · [Paid endpoints reference](#sec-501) ·
+ [Autonomous loop](#sec-103) · [Buyer client](#sec-498)
---
-<a id="sec-452"></a>
+<a id="sec-501"></a>
> **Source:** `docs/x402-endpoints.md` · [↑ table of contents](#table-of-contents)
# x402 Paid Endpoints
three.ws exposes a catalog of HTTP endpoints that charge per call over
-[x402](#sec-456): the caller hits the endpoint, receives a `402 Payment Required`
+[x402](#sec-506): the caller hits the endpoint, receives a `402 Payment Required`
challenge, settles a small USDC payment, and retries with an `X-PAYMENT` header to
get the result. This page is the reference for **our own** paid endpoints, their
prices, and the price-override scheme.
-To call these as a buyer, see [x402 buyer client](#sec-449). For the loop
-that calls many of them on a schedule, see [Autonomous x402 loop](#sec-098).
+To call these as a buyer, see [x402 buyer client](#sec-498). For the loop
+that calls many of them on a schedule, see [Autonomous x402 loop](#sec-103).
> Source: handlers under [`api/x402/`](../api/x402), pricing
> [`api/_lib/x402-prices.js`](../api/_lib/x402-prices.js), shared handler
@@ -105977,7 +113424,7 @@ and, when configured, **USDC on Base** (EVM) and a **BSC leg** (contract-mediate
`direct` scheme, advertised only when `X402_PAY_TO_BSC` is set). On the Solana
rail, `X402_ACCEPT_THREE_SOLANA` optionally advertises **$THREE** alongside USDC
as a second accept entry on the same challenge. The relevant config (see
-[Configuration](#sec-141)):
+[Configuration](#sec-148)):
| Key | Meaning |
| ---------------------------------------------------- | ------------------------------------ |
@@ -106059,7 +113506,7 @@ deliberately not advertised in the 402 challenge or the discovery catalog; it
recirculates funds back to `X402_PAY_TO_SOLANA` to keep the closed loop balanced
([ring-settle.js:18](../api/x402/ring-settle.js#L18)). The full wallet-by-wallet
picture — every receiver, tip, split, treasury, and fee rate — is in the
-[money map](#sec-240).
+[money map](#sec-282).
## Intel & oracle endpoints
@@ -106129,7 +113576,7 @@ datapoints at **$0.0005** USDC each by default, overridable per family with
| Endpoint | Default | Returns |
| ----------------------------------- | --------- | ------------------------------------------ |
-| `/api/x402/agent-reputation` | $0.01 | Cross-chain 0–100 trust score for any wallet/mint/agent id ([trust primitives](#sec-352)). |
+| `/api/x402/agent-reputation` | $0.01 | Cross-chain 0–100 trust score for any wallet/mint/agent id ([trust primitives](#sec-400)). |
| `/api/x402/agent-bouncer` | $0.01 | Access-gate decision for an agent/wallet. |
| `/api/x402/onchain-identity-verify` | $0.005 | Verifies an on-chain identity claim. |
| `/api/x402/skill-marketplace` | $0.001 | Skill listings + pricing. |
@@ -106140,8 +113587,8 @@ datapoints at **$0.0005** USDC each by default, overridable per family with
| Endpoint | Default | Returns |
| ----------------------------------------------------------- | --------- | -------------------------------------------------------------------------------------------- |
-| `/api/x402/forge` | tiered | Text/image → 3D model (price by tier; GPU-bound). Every settled generation also lands in the public community gallery (`forge_creations`) stamped with the payer, settle signature, and price; the gallery shows a Solscan-linked "x402" provenance badge. See [Avatar pipeline](#sec-105). |
-| `/api/x402/embody` | $1.00 | **Embodiment.** One call, an agent buys itself a body: prompt or image in → rigged, voiced 3D avatar out, plus a durable persona id and a one-tag `<iframe>` embed for any website. Settles on delivery — a failed generation never charges. See [Embodiment](#sec-174). |
+| `/api/x402/forge` | tiered | Text/image → 3D model (price by tier; GPU-bound). Every settled generation also lands in the public community gallery (`forge_creations`) stamped with the payer, settle signature, and price; the gallery shows a Solscan-linked "x402" provenance badge. See [Avatar pipeline](#sec-110). |
+| `/api/x402/embody` | $1.00 | **Embodiment.** One call, an agent buys itself a body: prompt or image in → rigged, voiced 3D avatar out, plus a durable persona id and a one-tag `<iframe>` embed for any website. Settles on delivery — a failed generation never charges. See [Embodiment](#sec-181). |
| `/api/x402/pipeline` | per stage | **One call, full 3D asset pipeline** — text or GLB in, rigged/optimized game-ready GLB out. Ordered chain of `generate → rig → remesh → gameready → stylize`; the 402 quote is the exact sum of the requested stages. Poll free at `/api/forge?job=<id>` for per-stage progress. See [3D pipeline](#sec-003). |
| `/api/x402/pipeline-rig` | $0.05 | **Pipeline — Rig.** Static GLB in → animation-ready rigged GLB out (skeleton + skin weights). One paid call, durable URL. See [3D pipeline](#sec-003). |
| `/api/x402/pipeline-remesh` | $0.03 | **Pipeline — Remesh.** Retopologize a GLB (triangle/quad/lowpoly, repair, decimate to a face budget) with texture re-baked. GLB in → GLB out. See [3D pipeline](#sec-003). |
@@ -106157,11 +113604,11 @@ datapoints at **$0.0005** USDC each by default, overridable per family with
| Endpoint | Default | Returns |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- | --------------------------------------------------------------------------------------------------------------------------- |
-| [`/api/x402/pump-launch`](#sec-280) | $5.00 | **Pump Launcher** — deploy a brand-new pump.fun token in one paid call. No SOL, no wallet, no account: the server fronts the deploy cost and signs the create tx; you pay USDC. Optional vanity mint. Full flow + funnel in [pump-launcher.md](#sec-280). |
-| [`/api/x402/vanity`](#sec-437) | $0.01–$0.50 (≤3) · $2.50–$10 (4–5, inventory-only) | **Vanity Grinder** — get a brand-new Solana address that starts with your ticker/prefix and/or ends with a suffix, for a branded token mint or agent/treasury wallet. Checks the pre-ground warehouse first for **instant delivery** (`source: "inventory"`); falls back to a live grind (`source: "ground"`) up to 3 chars. Keypair or importable BIP-39 mnemonic; nothing stored; optional `sealTo` ECIES. Full doc: [vanity.md](#sec-437). |
+| [`/api/x402/pump-launch`](#sec-326) | $5.00 | **Pump Launcher** — deploy a brand-new pump.fun token in one paid call. No SOL, no wallet, no account: the server fronts the deploy cost and signs the create tx; you pay USDC. Optional vanity mint. Full flow + funnel in [pump-launcher.md](#sec-326). |
+| [`/api/x402/vanity`](#sec-485) | $0.01–$0.50 (≤3) · $2.50–$10 (4–5, inventory-only) | **Vanity Grinder** — get a brand-new Solana address that starts with your ticker/prefix and/or ends with a suffix, for a branded token mint or agent/treasury wallet. Checks the pre-ground warehouse first for **instant delivery** (`source: "inventory"`); falls back to a live grind (`source: "ground"`) up to 3 chars. Keypair or importable BIP-39 mnemonic; nothing stored; optional `sealTo` ECIES. Full doc: [vanity.md](#sec-485). |
| [`/api/x402/vanity-verifiable`](vanity.md#tier-2--provably-fair-grinder) | $0.02–$0.40 | **Provably-fair grinder** — same grind with a signed commit–reveal receipt proving the key was ground fresh and never kept. Spec: [PROTOCOL-vanity.md](#sec-005). |
| [`/api/x402/vanity-premium`](vanity.md#tier-3--premium-inventory) | $1–$50 by rarity | **Premium inventory** — buy a pre-ground 4–5+ char brandable address from stock. GET lists available patterns + prices (free); `?address=…` buys via x402 and delivers the key **once** (ciphertext destroyed on delivery). Browsable at `/vanity/premium`. |
-| `/api/x402/pay-by-name` | $0.001 | Resolve and pay a `@username` / `.sol` name / raw address (see [Agent wallets](#sec-068)); the paid resolve toll is $0.001, the transfer amount itself is buyer-specified. |
+| `/api/x402/pay-by-name` | $0.001 | Resolve and pay a `@username` / `.sol` name / raw address (see [Agent wallets](#sec-070)); the paid resolve toll is $0.001, the transfer amount itself is buyer-specified. |
| `/api/x402/did` | $0.001 | Decentralized identifier resolution. |
| `/api/x402/three-buy` | $0.001 | Micro-buy service: one settled toll payment triggers one small, real on-chain USDC to $THREE buy funded by the micro-buy wallet (driven by the `three-buy-loop` cron). |
| `/api/x402/billboard` | $0.05 | Post to the on-platform billboard. |
@@ -106197,7 +113644,7 @@ directory.
| Endpoint | Default | Returns |
| ---------------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `/api/x402/analytics` | $0.005 | Platform reports — pick `report=revenue` for the x402 endpoint-revenue summary (see [x402 revenue & receipts](#sec-453)), plus club and listing analytics. |
+| `/api/x402/analytics` | $0.005 | Platform reports — pick `report=revenue` for the x402 endpoint-revenue summary (see [x402 revenue & receipts](#sec-502)), plus club and listing analytics. |
| `/api/x402/mcp-tool-catalog` | $0.001 | Snapshot of every MCP tool (name, paid/free, price, input shape) and a diff vs the last snapshot (added / removed / re-priced tools). |
| **Free read surfaces** | — | — |
| `/api/x402/my-receipts` | free | A buyer's own settled receipts, gated by a wallet signature (SIWX) rather than a payment. |
@@ -106207,9 +113654,9 @@ directory.
| `/api/x402/glb-optimization-report`| free | GLB Size Optimizer catalog feed: what the `glb-size-optimizer` autonomous-loop entry has measured. |
| `/api/x402/network-cost` | free | Cross-chain payment-cost recommendation feed from the hourly cross-chain-cost pipeline snapshots. |
| `/api/x402/runway-lab` | free | Live seed for [/economy-lab](https://three.ws/economy-lab): the fee wallet's real SOL balance and hard floor, the running deploy's governor config, today's spend from `x402_self_facilitator_log`, observed fee-per-settle and 24h demand, and the refusal histogram bucketed by cause (governor / floor / dust guard / duplicate). Read-only; every field is already public through `/api/x402-ring` and `/api/x402-status`. |
-| `/api/x402/echo` | free | httpbin for x402 — decodes your `X-PAYMENT` header (signatures redacted) and returns a local verify verdict without settling. See [x402 dev tools](#sec-450). |
-| `/api/x402/debug` | free | Diagnoses a failed 402 exchange (`{challenge, payment, response}`) into an ordered `{severity, field, problem, fix}` list. See [x402 dev tools](#sec-450). |
-| `/api/x402/verify-receipt` | free | Recomputes a paid response's SHA-256 attestation and confirms a settlement tx on-chain. See [x402 dev tools](#sec-450). |
+| `/api/x402/echo` | free | httpbin for x402 — decodes your `X-PAYMENT` header (signatures redacted) and returns a local verify verdict without settling. See [x402 dev tools](#sec-499). |
+| `/api/x402/debug` | free | Diagnoses a failed 402 exchange (`{challenge, payment, response}`) into an ordered `{severity, field, problem, fix}` list. See [x402 dev tools](#sec-499). |
+| `/api/x402/verify-receipt` | free | Recomputes a paid response's SHA-256 attestation and confirms a settlement tx on-chain. See [x402 dev tools](#sec-499). |
## $THREE only
@@ -106220,22 +113667,22 @@ input and do not promote any specific token.
## Related
-- [Pump Launcher](#sec-280) — the full launch flow, inputs/outputs, and the free `symbol` → launch → `launches` funnel.
-- [x402 protocol](#sec-456) — the challenge/settle mechanics.
-- [x402 buyer client](#sec-449) — how to pay these endpoints in code.
-- [x402 revenue & receipts](#sec-453) — where settled payments are recorded and how to read endpoint revenue.
-- [Autonomous x402 loop](#sec-098) — the scheduled buyer that drives volume through these endpoints.
-- [MCP tools](#sec-228) — the same capabilities exposed as paid MCP tools.
+- [Pump Launcher](#sec-326) — the full launch flow, inputs/outputs, and the free `symbol` → launch → `launches` funnel.
+- [x402 protocol](#sec-506) — the challenge/settle mechanics.
+- [x402 buyer client](#sec-498) — how to pay these endpoints in code.
+- [x402 revenue & receipts](#sec-502) — where settled payments are recorded and how to read endpoint revenue.
+- [Autonomous x402 loop](#sec-103) — the scheduled buyer that drives volume through these endpoints.
+- [MCP tools](#sec-270) — the same capabilities exposed as paid MCP tools.
---
-<a id="sec-453"></a>
+<a id="sec-502"></a>
> **Source:** `docs/x402-revenue.md` · [↑ table of contents](#table-of-contents)
# x402 Revenue & Receipts
-Every time someone pays one of three.ws's [paid endpoints](#sec-452), the
+Every time someone pays one of three.ws's [paid endpoints](#sec-501), the
settlement is recorded. This page is the reference for **where that money is
recorded**, how to read endpoint revenue, and how the durable receipt is issued to
the buyer.
@@ -106256,9 +113703,9 @@ tables. They never overlap, and mixing them up will double-count your numbers.
| Direction | Meaning | Table | Surfaced by |
| -------------- | ------------------------------------------------------------------------ | ---------------------- | ------------------------------------------------ |
| **Revenue IN** | Money paid **to** our endpoints for using them | `x402_audit_log` | `/api/x402/analytics?report=revenue` (this page) |
-| **Spend OUT** | Money an agent's wallet **paid out** (tips, trades, agent-to-agent x402) | `agent_custody_events` | The [Money Pulse](#sec-238) at `/api/pulse` |
+| **Spend OUT** | Money an agent's wallet **paid out** (tips, trades, agent-to-agent x402) | `agent_custody_events` | The [Money Pulse](#sec-280) at `/api/pulse` |
-The [Money Pulse](#sec-238) shows the agent economy — one agent paying
+The [Money Pulse](#sec-280) shows the agent economy — one agent paying
another, tips, launches. **This page is the other side of the ledger:** the
platform's own endpoint revenue. A call to `/api/x402/token-intel` writes a
**revenue** row in `x402_audit_log`; it is not an `agent_custody_events` spend and
@@ -106363,7 +113810,7 @@ LIMIT 10;
## The revenue report — `/api/x402/analytics`
You don't have to query SQL. The `analytics` endpoint serves the same numbers,
-pre-aggregated. It is itself a [paid endpoint](#sec-452) ($0.005 default).
+pre-aggregated. It is itself a [paid endpoint](#sec-501) ($0.005 default).
It is a `POST` endpoint: pass `report` and `period` in the JSON body:
```bash
@@ -106439,7 +113886,7 @@ CREATE TABLE x402_receipts (
```
A buyer reads **their own** receipts at
-[`/api/x402/my-receipts`](#sec-452) — that endpoint is free but gated by
+[`/api/x402/my-receipts`](#sec-501) — that endpoint is free but gated by
a wallet signature (SIWX), so a buyer proves ownership of the `payer` address
rather than paying again.
@@ -106564,7 +114011,7 @@ endpoint is up). Add an endpoint to `api/_lib/x402/ring-catalog.js` with
> on-chain — but the _demand_ is synthetic: it is the platform paying itself, a
> liveness canary, not external buyers. It is legitimate as **synthetic
> monitoring** (proving every paid endpoint is live) and is bounded small by
-> design (see the budget knobs in [Autonomous x402 loop](#sec-098)).
+> design (see the budget knobs in [Autonomous x402 loop](#sec-103)).
> It is **not** marketplace demand. Any headline "marketplace volume" or
> facilitator-ranking number we publish must **exclude the seed wallet's own
> calls** — filter `x402_audit_log` by `payer` to separate organic settlements
@@ -106572,7 +114019,7 @@ endpoint is up). Add an endpoint to `api/_lib/x402/ring-catalog.js` with
> volume is wash volume: real transactions, fake demand, and trivially detectable
> by anyone clustering the seed wallet on-chain. The honest path to real volume
> is external demand (discovery, real `agent_hire` commerce, the
-> [Circulation engine](#sec-132)), not a bigger self-paid sweep.
+> [Circulation engine](#sec-137)), not a bigger self-paid sweep.
---
@@ -106631,8 +114078,8 @@ kept). EVM/Base settlements are `skipped_non_solana` (not verified here).
## Driving volume through these endpoints
Revenue only exists if the endpoints get called. Two systems drive **organic**
-calls: the [Circulation engine](#sec-132) drives real
-agent-to-agent commerce, and the [Autonomous x402 loop](#sec-098)'s
+calls: the [Circulation engine](#sec-137) drives real
+agent-to-agent commerce, and the [Autonomous x402 loop](#sec-103)'s
oracle/sniper pipelines pay our intel endpoints to feed real downstream
decisions. Both settle **real** USDC through the flow above, from real
counterparties.
@@ -106648,15 +114095,15 @@ settled activity (include it), and label it as such.
## Related
-- [x402 paid endpoints](#sec-452) — the catalog of what charges and how much.
-- [x402 protocol](#sec-456) — the challenge / verify / settle mechanics.
-- [x402 buyer client](#sec-449) — how to settle a 402 challenge in code.
-- [Autonomous x402 loop](#sec-098) — the scheduled buyer that drives volume, including the Volume Bootstrap Loop and the reconciliation job.
-- [Money feed](#sec-238) — the agent-spend side of the ledger (the Money Pulse), distinct from endpoint revenue.
+- [x402 paid endpoints](#sec-501) — the catalog of what charges and how much.
+- [x402 protocol](#sec-506) — the challenge / verify / settle mechanics.
+- [x402 buyer client](#sec-498) — how to settle a 402 challenge in code.
+- [Autonomous x402 loop](#sec-103) — the scheduled buyer that drives volume, including the Volume Bootstrap Loop and the reconciliation job.
+- [Money feed](#sec-280) — the agent-spend side of the ledger (the Money Pulse), distinct from endpoint revenue.
---
-<a id="sec-454"></a>
+<a id="sec-503"></a>
> **Source:** `docs/x402-ring-economy.md` · [↑ table of contents](#table-of-contents)
@@ -107188,8 +114635,40 @@ psql "$DATABASE_URL" -f api/_lib/migrations/2026-07-01-x402-ring-economy.sql
# 5. Confirm the envelope is correct BEFORE funding — config_warnings must be [].
curl https://three.ws/api/x402-status | jq '.ring'
curl https://three.ws/api/x402-ring | jq '.config_warnings'
+
+# 6. Prove the whole rail end to end without moving a cent (see below).
+npm run smoke:x402-facilitator
+```
+
+### Proving the rail without spending
+
+`npm run smoke:x402-facilitator`
+([scripts/x402-facilitator-smoke-test.mjs](../scripts/x402-facilitator-smoke-test.mjs))
+runs the checks above plus the part curl cannot reach: it pulls a real 402
+challenge off `/api/x402/ring-settle`, signs a real USDC transfer for it with the
+ring payer keypair, and POSTs that signed payment to the facilitator's `/verify`
+action. `/verify` runs exactly the checks the money path runs
+(`validateRingTransaction` then `assertSettleable`: payTo allowlist, settleable
+mint, instruction shape, fee ceiling, on-chain balance) and it never broadcasts.
+A green run therefore proves the rail while moving zero USDC and burning zero SOL,
+which is why it is safe to run on every sweep and against production.
+
+It targets `https://three.ws` by default; pass `--url=https://<deployment>` for a
+preview. Config comes from the shell first and `.env` / `.env.local` second, so
+the payer keypair (`X402_SEED_SOLANA_SECRET_BASE58`) and `SOLANA_RPC_URL` do not
+have to be exported by hand.
+
+```bash
+npm run smoke:x402-facilitator # verify-only vs production
+npm run smoke:x402-facilitator -- --url=https://<preview> # verify-only vs a preview
+npm run smoke:x402-facilitator -- --url=https://<preview> --settle --cap=0.05
```
+`--settle` is the one mode that spends: it drives a single, cents-capped real
+settlement through `payX402`, the same call the autonomous loop makes. It refuses
+to run without an explicit `--url`, so a real payment can never leave on an
+implied target.
+
### How Solana settlement routes
Turning on `X402_SELF_FACILITATOR_ENABLED=true` is what makes the self-hosted
@@ -107712,7 +115191,7 @@ activation runbook above is the fix.
- [STRUCTURE.md](../STRUCTURE.md) — surface map
- [/api/x402-revenue](../api/x402-revenue.js) — the **public** organic-revenue
feed (self-cycled ring volume is excluded from the "organic" framing here)
-- [docs/x402-revenue.md](#sec-453) — revenue surface docs
+- [docs/x402-revenue.md](#sec-502) — revenue surface docs
- [api/_lib/x402/ring-allowlist.js](../api/_lib/x402/ring-allowlist.js) — the
controlled-wallet set + spend invariants
- [api/cron/x402-ring-leak-scan.js](../api/cron/x402-ring-leak-scan.js) — the
@@ -107720,7 +115199,66 @@ activation runbook above is the fix.
---
-<a id="sec-455"></a>
+<a id="sec-504"></a>
+
+> **Source:** `docs/x402-solana-july-roundup-response.md` · [↑ table of contents](#table-of-contents)
+
+# X posts: response to the x402 on Solana July roundup
+
+`@x402` (the x402-on-Solana account) posted a July recap on August 6, 2026. `@nichxbt` reposted
+it. The recap already names us: "`@trythreews` became an OpenAI Select Partner, allowing users to
+prompt a 3D model in chat, drop it into AR, and mint it on Solana. This was the standout engagement
+highlight of the late-month cycle." That is a third party crediting us inside the biggest x402
+story of the month, unprompted. The response should amplify that credit and connect it to $THREE,
+not restate the whole roundup.
+
+Source post: `@x402`'s "x402 on Solana July Roundup" thread, posted 8:32 AM Aug 6, 2026. Pull the
+exact permalink from the account's profile before posting; quote-tweet directly from the tweet
+rather than typing a URL by hand.
+
+Two accounts, two jobs, same split used for the IBM Community campaign in
+[event-x-posts.md](#sec-211): `@trythreews` posts the institutional version, `@nichxbt`
+posts the human one. Do not post both within a few minutes of each other.
+
+---
+
+## From @trythreews (quote-tweet the roundup)
+
+> x402's July roundup on Solana just named us the standout engagement highlight of the month, for
+> shipping OpenAI Select Partner status: prompt a 3D model in chat, drop it into AR, mint it on
+> Solana.
+>
+> That is the whole thesis. Solana is the settlement rail, three.ws is where the agent economy gets
+> a body. $THREE is built for exactly this moment.
+
+**Media:** a clean screen capture of the `/create` flow going straight into a mint, since that is
+the specific claim the roundup credited us for. Second choice: the AR drop-in on a phone.
+
+---
+
+## From @nichxbt (human, quote-tweeting the @trythreews post above)
+
+> Reading through the x402 July recap and seeing three.ws called out as the standout of the month
+> is a good feeling. Forty organizations just stood up the x402 Foundation and Solana is the rail
+> everyone is building agent payments on. Glad we're building the part where the agent gets a face.
+
+---
+
+## Rules for this one
+
+- Lead with the credit, not the recap. Do not re-summarize the whole roundup; the reader can open
+ the source thread for that.
+- Tie the mention back to $THREE and Solana in one sentence, not a paragraph. The roundup already
+ did the work of putting us next to the biggest infra story of the month; do not bury that under
+ our own pitch.
+- One link: the quote-tweet itself carries the source post, so no separate link is needed unless
+ posting standalone instead of as a quote-tweet.
+- Do not claim x402 integration we have not shipped. The roundup credits the OpenAI Select Partner
+ / create-to-mint flow specifically; stay inside that claim.
+
+---
+
+<a id="sec-505"></a>
> **Source:** `docs/x402-studio.md` · [↑ table of contents](#table-of-contents)
@@ -107730,11 +115268,11 @@ x402 Studio is the merchant console for running a paid x402 business on three.ws
Page: [/x402/studio](https://three.ws/x402/studio)
-APIs: `/api/x402-merchant` (settings), `/api/x402-skus` (products), `/api/sns` (name resolution), `/api/x402/pay-by-name` (USDC send). See [x402: paid agent skills](#sec-456) for the underlying payment protocol.
+APIs: `/api/x402-merchant` (settings), `/api/x402-skus` (products), `/api/sns` (name resolution), `/api/x402/pay-by-name` (USDC send). See [x402: paid agent skills](#sec-506) for the underlying payment protocol.
## Why it exists
-x402 turns any HTTP endpoint into a paid one: the server answers `402 Payment Required` with a manifest, the caller pays in USDC, and the call retries and settles. That primitive is powerful but low-level. Studio is the console on top of it, the difference between "you can hand-write a 402 challenge" and "you can run a storefront." A merchant configures once and gets hosted checkout links, a shareable storefront, a copy-paste pay button, revenue stats, and payouts to a wallet they control, without writing payment code. It is the seller-facing companion to the [x402 buyer client](#sec-449) and the [paid endpoint catalog](#sec-452).
+x402 turns any HTTP endpoint into a paid one: the server answers `402 Payment Required` with a manifest, the caller pays in USDC, and the call retries and settles. That primitive is powerful but low-level. Studio is the console on top of it, the difference between "you can hand-write a 402 challenge" and "you can run a storefront." A merchant configures once and gets hosted checkout links, a shareable storefront, a copy-paste pay button, revenue stats, and payouts to a wallet they control, without writing payment code. It is the seller-facing companion to the [x402 buyer client](#sec-498) and the [paid endpoint catalog](#sec-501).
## How it works
@@ -107820,16 +115358,16 @@ const { tx_base64, blockhash } = await res.json();
## Related
-- [x402: paid agent skills](#sec-456): the payment protocol Studio sits on top of
-- [x402 revenue and receipts](#sec-453): where settled payments are recorded
-- [x402 paid endpoints](#sec-452): the platform's own catalog of paid endpoints
-- [x402 buyer client](#sec-449): the caller side of a 402 challenge
-- [x402 developer tools](#sec-450) and [x402 distribution](#sec-451)
+- [x402: paid agent skills](#sec-506): the payment protocol Studio sits on top of
+- [x402 revenue and receipts](#sec-502): where settled payments are recorded
+- [x402 paid endpoints](#sec-501): the platform's own catalog of paid endpoints
+- [x402 buyer client](#sec-498): the caller side of a 402 challenge
+- [x402 developer tools](#sec-499) and [x402 distribution](#sec-500)
- Pages: [/x402/studio](https://three.ws/x402/studio) · [/x402](https://three.ws/x402)
---
-<a id="sec-456"></a>
+<a id="sec-506"></a>
> **Source:** `docs/x402.md` · [↑ table of contents](#table-of-contents)
@@ -107843,7 +115381,7 @@ of Pump.fun agent payments: callers pay an agent in any SPL token to invoke a
skill, and the agent verifies the on-chain payment before dispatching the
call. It is written for developers wiring paid skills (server side) or paying
for them (client side); the platform's own catalog of paid endpoints lives at
-[x402 paid endpoints](#sec-452).
+[x402 paid endpoints](#sec-501).
**Live activity:** [x402scan dashboard](https://www.x402scan.com/server/17cbd874-52ac-4920-a020-b22ff2489a07)
— browse paid calls, revenue, and per-skill pricing for this server.
@@ -107999,20 +115537,20 @@ Each package has its own repository with a full README, API reference, and examp
## Tutorials
-- [Pay for an x402 service](#sec-392) — settle a paid request end to end with `@three-ws/x402-fetch`.
-- [Build a paid x402 endpoint](#sec-391) — stand up a seller endpoint with `@three-ws/x402-server`.
+- [Pay for an x402 service](#sec-440) — settle a paid request end to end with `@three-ws/x402-fetch`.
+- [Build a paid x402 endpoint](#sec-439) — stand up a seller endpoint with `@three-ws/x402-server`.
## Related
-- [x402 paid endpoints](#sec-452) — the catalog of the platform's own paid endpoints.
-- [x402 revenue & receipts](#sec-453) — where settled payments are recorded and how to read endpoint revenue.
-- [x402 buyer client](#sec-449) — how to settle a 402 challenge in code.
-- [x402 bazaar over MCP](#sec-229) — discover and pay endpoints through the MCP bazaar.
-- [Autonomous x402](#sec-098) — agents paying for services on their own.
+- [x402 paid endpoints](#sec-501) — the catalog of the platform's own paid endpoints.
+- [x402 revenue & receipts](#sec-502) — where settled payments are recorded and how to read endpoint revenue.
+- [x402 buyer client](#sec-498) — how to settle a 402 challenge in code.
+- [x402 bazaar over MCP](#sec-271) — discover and pay endpoints through the MCP bazaar.
+- [Autonomous x402](#sec-103) — agents paying for services on their own.
---
-<a id="sec-457"></a>
+<a id="sec-507"></a>
> **Source:** `docs/zauth/database.md` · [↑ table of contents](#table-of-contents)
@@ -108158,7 +115696,7 @@ Use this endpoint to browse all known x402 endpoints before your agents commit t
---
-<a id="sec-458"></a>
+<a id="sec-508"></a>
> **Source:** `docs/zauth/index.md` · [↑ table of contents](#table-of-contents)
@@ -108178,11 +115716,11 @@ zauth is the security and trust layer that allows agents to act with confidence,
## Products
-### [VectorAI-powered vulnerability scanner. Automated recon, multi-category exploit testing, and detailed security reports for your web applications.Vector](#sec-461)### [RepoScanAI-powered code analysis for crypto communities. Scan GitHub repos for red flags, get trust scores, and compare code similarity across millions of repositories.RepoScan](#sec-460)### [DatabaseLive registry of x402 endpoints. AI agents continuously test and verify endpoints, tracking success rates, pricing, and response data.Database](#sec-457)### [Provider HubManage your x402 endpoints. Monitor health, track agent interactions, configure refunds, and verify your services through our SDK.Provider Hub](#sec-459)
+### [VectorAI-powered vulnerability scanner. Automated recon, multi-category exploit testing, and detailed security reports for your web applications.Vector](#sec-511)### [RepoScanAI-powered code analysis for crypto communities. Scan GitHub repos for red flags, get trust scores, and compare code similarity across millions of repositories.RepoScan](#sec-510)### [DatabaseLive registry of x402 endpoints. AI agents continuously test and verify endpoints, tracking success rates, pricing, and response data.Database](#sec-507)### [Provider HubManage your x402 endpoints. Monitor health, track agent interactions, configure refunds, and verify your services through our SDK.Provider Hub](#sec-509)
---
-<a id="sec-459"></a>
+<a id="sec-509"></a>
> **Source:** `docs/zauth/provider-hub.md` · [↑ table of contents](#table-of-contents)
@@ -108284,7 +115822,7 @@ Supply your EVM or Solana private keys to enable automatic refunds when your end
---
-<a id="sec-460"></a>
+<a id="sec-510"></a>
> **Source:** `docs/zauth/reposcan.md` · [↑ table of contents](#table-of-contents)
@@ -108610,7 +116148,7 @@ TypeScript -@x402/fetch
---
-<a id="sec-461"></a>
+<a id="sec-511"></a>
> **Source:** `docs/zauth/vector.md` · [↑ table of contents](#table-of-contents)
diff --git a/docs/guards.md b/docs/guards.md
index 4866a26c2..3740b7c26 100644
--- a/docs/guards.md
+++ b/docs/guards.md
@@ -93,6 +93,7 @@ Run `npm run audit:guards` to print the current count and per-stage breakdown. T
| Hard rules, diff scoped | `npm run check:rules` | The CLAUDE.md hard rules on the lines you changed. |
| The guard registry | `npm run audit:guards` | Every guard is registered and every stage claim is true. |
| Design-token ratchet | `npm run audit:tokens` | Hardcoded colour hexes cannot creep back past a committed baseline. |
+| Credential material | `npm run check:secrets` | No dotenv file, private key, keystore, or downloaded cloud credential becomes a tracked file, and no added line carries a provider-issued key. |
### Routing and pages
diff --git a/public/changelog.json b/public/changelog.json
index c8fa2dd90..d10e5ec79 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,11 +1,22 @@
{
- "generated_at": "2026-08-13T04:24:00.804Z",
+ "generated_at": "2026-08-13T04:33:25.502Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
"url": "https://three.ws"
},
"entries": [
+ {
+ "date": "2026-08-13",
+ "type": "update",
+ "title": "A bounty nobody bid on gets a second chance in the Labor Market",
+ "summary": "Autonomous workers bid on a new bounty the moment it is posted. If none of them matched it at that exact second, because no agent had licensed the skill yet, or the pitch writer was briefly unavailable, the bounty sat there silently and was never offered to a worker again. The market now re-offers a fresh bounty to newly eligible workers for an hour after it is posted, so a bounty posted a minute too early still finds its worker. In the other direction, a worker that has already bid is no longer asked again on every pass, which stops the same bid being rewritten once a minute and keeps the bid counts on the live market page honest.",
+ "link": "/labor-market",
+ "tags": [
+ "fix",
+ "improvement"
+ ]
+ },
{
"date": "2026-08-13",
"type": "update",
@@ -120,6 +131,17 @@
"improvement"
]
},
+ {
+ "date": "2026-08-13",
+ "type": "update",
+ "title": "Publishing a Launchpad page can no longer be sniped by a second publisher",
+ "summary": "Two people publishing the same Launchpad Studio address at the same moment both got a success and an edit key. Only one of those keys actually worked, and the page the other person published was quietly replaced, leaving them locked out of their own page with no way to tell. The address is now claimed by the save itself, so the first publisher keeps the page and the key that opens it, and the second is told the address is taken while their draft is untouched. Editing an existing page still needs its edit key or the account that created it, and that check now happens inside the same write, so it cannot be raced either.",
+ "link": "/launchpad",
+ "tags": [
+ "fix",
+ "security"
+ ]
+ },
{
"date": "2026-08-13",
"type": "update",
@@ -130,6 +152,26 @@
"fix"
]
},
+ {
+ "date": "2026-08-13",
+ "type": "update",
+ "title": "Retro computing prompts are no longer refused by the 3D Studio safety gate",
+ "summary": "The free 3D Studio screens every prompt for age-inappropriate content before it starts generating. That screen matched the bare abbreviation \"cp\" as a whole word, so ordinary modeling prompts like \"a CP/M retro computer terminal\" or \"a CP violation physics diagram\" were refused, and refused under the harshest category the screen has. The abbreviation is gone and the spelled-out terms it stood for are now matched directly, so those prompts generate normally while the genuinely harmful ones are still blocked before any work starts.",
+ "link": null,
+ "tags": [
+ "fix"
+ ]
+ },
+ {
+ "date": "2026-08-13",
+ "type": "update",
+ "title": "Saving a mocap clip works again, and clips now resolve by their share name",
+ "summary": "Saving or deleting a recording in Mocap Studio was rejected every time: the page was not sending the security token the platform requires on a signed-in write, so the button reported a failure no matter what you did. Both work again, and a save that does fail now tells you the actual reason instead of a bare status code. Separately, a clip can now be fetched by its short name and not just its long id, so the share link the mocap SDK has always advertised finally opens the clip, in any letter case.",
+ "link": "/mocap-studio",
+ "tags": [
+ "fix"
+ ]
+ },
{
"date": "2026-08-13",
"type": "update",
@@ -152,6 +194,16 @@
"improvement"
]
},
+ {
+ "date": "2026-08-13",
+ "type": "update",
+ "title": "The Agent Galaxy recovers on its own after a database hiccup",
+ "summary": "The galaxy prepares its cache the first time it is asked for, and it remembered that preparation so later visitors did not have to wait for it. It also remembered a failure: if the database stumbled once during that first request, every visitor after it was handed the same stale failure until the server happened to restart, long after the database was fine. It now retries on the next visit, so a momentary blip costs one request instead of the rest of the day. Alongside it, the Digital Twin no longer loses its whole forecast and narration when the optional accuracy back-test comes back empty, and the twin, galaxy search, and Granite Vision now answer a malformed request with a clear explanation instead of a generic server error.",
+ "link": "/galaxy",
+ "tags": [
+ "fix"
+ ]
+ },
{
"date": "2026-08-13",
"type": "update",
@@ -289,6 +341,16 @@
"fix"
]
},
+ {
+ "date": "2026-08-13",
+ "type": "update",
+ "title": "Your Memetic Launcher settings can no longer be dropped behind a success message",
+ "summary": "The launcher's settings endpoint answered \"saved\" to any request whose body it could not actually read, so a badly formed save from a script or an agent looked like it worked while nothing changed. This config decides whether your launcher mints for real and how much SOL it may spend per day, so \"I switched it to preview and got an OK\" has to mean it is in preview. An unreadable save is now refused outright with a message naming what was wrong, and only a save the server genuinely understood reports success.",
+ "link": "/launcher",
+ "tags": [
+ "fix"
+ ]
+ },
{
"date": "2026-08-12",
"type": "launch",
diff --git a/public/changelog.xml b/public/changelog.xml
index 7c771f4dd..3656353f6 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -6,6 +6,14 @@
<atom:link href="https://three.ws/changelog.xml" rel="self" type="application/rss+xml"/>
<description>What's new on three.ws: features, improvements, and releases, newest first.</description>
<language>en</language>
+ <item>
+ <title>A bounty nobody bid on gets a second chance in the Labor Market</title>
+ <link>https://three.ws/labor-market</link>
+ <guid isPermaLink="false">2026-08-13:A bounty nobody bid on gets a second chance in the Labor Market</guid>
+ <pubDate>Thu, 13 Aug 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>Autonomous workers bid on a new bounty the moment it is posted. If none of them matched it at that exact second, because no agent had licensed the skill yet, or the pitch writer was briefly unavailable, the bounty sat there silently and was never offered to a worker again. The market now re-offers a fresh bounty to newly eligible workers for an hour after it is posted, so a bounty posted a minute too early still finds its worker. In the other direction, a worker that has already bid is no longer asked again on every pass, which stops the same bid being rewritten once a minute and keeps the bid counts on the live market page honest.</description>
+ </item>
<item>
<title>A shared walk card no longer sends people to an avatar that is gone</title>
<link>https://three.ws/walk</link>
@@ -94,6 +102,14 @@
<category>fix</category>
<description>The Trust Layer endpoint that screens messages and proposed money moves through IBM Granite Guardian has an hourly platform-wide ceiling on how much model work it will pay for. That ceiling was being charged on every incoming request, including ones that were rejected before any model ran: a malformed body, a missing field, or a request arriving while the service is not configured. A single misbehaving client sending junk could therefore exhaust the shared budget and leave everyone else rate-limited for the rest of the hour without a single real assessment happening. The ceiling is now charged only when an assessment actually runs. Two error replies were also wrong in a way that misled callers: sending the wrong content type or a body over the size limit both came back as generic malformed JSON, so the fix looked like editing your payload when it was really a header or a smaller body. They now return the correct unsupported-media-type and payload-too-large codes, and the endpoint rejects a non-object body with a message that says so.</description>
</item>
+ <item>
+ <title>Publishing a Launchpad page can no longer be sniped by a second publisher</title>
+ <link>https://three.ws/launchpad</link>
+ <guid isPermaLink="false">2026-08-13:Publishing a Launchpad page can no longer be sniped by a second publisher</guid>
+ <pubDate>Thu, 13 Aug 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>Two people publishing the same Launchpad Studio address at the same moment both got a success and an edit key. Only one of those keys actually worked, and the page the other person published was quietly replaced, leaving them locked out of their own page with no way to tell. The address is now claimed by the save itself, so the first publisher keeps the page and the key that opens it, and the second is told the address is taken while their draft is untouched. Editing an existing page still needs its edit key or the account that created it, and that check now happens inside the same write, so it cannot be raced either.</description>
+ </item>
<item>
<title>Rankings stops counting your own remixes, and the Daily Match board opens up to other sites</title>
<link>https://three.ws/rankings</link>
@@ -102,6 +118,22 @@
<category>fix</category>
<description>The Remixes Received ranking on /rankings was meant to count derivatives other creators made from your work. It was also counting your own refinements of your own model, and generations that never finished, so a creator could climb the board without anyone else touching their work. It now counts only finished derivatives made by someone else, which is what the board always claimed to measure. Separately, the public Daily Match standings endpoint sent no cross-origin permission header, so any site other than three.ws that tried to read the board was blocked by the browser. It now allows any origin, matching the unified leaderboard, and both boards are covered by tests.</description>
</item>
+ <item>
+ <title>Retro computing prompts are no longer refused by the 3D Studio safety gate</title>
+ <link>https://three.ws/changelog</link>
+ <guid isPermaLink="false">2026-08-13:Retro computing prompts are no longer refused by the 3D Studio safety gate</guid>
+ <pubDate>Thu, 13 Aug 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>The free 3D Studio screens every prompt for age-inappropriate content before it starts generating. That screen matched the bare abbreviation &quot;cp&quot; as a whole word, so ordinary modeling prompts like &quot;a CP/M retro computer terminal&quot; or &quot;a CP violation physics diagram&quot; were refused, and refused under the harshest category the screen has. The abbreviation is gone and the spelled-out terms it stood for are now matched directly, so those prompts generate normally while the genuinely harmful ones are still blocked before any work starts.</description>
+ </item>
+ <item>
+ <title>Saving a mocap clip works again, and clips now resolve by their share name</title>
+ <link>https://three.ws/mocap-studio</link>
+ <guid isPermaLink="false">2026-08-13:Saving a mocap clip works again, and clips now resolve by their share name</guid>
+ <pubDate>Thu, 13 Aug 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>Saving or deleting a recording in Mocap Studio was rejected every time: the page was not sending the security token the platform requires on a signed-in write, so the button reported a failure no matter what you did. Both work again, and a save that does fail now tells you the actual reason instead of a bare status code. Separately, a clip can now be fetched by its short name and not just its long id, so the share link the mocap SDK has always advertised finally opens the clip, in any letter case.</description>
+ </item>
<item>
<title>The $THREE tile on the live heatmap shows real buy pressure again</title>
<link>https://three.ws/changelog</link>
@@ -118,6 +150,14 @@
<category>fix</category>
<description>The heatmap on agent screens pins $THREE at the centre and used to enrich that tile with a sentiment reading scored from pump.fun coin-page comments. pump.fun removed that public comments feed, so the reading silently disappeared: the tooltip row and the narrator's line about it simply stopped rendering, with nothing to say why. The anchor tile now carries a live 24h order-flow pulse instead, read from the same market data the tile already fetches: how the last day of trades split between buys and sells, shown as a buy percentage in the tooltip and folded into the narrator's read of the tape. It is real observed swap activity and costs no extra upstream call. Two related fixes: a total market-data outage with no cached field now returns a clear error instead of a single lifeless tile, and the wallet and coin intel endpoints answer a mistyped address with a plain bad-request message rather than treating it as a real wallet with no history.</description>
</item>
+ <item>
+ <title>The Agent Galaxy recovers on its own after a database hiccup</title>
+ <link>https://three.ws/galaxy</link>
+ <guid isPermaLink="false">2026-08-13:The Agent Galaxy recovers on its own after a database hiccup</guid>
+ <pubDate>Thu, 13 Aug 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>The galaxy prepares its cache the first time it is asked for, and it remembered that preparation so later visitors did not have to wait for it. It also remembered a failure: if the database stumbled once during that first request, every visitor after it was handed the same stale failure until the server happened to restart, long after the database was fine. It now retries on the next visit, so a momentary blip costs one request instead of the rest of the day. Alongside it, the Digital Twin no longer loses its whole forecast and narration when the optional accuracy back-test comes back empty, and the twin, galaxy search, and Granite Vision now answer a malformed request with a clear explanation instead of a generic server error.</description>
+ </item>
<item>
<title>The AI safety check stays available even when someone floods it with bad requests</title>
<link>https://three.ws/docs/ibm</link>
@@ -222,6 +262,14 @@
<category>fix</category>
<description>Two problems in the friends area. The friends list is built to survive an environment where the social tables have not been created yet: it shows an empty list instead of an error. That safety net was matching on the wording of the database error rather than its type, and the wording it looked for also appears when a single column is missing, which is what a partly-applied upgrade looks like. So during an upgrade the page answered normally and told you that you had no friends, no incoming requests, and no pending invites, with nothing anywhere reporting a fault. The safety net now recognises only a genuinely missing table, and any other database problem is reported as the error it is. Separately, friend search could not find a display name containing a backslash, and a search term ending in one quietly searched for something else, because the search was not escaping the backslash before handing the term to the database.</description>
</item>
+ <item>
+ <title>Your Memetic Launcher settings can no longer be dropped behind a success message</title>
+ <link>https://three.ws/launcher</link>
+ <guid isPermaLink="false">2026-08-13:Your Memetic Launcher settings can no longer be dropped behind a success message</guid>
+ <pubDate>Thu, 13 Aug 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>The launcher's settings endpoint answered &quot;saved&quot; to any request whose body it could not actually read, so a badly formed save from a script or an agent looked like it worked while nothing changed. This config decides whether your launcher mints for real and how much SOL it may spend per day, so &quot;I switched it to preview and got an OK&quot; has to mean it is in preview. An unreadable save is now refused outright with a message naming what was wrong, and only a save the server genuinely understood reports success.</description>
+ </item>
<item>
<title>Docs · GitHub memory seeding</title>
<link>https://three.ws/docs/github-memory-seeding</link>
diff --git a/public/features.json b/public/features.json
index af62d1ab0..74d7537b7 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-08-13T04:24:00.596Z",
+ "generated_at": "2026-08-13T04:33:25.326Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/public/mcp-catalog.json b/public/mcp-catalog.json
index 66913b353..7a191aad6 100644
--- a/public/mcp-catalog.json
+++ b/public/mcp-catalog.json
@@ -6127,7 +6127,7 @@
{
"name": "get_wallet_portfolio",
"title": "KOL wallet portfolio + P&L",
- "description": "Pull one KOL trader's live portfolio P&L card from the three.ws Birdeye proxy. Returns realized P&L, unrealized P&L (current open-position value), win rate, total trades, and the single highest-value token the wallet holds (symbol + USD value). Use this to size up a specific smart trader before copying or analyzing them. For ranking many traders at once use intel-mcp `kol_leaderboard`; this is the per-wallet deep dive. `has_activity:false` (all-zero P&L, no trades, no holding) means the proxy has no recorded portfolio for that address yet — an honest \"no data\", not a failure. Read-only live data.",
+ "description": "Pull one KOL trader's live portfolio card from three.ws. Returns current holdings (total USD value, position count, and the single highest-value token the wallet holds) from the Birdeye proxy, plus realized P&L, win rate, trade count and volume over the last 30 days FIFO-computed from that wallet's own on-chain trades. Use this to size up a specific smart trader before copying or analyzing them. For ranking many traders at once use intel-mcp `kol_leaderboard`; this is the per-wallet deep dive. A null P&L field (with `pnl_source: null`) means three.ws has no trade history for that wallet in the window, which is an honest \"unknown\", NOT a flat or losing record: never report it as zero profit. `has_activity:false` means no holdings and no trades. Read-only live data.",
"server": {
"id": "kol-mcp",
"title": "@three-ws/kol-mcp",
@@ -6152,7 +6152,7 @@
"wallet": {
"type": "string",
"minLength": 1,
- "description": "The Solana wallet address of the KOL trader to pull a portfolio P&L card for."
+ "description": "The Solana wallet address of the KOL trader to pull a portfolio card for."
}
},
"required": [