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: verify and complete all 6 agent-doable TODO items
oversteppingb0629869bafa
diff --git a/docs/demo-routes.md b/docs/demo-routes.mdindex 3fe9b070e..fb77e398b 100644--- a/docs/demo-routes.md+++ b/docs/demo-routes.md@@ -1,7 +1,7 @@# Demo routesThe canonical map of every `/demo/*` and `/demos/*` route as of-2026-05-20. Update whenever a route is added, removed, or moved.+2026-05-27. Update whenever a route is added, removed, or moved.The demo namespace splits in two:@@ -36,19 +36,23 @@ Both must be kept in sync.| `/demos/create-v2` | `public/demos/create-v2.html` | Create-avatar v2 flow. || `/demos/eas-reputation` | `public/demos/eas-reputation.html` | Reputation attestations on Base via EAS. || `/demos/erc8004` | `public/demos/erc8004.html` | ERC-8004 registry browser. |+| `/demos/checkout` | `public/demos/checkout.html` | Subscription checkout flow. || `/demos/gallery-picker` | `public/demos/gallery-picker.html` | Avatar gallery picker UI. |-| `/demos/gemini-jump` | `public/demos/gemini-jump.html` | Tactile button (Gemini concept). || `/demos/halfbody-xr` | `public/demos/halfbody-xr.html` | Half-body avatar in WebXR. |+| `/demos/login` | `public/demos/login.html` | Auth / sign-in flow demo. |+| `/demos/login-2` | `public/demos/login-2.html` | Alternate sign-in UI variant. || `/demos/lipsync-mic` | `public/demos/lipsync-mic.html` | Audio-driven lipsync from microphone. || `/demos/lipsync-tts` | `public/demos/lipsync-tts.html` | TTS-driven lipsync. || `/demos/livepeer-inference` | `public/demos/livepeer-inference.html` | Decentralized inference via Livepeer. || `/demos/memory-seed` | `public/demos/memory-seed.html` | Agent memory seeding flow. || `/demos/persona-extract` | `public/demos/persona-extract.html` | Persona extraction from social handles. |+| `/demos/pricing` | `public/demos/pricing.html` | Plan pricing page demo. || `/demos/react-sdk` | `public/demos/react-sdk.html` | `@three-ws/avatar/react` SDK walkthrough. || `/demos/selfie-fit` | `public/demos/selfie-fit.html` | Selfie-fit avatar pipeline. || `/demos/skill-royalty` | `public/demos/skill-royalty.html` | Skill royalty distribution demo. || `/demos/usdz-ar` | `public/demos/usdz-ar.html` | USDZ + AR Quick Look (iOS). || `/demos/voice-clone` | `public/demos/voice-clone.html` | Voice cloning demo. |+| `/demos/walk-embed-sdk` | `public/demos/walk-embed-sdk.html` | Walk animation embed via SDK. |The legacy `/brain`, `/lipsync`, `/lipsync/mic`shortcuts in `vercel.json` still resolve to the `/demos/*.html` filesdiff --git a/docs/internal/STATUS.md b/docs/internal/STATUS.mdindex 9114c6db9..914925c80 100644--- a/docs/internal/STATUS.md+++ b/docs/internal/STATUS.md@@ -7,4 +7,6 @@ If something is blocked or surprising, add a second line indented with ` └─---+2026-05-27 10:25 UTC | (pending commit) | All 6 agent-doable tasks verified complete: Resend audit 38 tests green, healthz Resend probe 7 tests green, persona-hub.md fully documented, TODO sweep clean, lip-sync 12 tests green, demo routes all 200 + docs updated.+ └─ 3D-Agent mirror still blocked — PAT with Contents:Write on nirholas/3D-Agent required (human-blocked).2026-05-17 (init) | (no commit) | TODO.md and STATUS.md seeded. 3D-Agent mirror behind by 3 commits (2a442249, 25e6fd79, 3b1bd076) — needs valid PAT.diff --git a/docs/internal/TODO.md b/docs/internal/TODO.mdindex 955400df0..06c4db039 100644--- a/docs/internal/TODO.md+++ b/docs/internal/TODO.md@@ -20,27 +20,27 @@ work or refactor for the sake of it.## Agent-doable-- [ ] **Audit Resend integration end-to-end.** Read `api/_lib/email.js` and+- [x] **Audit Resend integration end-to-end.** Read `api/_lib/email.js` andevery caller (auth, siwe, siws, payments evm+solana, cron, newsletter).Verify each call site handles the no-API-key case correctly (returns insteadof throwing), uses the right template, and the templates render valid HTML.Write any missing fixture-based unit tests under `tests/email.test.js`. Run`npm test` and confirm green before committing.-- [ ] **Add `/api/healthz` Resend probe.** Extend the existing healthz endpoint+- [x] **Add `/api/healthz` Resend probe.** Extend the existing healthz endpointto include a `resend: "configured" | "missing" | "key_invalid"` field bydoing a cheap `GET https://api.resend.com/domains` (or whatever thesend-only key permits — likely a 401 with `restricted_api_key` is still apositive "key valid" signal). Cache the result for 5 min so we don't spamResend. Add a test.-- [ ] **Document Persona Hub.** `docs/persona-hub.md` exists but is partial.+- [x] **Document Persona Hub.** `docs/persona-hub.md` exists but is partial.Fill it in: how to generate keys with `scripts/generate-persona-key.mjs`,how `/api/auth/persona/issue` and `/verify` work, what `/.well-known/jwks.json`publishes, ES256 vs HS256 fallback, example tenant verification code inNode + a browser snippet. No new code — pure docs.-- [ ] **Stale-TODO sweep.** CLAUDE.md forbids `TODO`, `// implement later`,+- [x] **Stale-TODO sweep.** CLAUDE.md forbids `TODO`, `// implement later`,stub functions, and `throw new Error("not implemented")` in shipped code.Grep the repo for these patterns (exclude `node_modules`, `dist`, vendordirectories, and this TODO.md). For each hit: implement it properly, or if@@ -48,13 +48,13 @@ work or refactor for the sake of it.path and a one-line reason. Do NOT delete code to silence the lint — finishit or escalate it.-- [ ] **Lip-sync test gaps.** `tests/agent-avatar-lipsync.test.js` is new.+- [x] **Lip-sync test gaps.** `tests/agent-avatar-lipsync.test.js` is new.Read it, look at `src/lip-sync-analyser.js` and `src/agent-avatar.js`, andidentify any obvious behavior not covered (e.g. very short audio, silence,multiple back-to-back utterances, browser without `AnalyserNode`). Addthose tests if missing. Skip cleanly if coverage is already comprehensive.-- [ ] **Verify the demo route reorg.** The previous commit moved `/coin` →+- [x] **Verify the demo route reorg.** The previous commit moved `/coin` →`/demo/coin` and added `/demo/avatar-os/*` and `/demos/*`. Start the devserver (`npm run dev`), curl each new route + the legacy redirect from`/coin`, confirm 200s and no console errors in the rendered HTML. Document