A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix(cook): keep the page a bitmap font names, and hold the vocabulary
esengine169a647ff32d
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 9650f5553..b114862c8 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -24,6 +24,12 @@ published separately; it ships inside the editor.it runs, so switching a boss back on cannot un-switch a prop that was switchedoff on its own. `set_entity_active` is the same door for automation.+- **A bitmap font is an asset the editor knows.** `BitmapText` has shipped with+ a `font` slot since it existed, and no `.fnt` could fill it: the editor had no+ type for one, so a bitmap font read as an unknown file and the slot refused it.+ The pixel-RPG template's signpost is lettered with one now — the first bitmap+ text in the corpus.+- **The starfield drifts by `Velocity`.** Forty stars each had their `y`decremented by a system every frame, which is the one thing the engine's own`Velocity` component does — and nothing in the corpus had ever carried it.@@ -39,6 +45,16 @@ published separately; it ships inside the editor.`Disabled` and the only place it can be watched working: a query answers withthree of the scene's four posts, and no hunter is ever sent to the fourth.+- **A build keeps the page a bitmap font names.** The cook has a rule for this —+ a `.fnt` names its page as a sibling in TEXT, nothing else in a project names+ that image, and an unscanned one ships a font that 404s. The rule compared the+ `.meta` type against `bitmapFont`, which no importer has ever written; the+ pipeline test supplied that spelling in its own fixture, so the rule and the+ test agreed about a value no real asset could carry. A gate now holds every+ type the cook reads against the ones an import actually writes, which turned up+ a second: `json` — a game's own data table — was a `.meta` type the editor's+ own list did not have, so a spawn table read as an unknown file.+- **A disabled entity is actually skipped.** `Disabled`'s doc promised that "theengine's systems skip it" and nothing read the tag: `setEntityActive` returned,every query went on answering with the entity, and the only record of this wasdiff --git a/desktop b/desktopindex 56cf25982..913059601 160000--- a/desktop+++ b/desktop@@ -1 +1 @@-Subproject commit 56cf259821e8eab2d6639a79ba6e78e3eb89482c+Subproject commit 9130596018cf0f03658b6806decb6dc8a3fde00fdiff --git a/pipeline/src/assets/assetDb.ts b/pipeline/src/assets/assetDb.tsindex 71775c2e4..71a09f85b 100644--- a/pipeline/src/assets/assetDb.ts+++ b/pipeline/src/assets/assetDb.ts@@ -217,6 +217,10 @@ const SKELETAL_ATLAS_TYPES = new Set(['spine-atlas', 'dragonbones-atlas']);// A bitmap font is the same shape one step over: TEXT, naming its page image as a// sibling, and nothing else in the project names that image either.const FNT_PAGE = /(?:^|\n)\s*page\b[^\n]*\bfile="([^"]+)"/g;+// The `.meta` type the editor writes for one. It was spelled `bitmapFont` here+// and nowhere else in the project — no importer produced that, so the scan below+// never ran and a build shipped a font whose page had been culled.+const BITMAP_FONT = 'bitmapfont';// 'json' is a game's own data table. It is scanned like the rest because a// data-driven game names assets FROM its data — a spawn table holding `@uuid:`@@ -322,7 +326,7 @@ async function computeDeps(const byPath = new Map(entries.map((e) => [e.path, e]));const uuids = new Set(entries.map((e) => e.uuid));const refEntries = (targets ?? entries).filter(- (e) => JSON_REF_TYPES.has(e.type) || e.type === 'bitmapFont'+ (e) => JSON_REF_TYPES.has(e.type) || e.type === BITMAP_FONT|| SKELETAL_ATLAS_TYPES.has(getEditorType(e.path)),);type DepResult = { uuid: string; refs: string[] } | { warning: string };@@ -334,7 +338,7 @@ async function computeDeps(// Spine's atlas is a TEXT manifest and needs its own parser; DragonBones'// is JSON, so the generic walk below already finds its `imagePath`.const isSpineAtlas = getEditorType(entry.path) === 'spine-atlas';- const isBitmapFont = entry.type === 'bitmapFont';+ const isBitmapFont = entry.type === BITMAP_FONT;try {const refs = new Set<string>();if (isBitmapFont) {diff --git a/pipeline/tests/document-ref-cook-deps.test.ts b/pipeline/tests/document-ref-cook-deps.test.tsindex e187283f1..cd103a99d 100644--- a/pipeline/tests/document-ref-cook-deps.test.ts+++ b/pipeline/tests/document-ref-cook-deps.test.ts@@ -92,7 +92,10 @@ beforeAll(() => {writeAsset('assets/anim/idle.esanim', 'animclip', CLIP, clip);writeAsset('assets/anim/player.esanimator', 'animatorcontroller', CONTROLLER, controller);writeAsset('assets/fonts/tiny.png', 'texture', FNT_PAGE, 'PNG');- writeAsset('assets/fonts/tiny.fnt', 'bitmapFont', FNT, fnt);+ // The type an IMPORT writes for a .fnt. It read `bitmapFont` here and in the+ // scan it drives, and nothing else in the project spelled it that way — so the+ // two agreed with each other about a value no real asset could carry.+ writeAsset('assets/fonts/tiny.fnt', 'bitmapfont', FNT, fnt);writeAsset('assets/scenes/main.esscene', 'scene', SCENE, scene);});diff --git a/templates/pixel-rpg/assets/fonts/pixel.fnt b/templates/pixel-rpg/assets/fonts/pixel.fntnew file mode 100644index 000000000..f1a0b9907--- /dev/null+++ b/templates/pixel-rpg/assets/fonts/pixel.fnt@@ -0,0 +1,47 @@+info face="Pixel" size=5 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=0 aa=1 padding=0,0,0,0 spacing=1,1+common lineHeight=7 base=5 scaleW=32 scaleH=36 pages=1 packed=0+page id=0 file="pixel.png"+chars count=43+char id=32 x=0 y=0 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="space"+char id=33 x=4 y=0 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="!"+char id=44 x=8 y=0 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter=","+char id=45 x=12 y=0 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="-"+char id=46 x=16 y=0 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="."+char id=48 x=20 y=0 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="0"+char id=49 x=24 y=0 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="1"+char id=50 x=28 y=0 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="2"+char id=51 x=0 y=6 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="3"+char id=52 x=4 y=6 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="4"+char id=53 x=8 y=6 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="5"+char id=54 x=12 y=6 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="6"+char id=55 x=16 y=6 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="7"+char id=56 x=20 y=6 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="8"+char id=57 x=24 y=6 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="9"+char id=58 x=28 y=6 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter=":"+char id=63 x=0 y=12 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="?"+char id=65 x=4 y=12 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="A"+char id=66 x=8 y=12 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="B"+char id=67 x=12 y=12 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="C"+char id=68 x=16 y=12 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="D"+char id=69 x=20 y=12 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="E"+char id=70 x=24 y=12 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="F"+char id=71 x=28 y=12 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="G"+char id=72 x=0 y=18 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="H"+char id=73 x=4 y=18 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="I"+char id=74 x=8 y=18 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="J"+char id=75 x=12 y=18 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="K"+char id=76 x=16 y=18 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="L"+char id=77 x=20 y=18 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="M"+char id=78 x=24 y=18 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="N"+char id=79 x=28 y=18 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="O"+char id=80 x=0 y=24 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="P"+char id=81 x=4 y=24 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="Q"+char id=82 x=8 y=24 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="R"+char id=83 x=12 y=24 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="S"+char id=84 x=16 y=24 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="T"+char id=85 x=20 y=24 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="U"+char id=86 x=24 y=24 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="V"+char id=87 x=28 y=24 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="W"+char id=88 x=0 y=30 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="X"+char id=89 x=4 y=30 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="Y"+char id=90 x=8 y=30 width=3 height=5 xoffset=0 yoffset=0 xadvance=4 page=0 chnl=15 letter="Z"diff --git a/templates/pixel-rpg/assets/fonts/pixel.fnt.meta b/templates/pixel-rpg/assets/fonts/pixel.fnt.metanew file mode 100644index 000000000..de3a0d4e1--- /dev/null+++ b/templates/pixel-rpg/assets/fonts/pixel.fnt.meta@@ -0,0 +1,6 @@+{+ "uuid": "d5e6f7a8-b9c0-4d1e-8f2a-3b4c5d6e7f80",+ "version": "2.0",+ "type": "bitmapfont",+ "importer": {}+}diff --git a/templates/pixel-rpg/assets/fonts/pixel.png b/templates/pixel-rpg/assets/fonts/pixel.pngnew file mode 100644index 000000000..114ca38d8Binary files /dev/null and b/templates/pixel-rpg/assets/fonts/pixel.png differdiff --git a/templates/pixel-rpg/assets/fonts/pixel.png.meta b/templates/pixel-rpg/assets/fonts/pixel.png.metanew file mode 100644index 000000000..594508819--- /dev/null+++ b/templates/pixel-rpg/assets/fonts/pixel.png.meta@@ -0,0 +1,12 @@+{+ "uuid": "c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e7f",+ "version": "2.0",+ "type": "texture",+ "importer": {+ "maxSize": 2048,+ "filterMode": "nearest",+ "wrapMode": "clamp",+ "premultiplyAlpha": false,+ "sliceBorder": { "left": 0, "right": 0, "top": 0, "bottom": 0 }+ }+}diff --git a/templates/pixel-rpg/assets/scenes/main.esscene b/templates/pixel-rpg/assets/scenes/main.essceneindex db259ffad..c77455377 100644--- a/templates/pixel-rpg/assets/scenes/main.esscene+++ b/templates/pixel-rpg/assets/scenes/main.esscene@@ -8,7 +8,16 @@"parent": null,"children": [],"components": [- { "type": "Transform", "data": { "position": { "x": 0, "y": 0, "z": 10 } } },+ {+ "type": "Transform",+ "data": {+ "position": {+ "x": 0,+ "y": 0,+ "z": 10+ }+ }+ },{"type": "Camera","data": {@@ -28,11 +37,23 @@"parent": null,"children": [],"components": [- { "type": "Transform", "data": { "position": { "x": -256, "y": 192, "z": 0 } } },+ {+ "type": "Transform",+ "data": {+ "position": {+ "x": -256,+ "y": 192,+ "z": 0+ }+ }+ },{"type": "TilemapLayer","data": {- "cellSize": { "x": 16, "y": 16 },+ "cellSize": {+ "x": 16,+ "y": 16+ },"renderLayer": 0,"opacity": 1,"visible": true,@@ -49,10 +70,38 @@"parent": null,"children": [],"components": [- { "type": "Transform", "data": { "position": { "x": -24, "y": -8, "z": 0 } } },+ {+ "type": "Transform",+ "data": {+ "position": {+ "x": -24,+ "y": -8,+ "z": 0+ }+ }+ },{"type": "Talkable",- "data": { "line": "The road south leaves the valley. The pond is east." }+ "data": {+ "line": "The road south leaves the valley. The pond is east."+ }+ },+ {+ "type": "BitmapText",+ "data": {+ "text": "SIGN",+ "font": "@uuid:d5e6f7a8-b9c0-4d1e-8f2a-3b4c5d6e7f80",+ "fontSize": 5,+ "color": {+ "r": 0.95,+ "g": 0.9,+ "b": 0.75,+ "a": 1+ },+ "align": 1,+ "spacing": 1,+ "layer": 1+ }}],"visible": true@@ -63,18 +112,32 @@"parent": null,"children": [],"components": [- { "type": "Transform", "data": { "position": { "x": -8, "y": -72, "z": 1 } } },+ {+ "type": "Transform",+ "data": {+ "position": {+ "x": -8,+ "y": -72,+ "z": 1+ }+ }+ },{"type": "Sprite","data": {- "size": { "x": 16, "y": 16 },+ "size": {+ "x": 16,+ "y": 16+ },"texture": "@uuid:7e1c2a90-11d4-4b8a-9d1a-2c6f0b8e4a02","layer": 5}},{"type": "SpriteAnimator",- "data": { "clip": "assets/animations/walk-down.esanim" }+ "data": {+ "clip": "assets/animations/walk-down.esanim"+ }},{"type": "Facings",@@ -85,18 +148,37 @@"up": "assets/animations/walk-up.esanim"}},- { "type": "Player", "data": {} },- { "type": "RigidBody2D", "data": { "bodyType": 1 } },+ {+ "type": "Player",+ "data": {}+ },+ {+ "type": "RigidBody2D",+ "data": {+ "bodyType": 1+ }+ },{"type": "BoxCollider2D","data": {- "halfExtents": { "x": 0.05, "y": 0.035 },- "offset": { "x": 0, "y": -0.045 },+ "halfExtents": {+ "x": 0.05,+ "y": 0.035+ },+ "offset": {+ "x": 0,+ "y": -0.045+ },"categoryBits": 1,"maskBits": 65535}},- { "type": "CharacterController2D", "data": { "maskBits": 65535 } }+ {+ "type": "CharacterController2D",+ "data": {+ "maskBits": 65535+ }+ }],"visible": true},@@ -104,17 +186,28 @@"id": 4,"name": "Canvas","parent": null,- "children": [5],+ "children": [+ 5+ ],"components": [- { "type": "Transform", "data": {} },+ {+ "type": "Transform",+ "data": {}+ },{"type": "Canvas","data": {- "designResolution": { "x": 320, "y": 180 },+ "designResolution": {+ "x": 320,+ "y": 180+ },"scaleMode": 2}},- { "type": "UINode", "data": {} }+ {+ "type": "UINode",+ "data": {}+ }],"visible": true},@@ -124,15 +217,30 @@"parent": 4,"children": [],"components": [- { "type": "Transform", "data": {} },+ {+ "type": "Transform",+ "data": {}+ },{"type": "UINode","data": {"position": 1,- "insetLeft": { "value": 16, "unit": 0 },- "insetRight": { "value": 16, "unit": 0 },- "insetBottom": { "value": 10, "unit": 0 },- "height": { "value": 14, "unit": 0 }+ "insetLeft": {+ "value": 16,+ "unit": 0+ },+ "insetRight": {+ "value": 16,+ "unit": 0+ },+ "insetBottom": {+ "value": 10,+ "unit": 0+ },+ "height": {+ "value": 14,+ "unit": 0+ }}},{@@ -140,16 +248,29 @@"data": {"content": "Arrow keys or WASD to walk.","fontSize": 10,- "color": { "r": 0.95, "g": 0.95, "b": 0.9, "a": 1 },+ "color": {+ "r": 0.95,+ "g": 0.95,+ "b": 0.9,+ "a": 1+ },"align": 1,"verticalAlign": 1,- "strokeColor": { "r": 0.05, "g": 0.05, "b": 0.08, "a": 1 },+ "strokeColor": {+ "r": 0.05,+ "g": 0.05,+ "b": 0.08,+ "a": 1+ },"strokeWidth": 2}},- { "type": "SayLine", "data": {} }+ {+ "type": "SayLine",+ "data": {}+ }],"visible": true}]-}+}\ No newline at end of filediff --git a/tools/check-asset-vocabulary.mjs b/tools/check-asset-vocabulary.mjsnew file mode 100644index 000000000..4a21c4526--- /dev/null+++ b/tools/check-asset-vocabulary.mjs@@ -0,0 +1,92 @@+// SPDX-License-Identifier: Apache-2.0+// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team+/**+ * @file check-asset-vocabulary.mjs — the cook names types an importer writes.+ *+ * The cook decides what to scan for dependencies by reading a `.meta`'s `type`,+ * and the editor decides what a `.meta` says by looking the file's extension up+ * in its own table. Two lists, one vocabulary — and a value in the cook's that+ * the editor never writes is a rule that cannot fire.+ *+ * That is not hypothetical: the bitmap-font scan compared against `bitmapFont`,+ * the editor had no `.fnt` type at all, and the pipeline test wrote `bitmapFont`+ * into its own fixture — so the rule, the test and nothing else agreed about a+ * value no real asset could carry, and a build shipped a font whose page had+ * been culled. The test could not catch it: it supplied both halves.+ *+ * Run: node tools/check-asset-vocabulary.mjs+ */+import { readFileSync, existsSync } from 'node:fs';+import path from 'node:path';+import { fileURLToPath } from 'node:url';++const ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');+const COOK = path.join(ROOT, 'pipeline', 'src', 'assets', 'assetDb.ts');+const EDITOR_TYPES = path.join(ROOT, 'desktop', 'src', 'types.ts');++/**+ * Cook-side values that are NOT `.meta` types, and what they are instead. An+ * entry is a claim that the value is checked against something else entirely.+ */+const NOT_META_TYPES = {+ 'spine-atlas': "the SDK's editorType vocabulary, minted from the file's content",+ 'dragonbones-atlas': 'as spine-atlas',+};++const cook = readFileSync(COOK, 'utf8');++/** Every string the cook compares a `.meta` type against. */+function cookTypes() {+ const out = new Set();+ const jsonRefs = cook.match(/const JSON_REF_TYPES = new Set\(\[([\s\S]*?)\]\)/);+ const skeletal = cook.match(/const SKELETAL_ATLAS_TYPES = new Set\(\[([\s\S]*?)\]\)/);+ for (const block of [jsonRefs?.[1], skeletal?.[1]]) {+ for (const m of (block ?? '').matchAll(/'([a-zA-Z-]+)'/g)) out.add(m[1]);+ }+ // Single-value constants compared to `entry.type`, named for what they hold.+ for (const m of cook.matchAll(/^const ([A-Z_]+) = '([a-zA-Z-]+)';$/gm)) {+ if (cook.includes(`entry.type === ${m[1]}`) || cook.includes(`e.type === ${m[1]}`)) out.add(m[2]);+ }+ return [...out].sort();+}++const found = cookTypes();+if (found.length === 0) {+ console.error('check-asset-vocabulary: read no type names out of the cook — the shapes it reads have moved.');+ process.exit(1);+}++if (!existsSync(EDITOR_TYPES)) {+ console.log(`check-asset-vocabulary: no editor checkout — ${found.length} cook-side type(s) went unchecked.`);+ process.exit(0);+}+const editor = readFileSync(EDITOR_TYPES, 'utf8');+const union = editor.match(/export type BuiltinAssetType =([\s\S]*?);/);+if (!union) {+ console.error('check-asset-vocabulary: BuiltinAssetType is not where this reads it from.');+ process.exit(1);+}+const written = new Set([...union[1].matchAll(/'([a-zA-Z-]+)'/g)].map((m) => m[1]));++const problems = [];+for (const type of found) {+ if (written.has(type)) continue;+ const why = NOT_META_TYPES[type];+ if (why) continue;+ problems.push(`the cook reads "${type}", which the editor never writes into a .meta`+ + ' — no import produces it, so the rule it gates cannot fire'+ + ' (add it to BuiltinAssetType + ASSET_TYPES, or say why it is not a meta type here)');+}+for (const type of Object.keys(NOT_META_TYPES)) {+ if (!found.includes(type)) {+ problems.push(`NOT_META_TYPES names "${type}", which the cook no longer reads`);+ }+}++if (problems.length) {+ console.error(`check-asset-vocabulary: ${problems.length} problem(s)`);+ for (const p of problems) console.error(` ${p}`);+ process.exit(1);+}+console.log(`check-asset-vocabulary: ${found.length} type(s) the cook reads, every one an importer writes`+ + ` (${Object.keys(NOT_META_TYPES).length} judged by another vocabulary).`);diff --git a/tools/check-corpus-authoring.mjs b/tools/check-corpus-authoring.mjsindex 0b5c20005..40d6684ec 100644--- a/tools/check-corpus-authoring.mjs+++ b/tools/check-corpus-authoring.mjs@@ -84,6 +84,7 @@ const NOT_INSTANCE_FORMATS = {'.png': 'a texture','.ktx2': 'a compressed texture','.hdr': 'an environment map',+ '.fnt': 'a bitmap font\'s metrics; the page beside it is a texture and what USES it is authored elsewhere','.gltf': 'an imported model','.bin': 'model or compressed-asset payload','.atlas': 'a Spine atlas, written by Spine',@@ -119,7 +120,6 @@ const DISPOSITION = {// Each reason names where the coverage belongs. —- BitmapText: ['owed', 'Create > Bitmap Text exists; every corpus scene uses Text instead, so the pixel-font path ships unwitnessed'],};const snapshot = JSON.parse(readFileSync(SNAPSHOT, 'utf8'));diff --git a/tools/gates.mjs b/tools/gates.mjsindex 8fbd77e67..55a675590 100644--- a/tools/gates.mjs+++ b/tools/gates.mjs@@ -220,6 +220,7 @@ export const GATES = [{ id: 'import-settings', run: 'node tools/check-import-settings.mjs' },{ id: 'gizmo-coverage', run: 'node tools/check-gizmo-coverage.mjs', needs: 'editor' },{ id: 'corpus-authoring', run: 'node tools/check-corpus-authoring.mjs' },+ { id: 'asset-vocabulary', run: 'node tools/check-asset-vocabulary.mjs' },{ id: 'lod-authoring', run: 'node tools/check-lod-authoring.mjs', needs: 'editor' },{ id: 'shadow-plan', run: 'node tools/check-shadow-plan.mjs' },{ id: 'light-cap', run: 'node tools/check-light-cap.mjs' },