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: clear the last four dead links and add audit:docs to the gate

nirholasc6926fd7fdc0
diff --git a/CLAUDE.md b/CLAUDE.md
index 1def742c6..e043cfcfa 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -276,9 +276,9 @@ Remember stop-and-ask gate 2: production deploys need owner approval unless the
1. **Prepare a CLEAN worktree.** `git worktree add --detach /workspaces/.deploy-wt HEAD`, then hardlink THREE artifacts with `cp -al` on the same filesystem (not just the first): `node_modules`, `chat/node_modules`, and `character-studio/build`, plus copy `.env`. Omitting either nested one kills the build minutes in: an OOM exit 144 on the avatar-studio rebuild, or `Cannot find package '@sveltejs/vite-plugin-svelte'` on the chat build. See `docs/ops/gcp-production.md`.
2. **Build: `npm run build:gcp`.** ORDER IS LOAD-BEARING and `build:gcp` already encodes it. Never hand-run the steps in a different order. The full chain, in order:
- `ensure:avatar-studio` → `build:info:snapshot` → `build:chat` → `build` (the frontend `vite build`) → `build:lib:full` (the UMD lib) → `publish:lib` → `build:info` → `check:dist` → `check:pages`
+ `check:conflicts` → `ensure:avatar-studio` → `build:info:snapshot` → `build:chat` → `build` (the frontend `vite build`) → `build:lib:full` (the UMD lib) → `publish:lib` → `build:info` → `check:dist` → `check:pages`
- Why the order is load-bearing: the frontend `vite build` runs with `emptyOutDir`, so it WIPES `dist/` and everything that writes into `dist/` must come after it. `publish:lib` mirrors the UMD lib into `dist/`, so it must follow `build:lib:full`, and `check:dist` fails without that bundle present. The first two steps are exactly why step 1 stages worktree artifacts: `ensure:avatar-studio` consumes `character-studio/build` and `build:chat` consumes `chat/node_modules`. Do NOT hand-run `build:vercel` as the frontend build: it builds the SDK/lib sub-artifacts, NOT the static HTML pages, so `dist/` ends up without `/`, `/create`, etc. and `check:dist` fails.
+ Why the order is load-bearing: `check:conflicts` runs first so an unresolved merge-conflict marker fails in seconds instead of after a full build. Then the frontend `vite build` runs with `emptyOutDir`, so it WIPES `dist/` and everything that writes into `dist/` must come after it. `publish:lib` mirrors the UMD lib into `dist/`, so it must follow `build:lib:full`, and `check:dist` fails without that bundle present. The first two steps are exactly why step 1 stages worktree artifacts: `ensure:avatar-studio` consumes `character-studio/build` and `build:chat` consumes `chat/node_modules`. Do NOT hand-run `build:vercel` as the frontend build: it builds the SDK/lib sub-artifacts, NOT the static HTML pages, so `dist/` ends up without `/`, `/create`, etc. and `check:dist` fails.
3. **Submit: `gcloud builds submit --config server/cloudbuild.yaml --region us-central1 --project aerial-vehicle-466722-p5`.** EVERY cloudbuild config must pin `serviceAccount: .../three-ws-build@...` (the default compute SA was deleted), and manual submits need `--substitutions=SHORT_SHA=manual$(date +%s)` when the config tags images with `$SHORT_SHA`.
4. **Purge CDN: `npm run deploy:gcp:purge-cdn`.** The purge is synchronous on purpose. Do not re-add `--async`, or post-deploy checks read stale edge content and report phantom failures.
5. **Verify the deploy landed.** `curl -s https://three.ws/api/version` returns the live commit SHA + Cloud Run revision, and `npm run smoke:prod` sweeps every page declared in `data/pages.json` against the live site (`deploy:gcp` runs it automatically after the purge).
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a97848369..b9a5651f7 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -133,6 +133,11 @@ external URLs, generated aggregates, and the internal work-order packs under
`prompts/` and `tasks/` are excluded by design; pass an explicit path to audit
one of those anyway. Add `--advisory` to report without a non-zero exit.
+It also runs inside `npm run gate` alongside the other audits, and the tree is
+currently clean, so anything it reports is something your change introduced. It
+is deliberately kept off the deploy path so documentation rot can never block an
+urgent production fix.
+
### Manual Testing Checklist
Before submitting a PR, verify:
diff --git a/chat-plugin/README.md b/chat-plugin/README.md
index 23665b371..09ba06546 100644
--- a/chat-plugin/README.md
+++ b/chat-plugin/README.md
@@ -107,7 +107,10 @@ Bridge envelope:
}
```
-Full spec: [`01-embed-bridges.md`](../prompts/final-integration/01-embed-bridges.md).
+The envelope above plus the op table below are the full spec for this bridge.
+Not to be confused with [`specs/EMBED_HOST_PROTOCOL.md`](../specs/EMBED_HOST_PROTOCOL.md),
+the separate versioned postMessage bus between a host page and an embedded
+three.ws iframe, which uses a different `v`/`type`/`payload` envelope.
---
diff --git a/data/skills/trading/binance-spot/SKILL.md b/data/skills/trading/binance-spot/SKILL.md
index 7ebe54c98..0304c654e 100644
--- a/data/skills/trading/binance-spot/SKILL.md
+++ b/data/skills/trading/binance-spot/SKILL.md
@@ -323,5 +323,3 @@ All trading endpoints require HMAC SHA256 signature:
2. Sign query string with secretKey using HMAC SHA256, RSA, or Ed25519 (depending on account config)
3. Append signature to query string
4. Include `X-MBX-APIKEY` header
-
-See [`references/authentication.md`](./references/authentication.md) for implementation details.
diff --git a/package.json b/package.json
index 35a55017b..485ca5b1f 100644
--- a/package.json
+++ b/package.json
@@ -144,7 +144,7 @@
"audit:routes": "node scripts/verify-routes.mjs",
"audit:handlers": "node scripts/audit-empty-handlers.mjs",
"audit:x402-catalog": "node scripts/audit-x402-catalog.mjs",
- "gate": "npm run check:conflicts && npm run check:claude && 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",
+ "gate": "npm run check:conflicts && npm run check:claude && 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:docs && npm run audit:hidden-guard && npm run audit:x402-catalog && npm run audit:tokens",
"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",
"audit:mcp-golden": "node scripts/audit-mcp-golden.mjs",
"audit:hidden-guard": "node scripts/audit-hidden-guard.mjs",
@@ -234,6 +234,7 @@
"check:claude": "node scripts/check-claude-md.mjs",
"check:rules": "node scripts/check-rules.mjs",
"check:gcloudignore": "node scripts/check-gcloudignore.mjs",
+ "check:evm-rpc": "node --env-file=.env scripts/probe-evm-rpc.mjs --chain 1 --ens",
"awal:pin": "node scripts/update-awal-version.mjs",
"smoke:prod": "node scripts/check-pages.mjs --base https://three.ws",
"deploy": "npm run build:all && npm run check:dist && vercel --local-config vercel.json --prod",
diff --git a/robinhood/hood-mcp/README.md b/robinhood/hood-mcp/README.md
index fe21495a1..19cd73d42 100644
--- a/robinhood/hood-mcp/README.md
+++ b/robinhood/hood-mcp/README.md
@@ -132,7 +132,7 @@ ROBINHOOD_CHAIN_PRIVATE_KEY=0x...
| `execute_swap` | **Guarded.** Preview → `confirm: true` → broadcast. Spend-capped. |
| `transfer_usdg` | **Guarded.** Preview → `confirm: true` → broadcast. Spend-capped. |
-See [**Safety model**](docs/safety.html) for the full guard design. Summary:
+See [**Safety model**](docs/index.html#safety) for the full guard design. Summary:
1. **Kill switch** — the server process itself refuses to start without `HOOD_MCP_ENABLE_TRADING=1`.
2. **Eligibility gate** — buying a tokenized Stock Token requires `HOOD_MCP_ACKNOWLEDGE_ELIGIBILITY=1`
diff --git a/robinhood/hood402/facilitator/README.md b/robinhood/hood402/facilitator/README.md
index c70ea47f8..ff9433b4c 100644
--- a/robinhood/hood402/facilitator/README.md
+++ b/robinhood/hood402/facilitator/README.md
@@ -121,6 +121,6 @@ the version actually published to the registry — `npm pack` succeeds either wa
## License
-All rights reserved. See [LICENSE](./LICENSE).
+All rights reserved. See [LICENSE](../LICENSE).
Built by [nirholas](https://x.com/nichxbt) · [three.ws](https://three.ws)