@babylonjs-toolkit/agent 1.1.54 → 1.1.55
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 +18 -18
- package/package.json +1 -1
- package/skills/bt-gauntlet/SKILL.md +19 -19
- package/skills/bt-gauntlet/references/loop-templates.md +12 -12
- package/skills/bt-gauntlet/references/spec-composition.md +6 -6
- package/skills/bt-gauntlet/references/target-images.md +6 -6
- package/skills/bt-gauntlet/references/unity-pipeline.md +3 -3
- package/skills/bt-gauntlet/references/workspace.md +5 -5
- package/skills/bt-hero/SKILL.md +2 -2
- package/skills/bt-optimize/SKILL.md +338 -0
- package/skills/{bt-combine → bt-optimize}/scripts/BtCombine.cs +32 -25
- package/skills/bt-optimize/scripts/BtOptimize.cs +969 -0
- package/skills/{bt-combine → bt-optimize}/scripts/qa/compare-browser.mjs +1 -1
- package/skills/bt-optimize/scripts/qa/compare-profiles.mjs +80 -0
- package/skills/{bt-combine → bt-optimize}/scripts/qa/gltf-stats.mjs +1 -1
- package/skills/bt-optimize/scripts/qa/package.json +9 -0
- package/skills/bt-optimize/scripts/qa/profile-browser.mjs +547 -0
- package/skills/bt-plan/SKILL.md +9 -9
- package/skills/bt-prototype/SKILL.md +4 -4
- package/skills/bt-recon/SKILL.md +14 -14
- package/skills/bt-spec/SKILL.md +5 -5
- package/skills/bt-combine/SKILL.md +0 -262
- package/skills/bt-combine/scripts/qa/package.json +0 -9
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Babylon Toolkit Desktop Agent (1.1.
|
|
1
|
+
# Babylon Toolkit Desktop Agent (1.1.55)
|
|
2
2
|
|
|
3
3
|
The desktop agent owns the entire pipeline end to end — frontend and UI design, gameplay code, shaders, generated art and audio, 3D models in headless Blender, whole game levels and prefabs in a terminal-driven Unity Editor, the interactive glTF export, the web build, the dev server, and visual QA by screenshotting both Unity and the running browser.
|
|
4
4
|
|
|
@@ -242,7 +242,7 @@ pair or schedule the bridge.
|
|
|
242
242
|
| [`bt-spec`](skills/bt-spec/SKILL.md) | `/bt-spec` | Turn a short idea into a feature spec file on a new git branch. Add `--grill-me` to be interviewed first, `--parity` to allow numeric parity bars in the acceptance criteria. Runs in `TIME MATTERS` mode by default; `--no-time-limit` turns it off. |
|
|
243
243
|
| [`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, and `--parity` for numeric parity gates instead of the default functional proof. Runs in `TIME MATTERS` mode by default; `--no-time-limit` turns it off. |
|
|
244
244
|
| [`bt-execute`](skills/bt-execute/SKILL.md) | `/bt-execute` | Implement one task, a range (`T3-T7`, `T12-`, `NEXT:3`) or all remaining tasks from a plan/spec; with no task id it runs the next unchecked task. Add `--auto-pilot` for an unattended overnight run that never stops for human input, and `--strict` for an adversarial verifier on every task. Runs in `TIME MATTERS` mode by default; `--no-time-limit` turns it off. |
|
|
245
|
-
| [`bt-recon`](skills/bt-recon/SKILL.md) | `/bt-recon` | Deep-dive existing code — a subsystem named in a brief, or the whole codebase — and write an evidence-cited technical grounding spec (
|
|
245
|
+
| [`bt-recon`](skills/bt-recon/SKILL.md) | `/bt-recon` | Deep-dive existing code — a subsystem named in a brief, or the whole codebase — and write an evidence-cited technical grounding spec (`.agents/recon/<slug>_recon.md`) plus, when it has UI, a plain-language user guide (`.agents/recon/<slug>_guide.md`). Built for taking over undocumented code; `bt-spec` and `bt-plan` read the recon as grounding. Includes an observe-only live pass when the brief gives a URL; `--refresh` updates a recon after code changes. |
|
|
246
246
|
| [`bt-convert`](skills/bt-convert/SKILL.md) | `/bt-convert` | Convert source code to Babylon Toolkit TypeScript. |
|
|
247
247
|
| [`bt-copycat`](skills/bt-copycat/SKILL.md) | `/bt-copycat` | Re-create the specified website adapted to specified genre. |
|
|
248
248
|
| [`bt-landing`](skills/bt-landing/SKILL.md) | `/bt-landing` | Re-design the landing page, splash screen, preloader and custom overlays. |
|
|
@@ -251,7 +251,7 @@ pair or schedule the bridge.
|
|
|
251
251
|
| [`bt-design`](skills/bt-design/SKILL.md) | `/bt-design` | Implement high quality frontend and in-game designs. |
|
|
252
252
|
| [`bt-hero`](skills/bt-hero/SKILL.md) | `/bt-hero` | Create smooth cinematic 3D scrolling hero sections. |
|
|
253
253
|
| [`bt-atlas`](skills/bt-atlas/SKILL.md) | `/bt-atlas` | Generate texture atlas skin variations. |
|
|
254
|
-
| [`bt-
|
|
254
|
+
| [`bt-optimize`](skills/bt-optimize/SKILL.md) | `/bt-optimize` | Make an exported Unity scene run fast in the browser: profile the BabylonJS frame (draw calls per pass, lights, shadows, post-processing, resolution, materials, textures), fix the causes on a copy of the scene — runtime lights, shadows, post, exporter settings, static / lightmap / mirrored unlocks — and merge static meshes and LOD groups (packed lightmap UVs, LOD clusters); then re-bake, export and verify frame rate and look against the original. `--no-combine`, `--combine-only`. |
|
|
255
255
|
|
|
256
256
|
Every tool derives the slash-command from the **folder name** (`bt-spec/` → `/bt-spec`) and reads
|
|
257
257
|
the frontmatter `name` + `description` to decide when the skill applies. The `allowed-tools`
|
|
@@ -288,8 +288,8 @@ Docs are read once by the orchestrator and handed to subagents as a brief instea
|
|
|
288
288
|
subagent re-fetching the Agent Reference.
|
|
289
289
|
|
|
290
290
|
```
|
|
291
|
-
/bt-execute --strict
|
|
292
|
-
/bt-execute --auto-pilot --strict
|
|
291
|
+
/bt-execute --strict @.agents/specs/<feature>_plan.md ALL
|
|
292
|
+
/bt-execute --auto-pilot --strict @.agents/specs/<feature>_plan.md ALL
|
|
293
293
|
```
|
|
294
294
|
|
|
295
295
|
Proof is sized the same way. By default a feature is proven **functionally**: tests, cheap
|
|
@@ -310,7 +310,7 @@ implementer writes the tests and the independent verifier judges them.
|
|
|
310
310
|
### Unattended runs (`/bt-execute --auto-pilot`)
|
|
311
311
|
|
|
312
312
|
```
|
|
313
|
-
/bt-execute --auto-pilot
|
|
313
|
+
/bt-execute --auto-pilot @.agents/specs/<feature>_plan.md ALL
|
|
314
314
|
```
|
|
315
315
|
|
|
316
316
|
Auto-pilot is for running a 50-task plan overnight. There is no one to ask, so `bt-execute`
|
|
@@ -363,12 +363,12 @@ Where each tool looks for PROJECT-LOCAL skills (only when the user explicitly re
|
|
|
363
363
|
> for everything else (Codex, Copilot, Gemini CLI, Antigravity). By default use the
|
|
364
364
|
> GLOBAL (per-user home) locations; use the project-local locations only when the user
|
|
365
365
|
> explicitly asks for a project install. Copy **whole folders** into each — the
|
|
366
|
-
> `bt-atlas/scripts/` and `bt-
|
|
366
|
+
> `bt-atlas/scripts/` and `bt-optimize/scripts/` assets must be present in every location.
|
|
367
367
|
|
|
368
368
|
|
|
369
369
|
# Babylon Toolkit Loop Engineering (Gauntlet Loop)
|
|
370
370
|
|
|
371
|
-
**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
|
|
371
|
+
**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 `.agents/gauntlet/<name>/`, so you can stop any time and resume days or weeks later.
|
|
372
372
|
|
|
373
373
|
### Two deliverable kinds, one loop
|
|
374
374
|
|
|
@@ -413,7 +413,7 @@ Name it yourself and pick the template explicitly:
|
|
|
413
413
|
/bt-gauntlet --name:cod-fps --template:gauntlet I want you to build a first-person shooter ...
|
|
414
414
|
```
|
|
415
415
|
|
|
416
|
-
Attach reference screenshots/clips with the message — they become the locked target in
|
|
416
|
+
Attach reference screenshots/clips with the message — they become the locked target in `.agents/gauntlet/cod-fps/reference/`. If you attach nothing, the interview generates the target instead and shows it to you before anything is built.
|
|
417
417
|
|
|
418
418
|
## 2. Choose a template
|
|
419
419
|
|
|
@@ -462,7 +462,7 @@ You can also just interrupt at any time — parking is only the polite version.
|
|
|
462
462
|
|
|
463
463
|
## 5. Run several gauntlets side by side
|
|
464
464
|
|
|
465
|
-
Each job owns its own
|
|
465
|
+
Each job owns its own `.agents/gauntlet/<name>/` folder — as many as you like, fully independent budgets, rounds, references, and evidence:
|
|
466
466
|
|
|
467
467
|
```
|
|
468
468
|
/bt-gauntlet --name:cod-fps <FPS brief>
|
|
@@ -478,7 +478,7 @@ A new gauntlet whose name collides with an existing job is an error — it will
|
|
|
478
478
|
|
|
479
479
|
## 6. Read the workspace while it's parked
|
|
480
480
|
|
|
481
|
-
Everything is plain markdown/media under
|
|
481
|
+
Everything is plain markdown/media under `.agents/gauntlet/<name>/` — inspect it in your editor between sessions:
|
|
482
482
|
|
|
483
483
|
| File | What you'll find |
|
|
484
484
|
| --- | --- |
|
|
@@ -496,7 +496,7 @@ Want to redirect the loop? Edit `progress.md`'s `NEXT ACTION` (or part prioritie
|
|
|
496
496
|
Hand it a **pre-filled loop card** (either template with every slot answered, including `<NAME>`) and it starts immediately, no questions:
|
|
497
497
|
|
|
498
498
|
```
|
|
499
|
-
/bt-gauntlet --card
|
|
499
|
+
/bt-gauntlet --card:.agents/specs/racing-game_gauntlet-card.md --rounds:10
|
|
500
500
|
```
|
|
501
501
|
|
|
502
502
|
If any slot is unfilled or vague it STOPS and tells you which — it never guesses. This is the entry point used by the spec workflow below, and handy any time you want to author the card by hand.
|
|
@@ -515,8 +515,8 @@ Typical two-phase sequence for a real game:
|
|
|
515
515
|
```
|
|
516
516
|
# Phase 1 — foundation (checklist-shaped work: scaffold, controller, physics, HUD)
|
|
517
517
|
/bt-spec <feature brief>
|
|
518
|
-
/bt-plan
|
|
519
|
-
/bt-execute
|
|
518
|
+
/bt-plan @.agents/specs/<feature>_spec.md
|
|
519
|
+
/bt-execute @.agents/specs/<feature>_plan.md ALL
|
|
520
520
|
|
|
521
521
|
# Phase 2 — quality (reference-bar work on top of what now exists)
|
|
522
522
|
/bt-gauntlet --name:aaa-polish <polish brief + reference media>
|
|
@@ -528,7 +528,7 @@ Or fold the gauntlet INTO a spec run by naming it in the brief:
|
|
|
528
528
|
/bt-spec Build the racing game, then polish it to Gran Turismo quality using bt-gauntlet
|
|
529
529
|
```
|
|
530
530
|
|
|
531
|
-
In that flow, bt-spec runs the gauntlet interview at spec time and writes the pre-filled card (
|
|
531
|
+
In that flow, bt-spec runs the gauntlet interview at spec time and writes the pre-filled card (`.agents/specs/<feature>_gauntlet-card.md`); bt-plan makes the gauntlet the final task invoking `--card:`; bt-execute re-enters a parked job via `--resume <name>` on each `NEXT` and flips the task's checkbox only when the job genuinely reports DONE.
|
|
532
532
|
|
|
533
533
|
## 9. Which method should I use for making games? (recommendation)
|
|
534
534
|
|
|
@@ -545,8 +545,8 @@ Here's the reasoning:
|
|
|
545
545
|
```
|
|
546
546
|
# Phase 1 — foundation (cheap, deterministic, checkbox-resumable)
|
|
547
547
|
/bt-spec <game systems brief>
|
|
548
|
-
/bt-plan
|
|
549
|
-
/bt-execute
|
|
548
|
+
/bt-plan @.agents/specs/<feature>_spec.md
|
|
549
|
+
/bt-execute @.agents/specs/<feature>_plan.md ALL
|
|
550
550
|
|
|
551
551
|
# Phase 2 — quality (reference-chasing, critic-judged, round-resumable)
|
|
552
552
|
/bt-gauntlet --name:aaa-polish <polish brief + reference screenshots>
|
|
@@ -578,7 +578,7 @@ Keep the layering straight:
|
|
|
578
578
|
| | The native driver (`/loop`, `/goal`) | The gauntlet |
|
|
579
579
|
| --- | --- | --- |
|
|
580
580
|
| Job | *When* to re-poke the agent | *What* a round is: build → evidence → fresh critic → record |
|
|
581
|
-
| Survives session end / limits | No | Yes —
|
|
581
|
+
| Survives session end / limits | No | Yes — `.agents/gauntlet/<name>/` + `--resume` |
|
|
582
582
|
| Portable across hosts | Each host different; some have nothing | Identical everywhere |
|
|
583
583
|
|
|
584
584
|
This is an operator convenience you apply from the outside. The SKILL.md deliberately never references any native loop tool, so the skill stays fully portable — on a host with no such feature, you just re-invoke `--resume` yourself.
|
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. 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, relying on Unity→Babylon parity, with export + browser checkpoints at milestones rather than every round. Fully RESUMABLE: each job lives in its own
|
|
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, relying on Unity→Babylon parity, with export + browser checkpoints at milestones rather than every round. Fully RESUMABLE: each job lives in its own .agents/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
|
|
|
@@ -20,16 +20,16 @@ Use the user's message after the skill name as the `arguments`.
|
|
|
20
20
|
|
|
21
21
|
**Flags** (all optional; `--flag:value` or `--flag`):
|
|
22
22
|
|
|
23
|
-
- **`--name: slug`** — this gauntlet job's name; it becomes the job's workspace folder
|
|
23
|
+
- **`--name: slug`** — this gauntlet job's name; it becomes the job's workspace folder `.agents/gauntlet/<name>/`. **Any number of gauntlet jobs can exist side by side in one project** (e.g. `cod-fps`, `neon-alley`), each fully independent. If omitted on a new gauntlet, derive a short kebab-case slug from the brief and confirm it in the interview.
|
|
24
24
|
- **`--template: gauntlet | bounded`** — which loop template drives the run. `gauntlet` = **Template A** (full-on Shumer-style fan-out: builders vs fresh harsh critics). `bounded` = **Template B** (single-track objective / metric / boundary loop card — use when reliability and cost matter more than dramatic language). **Default: `gauntlet`.** Recorded in `loop-card.md`; a job never mixes templates. Both live in `references/loop-templates.md`.
|
|
25
25
|
- **`--rounds: N`** — maximum full rounds (build → verify → critic → record) THIS invocation may run before parking cleanly with a status report and the exact resume command. **Default: `5`.** Override per session (`--rounds:20` for a long night).
|
|
26
|
-
- **`--card: file`** — a **pre-filled loop card**: one of the two templates with EVERY slot already answered, including `<NAME>` and `<DELIVERABLE KIND>`. Skips the interview entirely — validate the card, copy it to
|
|
27
|
-
- **`--resume [<name>]`** — skip the interview, load
|
|
26
|
+
- **`--card: file`** — a **pre-filled loop card**: one of the two templates with EVERY slot already answered, including `<NAME>` and `<DELIVERABLE KIND>`. Skips the interview entirely — validate the card, copy it to `.agents/gauntlet/<name>/loop-card.md`, distill `brief.md` from it, and start round 1 without asking anything. This is the **non-interactive entry** used when a spec/plan drives the gauntlet. If any slot is unfilled or vague, STOP and report which — never guess a slot.
|
|
27
|
+
- **`--resume [<name>]`** — skip the interview, load `.agents/gauntlet/<name>/`, and continue at its `NEXT ACTION`. This is how the loop continues in a brand-new session a day or a week later. Name resolution: an explicit name targets that job; with no name and exactly ONE job in `.agents/gauntlet/`, resume it; with several jobs, list them (name, kind, parts done/total, next action) and ask which one — never guess.
|
|
28
28
|
- **`--status [<name>]`** — read-only report: parts done/total, budgets spent vs boundaries, last critic score, active stall tier, next action. With no name, print an **index of ALL gauntlet jobs**. Runs zero rounds.
|
|
29
29
|
- **`--stop [<name>]`** — park that job deliberately: write the current status into its `progress.md`, print the resume command, run nothing further.
|
|
30
|
-
- **`<brief>`** — the idea and the goal. Attached reference screenshots/clips are copied into
|
|
30
|
+
- **`<brief>`** — the idea and the goal. Attached reference screenshots/clips are copied into `.agents/gauntlet/<name>/reference/`.
|
|
31
31
|
|
|
32
|
-
**Mode resolution:** if `--resume`, `--status`, or `--stop` is present, run that mode. Otherwise, if
|
|
32
|
+
**Mode resolution:** if `--resume`, `--status`, or `--stop` is present, run that mode. Otherwise, if `.agents/gauntlet/` contains existing jobs and no new brief was given, list them and offer to resume one. Otherwise this is a **new gauntlet**: run the interview — or, with `--card:`, validate the supplied card and start immediately. A new gauntlet whose `--name` collides with an existing job is an error — offer `--resume <name>` or a different name; never silently overwrite a job's workspace.
|
|
33
33
|
|
|
34
34
|
---
|
|
35
35
|
|
|
@@ -50,7 +50,7 @@ Use the user's message after the skill name as the `arguments`.
|
|
|
50
50
|
|
|
51
51
|
| File | What it holds |
|
|
52
52
|
|---|---|
|
|
53
|
-
| `references/workspace.md` | the
|
|
53
|
+
| `references/workspace.md` | the `.agents/gauntlet/<name>/` layout, `progress.md` and round-journal formats, the resume protocol |
|
|
54
54
|
| `references/critic-rubrics.md` | the critic contract, the scoring rubrics, the gap-list rules, the hard gates, the stall ladder |
|
|
55
55
|
| `references/target-images.md` | generating, prompting, reachability-checking, locking the target; locked cameras; **generation backends** (kie default, Higgsfield mapping) |
|
|
56
56
|
| `references/loop-templates.md` | Template A and Template B loop cards |
|
|
@@ -77,7 +77,7 @@ If you have not read it in this session/context, or you no longer remember it du
|
|
|
77
77
|
|
|
78
78
|
The doctrine lives in the Agent Reference — `references/scene-components.md` § "Babylon Toolkit Component Authority" (https://raw.githubusercontent.com/babylontoolkit/agent/main/references/scene-components.md): supplied GLTF/GLB files are **interactive prefabs** whose `extras.metadata.components` carry configured physics, tuning and gameplay intent; `TOOLKIT.*` components are the first-class engine implementation — compose and tune them through `PROJECT.*` ScriptComponents, never reimplement, bypass, or delete them; replacement requires that document's evidence checklist. Read it before any round touching supplied interactive assets. The gauntlet-specific mechanics:
|
|
79
79
|
|
|
80
|
-
- **Round 1 writes the inventory to disk** —
|
|
80
|
+
- **Round 1 writes the inventory to disk** — `.agents/gauntlet/<name>/components.md`: every component grouped by scene node, classified **protected-system** (`TOOLKIT.*` — tune, never replace), **project** (`PROJECT.*` — modifiable), or **authoring-only**, with safe-to-tune properties verified against `babylon.toolkit.d.ts`. A resumed cold session READS this instead of re-deriving it; the round that changes supplied assets updates it.
|
|
81
81
|
- **Builders write code to the Agent Reference's Coding Practices — ENFORCED** — clean, professional TypeScript or JavaScript in the project's own language, meaningful full-word names (never one- or two-letter names or obfuscation), well-structured, readable and maintainable by human developers, with meaningful JSDoc on every class, function, method and public member (always written, but never a reason to fail a part). Every builder brief carries that section in full; critics fail a part that breaks it (the *Coding practices* hard gate in `references/critic-rubrics.md`).
|
|
82
82
|
- **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.
|
|
83
83
|
- **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.
|
|
@@ -98,7 +98,7 @@ The loop may not start until **every slot of the chosen template is filled**. Th
|
|
|
98
98
|
|
|
99
99
|
Interview batches:
|
|
100
100
|
|
|
101
|
-
0. **NAME** — Confirm the job's slug. It becomes
|
|
101
|
+
0. **NAME** — Confirm the job's slug. It becomes `.agents/gauntlet/<name>/` and must not collide with an existing job.
|
|
102
102
|
1. **DELIVERABLE KIND + DELIVERABLE** — Which of the three kinds is this: a **web game**, a **Unity level for export**, or a **Blender model**? Then what exactly ships (playable browser demo, one polished level, a hero asset with LODs...)? Module style: ES6/ESM default; UMD only if explicitly demanded. New project or existing? Target folder. **Read the matching pipeline reference now** and run its prerequisite gate before going further — a failed gate (no Pro licence, no toolkit bootstrap, no rendering Editor for snapshots, no Blender) changes what is worth agreeing to.
|
|
103
103
|
2. **OBJECTIVE** — The exact outcome that must become true, as one testable sentence. Rewrite with the user until it is inspectable.
|
|
104
104
|
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. Settle the **image-generation backend** too (kie by default, the Higgsfield CLI if it is installed and signed in or the user asks for it — `target-images.md` §1a) and record it in `pipeline.md`. 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.
|
|
@@ -109,7 +109,7 @@ Interview batches:
|
|
|
109
109
|
|
|
110
110
|
8. **Loop mechanics** — confirm `--template` choice, rounds-per-session default, and any parts the user wants prioritized first.
|
|
111
111
|
|
|
112
|
-
Write all answers to
|
|
112
|
+
Write all answers to `.agents/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 `.agents/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.
|
|
113
113
|
|
|
114
114
|
---
|
|
115
115
|
|
|
@@ -118,7 +118,7 @@ Write all answers to `_gauntlet/<name>/brief.md`. Write the locked cameras to `c
|
|
|
118
118
|
**Nothing the loop needs lives in the conversation — it all lives in files.** One folder per job:
|
|
119
119
|
|
|
120
120
|
```
|
|
121
|
-
|
|
121
|
+
.agents/gauntlet/<name>/
|
|
122
122
|
├── loop-card.md # the constitution: kind, objective, target, rubric, OUT OF REACH, boundaries
|
|
123
123
|
├── brief.md # full interview answers
|
|
124
124
|
├── cameras.md # LOCKED capture cameras — evidence from anywhere else is inadmissible
|
|
@@ -141,7 +141,7 @@ _gauntlet/<name>/
|
|
|
141
141
|
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).
|
|
142
142
|
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.
|
|
143
143
|
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.
|
|
144
|
-
4. **Verify with the real artifact** — run the pipeline's verify recipe and capture evidence **from the locked cameras** into
|
|
144
|
+
4. **Verify with the real artifact** — run the pipeline's verify recipe and capture evidence **from the locked cameras** into `.agents/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, each milestone, 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.
|
|
145
145
|
|
|
146
146
|
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.
|
|
147
147
|
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.
|
|
@@ -175,7 +175,7 @@ generate_image(
|
|
|
175
175
|
alley at night, wet asphalt with sharp neon reflections in standing water,
|
|
176
176
|
layered Kanji signage in magenta and cyan, thin haze in the light cones,
|
|
177
177
|
baked global illumination, gameplay camera at eye height, 1920x1080",
|
|
178
|
-
out_path: "
|
|
178
|
+
out_path: ".agents/gauntlet/neon-alley/reference/target-hero.png",
|
|
179
179
|
aspect_ratio: "16:9", resolution: "2K", output_format: "png")
|
|
180
180
|
```
|
|
181
181
|
|
|
@@ -196,7 +196,7 @@ until unity command lighting_bake_status --project-path "$PROJ" --result-only 2>
|
|
|
196
196
|
|
|
197
197
|
# snapshot each locked camera straight to PNG — no export, no server, no browser
|
|
198
198
|
unity command capture_game_view --camera gauntlet_hero --width 1920 --height 1080 --project-path "$PROJ" \
|
|
199
|
-
--result-only | jq -r .base64 | base64 -d >
|
|
199
|
+
--result-only | jq -r .base64 | base64 -d > .agents/gauntlet/neon-alley/evidence/round-NN-p7-hero.png
|
|
200
200
|
```
|
|
201
201
|
|
|
202
202
|
Seconds, not minutes. The critic scores hero + side + detail against their targets and returns the full gap list.
|
|
@@ -223,8 +223,8 @@ generate_image(
|
|
|
223
223
|
prompt: "the same harbor scene, same layout and camera, upgraded to a modern real-time
|
|
224
224
|
in-engine look: warmer low sun, softer bounce into the shadows, wet stone with
|
|
225
225
|
varied roughness, richer ambient occlusion, subtle haze over the water",
|
|
226
|
-
reference_paths: ["
|
|
227
|
-
out_path: "
|
|
226
|
+
reference_paths: [".agents/gauntlet/harbor-polish/evidence/round-00-baseline-hero.png"],
|
|
227
|
+
out_path: ".agents/gauntlet/harbor-polish/reference/target-hero.png")
|
|
228
228
|
```
|
|
229
229
|
|
|
230
230
|
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.
|
|
@@ -254,7 +254,7 @@ blender --background --factory-startup --python-exit-code 1 \
|
|
|
254
254
|
--python /tmp/round-07-bevels.py -- "$FBX" "$FBX" # same path in and out
|
|
255
255
|
unity command eval 'UnityEditor.AssetDatabase.Refresh(UnityEditor.ImportAssetOptions.ForceSynchronousImport); return "ok";' --project-path "$PROJ"
|
|
256
256
|
unity command capture_game_view --camera gauntlet_hero --width 1920 --height 1080 --project-path "$PROJ" \
|
|
257
|
-
--result-only | jq -r .base64 | base64 -d >
|
|
257
|
+
--result-only | jq -r .base64 | base64 -d > .agents/gauntlet/hero-mech/evidence/round-07-p2-hero.png
|
|
258
258
|
```
|
|
259
259
|
|
|
260
260
|
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.
|
|
@@ -338,9 +338,9 @@ candy-themed circuit with a jump, a tunnel, boost pads and scenery everywhere. K
|
|
|
338
338
|
- **Progress is never self-reported.** Screenshots, perf numbers, exported metadata, diffs — an observable receipt, or it didn't happen.
|
|
339
339
|
- **Never chase what cannot cross the boundary.** The `OUT OF REACH` list exists so critics stop naming impossible gaps.
|
|
340
340
|
- **Permissions start reversible.** Deploy, delete, spend, publish, message, and secrets stay behind explicit user approval, always.
|
|
341
|
-
- **Context rots; files don't.** Compact durable state in
|
|
341
|
+
- **Context rots; files don't.** Compact durable state in `.agents/gauntlet/<name>/` beats a long chat history. On any doubt, trust the files and the actual project, then correct `progress.md`.
|
|
342
342
|
- **Pipeline state does not survive a pause.** A resident Unity Editor, a dev server, a warm asset database: all session-scoped. Re-run the prerequisite gate on every resume.
|
|
343
|
-
- **Jobs never bleed into each other.** A round touches only its own
|
|
343
|
+
- **Jobs never bleed into each other.** A round touches only its own `.agents/gauntlet/<name>/` state; other jobs' workspaces are read-only neighbors.
|
|
344
344
|
- **Every park prints the exact resume command**: `/bt-gauntlet --resume <name>`.
|
|
345
345
|
|
|
346
346
|
---
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Loop Card Templates
|
|
2
2
|
|
|
3
3
|
The interview fills the `<SLOTS>` — including `<NAME>` and `<DELIVERABLE KIND>` — and the filled copy
|
|
4
|
-
becomes
|
|
4
|
+
becomes `.agents/gauntlet/<name>/loop-card.md`. Kept verbatim here so they are easy to modify. A job never mixes
|
|
5
5
|
templates.
|
|
6
6
|
|
|
7
7
|
---
|
|
@@ -19,10 +19,10 @@ Build it with BabylonJS and the Babylon Toolkit (NOT Three.js), following the
|
|
|
19
19
|
Babylon Toolkit Agent Reference conventions already loaded in this session.
|
|
20
20
|
|
|
21
21
|
This gauntlet job is named <NAME>; all of its loop state lives in
|
|
22
|
-
|
|
22
|
+
.agents/gauntlet/<NAME>/ and never anywhere else.
|
|
23
23
|
|
|
24
|
-
THE BAR IS AN IMAGE. The target lives at
|
|
25
|
-
LOCKED — one target per locked camera in
|
|
24
|
+
THE BAR IS AN IMAGE. The target lives at .agents/gauntlet/<NAME>/reference/ and is
|
|
25
|
+
LOCKED — one target per locked camera in .agents/gauntlet/<NAME>/cameras.md. Every
|
|
26
26
|
round captures evidence from those exact camera transforms and no others, so
|
|
27
27
|
the comparison is like for like.
|
|
28
28
|
|
|
@@ -31,20 +31,20 @@ OUT OF REACH (do not raise gaps against these):
|
|
|
31
31
|
|
|
32
32
|
Choose the approach. Break the work into the smallest important parts that can
|
|
33
33
|
be improved and judged independently, and record that decomposition as the part
|
|
34
|
-
checklist in
|
|
34
|
+
checklist in .agents/gauntlet/<NAME>/progress.md. Fan out builder subagents only where
|
|
35
35
|
the work is genuinely independent; keep tightly coupled systems under one owner.
|
|
36
36
|
Give every important part a separate, harsh critic with fresh context.
|
|
37
37
|
|
|
38
38
|
If the supplied assets include GLTF/GLB files carrying Babylon Toolkit component
|
|
39
39
|
metadata (extras.metadata.components), write the component inventory to
|
|
40
|
-
|
|
40
|
+
.agents/gauntlet/<NAME>/components.md in round 1 and honor it every round: TOOLKIT.*
|
|
41
41
|
components are first-class — compose and tune them through PROJECT.* scripts,
|
|
42
42
|
never reimplement, bypass, or delete them (see the Agent Reference's
|
|
43
43
|
"Babylon Toolkit Component Authority" section). Critics fail violations.
|
|
44
44
|
|
|
45
45
|
Each critic must inspect the REAL artifact — evidence captured into
|
|
46
|
-
|
|
47
|
-
directly with the target in
|
|
46
|
+
.agents/gauntlet/<NAME>/evidence/ — never the builder's summary, and compare it
|
|
47
|
+
directly with the target in .agents/gauntlet/<NAME>/reference/. It scores the rubric,
|
|
48
48
|
returns the FULL prioritized gap list (not one gap), and applies every hard
|
|
49
49
|
gate. It receives the previous round's screenshot and verdict so scores stay
|
|
50
50
|
comparable and regressions are caught.
|
|
@@ -54,8 +54,8 @@ two rounds, or the same top gap is named twice in a row, incremental tweaks are
|
|
|
54
54
|
FORBIDDEN — make one dramatic architectural change and record it as a STRATEGY
|
|
55
55
|
line. If that swing scores the same or worse, stop and escalate to me.
|
|
56
56
|
|
|
57
|
-
After EVERY round, update
|
|
58
|
-
|
|
57
|
+
After EVERY round, update .agents/gauntlet/<NAME>/progress.md and append
|
|
58
|
+
.agents/gauntlet/<NAME>/rounds/round-NN.md before starting the next round, so a
|
|
59
59
|
brand-new session can resume this loop with `/bt-gauntlet --resume <NAME>`
|
|
60
60
|
at any time.
|
|
61
61
|
|
|
@@ -90,8 +90,8 @@ Reference conventions already loaded in this session.
|
|
|
90
90
|
|
|
91
91
|
INPUTS AND STATE
|
|
92
92
|
This gauntlet job is named <NAME>; all of its loop state lives in
|
|
93
|
-
|
|
94
|
-
Use:
|
|
93
|
+
.agents/gauntlet/<NAME>/ and never anywhere else.
|
|
94
|
+
Use: .agents/gauntlet/<NAME>/loop-card.md, brief.md, cameras.md, pipeline.md,
|
|
95
95
|
progress.md, reference/, and the project sources. Record after every round in
|
|
96
96
|
progress.md and rounds/: what changed, evidence, score, the full gap list,
|
|
97
97
|
failed approach, next action, and remaining budget — so
|
|
@@ -7,8 +7,8 @@ skills:
|
|
|
7
7
|
|
|
8
8
|
| Spec workflow | Gauntlet equivalent |
|
|
9
9
|
| --- | --- |
|
|
10
|
-
|
|
|
11
|
-
|
|
|
10
|
+
| `.agents/specs/<feature>_spec.md` (bt-spec) | `.agents/gauntlet/<name>/loop-card.md` — objective, benchmark, rubric, success condition, boundaries |
|
|
11
|
+
| `.agents/specs/<feature>_plan.md` (bt-plan) | the part checklist in `.agents/gauntlet/<name>/progress.md` — the lead agent's round-1 decomposition |
|
|
12
12
|
| bt-execute `ALL` (checkbox resume) | the round protocol + `--resume <name>` |
|
|
13
13
|
|
|
14
14
|
The difference is when a box may flip. A **bt-plan task** is feed-forward: known work, visited once, `- [x]`
|
|
@@ -40,11 +40,11 @@ idiom bt-prototype uses with bt-hero — **pre-resolve everything at spec time s
|
|
|
40
40
|
- **bt-spec:** the interview happens HERE, at spec time — the spec answers every loop-card slot (including
|
|
41
41
|
`<NAME>`, `<DELIVERABLE KIND>`, the reference media or target-generation prompt, the locked cameras, the
|
|
42
42
|
`OUT OF REACH` list and the boundaries) and writes the **pre-filled loop card** as a spec artifact
|
|
43
|
-
(e.g.
|
|
43
|
+
(e.g. `.agents/specs/<feature>_gauntlet-card.md`).
|
|
44
44
|
- **bt-plan:** the gauntlet becomes one task (usually the last), whose Details invoke
|
|
45
|
-
`/bt-gauntlet --card
|
|
45
|
+
`/bt-gauntlet --card:.agents/specs/<feature>_gauntlet-card.md --rounds:N`. Its **Acceptance** is observable:
|
|
46
46
|
"gauntlet job `<name>` reports DONE — success condition met and the integration critic passed — as
|
|
47
|
-
evidenced by
|
|
47
|
+
evidenced by `.agents/gauntlet/<name>/progress.md` and the final round journal."
|
|
48
48
|
- **bt-execute:** runs the task by invoking the gauntlet non-interactively. Because a gauntlet may outlast
|
|
49
49
|
one session, the task's checkbox stays `- [ ]` while the job is merely parked; each later
|
|
50
50
|
`bt-execute <plan> NEXT` run re-enters via `/bt-gauntlet --resume <name>` and the box flips only when the
|
|
@@ -58,7 +58,7 @@ bt-gauntlet never orchestrates bt-spec itself — composition is always initiate
|
|
|
58
58
|
|
|
59
59
|
## Cross-Host Notes
|
|
60
60
|
|
|
61
|
-
This skill runs the same everywhere because resumability depends on nothing but the
|
|
61
|
+
This skill runs the same everywhere because resumability depends on nothing but the `.agents/gauntlet/` files and
|
|
62
62
|
re-invocation — no host loop feature is required.
|
|
63
63
|
|
|
64
64
|
- **Subagents:** tool names differ (Claude Code `Agent`/`Task`; other hosts their own equivalent). Check the
|
|
@@ -12,7 +12,7 @@ gap to it.
|
|
|
12
12
|
|
|
13
13
|
**In priority order:**
|
|
14
14
|
|
|
15
|
-
1. **The user supplied reference media.** Use it directly. Copy into
|
|
15
|
+
1. **The user supplied reference media.** Use it directly. Copy into `.agents/gauntlet/<name>/reference/`, named
|
|
16
16
|
per part/camera where possible (`hero-01.png`, `alley-02.png`).
|
|
17
17
|
2. **There is an existing artifact to improve.** Capture the current state first, then feed that screenshot
|
|
18
18
|
to the image model as the **baseline** and ask for a refinement along the user's direction — so the
|
|
@@ -37,7 +37,7 @@ the interview, and record it in `pipeline.md` so a resumed session uses the same
|
|
|
37
37
|
generate_image(prompt, out_path, reference_paths?, model?, aspect_ratio?, resolution?, output_format?)
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
- `out_path` →
|
|
40
|
+
- `out_path` → `.agents/gauntlet/<name>/reference/target-<camera>.png`
|
|
41
41
|
- `reference_paths` → the current-state screenshot for the refinement path (up to 14 files)
|
|
42
42
|
- `aspect_ratio` → match the locked camera's aspect; `resolution: "2K"` or `"4K"`; `output_format: "png"`
|
|
43
43
|
|
|
@@ -63,7 +63,7 @@ Higgsfield rules for this loop:
|
|
|
63
63
|
- **Sign-in is the user's.** If the CLI isn't signed in, start `higgsfield auth login` in the background and
|
|
64
64
|
have the user approve it in the browser. Select the workspace (`workspace list` → `workspace set <id>`)
|
|
65
65
|
before anything else.
|
|
66
|
-
- **Never hot-link** a Higgsfield CDN URL. The locked target must be a file inside
|
|
66
|
+
- **Never hot-link** a Higgsfield CDN URL. The locked target must be a file inside `.agents/gauntlet/<name>/`,
|
|
67
67
|
which the wrapper guarantees.
|
|
68
68
|
- For several independent images (one per locked camera), run the wrapper calls in parallel from the shell,
|
|
69
69
|
each with its own `--out`.
|
|
@@ -118,8 +118,8 @@ For `unity` jobs the boundary is concrete: the 73 scene-metadata keys the export
|
|
|
118
118
|
Once the target is agreed, **it is frozen for the run.** Record in the loop card:
|
|
119
119
|
|
|
120
120
|
```
|
|
121
|
-
REFERENCE:
|
|
122
|
-
|
|
121
|
+
REFERENCE: .agents/gauntlet/<name>/reference/target-hero.png (locked round 1, 2026-09-09)
|
|
122
|
+
.agents/gauntlet/<name>/reference/target-alley.png (locked round 1, 2026-09-09)
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
A moving target makes every score incomparable and every failed-approach log meaningless. If the user
|
|
@@ -136,7 +136,7 @@ must be re-judged, and reset those parts' best-score history. Never silently reg
|
|
|
136
136
|
## 5. Cameras — one target per locked camera
|
|
137
137
|
|
|
138
138
|
**A comparison against a target image is meaningless if the viewpoint drifts.** Every target image is paired
|
|
139
|
-
with exactly one locked camera, recorded in
|
|
139
|
+
with exactly one locked camera, recorded in `.agents/gauntlet/<name>/cameras.md`:
|
|
140
140
|
|
|
141
141
|
```markdown
|
|
142
142
|
# Locked cameras
|
|
@@ -51,7 +51,7 @@ scenes; geometry, UVs, PBR maps, LODs and skinning for models.
|
|
|
51
51
|
## 1. Prerequisite gate — before round 1, and again on every resume
|
|
52
52
|
|
|
53
53
|
**A gauntlet that starts without these spends its whole budget polishing something that never exports.**
|
|
54
|
-
Run the gate, write the result to
|
|
54
|
+
Run the gate, write the result to `.agents/gauntlet/<name>/pipeline.md`, and refuse to start if it fails.
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
57
|
unity command bt_status --project-path "$PROJ"
|
|
@@ -319,8 +319,8 @@ inline, so decode it to wherever the evidence lives (a `--save_path` would land
|
|
|
319
319
|
```bash
|
|
320
320
|
unity command capture_game_view --camera gauntlet_hero --width 1920 --height 1080 \
|
|
321
321
|
--project-path "$PROJ" --result-only | jq -r .base64 | base64 -d \
|
|
322
|
-
> "
|
|
323
|
-
file "
|
|
322
|
+
> ".agents/gauntlet/<name>/evidence/round-12-p7-hero.png"
|
|
323
|
+
file ".agents/gauntlet/<name>/evidence/round-12-p7-hero.png" # PNG image data, 1920 x 1080
|
|
324
324
|
```
|
|
325
325
|
|
|
326
326
|
> Do not hand-roll `Camera.Render()` into a `RenderTexture` from `eval`: under URP in a batch Editor that
|
|
@@ -4,12 +4,12 @@ This is what makes the loop resumable days or weeks later: **nothing the loop ne
|
|
|
4
4
|
conversation — it all lives in files.** A brand-new session with zero context reads the workspace and knows
|
|
5
5
|
exactly where it was.
|
|
6
6
|
|
|
7
|
-
**One folder per gauntlet job.**
|
|
8
|
-
|
|
7
|
+
**One folder per gauntlet job.** `.agents/gauntlet/` is just the container; every job owns a self-contained
|
|
8
|
+
`.agents/gauntlet/<name>/` workspace, so any number of gauntlets — even for the same project — can run, park and
|
|
9
9
|
resume independently.
|
|
10
10
|
|
|
11
11
|
```
|
|
12
|
-
|
|
12
|
+
.agents/gauntlet/
|
|
13
13
|
├── cod-fps/ # one gauntlet job
|
|
14
14
|
│ ├── loop-card.md # The filled template — the loop's constitution:
|
|
15
15
|
│ │ # DELIVERABLE KIND, DELIVERABLE, OBJECTIVE,
|
|
@@ -117,10 +117,10 @@ progress.md updated: attempt 3/5, stall -> approaching (same top gap twice)
|
|
|
117
117
|
|
|
118
118
|
## Resume protocol (`--resume [<name>]`, or auto-offered)
|
|
119
119
|
|
|
120
|
-
1. Resolve the job: explicit name → that job; one job in
|
|
120
|
+
1. Resolve the job: explicit name → that job; one job in `.agents/gauntlet/` → resume it; several → list them and
|
|
121
121
|
ask.
|
|
122
122
|
2. Fetch/read the Babylon Toolkit Agent Reference if not already remembered in this session.
|
|
123
|
-
3. Read
|
|
123
|
+
3. Read `.agents/gauntlet/<name>/loop-card.md` → `progress.md` → `pipeline.md` → `cameras.md` →
|
|
124
124
|
`components.md` (if present) → the last 1–2 `rounds/*.md`.
|
|
125
125
|
4. Read the pipeline reference for the job's `Kind` and **re-run its prerequisite gate**. This is not
|
|
126
126
|
optional on resume: a resident Unity Editor, a running dev server and a warm asset database do **not**
|
package/skills/bt-hero/SKILL.md
CHANGED
|
@@ -23,7 +23,7 @@ Use the user's message after the skill name as the `arguments`.
|
|
|
23
23
|
- **an idea sentence** — `create a Mustang GT Shelby decked out for racing, with a race driver — desert dawn to red-rock canyon to night dunes, NFS-style game site`
|
|
24
24
|
- **a path to an existing hero image or video** — `@my-hero.jpg`, `@footage/run.mp4`
|
|
25
25
|
- **explicit slot answers** — `HUD 0→220 MPH`, `sweep: hero`, `no jump nav`, `call it SIDEWINDER`
|
|
26
|
-
- **a previously written brief file** —
|
|
26
|
+
- **a previously written brief file** — `@.agents/specs/<name>_hero-brief.md` (rebuilds it exactly, asking nothing)
|
|
27
27
|
- **nothing at all** — full interview
|
|
28
28
|
|
|
29
29
|
Whatever is present is used verbatim; the intake resolves the rest (Step 1). **There are no route keywords and no confirmation gates: `/bt-hero` builds, one shot.** The only permitted stop is the safety stop in Step 3.
|
|
@@ -66,7 +66,7 @@ Then resolve every unfilled slot by exactly one of two paths:
|
|
|
66
66
|
|
|
67
67
|
## Step 2 — Write the hero brief (the save file)
|
|
68
68
|
|
|
69
|
-
Write the resolved slots to
|
|
69
|
+
Write the resolved slots to `.agents/specs/<feature-name>_hero-brief.md` (create `.agents/specs/` if needed). The brief is the **record**, not a gate: the user never has to touch it, but `/bt-hero @<brief-file>` later must rebuild the same hero with zero questions — that is what makes a hero repeatable, shareable, and tweakable (edit a line, re-run). Record **only Tier 3 answers and explicit Tier 2 overrides** — never Tier 1 mechanics; the brief describes the film, not the engine.
|
|
70
70
|
|
|
71
71
|
```markdown
|
|
72
72
|
---
|