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
fix(guards): register the tour-atlas gate step and give test fixtures the proof block the auditor now requires
nirholasb562dae8ba1b
diff --git a/data/guards.json b/data/guards.jsonindex 3f448410a..ae3bcd9c1 100644--- a/data/guards.json+++ b/data/guards.json@@ -759,6 +759,22 @@},"expect": "guard-proof"}+ },+ {+ "id": "audit-tour-atlas",+ "script": "scripts/build-tour-atlas.mjs",+ "npm": "audit:tour-atlas",+ "title": "The tour atlas tells the truth",+ "protects": "public/tour/atlas.json matches a fresh render of data/tour-atlas.json: every stop resolves, every screenshot it promises exists on disk, and the curated anchors still parse.",+ "why": "The atlas is a committed snapshot of a capture run. Edit the source manifest without re-rendering, delete a screenshot, or rot an anchor selector and the /tour-atlas page keeps promising media and spotlight targets that no longer exist. None of that fails a build on its own; only re-deriving the atlas and comparing catches it.",+ "stages": [+ "gate"+ ],+ "needs": "none",+ "proof": {+ "kind": "live",+ "reason": "The check re-renders the committed atlas from data/tour-atlas.json and verifies 160 captured screenshots exist on disk; a sandbox proof would need the full media tree copied per run, so it is exercised by the real gate instead."+ }}],"exempt": [diff --git a/public/guards.json b/public/guards.jsonindex 3f448410a..ae3bcd9c1 100644--- a/public/guards.json+++ b/public/guards.json@@ -759,6 +759,22 @@},"expect": "guard-proof"}+ },+ {+ "id": "audit-tour-atlas",+ "script": "scripts/build-tour-atlas.mjs",+ "npm": "audit:tour-atlas",+ "title": "The tour atlas tells the truth",+ "protects": "public/tour/atlas.json matches a fresh render of data/tour-atlas.json: every stop resolves, every screenshot it promises exists on disk, and the curated anchors still parse.",+ "why": "The atlas is a committed snapshot of a capture run. Edit the source manifest without re-rendering, delete a screenshot, or rot an anchor selector and the /tour-atlas page keeps promising media and spotlight targets that no longer exist. None of that fails a build on its own; only re-deriving the atlas and comparing catches it.",+ "stages": [+ "gate"+ ],+ "needs": "none",+ "proof": {+ "kind": "live",+ "reason": "The check re-renders the committed atlas from data/tour-atlas.json and verifies 160 captured screenshots exist on disk; a sandbox proof would need the full media tree copied per run, so it is exercised by the real gate instead."+ }}],"exempt": [diff --git a/tests/audit-guards.test.js b/tests/audit-guards.test.jsindex 65d55adaa..955ebb973 100644--- a/tests/audit-guards.test.js+++ b/tests/audit-guards.test.js@@ -31,9 +31,12 @@ let sandbox;*/function makeRepo(name, { guards, exempt = [], stages, scripts, extraScripts = [], hookTemplate }) {const dir = join(sandbox, name);- mkdirSync(join(dir, 'scripts'), { recursive: true });+ mkdirSync(join(dir, 'scripts', 'lib'), { recursive: true });mkdirSync(join(dir, 'data'), { recursive: true });copyFileSync(auditor, join(dir, 'scripts', 'audit-guards.mjs'));+ // The auditor imports its proof helpers relatively, so the sandbox repo+ // needs the lib file at the same path or every scenario dies on import.+ copyFileSync(join(dirname(auditor), 'lib', 'guard-proofs.mjs'), join(dir, 'scripts', 'lib', 'guard-proofs.mjs'));for (const g of guards) {if (g.script && g.__skipFile !== true) {@@ -87,6 +90,10 @@ const goodGuard = {why: 'Because the thing broke once.',stages: ['gate'],needs: 'none',+ // The auditor requires every guard to declare a proof; the sandboxed+ // two-sided kind is exercised by tests/prove-guards.test.js, so fixtures+ // here use the declared-live escape hatch.+ proof: { kind: 'live', reason: 'fixture guard, proven elsewhere' },};const goodScripts = { 'check:thing': 'node scripts/check-thing.mjs', gate: 'npm run check:thing' };