From 9488cf574bfa571a4b27f1b3c88defe6bd42e840 Mon Sep 17 00:00:00 2001 From: DecodedXR Date: Fri, 3 Jul 2026 22:46:19 -0600 Subject: [PATCH] =?UTF-8?q?docs:=20STATUS=20=E2=80=94=20queue=20M6=20(Web?= =?UTF-8?q?=20Worker=20WASM=20inference),=20human-approved?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The user approved the standing M4-findings candidate as Milestone 6: move WASM-path depth inference to a module Web Worker so the main thread keeps 30fps orbit during a pass. The NEXT entry carries the verify-before-coding constraints from M3-M5 (postMessage input types, probe-once device pick, drop-never-queue, generation tokens, test seams) and the skill's effort gate: implement only at /effort high. Autopilot: STATUS.md NEXT (queue update, doc-only) Co-Authored-By: Claude Fable 5 --- STATUS.md | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/STATUS.md b/STATUS.md index c8aa2ce..9ef6061 100644 --- a/STATUS.md +++ b/STATUS.md @@ -4,8 +4,8 @@ Single source of truth for "what's next." One milestone per PR/run. Autopilot: pick the one task under **NEXT**, ship it, stop. Do **not** start anything under **BLOCKED**. -_Last updated: 2026-07-03 — Milestone 5 (toggle + polish) landed. Nothing is -queued: propose Milestone 6 candidates with a human before adding one._ +_Last updated: 2026-07-03 — Milestone 6 (Web Worker WASM inference) queued; +the human approved the M4-findings candidate on 2026-07-03._ --- @@ -143,10 +143,26 @@ queued: propose Milestone 6 candidates with a human before adding one._ ## NEXT (the one actionable task) -(Nothing queued. The known Milestone 6 candidate from M4's findings is -**moving WASM-path inference to a Web Worker** so slow machines keep 30fps -orbit during a pass — propose it (or alternatives) with a human before adding -anything here.) +- **Milestone 6 — Web Worker WASM inference.** Move depth inference off the + main thread into a module Web Worker so machines on the WASM fallback keep + the 30fps orbit **during** a pass (today the main thread blocks ~4–11s per + WASM pass — M4 finding; WebGPU already computes off-thread and must keep + working, worker or not). Human approved this candidate 2026-07-03. + Constraints carried from M3–M5: + - **Verify before coding, never guess** (CLAUDE.md rule): confirm from the + installed transformers.js 4.2.0 source that the pipeline runs in a worker + and what input types survive `postMessage` (an `HTMLCanvasElement` does + NOT cross the boundary — expect `ImageBitmap`/`ImageData`/raw buffer + + `RawImage` on the worker side). If the installed source + a local runtime + probe can't settle it, that's a human checkpoint — bail, don't guess. + - Keep the probe-once device pick (the `webInitChain` poison quirk lives in + the worker now), the drop-never-queue post/consume contract, the M4 + generation-token teardown semantics, and the M5 inference-time readout + (timing must now measure the round trip the user actually experiences). + - `window.__app.__setEstimator` and the M4/M5 smoke tests must keep working — + the fake-estimator seam should stay on the main thread side of the bridge. + - ⚠️ **Effort gate (skill §1–2): this is an inference-decoupling-core task — + implement only in a session at known-high effort (`/effort high`).** ---