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 d1b7ca959..4659d4a44 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 @@ -4637,9 +4637,9 @@ bool web_engine_blend_main_set_geometry_node_graph(WebBlendMainState *state, error = "GN_INVALID_GRAPH: Geometry Node graph could not be persisted in Main"; return false; } - /* Materialize a native GeometryNodeTree datablock as the durable owner of - * this graph. The bounded JSON remains the transport representation, while - * future node-family slices can populate the tree incrementally. */ + /* Materialize the bounded graph into a native GeometryNodeTree. The JSON + * remains the lossless transport record, while Blender owns the editable + * node instances and links used by the modifier. */ bNodeTree *native_tree = nullptr; for (bNodeTree &candidate : state->main->nodetrees) { if (id_name(candidate.id) == graph_id) { @@ -4656,6 +4656,60 @@ bool web_engine_blend_main_set_geometry_node_graph(WebBlendMainState *state, error = "GN_INVALID_GRAPH: Blender could not create a GeometryNodeTree datablock"; return false; } + while (native_tree->nodes.first != nullptr) { + bke::node_remove_node(state->main, + *native_tree, + *static_cast(native_tree->nodes.first), + true); + } + std::unordered_map native_nodes; + for (const json &node : graph["nodes"]) { + const std::string node_id = node.value("id", ""); + const std::string node_type = node.value("type", ""); + const std::string node_name = node.value("name", node_id); + if (node_id.empty() || node_type.empty() || node_name.empty()) { + error = "GN_INVALID_GRAPH: Geometry Node node identity is incomplete"; + return false; + } + if (bke::node_type_find(UString(node_type)) == nullptr) { + error = "GN_NODE_UNSUPPORTED: Blender does not register the requested Geometry Node type"; + return false; + } + bNode *native = bke::node_add_node(nullptr, *native_tree, UString(node_type)); + if (native == nullptr) { + error = "GN_INVALID_GRAPH: Blender could not materialize a Geometry Node"; + return false; + } + STRNCPY_UTF8(native->name, node_name.c_str()); + STRNCPY_UTF8(native->label, node_name.c_str()); + native_nodes.emplace(node_id, native); + } + const auto socket_for = [](bNode &node, const eNodeSocketInOut direction, const std::string &socket_id) -> bNodeSocket * { + const size_t separator = socket_id.rfind(':'); + const std::string identifier = separator == std::string::npos ? socket_id : socket_id.substr(separator + 1); + ListBase *sockets = direction == SOCK_IN ? &node.inputs : &node.outputs; + for (bNodeSocket *socket = static_cast(sockets->first); socket != nullptr; socket = socket->next) { + if (identifier == socket->identifier || identifier == socket->name || socket_id == socket->identifier) return socket; + } + return nullptr; + }; + for (const json &link : graph["links"]) { + const std::string from_id = link.value("fromNodeId", ""); + const std::string to_id = link.value("toNodeId", ""); + if (!native_nodes.contains(from_id) || !native_nodes.contains(to_id)) { + error = "GN_INVALID_GRAPH: Geometry Node link references a missing node"; + return false; + } + bNodeSocket *from = socket_for(*native_nodes.at(from_id), SOCK_OUT, link.value("fromSocketId", "")); + bNodeSocket *to = socket_for(*native_nodes.at(to_id), SOCK_IN, link.value("toSocketId", "")); + if (from == nullptr || to == nullptr) { + error = "GN_INVALID_GRAPH: Geometry Node link references an unavailable socket"; + return false; + } + bke::node_add_link(*native_tree, *native_nodes.at(from_id), *from, *native_nodes.at(to_id), *to); + } + BKE_ntree_update_tag_all(native_tree); + BKE_ntree_update_after_single_tree_change(*state->main, *native_tree); Object *target_object = find_mesh_object(state->main, mesh_id); NodesModifierData *nodes_modifier = nullptr; if (target_object != nullptr) { diff --git a/docs/EXECUTION_QUEUE.md b/docs/EXECUTION_QUEUE.md index 8c0a2d088..f31288c23 100644 --- a/docs/EXECUTION_QUEUE.md +++ b/docs/EXECUTION_QUEUE.md @@ -13,9 +13,9 @@ | 字段 | 值 | | --- | --- | | 里程碑 | WBV2 capability workflow | -| 当前任务 | `WBV2-P47-000` | -| parent manifest | `tests/golden/WBV2-P46-003/manifest.json` | -| 任务卡 | [`tasks/WBV2-P47-000.md`](tasks/WBV2-P47-000.md) | +| 当前任务 | `WBV2-P48-000` | +| parent manifest | `tests/golden/WBV2-P47-003/manifest.json` | +| 任务卡 | [`tasks/WBV2-P48-000.md`](tasks/WBV2-P48-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-P47-000.md b/docs/status/WBV2-P47-000.md new file mode 100644 index 000000000..13835092d --- /dev/null +++ b/docs/status/WBV2-P47-000.md @@ -0,0 +1,7 @@ +# WBV2-P47-000 status + +- task: `WBV2-P47-000`; parent: `WBV2-P46-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-P47-001` diff --git a/docs/status/WBV2-P47-001.md b/docs/status/WBV2-P47-001.md new file mode 100644 index 000000000..3ebee303a --- /dev/null +++ b/docs/status/WBV2-P47-001.md @@ -0,0 +1,7 @@ +# WBV2-P47-001 status + +- task: `WBV2-P47-001`; parent: `WBV2-P47-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-P47-002` diff --git a/docs/status/WBV2-P47-002.md b/docs/status/WBV2-P47-002.md new file mode 100644 index 000000000..4ab2f98d4 --- /dev/null +++ b/docs/status/WBV2-P47-002.md @@ -0,0 +1,7 @@ +# WBV2-P47-002 status + +- task: `WBV2-P47-002`; parent: `WBV2-P47-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-P47-003` diff --git a/docs/status/WBV2-P47-003.md b/docs/status/WBV2-P47-003.md new file mode 100644 index 000000000..35ea46154 --- /dev/null +++ b/docs/status/WBV2-P47-003.md @@ -0,0 +1,7 @@ +# WBV2-P47-003 status + +- task: `WBV2-P47-003`; parent: `WBV2-P47-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-P48-000` diff --git a/docs/tasks/WBV2-P47-001.md b/docs/tasks/WBV2-P47-001.md new file mode 100644 index 000000000..e07e37773 --- /dev/null +++ b/docs/tasks/WBV2-P47-001.md @@ -0,0 +1,38 @@ +# WBV2-P47-001: index_capability_family_batches + +- task: WBV2-P47-001 +- parent: WBV2-P47-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-P47-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-P47-001 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P47-001/` +- Status: `docs/status/WBV2-P47-001.md` +- Manifest: `tests/golden/WBV2-P47-001/manifest.json` +- Rollback: restore WBV2-P47-000 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P47-002.md b/docs/tasks/WBV2-P47-002.md new file mode 100644 index 000000000..55aaa3496 --- /dev/null +++ b/docs/tasks/WBV2-P47-002.md @@ -0,0 +1,38 @@ +# WBV2-P47-002: implement_capability_family_slice + +- task: WBV2-P47-002 +- parent: WBV2-P47-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-P47-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-P47-002 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P47-002/` +- Status: `docs/status/WBV2-P47-002.md` +- Manifest: `tests/golden/WBV2-P47-002/manifest.json` +- Rollback: restore WBV2-P47-001 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P47-003.md b/docs/tasks/WBV2-P47-003.md new file mode 100644 index 000000000..1eb04845d --- /dev/null +++ b/docs/tasks/WBV2-P47-003.md @@ -0,0 +1,38 @@ +# WBV2-P47-003: run_capability_family_smoke + +- task: WBV2-P47-003 +- parent: WBV2-P47-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-P47-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-P47-003 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P47-003/` +- Status: `docs/status/WBV2-P47-003.md` +- Manifest: `tests/golden/WBV2-P47-003/manifest.json` +- Rollback: restore WBV2-P47-002 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P48-000.md b/docs/tasks/WBV2-P48-000.md new file mode 100644 index 000000000..256663aad --- /dev/null +++ b/docs/tasks/WBV2-P48-000.md @@ -0,0 +1,35 @@ +# WBV2-P48-000: authorize_capability_family_wave + +- task: WBV2-P48-000 +- parent: WBV2-P47-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-P48-000 --write` + +## 失败边界 + +- missing source, unsupported capability or hash drift remains in_progress/blocked + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P48-000/` +- Status: `docs/status/WBV2-P48-000.md` +- Manifest: `tests/golden/WBV2-P48-000/manifest.json` +- Rollback: restore WBV2-P47-003 as queue parent and leave the wave in_progress. diff --git a/nextTask.md b/nextTask.md index 9f8e5e32c..743aa10ca 100644 --- a/nextTask.md +++ b/nextTask.md @@ -266,10 +266,10 @@ Recorded: 2026-08-29 Asia/Shanghai | Field | Value | | --- | --- | -| Current task when this file was written | `WBV2-P47-000` | +| Current task when this file was written | `WBV2-P48-000` | | Current task state | `in_progress` | -| Parent manifest | `tests/golden/WBV2/WBV2-P46-003/manifest.json` | -| Current task card | `docs/tasks/WBV2-P47-000.md` | +| Parent manifest | `tests/golden/WBV2/WBV2-P47-003/manifest.json` | +| Current task card | `docs/tasks/WBV2-P48-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/source-build-report.json b/tests/golden/WBV2-P27-002/source-build-report.json index 04c160e60..5100b290e 100644 --- a/tests/golden/WBV2-P27-002/source-build-report.json +++ b/tests/golden/WBV2-P27-002/source-build-report.json @@ -25,7 +25,7 @@ }, "sourceMainState": { "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", - "sha256": "275a2ad41fc6e567eef0c59e342c62a6c5a2105c893ad5aec9e21751be6e743c" + "sha256": "c244d3215248bd68bf9ef1020f8b1805a2780b95820415b82f31fea689f8d71a" }, "sourceMainHeader": { "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", @@ -37,7 +37,7 @@ }, "wasm": { "path": "web/app/src/vendor/blender/web_engine.wasm", - "sha256": "8caca621490ee2cff5607c70bb91b8ca575cc560b649539f4542b53f8f6adf12" + "sha256": "1d6bd7300b51da7e0d5794d7a66d50b4a4f2a10937691a7a5eaf2600ad724055" }, "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": "8caca621490ee2cff5607c70bb91b8ca575cc560b649539f4542b53f8f6adf12" + "sha256": "1d6bd7300b51da7e0d5794d7a66d50b4a4f2a10937691a7a5eaf2600ad724055" }, "webDistIndex": { "path": "web/dist/index.html", - "sha256": "c0c5a65208b2b51c9ef0a6c5d35349aced2fef28ff3abbb51f76f1f201140474" + "sha256": "bca37554d791c69641ca99a2d00c91478d0e21d2fa4c3cec9b1f9c391d2a3613" }, "webDistWorker": { - "path": "web/dist/assets/web-engine.worker-Qn8-9dwA.js", - "sha256": "ffa85c0d926953a98573bae6a8e3c8cc0d8e4956aaf317e0c93b1060440da35b" + "path": "web/dist/assets/web-engine.worker-ChbELjRg.js", + "sha256": "1d1b334dc6e19440cfca7803124884d08e0edee25b42ffdb4c72c20ae0147fd3" }, "webDistWasm": { - "path": "web/dist/assets/web_engine-DWcTm88M.wasm", - "sha256": "8caca621490ee2cff5607c70bb91b8ca575cc560b649539f4542b53f8f6adf12" + "path": "web/dist/assets/web_engine-Bw_kcrLd.wasm", + "sha256": "1d6bd7300b51da7e0d5794d7a66d50b4a4f2a10937691a7a5eaf2600ad724055" } }, "verification": { diff --git a/tests/golden/WBV2-P47-000/capability-continuation-plan.json b/tests/golden/WBV2-P47-000/capability-continuation-plan.json new file mode 100644 index 000000000..1fecbfa60 --- /dev/null +++ b/tests/golden/WBV2-P47-000/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P47", + "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-P47-000", + "phase": "P47", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P46-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P47-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-P47-001", + "phase": "P47", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P47-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P47-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-P47-002", + "phase": "P47", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P47-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P47-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-P47-003", + "phase": "P47", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P47-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P47-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-P47-000/capability-continuation-root-report.json b/tests/golden/WBV2-P47-000/capability-continuation-root-report.json new file mode 100644 index 000000000..d40c31940 --- /dev/null +++ b/tests/golden/WBV2-P47-000/capability-continuation-root-report.json @@ -0,0 +1,30 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P47-000", + "operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION", + "status": "PASS", + "parent": { + "task": "WBV2-P46-003", + "manifest": "tests/golden/WBV2-P46-003/manifest.json", + "manifestSha256": "5c8bf82c89d6cee487cb6746f8c54c976bc17927d1df62b9f14a544b5385f091" + }, + "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-P47-001" +} diff --git a/tests/golden/WBV2-P47-000/manifest.json b/tests/golden/WBV2-P47-000/manifest.json new file mode 100644 index 000000000..c16d2c95c --- /dev/null +++ b/tests/golden/WBV2-P47-000/manifest.json @@ -0,0 +1,39 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P47-000", + "parentTask": "WBV2-P46-003", + "operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": true, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P46-003/manifest.json", + "sha256": "5c8bf82c89d6cee487cb6746f8c54c976bc17927d1df62b9f14a544b5385f091" + }, + "plan": { + "path": "tests/golden/WBV2-P47-000/capability-continuation-plan.json", + "sha256": "9d5ab85471604c6625ada01e915c8675cb7740c5810c720e5a9896b386342d33" + }, + "report": { + "path": "tests/golden/WBV2-P47-000/capability-continuation-root-report.json", + "sha256": "6a2bea4167b18093a351e39a380874f98023873773ab96a35a86aece49bc1113" + }, + "status": { + "path": "docs/status/WBV2-P47-000.md", + "sha256": "23408f3a36dba4711c3fe9e160f70812326a0ee3047fe54c080f191eba6c682f" + } + }, + "assertions": { + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P47-001" +} diff --git a/tests/golden/WBV2-P47-000/task-context.json b/tests/golden/WBV2-P47-000/task-context.json index a737780c5..853358a21 100644 --- a/tests/golden/WBV2-P47-000/task-context.json +++ b/tests/golden/WBV2-P47-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-P47-001", "sourceDocuments": { "queue": "docs/EXECUTION_QUEUE.md", "taskCard": "docs/tasks/WBV2-P47-000.md", @@ -156,7 +156,7 @@ "totalTokens": 1552, "reservedEnvelopeTokens": 1024, "estimatedContextTokens": 2576, - "serializedContextTokens": 619, + "serializedContextTokens": 622, "withinBudget": true } } diff --git a/tests/golden/WBV2-P47-001/capability-continuation-plan.json b/tests/golden/WBV2-P47-001/capability-continuation-plan.json new file mode 100644 index 000000000..ec820667d --- /dev/null +++ b/tests/golden/WBV2-P47-001/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P47", + "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-P47-000", + "phase": "P47", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P46-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P47-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-P47-001", + "phase": "P47", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P47-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P47-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-P47-002", + "phase": "P47", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P47-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P47-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-P47-003", + "phase": "P47", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P47-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P47-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-P47-001/implementation-report.json b/tests/golden/WBV2-P47-001/implementation-report.json new file mode 100644 index 000000000..ebdfc25cb --- /dev/null +++ b/tests/golden/WBV2-P47-001/implementation-report.json @@ -0,0 +1,32 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P47-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-P47-002" +} diff --git a/tests/golden/WBV2-P47-001/manifest.json b/tests/golden/WBV2-P47-001/manifest.json new file mode 100644 index 000000000..7351d82bc --- /dev/null +++ b/tests/golden/WBV2-P47-001/manifest.json @@ -0,0 +1,53 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P47-001", + "parentTask": "WBV2-P47-000", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P47-000/manifest.json", + "sha256": "413f14559beb2f468da7ad4b151be765502cb5726012c4192d46ee5dd37512a0" + }, + "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-P47-001/implementation-report.json", + "sha256": "b5f5b976b8f7fa39c0acb53a10b67cb10b7b6fe1656d507c890b30127d84e361" + }, + "status": { + "path": "docs/status/WBV2-P47-001.md", + "sha256": "8cd009f13f1e677c3c11c8da8bffb621229b2c50271e84e0d30b92fe4d8579d8" + }, + "plan": { + "path": "tests/golden/WBV2-P47-001/capability-continuation-plan.json", + "sha256": "4e20d6ff57ee95889d81fbf8382f7475e26f9c4b859b571bbc0f3548cfe86434" + }, + "taskContext": { + "path": "tests/golden/WBV2-P47-001/task-context.json", + "sha256": "f4db737adf92d8dbef217e327fdd26bbe936af4588e68560d61d2e2ab59c296d" + } + }, + "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-P47-002" +} diff --git a/tests/golden/WBV2-P47-001/task-context.json b/tests/golden/WBV2-P47-001/task-context.json new file mode 100644 index 000000000..f88a452fc --- /dev/null +++ b/tests/golden/WBV2-P47-001/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P47-001", + "parentTask": "WBV2-P47-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-P47-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-P47-001/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P47-001.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P47-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-P47-002", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P47-001.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P47-000/manifest.json", + "parentStatus": "docs/status/WBV2-P47-000.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P47-001.md", + "tests/golden/WBV2-P47-000/manifest.json", + "docs/status/WBV2-P47-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-P47-000", + "parentTask": "WBV2-P46-003", + "status": "done", + "nextTask": "WBV2-P47-001", + "artifactCount": 4 + }, + "statusSummary": [ + "# WBV2-P47-000 status", + "- task: `WBV2-P47-000`; parent: `WBV2-P46-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-P47-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-P47-001.md", + "bytes": 1299, + "lines": 39, + "tokens": 325 + }, + { + "path": "tests/golden/WBV2-P47-000/manifest.json", + "bytes": 1282, + "lines": 40, + "tokens": 321 + }, + { + "path": "docs/status/WBV2-P47-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-P47-002/capability-continuation-plan.json b/tests/golden/WBV2-P47-002/capability-continuation-plan.json new file mode 100644 index 000000000..7ea7feeaa --- /dev/null +++ b/tests/golden/WBV2-P47-002/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P47", + "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-P47-000", + "phase": "P47", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P46-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P47-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-P47-001", + "phase": "P47", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P47-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P47-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-P47-002", + "phase": "P47", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P47-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P47-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-P47-003", + "phase": "P47", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P47-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P47-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-P47-002/implementation-report.json b/tests/golden/WBV2-P47-002/implementation-report.json new file mode 100644 index 000000000..8ecd18402 --- /dev/null +++ b/tests/golden/WBV2-P47-002/implementation-report.json @@ -0,0 +1,33 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P47-002", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "PASS", + "family": "GEOMETRY_NODES.NATIVE_MATERIALIZATION", + "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", + "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-P47-003" +} diff --git a/tests/golden/WBV2-P47-002/manifest.json b/tests/golden/WBV2-P47-002/manifest.json new file mode 100644 index 000000000..cae729b2c --- /dev/null +++ b/tests/golden/WBV2-P47-002/manifest.json @@ -0,0 +1,57 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P47-002", + "parentTask": "WBV2-P47-001", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P47-001/manifest.json", + "sha256": "defe5d2578a857e3021428c0f36489b9e263256685bd3dadd9a450bb5e59c5c5" + }, + "source1": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", + "sha256": "c244d3215248bd68bf9ef1020f8b1805a2780b95820415b82f31fea689f8d71a" + }, + "source2": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", + "sha256": "84a4972f8c78ac73dc0866a51162a57d9f59c0025db9e40d9070c4bc5cc03ea8" + }, + "source3": { + "path": "web/protocol/web-engine.ts", + "sha256": "921ecfc28908a992d2ed07254713a631dc0bb988faf09cdeb68b0b2558ceecd1" + }, + "report": { + "path": "tests/golden/WBV2-P47-002/implementation-report.json", + "sha256": "56786b51350b877a990f45aa82e6b87615198b9b248dc81668e8f3bd9dbd4858" + }, + "status": { + "path": "docs/status/WBV2-P47-002.md", + "sha256": "165b333c738a081fe0cbedfa3f6d9f66fbd6beaee1bbe5cb739701e520583687" + }, + "plan": { + "path": "tests/golden/WBV2-P47-002/capability-continuation-plan.json", + "sha256": "3a047d39f9314477f59f5e32289416cd7ebe01c316a2463ba90839cffe05f7f2" + }, + "taskContext": { + "path": "tests/golden/WBV2-P47-002/task-context.json", + "sha256": "14f2413806678cf9637499920e88c408be006de12248787bc7ac94c87a2fa307" + } + }, + "assertions": { + "capabilityFamily": "GEOMETRY_NODES.NATIVE_MATERIALIZATION", + "sourceBacked": true, + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P47-003" +} diff --git a/tests/golden/WBV2-P47-002/task-context.json b/tests/golden/WBV2-P47-002/task-context.json new file mode 100644 index 000000000..1b5e2f521 --- /dev/null +++ b/tests/golden/WBV2-P47-002/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P47-002", + "parentTask": "WBV2-P47-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-P47-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-P47-002/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P47-002.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P47-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-P47-003", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P47-002.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P47-001/manifest.json", + "parentStatus": "docs/status/WBV2-P47-001.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P47-002.md", + "tests/golden/WBV2-P47-001/manifest.json", + "docs/status/WBV2-P47-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-P47-001", + "parentTask": "WBV2-P47-000", + "status": "done", + "nextTask": "WBV2-P47-002", + "artifactCount": 7 + }, + "statusSummary": [ + "# WBV2-P47-001 status", + "- task: `WBV2-P47-001`; parent: `WBV2-P47-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-P47-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-P47-002.md", + "bytes": 1320, + "lines": 39, + "tokens": 330 + }, + { + "path": "tests/golden/WBV2-P47-001/manifest.json", + "bytes": 1887, + "lines": 54, + "tokens": 472 + }, + { + "path": "docs/status/WBV2-P47-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-P47-003/capability-continuation-plan.json b/tests/golden/WBV2-P47-003/capability-continuation-plan.json new file mode 100644 index 000000000..387366f0e --- /dev/null +++ b/tests/golden/WBV2-P47-003/capability-continuation-plan.json @@ -0,0 +1,181 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P47", + "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-P47-000", + "phase": "P47", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P46-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P47-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-P47-001", + "phase": "P47", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P47-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P47-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-P47-002", + "phase": "P47", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P47-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P47-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-P47-003", + "phase": "P47", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P47-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p47-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P47-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-P48-000", + "phase": "P48", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P47-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p48-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P48-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-P47-003/implementation-report.json b/tests/golden/WBV2-P47-003/implementation-report.json new file mode 100644 index 000000000..645254f2d --- /dev/null +++ b/tests/golden/WBV2-P47-003/implementation-report.json @@ -0,0 +1,33 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P47-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-P48-000" +} diff --git a/tests/golden/WBV2-P47-003/manifest.json b/tests/golden/WBV2-P47-003/manifest.json new file mode 100644 index 000000000..f5a34fbc1 --- /dev/null +++ b/tests/golden/WBV2-P47-003/manifest.json @@ -0,0 +1,57 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P47-003", + "parentTask": "WBV2-P47-002", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P47-002/manifest.json", + "sha256": "18a760231063f5dbcd6446d0f5501dda8a79dc15cd70d17340175b26c36a2a86" + }, + "source1": { + "path": "web/protocol/web-engine-capabilities.ts", + "sha256": "e41fb617bf590f1c1b82eed6936a4a9d837d30bb40a0d0c81dd18fe95f83af1b" + }, + "source2": { + "path": "web/app/src/workers/web-engine.worker.ts", + "sha256": "c0379da8a400ca6f41e2f9670080cf1c9d4367f7c032f4bc0065323305d712e4" + }, + "source3": { + "path": "web/app/src/vendor/blender/web_engine.wasm", + "sha256": "1d6bd7300b51da7e0d5794d7a66d50b4a4f2a10937691a7a5eaf2600ad724055" + }, + "report": { + "path": "tests/golden/WBV2-P47-003/implementation-report.json", + "sha256": "049e156546c1cb28555c53799b5336aebe0a60e464174967243c71e3207dceb0" + }, + "status": { + "path": "docs/status/WBV2-P47-003.md", + "sha256": "d8e01fe2ce0c4b5e17631649419db62bf1a6e36371cdbd98e9ed7ad2051a144b" + }, + "plan": { + "path": "tests/golden/WBV2-P47-003/capability-continuation-plan.json", + "sha256": "55e11225a58b25b2a5ea6c01e0fdc4385a093d832c181eab0ae1378188ad8506" + }, + "taskContext": { + "path": "tests/golden/WBV2-P47-003/task-context.json", + "sha256": "84024185fa4f1c2e2d6fc0026488661875fbbcd2c20f789f9286debd7a20a90e" + } + }, + "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-P48-000" +} diff --git a/tests/golden/WBV2-P47-003/task-context.json b/tests/golden/WBV2-P47-003/task-context.json new file mode 100644 index 000000000..4fb75566c --- /dev/null +++ b/tests/golden/WBV2-P47-003/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P47-003", + "parentTask": "WBV2-P47-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-P47-003 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 3439, + "contextRemainingTokens": 858 + }, + "source": { + "bytes": 6465, + "tokens": 1618 + }, + "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-P47-003/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P47-003.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P47-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-P48-000", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P47-003.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P47-002/manifest.json", + "parentStatus": "docs/status/WBV2-P47-002.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P47-003.md", + "tests/golden/WBV2-P47-002/manifest.json", + "docs/status/WBV2-P47-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-P47-002", + "parentTask": "WBV2-P47-001", + "status": "done", + "nextTask": "WBV2-P47-003", + "artifactCount": 8 + }, + "statusSummary": [ + "# WBV2-P47-002 status", + "- task: `WBV2-P47-002`; parent: `WBV2-P47-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-P47-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-P47-003.md", + "bytes": 1284, + "lines": 39, + "tokens": 321 + }, + { + "path": "tests/golden/WBV2-P47-002/manifest.json", + "bytes": 2061, + "lines": 58, + "tokens": 516 + }, + { + "path": "docs/status/WBV2-P47-002.md", + "bytes": 317, + "lines": 8, + "tokens": 80 + } + ], + "sourceTokens": 1618, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1618, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2642, + "serializedContextTokens": 617, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P48-000/task-context.json b/tests/golden/WBV2-P48-000/task-context.json new file mode 100644 index 000000000..9fa5d03d5 --- /dev/null +++ b/tests/golden/WBV2-P48-000/task-context.json @@ -0,0 +1,162 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P48-000", + "parentTask": "WBV2-P47-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-P48-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-P48-000/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P48-000.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P48-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-P48-000.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P47-003/manifest.json", + "parentStatus": "docs/status/WBV2-P47-003.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P48-000.md", + "tests/golden/WBV2-P47-003/manifest.json", + "docs/status/WBV2-P47-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-P47-003", + "parentTask": "WBV2-P47-002", + "status": "done", + "nextTask": "WBV2-P48-000", + "artifactCount": 8 + }, + "statusSummary": [ + "# WBV2-P47-003 status", + "- task: `WBV2-P47-003`; parent: `WBV2-P47-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-P48-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-P48-000.md", + "bytes": 1052, + "lines": 36, + "tokens": 263 + }, + { + "path": "tests/golden/WBV2-P47-003/manifest.json", + "bytes": 2029, + "lines": 58, + "tokens": 508 + }, + { + "path": "docs/status/WBV2-P47-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 9c0a943ca..d48a22b49 100644 --- a/tests/golden/WBV2/task-catalog.jsonl +++ b/tests/golden/WBV2/task-catalog.jsonl @@ -1,5 +1,5 @@ -{"id":"WBV2-P46-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P46","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-P46-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P46","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-P46-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P46","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-P46-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P46","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-P47-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P47","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-P47-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P47","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-P47-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P47","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-P47-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P47","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-P47-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P47","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-P48-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P48","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 9f37b7474..c6b6c8719 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-P46-003/capability-continuation-plan.json","sha256":"9dad77ccc374b1a69bf1762cce59ef1fbef07a1a0c4d527562c0a0f0eba90fd8"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"19bca2fa3205081d67db3d6d8244fa5be2d081882a0cfc6370f1293b962458f4"},"taskCount":5,"activeTask":"WBV2-P47-000","entries":{"WBV2-P46-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P45-003","next":"WBV2-P46-001"},"WBV2-P46-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P46-000","next":"WBV2-P46-002"},"WBV2-P46-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P46-001","next":"WBV2-P46-003"},"WBV2-P46-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P46-002","next":"WBV2-P47-000"},"WBV2-P47-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P46-003","next":null}}} +{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P47-003/capability-continuation-plan.json","sha256":"55e11225a58b25b2a5ea6c01e0fdc4385a093d832c181eab0ae1378188ad8506"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"496b9583991e0a75e73fd30fb749c2eb7b52dcee8efd38e2a0944bb0915aba02"},"taskCount":5,"activeTask":"WBV2-P48-000","entries":{"WBV2-P47-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P46-003","next":"WBV2-P47-001"},"WBV2-P47-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P47-000","next":"WBV2-P47-002"},"WBV2-P47-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P47-001","next":"WBV2-P47-003"},"WBV2-P47-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P47-002","next":"WBV2-P48-000"},"WBV2-P48-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P47-003","next":null}}} diff --git a/tools/web/generate-wbv2-capability-continuation-slice.mjs b/tools/web/generate-wbv2-capability-continuation-slice.mjs index 2005e63f3..7e8c0411d 100644 --- a/tools/web/generate-wbv2-capability-continuation-slice.mjs +++ b/tools/web/generate-wbv2-capability-continuation-slice.mjs @@ -25,19 +25,20 @@ const parent = json(parentPath); assert.equal(parent.status, "done"); assert.equal(parent.nextTask, task); const commands = { 1: [process.execPath, "tools/web/build-wbv2-capability-implementation-index.mjs"], 2: null, 3: ["npm", "--prefix", "web", "run", "build"] }; -const files = { 1: ["tools/web/build-wbv2-capability-implementation-index.mjs", "tests/golden/WBV2-P27-001/verification-batch-plan.json"], 2: ["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: "capability-family-workbench", 3: "WEB_ENGINE_COMMAND_CAPABILITIES" }; +const files = { 1: ["tools/web/build-wbv2-capability-implementation-index.mjs", "tests/golden/WBV2-P27-001/verification-batch-plan.json"], 2: 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 >= 47 ? "web_engine_blend_main_set_geometry_node_graph" : "capability-family-workbench", 3: "WEB_ENGINE_COMMAND_CAPABILITIES" }; for (const file of files[index]) assert.ok(fs.existsSync(abs(file)), file); assert.match(read(files[index][0]), new RegExp(markers[index])); if (commands[index]) execFileSync(commands[index][0], commands[index].slice(1), { cwd: root, stdio: "inherit" }); const nextIndex = index + 1; const nextTask = nextIndex <= 3 ? `WBV2-P${phase}-${String(nextIndex).padStart(3, "0")}` : `WBV2-P${phase + 1}-000`; +const family = index === 1 ? "INVENTORY.CAPABILITY_BATCH_INDEX" : index === 2 && phase >= 47 ? "GEOMETRY_NODES.NATIVE_MATERIALIZATION" : index === 2 ? "WORKFLOW.CAPABILITY_FAMILY_WORKBENCH" : "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE"; const out = `tests/golden/${task}`; const reportPath = `${out}/implementation-report.json`; const statusPath = `docs/status/${task}.md`; const planPath = `${out}/capability-continuation-plan.json`; fs.mkdirSync(abs(out), { recursive: true }); -fs.writeFileSync(abs(reportPath), `${JSON.stringify({ schemaVersion: 1, task, operation: "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", status: "PASS", family: index === 1 ? "INVENTORY.CAPABILITY_BATCH_INDEX" : index === 2 ? "WORKFLOW.CAPABILITY_FAMILY_WORKBENCH" : "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE", sourcePaths: files[index], command: commands[index]?.join(" ") ?? "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 }, null, 2)}\n`); +fs.writeFileSync(abs(reportPath), `${JSON.stringify({ schemaVersion: 1, task, operation: "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", status: "PASS", family, sourcePaths: files[index], command: commands[index]?.join(" ") ?? "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 }, null, 2)}\n`); fs.mkdirSync(abs("docs/status"), { recursive: true }); fs.writeFileSync(abs(statusPath), `# ${task} status\n\n- task: \`${task}\`; parent: \`${parent.task}\`; status: \`done\`\n- capability-family implementation: \`PASS\`; 27 deduplicated batches; 6609 pending rows\n- Chromium, E2E receipts and completion overlay: \`DEFERRED\`\n- inventory unchanged: \`6900/6618\`, effective \`290/6609\`\n- nextTask: \`${nextTask}\`\n`); const plan = json(parent.artifacts.plan.path); @@ -52,7 +53,7 @@ fs.writeFileSync(abs("docs/EXECUTION_QUEUE.md"), updatedQueue); execFileSync(process.execPath, [abs("tools/web/check-task-context.mjs"), "--task", task, "--write"], { cwd: root, stdio: "inherit" }); const manifestPath = `${out}/manifest.json`; const artifacts = { parentManifest: { path: parentPath, sha256: sha(parentPath) }, ...Object.fromEntries(files[index].map((file, item) => [`source${item + 1}`, { path: file, sha256: sha(file) }])), report: { path: reportPath, sha256: sha(reportPath) }, status: { path: statusPath, sha256: sha(statusPath) }, plan: { path: planPath, sha256: sha(planPath) }, taskContext: { path: `${out}/task-context.json`, sha256: sha(`${out}/task-context.json`) } }; -fs.writeFileSync(abs(manifestPath), `${JSON.stringify({ schemaVersion: 1, task, parentTask: parent.task, operation: "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", status: "done", enablingTask: false, parityStateChange: false, runtime: "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", artifacts, assertions: { capabilityFamily: index === 1 ? "INVENTORY.CAPABILITY_BATCH_INDEX" : index === 2 ? "WORKFLOW.CAPABILITY_FAMILY_WORKBENCH" : "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE", sourceBacked: true, batchCount: 27, pendingRows: 6609, verificationDeferred: true, completionOverlayWritten: false, inventoryTotal: 6900, effectiveCompleted: 290, effectivePending: 6609, historicalReproduction: false }, nextTask }, null, 2)}\n`); +fs.writeFileSync(abs(manifestPath), `${JSON.stringify({ schemaVersion: 1, task, parentTask: parent.task, operation: "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", status: "done", enablingTask: false, parityStateChange: false, runtime: "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", artifacts, assertions: { capabilityFamily: family, sourceBacked: true, batchCount: 27, pendingRows: 6609, verificationDeferred: true, completionOverlayWritten: false, inventoryTotal: 6900, effectiveCompleted: 290, effectivePending: 6609, historicalReproduction: false }, nextTask }, null, 2)}\n`); execFileSync(process.execPath, [abs("tools/web/check-task-context.mjs"), "--task", nextTask, "--write"], { cwd: root, stdio: "inherit" }); const tick = String.fromCharCode(96); let next = read("nextTask.md"); diff --git a/web/app/public/vendor/blender/web_engine.wasm b/web/app/public/vendor/blender/web_engine.wasm index 441242777..f82880a59 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/vendor/blender/web_engine.wasm b/web/app/src/vendor/blender/web_engine.wasm index 441242777..f82880a59 100644 Binary files a/web/app/src/vendor/blender/web_engine.wasm and b/web/app/src/vendor/blender/web_engine.wasm differ