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(owner-actions): add row 48 for the dist-lib CDN embed fix awaiting deploy

nirholasabb1dcd5a98c
diff --git a/prompts/finish/_context/production-100-OWNER-ACTIONS.md b/prompts/finish/_context/production-100-OWNER-ACTIONS.md
index 5154bc2ac..a70b7e865 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 `produ
Rows carry the date they were added so staleness is visible. Re-verify a row before acting
on it; some resolve themselves as other work lands.
-## Open rows (2026-10-12 17:54 UTC (triage-lane sweep, second pass): row 1's same-day "11 behind" figure corrected to the real deploy gap of 0 (querying `/api/version` live, not `/api/healthz`, which has no commit field), row 47 added for CoinGecko's keyless tier being rate-limited (`COINGECKO_API_KEY` already absent from the service, so the finding's own pre-approved env fix is a no-op); 2026-10-12 (triage-lane sweep): row 1 re-measured against the canonical `threews` remote, 11 commits behind `main` (down from 28, local stale ref corrected), row 45 added for the HF image-provider (fal-ai/nscale) credit exhaustion, a separate pool from row 6; 2026-10-11 (best3d order 070 close-out): rows 43 and 44 added for the `model-partcrafter` and `model-holopart` first deploys; 2026-10-11 (triage-lane sweep): row 42 added for the MCP client-sessions nullable-column migration, an active production bug; row 1 re-measured, 28 commits behind `main` (up from 5); 2026-10-11 (best3d order 069 close-out): rows 40 and 41 added for the `model-rig-nonhuman` and `model-anigen` first deploys; 2026-10-11 (best3d order 068 close-out): row 39 added for the `model-pixal3d` first deploy; 2026-10-11 (best3d order 067 retry): row 38 added for the `model-trellis2` first deploy; 2026-10-11 (order 404 close-out): row 34 deleted, its premise cleared by merge commit `d77b89178` (the `evolve`/`main` reconciliation) which also carried the `x-mention-reply.js` `chainFor()` fix row 34 called out, verified live with `RUN_LLM_TESTS=1 npx vitest run tests/x-mention-reply.llm.test.js` (16/16 `source: 'model'`, no `buildBody` TypeError); 2026-10-11 (scout lane): row 36 added for the Cloudflare R2 flapping degraded/down pattern; 2026-10-11 (even later): row 24 re-measured again after order 400's ring-leak-scan tiering/lock fix shipped on `evolve`; 2026-10-11 (later): row 35 added for the agent mention-policy migration; 2026-10-11 04:16 UTC: rows 1 and 24 re-measured by the deep triage sweep; row 34 added for the evolve/main branch divergence; 2026-10-10: row 33 added for the xAI MCP e2e key; rows 1, 19 and 24 re-measured by the triage sweep; 2026-10-09: rows 1, 2 and 24 re-measured by the triage sweep, row 31 added for the GPU worker redeploy and row 32 for database table retention; row 30 added for the Grok Bot CLI setup rerun; 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)
+## Open rows (2026-10-12 18:10 UTC (triage-lane sweep, third pass): row 48 added for the dist-lib CDN embed size fix (previously-unclassified `/dist-lib/agent-3d.js` 500s, root-caused and fixed on `evolve`, pure code change awaiting the next deploy); 2026-10-12 17:54 UTC (triage-lane sweep, second pass): row 1's same-day "11 behind" figure corrected to the real deploy gap of 0 (querying `/api/version` live, not `/api/healthz`, which has no commit field), row 47 added for CoinGecko's keyless tier being rate-limited (`COINGECKO_API_KEY` already absent from the service, so the finding's own pre-approved env fix is a no-op); 2026-10-12 (triage-lane sweep): row 1 re-measured against the canonical `threews` remote, 11 commits behind `main` (down from 28, local stale ref corrected), row 45 added for the HF image-provider (fal-ai/nscale) credit exhaustion, a separate pool from row 6; 2026-10-11 (best3d order 070 close-out): rows 43 and 44 added for the `model-partcrafter` and `model-holopart` first deploys; 2026-10-11 (triage-lane sweep): row 42 added for the MCP client-sessions nullable-column migration, an active production bug; row 1 re-measured, 28 commits behind `main` (up from 5); 2026-10-11 (best3d order 069 close-out): rows 40 and 41 added for the `model-rig-nonhuman` and `model-anigen` first deploys; 2026-10-11 (best3d order 068 close-out): row 39 added for the `model-pixal3d` first deploy; 2026-10-11 (best3d order 067 retry): row 38 added for the `model-trellis2` first deploy; 2026-10-11 (order 404 close-out): row 34 deleted, its premise cleared by merge commit `d77b89178` (the `evolve`/`main` reconciliation) which also carried the `x-mention-reply.js` `chainFor()` fix row 34 called out, verified live with `RUN_LLM_TESTS=1 npx vitest run tests/x-mention-reply.llm.test.js` (16/16 `source: 'model'`, no `buildBody` TypeError); 2026-10-11 (scout lane): row 36 added for the Cloudflare R2 flapping degraded/down pattern; 2026-10-11 (even later): row 24 re-measured again after order 400's ring-leak-scan tiering/lock fix shipped on `evolve`; 2026-10-11 (later): row 35 added for the agent mention-policy migration; 2026-10-11 04:16 UTC: rows 1 and 24 re-measured by the deep triage sweep; row 34 added for the evolve/main branch divergence; 2026-10-10: row 33 added for the xAI MCP e2e key; rows 1, 19 and 24 re-measured by the triage sweep; 2026-10-09: rows 1, 2 and 24 re-measured by the triage sweep, row 31 added for the GPU worker redeploy and row 32 for database table retention; row 30 added for the Grok Bot CLI setup rerun; 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 |
|---|---|---|---|---|
@@ -60,6 +60,7 @@ on it; some resolve themselves as other work lands.
| 46 | **Build and deploy `model-text2motion` with its new MoMask backend, then benchmark it against MDM** (added 2026-10-12 by the evolve loop, best3d order 077 task 1). `workers/model-text2motion/` now carries a second generation backend, MoMask (EricGuo5513/momask-codes, MIT, published FID 0.045 on HumanML3D vs. MDM-era T2M-GPT's 0.141), selectable per request via `model: "mdm" | "momask"` on `/infer`, alongside the existing default MDM backend. `main.py`'s model selector, the new `momask_sampler.py` and shared `motion_decode.py`, the updated `Dockerfile` (clones momask-codes, installs its one missing pip dependency `einops`), and the updated `cloudbuild.yaml` (adds `MOMASK_MODEL_DIR=/weights/momask` to both the primary and standby deploy steps) are all written and locally tested (49/49 passing in `workers/model-text2motion`'s own suite, including a new 12-case `test_model_selector.py`). The real checkpoints are already staged to `gs://three-ws-model-weights/momask/t2m/` (four checkpoint dirs: `length_estimator`, `rvq_nq6_dc512_nc512_noshare_qdp0.2`, `t2m_nlayer8_nhead6_ld384_ff1024_cdp0.1_rvq6ns`, `tres_nlayer8_ld384_ff1024_rvq6ns_cdp0.2_sw`), matching momask-codes' own HumanML3D checkpoint layout, so a deploy has real weights to mount the moment it lands. This is a production deploy (rebuilds and redeploys an existing Cloud Run GPU service, gate 2), so no agent runs it. Command, from the repo root: `gcloud builds submit --config workers/model-text2motion/cloudbuild.yaml --substitutions=SHORT_SHA=manual$(date +%s) .`. After it lands, run the same prompt through both backends and time the second call to each (post cold-load) for a real warm-vs-warm comparison: `curl -s -X POST "$MOTION_URL/infer" -H "authorization: Bearer $GCP_RECONSTRUCTION_KEY" -H 'content-type: application/json' -d '{"prompt":"a slow tai-chi sweep","duration_seconds":3,"fps":20,"model":"mdm"}'` and the same body with `"model":"momask"`, each followed by polling `GET $MOTION_URL/tasks/<task_id>` until `status:"done"`. That reproduced, in-house FID/latency comparison is task 1's own "benchmarked" requirement, not one of order 077's three Definition of done lines (all three passed and were reconfirmed live on 2026-10-12 against the already-deployed MDM backend, so the order retired without waiting on this deploy); the published 0.045 FID in the README is momask-codes' own number, not yet confirmed against this worker's own output. | one build + one deploy + two benchmark calls | Gives the Animation Studio and `/api/forge-motion` a second, stronger text-to-motion backend selectable per request (best3d order 077 is retired; see its 2026-10-12 entries in [best3d-PROGRESS.md](best3d-PROGRESS.md)) | [workers/model-text2motion/README.md](../../workers/model-text2motion/README.md) |
| 47 | **Buy a paid CoinGecko plan (or confirm a free monthly reset) for `/api/coin/*`.** Added 2026-10-12 by the triage-lane sweep: the deep sweep's `coingecko-quota-exhausted-502` finding (`/api/coin/detail`, `/api/coin/exchange`, 3 occurrences in the last 24h) names its own fix as `gcloud run services update three-ws-api --region us-central1 --remove-env-vars COINGECKO_API_KEY`, config-only and pre-approved. Checked live before running it: `gcloud run services describe three-ws-api --region us-central1` shows no `COINGECKO_API_KEY` env var on the service at all, so that fix is already in effect and there is nothing to remove. Every `/api/coin/*` call is already keyless; the 502s are the keyless CoinGecko tier itself being rate-limited (the Cloud Run egress IP is shared across every request this service makes), which only a paid CoinGecko API plan or a wait for next month's free-tier reset resolves. No in-repo code or config change can fix this. | one purchase decision | Stops the intermittent 502s on coin detail/exchange pages | [docs/ops/production-log-triage.md](../../docs/ops/production-log-triage.md) |
+| 48 | **Ship the dist-lib CDN embed size fix with the next deploy** (added 2026-10-12 by the triage-lane sweep, pure code fix, no migration, no env var). Root-caused the previously-unclassified `/dist-lib/agent-3d.js` and `/agent-3d/latest/agent-3d.js` 500s: `src/runtime/whisper-stt.js`'s on-device speech recognizer did a bare `import('@huggingface/transformers')`, which `vite.config.js`'s `inlineDynamicImports` lib-build setting inlines (it has to, so the CDN embed stays one file), dragging in onnxruntime-web's WebGPU runtime and bloating `agent-3d.js`/`agent-3d.umd.cjs` from the documented ~600-900KB gzipped to 76MB raw each, past Cloud Run/GFE's response-size handling for HTTP/1.1 or identity-encoding clients (confirmed live via curl with varying `Accept-Encoding`; gzip+HTTP/2 at 21MB succeeds, identity/HTTP/1.1 at 76MB 500s with an empty body). Fixed on `evolve` (commit `f939d5ef1`): the import now goes through the existing `loadModule()` CDN mirror loader instead of a bundler-visible specifier, the same pattern already used for WalletConnect and Leaflet. Local rebuild (`npm run build:lib:full`) drops both files to 4.1MB; `tests/lib-bundle-size.test.js` (new) proved red against the unfixed build and green after; `whisper-stt.test.js`'s 14 tests still pass. Sitting on `evolve` waiting for the usual fast-forward-to-`main` and row 1's deploy cadence; no separate action beyond that deploy. Post-deploy verification: `curl -sI -H "Accept-Encoding: identity" --http1.1 https://three.ws/dist-lib/agent-3d.js` should answer 200, not 500. | one deploy (already covered by row 1's cadence) | Fixes the `<agent-3d>` CDN embed for every third-party site that drops it in over plain HTTP/1.1 or without gzip | `tests/lib-bundle-size.test.js`, [docs/ops/production-log-triage.md](../../docs/ops/production-log-triage.md) |
Deleted 2026-09-01: the former row 5 (`WALLET_ENCRYPTION_KEY_PREVIOUS` policy), which
declared itself "delete on reading" and had outlived that by three weeks.