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
guards(announce): register the announcement pack check so /guards stops lying
nirholasacd93e79d10a
diff --git a/data/guards.json b/data/guards.jsonindex dda877a53..36ba6d8e5 100644--- a/data/guards.json+++ b/data/guards.json@@ -940,6 +940,28 @@"expect": "guard-proof"}},+ {+ "id": "check-announce",+ "script": "scripts/check-announce.mjs",+ "npm": "check:announce",+ "title": "Announcement packs are postable",+ "protects": "Every announcement pack ships captured media with alt text, a post inside X's real weighted limit, an opening no other pack reuses, and no reference to a crypto project other than $THREE.",+ "why": "There are 320 shipped surfaces that have never been announced, so the copy gets written in volume, and volume is exactly what turns announcements into templated noise an audience learns to skip. Three failures are invisible in a diff and expensive after posting: a pack whose media was never captured (a post with no image measured 0.875x against our own median), a post over the 280 weighted characters X silently counts URLs as 23 of, and a frame captured from a live trading surface, which bakes whatever third-party tickers were on screen into a committed file and trips the commit gate the operating rules put on other-coin content.",+ "stages": [+ "manual"+ ],+ "needs": "none",+ "proof": {+ "summary": "An announcement pack whose post opens with banned marketing copy and declares no media.",+ "violation": {+ "write": {+ "docs/announcements/guard-proof-pack.md": "# Proof fixture\n\nalt text: none, on purpose.\n",+ "docs/announcements/guard-proof-pack.post.txt": "Introducing our revolutionary new thing, now with seamless everything, at three.ws/guard-proof-pack\n"+ }+ },+ "expect": "guard-proof-pack"+ }+ },{"id": "check-event-window","script": "scripts/check-event-window.mjs",diff --git a/docs/guards.md b/docs/guards.mdindex b57c50518..2436b303c 100644--- a/docs/guards.md+++ b/docs/guards.md@@ -122,6 +122,7 @@ Run `npm run audit:guards` to print the current count and per-stage breakdown. T| Tutorial reachability | `npm run check:tutorials` | Every tutorial appears in the library manifest, has its markdown on disk, and is registered in `data/pages.json`. || Runnable doc samples | `npm run check:runnable-docs` | Every sample a reader can press Run on still returns what the doc says it returns. || Doc figures | `npm run check:doc-media` | Every figure a doc points at was really captured, still matches its recipe, and carries alt text. |+| Announcement packs | `npm run check:announce` | Every announcement pack ships captured media with alt text, a post inside X's real weighted limit, an opening no other pack reuses, and no reference to a crypto project other than $THREE. || Tour atlas truth | `npm run audit:tour-atlas` | `public/tour/atlas.json` matches a fresh render: every stop resolves, every promised screenshot exists, and the page's own copy (`data/pages.json`, `pages/tour-atlas.html`) advertises the number of stops the atlas actually has. || x402 endpoint catalog | `npm run audit:x402-catalog` | Every paid endpoint is documented, so a buyer can find it. || MCP manifests | `npm run audit:mcp` | Every MCP manifest satisfies the official registry's rules, offline. |diff --git a/public/guards.json b/public/guards.jsonindex dda877a53..36ba6d8e5 100644--- a/public/guards.json+++ b/public/guards.json@@ -940,6 +940,28 @@"expect": "guard-proof"}},+ {+ "id": "check-announce",+ "script": "scripts/check-announce.mjs",+ "npm": "check:announce",+ "title": "Announcement packs are postable",+ "protects": "Every announcement pack ships captured media with alt text, a post inside X's real weighted limit, an opening no other pack reuses, and no reference to a crypto project other than $THREE.",+ "why": "There are 320 shipped surfaces that have never been announced, so the copy gets written in volume, and volume is exactly what turns announcements into templated noise an audience learns to skip. Three failures are invisible in a diff and expensive after posting: a pack whose media was never captured (a post with no image measured 0.875x against our own median), a post over the 280 weighted characters X silently counts URLs as 23 of, and a frame captured from a live trading surface, which bakes whatever third-party tickers were on screen into a committed file and trips the commit gate the operating rules put on other-coin content.",+ "stages": [+ "manual"+ ],+ "needs": "none",+ "proof": {+ "summary": "An announcement pack whose post opens with banned marketing copy and declares no media.",+ "violation": {+ "write": {+ "docs/announcements/guard-proof-pack.md": "# Proof fixture\n\nalt text: none, on purpose.\n",+ "docs/announcements/guard-proof-pack.post.txt": "Introducing our revolutionary new thing, now with seamless everything, at three.ws/guard-proof-pack\n"+ }+ },+ "expect": "guard-proof-pack"+ }+ },{"id": "check-event-window","script": "scripts/check-event-window.mjs",