@babylonjs-toolkit/agent 1.1.34 → 1.1.36

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 Desktop Agent (1.1.34)
1
+ # Babylon Toolkit Desktop Agent (1.1.36)
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs-toolkit/agent",
3
- "version": "1.1.34",
3
+ "version": "1.1.36",
4
4
  "description": "Installs the Babylon Toolkit Desktop Agent for Claude Code, Codex, GitHub Copilot, Gemini CLI and Antigravity.",
5
5
  "keywords": [
6
6
  "babylonjs",
@@ -77,18 +77,27 @@ Print `✍️ [bt-plan] Writing _specs/<feature-name>_plan.md …`. The file has
77
77
  - Verify level: standard
78
78
  ```
79
79
 
80
- **`## Estimated execution time`** — **agent time, computed from the measured rates below — never from how long a developer would take.** An agent writes a 500-line module with its tests in about ten minutes; what costs time is running things. Count, per phase:
81
-
82
- | What the phase contains | Measured agent time |
83
- | --- | --- |
84
- | each code + unit-test task (any language) | 5–10 min |
85
- | each task that also rebuilds a native/C# library or runs a full test chain — once per task, however many builds it runs | + 10–20 min |
86
- | each Unity / Blender **Editor operation** — one authoring pass, one bake, one export, one capture (count a job that authors dozens of objects as 2–3) | + 15–30 min |
87
- | each live look — one **scene × engine page session**, not one screenshot; a build that exists only to serve a look is already inside this rate | + 10–20 min |
88
- | a visual "adjust until it looks right" loop — only where the plan says it expects to iterate on a picture | + 45–90 min |
89
- | the phase's independent verifier (counts under Prove) | + 5–10 min |
90
-
91
- Write a table `Phase | Tasks | Build | Prove | Estimate` (Build = code and tests; Prove = exports, captures, looks, adjust-until-right), then one **Total** = the sum plus 20–40 % for fix loops, in hours (days only if over ~16 h), the `--strict` multiplier (~2–3×), what would cut Prove if it exceeds Build, and the biggest uncertainty. If the total exceeds ~1 h per task, re-check it against the table. Usual causes: developer-hours thinking in the Build column; ceremony the brief did not ask for; or per-task captures that rule 5 says to batch. If the cost is load-bearing work the brief *did* ask for, say so in one line and keep the number. An estimate, never a pin.
80
+ **`## Estimated execution time`** — **agent time, from the calibration below — never developer-hours, and never by adding up activities.** Builds, exports, captures and browser looks are *not* separate line items: they happen inside a task's own run and are already inside the per-task rate. Counting them separately is how a 10-hour plan gets estimated at 45 hours.
81
+
82
+ `Total ≈ tasks × 17 min + phases × 10 min`, then give a range of **±30 %**. Nothing else is added:
83
+
84
+ - **Do not budget fix rounds.** Measured across five completed plans: 4 fix rounds in 63 tasks — about one per 16 tasks. Add one round (20 min) only if the plan names a genuine unknown, and never more than one per plan. Defensively budgeting a round or two per phase was the single largest source of over-estimation.
85
+ - **Do not add a further margin.** The ±30 % is the margin.
86
+ - A task sits near the **top** of the range when it is parity work against a reference, drives two engines, or authors Unity/Blender content; near the **bottom** when it is ordinary code with unit tests. Multiply by ~2 for `proof: parity` only if the plan really carries numeric gates, and by ~2–3 for `bt-execute --strict`.
87
+
88
+ **Calibration (measured 2026-09-23 from commit + transcript timestamps, five completed plans, 63 tasks, 23 phases, 20.6 h total, 0 deferred):**
89
+
90
+ | Plan | Tasks | Phases | Actual | min/task |
91
+ | --- | --- | --- | --- | --- |
92
+ | auto-exposure-parity | 8 | 3 | 1 h 19 | 9.9 |
93
+ | procedural-skybox | 8 | 3 | 2 h 12 | 16.5 |
94
+ | camera-antialiasing-parity | 11 | 4 | 2 h 56 | 16.0 |
95
+ | camera-antialiasing-taa | 9 | 5 | 4 h 08 | 27.5 |
96
+ | shuriken-particle-system (3 Unity projects, 9 promotions) | 27 | 8 | 9 h 59 | 22.2 |
97
+
98
+ The formula predicts these within ±25 % except auto-exposure-parity, which came in twice as fast as any formula would guess. Every one of these plans estimated itself **2–4.5× too high**, so distrust a large number before you distrust a small one.
99
+
100
+ Write a table `Phase | Tasks | What makes it slow | Estimate`, then one **Total** line in hours (days only if over ~16 h), the `--strict` multiplier, and the biggest uncertainty in one line. If the total lands above ~30 min per task, the estimate is wrong before the plan is: re-check it. An estimate, never a pin.
92
101
 
93
102
  **`## How to execute this plan`** — this text verbatim:
94
103