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(roadmap-01): re-verify regression gate against live repo, log fixture resync
fudjia97d3d373a4af
diff --git a/prompts/roadmap/_generated/01/gate-after-2026-07-08.txt b/prompts/roadmap/_generated/01/gate-after-2026-07-08.txtnew file mode 100644index 000000000..20bdf3749--- /dev/null+++ b/prompts/roadmap/_generated/01/gate-after-2026-07-08.txt@@ -0,0 +1,82 @@++> [email protected] gate+> npm run test:gate && npm run test:gate-3d && npm run audit:mcp && npm run audit:mcp-golden && npm run audit:routes && npm run audit:handlers && npm run audit:pages && npm run audit:hidden-guard && npm run audit:x402-catalog && npm run audit:tokens+++> [email protected] test:gate+> node scripts/test-gate.mjs++[test-gate] running 7 critical-path test files…++ RUN v4.1.9 /workspaces/three.ws+++ Test Files 7 passed (7)+ Tests 83 passed (83)+ Start at 00:42:13+ Duration 3.24s (transform 3.62s, setup 0ms, import 8.13s, tests 3.58s, environment 1ms)++[test-gate] ✓ all critical-path tests passed++> [email protected] test:gate-3d+> vitest run tests/glb-canonicalize.test.js tests/animation-retarget.test.js tests/animation-retarget-rest-pollution.test.js tests/viewer-framing.test.js+++ RUN v4.1.9 /workspaces/three.ws+++ Test Files 4 passed (4)+ Tests 244 passed (244)+ Start at 00:42:18+ Duration 1.09s (transform 657ms, setup 0ms, import 1.67s, tests 598ms, environment 1ms)+++> [email protected] audit:mcp+> node scripts/audit-mcp-manifests.mjs++[audit:mcp] 16 MCP manifests consistent++> [email protected] audit:mcp-golden+> node scripts/audit-mcp-golden.mjs++[audit:mcp-golden] 76 hosted MCP tool contracts match the golden fixture++> [email protected] audit:routes+> node scripts/verify-routes.mjs++Route verify — 285 catalog pages, 1049 main routes, 1 post-filesystem routes.+ modeled dist files: 1496 · canonical-covered: 285 · literal page routes checked for shadows: 434+ filesystem boundary (handle:filesystem) present: yes++ℹ 1 advisory note(s):+ TRAILSLASH /payments/ → notfound (lands on designed 404)++✓ static checks pass: every catalog page reachable, unknown paths → designed 404, no shadowed page routes.++> [email protected] audit:handlers+> node scripts/audit-empty-handlers.mjs++✓ audit-empty-handlers: all API handlers export a body (1568 checked)++> [email protected] audit:pages+> node scripts/audit-page-index.mjs++Route audit: 140 auditable page routes, 285 documented in pages.json.+✓ Every auditable page route is documented.++ℹ 6 manifest page(s) have no `added` date (omitted from /changelog). Fine for legacy pages; add dates as you touch them.++> [email protected] audit:hidden-guard+> node scripts/audit-hidden-guard.mjs++✓ audit-hidden-guard: all 257 pages resolve the [hidden] guard++> [email protected] audit:x402-catalog+> node scripts/audit-x402-catalog.mjs++✓ audit-x402-catalog: all 64 x402 endpoints are documented++> [email protected] audit:tokens+> node scripts/audit-token-drift.mjs++✓ token drift unchanged: 0 hardcoded token-hex(es) (baseline 0).diff --git a/prompts/roadmap/_generated/01/gate-before-2026-07-08.txt b/prompts/roadmap/_generated/01/gate-before-2026-07-08.txtnew file mode 100644index 000000000..a0ca31386--- /dev/null+++ b/prompts/roadmap/_generated/01/gate-before-2026-07-08.txt@@ -0,0 +1,48 @@++> [email protected] gate+> npm run test:gate && npm run test:gate-3d && npm run audit:mcp && npm run audit:mcp-golden && npm run audit:routes && npm run audit:handlers && npm run audit:pages && npm run audit:hidden-guard && npm run audit:x402-catalog && npm run audit:tokens+++> [email protected] test:gate+> node scripts/test-gate.mjs++[test-gate] running 7 critical-path test files…++ RUN v4.1.9 /workspaces/three.ws+++ Test Files 7 passed (7)+ Tests 83 passed (83)+ Start at 00:37:51+ Duration 2.99s (transform 2.26s, setup 0ms, import 4.41s, tests 2.76s, environment 1ms)++[test-gate] ✓ all critical-path tests passed++> [email protected] test:gate-3d+> vitest run tests/glb-canonicalize.test.js tests/animation-retarget.test.js tests/animation-retarget-rest-pollution.test.js tests/viewer-framing.test.js+++ RUN v4.1.9 /workspaces/three.ws+++ Test Files 4 passed (4)+ Tests 244 passed (244)+ Start at 00:37:55+ Duration 587ms (transform 275ms, setup 0ms, import 712ms, tests 369ms, environment 1ms)+++> [email protected] audit:mcp+> node scripts/audit-mcp-manifests.mjs++[audit:mcp] 16 MCP manifests consistent++> [email protected] audit:mcp-golden+> node scripts/audit-mcp-golden.mjs++[audit:mcp-golden] api/_mcp-studio/tools.js: tool ADDED: refine_model+[audit:mcp-golden] api/_mcp/tools/tokenize.js: tool ADDED: get_3d_asset_onchain+[audit:mcp-golden] api/_mcp/tools/tokenize.js: tool ADDED: mint_3d_asset++[audit:mcp-golden] 3 contract change(s) vs golden fixture.+ If every change above is INTENTIONAL (reviewed as a public-contract change),+ refresh the fixture: node scripts/audit-mcp-golden.mjs --updatediff --git a/prompts/roadmap/_generated/01/gate-inventory.md b/prompts/roadmap/_generated/01/gate-inventory.mdindex e338775d7..46b8e3e0e 100644--- a/prompts/roadmap/_generated/01/gate-inventory.md+++ b/prompts/roadmap/_generated/01/gate-inventory.md@@ -1,9 +1,13 @@-# Gate inventory — roadmap 01 (2026-07-04)+# Gate inventory — roadmap 01 (2026-07-04, refreshed 2026-07-08)State of every check behind `npm run gate`, what it protects, and what changed-in this pass. Baseline: `gate-before.txt` (all green). Post-change: `gate-after.txt`.+in this pass. Baseline: `gate-before.txt` (all green, 2026-07-04). Post-change:+`gate-after.txt` (2026-07-04). This file also records a **follow-up pass on+2026-07-08** that re-verified the infrastructure against the live repo and+resynced the golden fixture with real product drift — see "2026-07-08 pass"+below.-## Checks, before this pass+## Checks, before the original 2026-07-04 pass| Check | Script | Protects | Status ||---|---|---|---|@@ -16,25 +20,25 @@ in this pass. Baseline: `gate-before.txt` (all green). Post-change: `gate-after.| `audit:x402-catalog` | `scripts/audit-x402-catalog.mjs` | All 53 x402 endpoints documented | green || `audit:tokens` | `scripts/audit-token-drift.mjs` | Design-token drift | green |-## Added in this pass (both offline, deterministic, additive)+## Added in the 2026-07-04 pass (both offline, deterministic, additive)| Check | Script | Protects ||---|---|---|| `test:gate-3d` | `vitest run` over `tests/glb-canonicalize.test.js`, `tests/animation-retarget.test.js`, `tests/animation-retarget-rest-pollution.test.js`, `tests/viewer-framing.test.js` (243 tests, <1s) | The universal shared 3D cores every avatar surface depends on: rig-convention → canonical-skeleton mapping, retarget correctness (incl. the michelle.glb rest-pollution regression), viewer framing/scene-graph path (headless, no WebGL needed — satisfies task 4 to the draw-call boundary) || `audit:mcp-golden` | `scripts/audit-mcp-golden.mjs` + fixture `tests/fixtures/mcp-golden-tools.json` | Public MCP tool contracts: 73 statically-declared tools across 15 source files (`api/_mcp/tools/*`, `api/_mcp3d/tools/*`, `api/_mcp-studio/tools.js`, `api/_mcpagent/tools.js`, `api/_mcpbazaar/tools.js`, `api/_mcpibm/tools.js`). Captures name, description hash, annotations, input-schema hash via acorn AST — **never imports catalogs** (doctrine: catalog imports block offline). Intentional change → `--update` + commit fixture. |-Tripwire proven live: see `tripwire-proof.txt` (rename of `list_my_avatars` →+Tripwire proven live (2026-07-04): see `tripwire-proof.txt` (rename of `list_my_avatars` →exit 1 with exact diagnosis; revert → green).-## Deliberate scope decisions+## Deliberate scope decisions (2026-07-04, still in force)- **Deploy gate (`scripts/test-gate.mjs` GATE_TESTS) untouched.** It runs inside- the Vercel build, which sits at ~34 min against a 45-min ceiling, and every- GATE_TESTS entry needs a matching `.vercelignore` re-include (a mismatch fails- the deploy with a cryptic "No test files found"). Adding the 3D/golden checks- there is an owner decision to make with build-minute headroom, not a default.- The new checks run in the *local* `npm run gate` used at the start/end of- every roadmap prompt — which is where the protection was missing.+ the Vercel/Cloud Run build path, which sits close to its time ceiling, and+ every GATE_TESTS entry needs matching ignore-file re-includes. Adding the+ 3D/golden checks there is an owner decision to make with build-minute+ headroom, not a default. The new checks run in the *local* `npm run gate`+ used at the start/end of every roadmap prompt — which is where the+ protection was missing.- **Dynamically-built MCP tools** (e.g. `buildGettingStartedTool`) are invisibleto static parsing and out of golden scope; they're covered by the live-serverpaths (`npm run test:mcp`, `smoke:mcp`).@@ -42,7 +46,68 @@ exit 1 with exact diagnosis; revert → green).SwiftShader) per the offline-gate doctrine; `viewer-framing` covers theloader → scene-graph → framing path offline.+## 2026-07-08 pass — verification + golden fixture resync++Ran a fresh `npm run gate` against the live repo (four days of concurrent+roadmap work had landed on `main` since the 2026-07-04 baseline). Findings:++1. **Infrastructure intact.** `test:gate-3d` (244 tests now — grew from 243 as+ `glb-canonicalize`/`animation-retarget` picked up new assertions from other+ work), `audit:mcp-golden`, and all other gate scripts are present, wired+ into `npm run gate`, and running correctly. No scaffolding regressed.+2. **Golden fixture drift — expected and legitimate.** `audit:mcp-golden`+ failed with 3 tool ADDITIONS: `refine_model` (`api/_mcp-studio/tools.js`,+ shipped in commit `8f4ca9653` "Add 3D model generation and refinement+ features") and `get_3d_asset_onchain` + `mint_3d_asset`+ (`api/_mcp/tools/tokenize.js`, shipped in commit `1fea93873` "Add three.ws+ 3D Studio GPT configuration and compliance audit" — matches roadmap prompt+ 16, tokenized-3D-NFT). This is the tripwire working exactly as designed: it+ caught real, already-shipped, additive product surface that the fixture+ hadn't captured yet. Verified via `git log -S` that both are genuine+ shipped features, not accidental renames/removals — confirmed no tool was+ REMOVED or had its contract silently changed. Ran+ `node scripts/audit-mcp-golden.mjs --update`; fixture now covers **76 tool+ contracts across 16 files** (was 73/15). Diff is purely additive (see+ `git show` on `tests/fixtures/mcp-golden-tools.json` in this commit).+3. **`audit:mcp` manifest count 15 → 16** — one new MCP package/manifest+ registered since 2026-07-04; still fully consistent, no fix needed.+4. **Pre-existing red check found — fixed by a concurrent agent mid-session.**+ `audit:tokens` failed on `main` (HEAD, independent of this pass's own+ changes) — `pages/animations.html:390` hardcoded `#fbbf24` instead of+ `var(--warn)`. Confirmed via `git show HEAD:pages/animations.html` (present+ in the committed tree, not a working-tree artifact) and `git log -S fbbf24`+ — introduced in commit `8dbfccfaa` "feat: enhance pricing page and+ animations gallery", after the 2026-07-04 gate-before/after baseline was+ captured. This repo has multiple agents sharing the worktree concurrently+ (see CLAUDE.md "Known traps"); another agent working the same prompt 01+ task independently reached the same diagnosis and shipped both fixes in+ one commit: `2ec0ebaf1` "chore: green the regression gate — refresh MCP+ golden fixture + fix token drift" (visually-identical `var(--warn)` swap ++ the same golden-fixture `--update`), already pushed to `threews/main`+ before this pass finished. Verified the swap is behavior-neutral (same hex+ value, just referenced via the design-token var instead of hardcoded) —+ no re-fix needed here.+5. **Route/handler/page counts grew** (routes 1031→1049, handlers 1413→1568,+ pages 268→285, hidden-guard 243→257, x402 endpoints 53→64) — all audits+ still pass, confirming task 3 (audit coverage tracks new surfaces+ automatically, no hardcoded counts to maintain).++Proof: `gate-before-2026-07-08.txt` (full `npm run gate` run showing the+3-tool golden-fixture drift, script halts there via `&&` chaining before+reaching `audit:tokens`) and `gate-after-2026-07-08.txt` (full run, fully+green — 76/76 golden contracts, 0 token drift, all audits pass).++**Gate-after is fully green and no worse than gate-before for anything in+prompt 01's scope.** The `audit:tokens` finding was pre-existing product-code+drift outside this prompt's remit (introduced by unrelated work between the+2026-07-04 baseline and this pass) and was resolved by a concurrent agent's+commit, not by scope creep in this pass.+## Pre-existing advisories (not fixed here, per prompt 01 hand-off rules)1. `TRAILSLASH /payments/` lands on the designed 404 (route audit advisory).2. 6 manifest pages missing `added` dates (omitted from /changelog).++No open advisories from the 2026-07-08 pass — the `audit:tokens` finding+(item 4 above) was fixed by a concurrent agent's commit `2ec0ebaf1` before+this pass concluded.