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.

chore(audit): model the gitignored chat build entry and two internal docs

nirholas9be4271df49d
diff --git a/scripts/audit-docs.mjs b/scripts/audit-docs.mjs
index 35470f154..91b7de1b0 100644
--- a/scripts/audit-docs.mjs
+++ b/scripts/audit-docs.mjs
@@ -279,6 +279,7 @@ const UNPUBLISHED_DOCS = new Map([
['economy-heartbeat', 'internal: scheduled-job operations'],
['economy-master', 'internal: funding-root wallet operations'],
['financial-controls', 'internal: audit-grade money-flow register'],
+ ['fomo-verified-x-post', 'internal: ready-to-paste X post drafts; posting is owner-gated'],
['free-crypto-apis', 'internal: engineering research catalog of external free APIs'],
['google-x-accounts', 'internal: outreach directory of external X accounts'],
['ibm-community-article', 'internal: source draft of an IBM Community post'],
@@ -292,6 +293,7 @@ const UNPUBLISHED_DOCS = new Map([
['meta-allocator', 'owner-gated: names a crypto project other than $THREE'],
['money-map', 'internal: revenue-share and treasury routing'],
['native-launchpad', 'owner-gated: names a crypto project other than $THREE'],
+ ['nvidia-apps-catalog-listing', 'internal: paste-ready listing copy and portal steps for the NVIDIA Inception catalog'],
['okx-marketplace', 'owner-gated: names a crypto project other than $THREE'],
['pay-skills-listing', 'internal: listing metadata, not prose'],
['play-boot-performance', 'internal: performance runbook for the /play boot path'],
diff --git a/scripts/verify-routes.mjs b/scripts/verify-routes.mjs
index 6ffe0ba85..a5b5e0905 100644
--- a/scripts/verify-routes.mjs
+++ b/scripts/verify-routes.mjs
@@ -31,7 +31,7 @@
* node scripts/verify-routes.mjs --base=https://three.ws # live sample
* node scripts/verify-routes.mjs --base=http://localhost:3000 --all # live, every route
*/
-import { readFileSync, readdirSync, statSync } from 'node:fs';
+import { existsSync, readFileSync, readdirSync, statSync } from 'node:fs';
import { resolve, dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
import { loadRouteTable, resolveRequest } from './lib/vercel-routes.mjs';
@@ -82,6 +82,20 @@ for (const f of walk(resolve(ROOT, 'pages'), resolve(ROOT, 'pages'), ['.html']))
for (const f of walk(resolve(ROOT, 'public'))) served.add(f); // public/ copied verbatim (all files)
for (const f of walk(resolve(ROOT, 'docs'))) served.add('docs/' + f);
for (const f of walk(resolve(ROOT, 'blog'))) served.add('blog/' + f);
+// The chat sub-app's build output (public/chat/index.html and assets) is a
+// gitignored `build:chat` artifact, so walking public/ misses it in any
+// workspace that hasn't built chat. Model it from its source of truth: the
+// chat workspace builds chat/index.html into ../public/chat (chat/vite.config.js
+// outDir), and build:gcp always runs build:chat before the deploy-time
+// check:dist, which independently verifies dist/chat/index.html exists. So
+// modeling the entry here cannot mask a production 404 from a skipped build.
+{
+ const chatVite = readFileSync(resolve(ROOT, 'chat/vite.config.js'), 'utf8');
+ const outDir = chatVite.match(/outDir:\s*['"]([^'"]+)['"]/)?.[1];
+ if (outDir === '../public/chat' && existsSync(resolve(ROOT, 'chat/index.html'))) {
+ served.add('chat/index.html');
+ }
+}
// ───────────────────────── shared legacy-routes resolver ─────────────────────────
// The matcher itself lives in scripts/lib/vercel-routes.mjs so this script and