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.

6.8 KB
Raw Blame

> [email protected] gate
> npm run check:conflicts && npm run check:claude && npm run check:vendored && npm run check:fetch-timeouts && npm run check:tdz-bootstrap && npm run check:event && npm run check:cron-syntax && npm run check:studio-openapi && npm run test:gate && npm run test:gate-3d && npm run audit:mcp && npm run audit:mcp-golden && npm run audit:mcp-safety && npm run audit:mcp-catalog && npm run audit:mcp-listing && npm run audit:routes && npm run audit:handlers && npm run audit:pages && npm run audit:links && npm run audit:docs && npm run audit:upstreams && npm run check:tutorials && npm run audit:hidden-guard && npm run audit:inline-handlers && npm run audit:x402-catalog && npm run audit:tokens && npm run audit:guards && npm run audit:tour-atlas && npm run check:ios-icons && npm run check:macos-icon && npm run check:apple-widget


> [email protected] check:conflicts
> node scripts/check-merge-conflicts.mjs

check:conflicts: no unresolved merge-conflict markers in tracked files

> [email protected] check:claude
> node scripts/check-claude-md.mjs

[check-claude] OK: every script, path, and typography rule in CLAUDE.md matches the repo

> [email protected] check:vendored
> node scripts/check-vendored-workers.mjs

[check-vendored-workers] OK: 27 vendored file copies across 32 workers are byte-identical

> [email protected] check:fetch-timeouts
> node scripts/check-fetch-timeouts.mjs

check:fetch-timeouts: every external fetch, and every fetch under api/, is bounded by a deadline

> [email protected] check:tdz-bootstrap
> node scripts/check-tdz-bootstrap.mjs

check:tdz-bootstrap: no bootstrap-before-state ordering in 1601 browser module(s)

> [email protected] check:event
> node scripts/check-event-window.mjs

[check-event] OK: public/event.json carries the explicit no-event state, so no event is configured (a supported state)

> [email protected] check:cron-syntax
> node scripts/check-cron-drift.mjs --offline

Declared crons in vercel.json: 114
Most frequent:
  every 1m  /api/cron/economy-tick
  every 1m  /api/cron/three-market-refresh
  every 1m  /api/cron/avaturn-seed-cron
  every 1m  /api/cron/flush-usage-events
  every 1m  /api/cron/forge-finalize

All cron expressions are valid (offline mode: live jobs not compared).

> [email protected] check:studio-openapi
> node scripts/sync-studio-openapi.mjs --check

3D Studio OpenAPI in sync: prompts/store-submissions/_generated/openai-actions.yaml matches public/.well-known/3d-studio-openapi.yaml.

> [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  86 passed (86)
   Start at  07:38:24
   Duration  2.92s (transform 3.32s, setup 0ms, import 7.68s, tests 2.90s, 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  559 passed (559)
   Start at  07:38:28
   Duration  1.34s (transform 499ms, setup 0ms, import 1.54s, tests 983ms, environment 5ms)


> [email protected] audit:mcp
> node scripts/audit-mcp-manifests.mjs

[audit:mcp] 50 MCP manifests consistent

> [email protected] audit:mcp-golden
> node scripts/audit-mcp-golden.mjs

[audit:mcp-golden] 307 hosted MCP tool contracts match the golden fixture

> [email protected] audit:mcp-safety
> node scripts/audit-mcp-safety.mjs

[audit:mcp-safety] 307 MCP tool annotations verified against handler behavior across 248 files, 6 reviewed exemption(s)

> [email protected] audit:mcp-catalog
> node scripts/build-mcp-catalog.mjs --check

[audit:mcp-catalog] catalog matches source: 307 tools across 40 servers

> [email protected] audit:mcp-listing
> node scripts/build-mcp-listing-source.mjs --check

[mcp-listing-source] up to date: 50 servers (7 remote, 43 stdio)

> [email protected] audit:routes
> node scripts/verify-routes.mjs --strict

Route verify: 792 catalog pages, 1311 main routes, 1 post-filesystem routes.
  modeled dist files: 2935 · canonical-covered: 792 · literal page routes checked for shadows: 582
  filesystem boundary (handle:filesystem) present: yes

✓ 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 (2195 checked)

> [email protected] audit:pages
> node scripts/audit-page-index.mjs --strict

Route audit: 166 auditable page routes, 792 documented in pages.json.
✓ Every auditable page route is documented.

> [email protected] audit:links
> node scripts/audit-links.mjs

Link audit: scanned 2253 files

Broken internal links : 0

Stub hrefs (#, void(0)) : 0

Dangling routes (→ missing file) : 0

External links collected : 556
  (run with --external to probe liveness)

Dynamic targets skipped : 1371

> [email protected] audit:docs
> node scripts/audit-docs.mjs

docs audit: clean (1512 markdown files checked).

> [email protected] audit:upstreams
> node scripts/audit-upstreams.mjs

audit:upstreams: 225 outbound call sites across 79 upstreams (A:0 B:54 C:92 D:79 F:0)
audit:upstreams: no regressions

> [email protected] check:tutorials
> node scripts/sync-tutorial-pages.mjs

manifest entries: 70  markdown files: 70
pages.json: missing 1 tutorial entry

Tutorial drift found. Fix the manifest, or run: node scripts/sync-tutorial-pages.mjs --write
exit=1

--- audit note (2026-09-03) ---
Baseline comparison. gate-before failed at test:gate: tests/api/healthz.test.js
could not import at all, because its db mock threw synchronously and
api/_lib/home/store.js builds a column fragment by calling sql at module scope.
That failure short-circuited the chain, so gate-before never reached any later
stage, and every stage after test:gate was unverified rather than green.

gate-after clears all of them: test:gate 7/7 (was 6 passed, 1 failed),
test:gate-3d 4/4, audit:mcp 49 manifests consistent, audit:mcp-golden,
audit:routes, audit:handlers, audit:pages, audit:links, audit:docs and
audit:upstreams with no regressions. The full tests/api suite is also green
(0 failed suites, 7565 passing), up from 2 failed suites and 5 failed tests.

The only stage that ever came back red afterwards is check:tutorials, which
oscillates: run it twice in a row and it reports "missing 1 tutorial entry" and
then "every tutorial is registered". A dry run of the sync (with the write
disabled) reports WOULD ADD: [] while the drift is being reported, so nothing is
actually unregistered. Concurrent agents in this shared worktree rewrite
data/pages.json while regenerating the page and changelog feeds, and the check
reads the file mid-write. It is not caused by this work and there is nothing to
sync.