@babylonjs-toolkit/agent 1.1.14 → 1.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -5
- package/package.json +1 -1
- package/skills/bt-gauntlet/SKILL.md +48 -30
- package/skills/bt-gauntlet/references/critic-rubrics.md +2 -2
- package/skills/bt-gauntlet/references/loop-templates.md +2 -2
- package/skills/bt-gauntlet/references/spec-composition.md +2 -2
- package/skills/bt-gauntlet/references/target-images.md +6 -6
- package/skills/bt-gauntlet/references/unity-pipeline.md +480 -0
- package/skills/bt-gauntlet/references/workspace.md +6 -5
- package/skills/bt-gauntlet/references/blender-model-pipeline.md +0 -194
- package/skills/bt-gauntlet/references/unity-level-pipeline.md +0 -285
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Babylon Toolkit Agent Skills (1.1.
|
|
1
|
+
# Babylon Toolkit Agent Skills (1.1.15)
|
|
2
2
|
|
|
3
3
|
Universal [Agent Skills](https://agentskills.io) for the `Babylon Toolkit` web game development framework.
|
|
4
4
|
Each `SKILL.md` follows the open standard, so the **same file works unchanged** in Claude Code, Codex CLI, and GitHub Copilot.
|
|
@@ -189,17 +189,16 @@ Where each tool looks for PROJECT-LOCAL skills (only when the user explicitly re
|
|
|
189
189
|
|
|
190
190
|
**What it is in one line:** you give it a brief and a quality bar; it interviews you, locks a **target image** and the **cameras** every screenshot is taken from, writes a loop card, then runs rounds of *build → capture real evidence → fresh harsh critic scores a rubric and returns the full gap list → record* until the success condition passes or a boundary fires — building with **BabylonJS + the Babylon Toolkit, never Three.js**. All state lives in `_gauntlet/<name>/`, so you can stop any time and resume days or weeks later.
|
|
191
191
|
|
|
192
|
-
###
|
|
192
|
+
### Two deliverable kinds, one loop
|
|
193
193
|
|
|
194
194
|
The round protocol, critic contract, stall ladder and resume machinery are identical in every case. What changes is what the builder edits and how evidence is produced — settled in the interview and recorded in the loop card.
|
|
195
195
|
|
|
196
196
|
| Kind | The builder edits | Evidence is |
|
|
197
197
|
| --- | --- | --- |
|
|
198
198
|
| `web-game` | BabylonJS / Toolkit TypeScript, scene code, shaders, UI | the running game in a browser |
|
|
199
|
-
| `unity
|
|
200
|
-
| `blender-model` | a `.blend`/FBX via headless Blender — geometry, UVs, PBR maps, LODs, skinning | the asset loaded in BabylonJS under a frozen lighting rig |
|
|
199
|
+
| `unity` | a Unity scene via the Unity CLI — terrain, light rig, reflection probes, bake settings, fog, tonemapping — with headless Blender as the tool for low-level model work (in place, so GUIDs survive) | a **Unity camera snapshot** rendered straight to PNG each round — the loop stays in Unity. The export + browser check is a deliberate checkpoint, and what you export (whole level, or one asset as a container) is your call at the time |
|
|
201
200
|
|
|
202
|
-
Each kind
|
|
201
|
+
Each kind's prerequisite gate, part taxonomy, verify recipe and failure table live in `skills/bt-gauntlet/references/`.
|
|
203
202
|
|
|
204
203
|
### How a part is judged
|
|
205
204
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bt-gauntlet
|
|
3
|
-
description: "The Babylon Toolkit Gauntlet Skill runs a loop-engineering gauntlet: builders versus fresh harsh critics, scored against a LOCKED target image from LOCKED cameras, looping until a success condition, boundary, or stall rule stops it.
|
|
3
|
+
description: "The Babylon Toolkit Gauntlet Skill runs a loop-engineering gauntlet: builders versus fresh harsh critics, scored against a LOCKED target image from LOCKED cameras, looping until a success condition, boundary, or stall rule stops it. Two deliverable kinds share one loop — BabylonJS / Babylon Toolkit web games, and anything authored in Unity (game levels and the individual assets in them: baked GI, IBL, reflection probes, terrain, fog, tonemapping, materials, models), with headless Blender as the tool for low-level model work. Unity plus the Toolkit exporter is the content-creation surface and asset manager, shipping interactive glTF that BabylonJS loads; iteration stays inside Unity on camera snapshots and the export is a deliberate checkpoint, not a per-round tax. Fully RESUMABLE: each job lives in its own _gauntlet/<name>/ workspace, so the user can stop any time (daily limits, calling it a night) and continue weeks later in a brand-new session with `/bt-gauntlet --resume <name>`. Use for a long-running, self-improving build of an ambitious game artifact, level, or asset (e.g. `/bt-gauntlet build me a rain-soaked neon alley level at the fidelity of this reference image`)."
|
|
4
4
|
allowed-tools: Read, Grep, Glob, Edit, Write, Bash, WebFetch(domain:raw.githubusercontent.com), Agent, Task
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -35,15 +35,16 @@ Use the user's message after the skill name as the `arguments`.
|
|
|
35
35
|
|
|
36
36
|
# Deliverable kinds — what the loop is actually building
|
|
37
37
|
|
|
38
|
-
**One loop,
|
|
38
|
+
**One loop, two build-and-verify pipelines.** The round protocol, the critic contract, the stall ladder, the workspace and the resume machinery are identical in every case. What changes is *what the builder edits* and *how evidence is produced*. The interview settles this (batch 1) and records it in the loop card as `DELIVERABLE KIND`.
|
|
39
39
|
|
|
40
40
|
| Kind | Builder edits | Evidence is | Pipeline reference |
|
|
41
41
|
|---|---|---|---|
|
|
42
42
|
| **`web-game`** | BabylonJS / Toolkit TypeScript, scene code, shaders, UI | the running game in a browser | *(built in; no extra reference)* |
|
|
43
|
-
| **`unity
|
|
44
|
-
| **`blender-model`** | a `.blend`/FBX via headless Blender `bpy` — geometry, UVs, PBR maps, LODs, skinning | the asset **loaded in BabylonJS** in a browser under a frozen lighting rig | `references/blender-model-pipeline.md` |
|
|
43
|
+
| **`unity`** | a Unity scene via the Unity CLI — terrain, light rig, probes, bake settings, volumes, materials — with **headless Blender as the tool** for low-level model and asset work (in place, so GUIDs survive) | **in-loop: a Unity camera snapshot** rendered straight to PNG from the locked camera. Export + browser only at checkpoints (round 1, and when the work is done) | `references/unity-pipeline.md` |
|
|
45
44
|
|
|
46
|
-
**
|
|
45
|
+
> **Unity is the content-creation tool and the asset manager. Blender is a tool inside it.** There is one Unity pipeline, whether the job is polishing a whole level or one asset in it. Blender does low-level model and asset creation and edits — **in place**, so GUIDs and importer settings survive — and its job ends the moment the model is back in Unity. From there the model is simply an asset in a scene: it gets its materials, colliders, LOD group, rig and Toolkit components there, and it is judged there, lit by that scene. **What gets exported is the user's call at the time** — by prompt, or from the Unity Export buttons: the whole scene as a game level (`selection == null`, full scene metadata), or one asset as an asset container (`selection != null`, components only). An asset used in a level ships inside that level's export; nothing asset-specific is required.
|
|
46
|
+
|
|
47
|
+
**Read the pipeline reference before round 1**, and again on every `--resume` (a resumed session has lost that context). It defines the prerequisite gate, build surface, the Blender tool section, part taxonomy, verify recipe, extra critic gates and known failure modes.
|
|
47
48
|
|
|
48
49
|
## Reference map
|
|
49
50
|
|
|
@@ -53,8 +54,7 @@ Use the user's message after the skill name as the `arguments`.
|
|
|
53
54
|
| `references/critic-rubrics.md` | the critic contract, the scoring rubrics, the gap-list rules, the hard gates, the stall ladder |
|
|
54
55
|
| `references/target-images.md` | generating, prompting, reachability-checking, locking the target; locked cameras |
|
|
55
56
|
| `references/loop-templates.md` | Template A and Template B loop cards |
|
|
56
|
-
| `references/unity-
|
|
57
|
-
| `references/blender-model-pipeline.md` | the Blender headless CLI build + verify pipeline |
|
|
57
|
+
| `references/unity-pipeline.md` | the Unity build + verify pipeline, with Blender as the modelling tool |
|
|
58
58
|
| `references/spec-composition.md` | composition with bt-spec / bt-plan / bt-execute, and cross-host notes |
|
|
59
59
|
|
|
60
60
|
---
|
|
@@ -71,7 +71,7 @@ For any round involving Babylon, BabylonJS, or the Babylon Toolkit, first ensure
|
|
|
71
71
|
|
|
72
72
|
https://raw.githubusercontent.com/babylontoolkit/agent/main/reference.md
|
|
73
73
|
|
|
74
|
-
If you have not read it in this session/context, or you no longer remember it due to context loss/compaction (which WILL be the case on `--resume` in a fresh session), fetch and read it before writing any code. Treat it as the authority for conventions, API, and patterns; fetch its linked subpages only when relevant — and for `unity
|
|
74
|
+
If you have not read it in this session/context, or you no longer remember it due to context loss/compaction (which WILL be the case on `--resume` in a fresh session), fetch and read it before writing any code. Treat it as the authority for conventions, API, and patterns; fetch its linked subpages only when relevant — and for a `unity` job the Unity Exporter subpage is **always** relevant, plus the Blender CLI subpage whenever model work is in scope. Do not refetch what you still remember. If a required fetch fails, STOP and tell the user. Do not guess at the API. Builders spawned as subagents must be given (or told to fetch) the Agent Reference too — a subagent does not inherit your context.
|
|
75
75
|
|
|
76
76
|
## ⚠️ Babylon Toolkit Component Authority (supplied interactive assets)
|
|
77
77
|
|
|
@@ -81,7 +81,7 @@ The doctrine lives in the Agent Reference — `references/scene-components.md`
|
|
|
81
81
|
- **Builders build against the manifest** — given `components.md` alongside the Agent Reference. Unity-authored serialized values are preserved unless a *measured* issue justifies the change, and the measurement goes in the round journal.
|
|
82
82
|
- **Critics enforce it** — reimplementing, bypassing (e.g. direct transform updates beside an attached physics controller), or deleting a protected component is a **FAIL regardless of how the evidence looks**, unless the round journal carries the full replacement-evidence checklist.
|
|
83
83
|
|
|
84
|
-
> **Direction matters.** The doctrine above governs *consuming* supplied prefabs. A `unity
|
|
84
|
+
> **Direction matters.** The doctrine above governs *consuming* supplied prefabs. A `unity` job is usually **authoring** the thing that carries the metadata — there, the equivalent discipline is honoring the exporter's contract (see the pipeline reference's export-boundary gate), not preserving components you are in the act of creating. Say which situation applies in the loop card so critics do not misapply it.
|
|
85
85
|
|
|
86
86
|
## ⚠️ The Project Specification (SPEC.md)
|
|
87
87
|
|
|
@@ -103,8 +103,9 @@ Interview batches:
|
|
|
103
103
|
3. **THE TARGET + CAMERAS** — Per `references/target-images.md`: does the user have reference media, is there an existing artifact to refine, or do we generate the target? Agree the target image(s), run the **reachability pass** (Reachable / Approximable / **OUT OF REACH**), and agree the **locked cameras** — one per target, three to five, including a detail crop. Plus numeric benchmarks: target FPS @ resolution, max load time, draw-call / texture / triangle budgets. If the user has no benchmark, making a defensible one is part of the interview, not skipped.
|
|
104
104
|
4. **RUBRIC + PASS THRESHOLD** — Confirm the rubric axes from `references/critic-rubrics.md` (or amend them for this job) and the score a part must reach to pass. Default: **8.0 / 10 plus every hard gate green.**
|
|
105
105
|
5. **SUCCESS CONDITION** — When is the loop DONE? (e.g. "every part scores ≥8/10 from a fresh critic; sustained 60 FPS @1080p in Chrome; zero console errors; the final integration critic passes"). Success and failure defined separately.
|
|
106
|
-
6. **BOUNDARIES** — Time/cost expressed in **rounds and attempts, not wall-clock** (wall-clock cannot survive a two-week pause; counters can): max total rounds, max attempts per part before a forced strategy change, max consecutive no-improvement rounds. Permission gates: no deploy, no purchases/paid services, no credentials, no destructive ops, no contacting anyone — without explicit approval. For `unity
|
|
107
|
-
7. **Kind specifics** — For `web-game`: genre & camera, physics (Havok default), input, audio, asset pipeline, scene scale, target browsers, and explicit scope cuts. For `unity
|
|
106
|
+
6. **BOUNDARIES** — Time/cost expressed in **rounds and attempts, not wall-clock** (wall-clock cannot survive a two-week pause; counters can): max total rounds, max attempts per part before a forced strategy change, max consecutive no-improvement rounds. Permission gates: no deploy, no purchases/paid services, no credentials, no destructive ops, no contacting anyone — without explicit approval. For `unity`: the **bake tier policy** (how many rounds at preview tier before a production bake). Escalation rules: what blocks and waits for the user.
|
|
107
|
+
7. **Kind specifics** — For `web-game`: genre & camera, physics (Havok default), input, audio, asset pipeline, scene scale, target browsers, and explicit scope cuts. For `unity`: which scene (that is where the work is authored, rendered and judged), render pipeline, terrain in scope?, existing lighting to preserve, whether Blender model work is in scope (and if so which assets, in-place or new path, tri budget, texel density, rig to match), the bake tier policy, and the checkpoint cadence (round 1 + when done, by default). The Editor runs in **copilot mode** — `-nographics` cannot render the in-loop snapshots. What finally gets exported — the whole level, or an individual asset as a container — is the user's call at checkpoint time, not something to decide now.
|
|
108
|
+
|
|
108
109
|
8. **Loop mechanics** — confirm `--template` choice, rounds-per-session default, and any parts the user wants prioritized first.
|
|
109
110
|
|
|
110
111
|
Write all answers to `_gauntlet/<name>/brief.md`. Write the locked cameras to `cameras.md` and the pipeline state to `pipeline.md`. Fill the chosen template's slots to produce `_gauntlet/<name>/loop-card.md`. **Show the user the filled loop card and get confirmation before round 1.** Nothing builds until the card is confirmed.
|
|
@@ -120,7 +121,7 @@ _gauntlet/<name>/
|
|
|
120
121
|
├── loop-card.md # the constitution: kind, objective, target, rubric, OUT OF REACH, boundaries
|
|
121
122
|
├── brief.md # full interview answers
|
|
122
123
|
├── cameras.md # LOCKED capture cameras — evidence from anywhere else is inadmissible
|
|
123
|
-
├── pipeline.md # pipeline state: project paths, licence tier,
|
|
124
|
+
├── pipeline.md # pipeline state: project paths, licence tier, capture mode, bake tier, checkpoints
|
|
124
125
|
├── components.md # component inventory of supplied interactive assets (when applicable)
|
|
125
126
|
├── progress.md # THE resume file — parts, scores, attempts, failed approaches, NEXT ACTION
|
|
126
127
|
├── rounds/ # append-only per-round journals with the full gap list
|
|
@@ -139,11 +140,13 @@ _gauntlet/<name>/
|
|
|
139
140
|
1. **Inspect** the current state: `progress.md` + `pipeline.md` + the actual project — plus `components.md` when supplied assets carry component metadata (write it now if it is owed and missing).
|
|
140
141
|
2. **Select** the highest-impact unmet criterion — normally the top entries of the **standing gap list** from the last critic, respecting user priorities from the brief.
|
|
141
142
|
3. **Build** — make one coherent improvement, through the deliverable kind's build surface. **Template A:** fan out builder subagents only for *genuinely independent* parts; **keep tightly coupled systems under one sequential owner** (broad fan-out performs WORSE than sequential ownership for coupled visual systems). **Template B:** single-track. When a stall tier is active, obey it — incremental tweaks are forbidden and the round must carry a `STRATEGY:` line.
|
|
142
|
-
4. **Verify with the real artifact** — run the pipeline's verify recipe and capture evidence **from the locked cameras** into `_gauntlet/<name>/evidence/`: screenshots
|
|
143
|
+
4. **Verify with the real artifact** — run the pipeline's verify recipe and capture evidence **from the locked cameras** into `_gauntlet/<name>/evidence/`: screenshots plus whatever metrics that pipeline can measure in-loop. **Use the pipeline's cheap in-loop mode every round** — for `unity` that is a Unity camera snapshot, *not* a bake-export-serve-browser round trip; the expensive engine verification is a deliberate checkpoint (round 1, and when the work is done), never a per-round tax. **Screenshots are required for visual parts.** If the host cannot produce the evidence, mark the part `unverified` — it can NEVER be flipped to `- [x]` on the builder's word.
|
|
144
|
+
|
|
143
145
|
5. **Criticize (fresh context)** — spawn a harsh critic subagent per `references/critic-rubrics.md`. It receives the loop card, the part's spec, the target, the evidence, the metrics, **the previous round's screenshot and verdict**, and the pipeline's extra inputs — **never the builder's rationale**. It returns a **scored rubric**, the **FULL prioritized gap list** (not one gap), every **hard gate** as pass/fail, a regression note, and PASS/FAIL. It grades pixels, numbers and behaviour — never effort or intent.
|
|
144
146
|
6. **Record** — append `rounds/round-NN.md` with the score and the whole gap list; update `progress.md`: on PASS flip the part to `- [x]`; on FAIL log the top gap and increment the attempt counter; update the best/last scores and the stall tier. Persist BEFORE the next round.
|
|
145
147
|
7. **Gate check**, in order:
|
|
146
|
-
- **Success condition met** → run the **integration pass**: one final fresh critic inspects the complete artifact end-to-end for consistency, seams, and fit with the objective (local quality can rise while the whole becomes inconsistent). For `unity
|
|
148
|
+
- **Success condition met** → run the **integration pass**: one final fresh critic inspects the complete artifact end-to-end for consistency, seams, and fit with the objective (local quality can rise while the whole becomes inconsistent). For `unity` this is where the expensive path finally runs — **production bake → export → serve → browser** — so the integration critic judges the real deliverable and the perf, console, component and export-boundary gates are measured for real. Ask the user what to export if it is not obvious: the whole level, or an individual asset as a container. On pass, report DONE with the evidence summary.
|
|
149
|
+
|
|
147
150
|
- **Stall ladder fired** → **STALL APPROACHING** (no full-point gain in 2 rounds, or the same top gap twice) forbids tweaks and forces one architectural change next round. **STALLED** (that swing scored the same or worse) parks and escalates to the user. See `references/critic-rubrics.md` § 4.
|
|
148
151
|
- **A loop-card boundary fired** (rounds exhausted, repeated blocker, permission needed) → park + escalate with specifics.
|
|
149
152
|
- **`--rounds` session cap reached** → park cleanly: status report + print exactly `/bt-gauntlet --resume <name>`.
|
|
@@ -175,25 +178,28 @@ generate_image(
|
|
|
175
178
|
aspect_ratio: "16:9", resolution: "2K", output_format: "png")
|
|
176
179
|
```
|
|
177
180
|
|
|
178
|
-
**Interview settles:** kind `unity
|
|
181
|
+
**Interview settles:** kind `unity`; three locked cameras (`gauntlet_hero` down the alley, `gauntlet_side` across the puddles, `gauntlet_detail` on a sign); pass threshold 8.0; budgets 60 FPS @1080p, ≤900 draws; bake policy *preview until round 8, then production*.
|
|
179
182
|
|
|
180
183
|
**The reachability pass matters here.** Screen-space reflections in the target have no export key — the declared approach becomes *a reflection probe per puddle group plus a wet-mask material*, recorded as **Approximable**. True volumetric light shafts go to `OUT OF REACH`; height fog stands in. Without this the critic names "no SSR" every round forever.
|
|
181
184
|
|
|
182
185
|
**Round 1** runs the prerequisite gate (`bt_status` → `pro : True` or park), writes `pipeline.md`, authors the blockout via `eval_file`, creates the LightingSettings asset (`NewScene → build → SaveScene → assign → MarkSceneDirty → SaveOpenScenes`), places the three `gauntlet_*` cameras, and decomposes into the P1–P11 part checklist.
|
|
183
186
|
|
|
184
|
-
**
|
|
187
|
+
Round 1 also runs the **one calibration checkpoint** — a single export + browser load — to prove the whole chain works before investing 12 rounds, and to record what actually crosses the export boundary.
|
|
188
|
+
|
|
189
|
+
**Every round after that stays inside Unity:**
|
|
185
190
|
|
|
186
191
|
```bash
|
|
192
|
+
# bake (preview tier) only if this round touched anything GI-dependent
|
|
187
193
|
unity command eval 'UnityEditor.Lightmapping.BakeAsync(); return "started";' --project-path "$PROJ"
|
|
188
194
|
unity command eval 'return UnityEditor.Lightmapping.isRunning;' --project-path "$PROJ" # poll to False
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
jq '.scenes[0].extras.metadata | {license,skybox,ambientlighting,reflectionprobeintensity,fogmode,exposure,tonemapping}' \
|
|
193
|
-
"$PROJ/Export/scenes/neonalley.gltf" > evidence/round-NN-p7-metadata.json
|
|
195
|
+
|
|
196
|
+
# snapshot each locked camera straight to PNG — no export, no server, no browser
|
|
197
|
+
unity command eval_file /tmp/snap-hero.cs --project-path "$PROJ" # -> evidence/round-NN-p7-hero.png
|
|
194
198
|
```
|
|
195
199
|
|
|
196
|
-
The critic scores hero + side + detail against their targets
|
|
200
|
+
Seconds, not minutes. The critic scores hero + side + detail against their targets and returns the full gap list.
|
|
201
|
+
|
|
202
|
+
**The export runs twice in the whole job:** the round-1 calibration, and the final pass — production bake, export the finished scene, serve it, and let the integration critic judge the real deliverable while the perf, console and export-boundary gates are measured for real. *Did `reflectionprobeintensity` actually cross, or did the round only move a Unity slider?* — that question gets answered there, not forty times over.
|
|
197
203
|
|
|
198
204
|
**Parks** at round 12 with `/bt-gauntlet --resume neon-alley`. Weeks later that resumes cold: re-read the workspace, re-launch the Editor, re-run the gate, continue at `NEXT ACTION`.
|
|
199
205
|
|
|
@@ -221,32 +227,44 @@ generate_image(
|
|
|
221
227
|
|
|
222
228
|
3. **Constrain the part list.** "Don't change the layout" removes P1/P2/P3 from scope — record that as an explicit scope cut, so the loop works only P4–P11 (materials, light rig, GI bake, IBL, probes, atmosphere, image processing, perf) and a critic never raises a composition gap.
|
|
223
229
|
4. **Capture the baseline score.** Round 1's critic scores the untouched level against the target. That number is the floor — every later round is measured against it, and a regression below it is a gate failure, not a preference.
|
|
224
|
-
5. Bake tiering matters more here than anywhere, because the scene is already heavy: preview tier for the convergence rounds, one production bake before the integration critic.
|
|
230
|
+
5. Bake tiering matters more here than anywhere, because the scene is already heavy: preview tier for the convergence rounds, one production bake before the integration critic — and with the export out of the loop, the bake is the only per-round cost left, so skip it entirely on rounds that change nothing GI-dependent.
|
|
225
231
|
|
|
226
|
-
Because the scene was authored in the GUI it already has a LightingSettings asset — but **always pass `--scene`** anyway, or a fresh Editor session silently exports the template's default scene instead.
|
|
232
|
+
Because the scene was authored in the GUI it already has a LightingSettings asset — but **always pass `--scene`** at checkpoint exports anyway, or a fresh Editor session silently exports the template's default scene instead. Note this pipeline needs a **copilot-mode resident Editor**: `-nographics` has no graphics device and cannot render the in-loop snapshots.
|
|
227
233
|
|
|
228
|
-
## Example 3 — A high-fidelity
|
|
234
|
+
## Example 3 — A high-fidelity model, polished in Blender and shipped as an interactive prefab
|
|
229
235
|
|
|
230
236
|
```
|
|
231
237
|
/bt-gauntlet --name:hero-mech --rounds:15 Take Assets/Models/mech.fbx and make it a hero
|
|
232
238
|
asset — bevelled panel work, real wear, proper PBR maps, under 45k tris with an LOD chain.
|
|
233
|
-
Reference is the attached
|
|
239
|
+
It needs a rigidbody, an LOD group and the Animator wired up. Reference is the attached
|
|
240
|
+
turntable.
|
|
234
241
|
```
|
|
235
242
|
|
|
236
|
-
**Interview settles:** kind `
|
|
243
|
+
**Interview settles:** kind `unity`, with Blender model work in scope; **write mode IN PLACE** so the GUID and importer settings survive every round; the **render scene** is `Assets/Scenes/Level01.unity` — the level the mech actually lives in, so it is judged under the lighting it will really have (a dedicated lookdev scene only if the asset has no home yet), with its rig frozen for the run; four locked `gauntlet_*` cameras in it including a detail crop; model root `Props/Mech`; budgets 45k tris, 512 px/m texel density; checkpoints at round 1 and the finish.
|
|
237
244
|
|
|
238
|
-
**
|
|
245
|
+
**Blender hands off to Unity and stops there.** Blender does geometry, UVs, bakes and skinning, editing the FBX in place; Unity assigns materials, colliders, the LODGroup, the Animator and the Babylon Toolkit script components — Blender cannot write `extras.metadata.components`, and under a community licence Unity won't either. After the hand-off the mech is just an asset in `Level01`.
|
|
246
|
+
|
|
247
|
+
**A round, end to end — no export in sight:**
|
|
239
248
|
|
|
240
249
|
```bash
|
|
241
250
|
cp "$FBX" "$FBX.bak" # the write is destructive — always
|
|
242
251
|
blender --background --factory-startup --python-exit-code 1 \
|
|
243
252
|
--python /tmp/round-07-bevels.py -- "$FBX" "$FBX" # same path in and out
|
|
244
253
|
unity command eval 'UnityEditor.AssetDatabase.Refresh(UnityEditor.ImportAssetOptions.ForceSynchronousImport); return "ok";' --project-path "$PROJ"
|
|
254
|
+
unity command eval_file /tmp/snap-hero.cs --project-path "$PROJ" # -> evidence/round-07-p2-hero.png
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
Without `--python-exit-code 1` a crashed script exits `0` and the loop records a failed round as a success. Without in-place writing, every round mints a new GUID and quietly detaches the model from every scene that used it. Both are hard gates.
|
|
258
|
+
|
|
259
|
+
**Checkpoints export the scene, and the mech ships inside it:**
|
|
260
|
+
|
|
261
|
+
```bash
|
|
262
|
+
unity command bt_export_level --scene Assets/Scenes/Level01.unity --project-path "$PROJ" --timeout 900
|
|
245
263
|
```
|
|
246
264
|
|
|
247
|
-
|
|
265
|
+
Nothing model-specific is needed — `selection == null` exports the level, the mech is in there with its components, lit by the scene's baked lighting. If you *also* want the mech as a standalone reusable container, that is the deliberate extra call (`bt_export_prefab --paths "Props/Mech" --metadata true`), and `selection != null` means it carries components but no scene metadata.
|
|
248
266
|
|
|
249
|
-
|
|
267
|
+
The checkpoint is also where the critic gets both the Unity snapshot and the browser frame of the same angle and must say which side a gap is on — *Unity right, browser wrong* means material translation, not the sculpt, so don't re-model.
|
|
250
268
|
|
|
251
269
|
**Textures are generated, never procedural stand-ins** — `generate_image` for albedo, normal and roughness detail. "Substituted procedural noise for the missing map" is a gate failure, and it is the single most common reason a model reads as plastic.
|
|
252
270
|
|
|
@@ -38,7 +38,7 @@ never effort or intent.
|
|
|
38
38
|
Fractional scores allowed. The axes depend on the deliverable kind; the pipeline reference names which
|
|
39
39
|
table applies.
|
|
40
40
|
|
|
41
|
-
**Scene / level / in-game visual rubric**
|
|
41
|
+
**Scene / level / in-game visual rubric** — for `web-game` jobs and for **scene parts** of a `unity` job (lighting, GI, IBL, probes, atmosphere, composition, set dressing) — **10 points**:
|
|
42
42
|
|
|
43
43
|
| Axis | Points | What it covers |
|
|
44
44
|
|---|---|---|
|
|
@@ -48,7 +48,7 @@ table applies.
|
|
|
48
48
|
| **Detail & Density** | 0–2 | Set dressing, clutter, wear, edge damage, decals, scatter, small-scale variation. Does the frame hold up under a fine-toothed comb? |
|
|
49
49
|
| **Motion & Life** | 0–1 | Animation, wind, particles, flicker, ambient movement. Score `n/a` and redistribute to Detail when the part is genuinely static. |
|
|
50
50
|
|
|
51
|
-
**Model / asset rubric** (
|
|
51
|
+
**Model / asset rubric** — for **asset parts** of a `unity` job (an individual model: silhouette, UVs, bakes, materials, topology, rig) — **10 points**:
|
|
52
52
|
|
|
53
53
|
| Axis | Points | What it covers |
|
|
54
54
|
|---|---|---|
|
|
@@ -12,7 +12,7 @@ templates.
|
|
|
12
12
|
I want you to create <DELIVERABLE> that achieves <OBJECTIVE> at the quality
|
|
13
13
|
level of <CONCRETE REFERENCE OR MEASURABLE BENCHMARK>.
|
|
14
14
|
|
|
15
|
-
DELIVERABLE KIND: <web-game | unity
|
|
15
|
+
DELIVERABLE KIND: <web-game | unity>
|
|
16
16
|
Follow the matching pipeline reference for how to build and how to verify.
|
|
17
17
|
|
|
18
18
|
Build it with BabylonJS and the Babylon Toolkit (NOT Three.js), following the
|
|
@@ -81,7 +81,7 @@ OBJECTIVE
|
|
|
81
81
|
<OBJECTIVE — the exact outcome that should become true for <DELIVERABLE>>
|
|
82
82
|
|
|
83
83
|
DELIVERABLE KIND
|
|
84
|
-
<web-game | unity
|
|
84
|
+
<web-game | unity> — build and verify per the matching
|
|
85
85
|
pipeline reference.
|
|
86
86
|
|
|
87
87
|
ENGINE
|
|
@@ -26,7 +26,7 @@ or above the pass threshold with every gate green, however many rounds that take
|
|
|
26
26
|
2. **Quality via a gauntlet job** — once the game exists, `/bt-gauntlet --name:aaa-polish <brief>` with the
|
|
27
27
|
reference media. The loop builds on whatever the plan produced.
|
|
28
28
|
|
|
29
|
-
For a `unity
|
|
29
|
+
For a `unity` deliverable the same split applies, one layer down: use the spec workflow to scaffold
|
|
30
30
|
the Unity project, install the three packages and get a first export working end to end (that work is
|
|
31
31
|
enumerable and verifiable in one pass), then hand the *fidelity* problem to a gauntlet job. The Unity
|
|
32
32
|
Exporter reference points at this skill for exactly that step.
|
|
@@ -70,7 +70,7 @@ re-invocation — no host loop feature is required.
|
|
|
70
70
|
tool otherwise. None available and no user-supplied reference → stop and ask (see `target-images.md`).
|
|
71
71
|
- **Interview:** `AskUserQuestion` where the host has it; plain numbered questions otherwise.
|
|
72
72
|
- **Unity / Blender CLIs:** shell tools, so they work on any host with a shell. A host with no shell cannot
|
|
73
|
-
run the `unity
|
|
73
|
+
run the `unity` pipeline — say so rather than degrading silently.
|
|
74
74
|
- **Skill loading:** where skills are loaded with a tool (the Babylon Toolkit App Builder platform),
|
|
75
75
|
`load_skill('bt-gauntlet')`; where skills are files on disk (Claude Code), this folder lives in
|
|
76
76
|
`~/.claude/skills/` or the project's `.claude/skills/`. **Copy the entire folder — SKILL.md alone is not
|
|
@@ -71,8 +71,8 @@ pipeline can physically deliver, and split it three ways:
|
|
|
71
71
|
Critics are instructed never to raise gaps against `OUT OF REACH` items. Without this list the critic names
|
|
72
72
|
the same impossible gap every round, the stall ladder fires, and the run parks for no good reason.
|
|
73
73
|
|
|
74
|
-
For `unity
|
|
75
|
-
`unity-
|
|
74
|
+
For `unity` jobs the boundary is concrete: the 73 scene-metadata keys the exporter emits. See
|
|
75
|
+
`unity-pipeline.md` § *Scope the target to what can actually cross the boundary*.
|
|
76
76
|
|
|
77
77
|
---
|
|
78
78
|
|
|
@@ -112,10 +112,10 @@ with exactly one locked camera, recorded in `_gauntlet/<name>/cameras.md`:
|
|
|
112
112
|
|
|
113
113
|
- Three to five cameras is usually right: a hero establishing shot, one or two secondary angles, and a
|
|
114
114
|
detail crop that forces the critic to look closely.
|
|
115
|
-
- For `unity
|
|
116
|
-
export with the level
|
|
117
|
-
|
|
118
|
-
|
|
115
|
+
- For `unity` jobs these are **real Unity cameras** named `gauntlet_<slug>` saved in the scene: the in-loop
|
|
116
|
+
snapshot renders through them, and they export with the level too. When the subject is a single asset,
|
|
117
|
+
frame it in the scene it lives in under that scene's frozen lighting rig — see `unity-pipeline.md`
|
|
118
|
+
§ *Where the work is judged*.
|
|
119
119
|
- Evidence not captured from a locked transform is **inadmissible** — it fails the camera-lock gate.
|
|
120
120
|
|
|
121
121
|
Add a camera mid-run only by amendment, and generate its target at the same time.
|