Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
docs(x-grok): log the order 024 retry, npm test is green and only the coin-gated catalog commit waits on owner row 26
nirholas6084da3283c8
diff --git a/prompts/finish/024-x-grok-02-cloud-agent-rate-limits.md b/prompts/finish/024-x-grok-02-cloud-agent-rate-limits.mdindex 3ee46f421..e09e855e4 100644--- a/prompts/finish/024-x-grok-02-cloud-agent-rate-limits.md+++ b/prompts/finish/024-x-grok-02-cloud-agent-rate-limits.md@@ -1,6 +1,6 @@# x-grok 02: rate limits that survive a shared cloud agent egress-**Evolve status (2026-10-08):** built and verified except one Definition of done line. Shipped in `0e9635b52` (install tokens, token-keyed caps, JSON-RPC denials, tests) and `e92209633` (/connect generator, docs, probe script, changelog). Every line passes except "`npm test` passes": `vitest run` still ends 34 failed files / 72 failed tests, the same count measured before this order, 33 of them listed in order 401 and the 34th (`tests/asset-host-liveness.test.js`, tripped by `tests/agent-earnings-board.test.js` naming `cdn.three.ws`) unrelated to this change. Remaining: order 401 makes `npm test` green; then rerun `npm test` and retire this order. No owner action and no migration are needed.+**Evolve status (2026-10-08, retry):** every Definition of done line is verified except `npm test` at HEAD, which waits on one owner yes (OWNER-ACTIONS row 26). Install tokens shipped in `0e9635b52` and `e92209633`. This retry cleared the whole red that order 401 measured (commits `821771220` through `83e77b691`), and `E2E_PORT=3107 npm test` exits 0 on the working tree: vitest 2194 files / 31,910 tests passed, Playwright 262 passed, 5 skipped. At HEAD alone, `tests/mcp-schema.test.js` fails 3 tests because the regenerated `public/mcp-catalog.json` that fixes it names other crypto projects, so it is held uncommitted under the coin gate. Remaining: the owner approves and commits that held catalog (row 26). Then rerun `npm test` at HEAD and retire this order. No migration is needed.How to run: paste this file's repo path into a fresh Claude Code chat in this repository and say "run this work order". Runnable now, no gate. Run after 023.diff --git a/prompts/finish/401-auto-restore-green-vitest.md b/prompts/finish/401-auto-restore-green-vitest.mdindex 60de83776..c31aedd6f 100644--- a/prompts/finish/401-auto-restore-green-vitest.md+++ b/prompts/finish/401-auto-restore-green-vitest.md@@ -1,5 +1,7 @@# 401. Restore a green `npm run test:core`: 37 failing files, 74 failing tests on `main`+**Evolve status (2026-10-08, from the order 024 retry):** the suite is green on the evolve working tree. `E2E_PORT=3107 npm test` exits 0: vitest 2194 files / 31,910 tests, 0 failed (from 34 files / 72 tests), and Playwright 262 passed, 5 skipped. The fixes landed one commit per class: D/E `821771220`, A `025a9474c` and `2cc2908d7` (`pay_quote`, because pay_and_call could never run), B `4da09d565`, C `f8af368cb` `3c21bc70e` `0cf94cb6b` `6c546e91b` `219ad4534`. Playwright: `cc84796d6` `fcbf15d47` `3ae6db5ff` `a6113184d` `958b10969` `83e77b691`; webkit system deps were installed with `sudo npx playwright install-deps webkit`. The audits pass: `audit:mcp-catalog`, `check:mcp-catalog`, `audit:guards` (85 OK). No skips were added, and there are no `/workspaces` paths left. One line is still open: at HEAD, `tests/mcp-schema.test.js` fails 3 tests until the coin-gated regenerated `public/mcp-catalog.json` is committed (OWNER-ACTIONS row 26). After that, verify `npm run test:core` at HEAD and retire this order.+How to run: paste this file's repo path into a fresh Claude Code chat in this repository and say "run this work order". Runnable now, no gate. Written by the evolve scout lane on 2026-10-08 from the measurements below.## Operating clause (binding)diff --git a/prompts/finish/_context/production-100-OWNER-ACTIONS.md b/prompts/finish/_context/production-100-OWNER-ACTIONS.mdindex 0f2ba948f..c46d8fd53 100644--- a/prompts/finish/_context/production-100-OWNER-ACTIONS.md+++ b/prompts/finish/_context/production-100-OWNER-ACTIONS.md@@ -9,7 +9,7 @@ it and, if that unblocks a work order, say which one in the owning pack's `produRows carry the date they were added so staleness is visible. Re-verify a row before actingon it; some resolve themselves as other work lands.-## Open rows (2026-10-08: rows 1 and 2 re-measured by the triage sweep, row 24 added for the paid Solana RPC credits, row 25 added for the MCP connector OAuth deploy; 2026-09-30: row 23 added for the $THREE receiver wallets; 2026-09-29: row 19 re-measured after the agent-sniper deploy; 2026-09-09: row 19 added, and row 1 corrected because its outage premise no longer holds; rows 1, 2, 3, 9, 13, 15 and 16 re-measured 2026-09-04; the former row 18 was cleared that day and its number is not reused; the 2026-09-02 and 2026-08-09 passes are folded in below)+## Open rows (2026-10-08: row 26 added for the coin-gated MCP catalog regeneration; rows 1 and 2 re-measured by the triage sweep, row 24 added for the paid Solana RPC credits, row 25 added for the MCP connector OAuth deploy; 2026-09-30: row 23 added for the $THREE receiver wallets; 2026-09-29: row 19 re-measured after the agent-sniper deploy; 2026-09-09: row 19 added, and row 1 corrected because its outage premise no longer holds; rows 1, 2, 3, 9, 13, 15 and 16 re-measured 2026-09-04; the former row 18 was cleared that day and its number is not reused; the 2026-09-02 and 2026-08-09 passes are folded in below)| # | Action | Size | Unblocks | Detail lives in ||---|---|---|---|---|@@ -37,6 +37,7 @@ on it; some resolve themselves as other work lands.| 23 | **Name the two $THREE receiver wallets** (added 2026-09-30). `/api/healthz` reports `three_token_rail` down and signed-in `POST /api/token/quote` answers `503 treasury_unavailable`, so no $THREE-priced purchase can be priced (Forge paid tiers, spins, scarcity mints, token marketplace sales, copy-trading fees). The quote signing key is done (`three-quote-secret`, wired on `three-ws-api-00466-85g`); only `THREE_TREASURY_WALLET` and `THREE_REWARDS_WALLET` remain. No revision ever held them, so there is nothing to restore. Candidates: treasury `wwwwwDxFWRn7grgr3Esrsg5C6NvDoDHSA4gaCffccrU` (x402 receiver, already holds a $THREE account), rewards `WwwuGbqHrwF5RG89KhUbmRWEvjnRH9k5kVM5p7T3WwW` (the economy master, which `REWARDS_DISTRIBUTOR_SECRET` signs as). The rewards candidate is also the buyback signer, so arming `THREE_BUYBACK_ENABLED` or `THREE_MICROBUY_ENABLED` would sweep the whole rewards pool into the treasury; decide that before arming either lane. Setting the two vars moves no funds by itself: `gcloud run services update three-ws-api --region us-central1 --update-env-vars THREE_TREASURY_WALLET=<treasury>,THREE_REWARDS_WALLET=<rewards>`. | two addresses | The whole $THREE purchase rail | [docs/money-map.md](../../docs/money-map.md#three-split-receivers-inbound-three) || 24 | **Top up the paid Solana RPC plans** (added 2026-10-08). Helius answers `429: max usage reached` on every call: 45,461 such lines on `three-ws-api` in the 24 hours to 2026-10-08 17:10 UTC, the oldest retained one from 2026-09-08. healthz reads `helius` degraded and `rpc_lanes` "all 2 paid lanes exhausted", so Solana traffic runs on throttled free nodes. That is the whole cause of `agent_index` reading down: 172 of the 176 erroring Solana cursors carry `solana rpc 429 @ public.rpc.solanavibestation.com`, the last free lane, and the rest are a free provider's own errors. No config change adds credits, and promoting the reserve lane is the documented wrong fix. Upgrade or top up the Helius plan (and the second paid lane), then confirm `helius` and `rpc_lanes` read ok on `curl -s https://three.ws/api/healthz`. | billing | Solana agent index freshness, balance reads, every on-chain route's latency | [docs/ops/production-log-triage.md](../../docs/ops/production-log-triage.md), "Every paid Solana RPC lane exhausted at once" || 25 | **Deploy so cloud MCP connectors can sign in to four hosted servers** (added 2026-10-08 by the evolve loop, x-grok order 023). Production (`fe2a8b24f`, revision `three-ws-api-00479-d7z`) still points every OAuth 401 at the root protected-resource document naming `/api/mcp`, so a stock MCP SDK client (Grok Bot, claude.ai connectors) refuses to start sign-in on `/api/mcp-3d`, `/api/mcp-agent`, `/api/mcp-bazaar` and `/api/ibm-mcp`. The fix is on `main` (`7985f1cce`, `59bdf5707`) and the probe passes all seven servers against local code. The submit gate also needs the pending `20261008150000_revenue_direct_settle_backfill.sql` applied first (`npm run db:status`, then `npm run db:migrate`), which is another session's payout backfill, so read it before applying. Then `npm run deploy:gcp:full`, then `npm run probe:mcp-clients -- --json prompts/x-grok/_generated/connector-probe.json`, which must print `all 7 servers passed`. | one deploy | Grok Bot and every OAuth connector on four servers; closes x-grok order 023 | [docs/mcp.md](../../../docs/mcp.md#client-compatibility), [prompts/x-grok/_generated/connector-probe.json](../../x-grok/_generated/connector-probe.json) |+| 26 | **Approve committing the regenerated MCP catalog** (added 2026-10-08 by the evolve loop, x-grok order 024 and order 401). `npm test` is green on the evolve working tree (vitest 2194 files / 31,910 tests, Playwright 262 passed with `E2E_PORT=3107`), but three files stay uncommitted under the coin commit gate because their regenerated text names other crypto projects already named in committed source: `public/mcp-catalog.json` (fills the missing input schemas of `agora_quote_register` and `preview_agent_identity` and adds `pay_quote`; without it `tests/mcp-schema.test.js` fails 3 tests at HEAD), `tests/fixtures/mcp-golden-tools.json` (the `audit:mcp-golden` contract refresh) and a one-line dash fix in `packages/agora-mcp/src/tools/register.js`. They are held as an `evolve held:` stash. To approve, on `main`: `git stash list | grep 'evolve held'`, review with `git stash show -p <ref>`, then `git stash apply <ref>` and commit those three paths; or regenerate instead with `npm run build:mcp-catalog && node scripts/audit-mcp-golden.mjs --update` and commit `public/mcp-catalog.json tests/fixtures/mcp-golden-tools.json`. Then `E2E_PORT=3107 npm test` should exit 0 at HEAD and orders 024 and 401 can retire. | one yes | Orders 024 and 401 | [x-grok-PROGRESS.md](x-grok-PROGRESS.md), 2026-10-08 order 024 retry entry |Deleted 2026-09-01: the former row 5 (`WALLET_ENCRYPTION_KEY_PREVIOUS` policy), whichdeclared itself "delete on reading" and had outlived that by three weeks.diff --git a/prompts/finish/_context/x-grok-PROGRESS.md b/prompts/finish/_context/x-grok-PROGRESS.mdindex ebbf98b7e..fd5b30758 100644--- a/prompts/finish/_context/x-grok-PROGRESS.md+++ b/prompts/finish/_context/x-grok-PROGRESS.md@@ -73,4 +73,14 @@ Cross-session handoff for the `x-grok-` orders ([x-grok-00-CONTEXT.md](x-grok-00- Behavior change: a capped generation now answers HTTP 200 with a JSON-RPC error (code -32000, `data.limit`, `keyed_on`, `reset_at`, `retry_after`, `remedy`), keeping `Retry-After` and the `RateLimit-*` headers, because the Python MCP SDK raises on a non-2xx before reading the body. The transport cap stays an HTTP 429 but gains `reset_at` and `remedy`.- Judgment call: tokens are HMAC-signed and self-authenticating (key from `MCP_INSTALL_SECRET`, else `JWT_SECRET`, domain-separated) rather than stored hashed in a table as task 1 worded it. A token is only a rate-limit key, so storage would buy revocation of nothing; skipping it removes a database round trip from every studio request and a pending migration. Production already has `JWT_SECRET`; set `MCP_INSTALL_SECRET` only to rotate tokens independently.- Local dev run (API on :3108, Vite on :3107): token A admitted 4 times, refused on the 5th with `generation_burst keyed_on=install`; token B from the same IP admitted. A no-token caller is refused on the 5th with the install-token remedy.-- Remaining: `npm test`. `vitest run` ends 34 failed files / 72 failed tests, unchanged by this order; order 401 owns 33 of the files, and `tests/asset-host-liveness.test.js` fails on `tests/agent-earnings-board.test.js` naming `cdn.three.ws`. Retire this order after 401 lands and `npm test` is green.+- Remaining: `npm test`. `vitest run` ends 34 failed files / 72 failed tests, unchanged by this order; order 401 owns 33 of the files, and `tests/asset-host-liveness.test.js` fails on `tests/agent-earnings-board.test.js` naming the retired CDN host. Retire this order after 401 lands and `npm test` is green.++## 2026-10-08: order 024 retry, `npm test` green on the working tree, HEAD waits on owner row 26 (order file kept)++- Step 0 re-measured at `77fccadb0`: `vitest run` 34 failed files / 72 failed tests, the order 401 list. The order's own install-token work (`0e9635b52`, `e92209633`) was unchanged and its suites passed.+- Rather than wait on order 401, this retry fixed the red, because `npm test` was this order's only open line. Vitest: `821771220` (animation, IMU, path and clock-bound suites), `025a9474c` (stale route test doubles), `2cc2908d7` (`pay_quote`: the tool policy required a preview no server shipped, so `pay_and_call` could never run), `4da09d565` (MCP catalog pins, `preview_macro` hints), `f8af368cb` (two live real-funds gaps: inference credit top-up, auto-fund and provision now require the agreements), `3c21bc70e` (guard registry, the earnings resource is published), `0cf94cb6b` (vendor brands in docs), `6c546e91b` (route, asset-host and X queue checks), `219ad4534` (a duplicated /docs page entry).+- Playwright, which nobody could reach before: `a6113184d` and `958b10969` add `E2E_PORT` so the suite runs off the owner's :3000. `cc84796d6`: the dev server 302s `<agent-3d>` to the published bundle when dist-lib is unbuilt. `fcbf15d47`: nav-auth loads beside nav.html. `3ae6db5ff`: the launch modal kept the visitor's input when the SOL price landed, and the /launch specs follow the rebuilt page. `83e77b691`: a crews cold-transform budget. Webkit needed `sudo npx playwright install-deps webkit`.+- Result: `E2E_PORT=3107 CI=1 npm test` exit 0 on the working tree. Vitest: 2194 files passed, 9 skipped; 31,910 tests passed, 195 skipped. Playwright: 262 passed, 5 skipped.+- Held under the coin gate (uncommitted, preserved as an `evolve held:` stash): `public/mcp-catalog.json`, `tests/fixtures/mcp-golden-tools.json`, and a dash fix in `packages/agora-mcp/src/tools/register.js`. Their regenerated text names other crypto projects already in committed source. At HEAD without them, `tests/mcp-schema.test.js` fails 3 tests and everything else passes.+- Remaining: OWNER-ACTIONS row 26 (approve and commit the held catalog, or regenerate it on main), then `npm test` at HEAD, then retire this order and 401.+