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 e2e259796..c604c8ec4 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 @@ -1612,7 +1612,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 == "setSceneMotionBlur" || type == "setSceneHairSettings" || type == "setSceneCompositorSettings" || type == "setScenePerformanceSettings" || type == "setSceneSamplingSettings" || type == "setSceneMultiviewSettings" || type == "setSceneStampSettings" || type == "setSceneLineSettings" || type == "setSceneViewLayerPassSettings" || type == "setSceneViewLayerAOVs" || type == "setSceneViewLayerLightgroups" || type == "setObjectLightgroup" || + 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 == "setSceneHairSettings" || type == "setSceneCompositorSettings" || type == "setScenePerformanceSettings" || type == "setSceneSamplingSettings" || type == "setSceneMultiviewSettings" || type == "setSceneStampSettings" || type == "setSceneLineSettings" || type == "setSceneViewLayerPassSettings" || type == "setSceneViewLayerAOVs" || type == "setSceneViewLayerLightgroups" || type == "setObjectLightgroup" || type == "setWorldLightgroup" || type == "setSculptMeshAttributes" || type == "sculptStroke") { if (!engine->authoritative_commands || engine->authoritative_main == nullptr) { @@ -2352,6 +2352,12 @@ EMSCRIPTEN_KEEPALIVE int web_engine_apply_command(const int handle, applied = name != "\x01" && web_engine_blend_main_set_object_lightgroup( engine->authoritative_main, command.value("objectId", "").c_str(), name.c_str(), main_error); } + else if (type == "setWorldLightgroup") { + const json lightgroup = command.value("lightgroup", json(nullptr)); + const std::string name = lightgroup.is_null() ? std::string() : lightgroup.is_string() ? lightgroup.get() : std::string("\x01"); + applied = name != "\x01" && web_engine_blend_main_set_world_lightgroup( + engine->authoritative_main, command.value("dataId", "").c_str(), name.c_str(), main_error); + } else if (type == "setSculptMeshAttributes") { const json attributes = command.value("attributes", json::object()); applied = web_engine_blend_main_set_sculpt_attributes( 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 c0ddf428b..ed30f165d 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 @@ -5178,6 +5178,12 @@ json scene_ir_from_blend(const ParsedBlend &blend, {"color", json::array({horizon_r, horizon_g, horizon_b})}, {"exposure", exposure}, {"backgroundVisible", true} }; + if (const std::optional lightgroup_pointer = read_pointer(*blend.sdna, element, "lightgroup")) { + if (const std::optional membership = element_for_pointer(blend, *lightgroup_pointer)) { + const std::string lightgroup_name = read_string(*blend.sdna, *membership, "name"); + if (!lightgroup_name.empty()) world["lightgroup"] = lightgroup_name; + } + } const int64_t world_mode = read_integer(*blend.sdna, element, "mode").value_or(0); const int64_t mist_type = read_integer(*blend.sdna, element, "mistype").value_or(0); world["mist"] = {{"enabled", (world_mode & 1) != 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 d2c90105d..b0ad79e9d 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 @@ -6805,6 +6805,20 @@ bool web_engine_blend_main_set_object_lightgroup(WebBlendMainState *state, return true; } +bool web_engine_blend_main_set_world_lightgroup(WebBlendMainState *state, + const char *world_id, + const char *lightgroup_name, + std::string &error) +{ + if (state == nullptr || state->main == nullptr || world_id == nullptr || lightgroup_name == nullptr) { error = "RENDER_PROPERTY_INVALID: world lightgroup target is missing"; return false; } + World *world = find_world(state->main, world_id); + if (world == nullptr || world->id.lib != nullptr) { error = "LINKED_DATA_MUTATION_BLOCKED: World lightgroup is not editable"; return false; } + if (strlen(lightgroup_name) >= 64) { error = "RENDER_PROPERTY_INVALID: world lightgroup name exceeds the bounded size"; return false; } + BKE_lightgroup_membership_set(&world->lightgroup, lightgroup_name); + world->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 7e17dd54e..5d3e98f42 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 @@ -622,6 +622,10 @@ bool web_engine_blend_main_set_object_lightgroup(WebBlendMainState *state, const char *object_id, const char *lightgroup_name, std::string &error); +bool web_engine_blend_main_set_world_lightgroup(WebBlendMainState *state, + const char *world_id, + const char *lightgroup_name, + 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 b12d137a9..060fc2dc4 100644 --- a/docs/EXECUTION_QUEUE.md +++ b/docs/EXECUTION_QUEUE.md @@ -13,9 +13,9 @@ | 字段 | 值 | | --- | --- | | 里程碑 | WBV2 capability workflow | -| 当前任务 | `WBV2-P77-000` | -| parent manifest | `tests/golden/WBV2-P76-003/manifest.json` | -| 任务卡 | [`tasks/WBV2-P77-000.md`](tasks/WBV2-P77-000.md) | +| 当前任务 | `WBV2-P78-000` | +| parent manifest | `tests/golden/WBV2-P77-003/manifest.json` | +| 任务卡 | [`tasks/WBV2-P78-000.md`](tasks/WBV2-P78-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-P77-000.md b/docs/status/WBV2-P77-000.md new file mode 100644 index 000000000..4507c9f78 --- /dev/null +++ b/docs/status/WBV2-P77-000.md @@ -0,0 +1,7 @@ +# WBV2-P77-000 status + +- task: `WBV2-P77-000`; parent: `WBV2-P76-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-P77-001` diff --git a/docs/status/WBV2-P77-001.md b/docs/status/WBV2-P77-001.md new file mode 100644 index 000000000..a6ff0796e --- /dev/null +++ b/docs/status/WBV2-P77-001.md @@ -0,0 +1,7 @@ +# WBV2-P77-001 status + +- task: `WBV2-P77-001`; parent: `WBV2-P77-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-P77-002` diff --git a/docs/status/WBV2-P77-002.md b/docs/status/WBV2-P77-002.md new file mode 100644 index 000000000..fe20a9eb3 --- /dev/null +++ b/docs/status/WBV2-P77-002.md @@ -0,0 +1,7 @@ +# WBV2-P77-002 status + +- task: `WBV2-P77-002`; parent: `WBV2-P77-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-P77-003` diff --git a/docs/status/WBV2-P77-003.md b/docs/status/WBV2-P77-003.md new file mode 100644 index 000000000..7bcaed4a1 --- /dev/null +++ b/docs/status/WBV2-P77-003.md @@ -0,0 +1,7 @@ +# WBV2-P77-003 status + +- task: `WBV2-P77-003`; parent: `WBV2-P77-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-P78-000` diff --git a/docs/tasks/WBV2-P77-001.md b/docs/tasks/WBV2-P77-001.md new file mode 100644 index 000000000..6ffa6efed --- /dev/null +++ b/docs/tasks/WBV2-P77-001.md @@ -0,0 +1,38 @@ +# WBV2-P77-001: index_capability_family_batches + +- task: WBV2-P77-001 +- parent: WBV2-P77-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-P77-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-P77-001 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P77-001/` +- Status: `docs/status/WBV2-P77-001.md` +- Manifest: `tests/golden/WBV2-P77-001/manifest.json` +- Rollback: restore WBV2-P77-000 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P77-002.md b/docs/tasks/WBV2-P77-002.md new file mode 100644 index 000000000..549e9b3ca --- /dev/null +++ b/docs/tasks/WBV2-P77-002.md @@ -0,0 +1,38 @@ +# WBV2-P77-002: implement_capability_family_slice + +- task: WBV2-P77-002 +- parent: WBV2-P77-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-P77-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-P77-002 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P77-002/` +- Status: `docs/status/WBV2-P77-002.md` +- Manifest: `tests/golden/WBV2-P77-002/manifest.json` +- Rollback: restore WBV2-P77-001 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P77-003.md b/docs/tasks/WBV2-P77-003.md new file mode 100644 index 000000000..aec4b23a6 --- /dev/null +++ b/docs/tasks/WBV2-P77-003.md @@ -0,0 +1,38 @@ +# WBV2-P77-003: run_capability_family_smoke + +- task: WBV2-P77-003 +- parent: WBV2-P77-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-P77-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-P77-003 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P77-003/` +- Status: `docs/status/WBV2-P77-003.md` +- Manifest: `tests/golden/WBV2-P77-003/manifest.json` +- Rollback: restore WBV2-P77-002 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P78-000.md b/docs/tasks/WBV2-P78-000.md new file mode 100644 index 000000000..8b066dae1 --- /dev/null +++ b/docs/tasks/WBV2-P78-000.md @@ -0,0 +1,35 @@ +# WBV2-P78-000: authorize_capability_family_wave + +- task: WBV2-P78-000 +- parent: WBV2-P77-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-P78-000 --write` + +## 失败边界 + +- missing source, unsupported capability or hash drift remains in_progress/blocked + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P78-000/` +- Status: `docs/status/WBV2-P78-000.md` +- Manifest: `tests/golden/WBV2-P78-000/manifest.json` +- Rollback: restore WBV2-P77-003 as queue parent and leave the wave in_progress. diff --git a/nextTask.md b/nextTask.md index ce3641f10..f543bde2e 100644 --- a/nextTask.md +++ b/nextTask.md @@ -306,10 +306,10 @@ Recorded: 2026-08-29 Asia/Shanghai | Field | Value | | --- | --- | -| Current task when this file was written | `WBV2-P77-000` | +| Current task when this file was written | `WBV2-P78-000` | | Current task state | `in_progress` | -| Parent manifest | `tests/golden/WBV2/WBV2-P76-003/manifest.json` | -| Current task card | `docs/tasks/WBV2-P77-000.md` | +| Parent manifest | `tests/golden/WBV2/WBV2-P77-003/manifest.json` | +| Current task card | `docs/tasks/WBV2-P78-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 b4fa144ea..f8c72e0dd 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": "b3316e929350a78a7465feb6ecf47edb73d4d544b0ad318ad1ffdc85e64af4cb" + "sha256": "a83340fe606a67d6ac1265928fdf4c3d32a5ef06cb43c715f0f9cc06c5e51582" }, "sourceBuildReport": { "path": "tests/golden/WBV2-P27-002/source-build-report.json", - "sha256": "3a1b98a8c1cc3d1fa4a32e72939f2344cbbb96ead8b9c094de3c68bf355600fd" + "sha256": "b9d2ef4ec4d9effbb8a7ca8c589a868887eaf29d6be6ea725f61d5786079ae55" }, "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 68c2feadf..66feb1826 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": "960d942f7655f0cbcf18565ae3e0037afa85a5a3fc8dca760bdf34e4dd4e28a3" + "sha256": "e58055f9ce5319e0e6305e3cc885e5084e2fc2b85ddd114966af7099502d34de" }, "sourceMainState": { "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", - "sha256": "76b4453ba18ce684ad5a46c73182f0ae55c4de3b3e91cbf3e308fb507d5231f3" + "sha256": "e0fc6c8a991a27739b5e85ed8c7fb7eb54ef1215c79309d06b68ff4e8e7b882e" }, "sourceMainHeader": { "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", - "sha256": "e98e55bfc305b057a261736972334833696ac2cc9168284a10eeebf80a54165b" + "sha256": "729a064ebcffc824cd29ad41b2824afb754b34fdfe1d7c313723433a153b99e3" }, "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": "701f7a62df3288e56fc22d55f6e8e521b8b1e4e7e49e3568bc3a451fea32a7bc" + "sha256": "b1ad4a14f361b5ec1e01730b0a76ae629e190406dd480ecb8f3b09398f89ec3c" }, "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": "701f7a62df3288e56fc22d55f6e8e521b8b1e4e7e49e3568bc3a451fea32a7bc" + "sha256": "b1ad4a14f361b5ec1e01730b0a76ae629e190406dd480ecb8f3b09398f89ec3c" }, "webDistIndex": { "path": "web/dist/index.html", - "sha256": "fe0bf1c92f53d5f8e324bdcf7cfd857a5a5d9cd46f76090c5c20bd3201ad3910" + "sha256": "5dd94b63e417d263567e9c6d7bbbc2a9ace256dd29522e826c558b990da494b5" }, "webDistWorker": { - "path": "web/dist/assets/web-engine.worker-Bo74gGvg.js", - "sha256": "5cfd8fc2eb0aaf29e433c8cf95e31d56bfcc56508e2a29a35fb4e853ad149ab0" + "path": "web/dist/assets/web-engine.worker-B3Gxq1w7.js", + "sha256": "9ac927a79bb4199e8fbfdb616ae49fdf5d1bba636c12b601716826d67794de6d" }, "webDistWasm": { - "path": "web/dist/assets/web_engine-nCtQIpPB.wasm", - "sha256": "701f7a62df3288e56fc22d55f6e8e521b8b1e4e7e49e3568bc3a451fea32a7bc" + "path": "web/dist/assets/web_engine-DXLc2oSi.wasm", + "sha256": "b1ad4a14f361b5ec1e01730b0a76ae629e190406dd480ecb8f3b09398f89ec3c" } }, "verification": { diff --git a/tests/golden/WBV2-P43-001/capability-implementation-index.json b/tests/golden/WBV2-P43-001/capability-implementation-index.json index 3a30cbe61..49262cd25 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": "020f88179fd842c661c6f305b00972d53394a1431fc81e35ea59bfac1d725868", - "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp": "6eb5f7896c118cbb096d287f1e3efa6e0a745177cbc40ccd605c93aa4b68e3eb", - "web/protocol/web-engine.ts": "1d10ed6a94df27608bfb576d14458adce4e0eb0544ee30441fa8ebeaab77b66f", - "web/protocol/web-engine-capabilities.ts": "404b52478695647e35a65e63d05a9c5d52ea197543bbf7cc929085a166803993", - "web/app/src/workers/web-engine.worker.ts": "803ef1ed124c70dfb46c7e879b2ac6e01f36f1da2072493dafaacfda2932ff31" + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp": "76b4453ba18ce684ad5a46c73182f0ae55c4de3b3e91cbf3e308fb507d5231f3", + "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp": "960d942f7655f0cbcf18565ae3e0037afa85a5a3fc8dca760bdf34e4dd4e28a3", + "web/protocol/web-engine.ts": "a57a3c5001ae718b89f4413d3c3d154852bf9831a8a348c9ba0d6210585b4340", + "web/protocol/web-engine-capabilities.ts": "7bf072a5da1984345452bf447015cc1d79a4f34b0fd8b7b87f4194249acefc98", + "web/app/src/workers/web-engine.worker.ts": "9eca3f85958f8694dcc0ddf6df1acb59c8d62800b1a878575fa1b1dc5614befb" } }, "inventory": { diff --git a/tests/golden/WBV2-P77-000/capability-continuation-plan.json b/tests/golden/WBV2-P77-000/capability-continuation-plan.json new file mode 100644 index 000000000..0a316b747 --- /dev/null +++ b/tests/golden/WBV2-P77-000/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P77", + "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-P77-000", + "phase": "P77", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P76-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P77-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-P77-001", + "phase": "P77", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P77-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P77-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-P77-002", + "phase": "P77", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P77-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P77-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-P77-003", + "phase": "P77", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P77-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P77-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-P77-000/capability-continuation-root-report.json b/tests/golden/WBV2-P77-000/capability-continuation-root-report.json new file mode 100644 index 000000000..19f3ea5df --- /dev/null +++ b/tests/golden/WBV2-P77-000/capability-continuation-root-report.json @@ -0,0 +1,30 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P77-000", + "operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION", + "status": "PASS", + "parent": { + "task": "WBV2-P76-003", + "manifest": "tests/golden/WBV2-P76-003/manifest.json", + "manifestSha256": "5bff37af6073562365d488c16893800e37a11204186b84688d140635921c1af8" + }, + "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-P77-001" +} diff --git a/tests/golden/WBV2-P77-000/manifest.json b/tests/golden/WBV2-P77-000/manifest.json new file mode 100644 index 000000000..d392c2a53 --- /dev/null +++ b/tests/golden/WBV2-P77-000/manifest.json @@ -0,0 +1,39 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P77-000", + "parentTask": "WBV2-P76-003", + "operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": true, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P76-003/manifest.json", + "sha256": "5bff37af6073562365d488c16893800e37a11204186b84688d140635921c1af8" + }, + "plan": { + "path": "tests/golden/WBV2-P77-000/capability-continuation-plan.json", + "sha256": "85d0f2496c7688127756cbeb09fef3903dc370374350e7f70e290676466dd63e" + }, + "report": { + "path": "tests/golden/WBV2-P77-000/capability-continuation-root-report.json", + "sha256": "41d99c62b723c03ae4dfbcc11908b1bd60fca15cdaa088ddb06db4f808ca1bc9" + }, + "status": { + "path": "docs/status/WBV2-P77-000.md", + "sha256": "887245cff3b048b78d81b28bdf928412db5a64b69df5fb536a2032246bf5ae28" + } + }, + "assertions": { + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P77-001" +} diff --git a/tests/golden/WBV2-P77-000/task-context.json b/tests/golden/WBV2-P77-000/task-context.json index 7bc147bd6..7d92bbaac 100644 --- a/tests/golden/WBV2-P77-000/task-context.json +++ b/tests/golden/WBV2-P77-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-P77-001", "sourceDocuments": { "queue": "docs/EXECUTION_QUEUE.md", "taskCard": "docs/tasks/WBV2-P77-000.md", @@ -156,7 +156,7 @@ "totalTokens": 1552, "reservedEnvelopeTokens": 1024, "estimatedContextTokens": 2576, - "serializedContextTokens": 619, + "serializedContextTokens": 622, "withinBudget": true } } diff --git a/tests/golden/WBV2-P77-001/capability-continuation-plan.json b/tests/golden/WBV2-P77-001/capability-continuation-plan.json new file mode 100644 index 000000000..a00f1094d --- /dev/null +++ b/tests/golden/WBV2-P77-001/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P77", + "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-P77-000", + "phase": "P77", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P76-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P77-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-P77-001", + "phase": "P77", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P77-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P77-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-P77-002", + "phase": "P77", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P77-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P77-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-P77-003", + "phase": "P77", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P77-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P77-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-P77-001/implementation-report.json b/tests/golden/WBV2-P77-001/implementation-report.json new file mode 100644 index 000000000..e23e250cb --- /dev/null +++ b/tests/golden/WBV2-P77-001/implementation-report.json @@ -0,0 +1,32 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P77-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-P77-002" +} diff --git a/tests/golden/WBV2-P77-001/manifest.json b/tests/golden/WBV2-P77-001/manifest.json new file mode 100644 index 000000000..ddbcadeb6 --- /dev/null +++ b/tests/golden/WBV2-P77-001/manifest.json @@ -0,0 +1,53 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P77-001", + "parentTask": "WBV2-P77-000", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P77-000/manifest.json", + "sha256": "f585221c024ee64fd138a1dab38d452619e08ee65e6c7a93552a1f47bfa4a40b" + }, + "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-P77-001/implementation-report.json", + "sha256": "edf40a8435a207a94929f39abf4f8ddf1b3667c3648539af575203d5940c08ec" + }, + "status": { + "path": "docs/status/WBV2-P77-001.md", + "sha256": "682238de18635985e40d6a5b7121e7a4dec73c4beca7af5b9cef96d9190524d1" + }, + "plan": { + "path": "tests/golden/WBV2-P77-001/capability-continuation-plan.json", + "sha256": "85b898f9e7951f4cd245bee96d9288a07441aef7f30d62f04bb8210857c6f397" + }, + "taskContext": { + "path": "tests/golden/WBV2-P77-001/task-context.json", + "sha256": "96f97df9b185b428a8124c6122c42edb3744c281c1693b655444c6a7b71bfb64" + } + }, + "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-P77-002" +} diff --git a/tests/golden/WBV2-P77-001/task-context.json b/tests/golden/WBV2-P77-001/task-context.json new file mode 100644 index 000000000..0a500f829 --- /dev/null +++ b/tests/golden/WBV2-P77-001/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P77-001", + "parentTask": "WBV2-P77-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-P77-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-P77-001/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P77-001.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P77-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-P77-002", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P77-001.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P77-000/manifest.json", + "parentStatus": "docs/status/WBV2-P77-000.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P77-001.md", + "tests/golden/WBV2-P77-000/manifest.json", + "docs/status/WBV2-P77-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-P77-000", + "parentTask": "WBV2-P76-003", + "status": "done", + "nextTask": "WBV2-P77-001", + "artifactCount": 4 + }, + "statusSummary": [ + "# WBV2-P77-000 status", + "- task: `WBV2-P77-000`; parent: `WBV2-P76-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-P77-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-P77-001.md", + "bytes": 1299, + "lines": 39, + "tokens": 325 + }, + { + "path": "tests/golden/WBV2-P77-000/manifest.json", + "bytes": 1282, + "lines": 40, + "tokens": 321 + }, + { + "path": "docs/status/WBV2-P77-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-P77-002/capability-continuation-plan.json b/tests/golden/WBV2-P77-002/capability-continuation-plan.json new file mode 100644 index 000000000..ccd2e28a2 --- /dev/null +++ b/tests/golden/WBV2-P77-002/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P77", + "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-P77-000", + "phase": "P77", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P76-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P77-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-P77-001", + "phase": "P77", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P77-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P77-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-P77-002", + "phase": "P77", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P77-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P77-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-P77-003", + "phase": "P77", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P77-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P77-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-P77-002/implementation-report.json b/tests/golden/WBV2-P77-002/implementation-report.json new file mode 100644 index 000000000..920228650 --- /dev/null +++ b/tests/golden/WBV2-P77-002/implementation-report.json @@ -0,0 +1,35 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P77-002", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "PASS", + "family": "RENDER.WORLD_LIGHTGROUP_MEMBERSHIP", + "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", + "web/protocol/web-engine.ts" + ], + "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-P77-003" +} diff --git a/tests/golden/WBV2-P77-002/manifest.json b/tests/golden/WBV2-P77-002/manifest.json new file mode 100644 index 000000000..fbe181475 --- /dev/null +++ b/tests/golden/WBV2-P77-002/manifest.json @@ -0,0 +1,65 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P77-002", + "parentTask": "WBV2-P77-001", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P77-001/manifest.json", + "sha256": "1830e6382d5c8bc6ec38b41caa2aaf52e47c02a241e94ad183b26bbf8c9c1c12" + }, + "source1": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", + "sha256": "e0fc6c8a991a27739b5e85ed8c7fb7eb54ef1215c79309d06b68ff4e8e7b882e" + }, + "source2": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", + "sha256": "729a064ebcffc824cd29ad41b2824afb754b34fdfe1d7c313723433a153b99e3" + }, + "source3": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", + "sha256": "e58055f9ce5319e0e6305e3cc885e5084e2fc2b85ddd114966af7099502d34de" + }, + "source4": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", + "sha256": "5721c66f8a9f0a5707eaf9f19ffd7cec22dce85ccdff287bd11b8023132fec03" + }, + "source5": { + "path": "web/protocol/web-engine.ts", + "sha256": "9a520f3702bf95782e5ab3792ced646c7945c3cda7fce351265f6af12a3ffd28" + }, + "report": { + "path": "tests/golden/WBV2-P77-002/implementation-report.json", + "sha256": "232397c115e0e8e17017dfefd39bd3a50e68d789612b32bd49bc781ec00c9bd6" + }, + "status": { + "path": "docs/status/WBV2-P77-002.md", + "sha256": "711e095eab3203588534cc9bfedad66b85f8f92bcb94cece287010581acb4d62" + }, + "plan": { + "path": "tests/golden/WBV2-P77-002/capability-continuation-plan.json", + "sha256": "211c2952038281a9ff73c81fbd40078c8de48a2836c6d7633740533e63198f55" + }, + "taskContext": { + "path": "tests/golden/WBV2-P77-002/task-context.json", + "sha256": "e565a747a0372c7116dc1a32654d4f5a6bf5275b144c5302d6b06c3476fb34ca" + } + }, + "assertions": { + "capabilityFamily": "RENDER.WORLD_LIGHTGROUP_MEMBERSHIP", + "sourceBacked": true, + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P77-003" +} diff --git a/tests/golden/WBV2-P77-002/task-context.json b/tests/golden/WBV2-P77-002/task-context.json new file mode 100644 index 000000000..5c44c2a56 --- /dev/null +++ b/tests/golden/WBV2-P77-002/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P77-002", + "parentTask": "WBV2-P77-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-P77-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-P77-002/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P77-002.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P77-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-P77-003", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P77-002.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P77-001/manifest.json", + "parentStatus": "docs/status/WBV2-P77-001.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P77-002.md", + "tests/golden/WBV2-P77-001/manifest.json", + "docs/status/WBV2-P77-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-P77-001", + "parentTask": "WBV2-P77-000", + "status": "done", + "nextTask": "WBV2-P77-002", + "artifactCount": 7 + }, + "statusSummary": [ + "# WBV2-P77-001 status", + "- task: `WBV2-P77-001`; parent: `WBV2-P77-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-P77-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-P77-002.md", + "bytes": 1320, + "lines": 39, + "tokens": 330 + }, + { + "path": "tests/golden/WBV2-P77-001/manifest.json", + "bytes": 1887, + "lines": 54, + "tokens": 472 + }, + { + "path": "docs/status/WBV2-P77-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-P77-003/capability-continuation-plan.json b/tests/golden/WBV2-P77-003/capability-continuation-plan.json new file mode 100644 index 000000000..97fa7a922 --- /dev/null +++ b/tests/golden/WBV2-P77-003/capability-continuation-plan.json @@ -0,0 +1,181 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P77", + "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-P77-000", + "phase": "P77", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P76-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P77-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-P77-001", + "phase": "P77", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P77-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P77-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-P77-002", + "phase": "P77", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P77-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P77-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-P77-003", + "phase": "P77", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P77-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p77-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P77-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-P78-000", + "phase": "P78", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P77-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p78-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P78-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-P77-003/implementation-report.json b/tests/golden/WBV2-P77-003/implementation-report.json new file mode 100644 index 000000000..874bd886a --- /dev/null +++ b/tests/golden/WBV2-P77-003/implementation-report.json @@ -0,0 +1,33 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P77-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-P78-000" +} diff --git a/tests/golden/WBV2-P77-003/manifest.json b/tests/golden/WBV2-P77-003/manifest.json new file mode 100644 index 000000000..2579522cc --- /dev/null +++ b/tests/golden/WBV2-P77-003/manifest.json @@ -0,0 +1,57 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P77-003", + "parentTask": "WBV2-P77-002", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P77-002/manifest.json", + "sha256": "6ab5e71a96be6668b75d709bac8ad3e408b75f0bcd70336a6fb5230ab953f06d" + }, + "source1": { + "path": "web/protocol/web-engine-capabilities.ts", + "sha256": "d6739e27f9617c641bbbe29d49f520e342441d8708f0fa8087b8eae80ea6ffcb" + }, + "source2": { + "path": "web/app/src/workers/web-engine.worker.ts", + "sha256": "c16ef2bbe311a4134d9236cbf7b4f587abeb26676032b3a17f4529247f591ff9" + }, + "source3": { + "path": "web/app/src/vendor/blender/web_engine.wasm", + "sha256": "b1ad4a14f361b5ec1e01730b0a76ae629e190406dd480ecb8f3b09398f89ec3c" + }, + "report": { + "path": "tests/golden/WBV2-P77-003/implementation-report.json", + "sha256": "01b5492f28ebd00d56647e8a9c7ee63709a794ff2817a850bd03d2d414a5081b" + }, + "status": { + "path": "docs/status/WBV2-P77-003.md", + "sha256": "34ac2e697e1f97b60bd27d852515f2d7924161de11a64ca18eafae30ab59cea4" + }, + "plan": { + "path": "tests/golden/WBV2-P77-003/capability-continuation-plan.json", + "sha256": "9660d421d2dbf13033619f165892ec0fdea336c4db40b3652101e1cf85df8d07" + }, + "taskContext": { + "path": "tests/golden/WBV2-P77-003/task-context.json", + "sha256": "63e0f6c0e01875faa5f5a3eb0425e940818b7b55187aa396e270cc70e06cb4a9" + } + }, + "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-P78-000" +} diff --git a/tests/golden/WBV2-P77-003/task-context.json b/tests/golden/WBV2-P77-003/task-context.json new file mode 100644 index 000000000..d98ebdabf --- /dev/null +++ b/tests/golden/WBV2-P77-003/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P77-003", + "parentTask": "WBV2-P77-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-P77-003 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 3067, + "contextRemainingTokens": 765 + }, + "source": { + "bytes": 6837, + "tokens": 1711 + }, + "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-P77-003/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P77-003.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P77-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-P78-000", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P77-003.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P77-002/manifest.json", + "parentStatus": "docs/status/WBV2-P77-002.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P77-003.md", + "tests/golden/WBV2-P77-002/manifest.json", + "docs/status/WBV2-P77-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-P77-002", + "parentTask": "WBV2-P77-001", + "status": "done", + "nextTask": "WBV2-P77-003", + "artifactCount": 10 + }, + "statusSummary": [ + "# WBV2-P77-002 status", + "- task: `WBV2-P77-002`; parent: `WBV2-P77-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-P77-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-P77-003.md", + "bytes": 1284, + "lines": 39, + "tokens": 321 + }, + { + "path": "tests/golden/WBV2-P77-002/manifest.json", + "bytes": 2433, + "lines": 66, + "tokens": 609 + }, + { + "path": "docs/status/WBV2-P77-002.md", + "bytes": 317, + "lines": 8, + "tokens": 80 + } + ], + "sourceTokens": 1711, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1711, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2735, + "serializedContextTokens": 617, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P78-000/task-context.json b/tests/golden/WBV2-P78-000/task-context.json new file mode 100644 index 000000000..7c95cd243 --- /dev/null +++ b/tests/golden/WBV2-P78-000/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P78-000", + "parentTask": "WBV2-P77-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-P78-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-P78-000/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P78-000.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P78-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-P78-000.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P77-003/manifest.json", + "parentStatus": "docs/status/WBV2-P77-003.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P78-000.md", + "tests/golden/WBV2-P77-003/manifest.json", + "docs/status/WBV2-P77-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-P77-003", + "parentTask": "WBV2-P77-002", + "status": "done", + "nextTask": "WBV2-P78-000", + "artifactCount": 8 + }, + "statusSummary": [ + "# WBV2-P77-003 status", + "- task: `WBV2-P77-003`; parent: `WBV2-P77-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-P78-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-P78-000.md", + "bytes": 1052, + "lines": 36, + "tokens": 263 + }, + { + "path": "tests/golden/WBV2-P77-003/manifest.json", + "bytes": 2029, + "lines": 58, + "tokens": 508 + }, + { + "path": "docs/status/WBV2-P77-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 3df350408..a1e42502a 100644 --- a/tests/golden/WBV2/task-catalog.jsonl +++ b/tests/golden/WBV2/task-catalog.jsonl @@ -1,5 +1,5 @@ -{"id":"WBV2-P76-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P76","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-P76-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P76","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-P76-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P76","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-P76-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P76","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-P77-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P77","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-P77-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P77","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-P77-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P77","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-P77-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P77","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-P77-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P77","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-P78-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P78","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 4be550aeb..1fea5a144 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-P76-003/capability-continuation-plan.json","sha256":"4bdd6f872ebdf2d81b80f11e11485fc8ce75793b6f7f977b1cd55643984dec8f"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"d60c867b3dfca6f8f8e237ff44f3b233b2c43fd10e12eece02d07d7c496aa7fa"},"taskCount":5,"activeTask":"WBV2-P77-000","entries":{"WBV2-P76-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P75-003","next":"WBV2-P76-001"},"WBV2-P76-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P76-000","next":"WBV2-P76-002"},"WBV2-P76-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P76-001","next":"WBV2-P76-003"},"WBV2-P76-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P76-002","next":"WBV2-P77-000"},"WBV2-P77-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P76-003","next":null}}} +{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P77-003/capability-continuation-plan.json","sha256":"9660d421d2dbf13033619f165892ec0fdea336c4db40b3652101e1cf85df8d07"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"ab81246d41a53cecaf0fde9f1f38f0d85b62d53b3ffecea76c3f07c4c146eaed"},"taskCount":5,"activeTask":"WBV2-P78-000","entries":{"WBV2-P77-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P76-003","next":"WBV2-P77-001"},"WBV2-P77-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P77-000","next":"WBV2-P77-002"},"WBV2-P77-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P77-001","next":"WBV2-P77-003"},"WBV2-P77-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P77-002","next":"WBV2-P78-000"},"WBV2-P78-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P77-003","next":null}}} diff --git a/tools/web/generate-wbv2-capability-continuation-slice.mjs b/tools/web/generate-wbv2-capability-continuation-slice.mjs index 2fb2f1eb6..2d21c1c6d 100644 --- a/tools/web/generate-wbv2-capability-continuation-slice.mjs +++ b/tools/web/generate-wbv2-capability-continuation-slice.mjs @@ -27,7 +27,11 @@ 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 >= 71 ? "web_engine_blend_main_set_scene_view_layer_pass_settings" : phase >= 70 ? "web_engine_blend_main_set_scene_line_settings" : phase >= 69 ? "web_engine_blend_main_set_scene_stamp_settings" : phase >= 68 ? "web_engine_blend_main_set_scene_multiview_settings" : phase >= 67 ? "web_engine_blend_main_set_scene_sampling_settings" : phase >= 66 ? "web_engine_blend_main_set_scene_performance_settings" : phase >= 65 ? "web_engine_blend_main_set_scene_compositor_settings" : phase >= 64 ? "web_engine_blend_main_set_scene_hair_settings" : 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" }; -if (phase >= 76) { +if (phase >= 77) { + files[2] = ["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", "web/protocol/web-engine.ts"]; + markers[2] = "web_engine_blend_main_set_world_lightgroup"; +} +else if (phase >= 76) { files[2] = ["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", "web/protocol/web-engine.ts"]; markers[2] = "web_engine_blend_main_set_object_lightgroup"; } @@ -49,7 +53,7 @@ if (commands[index]) execFileSync(commands[index][0], commands[index].slice(1), 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 >= 71 ? "RENDER.VIEW_LAYER_PASSES" : index === 2 && phase >= 70 ? "RENDER.LINE_SETTINGS" : index === 2 && phase >= 69 ? "RENDER.STAMP_SETTINGS" : index === 2 && phase >= 68 ? "RENDER.MULTIVIEW_SETTINGS" : index === 2 && phase >= 67 ? "RENDER.SAMPLING_SETTINGS" : index === 2 && phase >= 66 ? "PERFORMANCE.RENDER_SETTINGS" : index === 2 && phase >= 65 ? "COMPOSITOR.EXECUTION_SETTINGS" : index === 2 && phase >= 64 ? "CORE_SCENE_GRAPH.HAIR_SETTINGS" : 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 reportedFamily = phase === 76 && index === 2 ? "RENDER.OBJECT_LIGHTGROUP_MEMBERSHIP" : phase === 75 && index === 2 ? "RENDER.VIEW_LAYER_LIGHTGROUPS" : phase === 74 && index === 2 ? "RENDER.VIEW_LAYER_AOV" : phase === 73 && index === 2 ? "ARCHITECTURE.UNIFIED_WASM_JSON_ABI" : family; +const reportedFamily = phase === 77 && index === 2 ? "RENDER.WORLD_LIGHTGROUP_MEMBERSHIP" : phase === 76 && index === 2 ? "RENDER.OBJECT_LIGHTGROUP_MEMBERSHIP" : phase === 75 && index === 2 ? "RENDER.VIEW_LAYER_LIGHTGROUPS" : phase === 74 && index === 2 ? "RENDER.VIEW_LAYER_AOV" : phase === 73 && index === 2 ? "ARCHITECTURE.UNIFIED_WASM_JSON_ABI" : family; 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 befe0b704..b79923bf5 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 c64081df3..c7fd96353 100644 --- a/web/app/src/app/App.tsx +++ b/web/app/src/app/App.tsx @@ -938,7 +938,7 @@ function Properties({ snapshot, selectedFaceIndices, selectedVertexIndices, grea {(snapshot?.libraries?.length ?? 0) > 0 ?

Library Append

{snapshot?.libraries?.slice(0, 16).map((library) => {library.name} · {library.status} · {library.sourcePath})}{libraryAppendError ? {libraryAppendError} : null}
: null} {activeCamera ?

Camera

{activeCamera.projection} · {activeCamera.lensMm.toFixed(1)}mm
: null} {activeLight ?

Light

{activeLight.energy.toFixed(1)} energy
: null} - {activeWorld ?

World

Exposure {activeWorld.exposure.toFixed(2)}
: null} + {activeWorld ?

World

Exposure {activeWorld.exposure.toFixed(2)} · Lightgroup {activeWorld.lightgroup ?? "None"}
: null} {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} diff --git a/web/app/src/vendor/blender/web_engine.wasm b/web/app/src/vendor/blender/web_engine.wasm index befe0b704..b79923bf5 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 69e6ae650..4cabe25bf 100644 --- a/web/app/src/workers/web-engine.worker.ts +++ b/web/app/src/workers/web-engine.worker.ts @@ -834,6 +834,12 @@ function assertFutureCapability(payload: Extract 63)) throw report("RENDER_PROPERTY_INVALID", "Object lightgroup name is not bounded"); return; } + case "setWorldLightgroup": { + const world = currentSnapshot?.worlds.find((candidate) => candidate.id === payload.dataId); + if (!world || typeof payload.lightgroup !== "string" && payload.lightgroup !== null) throw report("RENDER_PROPERTY_INVALID", "World lightgroup target is invalid"); + if (payload.lightgroup !== null && (payload.lightgroup.length === 0 || new TextEncoder().encode(payload.lightgroup).byteLength > 63)) throw report("RENDER_PROPERTY_INVALID", "World lightgroup name is not bounded"); + 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 fe626f889..891e3e93d 100644 --- a/web/protocol/animation-render-commands.ts +++ b/web/protocol/animation-render-commands.ts @@ -104,4 +104,7 @@ export const animationRenderCommands = Object.freeze({ setObjectLightgroup(objectId: string, lightgroup: string | null): AnimationCommand<"setObjectLightgroup"> { return { type: "setObjectLightgroup", objectId, lightgroup }; }, + setWorldLightgroup(dataId: string, lightgroup: string | null): AnimationCommand<"setWorldLightgroup"> { + return { type: "setWorldLightgroup", dataId, lightgroup }; + }, } satisfies Record WebEngineEditCommand>); diff --git a/web/protocol/scene-ir.ts b/web/protocol/scene-ir.ts index 094c7fbd2..beadd3404 100644 --- a/web/protocol/scene-ir.ts +++ b/web/protocol/scene-ir.ts @@ -268,6 +268,7 @@ export interface WorldIR { environmentStrength?: number; environmentRotation?: number; backgroundVisible?: boolean; + lightgroup?: string | null; mist?: { enabled: boolean; type: "QUADRATIC" | "LINEAR" | "INVERSE_QUADRATIC"; @@ -1552,6 +1553,7 @@ export function parseSceneSnapshotIR(value: unknown): SceneSnapshotIR { requireString(world.name, `worlds[${index}].name`); requireTuple(world.color, 3, `worlds[${index}].color`); requireNumber(world.exposure, `worlds[${index}].exposure`); + if (world.lightgroup !== undefined && world.lightgroup !== null) requireString(world.lightgroup, `worlds[${index}].lightgroup`); if (world.environmentImageId !== undefined && world.environmentImageId !== null) requireString(world.environmentImageId, `worlds[${index}].environmentImageId`); if (world.environmentStrength !== undefined) requireNumber(world.environmentStrength, `worlds[${index}].environmentStrength`); if (world.environmentRotation !== undefined) requireNumber(world.environmentRotation, `worlds[${index}].environmentRotation`); diff --git a/web/protocol/web-engine-capabilities.ts b/web/protocol/web-engine-capabilities.ts index d8b84933f..6efe08abf 100644 --- a/web/protocol/web-engine-capabilities.ts +++ b/web/protocol/web-engine-capabilities.ts @@ -104,6 +104,7 @@ export const WEB_ENGINE_COMMAND_CAPABILITIES = { setSceneViewLayerAOVs: { family: "RENDER", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" }, setSceneViewLayerLightgroups: { family: "RENDER", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" }, setObjectLightgroup: { family: "RENDER", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" }, + setWorldLightgroup: { family: "RENDER", 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 87e624af3..16a584a74 100644 --- a/web/protocol/web-engine.ts +++ b/web/protocol/web-engine.ts @@ -168,6 +168,7 @@ export type WebEngineEditCommand = | { type: "setSceneViewLayerAOVs"; dataId: string; layerName: string; aovs: Array<{ name: string; type: 0 | 1 }> } | { type: "setSceneViewLayerLightgroups"; dataId: string; layerName: string; lightgroups: string[] } | { type: "setObjectLightgroup"; objectId: string; lightgroup: string | null } + | { type: "setWorldLightgroup"; dataId: string; lightgroup: string | null } | { 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 bacf86f26..442f73ef1 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", "setSceneMotionBlur", "setSceneHairSettings", "setSceneCompositorSettings", "setScenePerformanceSettings", "setSceneSamplingSettings", "setSceneMultiviewSettings", "setSceneStampSettings", "setSceneLineSettings", "setSceneViewLayerPassSettings", "setSceneViewLayerAOVs", "setSceneViewLayerLightgroups", "setObjectLightgroup"], + RENDER: ["setCameraProperties", "setLightProperties", "setWorldProperties", "setSceneProperties", "setSceneRenderSettings", "setSceneAudioSettings", "setSceneUnitSettings", "setSceneTimelineSettings", "setScenePipelineSettings", "setSceneBindings", "setSceneViewLayerSettings", "setSceneCollectionSettings", "setSceneBorderSettings", "setSceneSimplifySettings", "setSceneColorManagement", "setSceneImageFormat", "setSceneMotionBlur", "setSceneHairSettings", "setSceneCompositorSettings", "setScenePerformanceSettings", "setSceneSamplingSettings", "setSceneMultiviewSettings", "setSceneStampSettings", "setSceneLineSettings", "setSceneViewLayerPassSettings", "setSceneViewLayerAOVs", "setSceneViewLayerLightgroups", "setObjectLightgroup", "setWorldLightgroup"], IO: ["importImage", "importVFont", "setMaterialImageNode"], } as const satisfies Record);