run-clip-headed.mjs --freeze hardlink-snapshots the served source tree into web/.frozen/CLIP-<stamp>-<wasm8> with a sha256 manifest; --candidate refuses a tree that does not verify, and the Playwright config serves the frozen root. Receipts record servedBy, servedRoot, frozenAt and the manifest sha256, and check-clip-headed.mjs re-verifies them against disk. The full suite passes 28/28 on the frozen candidate (tests/golden/CLIP-HEADED-20261204-155221, wasm 3c81eb06, manifest 695b50c0); release acceptance stays NOT_CLAIMED. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
83 lines
22 KiB
Markdown
83 lines
22 KiB
Markdown
# Editor module coverage
|
||
|
||
This page cross-walks the 21 `EDITOR_TYPES` entries in `web/protocol/editor-workflow.ts` against the
|
||
e2e specs, headed receipts and known gaps. It exists so that a module is never called covered because a
|
||
file with its name exists. The Outliner parity work (G1–G6, B1–B6) is the reference standard; the other
|
||
modules are measured against the same bar.
|
||
|
||
## Method
|
||
|
||
Coverage levels, strongest first:
|
||
|
||
- `PROVEN` — a spec assertion or a headed receipt shows a user-visible operation executing on the native
|
||
Main: an operator ran, Main changed, and the change was read back or saved.
|
||
- `READBACK_OR_PROBE` — the spec reads Main state or drives the protocol without proving the editor
|
||
performs the user operation that a desktop user would perform.
|
||
- `GATE_ONLY` — the spec proves a gate, block or disabled path, not the editing path behind it.
|
||
- `INDIRECT` — the editor is exercised only as a side effect of another editor's workflow, with no
|
||
assertion on its own surface.
|
||
- `UNCOVERED` — no e2e evidence; the editor appears only in routing tables or workflow fixtures.
|
||
|
||
Rules:
|
||
|
||
- A spec file name is not evidence. Every `PROVEN` cell names the assertion or receipt it relies on.
|
||
- Headed receipts under `tests/golden/*-HEADED-*` are local artifacts and stay untracked; the headed
|
||
run counts below come from the `tools/web/run-*-headed.mjs` `KNOWN_CASES` tables.
|
||
- `G1`–`G6` parity classes are recorded in the parity ledger; gaps here use `RESIDUAL` when they are
|
||
evidence or protocol gaps rather than a named Outliner class.
|
||
|
||
## Editor matrix
|
||
|
||
| Editor | App surface | e2e evidence | Headed receipts | Level | Gaps |
|
||
| --- | --- | --- | --- | --- | --- |
|
||
| `VIEW_3D` | viewport canvas, quick toolbar, native viewport overlays | `viewport-navigation-web-production` ("wheel zoom, Shift+MMB pan, click select and G/X modal"), `viewport-navigation-native-production`, `viewport-consistency` | 18 cases / 142 dirs (`run-viewport-navigation-headed.mjs`) | `PROVEN` | — |
|
||
| `OUTLINER` | React tree rows, restriction columns, library and override markers | `outliner-treeview-production` ("renders native rows with tree semantics and keeps selection wired"), `outliner-headed-production` (48 cases) | 48 cases / 193 dirs (`run-outliner-headed.mjs`) | `PROVEN` | MOD-OUTLINER-01, MOD-OUTLINER-02 |
|
||
| `PROPERTIES` | `modifier-stack-ui-production`, `armature-authoring-workbench`, b4 property panels | `modifier-stack-ui-production` ("commits only changed native fields"), `b4-properties-ui-production`, `b4-light-world-output-ui-production`, `wbv2-modifier-parameter-production` | none dedicated | `PROVEN` | MOD-PROPERTIES-01, MOD-PROPERTIES-02 |
|
||
| `UV_IMAGE` | UV editing surface, native UV area bridge | `web-uv-workspace-gate` ("finds a writable native UV area and commits an unwrap"), `wbv2-uv-unwrap-batch-production`, `ui-editor-view2d-production` | none dedicated | `PROVEN` | — |
|
||
| `NODE` | shader editor, geometry nodes canvas, compositor canvas | `shader-editor-flow-production`, `web-geonodes-canvas` ("adds, connects and commits a graph"), `web-compositor-canvas` ("builds, executes and commits a graph"), `shader-editor-all-nodes-production` | none dedicated | `PROVEN` | — |
|
||
| `GRAPH` | Graph Editor surface in the area header | `web-area-graph-editor` ("Camera viewport is real and Graph Editor edits animation keys") | none dedicated | `PROVEN` | MOD-ANIM-01 |
|
||
| `DOPE_SHEET` | Dope Sheet surface in the area header | no dedicated assertion; animation specs drive keyframes but not the Dope Sheet rows | none dedicated | `INDIRECT` | MOD-DOPESHEET-01, MOD-ANIM-01 |
|
||
| `NLA` | NLA strip track, `wbv2-nla-stack-production` | `nla-strip-ui-production` ("moves native strips and preserves Main through failure and recovery"), `wbv2-nla-stack-production` | none dedicated | `PROVEN` | MOD-NLA-01 |
|
||
| `SPREADSHEET` | Spreadsheet browser and CSV export | `web-spreadsheet-readonly` ("browses mesh data, filters columns and exports CSV without editing the Main") | none dedicated | `PROVEN` (read path) | MOD-SPREADSHEET-01 |
|
||
| `TIMELINE` | Timeline area, marker rows | `action-marker-ui-production` ("Action creation, keyframes and timeline markers remain editable"), `b5-animation-ui-production` | none dedicated | `PROVEN` | MOD-ANIM-01 |
|
||
| `CLIP` | Clip editor surface: clip/track/plane lists, decoded frame canvas, marker and plane overlays, plane-track creation and corner drag, proxy build (25/50/75/100 sizes + quality) with proxy-decoded frames and on-the-fly undistortion (full-frame reads, `MCLIP_PROXY_RENDER_UNDISTORT`), camera data panel (per-model distortion coefficients), track colour copy and plane auto-keying, camera-solve status, WASM marker tracking (single-frame/sequence, both directions) and camera solve (the 26-case headed suite ran 28/28 PASS on the dev candidate, receipt `tests/golden/CLIP-HEADED-20261204-124651`, and 28/28 on a sha256-manifest-bound frozen candidate, receipt `tests/golden/CLIP-HEADED-20261204-155221`; release acceptance stays `NOT_CLAIMED`) | `clip-headed-production` ("[clip-read-web] reads the tripod MovieClip", "[clip-frame-web] decodes the clip frame to RGBA pixels", "[clip-reopen-web] keeps clip identity through save and reopen", "[clip-edit-web] writes a tracking marker", "[clip-solve-web] imports the reconstruction as a camera solve", "[clip-track-web] tracks selected markers through the libmv engine", "[clip-solve-command-web] solves the camera through the engine", "[clip-proxy-web] builds a proxy and decodes a proxy-sized frame", "[clip-plane-web] creates and edits a plane track", "[clip-plane-drag-web] drags a plane corner in the Clip editor and writes it", "[clip-wiring] drives the frame slider, stepping and keyframe jump", "[clip-track-lifecycle] adds, flags and deletes a track", "[clip-boxes-settings] writes pattern/search boxes and track settings", "[clip-detect] detects Harris features into new tracks", "[clip-undistort] renders the undistorted frame and exposes the camera data", "[clip-solve-settings] sets solve keyframes, scale and clears the solution", "[clip-plane-complete] runs plane keyframe, retrack, image and delete", "[clip-stab] writes stabilization settings and decodes a stabilized frame", "[clip-source] reloads, sets the scene range and relinks the source", "[clip-dopesheet] lists track keyframes in the dopesheet", "[clip-track-panel] previews the pattern, applies color presets and shows the average error", "[clip-point-motion] opens the synthetic point-motion clip and decodes its PNG sequence", "[clip-stab-composite] composites the canvas through the stabilization matrix", "[clip-graph] draws the desktop graph view and asserts knot coordinates", "[clip-mask-edit] edits mask splines on the canvas"), `clip-engine-read-production` | 26 cases (`run-clip-headed.mjs`, checked by `check-clip-headed.mjs`; receipt `NOT_CLAIMED`) | `PROVEN` | MOD-CLIP-01 |
|
||
| `MASK` | Mask datablock readout and selection context | `tracking-mask-production` ("reads Blender Mask data and selection context"), `ui-editor-view2d-production` | none dedicated | `READBACK_OR_PROBE` | — |
|
||
| `SEQUENCER` | sequencer strip list, scene strips | `sequencer-authoring-ui-production` ("edits persist in native Main with rollback and history"), `scene-strip-ui-production` | none dedicated | `PROVEN` | MOD-SEQUENCER-01 |
|
||
| `TEXT` | Text datablock source editing | `wbv2-text-source-production` ("preserves Text datablock source through Main recovery and reopen") | none dedicated | `PROVEN` (datablock path) | — |
|
||
| `CONSOLE` | Python Console session, server operator panel | `console-wasm-keyboard-production` ("uses native Main keyboard history and save/reopen"), `server-operator-ui-production` | none dedicated | `PROVEN` | — |
|
||
| `INFO` | Info editor surface | no dedicated assertion; operator reports are read through other surfaces | none | `UNCOVERED` | MOD-INFO-01 |
|
||
| `FILE_BROWSER` | file open/save flows, download entry | `file-copy-production`, `file-import-progress` (streamed byte progress and cancellation), `web-save-download-semantics` | none dedicated | `PROVEN` | — |
|
||
| `PREFERENCES` | Preferences dialog and keymap editor | `web-preferences` ("Preferences persist through OPFS and keymap rebinding takes effect") | none dedicated | `PROVEN` | — |
|
||
| `TOPBAR` | desktop header menus, workspace tabs | `desktop-menu-workflows` ("desktop header menus add, undo, rename and export a real Main scene") | none dedicated | `PROVEN` | — |
|
||
| `STATUSBAR` | status line text | asserted incidentally inside other specs (for example the object count in the armature case snapshot) | none | `INDIRECT` | — |
|
||
| `UNSUPPORTED` | fallback surface for unknown editor ids | `ui-editor-workflow-production`, capability gates for blocked editors | none | `GATE_ONLY` | — |
|
||
|
||
## Gap register
|
||
|
||
`OPEN` — reachable by a user, not fixed. `PARTIAL` — the path works but a stated part is missing.
|
||
`BLOCKED` — cannot be exercised until another gap clears. `FROZEN` — evidence is deliberately capped.
|
||
`RESOLVED` — closed with evidence; the row stays so the history and its proof remain traceable.
|
||
|
||
| ID | Description | User-visible impact | Evidence | Category | Priority | State |
|
||
| --- | --- | --- | --- | --- | --- | --- |
|
||
| MOD-OUTLINER-01 | The armature row was reported missing from the pose-constraint Outliner. It never was: the armature is a child of `ScaledRigParent` and sits one level deeper, exactly as desktop `make_object_parent_hierarchy_collections` builds it. Ten headed reruns failed because the expand loop in `web/tests/fixtures/native-ui-workflow.ts` clicked a label list scanned before earlier replies landed and re-clicked rows the reply had just opened, so the branch never stayed open. | None after the fix; before it the armature branch never settled open, so the row was unreachable from the Outliner. | `docs/web/KNOWN_LIMITATIONS.md` armature bullet; `web/tests/fixtures/native-ui-workflow.ts`; headed rerun of `armature panel operates on the selected bone`; re-verified on the current tree with the whole file 6/6 PASS (panel case 48.5 s) | RESIDUAL | P1 | `RESOLVED` |
|
||
| MOD-OUTLINER-02 | The Rendering workspace appeared to render an empty Outliner. It has no native Outliner area to fill: desktop's Rendering screen holds Properties, Dope Sheet and Image Editor, the engine exports Outliner rows only for the active workspace, and the web layout drew the panel unconditionally. The panel now follows the native workspace areas, so Rendering draws no Outliner and other workspaces keep theirs. | None; object picking for a render starts from a workspace that has an Outliner, as on desktop. | `docs/web/KNOWN_LIMITATIONS.md` Rendering workspace bullet; `web/app/src/app/App.tsx` outliner area; probe snapshot of all eleven workspaces before and after switching to Rendering (panel count 1 → 0) | RESIDUAL | P2 | `RESOLVED` |
|
||
| MOD-PROPERTIES-01 | The armature panel case could not run because its first step selects the armature row. Same cause as MOD-OUTLINER-01. | None after the fix. | `web/tests/e2e/armature-editor-coverage-ui-production.spec.ts` | RESIDUAL | P1 | `RESOLVED` |
|
||
| MOD-PROPERTIES-02 | `setSceneViewLayerAOVs` and `setSceneViewLayerLightgroups` carried a revision field that the Worker never compared, so a stale submission was accepted and two tabs could overwrite each other's AOV and lightgroup edits. Both now compare a supplied `baseRevision` against the current SceneIR revision and reject staleness with `REVISION_CONFLICT`; an absent revision stays allowed, matching the declared `OPTIONAL` policy. | None after the fix; a stale tab now gets `REVISION_CONFLICT` instead of silently winning. | `web/protocol/web-engine-revisions.ts`; `web/tests/unit/web-engine-revisions.test.mjs`; Chromium probe: fresh revision applied, stale and non-integer rejected without changing the AOV or lightgroup rows | RESIDUAL | P2 | `RESOLVED` |
|
||
| MOD-NLA-01 | `setNLAStack` carried a revision field that the Worker never compared, so a stale submission was accepted. It now compares a supplied `baseRevision` against the current SceneIR and reports `REVISION_CONFLICT`; an absent revision stays allowed under the declared `OPTIONAL` policy. | None after the fix; a stale submission now conflicts instead of replacing the NLA stack. | `web/protocol/web-engine-revisions.ts`; `web/tests/unit/web-engine-revisions.test.mjs`; `web/tests/e2e/wbv2-nla-stack-production.spec.ts`; Chromium probe: stale revision rejected, absent and fresh accepted, track count intact | RESIDUAL | P3 | `RESOLVED` |
|
||
| MOD-SEQUENCER-01 | `setSequencerTransitions` parsed the timeline without comparing `timeline.revision`, so a stale transition edit was accepted. It now compares `timeline.revision` against the current SceneIR and rejects staleness with `REVISION_CONFLICT`, the same check `setSequencerStrips` makes. | None after the fix; a stale submission now fails instead of overwriting the sequencer timeline. | `web/protocol/web-engine-revisions.ts`; `web/tests/unit/web-engine-revisions.test.mjs`; Chromium probe on `sequencer_scene.blend`: stale timeline rejected, current snapshot's timeline applied | RESIDUAL | P2 | `RESOLVED` |
|
||
| MOD-SPREADSHEET-01 | The Spreadsheet offered no edit path. Desktop has none to port: `space_spreadsheet/spreadsheet_ops.cc` registers only `add_row_filter_rule`, `remove_row_filter_rule`, `change_spreadsheet_data_source`, `resize_column`, `fit_column` and `reorder_columns`, all view operations. The web surface browses, filters, selects and exports, which matches that reader role. | None; dataset editing is not a desktop Spreadsheet feature. | `blender-5.2.0/source/blender/editors/space_spreadsheet/spreadsheet_ops.cc`; `web/tests/e2e/web-spreadsheet-readonly.spec.ts` | RESIDUAL | P3 | `RESOLVED` |
|
||
| MOD-ANIM-01 | Keyframe evidence stops at "an action datablock appeared": the Outliner tree exposes no fcurve or keyframe counts, so no count assertion is made. | Reviewers cannot confirm key counts from the tree. | `docs/web/KNOWN_LIMITATIONS.md` keyframe bullet; `outliner-keyframe-keys-web` | RESIDUAL | P3 | `FROZEN` |
|
||
| MOD-DOPESHEET-01 | The Dope Sheet is exercised only through animation specs that assert on other surfaces. | A Dope Sheet regression could pass the suite. | `web/tests/e2e/b5-animation-ui-production.spec.ts` | RESIDUAL | P3 | `PARTIAL` |
|
||
| MOD-CLIP-01 | The blend reader parses every `bMovieClip`: source path, frame range, point tracks with markers (pattern/search rects, keyframe/muted flags), plane tracks and the Scene clip binding are exported through `trackingMasks.clips`/`bindings`; degenerate marker rects from freshly inserted markers are widened so the strict protocol accepts them. The protocol gained `sourceStatus` (AVAILABLE/MISSING/UNREADABLE) with optional digest, path and fps; the API resolves `//` sources against the Blend location and hashes the file. The pinned WASM FFmpeg builds video decoders plus swscale, so `BKE_movieclip_get_size/get_duration/get_fps` merge real metadata (with `GlobalMainScope`, the relative-path resolution) and `clipFrame` returns RGBA pixels. The Clip editor surface lists clips/tracks, decodes frames, overlays markers/plane tracks, and writes marker add/update/mute/delete through the shared bpy command module (`clipEditorCommands.ts`); the Properties tracking panel now reads clip and track rows from the same snapshot instead of a second bpy query. Camera solve is imported: the reader emits each tracking object's `reconstruction` (flag, average error, camera focal and principal point, solved frame list) and `enrich_tracking_clip_sources` converts it to `cameraSolve` — `SOLVED` only when the source resolves and the solved-frame list is non-empty, bound to the source digest with a `settingsHash` over the normalised solve settings, `FAILED` when the solve exists without cameras, otherwise omitted as `NONE`; the parser now accepts `NONE`/`FAILED` without a digest. Plane tracks are editable: `createPlaneTrack` deselects the tracking object's tracks, selects the requested point tracks in native Main and calls `BKE_tracking_plane_track_add` at the chosen frame (the desktop `CLIP_OT_create_plane_track` needs a SpaceClip the engine surface does not own), and corner edits drag the selected quad on the canvas and write `marker.corners` through `planeMarkerWriteSource`. The headed UI case exposed two defects, both fixed: the Clip surface was gated on `localOnly`, so the web UI rendered every edit control disabled even though the local engine client was present, and the bpy write calls passed the App handler's optional `apply` flag where the surface meant "console", so a successful write never applied the refreshed snapshot and the canvas snapped back to the old corners. Clip proxies are built in the WASM engine: the `rebuildClipProxies` command validates 25/50/75/100 percentages (1–4) and quality, sets `MCLIP_USE_PROXY` and `build_size_flag`, and runs `MOV_proxy_builder_*` synchronously inside the engine using the same history/refresh/invariant pattern as the other clip commands. Because the pinned Web FFmpeg has no H.264 encoder and no MP4 muxer, `movie_proxy_indexer.cc` is guarded under `WITH_WEB` to encode MJPEG into Matroska with qscale options (the same reader decodes it); `clipFrame` takes a `proxySize` and decodes at 25/50/75/100 with `MCLIP_PROXY_RENDER_USE_FALLBACK_RENDER` so missing proxies fall back to the source. The reader exports each clip's `proxy` object (enabled flag from `MCLIP_USE_PROXY`, build-size bitmask, quality), the protocol validates it, and the Clip editor shows size checkboxes, a quality field, a Build button and a decode-size selector. The proxy headed case (`[clip-proxy-web]`) is written but has not been run. Browser-side tracking and solving are no longer gated: `WITH_LIBMV` is enabled for the web build, with Ceres and Abseil compiled for the same WASM ABI by `tools/web/build-webengine-ceres.py` (both source packages come from the pinned `blender-with-libraries-5.2.0.tar.xz`, Eigen from `extern/eigen3`, gflags and glog from `extern/`, plus a new single-threaded `extern/glog/src/config_emscripten.h`). The `trackMarkers` command mirrors `CLIP_OT_track_markers` (selected/unlocked tracks, `frames_limit`, one-frame or scene-sequence range, `BKE_autotrack_context_start/step/sync/finish`) and `solveCamera` mirrors `CLIP_OT_solve_camera` (`BKE_tracking_reconstruction_check/context_new/solve/finish`, scene clip binding and camera transfer through `BKE_tracking_camera_to_blender`); both follow the canonical history/refresh/invariant pattern and are wired through the protocol, the worker command set, `WebEngineClient` and the Clip editor (跟踪 ←/→ 单帧, ←/→ 序列, 求解相机). The tracking, solve and proxy headed cases (`[clip-track-web]`, `[clip-solve-command-web]`, `[clip-proxy-web]`) ran in the authorized acceptance stage and passed with the rest of the suite in `tests/golden/CLIP-HEADED-20261204-052513`; that receipt binds a dev candidate, so release acceptance remains `NOT_CLAIMED`. Desktop Blender 5.2 has no Clip movie-export operator (every `CLIP_OT_*` idname was enumerated and none exports a movie), so movie export is not a porting gap. The authorized acceptance runs executed the 25-case headed suite (27/27 PASS, receipt `tests/golden/CLIP-HEADED-20261204-082003`, wasm sha256 `3dfc96fe…`, check `status PASS` / `acceptance NOT_CLAIMED`) and the residual-closure pass added Graph knot coordinates, the stabilized pixel composite, the synthetic-point-motion case and the Track-panel scopes/presets/average-error widgets; the reader block-collision defect the earlier run exposed is fixed. The subsequent undistortion pass added the `clipFrame` `undistort` flag (honoured only for full-frame reads, mirroring `need_undistortion_postprocess`), per-model distortion-coefficient exports and the Camera Data panel, the `[clip-undistort]` headed case (border-concentrated pixel difference plus an identity check with zeroed k1..k3), the `CLIP_OT_track_copy_color` panel button, and plane `use_auto_keying` with the off-path re-deriving the plane through `BKE_tracking_track_plane_from_existing_motion`. The suite then ran 28/28 PASS on the dev candidate (receipt `tests/golden/CLIP-HEADED-20261204-124651`, wasm sha256 `3c81eb06…`) and 28/28 on a sha256-manifest-bound frozen candidate (receipt `tests/golden/CLIP-HEADED-20261204-155221`). Remaining: user hands-on acceptance; the Clip limits in `docs/web/KNOWN_LIMITATIONS.md` now record only graph drawing parity, the bounded stabilization pixel coverage and the deliberate `CLIP_STABILIZATION_NONFINITE` hardening divergence. | Missing footage keeps the clip visible with `MISSING` and no digest, matching desktop; frame decode reports `CLIP_FRAME_UNAVAILABLE` instead of a blank frame. | `blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp` `clip_from_record`; `web_engine_api.cpp` `enrich_tracking_clip_sources` + `clipFrame`; `web_engine_main_state.cpp` movieclip merge/frame; `tools/web/build-webengine-ffmpeg.py`; `web/protocol/tracking-mask.ts`; `web/app/src/app/ClipEditorSurface.tsx`; `web/app/src/tracking/clipEditorCommands.ts`; `web/app/src/app/TrackingMaskPanel.tsx`; `web/tests/e2e/clip-*-production.spec.ts`; `tools/web/run-clip-headed.mjs` / `check-clip-headed.mjs` (headed receipt, NOT_CLAIMED) | RESIDUAL | P3 | `PARTIAL` |
|
||
| MOD-INFO-01 | The Info editor has no dedicated case; operator reports are read through other surfaces. | Info report rows are unverified. | `web/tests/e2e` inventory | RESIDUAL | P3 | `OPEN` |
|
||
|
||
## Sources reused
|
||
|
||
- `web/protocol/editor-workflow.ts` — `EDITOR_TYPES`, action prefixes and workflow IR.
|
||
- `web/tests/e2e` — 413 specs, of which 174 are `*production*` cases.
|
||
- `tools/web/run-outliner-headed.mjs`, `run-viewport-navigation-headed.mjs`,
|
||
`run-armature-robot-headed.mjs`, `run-mesh-decimate-headed.mjs` — headed `KNOWN_CASES` tables.
|
||
- `tests/golden/WBV2/dynamic-inventory.json` — production inventory and coverage ledger.
|
||
- `docs/web/KNOWN_LIMITATIONS.md` — the canonical limitation and residual-gap text.
|