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(cookbook): surface only the inspect API recommendations that mean something
nirholas27745b30c93b
diff --git a/docs/cookbook/asset-quality-gate.md b/docs/cookbook/asset-quality-gate.mdindex 5d4ba0812..43e2fe07a 100644--- a/docs/cookbook/asset-quality-gate.md+++ b/docs/cookbook/asset-quality-gate.md@@ -37,7 +37,7 @@ asset fails the build instead of the launch.| File size | 8 MB | `--max-size-mb` || Material count | 16 | `--max-materials` || Has materials | advisory | `--require-materials` |-| Has textures | advisory | `--require-textures` |+| Has textures | not checked | `--require-textures` |The floor matters more than it looks. When generation partially collapses youget a valid GLB containing almost nothing, which passes every other check on the@@ -86,8 +86,11 @@ PASS a-woven-wicker-basket.glb 147,617 tris 2.8 MB 0 mat 0 texnote: no materials: likely vertex-colored geometry ...```-Validator warnings and the inspect API's own optimization recommendations land-in the same bucket. They are worth reading and they are not worth blocking on.+Validator warnings land in the same bucket, as do the inspect API's own+optimization recommendations at `warn` or `critical` severity. `info`-severity+recommendations are dropped: they fire on healthy models too, so printing them+would bury the ones that mean something. They are worth reading and they are not+worth blocking on.## In a CI job@@ -147,8 +150,8 @@ recommendations with a concrete fix:}```-Those are advisories here, but they are a good backlog for whatever ships the-assets.+The gate turns the `warn` and `critical` ones into advisories and never fails a+build on any of them. They are a good backlog for whatever ships the assets.## Where to go nextdiff --git a/docs/cookbook/parallel-asset-pack.md b/docs/cookbook/parallel-asset-pack.mdindex e76cdc75f..4e46eb9e1 100644--- a/docs/cookbook/parallel-asset-pack.md+++ b/docs/cookbook/parallel-asset-pack.md@@ -146,7 +146,7 @@ See [Gate 3D assets in CI](/cookbook/asset-quality-gate).## Run it without installing anything-The [Pipeline Studio](/cookbook/pipeline) is this recipe plus the gate below,+The [Pipeline Studio](/cookbook/pipeline) is this recipe plus the gate above,running in a browser tab against the same free API. It fans prompts out at thesame concurrency, renders every result, grades each one, and then prints the`asset_pack.py` and `asset_gate.py` commands that reproduce the run on yourdiff --git a/public/cookbook/recipes/asset_gate.py b/public/cookbook/recipes/asset_gate.pyindex ce2cb657b..88f7bbd6d 100644--- a/public/cookbook/recipes/asset_gate.py+++ b/public/cookbook/recipes/asset_gate.py@@ -167,8 +167,13 @@ def evaluate(asset: str, payload: dict, budget: dict) -> Report:warnings = int(validation.get("numWarnings") or 0)if warnings:report.advisories.append(f"glTF validator reported {warnings} warning(s)")+ # The inspect API grades its own optimization suggestions info | warn |+ # critical. Surface the two that describe a real delivery problem and skip+ # `info`, which fires on healthy models ("looks well-optimized for web").+ # `error` is not a severity this API emits, but costs nothing to accept in+ # case a future one does.for rec in payload.get("recommendations") or []:- if rec.get("severity") in ("warn", "warning", "error"):+ if rec.get("severity") in ("critical", "warn", "warning", "error"):report.advisories.append(rec.get("issue", ""))report.passed = not report.failures