@babylonjs-toolkit/agent 1.1.11 → 1.1.14

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 CHANGED
@@ -1,4 +1,4 @@
1
- # Babylon Toolkit Agent Skills (1.1.6)
1
+ # Babylon Toolkit Agent Skills (1.1.14)
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.
@@ -124,12 +124,12 @@ happens to be named `bt-something` is safe.
124
124
  | Skill | Command | What it does |
125
125
  |-------|---------|--------------|
126
126
  | [`bt-spec`](skills/bt-spec/SKILL.md) | `/bt-spec` | Turn a short idea into a feature spec file on a new git branch. |
127
- | [`bt-plan`](skills/bt-plan/SKILL.md) | `/bt-plan` | Produce a decision-complete, task-checklist technical plan from a spec — the plan is the shared memory that keeps a long, fresh-context-per-task run cohesive. |
127
+ | [`bt-plan`](skills/bt-plan/SKILL.md) | `/bt-plan` | Produce a detailed, task-checklist technical plan from a spec. Add `--heavy` for a decision-complete plan that keeps a long, fresh-context-per-task run cohesive. |
128
128
  | [`bt-execute`](skills/bt-execute/SKILL.md) | `/bt-execute` | Implement one task (or all remaining tasks) from a plan/spec. |
129
129
  | [`bt-convert`](skills/bt-convert/SKILL.md) | `/bt-convert` | Convert source code to Babylon Toolkit TypeScript. |
130
130
  | [`bt-copycat`](skills/bt-copycat/SKILL.md) | `/bt-copycat` | Re-create the specified website adapted to specified genre. |
131
131
  | [`bt-landing`](skills/bt-landing/SKILL.md) | `/bt-landing` | Re-design the landing page, splash screen, preloader and custom overlays. |
132
- | [`bt-gauntlet`](skills/bt-gauntlet/SKILL.md) | `/bt-gauntlet` | Agent based gauntlet loop engineering. ([usage guide](gauntletusage.md)) |
132
+ | [`bt-gauntlet`](skills/bt-gauntlet/SKILL.md) | `/bt-gauntlet` | Agent based gauntlet loop engineering — web games, Unity levels, or Blender models. ([usage guide](#babylon-toolkit-loop-engineering-gauntlet-loop)) |
133
133
  | [`bt-prototype`](skills/bt-prototype/SKILL.md) | `/bt-prototype` | Create any number of award winning frontend prototypes. |
134
134
  | [`bt-design`](skills/bt-design/SKILL.md) | `/bt-design` | Implement high quality frontend and in-game designs. |
135
135
  | [`bt-hero`](skills/bt-hero/SKILL.md) | `/bt-hero` | Create smooth cinematic 3D scrolling hero sections. |
@@ -140,17 +140,19 @@ the frontmatter `name` + `description` to decide when the skill applies. The `al
140
140
  line is honored by Claude Code (auto-approves those tools) and safely ignored by Codex and
141
141
  Copilot.
142
142
 
143
- ### Why plans are heavy
143
+ ### Heavy plans (`/bt-plan --heavy`)
144
144
 
145
145
  A plan can hold 50+ tasks and run for days, with each task executed by `bt-execute` in a fresh
146
- context. The only thing that survives between tasks is the plan file, so `bt-plan` writes it as
147
- the feature's shared memory: a numbered `## Decisions` log (every choice, its rationale, what was
148
- rejected, which tasks it binds), a `## Design Reference` (file map, interfaces written as code,
149
- data shapes, algorithms with their constants, edge-case policy, verbatim conventions to mirror,
150
- exact API usage, test strategy), and self-contained tasks that cite those sections by name
151
- instead of relying on memory of earlier tasks. Before the plan is final, a fresh read-only
152
- subagent audits it as a cold executor and every gap it finds is fixed. The result is that task 40
153
- uses the same names, shapes and patterns as task 3 — whichever session, day, or model runs it.
146
+ context. The only thing that survives between tasks is the plan file. `--heavy` makes `bt-plan`
147
+ write it as the feature's shared memory: a numbered `## Decisions` log (every choice, its
148
+ rationale, what was rejected, which tasks it binds), a `## Design Reference` (file map, interfaces
149
+ written as code, data shapes, algorithms with their constants, edge-case policy, verbatim
150
+ conventions to mirror, exact API usage, test strategy), and self-contained tasks that cite those
151
+ sections by name instead of relying on memory of earlier tasks. Before the plan is final, a fresh
152
+ read-only subagent audits it as a cold executor and every gap it finds is fixed. The result is
153
+ that task 40 uses the same names, shapes and patterns as task 3 — whichever session or day runs
154
+ it. Without the flag, `bt-plan` produces its standard plan; `bt-execute` runs either kind the
155
+ same way.
154
156
 
155
157
  ## Universal Installations
156
158
 
@@ -185,7 +187,28 @@ Where each tool looks for PROJECT-LOCAL skills (only when the user explicitly re
185
187
 
186
188
  # Babylon Toolkit Loop Engineering (Gauntlet Loop)
187
189
 
188
- **What it is in one line:** you give it a game brief and a quality bar; it interviews you, writes a loop card, then runs rounds of *build → capture real browser evidence → fresh harsh critic vs your reference (blind A/B) → 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.
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
+
192
+ ### Three deliverable kinds, one loop
193
+
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
+
196
+ | Kind | The builder edits | Evidence is |
197
+ | --- | --- | --- |
198
+ | `web-game` | BabylonJS / Toolkit TypeScript, scene code, shaders, UI | the running game in a browser |
199
+ | `unity-level` | a Unity scene via the Unity CLI — terrain, light rig, reflection probes, bake settings, fog, tonemapping | the **exported** level served over the toolkit dev server, plus the exported scene metadata |
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 |
201
+
202
+ Each kind has its own prerequisite gate, part taxonomy and failure table in `skills/bt-gauntlet/references/`.
203
+
204
+ ### How a part is judged
205
+
206
+ - **The bar is an image, and it is locked.** No prose bars. If you have no reference media it generates one (a real in-engine screenshot, never concept art), then freezes it for the run.
207
+ - **Evidence comes from locked cameras.** Three to five named cameras with exact transforms; a frame shot from anywhere else is inadmissible.
208
+ - **A scored rubric, not a vibe.** Composition / Lighting & Atmosphere / Materials / Detail / Motion, out of 10 (models get their own axes). Default pass mark 8.0.
209
+ - **The critic returns the whole gap list**, prioritised and actionable — not one gap per round — and it sees the previous round's score and screenshot so regressions are caught.
210
+ - **Hard gates are separate from the score**: perf budget, console clean, camera lock, component authority, and the pipeline's own gate (e.g. did the change actually cross the Unity export boundary).
211
+ - **A stall ladder forces adaptation.** No full-point gain in two rounds, or the same top gap named twice → incremental tweaks are forbidden and one architectural change is required. If that fails too → it stops and asks you.
189
212
 
190
213
  ---
191
214
 
@@ -200,7 +223,7 @@ could think of.
200
223
 
201
224
  What happens:
202
225
 
203
- 1. It derives a job name from the brief (e.g. `cod-fps`) and runs the **interview** — deliverable, objective, reference/benchmark media (attach screenshots!), success condition, boundaries, Babylon-specific game questions, loop mechanics.
226
+ 1. It derives a job name from the brief (e.g. `cod-fps`) and runs the **interview** — deliverable kind and deliverable, objective, the target image and locked cameras (attach screenshots, or let it generate the target), rubric and pass threshold, success condition, boundaries, kind-specific questions, loop mechanics.
204
227
  2. It shows you the filled **loop card** and waits for your confirmation.
205
228
  3. It runs up to **5 rounds** (the default session cap), then parks with a status report and the exact resume command.
206
229
 
@@ -210,13 +233,13 @@ Name it yourself and pick the template explicitly:
210
233
  /bt-gauntlet --name:cod-fps --template:gauntlet I want you to build a first-person shooter ...
211
234
  ```
212
235
 
213
- Attach reference screenshots/clips with the message — they become the critics' benchmark in `_gauntlet/cod-fps/reference/`.
236
+ Attach reference screenshots/clips with the message — they become the locked target in `_gauntlet/cod-fps/reference/`. If you attach nothing, the interview generates the target instead and shows it to you before anything is built.
214
237
 
215
238
  ## 2. Choose a template
216
239
 
217
240
  | | `--template:gauntlet` (default) | `--template:bounded` |
218
241
  | --- | --- | --- |
219
- | Style | Full Shumer-style: decompose into parts, fan out builders, fresh harsh critic per part, blind A/B vs reference | Single-track loop card: one coherent improvement per round against an objective/metric/boundary checklist |
242
+ | Style | Full Shumer-style: decompose into parts, fan out builders, fresh harsh critic per part, scored against the locked target | Single-track loop card: one coherent improvement per round against an objective/metric/boundary checklist |
220
243
  | Best for | One ambitious visual artifact chasing a reference bar ("CoD-level FPS") | Reliability- and cost-sensitive work with objective verifiers ("60 FPS, zero console errors, all checks green") |
221
244
  | Cost profile | Heavier (builder + critic subagents per part) | Lighter (one improvement, one verifier per round) |
222
245
 
@@ -385,8 +408,9 @@ This is an operator convenience you apply from the outside. The SKILL.md deliber
385
408
  In order of precedence, a round's gate check ends things when:
386
409
 
387
410
  1. **Success condition met** → one final fresh **integration critic** inspects the whole game for seams and consistency → report DONE with the evidence summary.
388
- 2. **A loop-card boundary fires** (total rounds exhausted, attempts-per-part hit without a new strategy, repeated blocker, permission needed) → park + escalate to you with specifics.
389
- 3. **The `--rounds` session cap is reached** → park cleanly and print `/bt-gauntlet --resume <name>`.
411
+ 2. **The stall ladder reaches STALLED** — an architectural change was forced after two flat rounds (or the same top gap twice) and still did not move the score → park + escalate, rather than burn rounds guessing at another big swing.
412
+ 3. **A loop-card boundary fires** (total rounds exhausted, attempts-per-part hit without a new strategy, repeated blocker, permission needed) → park + escalate to you with specifics.
413
+ 4. **The `--rounds` session cap is reached** → park cleanly and print `/bt-gauntlet --resume <name>`.
390
414
 
391
415
  Deploy, spending, credentials, deletion, and messaging are always behind your explicit approval, no matter what the brief says.
392
416
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs-toolkit/agent",
3
- "version": "1.1.11",
3
+ "version": "1.1.14",
4
4
  "description": "Installs the Babylon Toolkit agent skills and Agent Persona for Claude Code, Codex, GitHub Copilot, Gemini CLI and Antigravity.",
5
5
  "keywords": [
6
6
  "babylonjs",