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(store-submissions): mark prompts 17-21 shipped in the tracker

fudjiad9ba498d09cb
diff --git a/prompts/store-submissions/_generated/TRACKER.md b/prompts/store-submissions/_generated/TRACKER.md
index b93cd696d..fbcdd2fd0 100644
--- a/prompts/store-submissions/_generated/TRACKER.md
+++ b/prompts/store-submissions/_generated/TRACKER.md
@@ -1,8 +1,10 @@
# three.ws Store Submission Tracker
-Last updated: 2026-07-08 (full 04–21 verification pass + P0 production-incident fix — see below). Re-run prompt 14 near the end to refresh status.
+Last updated: 2026-07-10 (Track G build-status reconciliation — prompts 17–21 confirmed built/tested/wired and shown complete; P0 readBody caveats corrected to reflect the code fix has landed). Re-run prompt 14 near the end to refresh status.
-**2026-07-08 P0 incident (now fixed, redeploying):** every POST/JSON-RPC endpoint on production (`/api/mcp-studio`, `/api/mcp`, `/api/mcp-3d`, `/api/3d/studio`, `/api/forge`, and ~380 more via the shared `readJson`/`readBody` helper) was hanging indefinitely with zero response — not a rate-limit 429, a true hang. Root cause: the Cloud Run migration's `server/index.mjs` runs `express.json()`/etc. ahead of every handler, fully draining the raw request stream and stashing the parsed result on `req.body` — but `api/_lib/http.js` `readBody()` still tried to re-listen for `'data'/'end'` on that already-ended stream, which never fires again, so the promise hung forever. This invalidated every "live-verified" claim below that depended on a POST call (04, 06, 07, 08, 09, 11, 12, 13). Fixed in `api/_lib/http.js` `readBody()` (prefers `req.rawBody`/`req.body`, falls back to the raw stream with a `req.complete` guard + 15s timeout) and `server/index.mjs` (captures `req.rawBody` via the body-parsers' `verify` hook so HMAC-signature webhooks — `api/webhooks/replicate.js`, QStash, SNS — still see exact bytes). A second, unrelated deploy-blocker was found and fixed while shipping this: `package-lock.json` was out of sync with `package.json`'s `packages/defi-utils` + `packages/tool-sdk` workspaces, so `npm ci` (every Cloud Build deploy) failed outright — synced and committed. Redeployed via `npm run build:gcp`-equivalent + `gcloud builds submit` from a clean `git archive HEAD` (the live worktree has ~100 unrelated concurrent-agent files in flight, so the deploy source was isolated to committed HEAD only). Re-verify every "live" claim below against production after this deploy lands.
+**Last verified: 2026-07-10** — method: direct code read of every prompt-17–21 implementation file plus its wiring, and a live run of the Track-G/16 suites. `npx vitest run tests/spatial-mcp.test.js tests/provenance-3d.test.js tests/ar-export.test.js tests/embed-gate.test.js tests/mcp3d-persona-identity.test.js tests/tokenize-3d.test.js` → **6 files / 98 tests, all passing** (spatial-mcp 22, provenance-3d 20, ar-export 13, embed-gate 20, mcp3d-persona-identity 8, tokenize-3d 15). Confirmed the five new 3D-Studio tool groups are wired into `api/_mcp3d/catalog.js` (`spatialDefs`, `arDefs`, `provenanceDefs`, `personaIdentityDefs` — lines 7–10, 25) and `create_gated_embed` into `api/_mcp/catalog.js` (line 13/21). Confirmed the P0 `readBody` fix is present in the tree (commit `ba37182f3`).
+
+**P0 readBody hang — code fix LANDED (commit `ba37182f3`); prod re-verification is the remaining step.** The incident: every POST/JSON-RPC endpoint on production (`/api/mcp-studio`, `/api/mcp`, `/api/mcp-3d`, `/api/3d/studio`, `/api/forge`, and ~380 more via the shared `readJson`/`readBody` helper) hung indefinitely with zero response — not a rate-limit 429, a true hang. Root cause: the Cloud Run migration's `server/index.mjs` runs `express.json()`/etc. ahead of every handler, fully draining the raw request stream and stashing the parsed result on `req.body` — but `api/_lib/http.js` `readBody()` still tried to re-listen for `'data'/'end'` on that already-ended stream, which never fires again, so the promise hung forever. This invalidated every "live-verified" claim below that depended on a POST call (04, 06, 07, 08, 09, 11, 12, 13). **Fix (present in the working tree, verified by code read 2026-07-10):** `api/_lib/http.js` `readBody()` now prefers `req.rawBody`, then `req.body`, and only falls back to the raw stream behind a `req.complete` guard (returns `Buffer.alloc(0)` immediately on an already-ended stream) plus a `READ_BODY_TIMEOUT_MS` (default 15s) timeout; `server/index.mjs` captures `req.rawBody` via the body-parsers' `verify` hook so HMAC-signature webhooks (`api/webhooks/replicate.js`, QStash, SNS) still see exact bytes. A second, unrelated deploy-blocker was fixed at the same time: `package-lock.json` was out of sync with `package.json`'s `packages/defi-utils` + `packages/tool-sdk` workspaces, so `npm ci` failed on every Cloud Build deploy — synced and committed. **What remains is operational, not code:** confirm the fix is serving on the live Cloud Run revision and re-run each "live" POST claim below against production. The code has landed; prod re-verification is the open step.
Legend: **not-started** | **blocked** | **ready-to-submit** | **submitted** | **live**
@@ -34,22 +36,22 @@ Legend: **not-started** | **blocked** | **ready-to-submit** | **submitted** | **
| 14 | Cross-store asset kit | ✅ complete | `_generated/assets/`, `listing-copy.md`, `TRACKER.md` |
| 02 | Claude reviewer access guide | ✅ complete (shipped 2026-06-25; re-audited + closed out 2026-07-08) | `_generated/claude-reviewer-guide.md` + `_generated/claude-tool-call-evidence.md` (16/16 paid tools clean `PaymentRequired`; review-mode entitlement is real code in `mcp-server/src/payments.js`) |
| 03 | Claude submission package | ⬜ not started | `_generated/claude-submission.md` (exists from earlier run — verify/refresh) |
-| 04 | OpenAI free 3D endpoint | 🟨 code-complete, was blocked on the P0 hang | `api/mcp-studio.js` + `api/_mcp-studio/*` — 9 tools (6 generation incl. `refine_model`, 3 persona), real rate limiting (`api/_lib/rate-limit.js:413-496`), zero coin surface (grep-clean), 46/46 tests pass (`tests/mcp-studio*.test.js`). `server-studio.json` description corrected (was stale "five tools"). Blocked end-to-end verification on the P0 `readBody` hang (now fixed, redeploying) and the `/viewer?src=` 404 (dist/viewer.html exists and the vercel.json rewrite is correct — likely just stale on the previously-deployed container; re-verify post-deploy) |
+| 04 | OpenAI free 3D endpoint | 🟨 code-complete, was blocked on the P0 hang | `api/mcp-studio.js` + `api/_mcp-studio/*` — 9 tools (6 generation incl. `refine_model`, 3 persona), real rate limiting (`api/_lib/rate-limit.js:413-496`), zero coin surface (grep-clean), 46/46 tests pass (`tests/mcp-studio*.test.js`). `server-studio.json` description corrected (was stale "five tools"). Blocked end-to-end verification on the P0 `readBody` hang (code fix landed, commit `ba37182f3`; prod re-verification remains) and the `/viewer?src=` 404 (dist/viewer.html exists and the vercel.json rewrite is correct — likely just stale on the previously-deployed container; re-verify against the live revision) |
| 05 | OpenAI Apps SDK component | ✅ complete (prior session) | GLB viewer component; hero screenshot |
-| 06 | OpenAI submission package | 🟨 package complete, verdict was NOT READY on B1/B2 | `_generated/openai-submission.md` (7/7 policy PASS, real screenshots, real captured tool responses with no PII/internal-ID leakage). Its own §0 verdict cites B1 (rate-limiter hang — this was actually the P0 `readBody` bug, not a quota issue; now fixed) and B2 (`/viewer` 404). Re-run the doc's verification steps against the redeployed production before treating this as ready-to-submit |
+| 06 | OpenAI submission package | 🟨 package complete, verdict was NOT READY on B1/B2 | `_generated/openai-submission.md` (7/7 policy PASS, real screenshots, real captured tool responses with no PII/internal-ID leakage). Its own §0 verdict cites B1 (rate-limiter hang — this was actually the P0 `readBody` bug, not a quota issue; code fix landed, commit `ba37182f3`) and B2 (`/viewer` 404). Re-run the doc's verification steps against the live production revision before treating this as ready-to-submit |
| 07 | Embodied live agent avatar | 🟨 code-complete, live demo was blocked by the P0 hang | `create_agent_persona`/`get_agent_persona`/`persona_say` (`api/_mcp-studio/persona-tools.js`, mirrored in `api/_mcp3d/tools/studio.js`), real Postgres+R2 persistence (`api/_lib/persona-store.js`, not in-memory), real viseme/lip-sync cascade + emotion→clip mapping + idle loop (`apps-sdk/embodiment/embodiment-stage.js`, `src/embodiment/*`), never-T-pose fallback gate. 67/67 tests pass. Evidence (6 real rendered screenshots) in `_generated/embodiment/` — captured locally (`npm run dev`), not yet re-confirmed against redeployed prod |
| 08 | Live agent commerce | 🟨 loop + guardrails real; real USDC settlement never demonstrated | `agent_hire_discover`/`agent_hire` (`mcp-server/src/tools/agent-hire*.js`), real spend-cap + confirmation-threshold guards (`mcp-server/src/lib/agent-commerce.js`, enforced *before* delegation dispatch), real x402 facilitator confirmed live in prod (`POST /api/x402/remix-asset` → real 402 challenge). Evidence in `_generated/commerce/` was captured via a disclosed reviewer-mode bypass that skips the actual on-chain transfer — no real settlement reference exists yet. **Blocked on:** a funded Solana wallet (`X402_BUYER_SOLANA_SECRET_BASE58`) + `MCP_AGENT_TALK_TOKEN` in prod (owner-only secrets/funds), and the official `@x402/mcp` auto-pay client rejecting `mcp://` tool URLs (interop bug, fixable but not yet fixed) |
| 09 | Conversational remixable 3D | 🟨 complete; independently re-confirmed 2026-07-08 | `refine_model` (`mcp-server/src/tools/refine-model.js` paid, `api/_mcp-studio/tools.js` free), shared lineage core (`mcp-server/src/tools/_lineage.js`), real regenerations with distinct byte sizes + branch/revert lineage in `_generated/iteration/`. Royalty split math + caps unit-tested and correct (`api/_lib/remix-royalty.js`), but **no real on-chain royalty settlement has ever run** (no funded payout wallet; `/api/remix-feed` is live but empty). **Second independent pass (2026-07-08, ~01:40 UTC):** re-ran the full prompt-09 test set after restoring a corrupted `node_modules` (unrelated concurrent-install drift in the shared worktree) — 154/155 green, the sole failure is an unrelated `restyle_material` annotation drift from a different concurrent commit, not this prompt's code. Confirmed live in prod: `GET /api/remix-feed` responds (`enabled:true, items:[]`) but `POST /api/mcp-studio` and `POST /api/forge` both still hang 45–90s with zero bytes — the P0 `readBody` fix (commit `ba37182f3`, 01:13 UTC) postdates the currently-serving revision `three-ws-api-00016-pp4` (deployed 01:03 UTC), so the redeploy referenced in the P0 note above has not landed yet; re-verify post-deploy. Checked prod env directly (`gcloud run services describe`, 112 vars) — neither `REMIX_ROYALTY_PAYOUT_KEY` nor `CLUB_SOLANA_TREASURY_SECRET_KEY_B64` is set, confirming the royalty payout wallet gap is real, not stale. Also confirmed `transferSolanaUSDC` (the settlement rail) is hardcoded to Solana **mainnet** with real USDC — there is no devnet path to rehearse this leg with fake funds, so it is a genuine owner-funding blocker, not a code gap (consistent with the CLAUDE.md no-mocks rule). Found+fixed (prior pass): `tests/mcp-tool-result.test.js` had a stale `writes[]` allowlist missing `refine_model` (real regression, now fixed, still holding) |
| 10 | Claude plugin marketplace | ✅ complete (prior session) | 4 installable plugins |
-| 11 | Agent Skills pack | ✅ complete | `.agents/skills/` — 40 skills incl. real `generate-3d-model`/`create-3d-avatar`/`rig-a-model`, pack manifest (`SKILLS.md`, `skills-pack.json`), `docs/agent-skills.md` (3 install paths), category tags, grep-clean 3d/creative subset. Live E2E test against `/api/mcp-studio` was blocked by the P0 hang (now fixed) |
-| 12 | OpenAI GPT Store Actions | 🟨 built + previously live-verified, was blocked by the P0 hang | `api/3d/studio.js` + `_generated/openai-actions.yaml` (lints clean via `npx @redocly/cli lint` — reconfirmed 2026-07-08) + `_generated/openai-gpt-config.md`. A captured real production response (2026-07-07) shows a working GLB still resolving live. Live re-verification blocked by the P0 hang until redeploy lands |
+| 11 | Agent Skills pack | ✅ complete | `.agents/skills/` — 40 skills incl. real `generate-3d-model`/`create-3d-avatar`/`rig-a-model`, pack manifest (`SKILLS.md`, `skills-pack.json`), `docs/agent-skills.md` (3 install paths), category tags, grep-clean 3d/creative subset. Live E2E test against `/api/mcp-studio` was blocked by the P0 hang (code fix landed, commit `ba37182f3`; re-run the smoke test against the live revision) |
+| 12 | OpenAI GPT Store Actions | 🟨 built + previously live-verified, was blocked by the P0 hang | `api/3d/studio.js` + `_generated/openai-actions.yaml` (lints clean via `npx @redocly/cli lint` — reconfirmed 2026-07-08) + `_generated/openai-gpt-config.md`. A captured real production response (2026-07-07) shows a working GLB still resolving live. P0 `readBody` fix landed (commit `ba37182f3`); live re-verification against the current revision remains |
| 13 | MCP registries & directories | ✅ complete, republish staged | 7 root `server*.json` + `mcp-server/server.json` all schema-current; canonical `_generated/mcp-listing-source.json` (42 servers: 7 remote + 35 stdio, regenerated 2026-07-08 after `server-studio.json`'s description fix); per-directory docs for all 5 third-party registries in `_generated/mcp-directories/`. Live registry query found 41/42 servers present, 30 stale + 1 missing (`server-studio.json`) — `_generated/mcp-registry-republish.sh` has the exact staged `mcp-publisher` commands, regenerated 2026-07-08, **not run** (needs `[HUMAN: mcp-publisher login]`). `STRUCTURE.md`'s stale "38 total" corrected to 42. **Re-audit 2026-07-08 (post P0-fix deploy):** confirmed the redeploy referenced in the top-of-file P0 note has actually landed — live `POST tools/list` (plain `Accept: application/json`, the shape a registry crawler sends) now answers in <1s on all 7 hosted remotes with real tool counts (`/api/mcp` 40, `/api/mcp-3d` 32, `/api/mcp-studio` 9, `/api/mcp-agent` 6, `/api/mcp-bazaar` 5, `/api/ibm-mcp` 6, `/api/pump-fun-mcp` 19) — zero hangs, matching each server's `remotes[].url` in its manifest exactly. Re-ran both generator scripts (`build-mcp-listing-source.mjs`, `build-mcp-directory-docs.mjs`) — output already matched the committed files byte-for-byte (no drift). Re-ran `build-registry-republish.mjs` against the live registry — identical 30-command output (29 stale + 1 new, 12 current), confirming the staged batch is still accurate. Spot-checked 6 npm identifiers (`@three-ws/mcp-server`, `avatar-agent`, `x402-mcp`, `activity-mcp`, `three-token-mcp`, `pumpfun-mcp`) against the live npm registry — all versions match their manifests; `npx -y` start-and-list-tools confirmed live for `x402-mcp` (4 tools), `activity-mcp` (5 tools), `avatar-agent` (20 tools) outside the workspace (in-workspace `npx` resolves to hoisted `node_modules` and breaks ESM resolution — a sandbox artifact, not a package defect). Compliance grep (manifests + all 5 directory docs + canonical source) — zero non-$THREE coin references. `npm run build:pages` passes. README.md/docs/mcp.md already link the official registry + Smithery/Glama/PulseMCP/mcp.so + the `_generated/mcp-directories/` folder; `data/changelog.json` already carries the listing entry. Nothing left to build for this prompt — only the `[HUMAN: mcp-publisher login]` gate (item 5 below) and the per-directory account/claim steps (item 6) remain. |
| 16 | Tokenized 3D NFT | 🟨 code-complete, live mint blocked | `mint_3d_asset` + `get_3d_asset_onchain` shipped + unit-verified (15/15). Live devnet mint re-attempted 2026-07-08 (`node scripts/tokenize-3d-devnet-e2e.mjs`) — still could not obtain devnet SOL (faucet/RPC did not respond within 2 min, consistent with the documented daily-IP faucet limit). Run `scripts/tokenize-3d-devnet-e2e.mjs` (or `E2E_PAYER_SECRET=…` with a pre-funded devnet payer) to finish — `[HUMAN: fund a devnet wallet or wait out the faucet limit]`. Evidence: `_generated/tokenized/` |
-| 17 | Embodied on-chain identity | ⬜ not started (verified 2026-07-08) | No `persona_identity`/`persona_tip`/`persona_send` code anywhere. Not human-blocked — genuinely unbuilt, needs net-new implementation. Reusable infra confirmed real: `provision_wallet` (`api/_mcpagent/tools.js:345`), `solana_agent_reputation` (`api/_mcp/tools/solana.js:109`), persona storage (prompt 07) |
-| 18 | Token-gated 3D embeds | ⬜ not started (verified 2026-07-08) | No `create_gated_embed` code anywhere. Not human-blocked — genuinely unbuilt. Strong reusable starting point found: `api/_lib/world-gate.js` + `api/_lib/holder-pass.js` (server-verified SPL balance + signed short-lived access token, already shipped for multiplayer world gating — same pattern this prompt needs, just not wired to `src/avatar-embed.js`) |
-| 19 | Verifiable AI-3D provenance | ⬜ not started (verified 2026-07-08) | No `specs/PROVENANCE_3D.md`, `anchor_provenance`, or `verify_provenance` anywhere. Not human-blocked — genuinely unbuilt. Reusable infra confirmed real: `api/_lib/attest-event.js` (existing Solana memo-attestation pattern used by `review-attest.js`/`tournament-attest.js`), sha256 hashing helpers already used platform-wide |
-| 20 | Spatial MCP standard | ⬜ not started (verified 2026-07-08) | No `specs/SPATIAL_MCP.md`, `validate_spatial_response`, or `docs/spatial-mcp.md` anywhere. Not human-blocked — genuinely unbuilt (spec-writing + validator + wiring existing 3D tool outputs to a shared shape) |
-| 21 | AR-ready exports | ⬜ not started (verified 2026-07-08) | No `export_ar` tool anywhere. Not human-blocked — genuinely unbuilt, but real reusable AR infra already exists and is coin-clean: `src/usdz-pipeline.js`/`src/usdz-animated.js` (real in-browser GLB→USDZ via three.js `USDZExporter`), `src/ar/quick-look.js` + `src/ar/scene-viewer.js` (real device-aware launch), all currently scoped to avatars only, not exposed as a generic MCP tool |
+| 17 | Embodied on-chain identity | ✅ complete (verified 2026-07-10; live USDC demo funding-gated) | Tools `persona_identity`/`persona_tip`/`persona_send` in `api/_mcp3d/tools/persona-identity.js` (wired into `api/_mcp3d/catalog.js:10` via `personaIdentityDefs`), backed by `api/_lib/persona-wallet.js` (real wallet resolution + guarded settlement) and `api/_lib/persona-spend-ledger.js` (per-persona spend caps). Tests: `tests/mcp3d-persona-identity.test.js` **8/8 pass** (also `tests/persona-wallet.test.js`). A live on-chain USDC settle still needs a funded wallet — `[HUMAN: fund a Solana wallet]` |
+| 18 | Token-gated 3D embeds | ✅ complete (verified 2026-07-10) | `create_gated_embed` in `api/_mcp/tools/embed.js` (wired into `api/_mcp/catalog.js:13/21` via `embedDefs`), server-verified balance gate in `api/_lib/embed-gate.js`, routes `api/embed/{gate-create,gate-verify,resolve}.js`, `specs/EMBED_SPEC.md`. Tests: `tests/embed-gate.test.js` **20/20 pass**. Built on the shipped `world-gate.js`/`holder-pass.js` signed-token pattern as planned |
+| 19 | Verifiable AI-3D provenance | ✅ complete (verified 2026-07-10; live anchor funding-gated) | `verify_provenance` (FREE, read-only, both stores) + `anchor_provenance` (paid) in `api/_mcp3d/tools/provenance.js` (wired into `api/_mcp3d/catalog.js:9` via `provenanceDefs`), hashing/credential core in `api/_lib/provenance-3d.js`, on-chain anchor in `api/_lib/provenance-anchor.js`, spec `specs/PROVENANCE_3D.md`, route `api/provenance.js`, docs `docs/provenance.md`. Tests: `tests/provenance-3d.test.js` **20/20 pass**. A real on-chain anchor needs a funded issuer key — `[HUMAN: fund the issuer]` |
+| 20 | Spatial MCP standard | ✅ complete (verified 2026-07-10) | `validate_spatial_response` in `api/_mcp3d/tools/spatial.js` (wired into `api/_mcp3d/catalog.js:7` via `spatialDefs`), validator/spec core in `api/_lib/spatial-mcp.js`, spec `specs/SPATIAL_MCP.md`, reference renderer `public/spatial-mcp/spatial-renderer.js` (+ `index.html`), docs `docs/spatial-mcp.md`. Tests: `tests/spatial-mcp.test.js` **22/22 pass** |
+| 21 | AR-ready exports | ✅ complete (verified 2026-07-10) | `export_ar` in `api/_mcp3d/tools/ar.js` (wired into `api/_mcp3d/catalog.js:8` via `arDefs`), device-aware launch in `api/_lib/ar-launch.js`, route `api/ar.js`. Tests: `tests/ar-export.test.js` **13/13 pass**. Generalises the existing `src/usdz-pipeline.js` + `src/ar/*` device-aware launch beyond avatars; zero crypto surface |
---