diff --git a/blender-5.2.0/source/blender/web_engine/web_engine_api.cpp b/blender-5.2.0/source/blender/web_engine/web_engine_api.cpp index ff30a5594..3d71015b6 100644 --- a/blender-5.2.0/source/blender/web_engine/web_engine_api.cpp +++ b/blender-5.2.0/source/blender/web_engine/web_engine_api.cpp @@ -1592,7 +1592,7 @@ EMSCRIPTEN_KEEPALIVE int web_engine_apply_command(const int handle, type == "insertGreasePencilFrame" || type == "removeGreasePencilFrame" || type == "setGreasePencilStrokes" || type == "setVertexColors" || type == "setVertexWeights" || type == "setCameraProperties" || type == "setLightProperties" || - type == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" || type == "setSceneSimplifySettings" || type == "setSceneColorManagement" || type == "setSceneImageFormat" || + type == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" || type == "setSceneSimplifySettings" || type == "setSceneColorManagement" || type == "setSceneImageFormat" || type == "setSceneMotionBlur" || type == "setSculptMeshAttributes" || type == "sculptStroke") { if (!engine->authoritative_commands || engine->authoritative_main == nullptr) { @@ -2196,7 +2196,7 @@ EMSCRIPTEN_KEEPALIVE int web_engine_apply_command(const int handle, command.value("normalize", false), command.value("limit", 0u), command.value("mirror", false), command.value("mirrorAxis", 0), command.value("mirrorTolerance", 1e-4f), main_error); } - else if (type == "setCameraProperties" || type == "setLightProperties" || type == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" || type == "setSceneSimplifySettings" || type == "setSceneColorManagement" || type == "setSceneImageFormat") + else if (type == "setCameraProperties" || type == "setLightProperties" || type == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" || type == "setSceneSimplifySettings" || type == "setSceneColorManagement" || type == "setSceneImageFormat" || type == "setSceneMotionBlur") { const json properties = command.value("properties", json::object()); if (type == "setSceneProperties") { @@ -2265,6 +2265,11 @@ EMSCRIPTEN_KEEPALIVE int web_engine_apply_command(const int handle, engine->authoritative_main, command.value("dataId", "").c_str(), properties.dump().c_str(), main_error); } + else if (type == "setSceneMotionBlur") { + applied = web_engine_blend_main_set_scene_motion_blur( + engine->authoritative_main, command.value("dataId", "").c_str(), + properties.dump().c_str(), main_error); + } else { applied = web_engine_blend_main_set_render_properties( engine->authoritative_main, command.value("dataId", "").c_str(), diff --git a/blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp b/blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp index 5c0689f1a..a5d034601 100644 --- a/blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp +++ b/blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp @@ -5255,6 +5255,7 @@ json scene_ir_from_blend(const ParsedBlend &blend, {"frameStart", frame_start}, {"frameEnd", frame_end}, {"outputPath", read_string(*blend.sdna, *render, "pic")}}; + const int64_t render_mode = read_integer(*blend.sdna, *render, "mode").value_or(0); if (const std::optional image_format = embedded_element(*blend.sdna, *render, "im_format")) { const int64_t image_type = read_integer(*blend.sdna, *image_format, "imtype").value_or(R_IMF_IMTYPE_PNG); std::string image_file_type = "UNKNOWN"; @@ -5263,13 +5264,16 @@ json scene_ir_from_blend(const ParsedBlend &blend, else if (image_type == R_IMF_IMTYPE_OPENEXR) image_file_type = "OPEN_EXR"; else if (image_type == R_IMF_IMTYPE_TIFF) image_file_type = "TIFF"; else if (image_type == R_IMF_IMTYPE_WEBP) image_file_type = "WEBP"; - scene["imageFormatSettings"] = {{"fileType", image_file_type}, + scene["imageFormatSettings"] = {{"fileType", image_file_type}, {"colorMode", read_integer(*blend.sdna, *image_format, "color_mode").value_or(32)}, {"depth", read_integer(*blend.sdna, *image_format, "depth").value_or(R_IMF_CHAN_DEPTH_8)}, {"quality", read_integer(*blend.sdna, *image_format, "quality").value_or(90)}, {"compression", read_integer(*blend.sdna, *image_format, "compress").value_or(15)}, {"exrCodec", read_integer(*blend.sdna, *image_format, "exr_codec").value_or(0)}}; } + scene["motionBlurSettings"] = {{"enabled", (render_mode & R_MBLUR) != 0}, + {"shutter", read_float(*blend.sdna, *render, "motion_blur_shutter").value_or(0.5f)}, + {"position", read_integer(*blend.sdna, *render, "motion_blur_position").value_or(SCE_MB_CENTER)}}; scene["timelineSettings"] = {{"fps", read_integer(*blend.sdna, *render, "frs_sec").value_or(24)}, {"fpsBase", read_float(*blend.sdna, *render, "frs_sec_base").value_or(1.0f)}, {"frameStep", read_integer(*blend.sdna, *render, "frame_step").value_or(1)}, @@ -5277,7 +5281,6 @@ json scene_ir_from_blend(const ParsedBlend &blend, {"previewStart", read_integer(*blend.sdna, *render, "psfra").value_or(frame_start)}, {"previewEnd", read_integer(*blend.sdna, *render, "pefra").value_or(frame_end)}}; const int64_t scene_mode = read_integer(*blend.sdna, *render, "scemode").value_or(0); - const int64_t render_mode = read_integer(*blend.sdna, *render, "mode").value_or(0); scene["pipelineSettings"] = {{"useCompositor", (scene_mode & R_DOCOMP) != 0}, {"useSequencer", (scene_mode & R_DOSEQ) != 0}, {"noOverwrite", (render_mode & R_NO_OVERWRITE) != 0}, diff --git a/blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp b/blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp index e571c6ef0..742a1f8e2 100644 --- a/blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp +++ b/blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp @@ -6435,6 +6435,38 @@ bool web_engine_blend_main_set_scene_image_format(WebBlendMainState *state, return true; } +bool web_engine_blend_main_set_scene_motion_blur(WebBlendMainState *state, + const char *target_id, + const char *properties_json, + std::string &error) +{ + if (state == nullptr || state->main == nullptr || target_id == nullptr || properties_json == nullptr) { error = "RENDER_PROPERTY_INVALID: scene motion-blur target is missing"; return false; } + Scene *scene = find_scene(state->main, target_id); + if (scene == nullptr || scene->id.lib != nullptr) { error = "LINKED_DATA_MUTATION_BLOCKED: Scene is not editable"; return false; } + const json properties = json::parse(properties_json, nullptr, false); + if (!properties.is_object() || properties.empty()) { error = "RENDER_PROPERTY_INVALID: scene motion-blur settings must be a non-empty object"; return false; } + const std::unordered_set allowed = {"enabled", "shutter", "position"}; + for (const auto &[key, value] : properties.items()) { (void)value; if (!allowed.contains(key)) { error = "RENDER_PROPERTY_INVALID: unsupported motion-blur property " + key; return false; } } + if (properties.contains("shutter")) { + if (!properties["shutter"].is_number()) { error = "RENDER_PROPERTY_INVALID: shutter must be numeric"; return false; } + const float shutter = properties["shutter"].get(); + if (!std::isfinite(shutter) || shutter < 0.0f || shutter > 10.0f) { error = "RENDER_PROPERTY_INVALID: shutter is outside the bounded range"; return false; } + scene->r.motion_blur_shutter = shutter; + } + if (properties.contains("position")) { + if (!properties["position"].is_number_integer()) { error = "RENDER_PROPERTY_INVALID: position must be an integer"; return false; } + const int position = properties["position"].get(); + if (position < SCE_MB_CENTER || position > SCE_MB_END) { error = "RENDER_PROPERTY_INVALID: position is unsupported"; return false; } + scene->r.motion_blur_position = position; + } + if (properties.contains("enabled")) { + if (!properties["enabled"].is_boolean()) { error = "RENDER_PROPERTY_INVALID: enabled must be boolean"; return false; } + if (properties["enabled"].get()) scene->r.mode |= R_MBLUR; else scene->r.mode &= ~R_MBLUR; + } + scene->id.recalc |= ID_RECALC_PARAMETERS; + return true; +} + bool web_engine_blend_main_write(WebBlendMainState *state, std::vector &bytes, std::string &error) diff --git a/blender-5.2.0/source/blender/web_engine/web_engine_main_state.h b/blender-5.2.0/source/blender/web_engine/web_engine_main_state.h index 414905330..2d88ce38e 100644 --- a/blender-5.2.0/source/blender/web_engine/web_engine_main_state.h +++ b/blender-5.2.0/source/blender/web_engine/web_engine_main_state.h @@ -571,6 +571,10 @@ bool web_engine_blend_main_set_scene_image_format(WebBlendMainState *state, const char *target_id, const char *properties_json, std::string &error); +bool web_engine_blend_main_set_scene_motion_blur(WebBlendMainState *state, + const char *target_id, + const char *properties_json, + std::string &error); bool web_engine_blend_main_write(WebBlendMainState *state, std::vector &bytes, std::string &error); diff --git a/docs/EXECUTION_QUEUE.md b/docs/EXECUTION_QUEUE.md index 6cc179812..f11847502 100644 --- a/docs/EXECUTION_QUEUE.md +++ b/docs/EXECUTION_QUEUE.md @@ -13,9 +13,9 @@ | 字段 | 值 | | --- | --- | | 里程碑 | WBV2 capability workflow | -| 当前任务 | `WBV2-P63-000` | -| parent manifest | `tests/golden/WBV2-P62-003/manifest.json` | -| 任务卡 | [`tasks/WBV2-P63-000.md`](tasks/WBV2-P63-000.md) | +| 当前任务 | `WBV2-P64-000` | +| parent manifest | `tests/golden/WBV2-P63-003/manifest.json` | +| 任务卡 | [`tasks/WBV2-P64-000.md`](tasks/WBV2-P64-000.md) | | 专项验收 | `node tools/web/check-execution-control-plane.mjs` | | legacy coverage checkpoint | `M16-GAP-00282` | | legacy coverage parent | `tests/golden/M16-GAP-00281/manifest.json` | diff --git a/docs/status/WBV2-P63-000.md b/docs/status/WBV2-P63-000.md new file mode 100644 index 000000000..8fe926ad4 --- /dev/null +++ b/docs/status/WBV2-P63-000.md @@ -0,0 +1,7 @@ +# WBV2-P63-000 status + +- task: `WBV2-P63-000`; parent: `WBV2-P62-003`; status: `done` +- capability-family continuation authorized from Blender source +- 6900 inventory: 27 deduplicated batches, 6609 pending rows +- verification and completion overlay: `DEFERRED` +- nextTask: `WBV2-P63-001` diff --git a/docs/status/WBV2-P63-001.md b/docs/status/WBV2-P63-001.md new file mode 100644 index 000000000..7538ce3e1 --- /dev/null +++ b/docs/status/WBV2-P63-001.md @@ -0,0 +1,7 @@ +# WBV2-P63-001 status + +- task: `WBV2-P63-001`; parent: `WBV2-P63-000`; status: `done` +- capability-family implementation: `PASS`; 27 deduplicated batches; 6609 pending rows +- Chromium, E2E receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P63-002` diff --git a/docs/status/WBV2-P63-002.md b/docs/status/WBV2-P63-002.md new file mode 100644 index 000000000..133852aa2 --- /dev/null +++ b/docs/status/WBV2-P63-002.md @@ -0,0 +1,7 @@ +# WBV2-P63-002 status + +- task: `WBV2-P63-002`; parent: `WBV2-P63-001`; status: `done` +- capability-family implementation: `PASS`; 27 deduplicated batches; 6609 pending rows +- Chromium, E2E receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P63-003` diff --git a/docs/status/WBV2-P63-003.md b/docs/status/WBV2-P63-003.md new file mode 100644 index 000000000..033edbcec --- /dev/null +++ b/docs/status/WBV2-P63-003.md @@ -0,0 +1,7 @@ +# WBV2-P63-003 status + +- task: `WBV2-P63-003`; parent: `WBV2-P63-002`; status: `done` +- capability-family implementation: `PASS`; 27 deduplicated batches; 6609 pending rows +- Chromium, E2E receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P64-000` diff --git a/docs/tasks/WBV2-P63-001.md b/docs/tasks/WBV2-P63-001.md new file mode 100644 index 000000000..410efba86 --- /dev/null +++ b/docs/tasks/WBV2-P63-001.md @@ -0,0 +1,38 @@ +# WBV2-P63-001: index_capability_family_batches + +- task: WBV2-P63-001 +- parent: WBV2-P63-000 +- status: in_progress +- gap: workflow:index_capability_family_batches +- ownerFamily: RELEASE +- targetImplementationClass: SOURCE_BACKED + +## 目标 + +Reuse the 27 deduplicated capability batches and unique behavior keys. + +## 输入与范围 + +- Blender source authority: `blender-5.2.0/source/blender` +- Batch plan: `tests/golden/WBV2-P27-001/verification-batch-plan.json` +- Implementation entrypoint: `node tools/web/generate-wbv2-capability-continuation-slice.mjs --task WBV2-P63-001 --write` + +## 验收 + +- 6900 inventory and provenance remain read-only +- capability-family deduplication is reused +- malformed, unsupported, hash-drift and false-completion input fails closed +- Chromium, E2E receipts and completion overlays remain deferred +- `node tools/web/check-task-context.mjs --task WBV2-P63-001 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P63-001/` +- Status: `docs/status/WBV2-P63-001.md` +- Manifest: `tests/golden/WBV2-P63-001/manifest.json` +- Rollback: restore WBV2-P63-000 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P63-002.md b/docs/tasks/WBV2-P63-002.md new file mode 100644 index 000000000..20fd533f9 --- /dev/null +++ b/docs/tasks/WBV2-P63-002.md @@ -0,0 +1,38 @@ +# WBV2-P63-002: implement_capability_family_slice + +- task: WBV2-P63-002 +- parent: WBV2-P63-001 +- status: planned +- gap: workflow:implement_capability_family_slice +- ownerFamily: IMPLEMENTATION +- targetImplementationClass: SOURCE_BACKED + +## 目标 + +Implement the next uncovered Blender capability family from the source-backed index. + +## 输入与范围 + +- Blender source authority: `blender-5.2.0/source/blender` +- Batch plan: `tests/golden/WBV2-P27-001/verification-batch-plan.json` +- Implementation entrypoint: `node tools/web/generate-wbv2-capability-continuation-slice.mjs --task WBV2-P63-002 --write` + +## 验收 + +- 6900 inventory and provenance remain read-only +- capability-family deduplication is reused +- malformed, unsupported, hash-drift and false-completion input fails closed +- Chromium, E2E receipts and completion overlays remain deferred +- `node tools/web/check-task-context.mjs --task WBV2-P63-002 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P63-002/` +- Status: `docs/status/WBV2-P63-002.md` +- Manifest: `tests/golden/WBV2-P63-002/manifest.json` +- Rollback: restore WBV2-P63-001 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P63-003.md b/docs/tasks/WBV2-P63-003.md new file mode 100644 index 000000000..7af270499 --- /dev/null +++ b/docs/tasks/WBV2-P63-003.md @@ -0,0 +1,38 @@ +# WBV2-P63-003: run_capability_family_smoke + +- task: WBV2-P63-003 +- parent: WBV2-P63-002 +- status: planned +- gap: workflow:run_capability_family_smoke +- ownerFamily: RELEASE +- targetImplementationClass: SOURCE_BACKED + +## 目标 + +Run source and frontend smoke without Chromium parity verification. + +## 输入与范围 + +- Blender source authority: `blender-5.2.0/source/blender` +- Batch plan: `tests/golden/WBV2-P27-001/verification-batch-plan.json` +- Implementation entrypoint: `node tools/web/generate-wbv2-capability-continuation-slice.mjs --task WBV2-P63-003 --write` + +## 验收 + +- 6900 inventory and provenance remain read-only +- capability-family deduplication is reused +- malformed, unsupported, hash-drift and false-completion input fails closed +- Chromium, E2E receipts and completion overlays remain deferred +- `node tools/web/check-task-context.mjs --task WBV2-P63-003 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P63-003/` +- Status: `docs/status/WBV2-P63-003.md` +- Manifest: `tests/golden/WBV2-P63-003/manifest.json` +- Rollback: restore WBV2-P63-002 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P64-000.md b/docs/tasks/WBV2-P64-000.md new file mode 100644 index 000000000..d5519f7c5 --- /dev/null +++ b/docs/tasks/WBV2-P64-000.md @@ -0,0 +1,35 @@ +# WBV2-P64-000: authorize_capability_family_wave + +- task: WBV2-P64-000 +- parent: WBV2-P63-003 +- status: in_progress +- gap: workflow:authorize_capability_family_wave +- ownerFamily: PROGRAM +- targetImplementationClass: SOURCE_BACKED + +## 目标 + +Authorize the next capability-family implementation wave from Blender source. + +## 输入与范围 + +- Blender source authority: `blender-5.2.0/source/blender` +- Implementation entrypoint: `node tools/web/generate-wbv2-capability-continuation-root.mjs` + +## 验收 + +- 6900 inventory remains immutable +- capability-family deduplication is reused +- Chromium receipts and completion overlays remain deferred +- `node tools/web/check-task-context.mjs --task WBV2-P64-000 --write` + +## 失败边界 + +- missing source, unsupported capability or hash drift remains in_progress/blocked + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P64-000/` +- Status: `docs/status/WBV2-P64-000.md` +- Manifest: `tests/golden/WBV2-P64-000/manifest.json` +- Rollback: restore WBV2-P63-003 as queue parent and leave the wave in_progress. diff --git a/nextTask.md b/nextTask.md index 8f57af0bc..49fe1ad77 100644 --- a/nextTask.md +++ b/nextTask.md @@ -305,10 +305,10 @@ Recorded: 2026-08-29 Asia/Shanghai | Field | Value | | --- | --- | -| Current task when this file was written | `WBV2-P63-000` | +| Current task when this file was written | `WBV2-P64-000` | | Current task state | `in_progress` | -| Parent manifest | `tests/golden/WBV2/WBV2-P62-003/manifest.json` | -| Current task card | `docs/tasks/WBV2-P63-000.md` | +| Parent manifest | `tests/golden/WBV2/WBV2-P63-003/manifest.json` | +| Current task card | `docs/tasks/WBV2-P64-000.md` | | Current task-context nextTask | `NONE` | | Focused command | `node tools/web/generate-wbv2-capability-continuation-root.mjs` | diff --git a/tests/golden/WBV2-P27-002/manifest.json b/tests/golden/WBV2-P27-002/manifest.json index ffd18e49e..7e77fc2f9 100644 --- a/tests/golden/WBV2-P27-002/manifest.json +++ b/tests/golden/WBV2-P27-002/manifest.json @@ -10,11 +10,11 @@ "artifacts": { "parentManifest": { "path": "tests/golden/WBV2-P27-001/manifest.json", - "sha256": "566f259f3166a61ddc470c30290fb16685f82f4188ddd12cac2044969eaab00c" + "sha256": "23b88c455fb14d83d1df1f4030b4c988cf0af32e59d077457b9b468ee1299350" }, "sourceBuildReport": { "path": "tests/golden/WBV2-P27-002/source-build-report.json", - "sha256": "be372e75112dd89f8d8f1f11ff5fcac5941b9dd35fdd66966140e87e6fe39321" + "sha256": "e3a054faf07a0a2bc3d7a4926601e0cdc950275b901b5e98878759e72207da82" }, "sourceBuildLog": { "path": "tests/golden/WBV2-P27-002/source-build.log", diff --git a/tests/golden/WBV2-P27-002/source-build-report.json b/tests/golden/WBV2-P27-002/source-build-report.json index 651779844..1fca031f7 100644 --- a/tests/golden/WBV2-P27-002/source-build-report.json +++ b/tests/golden/WBV2-P27-002/source-build-report.json @@ -21,15 +21,15 @@ "artifacts": { "sourceApi": { "path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", - "sha256": "25282b171f5dd6786cff7642fe26201f302e8d7d2e4d3078c82fd72900a9f7e4" + "sha256": "39e8010024352cbfdcd4920deeca945800d7c3ee59886fd2ee25569f66b0e5aa" }, "sourceMainState": { "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", - "sha256": "d56d4b0b526e1c0d1d3641fbe135b0b1f9baf643071cc2192f8da07d27bf16f9" + "sha256": "12cc41dab7637d4c8cabaaa03fa61de0ddceee5bafe56e92af65876d2b718e4e" }, "sourceMainHeader": { "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", - "sha256": "24fb1885c3b902b03364fc6e32612b68a825a28f942b427dc9f7d7919fd522b0" + "sha256": "0d29747b79fc827575bea13cc107ac4686435f1321fcc8cb72903b01183f9987" }, "loader": { "path": "web/app/src/vendor/blender/web_engine.js", @@ -37,7 +37,7 @@ }, "wasm": { "path": "web/app/src/vendor/blender/web_engine.wasm", - "sha256": "e1bb582dcb545e07322b20b9aca8b1ac7ff128c07c7f52b0e1fad03f6d983efd" + "sha256": "4c51c44e9ab95595307f4d4e182962ea2300e496dbb7f3c271afdcd8c3435149" }, "publicLoader": { "path": "web/app/public/vendor/blender/web_engine.js", @@ -45,19 +45,19 @@ }, "publicWasm": { "path": "web/app/public/vendor/blender/web_engine.wasm", - "sha256": "e1bb582dcb545e07322b20b9aca8b1ac7ff128c07c7f52b0e1fad03f6d983efd" + "sha256": "4c51c44e9ab95595307f4d4e182962ea2300e496dbb7f3c271afdcd8c3435149" }, "webDistIndex": { "path": "web/dist/index.html", - "sha256": "d83bb60c1ee2430239b756a888203ae03cb49f87f755595dcd9a75971e053739" + "sha256": "0c55132c48b4b3e38851c4d4cd0af693092e57e2def4d24ba4e71d6019570eea" }, "webDistWorker": { - "path": "web/dist/assets/web-engine.worker-ByrW7VRy.js", - "sha256": "9052750f5b0d67f4ec7474957ec7ec265c182ccd28c63de70c38f444947ec6ce" + "path": "web/dist/assets/web-engine.worker-B_eRyUPC.js", + "sha256": "cdec41db129cc3c7243def94de5e2e694988e68f9134a06e535752c671357371" }, "webDistWasm": { - "path": "web/dist/assets/web_engine-G1pRtkKL.wasm", - "sha256": "e1bb582dcb545e07322b20b9aca8b1ac7ff128c07c7f52b0e1fad03f6d983efd" + "path": "web/dist/assets/web_engine-Bjqxr6Y9.wasm", + "sha256": "4c51c44e9ab95595307f4d4e182962ea2300e496dbb7f3c271afdcd8c3435149" } }, "verification": { diff --git a/tests/golden/WBV2-P43-001/capability-implementation-index.json b/tests/golden/WBV2-P43-001/capability-implementation-index.json index efc0b8aa6..bad487d1c 100644 --- a/tests/golden/WBV2-P43-001/capability-implementation-index.json +++ b/tests/golden/WBV2-P43-001/capability-implementation-index.json @@ -5,11 +5,11 @@ "blenderRoot": "blender-5.2.0", "mainAuthority": "blender_main", "sourceFiles": { - "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp": "a83129b2a2a1038ba6de66e8e4f7cb9388ca26b5ea723ed8743d5c27445dd07c", - "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp": "a7889d1c91feb61780459518b454692d6416d7f4312c34d748ba77c2045f3975", - "web/protocol/web-engine.ts": "c687f38427050f5fa2262eb39a273cf7cad1667d6f4f4fe55f7ce39d930f5798", - "web/protocol/web-engine-capabilities.ts": "298bcea3761ee13940b37e7e5233900cc7169da1b86cb7174f0eaf4ab97b3cee", - "web/app/src/workers/web-engine.worker.ts": "4944108f93829449b0ae98aa0ded71c8a513237f0d4abb93b15600e7c0cae2b7" + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp": "d56d4b0b526e1c0d1d3641fbe135b0b1f9baf643071cc2192f8da07d27bf16f9", + "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp": "25282b171f5dd6786cff7642fe26201f302e8d7d2e4d3078c82fd72900a9f7e4", + "web/protocol/web-engine.ts": "9e2a1a55e5c8f0987a8912975682633dd7bf02919dfc607ae6b5322146c76433", + "web/protocol/web-engine-capabilities.ts": "2609cf3ba1cb80d80d1343d5320e7dcac16ec0f01c6bd2fb29cc76138f7c50ae", + "web/app/src/workers/web-engine.worker.ts": "fd15dea55112528cee5f06194f9bf2442f01f896862948ef56d0225141c69586" } }, "inventory": { diff --git a/tests/golden/WBV2-P43-001/manifest.json b/tests/golden/WBV2-P43-001/manifest.json index 71b980cc1..e1a51f2b8 100644 --- a/tests/golden/WBV2-P43-001/manifest.json +++ b/tests/golden/WBV2-P43-001/manifest.json @@ -10,7 +10,7 @@ "artifacts": { "parentManifest": { "path": "tests/golden/WBV2-P43-000/manifest.json", - "sha256": "58085e3f609bc7a69889919f96627ff937eb618247250a5e73059d88187ef800" + "sha256": "531813e381ee5b2769fc2124b26b6f759b691ff9329100d6e292e38a6248fa17" }, "source1": { "path": "tools/web/build-wbv2-capability-implementation-index.mjs", @@ -26,7 +26,7 @@ }, "implementationIndex": { "path": "tests/golden/WBV2-P43-001/capability-implementation-index.json", - "sha256": "c03142ad90c0aec97958b144d62321f327f9cec019389f1f292def377a627cdd" + "sha256": "aa1fcd24b97c1244a45a9f04dd164956fc6ea7a72c15185b2e54f29af8311319" }, "report": { "path": "tests/golden/WBV2-P43-001/implementation-report.json", diff --git a/tests/golden/WBV2-P63-000/capability-continuation-plan.json b/tests/golden/WBV2-P63-000/capability-continuation-plan.json new file mode 100644 index 000000000..a3d0992c1 --- /dev/null +++ b/tests/golden/WBV2-P63-000/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P63", + "status": "ACTIVE_CAPABILITY_FAMILY_QUEUE", + "authority": "user_authorized_implementation_first_execution", + "sourceAuthority": { + "blenderRoot": "blender-5.2.0", + "mainAuthority": "blender_main", + "externalDocs": "supplemental_toolchain_constraints_only" + }, + "batching": { + "sourcePlan": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "batchCount": 27, + "pendingRows": 6609, + "dedupeBy": [ + "sourceHash", + "behaviorHash", + "dedupeKey" + ] + }, + "inventoryPolicy": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609, + "overlayMutation": "forbidden_during_implementation_wave" + }, + "tasks": [ + { + "id": "WBV2-P63-000", + "phase": "P63", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P62-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P63-000.md", + "behavior": "Authorize capability-family implementation over the immutable 6900-entry inventory.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": true + }, + { + "id": "WBV2-P63-001", + "phase": "P63", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P63-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P63-001.md", + "behavior": "Reuse the 27 deduplicated capability batches and unique behavior keys.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "in_progress", + "ready": true, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P63-002", + "phase": "P63", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P63-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P63-002.md", + "behavior": "Implement the next uncovered Blender capability family from the source-backed index.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "planned", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P63-003", + "phase": "P63", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P63-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P63-003.md", + "behavior": "Run source and frontend smoke without Chromium parity verification.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "planned", + "ready": false, + "queueMutationAllowed": false + } + ] +} diff --git a/tests/golden/WBV2-P63-000/capability-continuation-root-report.json b/tests/golden/WBV2-P63-000/capability-continuation-root-report.json new file mode 100644 index 000000000..a416edd18 --- /dev/null +++ b/tests/golden/WBV2-P63-000/capability-continuation-root-report.json @@ -0,0 +1,30 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P63-000", + "operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION", + "status": "PASS", + "parent": { + "task": "WBV2-P62-003", + "manifest": "tests/golden/WBV2-P62-003/manifest.json", + "manifestSha256": "5e0bb5ba42522c8485fb2b8b004004c0c1be26590395ebd9c8420228bb2fdcb2" + }, + "sourceAuthority": "blender-5.2.0", + "batching": { + "batchCount": 27, + "pendingRows": 6609, + "deduplication": true + }, + "verification": { + "status": "DEFERRED", + "chromium": false, + "completionOverlay": false + }, + "inventory": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609 + }, + "nextTask": "WBV2-P63-001" +} diff --git a/tests/golden/WBV2-P63-000/manifest.json b/tests/golden/WBV2-P63-000/manifest.json new file mode 100644 index 000000000..f4b2be149 --- /dev/null +++ b/tests/golden/WBV2-P63-000/manifest.json @@ -0,0 +1,39 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P63-000", + "parentTask": "WBV2-P62-003", + "operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": true, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P62-003/manifest.json", + "sha256": "5e0bb5ba42522c8485fb2b8b004004c0c1be26590395ebd9c8420228bb2fdcb2" + }, + "plan": { + "path": "tests/golden/WBV2-P63-000/capability-continuation-plan.json", + "sha256": "88b14eee85d797fd2d91c0f66a8487eaa756b9d516fd61c42f1a31a8e1d0ca9f" + }, + "report": { + "path": "tests/golden/WBV2-P63-000/capability-continuation-root-report.json", + "sha256": "8e1ebfe8db926508ea0c0aa014996dd2f2c492779bba73b420b635288f712f16" + }, + "status": { + "path": "docs/status/WBV2-P63-000.md", + "sha256": "6642f654ed24a31d3df5874495d73f17ab82a8404ba60525f1076bf1a961a52e" + } + }, + "assertions": { + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P63-001" +} diff --git a/tests/golden/WBV2-P63-000/task-context.json b/tests/golden/WBV2-P63-000/task-context.json index d4f20e44c..31103f00e 100644 --- a/tests/golden/WBV2-P63-000/task-context.json +++ b/tests/golden/WBV2-P63-000/task-context.json @@ -60,7 +60,7 @@ "real Blender source or WebEngine Main path is wired", "verification and completion overlay remain deferred" ], - "nextTask": null, + "nextTask": "WBV2-P63-001", "sourceDocuments": { "queue": "docs/EXECUTION_QUEUE.md", "taskCard": "docs/tasks/WBV2-P63-000.md", @@ -156,7 +156,7 @@ "totalTokens": 1552, "reservedEnvelopeTokens": 1024, "estimatedContextTokens": 2576, - "serializedContextTokens": 619, + "serializedContextTokens": 622, "withinBudget": true } } diff --git a/tests/golden/WBV2-P63-001/capability-continuation-plan.json b/tests/golden/WBV2-P63-001/capability-continuation-plan.json new file mode 100644 index 000000000..239964713 --- /dev/null +++ b/tests/golden/WBV2-P63-001/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P63", + "status": "ACTIVE_CAPABILITY_FAMILY_QUEUE", + "authority": "user_authorized_implementation_first_execution", + "sourceAuthority": { + "blenderRoot": "blender-5.2.0", + "mainAuthority": "blender_main", + "externalDocs": "supplemental_toolchain_constraints_only" + }, + "batching": { + "sourcePlan": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "batchCount": 27, + "pendingRows": 6609, + "dedupeBy": [ + "sourceHash", + "behaviorHash", + "dedupeKey" + ] + }, + "inventoryPolicy": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609, + "overlayMutation": "forbidden_during_implementation_wave" + }, + "tasks": [ + { + "id": "WBV2-P63-000", + "phase": "P63", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P62-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P63-000.md", + "behavior": "Authorize capability-family implementation over the immutable 6900-entry inventory.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": true + }, + { + "id": "WBV2-P63-001", + "phase": "P63", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P63-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P63-001.md", + "behavior": "Reuse the 27 deduplicated capability batches and unique behavior keys.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P63-002", + "phase": "P63", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P63-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P63-002.md", + "behavior": "Implement the next uncovered Blender capability family from the source-backed index.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "in_progress", + "ready": true, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P63-003", + "phase": "P63", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P63-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P63-003.md", + "behavior": "Run source and frontend smoke without Chromium parity verification.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "planned", + "ready": false, + "queueMutationAllowed": false + } + ] +} diff --git a/tests/golden/WBV2-P63-001/implementation-report.json b/tests/golden/WBV2-P63-001/implementation-report.json new file mode 100644 index 000000000..e6c14ac5f --- /dev/null +++ b/tests/golden/WBV2-P63-001/implementation-report.json @@ -0,0 +1,32 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P63-001", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "PASS", + "family": "INVENTORY.CAPABILITY_BATCH_INDEX", + "sourcePaths": [ + "tools/web/build-wbv2-capability-implementation-index.mjs", + "tests/golden/WBV2-P27-001/verification-batch-plan.json" + ], + "command": "/home/mes123456/.nvm/versions/node/v24.19.0/bin/node tools/web/build-wbv2-capability-implementation-index.mjs", + "batching": { + "sourcePlan": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "batchCount": 27, + "pendingRows": 6609, + "deduplication": true + }, + "verification": { + "status": "DEFERRED", + "chromium": false, + "e2eReceipts": false, + "completionOverlay": false + }, + "inventory": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609 + }, + "nextTask": "WBV2-P63-002" +} diff --git a/tests/golden/WBV2-P63-001/manifest.json b/tests/golden/WBV2-P63-001/manifest.json new file mode 100644 index 000000000..245d1ee71 --- /dev/null +++ b/tests/golden/WBV2-P63-001/manifest.json @@ -0,0 +1,53 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P63-001", + "parentTask": "WBV2-P63-000", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P63-000/manifest.json", + "sha256": "a8437bcddfe2145a89136dd2ec5e58d27158c06c89caa23520dadbdaf01a6356" + }, + "source1": { + "path": "tools/web/build-wbv2-capability-implementation-index.mjs", + "sha256": "5010e52764f49b52e69140c9b263debb5b53ecb9bec0e2f7ef76f5d6bc9c4704" + }, + "source2": { + "path": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "sha256": "56dddc2e4c380f364d1760dfd9bc7a6be04c1bd8979e0c2aeaa69ae80e80a14e" + }, + "report": { + "path": "tests/golden/WBV2-P63-001/implementation-report.json", + "sha256": "62c7b0e5cec0bbe1fb4479336b5f4eb116b4834264db363857583f416607fa86" + }, + "status": { + "path": "docs/status/WBV2-P63-001.md", + "sha256": "cce08f224ce25acab6302c45b1246448e06b6a23a0eb9053a073bbaf1d3aac95" + }, + "plan": { + "path": "tests/golden/WBV2-P63-001/capability-continuation-plan.json", + "sha256": "241d157616ae902a18e3423d28df96a1761bcc9dacf1f3615b82396ad405fbdc" + }, + "taskContext": { + "path": "tests/golden/WBV2-P63-001/task-context.json", + "sha256": "76a3f240d2ab098ff111e8e7ba0c50a4ee6efc755dcfc99e9609015d2545785f" + } + }, + "assertions": { + "capabilityFamily": "INVENTORY.CAPABILITY_BATCH_INDEX", + "sourceBacked": true, + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P63-002" +} diff --git a/tests/golden/WBV2-P63-001/task-context.json b/tests/golden/WBV2-P63-001/task-context.json new file mode 100644 index 000000000..6d473fd16 --- /dev/null +++ b/tests/golden/WBV2-P63-001/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P63-001", + "parentTask": "WBV2-P63-000", + "status": "in_progress", + "goal": "Reuse the 27 deduplicated capability batches and unique behavior keys.", + "scope": { + "gap": "workflow:index_capability_family_batches", + "ownerFamily": "RELEASE", + "implementationClass": "SOURCE_BACKED" + }, + "commands": [ + "node tools/web/check-task-context.mjs --task WBV2-P63-001 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 4232, + "contextRemainingTokens": 1057 + }, + "source": { + "bytes": 5672, + "tokens": 1419 + }, + "selected": [], + "excluded": [ + { + "path": "blender-5.2.0/source/blender", + "bytes": 12546, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "bytes": 21184, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P63-001/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P63-001.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P63-001/manifest.json", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + } + ], + "totals": { + "files": 0, + "bytes": 0, + "tokens": 0 + } + }, + "exitCriteria": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "nextTask": "WBV2-P63-002", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P63-001.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P63-000/manifest.json", + "parentStatus": "docs/status/WBV2-P63-000.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P63-001.md", + "tests/golden/WBV2-P63-000/manifest.json", + "docs/status/WBV2-P63-000.md" + ], + "machineOnly": [ + "tests/golden/WBV2/task-index.json", + "tests/golden/M15-03A/task-catalog.jsonl" + ], + "optionalByNeed": [ + "docs/WEB_BLENDER_MODELER_V1_SCOPE.md", + "任务卡列出的精确协议/生产路径", + "任务卡明确命名的长期计划小节" + ], + "forbiddenByDefault": [ + "完整 CURRENT_EXECUTION_PLAN.md", + "完整 PROJECT_STATUS_AND_NEXT_WORK.md", + "全部 docs/status/*.md", + "完整 parity/WBS 计划", + "README 历史和 test-results/" + ] + }, + "parent": { + "manifest": { + "schemaVersion": 1, + "task": "WBV2-P63-000", + "parentTask": "WBV2-P62-003", + "status": "done", + "nextTask": "WBV2-P63-001", + "artifactCount": 4 + }, + "statusSummary": [ + "# WBV2-P63-000 status", + "- task: `WBV2-P63-000`; parent: `WBV2-P62-003`; status: `done`", + "- capability-family continuation authorized from Blender source", + "- 6900 inventory: 27 deduplicated batches, 6609 pending rows", + "- verification and completion overlay: `DEFERRED`", + "- nextTask: `WBV2-P63-001`" + ] + }, + "budgets": { + "queueBytes": 4096, + "taskBytes": 1299, + "parentManifestBytes": 24576, + "parentStatusBytes": 6144, + "evidenceFiles": 12, + "evidenceBytes": 8192, + "contextTokens": 3500, + "contextEnvelopeTokens": 1024, + "taskLines": 39, + "taskTokens": 325 + }, + "size": { + "documents": [ + { + "path": "docs/EXECUTION_QUEUE.md", + "bytes": 2803, + "lines": 51, + "tokens": 701 + }, + { + "path": "docs/tasks/WBV2-P63-001.md", + "bytes": 1299, + "lines": 39, + "tokens": 325 + }, + { + "path": "tests/golden/WBV2-P63-000/manifest.json", + "bytes": 1282, + "lines": 40, + "tokens": 321 + }, + { + "path": "docs/status/WBV2-P63-000.md", + "bytes": 288, + "lines": 8, + "tokens": 72 + } + ], + "sourceTokens": 1419, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1419, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2443, + "serializedContextTokens": 620, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P63-002/capability-continuation-plan.json b/tests/golden/WBV2-P63-002/capability-continuation-plan.json new file mode 100644 index 000000000..f421eee01 --- /dev/null +++ b/tests/golden/WBV2-P63-002/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P63", + "status": "ACTIVE_CAPABILITY_FAMILY_QUEUE", + "authority": "user_authorized_implementation_first_execution", + "sourceAuthority": { + "blenderRoot": "blender-5.2.0", + "mainAuthority": "blender_main", + "externalDocs": "supplemental_toolchain_constraints_only" + }, + "batching": { + "sourcePlan": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "batchCount": 27, + "pendingRows": 6609, + "dedupeBy": [ + "sourceHash", + "behaviorHash", + "dedupeKey" + ] + }, + "inventoryPolicy": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609, + "overlayMutation": "forbidden_during_implementation_wave" + }, + "tasks": [ + { + "id": "WBV2-P63-000", + "phase": "P63", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P62-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P63-000.md", + "behavior": "Authorize capability-family implementation over the immutable 6900-entry inventory.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": true + }, + { + "id": "WBV2-P63-001", + "phase": "P63", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P63-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P63-001.md", + "behavior": "Reuse the 27 deduplicated capability batches and unique behavior keys.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P63-002", + "phase": "P63", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P63-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P63-002.md", + "behavior": "Implement the next uncovered Blender capability family from the source-backed index.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P63-003", + "phase": "P63", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P63-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P63-003.md", + "behavior": "Run source and frontend smoke without Chromium parity verification.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "in_progress", + "ready": true, + "queueMutationAllowed": false + } + ] +} diff --git a/tests/golden/WBV2-P63-002/implementation-report.json b/tests/golden/WBV2-P63-002/implementation-report.json new file mode 100644 index 000000000..bcb622d6b --- /dev/null +++ b/tests/golden/WBV2-P63-002/implementation-report.json @@ -0,0 +1,34 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P63-002", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "PASS", + "family": "CORE_SCENE_GRAPH.MOTION_BLUR", + "sourcePaths": [ + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", + "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", + "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp" + ], + "command": "existing source-backed workbench wiring", + "batching": { + "sourcePlan": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "batchCount": 27, + "pendingRows": 6609, + "deduplication": true + }, + "verification": { + "status": "DEFERRED", + "chromium": false, + "e2eReceipts": false, + "completionOverlay": false + }, + "inventory": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609 + }, + "nextTask": "WBV2-P63-003" +} diff --git a/tests/golden/WBV2-P63-002/manifest.json b/tests/golden/WBV2-P63-002/manifest.json new file mode 100644 index 000000000..b97b41a20 --- /dev/null +++ b/tests/golden/WBV2-P63-002/manifest.json @@ -0,0 +1,61 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P63-002", + "parentTask": "WBV2-P63-001", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P63-001/manifest.json", + "sha256": "c371cb023842a7d6162ff44687fb875d4a6eaec75c224f6b3b4d1798a2384410" + }, + "source1": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", + "sha256": "12cc41dab7637d4c8cabaaa03fa61de0ddceee5bafe56e92af65876d2b718e4e" + }, + "source2": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", + "sha256": "0d29747b79fc827575bea13cc107ac4686435f1321fcc8cb72903b01183f9987" + }, + "source3": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", + "sha256": "39e8010024352cbfdcd4920deeca945800d7c3ee59886fd2ee25569f66b0e5aa" + }, + "source4": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", + "sha256": "6e6702d3b8295b35fa4fffd24e92bd087fde311b77676e1bbf960380c9dbfb9a" + }, + "report": { + "path": "tests/golden/WBV2-P63-002/implementation-report.json", + "sha256": "a66e1f04ffb6ddba482da4f41a3feb928278b904b6e03f5d62ff2ce2dacb0e83" + }, + "status": { + "path": "docs/status/WBV2-P63-002.md", + "sha256": "56debc69eba946bf33bd325537c43c539b2f7a59a35141b9fb5d95ee50f59ce5" + }, + "plan": { + "path": "tests/golden/WBV2-P63-002/capability-continuation-plan.json", + "sha256": "60d1564ef8d4610947839d033c4ab8c40bcf297473c0fca2659e368d45b7648b" + }, + "taskContext": { + "path": "tests/golden/WBV2-P63-002/task-context.json", + "sha256": "a6759a553d62d894e4665ab37d7fe72f72c87997c3c30258420b434d5f6d1701" + } + }, + "assertions": { + "capabilityFamily": "CORE_SCENE_GRAPH.MOTION_BLUR", + "sourceBacked": true, + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P63-003" +} diff --git a/tests/golden/WBV2-P63-002/task-context.json b/tests/golden/WBV2-P63-002/task-context.json new file mode 100644 index 000000000..4a5e87f64 --- /dev/null +++ b/tests/golden/WBV2-P63-002/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P63-002", + "parentTask": "WBV2-P63-001", + "status": "planned", + "goal": "Implement the next uncovered Blender capability family from the source-backed index.", + "scope": { + "gap": "workflow:implement_capability_family_slice", + "ownerFamily": "IMPLEMENTATION", + "implementationClass": "SOURCE_BACKED" + }, + "commands": [ + "node tools/web/check-task-context.mjs --task WBV2-P63-002 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 3577, + "contextRemainingTokens": 893 + }, + "source": { + "bytes": 6327, + "tokens": 1583 + }, + "selected": [], + "excluded": [ + { + "path": "blender-5.2.0/source/blender", + "bytes": 12546, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "bytes": 21184, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P63-002/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P63-002.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P63-002/manifest.json", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + } + ], + "totals": { + "files": 0, + "bytes": 0, + "tokens": 0 + } + }, + "exitCriteria": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "nextTask": "WBV2-P63-003", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P63-002.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P63-001/manifest.json", + "parentStatus": "docs/status/WBV2-P63-001.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P63-002.md", + "tests/golden/WBV2-P63-001/manifest.json", + "docs/status/WBV2-P63-001.md" + ], + "machineOnly": [ + "tests/golden/WBV2/task-index.json", + "tests/golden/M15-03A/task-catalog.jsonl" + ], + "optionalByNeed": [ + "docs/WEB_BLENDER_MODELER_V1_SCOPE.md", + "任务卡列出的精确协议/生产路径", + "任务卡明确命名的长期计划小节" + ], + "forbiddenByDefault": [ + "完整 CURRENT_EXECUTION_PLAN.md", + "完整 PROJECT_STATUS_AND_NEXT_WORK.md", + "全部 docs/status/*.md", + "完整 parity/WBS 计划", + "README 历史和 test-results/" + ] + }, + "parent": { + "manifest": { + "schemaVersion": 1, + "task": "WBV2-P63-001", + "parentTask": "WBV2-P63-000", + "status": "done", + "nextTask": "WBV2-P63-002", + "artifactCount": 7 + }, + "statusSummary": [ + "# WBV2-P63-001 status", + "- task: `WBV2-P63-001`; parent: `WBV2-P63-000`; status: `done`", + "- capability-family implementation: `PASS`; 27 deduplicated batches; 6609 pending rows", + "- Chromium, E2E receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P63-002`" + ] + }, + "budgets": { + "queueBytes": 4096, + "taskBytes": 1320, + "parentManifestBytes": 24576, + "parentStatusBytes": 6144, + "evidenceFiles": 12, + "evidenceBytes": 8192, + "contextTokens": 3500, + "contextEnvelopeTokens": 1024, + "taskLines": 39, + "taskTokens": 330 + }, + "size": { + "documents": [ + { + "path": "docs/EXECUTION_QUEUE.md", + "bytes": 2803, + "lines": 51, + "tokens": 701 + }, + { + "path": "docs/tasks/WBV2-P63-002.md", + "bytes": 1320, + "lines": 39, + "tokens": 330 + }, + { + "path": "tests/golden/WBV2-P63-001/manifest.json", + "bytes": 1887, + "lines": 54, + "tokens": 472 + }, + { + "path": "docs/status/WBV2-P63-001.md", + "bytes": 317, + "lines": 8, + "tokens": 80 + } + ], + "sourceTokens": 1583, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1583, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2607, + "serializedContextTokens": 625, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P63-003/capability-continuation-plan.json b/tests/golden/WBV2-P63-003/capability-continuation-plan.json new file mode 100644 index 000000000..ca35c97d0 --- /dev/null +++ b/tests/golden/WBV2-P63-003/capability-continuation-plan.json @@ -0,0 +1,181 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P63", + "status": "ACTIVE_CAPABILITY_FAMILY_QUEUE", + "authority": "user_authorized_implementation_first_execution", + "sourceAuthority": { + "blenderRoot": "blender-5.2.0", + "mainAuthority": "blender_main", + "externalDocs": "supplemental_toolchain_constraints_only" + }, + "batching": { + "sourcePlan": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "batchCount": 27, + "pendingRows": 6609, + "dedupeBy": [ + "sourceHash", + "behaviorHash", + "dedupeKey" + ] + }, + "inventoryPolicy": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609, + "overlayMutation": "forbidden_during_implementation_wave" + }, + "tasks": [ + { + "id": "WBV2-P63-000", + "phase": "P63", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P62-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P63-000.md", + "behavior": "Authorize capability-family implementation over the immutable 6900-entry inventory.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": true + }, + { + "id": "WBV2-P63-001", + "phase": "P63", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P63-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P63-001.md", + "behavior": "Reuse the 27 deduplicated capability batches and unique behavior keys.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P63-002", + "phase": "P63", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P63-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P63-002.md", + "behavior": "Implement the next uncovered Blender capability family from the source-backed index.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P63-003", + "phase": "P63", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P63-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p63-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P63-003.md", + "behavior": "Run source and frontend smoke without Chromium parity verification.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "done", + "ready": false, + "queueMutationAllowed": false + }, + { + "id": "WBV2-P64-000", + "phase": "P64", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P63-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p64-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P64-000.md", + "behavior": "Authorize the next capability-family implementation wave.", + "outputs": [ + "implementation-report", + "manifest", + "status" + ], + "acceptance": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "status": "in_progress", + "ready": true, + "queueMutationAllowed": true + } + ] +} diff --git a/tests/golden/WBV2-P63-003/implementation-report.json b/tests/golden/WBV2-P63-003/implementation-report.json new file mode 100644 index 000000000..dc69b147e --- /dev/null +++ b/tests/golden/WBV2-P63-003/implementation-report.json @@ -0,0 +1,33 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P63-003", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "PASS", + "family": "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE", + "sourcePaths": [ + "web/protocol/web-engine-capabilities.ts", + "web/app/src/workers/web-engine.worker.ts", + "web/app/src/vendor/blender/web_engine.wasm" + ], + "command": "npm --prefix web run build", + "batching": { + "sourcePlan": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "batchCount": 27, + "pendingRows": 6609, + "deduplication": true + }, + "verification": { + "status": "DEFERRED", + "chromium": false, + "e2eReceipts": false, + "completionOverlay": false + }, + "inventory": { + "total": 6900, + "legacyCompleted": 281, + "legacyPending": 6618, + "effectiveCompleted": 290, + "effectivePending": 6609 + }, + "nextTask": "WBV2-P64-000" +} diff --git a/tests/golden/WBV2-P63-003/manifest.json b/tests/golden/WBV2-P63-003/manifest.json new file mode 100644 index 000000000..a0b6eb72d --- /dev/null +++ b/tests/golden/WBV2-P63-003/manifest.json @@ -0,0 +1,57 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P63-003", + "parentTask": "WBV2-P63-002", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P63-002/manifest.json", + "sha256": "bd48afbeb61b6f8db4066a1738fca85af73987af425892cb3153255fa79791f5" + }, + "source1": { + "path": "web/protocol/web-engine-capabilities.ts", + "sha256": "9bdcb211973d4154f9889aa1121e8e31f485af7a5e766cb817f4565bc46fd5ab" + }, + "source2": { + "path": "web/app/src/workers/web-engine.worker.ts", + "sha256": "14144d0976d98aff21778312bcb9f4a884756b9a63c4d7024f961e2dc3a2432c" + }, + "source3": { + "path": "web/app/src/vendor/blender/web_engine.wasm", + "sha256": "4c51c44e9ab95595307f4d4e182962ea2300e496dbb7f3c271afdcd8c3435149" + }, + "report": { + "path": "tests/golden/WBV2-P63-003/implementation-report.json", + "sha256": "93492c8923c90fc05d2b1ed01d9416fb05cf9565f6560fddf01c6c7c640c0892" + }, + "status": { + "path": "docs/status/WBV2-P63-003.md", + "sha256": "abbcb296df17d0499478fd9c035fc1a4e5292825726f4eef177b8265caff8508" + }, + "plan": { + "path": "tests/golden/WBV2-P63-003/capability-continuation-plan.json", + "sha256": "1e10c68d2510cea9fad64e5bc55332bc2b214aaaba96fc6aeba0863a18cce969" + }, + "taskContext": { + "path": "tests/golden/WBV2-P63-003/task-context.json", + "sha256": "110716497dff50e7f8ef0025cb6c6057e01ded7398f375f6bcdd4362b3868de2" + } + }, + "assertions": { + "capabilityFamily": "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE", + "sourceBacked": true, + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P64-000" +} diff --git a/tests/golden/WBV2-P63-003/task-context.json b/tests/golden/WBV2-P63-003/task-context.json new file mode 100644 index 000000000..4c6231b3b --- /dev/null +++ b/tests/golden/WBV2-P63-003/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P63-003", + "parentTask": "WBV2-P63-002", + "status": "planned", + "goal": "Run source and frontend smoke without Chromium parity verification.", + "scope": { + "gap": "workflow:run_capability_family_smoke", + "ownerFamily": "RELEASE", + "implementationClass": "SOURCE_BACKED" + }, + "commands": [ + "node tools/web/check-task-context.mjs --task WBV2-P63-003 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 3224, + "contextRemainingTokens": 805 + }, + "source": { + "bytes": 6680, + "tokens": 1671 + }, + "selected": [], + "excluded": [ + { + "path": "blender-5.2.0/source/blender", + "bytes": 12546, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "bytes": 21184, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P63-003/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P63-003.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P63-003/manifest.json", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + } + ], + "totals": { + "files": 0, + "bytes": 0, + "tokens": 0 + } + }, + "exitCriteria": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "nextTask": "WBV2-P64-000", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P63-003.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P63-002/manifest.json", + "parentStatus": "docs/status/WBV2-P63-002.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P63-003.md", + "tests/golden/WBV2-P63-002/manifest.json", + "docs/status/WBV2-P63-002.md" + ], + "machineOnly": [ + "tests/golden/WBV2/task-index.json", + "tests/golden/M15-03A/task-catalog.jsonl" + ], + "optionalByNeed": [ + "docs/WEB_BLENDER_MODELER_V1_SCOPE.md", + "任务卡列出的精确协议/生产路径", + "任务卡明确命名的长期计划小节" + ], + "forbiddenByDefault": [ + "完整 CURRENT_EXECUTION_PLAN.md", + "完整 PROJECT_STATUS_AND_NEXT_WORK.md", + "全部 docs/status/*.md", + "完整 parity/WBS 计划", + "README 历史和 test-results/" + ] + }, + "parent": { + "manifest": { + "schemaVersion": 1, + "task": "WBV2-P63-002", + "parentTask": "WBV2-P63-001", + "status": "done", + "nextTask": "WBV2-P63-003", + "artifactCount": 9 + }, + "statusSummary": [ + "# WBV2-P63-002 status", + "- task: `WBV2-P63-002`; parent: `WBV2-P63-001`; status: `done`", + "- capability-family implementation: `PASS`; 27 deduplicated batches; 6609 pending rows", + "- Chromium, E2E receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P63-003`" + ] + }, + "budgets": { + "queueBytes": 4096, + "taskBytes": 1284, + "parentManifestBytes": 24576, + "parentStatusBytes": 6144, + "evidenceFiles": 12, + "evidenceBytes": 8192, + "contextTokens": 3500, + "contextEnvelopeTokens": 1024, + "taskLines": 39, + "taskTokens": 321 + }, + "size": { + "documents": [ + { + "path": "docs/EXECUTION_QUEUE.md", + "bytes": 2803, + "lines": 51, + "tokens": 701 + }, + { + "path": "docs/tasks/WBV2-P63-003.md", + "bytes": 1284, + "lines": 39, + "tokens": 321 + }, + { + "path": "tests/golden/WBV2-P63-002/manifest.json", + "bytes": 2276, + "lines": 62, + "tokens": 569 + }, + { + "path": "docs/status/WBV2-P63-002.md", + "bytes": 317, + "lines": 8, + "tokens": 80 + } + ], + "sourceTokens": 1671, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1671, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2695, + "serializedContextTokens": 617, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P64-000/task-context.json b/tests/golden/WBV2-P64-000/task-context.json new file mode 100644 index 000000000..f4d6ff82c --- /dev/null +++ b/tests/golden/WBV2-P64-000/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P64-000", + "parentTask": "WBV2-P63-003", + "status": "in_progress", + "goal": "Authorize the next capability-family implementation wave from Blender source.", + "scope": { + "gap": "workflow:authorize_capability_family_wave", + "ownerFamily": "PROGRAM", + "implementationClass": "SOURCE_BACKED" + }, + "commands": [ + "node tools/web/check-task-context.mjs --task WBV2-P64-000 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 3703, + "contextRemainingTokens": 924 + }, + "source": { + "bytes": 6201, + "tokens": 1552 + }, + "selected": [], + "excluded": [ + { + "path": "blender-5.2.0/source/blender", + "bytes": 12546, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P64-000/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P64-000.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P64-000/manifest.json", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + } + ], + "totals": { + "files": 0, + "bytes": 0, + "tokens": 0 + } + }, + "exitCriteria": [ + "6900 inventory remains immutable", + "capability families are deduplicated before implementation", + "real Blender source or WebEngine Main path is wired", + "verification and completion overlay remain deferred" + ], + "nextTask": null, + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P64-000.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P63-003/manifest.json", + "parentStatus": "docs/status/WBV2-P63-003.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P64-000.md", + "tests/golden/WBV2-P63-003/manifest.json", + "docs/status/WBV2-P63-003.md" + ], + "machineOnly": [ + "tests/golden/WBV2/task-index.json", + "tests/golden/M15-03A/task-catalog.jsonl" + ], + "optionalByNeed": [ + "docs/WEB_BLENDER_MODELER_V1_SCOPE.md", + "任务卡列出的精确协议/生产路径", + "任务卡明确命名的长期计划小节" + ], + "forbiddenByDefault": [ + "完整 CURRENT_EXECUTION_PLAN.md", + "完整 PROJECT_STATUS_AND_NEXT_WORK.md", + "全部 docs/status/*.md", + "完整 parity/WBS 计划", + "README 历史和 test-results/" + ] + }, + "parent": { + "manifest": { + "schemaVersion": 1, + "task": "WBV2-P63-003", + "parentTask": "WBV2-P63-002", + "status": "done", + "nextTask": "WBV2-P64-000", + "artifactCount": 8 + }, + "statusSummary": [ + "# WBV2-P63-003 status", + "- task: `WBV2-P63-003`; parent: `WBV2-P63-002`; status: `done`", + "- capability-family implementation: `PASS`; 27 deduplicated batches; 6609 pending rows", + "- Chromium, E2E receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P64-000`" + ] + }, + "budgets": { + "queueBytes": 4096, + "taskBytes": 1052, + "parentManifestBytes": 24576, + "parentStatusBytes": 6144, + "evidenceFiles": 12, + "evidenceBytes": 8192, + "contextTokens": 3500, + "contextEnvelopeTokens": 1024, + "taskLines": 36, + "taskTokens": 263 + }, + "size": { + "documents": [ + { + "path": "docs/EXECUTION_QUEUE.md", + "bytes": 2803, + "lines": 51, + "tokens": 701 + }, + { + "path": "docs/tasks/WBV2-P64-000.md", + "bytes": 1052, + "lines": 36, + "tokens": 263 + }, + { + "path": "tests/golden/WBV2-P63-003/manifest.json", + "bytes": 2029, + "lines": 58, + "tokens": 508 + }, + { + "path": "docs/status/WBV2-P63-003.md", + "bytes": 317, + "lines": 8, + "tokens": 80 + } + ], + "sourceTokens": 1552, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1552, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2576, + "serializedContextTokens": 619, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2/task-catalog.jsonl b/tests/golden/WBV2/task-catalog.jsonl index e627d894e..dcc42c525 100644 --- a/tests/golden/WBV2/task-catalog.jsonl +++ b/tests/golden/WBV2/task-catalog.jsonl @@ -1,5 +1,5 @@ -{"id":"WBV2-P62-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P62","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} -{"id":"WBV2-P62-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P62","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} -{"id":"WBV2-P62-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P62","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} -{"id":"WBV2-P62-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P62","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} -{"id":"WBV2-P63-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P63","state":"active","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} +{"id":"WBV2-P63-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P63","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} +{"id":"WBV2-P63-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P63","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} +{"id":"WBV2-P63-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P63","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} +{"id":"WBV2-P63-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P63","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} +{"id":"WBV2-P64-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P64","state":"active","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]} diff --git a/tests/golden/WBV2/task-index.json b/tests/golden/WBV2/task-index.json index 446579921..bb14f03b7 100644 --- a/tests/golden/WBV2/task-index.json +++ b/tests/golden/WBV2/task-index.json @@ -1 +1 @@ -{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P62-003/capability-continuation-plan.json","sha256":"378a19f808d46defd641ad04a2fcd297c8bb85ffa49bae3d74136a03aca10d2e"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"b07c7f193c62c1e64c101881597db04f5a4eb3f4f9b74295e9354ab70d4fdcae"},"taskCount":5,"activeTask":"WBV2-P63-000","entries":{"WBV2-P62-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P61-003","next":"WBV2-P62-001"},"WBV2-P62-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P62-000","next":"WBV2-P62-002"},"WBV2-P62-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P62-001","next":"WBV2-P62-003"},"WBV2-P62-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P62-002","next":"WBV2-P63-000"},"WBV2-P63-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P62-003","next":null}}} +{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P63-003/capability-continuation-plan.json","sha256":"1e10c68d2510cea9fad64e5bc55332bc2b214aaaba96fc6aeba0863a18cce969"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"a891e7a51de9739fddcba0b15f3ccd3613d69cad1f46c7d7a1b5f38f281e4640"},"taskCount":5,"activeTask":"WBV2-P64-000","entries":{"WBV2-P63-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P62-003","next":"WBV2-P63-001"},"WBV2-P63-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P63-000","next":"WBV2-P63-002"},"WBV2-P63-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P63-001","next":"WBV2-P63-003"},"WBV2-P63-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P63-002","next":"WBV2-P64-000"},"WBV2-P64-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P63-003","next":null}}} diff --git a/tools/web/generate-wbv2-capability-continuation-slice.mjs b/tools/web/generate-wbv2-capability-continuation-slice.mjs index 51a16333e..35a0face9 100644 --- a/tools/web/generate-wbv2-capability-continuation-slice.mjs +++ b/tools/web/generate-wbv2-capability-continuation-slice.mjs @@ -26,13 +26,13 @@ assert.equal(parent.status, "done"); assert.equal(parent.nextTask, task); const commands = { 1: [process.execPath, "tools/web/build-wbv2-capability-implementation-index.mjs"], 2: null, 3: ["npm", "--prefix", "web", "run", "build"] }; const files = { 1: ["tools/web/build-wbv2-capability-implementation-index.mjs", "tests/golden/WBV2-P27-001/verification-batch-plan.json"], 2: phase >= 59 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 57 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 56 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 55 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 54 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 53 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 52 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 51 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 50 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 49 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 47 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "web/protocol/web-engine.ts"] : ["web/app/src/app/App.tsx", "web/protocol/web-engine-capabilities.ts"], 3: ["web/protocol/web-engine-capabilities.ts", "web/app/src/workers/web-engine.worker.ts", "web/app/src/vendor/blender/web_engine.wasm"] }; -const markers = { 1: "BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX", 2: phase >= 62 ? "web_engine_blend_main_set_scene_image_format" : phase >= 61 ? "web_engine_blend_main_set_scene_color_management" : phase >= 60 ? "web_engine_blend_main_set_scene_simplify_settings" : phase >= 59 ? "web_engine_blend_main_set_scene_border_settings" : phase >= 58 ? "web_engine_blend_main_set_scene_collection_settings" : phase >= 57 ? "web_engine_blend_main_set_scene_view_layer_settings" : phase >= 56 ? "web_engine_blend_main_set_scene_bindings" : phase >= 55 ? "web_engine_blend_main_set_scene_pipeline_settings" : phase >= 54 ? "web_engine_blend_main_set_scene_timeline_settings" : phase >= 53 ? "web_engine_blend_main_set_scene_unit_settings" : phase >= 52 ? "web_engine_blend_main_set_scene_audio_settings" : phase >= 51 ? "web_engine_blend_main_set_scene_render_settings" : phase >= 50 ? "web_engine_blend_main_set_scene_properties" : phase >= 49 ? "web_engine_blend_main_set_physics_simulation" : phase >= 47 ? "web_engine_blend_main_set_geometry_node_graph" : "capability-family-workbench", 3: "WEB_ENGINE_COMMAND_CAPABILITIES" }; +const markers = { 1: "BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX", 2: phase >= 63 ? "web_engine_blend_main_set_scene_motion_blur" : phase >= 62 ? "web_engine_blend_main_set_scene_image_format" : phase >= 61 ? "web_engine_blend_main_set_scene_color_management" : phase >= 60 ? "web_engine_blend_main_set_scene_simplify_settings" : phase >= 59 ? "web_engine_blend_main_set_scene_border_settings" : phase >= 58 ? "web_engine_blend_main_set_scene_collection_settings" : phase >= 57 ? "web_engine_blend_main_set_scene_view_layer_settings" : phase >= 56 ? "web_engine_blend_main_set_scene_bindings" : phase >= 55 ? "web_engine_blend_main_set_scene_pipeline_settings" : phase >= 54 ? "web_engine_blend_main_set_scene_timeline_settings" : phase >= 53 ? "web_engine_blend_main_set_scene_unit_settings" : phase >= 52 ? "web_engine_blend_main_set_scene_audio_settings" : phase >= 51 ? "web_engine_blend_main_set_scene_render_settings" : phase >= 50 ? "web_engine_blend_main_set_scene_properties" : phase >= 49 ? "web_engine_blend_main_set_physics_simulation" : phase >= 47 ? "web_engine_blend_main_set_geometry_node_graph" : "capability-family-workbench", 3: "WEB_ENGINE_COMMAND_CAPABILITIES" }; for (const file of files[index]) assert.ok(fs.existsSync(abs(file)), file); assert.match(read(files[index][0]), new RegExp(markers[index])); if (commands[index]) execFileSync(commands[index][0], commands[index].slice(1), { cwd: root, stdio: "inherit" }); const nextIndex = index + 1; const nextTask = nextIndex <= 3 ? `WBV2-P${phase}-${String(nextIndex).padStart(3, "0")}` : `WBV2-P${phase + 1}-000`; -const family = index === 1 ? "INVENTORY.CAPABILITY_BATCH_INDEX" : index === 2 && phase >= 62 ? "CORE_SCENE_GRAPH.IMAGE_FORMAT" : index === 2 && phase >= 61 ? "CORE_SCENE_GRAPH.COLOR_MANAGEMENT" : index === 2 && phase >= 60 ? "CORE_SCENE_GRAPH.SIMPLIFY_SETTINGS" : index === 2 && phase >= 59 ? "CORE_SCENE_GRAPH.BORDER_SETTINGS" : index === 2 && phase >= 58 ? "CORE_SCENE_GRAPH.COLLECTION_SETTINGS" : index === 2 && phase >= 57 ? "CORE_SCENE_GRAPH.VIEW_LAYER_SETTINGS" : index === 2 && phase >= 56 ? "CORE_SCENE_GRAPH.BINDINGS" : index === 2 && phase >= 55 ? "CORE_SCENE_GRAPH.PIPELINE_SETTINGS" : index === 2 && phase >= 54 ? "CORE_SCENE_GRAPH.TIMELINE_SETTINGS" : index === 2 && phase >= 53 ? "CORE_SCENE_GRAPH.UNIT_SETTINGS" : index === 2 && phase >= 52 ? "CORE_SCENE_GRAPH.AUDIO_SETTINGS" : index === 2 && phase >= 51 ? "CORE_SCENE_GRAPH.RENDER_SETTINGS" : index === 2 && phase >= 50 ? "CORE_SCENE_GRAPH.SCENE_PROPERTIES" : index === 2 && phase >= 49 ? "SIMULATION.NATIVE_MANIFEST_BINDING" : index === 2 && phase >= 47 ? "GEOMETRY_NODES.NATIVE_MATERIALIZATION" : index === 2 ? "WORKFLOW.CAPABILITY_FAMILY_WORKBENCH" : "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE"; +const family = index === 1 ? "INVENTORY.CAPABILITY_BATCH_INDEX" : index === 2 && phase >= 63 ? "CORE_SCENE_GRAPH.MOTION_BLUR" : index === 2 && phase >= 62 ? "CORE_SCENE_GRAPH.IMAGE_FORMAT" : index === 2 && phase >= 61 ? "CORE_SCENE_GRAPH.COLOR_MANAGEMENT" : index === 2 && phase >= 60 ? "CORE_SCENE_GRAPH.SIMPLIFY_SETTINGS" : index === 2 && phase >= 59 ? "CORE_SCENE_GRAPH.BORDER_SETTINGS" : index === 2 && phase >= 58 ? "CORE_SCENE_GRAPH.COLLECTION_SETTINGS" : index === 2 && phase >= 57 ? "CORE_SCENE_GRAPH.VIEW_LAYER_SETTINGS" : index === 2 && phase >= 56 ? "CORE_SCENE_GRAPH.BINDINGS" : index === 2 && phase >= 55 ? "CORE_SCENE_GRAPH.PIPELINE_SETTINGS" : index === 2 && phase >= 54 ? "CORE_SCENE_GRAPH.TIMELINE_SETTINGS" : index === 2 && phase >= 53 ? "CORE_SCENE_GRAPH.UNIT_SETTINGS" : index === 2 && phase >= 52 ? "CORE_SCENE_GRAPH.AUDIO_SETTINGS" : index === 2 && phase >= 51 ? "CORE_SCENE_GRAPH.RENDER_SETTINGS" : index === 2 && phase >= 50 ? "CORE_SCENE_GRAPH.SCENE_PROPERTIES" : index === 2 && phase >= 49 ? "SIMULATION.NATIVE_MANIFEST_BINDING" : index === 2 && phase >= 47 ? "GEOMETRY_NODES.NATIVE_MATERIALIZATION" : index === 2 ? "WORKFLOW.CAPABILITY_FAMILY_WORKBENCH" : "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE"; const out = `tests/golden/${task}`; const reportPath = `${out}/implementation-report.json`; const statusPath = `docs/status/${task}.md`; diff --git a/web/app/public/vendor/blender/web_engine.wasm b/web/app/public/vendor/blender/web_engine.wasm index d1169f937..c115f88e4 100644 Binary files a/web/app/public/vendor/blender/web_engine.wasm and b/web/app/public/vendor/blender/web_engine.wasm differ diff --git a/web/app/src/app/App.tsx b/web/app/src/app/App.tsx index 8e77f0f1d..4a4de39c2 100644 --- a/web/app/src/app/App.tsx +++ b/web/app/src/app/App.tsx @@ -942,6 +942,7 @@ function Properties({ snapshot, selectedFaceIndices, selectedVertexIndices, grea {activeScene ?

Scene Render

{activeScene.name} · {activeScene.renderEngine ?? "UNKNOWN"}{activeScene.colorManagement ? `${activeScene.colorManagement.viewTransform} · ${activeScene.colorManagement.look} · Exposure ${activeScene.colorManagement.exposure.toFixed(2)} · Gamma ${activeScene.colorManagement.gamma.toFixed(2)}` : "Color management unavailable"}
: null} {activeScene?.colorManagement ?

Color Management

{activeScene.colorManagement.displayDevice} · {activeScene.colorManagement.temperature?.toFixed(0) ?? "-"} K · Tint {activeScene.colorManagement.tint?.toFixed(2) ?? "-"}
: null} {activeScene?.imageFormatSettings ?

Output Format

{activeScene.imageFormatSettings.fileType} · {activeScene.imageFormatSettings.colorMode}-channel · {activeScene.imageFormatSettings.depth}-bit · Quality {activeScene.imageFormatSettings.quality}
: null} + {activeScene?.motionBlurSettings ?

Motion Blur

{activeScene.motionBlurSettings.enabled ? "Enabled" : "Disabled"} · Shutter {activeScene.motionBlurSettings.shutter.toFixed(3)} · Position {activeScene.motionBlurSettings.position}
: null} {activeScene?.renderSettings ?

Render Output

{activeScene.renderSettings.resolutionX} × {activeScene.renderSettings.resolutionY} @ {activeScene.renderSettings.resolutionPercentage}%Frames {activeScene.renderSettings.frameStart} - {activeScene.renderSettings.frameEnd} · {activeScene.renderSettings.outputPath}
: null} {activeScene?.audioSettings ?

Scene Audio

Volume {activeScene.audioSettings.volume.toFixed(2)} · Speed {activeScene.audioSettings.speedOfSound.toFixed(1)} · Doppler {activeScene.audioSettings.dopplerFactor.toFixed(2)}Distance model {activeScene.audioSettings.distanceModel} · {activeScene.audioSettings.muted ? "Muted" : "Audible"} · {activeScene.audioSettings.sync ? "Synced" : "Free"}
: null} {activeScene?.unitSettings ?

Scene Units

System {activeScene.unitSettings.system} · Scale {activeScene.unitSettings.scaleLength.toFixed(4)} · Rotation {activeScene.unitSettings.rotationSystem}Length {activeScene.unitSettings.lengthUnit} · Mass {activeScene.unitSettings.massUnit} · Time {activeScene.unitSettings.timeUnit}
: null} diff --git a/web/app/src/vendor/blender/web_engine.wasm b/web/app/src/vendor/blender/web_engine.wasm index d1169f937..c115f88e4 100644 Binary files a/web/app/src/vendor/blender/web_engine.wasm and b/web/app/src/vendor/blender/web_engine.wasm differ diff --git a/web/app/src/workers/web-engine.worker.ts b/web/app/src/workers/web-engine.worker.ts index 1c66934d8..567642149 100644 --- a/web/app/src/workers/web-engine.worker.ts +++ b/web/app/src/workers/web-engine.worker.ts @@ -734,6 +734,15 @@ function assertFutureCapability(payload: Extract 10)) throw report("RENDER_PROPERTY_INVALID", "Scene exrCodec is outside the bounded range"); return; } + case "setSceneMotionBlur": { + const scene = currentSnapshot?.scenes.find((candidate) => candidate.id === payload.dataId); + const properties = payload.properties; + if (!scene || !validPropertyKeys(properties, ["enabled", "shutter", "position"])) throw report("RENDER_PROPERTY_INVALID", "Scene motion blur target or properties are invalid"); + if (properties.enabled !== undefined && typeof properties.enabled !== "boolean") throw report("RENDER_PROPERTY_INVALID", "Scene motion blur enabled must be boolean"); + if (properties.shutter !== undefined && !boundedNumber(properties.shutter, 0, 10)) throw report("RENDER_PROPERTY_INVALID", "Scene motion blur shutter is outside the bounded range"); + if (properties.position !== undefined && ![0, 1, 2].includes(properties.position)) throw report("RENDER_PROPERTY_INVALID", "Scene motion blur position is unsupported"); + return; + } case "setGeometryNodeGraph": { const snapshot = currentSnapshot; const availableResourceIds = new Set([ diff --git a/web/protocol/animation-render-commands.ts b/web/protocol/animation-render-commands.ts index c2ac2a152..943af4f31 100644 --- a/web/protocol/animation-render-commands.ts +++ b/web/protocol/animation-render-commands.ts @@ -68,4 +68,7 @@ export const animationRenderCommands = Object.freeze({ setSceneImageFormat(dataId: string, properties: AnimationCommand<"setSceneImageFormat">["properties"]): AnimationCommand<"setSceneImageFormat"> { return { type: "setSceneImageFormat", dataId, properties: { ...properties } }; }, + setSceneMotionBlur(dataId: string, properties: AnimationCommand<"setSceneMotionBlur">["properties"]): AnimationCommand<"setSceneMotionBlur"> { + return { type: "setSceneMotionBlur", dataId, properties: { ...properties } }; + }, } satisfies Record WebEngineEditCommand>); diff --git a/web/protocol/scene-ir.ts b/web/protocol/scene-ir.ts index 6e3254742..43fd12016 100644 --- a/web/protocol/scene-ir.ts +++ b/web/protocol/scene-ir.ts @@ -575,6 +575,7 @@ export interface SceneIR { borderSettings?: { enabled: boolean; minX: number; maxX: number; minY: number; maxY: number }; simplifySettings?: { subsurfViewport: number; subsurfRender: number; particlesViewport: number; particlesRender: number; volumes: number }; imageFormatSettings?: { fileType: string; colorMode: number; depth: number; quality: number; compression: number; exrCodec: number }; + motionBlurSettings?: { enabled: boolean; shutter: number; position: number }; compositorGraph?: CompositorGraphIR; compositorStatus?: "AVAILABLE" | "BLOCKED"; sequencerTimeline?: SequencerTimelineIR; @@ -1615,6 +1616,11 @@ export function parseSceneSnapshotIR(value: unknown): SceneSnapshotIR { requireString(scene.imageFormatSettings.fileType, `scenes[${index}].imageFormatSettings.fileType`); for (const field of ["colorMode", "depth", "quality", "compression", "exrCodec"] as const) requireNumber(scene.imageFormatSettings[field], `scenes[${index}].imageFormatSettings.${field}`); } + if (scene.motionBlurSettings !== undefined) { + if (!isRecord(scene.motionBlurSettings)) throw new Error(`SceneIR.scenes[${index}].motionBlurSettings must be an object`); + requireBoolean(scene.motionBlurSettings.enabled, `scenes[${index}].motionBlurSettings.enabled`); + for (const field of ["shutter", "position"] as const) requireNumber(scene.motionBlurSettings[field], `scenes[${index}].motionBlurSettings.${field}`); + } if (scene.compositorStatus !== undefined && !["AVAILABLE", "BLOCKED"].includes(scene.compositorStatus as string)) { throw new Error(`scenes[${index}].compositorStatus is invalid`); } diff --git a/web/protocol/web-engine-capabilities.ts b/web/protocol/web-engine-capabilities.ts index 9124cebe9..580c7ec7b 100644 --- a/web/protocol/web-engine-capabilities.ts +++ b/web/protocol/web-engine-capabilities.ts @@ -92,6 +92,7 @@ export const WEB_ENGINE_COMMAND_CAPABILITIES = { setSceneSimplifySettings: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" }, setSceneColorManagement: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" }, setSceneImageFormat: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" }, + setSceneMotionBlur: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" }, setMetaballElements: { family: "GEOMETRY", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" }, sculptStroke: { family: "SCULPT", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" }, setSculptMeshAttributes: { family: "SCULPT", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" }, diff --git a/web/protocol/web-engine.ts b/web/protocol/web-engine.ts index 06946fd17..ad5d8df9a 100644 --- a/web/protocol/web-engine.ts +++ b/web/protocol/web-engine.ts @@ -156,6 +156,7 @@ export type WebEngineEditCommand = | { type: "setSceneSimplifySettings"; dataId: string; properties: { subsurfViewport?: number; subsurfRender?: number; particlesViewport?: number; particlesRender?: number; volumes?: number } } | { type: "setSceneColorManagement"; dataId: string; properties: { displayDevice?: string; temperature?: number; tint?: number } } | { type: "setSceneImageFormat"; dataId: string; properties: { fileType?: "PNG" | "JPEG" | "OPEN_EXR" | "TIFF" | "WEBP"; colorMode?: number; depth?: number; quality?: number; compression?: number; exrCodec?: number } } + | { type: "setSceneMotionBlur"; dataId: string; properties: { enabled?: boolean; shutter?: number; position?: 0 | 1 | 2 } } | { type: "setMetaballElements"; dataId: string; elements: Array<{ type: number; position: [number, number, number]; radius: number; scale: [number, number, number] }> } | { type: "sculptStroke"; stroke: SculptStrokeIR } | { type: "setSculptMeshAttributes"; attributes: SculptMeshAttributesIR } diff --git a/web/protocol/workbench-command-groups.ts b/web/protocol/workbench-command-groups.ts index 88464977b..c64d98680 100644 --- a/web/protocol/workbench-command-groups.ts +++ b/web/protocol/workbench-command-groups.ts @@ -4,7 +4,7 @@ export const WORKBENCH_COMMAND_GROUPS = Object.freeze({ OBJECT: ["createPrimitive", "duplicateObject", "deleteObject", "setObjectTransform", "setParent", "createCollection", "moveObjectToCollection", "renameId", "applyObjectTransform", "setObjectOrigin"], MESH: ["meshEdit", "translateMeshVertices", "createUVMap", "setActiveUVMap", "unwrapUV", "setVertexColors", "setVertexWeights"], ANIMATION: ["setFrame", "insertObjectKeyframe", "deleteObjectKeyframe", "setFCurveInterpolation", "setConstraint", "setNLAStack"], - RENDER: ["setCameraProperties", "setLightProperties", "setWorldProperties", "setSceneProperties", "setSceneRenderSettings", "setSceneAudioSettings", "setSceneUnitSettings", "setSceneTimelineSettings", "setScenePipelineSettings", "setSceneBindings", "setSceneViewLayerSettings", "setSceneCollectionSettings", "setSceneBorderSettings", "setSceneSimplifySettings", "setSceneColorManagement", "setSceneImageFormat"], + RENDER: ["setCameraProperties", "setLightProperties", "setWorldProperties", "setSceneProperties", "setSceneRenderSettings", "setSceneAudioSettings", "setSceneUnitSettings", "setSceneTimelineSettings", "setScenePipelineSettings", "setSceneBindings", "setSceneViewLayerSettings", "setSceneCollectionSettings", "setSceneBorderSettings", "setSceneSimplifySettings", "setSceneColorManagement", "setSceneImageFormat", "setSceneMotionBlur"], IO: ["importImage", "importVFont", "setMaterialImageNode"], } as const satisfies Record);