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 c7ba993ed..b7c3b2a8e 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 @@ -5689,6 +5689,33 @@ bool web_engine_blend_main_set_world_environment_strength(WebBlendMainState *sta return true; } +bool web_engine_blend_main_set_camera_focus_object(WebBlendMainState *state, + const char *target_id, + const char *focus_object_id, + std::string &error) +{ + if (state == nullptr || state->main == nullptr || target_id == nullptr || focus_object_id == nullptr) { + error = "RENDER_PROPERTY_INVALID: camera focus target is missing"; + return false; + } + Camera *camera = find_camera(state->main, target_id); + if (camera == nullptr || !ensure_single_user_data(state->main, &camera->id, error)) { + if (error.empty()) error = "RENDER_PROPERTY_INVALID: camera was not found"; + return false; + } + Object *focus_object = nullptr; + if (focus_object_id[0] != '\0') { + focus_object = find_object(state->main, focus_object_id); + if (focus_object == nullptr) { + error = "RENDER_PROPERTY_INVALID: camera focus object was not found"; + return false; + } + } + camera->dof.focus_object = focus_object; + camera->id.recalc |= ID_RECALC_PARAMETERS; + return true; +} + bool web_engine_blend_main_set_render_properties(WebBlendMainState *state, const char *target_id, const char *properties_json, @@ -5849,6 +5876,14 @@ bool web_engine_blend_main_set_render_properties(WebBlendMainState *state, if (dof["enabled"].get()) camera->dof.flag |= CAM_DOF_ENABLED; else camera->dof.flag &= ~CAM_DOF_ENABLED; } + if (dof.contains("focusObjectId")) { + if (!dof["focusObjectId"].is_null() && !dof["focusObjectId"].is_string()) { + error = "RENDER_PROPERTY_INVALID: depthOfField.focusObjectId must be a string or null"; + return false; + } + const std::string focus_id = dof["focusObjectId"].is_null() ? std::string() : dof["focusObjectId"].get(); + if (!web_engine_blend_main_set_camera_focus_object(state, target_id, focus_id.c_str(), error)) return false; + } const auto dof_float = [&](const char *key, float minimum, float maximum, float &target) { if (!dof.contains(key)) return true; if (!dof[key].is_number()) return false; 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 e306c2bd0..07299be5d 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 @@ -573,6 +573,10 @@ bool web_engine_blend_main_set_world_environment_strength(WebBlendMainState *sta const char *target_id, float strength, std::string &error); +bool web_engine_blend_main_set_camera_focus_object(WebBlendMainState *state, + const char *target_id, + const char *focus_object_id, + std::string &error); bool web_engine_blend_main_set_scene_properties(WebBlendMainState *state, const char *target_id, const char *properties_json, diff --git a/docs/EXECUTION_QUEUE.md b/docs/EXECUTION_QUEUE.md index cce01510b..3cf0b5ba5 100644 --- a/docs/EXECUTION_QUEUE.md +++ b/docs/EXECUTION_QUEUE.md @@ -13,9 +13,9 @@ | 字段 | 值 | | --- | --- | | 里程碑 | WBV2 capability workflow | -| 当前任务 | `WBV2-P605-000` | -| parent manifest | `tests/golden/WBV2-P604-003/manifest.json` | -| 任务卡 | [`tasks/WBV2-P605-000.md`](tasks/WBV2-P605-000.md) | +| 当前任务 | `WBV2-P606-000` | +| parent manifest | `tests/golden/WBV2-P605-003/manifest.json` | +| 任务卡 | [`tasks/WBV2-P606-000.md`](tasks/WBV2-P606-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-P605-000.md b/docs/status/WBV2-P605-000.md new file mode 100644 index 000000000..2d00ea5d1 --- /dev/null +++ b/docs/status/WBV2-P605-000.md @@ -0,0 +1,8 @@ +# WBV2-P605-000 status + +- task: `WBV2-P605-000`; parent: `WBV2-P604-003`; status: `done` +- taskClass: `QUEUE_ENABLEMENT`; no Blender capability completion claimed +- capability-family continuation authorized from Blender source +- 6900 inventory: 27 deduplicated batches, 6609 pending rows +- verification and completion overlay: `DEFERRED` +- nextTask: `WBV2-P605-001` diff --git a/docs/status/WBV2-P605-001.md b/docs/status/WBV2-P605-001.md new file mode 100644 index 000000000..3a53c720a --- /dev/null +++ b/docs/status/WBV2-P605-001.md @@ -0,0 +1,8 @@ +# WBV2-P605-001 status + +- task: `WBV2-P605-001`; parent: `WBV2-P605-000`; status: `done` +- taskClass: `QUEUE_ENABLEMENT`; capability: `null`; behaviorMarker: `BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX` +- 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-P605-002` diff --git a/docs/status/WBV2-P605-002.md b/docs/status/WBV2-P605-002.md new file mode 100644 index 000000000..97a84c4e9 --- /dev/null +++ b/docs/status/WBV2-P605-002.md @@ -0,0 +1,8 @@ +# WBV2-P605-002 status + +- task: `WBV2-P605-002`; parent: `WBV2-P605-001`; status: `done` +- taskClass: `SOURCE_IMPLEMENTATION`; capability: `CAP-RENDER-CAMERA-DOF-FOCUS-OBJECT`; behaviorMarker: `web_engine_blend_main_set_camera_focus_object` +- 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-P605-003` diff --git a/docs/status/WBV2-P605-003.md b/docs/status/WBV2-P605-003.md new file mode 100644 index 000000000..a23cf4918 --- /dev/null +++ b/docs/status/WBV2-P605-003.md @@ -0,0 +1,8 @@ +# WBV2-P605-003 status + +- task: `WBV2-P605-003`; parent: `WBV2-P605-002`; status: `done` +- taskClass: `INTEGRATION_BUILD`; capability: `null`; behaviorMarker: `INTEGRATION_BUILD_WEB_BUNDLE` +- 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-P606-000` diff --git a/docs/tasks/WBV2-P605-001.md b/docs/tasks/WBV2-P605-001.md new file mode 100644 index 000000000..0a61861d7 --- /dev/null +++ b/docs/tasks/WBV2-P605-001.md @@ -0,0 +1,38 @@ +# WBV2-P605-001: index_capability_family_batches + +- task: WBV2-P605-001 +- parent: WBV2-P605-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-P605-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-P605-001 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P605-001/` +- Status: `docs/status/WBV2-P605-001.md` +- Manifest: `tests/golden/WBV2-P605-001/manifest.json` +- Rollback: restore WBV2-P605-000 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P605-002.md b/docs/tasks/WBV2-P605-002.md new file mode 100644 index 000000000..c8a5574a7 --- /dev/null +++ b/docs/tasks/WBV2-P605-002.md @@ -0,0 +1,38 @@ +# WBV2-P605-002: implement_capability_family_slice + +- task: WBV2-P605-002 +- parent: WBV2-P605-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-P605-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-P605-002 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P605-002/` +- Status: `docs/status/WBV2-P605-002.md` +- Manifest: `tests/golden/WBV2-P605-002/manifest.json` +- Rollback: restore WBV2-P605-001 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P605-003.md b/docs/tasks/WBV2-P605-003.md new file mode 100644 index 000000000..c737deced --- /dev/null +++ b/docs/tasks/WBV2-P605-003.md @@ -0,0 +1,38 @@ +# WBV2-P605-003: run_capability_family_smoke + +- task: WBV2-P605-003 +- parent: WBV2-P605-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-P605-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-P605-003 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P605-003/` +- Status: `docs/status/WBV2-P605-003.md` +- Manifest: `tests/golden/WBV2-P605-003/manifest.json` +- Rollback: restore WBV2-P605-002 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P606-000.md b/docs/tasks/WBV2-P606-000.md new file mode 100644 index 000000000..a91f04109 --- /dev/null +++ b/docs/tasks/WBV2-P606-000.md @@ -0,0 +1,35 @@ +# WBV2-P606-000: authorize_capability_family_wave + +- task: WBV2-P606-000 +- parent: WBV2-P605-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-P606-000 --write` + +## 失败边界 + +- missing source, unsupported capability or hash drift remains in_progress/blocked + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P606-000/` +- Status: `docs/status/WBV2-P606-000.md` +- Manifest: `tests/golden/WBV2-P606-000/manifest.json` +- Rollback: restore WBV2-P605-003 as queue parent and leave the wave in_progress. diff --git a/nextTask.md b/nextTask.md index 3b7e44b64..04d968866 100644 --- a/nextTask.md +++ b/nextTask.md @@ -412,10 +412,10 @@ Recorded: 2026-08-29 Asia/Shanghai | Field | Value | | --- | --- | -| Current task when this file was written | `WBV2-P605-000` | +| Current task when this file was written | `WBV2-P606-000` | | Current task state | `in_progress` | -| Parent manifest | `tests/golden/WBV2-P604-003/manifest.json` | -| Current task card | `docs/tasks/WBV2-P605-000.md` | +| Parent manifest | `tests/golden/WBV2-P605-003/manifest.json` | +| Current task card | `docs/tasks/WBV2-P606-000.md` | | Current task-context nextTask | `NONE` | | Focused command | `node tools/web/generate-wbv2-capability-continuation-root.mjs` | diff --git a/tests/golden/WBV2-P605-000/capability-continuation-plan.json b/tests/golden/WBV2-P605-000/capability-continuation-plan.json new file mode 100644 index 000000000..b33d1fd51 --- /dev/null +++ b/tests/golden/WBV2-P605-000/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P605", + "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-P605-000", + "phase": "P605", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P604-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P605-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-P605-001", + "phase": "P605", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P605-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P605-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-P605-002", + "phase": "P605", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P605-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P605-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-P605-003", + "phase": "P605", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P605-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P605-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-P605-000/capability-continuation-root-report.json b/tests/golden/WBV2-P605-000/capability-continuation-root-report.json new file mode 100644 index 000000000..c1cc5a88f --- /dev/null +++ b/tests/golden/WBV2-P605-000/capability-continuation-root-report.json @@ -0,0 +1,33 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P605-000", + "operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION", + "taskClass": "QUEUE_ENABLEMENT", + "capabilityId": null, + "behaviorMarker": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION", + "status": "PASS", + "parent": { + "task": "WBV2-P604-003", + "manifest": "tests/golden/WBV2-P604-003/manifest.json", + "manifestSha256": "53db7fb30181167dc8aaa0613df285e6ae5ede8fec9c275ce909c6d4047be2df" + }, + "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-P605-001" +} diff --git a/tests/golden/WBV2-P605-000/manifest.json b/tests/golden/WBV2-P605-000/manifest.json new file mode 100644 index 000000000..055e5037f --- /dev/null +++ b/tests/golden/WBV2-P605-000/manifest.json @@ -0,0 +1,42 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P605-000", + "parentTask": "WBV2-P604-003", + "operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION", + "taskClass": "QUEUE_ENABLEMENT", + "status": "done", + "enablingTask": true, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P604-003/manifest.json", + "sha256": "2530f32c4ae8aff3d6758c19f1a91a64a65d65ce2fe19944eb2cb40cd3e37fdb" + }, + "plan": { + "path": "tests/golden/WBV2-P605-000/capability-continuation-plan.json", + "sha256": "cfb239c1c8374e0368ab29ccf02edb96ba483a53ab63689dc1da4a64a01468ae" + }, + "report": { + "path": "tests/golden/WBV2-P605-000/capability-continuation-root-report.json", + "sha256": "74a80763fb616773d00f2e3c7aa377d0681f259062432bef8c748eaaa2194c5d" + }, + "status": { + "path": "docs/status/WBV2-P605-000.md", + "sha256": "4dce32dd0bf829a802e5a4a0dbe75cbca31ba0cf6e23d9501dcf617dc4ada83a" + } + }, + "assertions": { + "capabilityId": null, + "behaviorMarker": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION", + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P605-001" +} diff --git a/tests/golden/WBV2-P605-000/task-context.json b/tests/golden/WBV2-P605-000/task-context.json new file mode 100644 index 000000000..a8c98b0f9 --- /dev/null +++ b/tests/golden/WBV2-P605-000/task-context.json @@ -0,0 +1,163 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P605-000", + "parentTask": "WBV2-P604-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-P605-000 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 3482, + "contextRemainingTokens": 869 + }, + "source": { + "bytes": 6422, + "tokens": 1607 + }, + "selected": [], + "excluded": [ + { + "path": "blender-5.2.0/source/blender", + "bytes": 12546, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P605-000/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P605-000.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P605-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": "WBV2-P605-001", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P605-000.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P604-003/manifest.json", + "parentStatus": "docs/status/WBV2-P604-003.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P605-000.md", + "tests/golden/WBV2-P604-003/manifest.json", + "docs/status/WBV2-P604-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-P604-003", + "parentTask": "WBV2-P604-002", + "status": "done", + "nextTask": "WBV2-P605-000", + "artifactCount": 8 + }, + "statusSummary": [ + "# WBV2-P604-003 status", + "- task: `WBV2-P604-003`; parent: `WBV2-P604-002`; status: `done`", + "- taskClass: `INTEGRATION_BUILD`; capability: `null`; behaviorMarker: `INTEGRATION_BUILD_WEB_BUNDLE`", + "- 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-P605-000`" + ] + }, + "budgets": { + "queueBytes": 4096, + "taskBytes": 1060, + "parentManifestBytes": 24576, + "parentStatusBytes": 6144, + "evidenceFiles": 12, + "evidenceBytes": 8192, + "contextTokens": 3500, + "contextEnvelopeTokens": 1024, + "taskLines": 36, + "taskTokens": 265 + }, + "size": { + "documents": [ + { + "path": "docs/EXECUTION_QUEUE.md", + "bytes": 2807, + "lines": 51, + "tokens": 702 + }, + { + "path": "docs/tasks/WBV2-P605-000.md", + "bytes": 1060, + "lines": 36, + "tokens": 265 + }, + { + "path": "tests/golden/WBV2-P604-003/manifest.json", + "bytes": 2133, + "lines": 61, + "tokens": 534 + }, + { + "path": "docs/status/WBV2-P604-003.md", + "bytes": 422, + "lines": 9, + "tokens": 106 + } + ], + "sourceTokens": 1607, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1607, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2631, + "serializedContextTokens": 626, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P605-001/capability-continuation-plan.json b/tests/golden/WBV2-P605-001/capability-continuation-plan.json new file mode 100644 index 000000000..7fb049caf --- /dev/null +++ b/tests/golden/WBV2-P605-001/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P605", + "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-P605-000", + "phase": "P605", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P604-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P605-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-P605-001", + "phase": "P605", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P605-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P605-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-P605-002", + "phase": "P605", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P605-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P605-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-P605-003", + "phase": "P605", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P605-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P605-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-P605-001/implementation-report.json b/tests/golden/WBV2-P605-001/implementation-report.json new file mode 100644 index 000000000..15e8d853c --- /dev/null +++ b/tests/golden/WBV2-P605-001/implementation-report.json @@ -0,0 +1,35 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P605-001", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "taskClass": "QUEUE_ENABLEMENT", + "status": "PASS", + "capabilityId": null, + "behaviorMarker": "BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX", + "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-P605-002" +} diff --git a/tests/golden/WBV2-P605-001/manifest.json b/tests/golden/WBV2-P605-001/manifest.json new file mode 100644 index 000000000..f804544e5 --- /dev/null +++ b/tests/golden/WBV2-P605-001/manifest.json @@ -0,0 +1,56 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P605-001", + "parentTask": "WBV2-P605-000", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "taskClass": "QUEUE_ENABLEMENT", + "status": "done", + "enablingTask": true, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P605-000/manifest.json", + "sha256": "137787df8b82765a52eb2357ac2960578357394d2d4f4d60138bf6c36b1d7fd0" + }, + "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-P605-001/implementation-report.json", + "sha256": "42d78988539d6f5829bcf10d2dbacaf801bd2b0c9880180313705136330ee095" + }, + "status": { + "path": "docs/status/WBV2-P605-001.md", + "sha256": "07ec4e99dd6599b2b10bad2468c40999aabd79b263f889d4f7952af0a91e05b1" + }, + "plan": { + "path": "tests/golden/WBV2-P605-001/capability-continuation-plan.json", + "sha256": "8d1dd8def836548a4fc373ff185c8edbf0390e76db0a5a1f6a297b38c06661a5" + }, + "taskContext": { + "path": "tests/golden/WBV2-P605-001/task-context.json", + "sha256": "ef39aadc9cc3f4093411ff30b8127602a7617f021b4f919e6dae1e297640bc0d" + } + }, + "assertions": { + "capabilityFamily": "INVENTORY.CAPABILITY_BATCH_INDEX", + "capabilityId": null, + "behaviorMarker": "BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX", + "sourceBacked": false, + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P605-002" +} diff --git a/tests/golden/WBV2-P605-001/task-context.json b/tests/golden/WBV2-P605-001/task-context.json new file mode 100644 index 000000000..170f779f6 --- /dev/null +++ b/tests/golden/WBV2-P605-001/task-context.json @@ -0,0 +1,168 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P605-001", + "parentTask": "WBV2-P605-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-P605-001 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 4007, + "contextRemainingTokens": 1001 + }, + "source": { + "bytes": 5897, + "tokens": 1475 + }, + "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-P605-001/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P605-001.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P605-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-P605-002", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P605-001.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P605-000/manifest.json", + "parentStatus": "docs/status/WBV2-P605-000.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P605-001.md", + "tests/golden/WBV2-P605-000/manifest.json", + "docs/status/WBV2-P605-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-P605-000", + "parentTask": "WBV2-P604-003", + "status": "done", + "nextTask": "WBV2-P605-001", + "artifactCount": 4 + }, + "statusSummary": [ + "# WBV2-P605-000 status", + "- task: `WBV2-P605-000`; parent: `WBV2-P604-003`; status: `done`", + "- taskClass: `QUEUE_ENABLEMENT`; no Blender capability completion claimed", + "- capability-family continuation authorized from Blender source", + "- 6900 inventory: 27 deduplicated batches, 6609 pending rows", + "- verification and completion overlay: `DEFERRED`", + "- nextTask: `WBV2-P605-001`" + ] + }, + "budgets": { + "queueBytes": 4096, + "taskBytes": 1308, + "parentManifestBytes": 24576, + "parentStatusBytes": 6144, + "evidenceFiles": 12, + "evidenceBytes": 8192, + "contextTokens": 3500, + "contextEnvelopeTokens": 1024, + "taskLines": 39, + "taskTokens": 327 + }, + "size": { + "documents": [ + { + "path": "docs/EXECUTION_QUEUE.md", + "bytes": 2807, + "lines": 51, + "tokens": 702 + }, + { + "path": "docs/tasks/WBV2-P605-001.md", + "bytes": 1308, + "lines": 39, + "tokens": 327 + }, + { + "path": "tests/golden/WBV2-P605-000/manifest.json", + "bytes": 1416, + "lines": 43, + "tokens": 354 + }, + { + "path": "docs/status/WBV2-P605-000.md", + "bytes": 366, + "lines": 9, + "tokens": 92 + } + ], + "sourceTokens": 1475, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1475, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2499, + "serializedContextTokens": 624, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P605-002/capability-continuation-plan.json b/tests/golden/WBV2-P605-002/capability-continuation-plan.json new file mode 100644 index 000000000..e17336b55 --- /dev/null +++ b/tests/golden/WBV2-P605-002/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P605", + "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-P605-000", + "phase": "P605", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P604-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P605-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-P605-001", + "phase": "P605", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P605-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P605-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-P605-002", + "phase": "P605", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P605-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P605-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-P605-003", + "phase": "P605", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P605-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P605-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-P605-002/implementation-report.json b/tests/golden/WBV2-P605-002/implementation-report.json new file mode 100644 index 000000000..733f3de31 --- /dev/null +++ b/tests/golden/WBV2-P605-002/implementation-report.json @@ -0,0 +1,48 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P605-002", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "taskClass": "SOURCE_IMPLEMENTATION", + "status": "PASS", + "capabilityId": "CAP-RENDER-CAMERA-DOF-FOCUS-OBJECT", + "behaviorMarker": "web_engine_blend_main_set_camera_focus_object", + "family": "RENDER.CAMERA_DOF_FOCUS_OBJECT", + "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", + "web/app/src/workers/web-engine.worker.ts", + "web/app/src/app/App.tsx", + "web/app/src/vendor/blender/web_engine.wasm", + "web/app/public/vendor/blender/web_engine.wasm" + ], + "command": "Blender Main Camera DOF focus_object through setCameraProperties", + "hashes": { + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp": { "before": "08fe14216aed013eb549263bb4849a7a8c91bed31bec36475f7df57b4d264a3b", "after": "b27651801bdfd805a8595798e8d1b8027fe8dcf39dc6304922697fda0505aaee" }, + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h": { "before": "6e99cf30c09cfd4d37f686fa49b49aca49246c52ed47589f3bbfd9fbf67b0e43", "after": "594801c0e384b2f3eed5f3ce0437da8964be61f8808a08f8b224a4d36a0cbd8d" }, + "web/protocol/web-engine.ts": { "before": "62f9b7a304369004b9170f124d49052895deb5b14e8cfbd5274687ea2ed3d6c0", "after": "fd35903bbc05baa47fb88eb88505458d996079fe08d1f2f16edcc4fe1e11e12f" }, + "web/app/src/workers/web-engine.worker.ts": { "before": "5cefdf9c701a7f13be8b6edcbfa248c4668b0c4f5eab2858946e5edfde71a10b", "after": "d62410bb097bf203173642107b8f7d7f238732c99251009fdbfe4ed55c231df8" }, + "web/app/src/app/App.tsx": { "before": "322794145b451d2486230e960c8b358edc8f2aab5469e1c343a1c28842c546f7", "after": "4ee0592ca8cd14fa314079955a056183b233ca4c5fffd93a68a5a276ad67dd26" }, + "web/app/src/vendor/blender/web_engine.wasm": { "before": "bd7ce3237ee1fd3038acce38dd8e6be0f311d10457cc5886e5b4f50c07620774", "after": "97b97cb3b4bdeb0bc793a7e228379733acff2f071ef76409ac5b7d4540bfeada" } + }, + "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-P605-003" +} diff --git a/tests/golden/WBV2-P605-002/manifest.json b/tests/golden/WBV2-P605-002/manifest.json new file mode 100644 index 000000000..c0c159014 --- /dev/null +++ b/tests/golden/WBV2-P605-002/manifest.json @@ -0,0 +1,76 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P605-002", + "parentTask": "WBV2-P605-001", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "taskClass": "SOURCE_IMPLEMENTATION", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P605-001/manifest.json", + "sha256": "3506dea1ac09b7e629f322ed95f0e2f26a17a6f70010583319fd280f95905c7e" + }, + "source1": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", + "sha256": "b27651801bdfd805a8595798e8d1b8027fe8dcf39dc6304922697fda0505aaee" + }, + "source2": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", + "sha256": "594801c0e384b2f3eed5f3ce0437da8964be61f8808a08f8b224a4d36a0cbd8d" + }, + "source3": { + "path": "web/protocol/web-engine.ts", + "sha256": "fd35903bbc05baa47fb88eb88505458d996079fe08d1f2f16edcc4fe1e11e12f" + }, + "source4": { + "path": "web/app/src/workers/web-engine.worker.ts", + "sha256": "d62410bb097bf203173642107b8f7d7f238732c99251009fdbfe4ed55c231df8" + }, + "source5": { + "path": "web/app/src/app/App.tsx", + "sha256": "4ee0592ca8cd14fa314079955a056183b233ca4c5fffd93a68a5a276ad67dd26" + }, + "source6": { + "path": "web/app/src/vendor/blender/web_engine.wasm", + "sha256": "97b97cb3b4bdeb0bc793a7e228379733acff2f071ef76409ac5b7d4540bfeada" + }, + "source7": { + "path": "web/app/public/vendor/blender/web_engine.wasm", + "sha256": "97b97cb3b4bdeb0bc793a7e228379733acff2f071ef76409ac5b7d4540bfeada" + }, + "report": { + "path": "tests/golden/WBV2-P605-002/implementation-report.json", + "sha256": "6c68b2fd0a09c23cd934721b3e74b7ba115c8e0d0692b531c19c6755b6864674" + }, + "status": { + "path": "docs/status/WBV2-P605-002.md", + "sha256": "46432e1a934a482ebdd0d70e4c9911b34d96b2c78835cb32882b51fad57a6dd8" + }, + "plan": { + "path": "tests/golden/WBV2-P605-002/capability-continuation-plan.json", + "sha256": "4c705b5ad92bc3d7c453e81e02ef9c3698d8524ddb961d1ed120cd2fd47dc050" + }, + "taskContext": { + "path": "tests/golden/WBV2-P605-002/task-context.json", + "sha256": "a7037349db3a5719caef7e44585a6c3005727d2f330d19a7d486834df03f0057" + } + }, + "assertions": { + "capabilityFamily": "RENDER.CAMERA_DOF_FOCUS_OBJECT", + "capabilityId": "CAP-RENDER-CAMERA-DOF-FOCUS-OBJECT", + "behaviorMarker": "web_engine_blend_main_set_camera_focus_object", + "sourceBacked": true, + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P605-003" +} diff --git a/tests/golden/WBV2-P605-002/task-context.json b/tests/golden/WBV2-P605-002/task-context.json new file mode 100644 index 000000000..639eba498 --- /dev/null +++ b/tests/golden/WBV2-P605-002/task-context.json @@ -0,0 +1,168 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P605-002", + "parentTask": "WBV2-P605-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-P605-002 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 3305, + "contextRemainingTokens": 824 + }, + "source": { + "bytes": 6599, + "tokens": 1652 + }, + "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-P605-002/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P605-002.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P605-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-P605-003", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P605-002.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P605-001/manifest.json", + "parentStatus": "docs/status/WBV2-P605-001.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P605-002.md", + "tests/golden/WBV2-P605-001/manifest.json", + "docs/status/WBV2-P605-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-P605-001", + "parentTask": "WBV2-P605-000", + "status": "done", + "nextTask": "WBV2-P605-002", + "artifactCount": 7 + }, + "statusSummary": [ + "# WBV2-P605-001 status", + "- task: `WBV2-P605-001`; parent: `WBV2-P605-000`; status: `done`", + "- taskClass: `QUEUE_ENABLEMENT`; capability: `null`; behaviorMarker: `BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX`", + "- 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-P605-002`" + ] + }, + "budgets": { + "queueBytes": 4096, + "taskBytes": 1329, + "parentManifestBytes": 24576, + "parentStatusBytes": 6144, + "evidenceFiles": 12, + "evidenceBytes": 8192, + "contextTokens": 3500, + "contextEnvelopeTokens": 1024, + "taskLines": 39, + "taskTokens": 333 + }, + "size": { + "documents": [ + { + "path": "docs/EXECUTION_QUEUE.md", + "bytes": 2807, + "lines": 51, + "tokens": 702 + }, + { + "path": "docs/tasks/WBV2-P605-002.md", + "bytes": 1329, + "lines": 39, + "tokens": 333 + }, + { + "path": "tests/golden/WBV2-P605-001/manifest.json", + "bytes": 2026, + "lines": 57, + "tokens": 507 + }, + { + "path": "docs/status/WBV2-P605-001.md", + "bytes": 437, + "lines": 9, + "tokens": 110 + } + ], + "sourceTokens": 1652, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1652, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2676, + "serializedContextTokens": 629, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P605-003/capability-continuation-plan.json b/tests/golden/WBV2-P605-003/capability-continuation-plan.json new file mode 100644 index 000000000..35a3d8d06 --- /dev/null +++ b/tests/golden/WBV2-P605-003/capability-continuation-plan.json @@ -0,0 +1,181 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P605", + "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-P605-000", + "phase": "P605", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P604-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P605-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-P605-001", + "phase": "P605", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P605-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P605-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-P605-002", + "phase": "P605", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P605-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P605-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-P605-003", + "phase": "P605", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P605-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p605-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P605-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-P606-000", + "phase": "P606", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P605-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p606-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P606-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-P605-003/implementation-report.json b/tests/golden/WBV2-P605-003/implementation-report.json new file mode 100644 index 000000000..eb1286c5e --- /dev/null +++ b/tests/golden/WBV2-P605-003/implementation-report.json @@ -0,0 +1,36 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P605-003", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "taskClass": "INTEGRATION_BUILD", + "status": "PASS", + "capabilityId": null, + "behaviorMarker": "INTEGRATION_BUILD_WEB_BUNDLE", + "family": "INTEGRATION.BUILD", + "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-P606-000" +} diff --git a/tests/golden/WBV2-P605-003/manifest.json b/tests/golden/WBV2-P605-003/manifest.json new file mode 100644 index 000000000..793aa922a --- /dev/null +++ b/tests/golden/WBV2-P605-003/manifest.json @@ -0,0 +1,60 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P605-003", + "parentTask": "WBV2-P605-002", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "taskClass": "INTEGRATION_BUILD", + "status": "done", + "enablingTask": false, + "parityStateChange": false, + "runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", + "artifacts": { + "parentManifest": { + "path": "tests/golden/WBV2-P605-002/manifest.json", + "sha256": "38388892433ecc859d9becd5d56c4fc248c458e7237d2aec52e0d0f0ac046926" + }, + "source1": { + "path": "web/protocol/web-engine-capabilities.ts", + "sha256": "d6739e27f9617c641bbbe29d49f520e342441d8708f0fa8087b8eae80ea6ffcb" + }, + "source2": { + "path": "web/app/src/workers/web-engine.worker.ts", + "sha256": "d62410bb097bf203173642107b8f7d7f238732c99251009fdbfe4ed55c231df8" + }, + "source3": { + "path": "web/app/src/vendor/blender/web_engine.wasm", + "sha256": "97b97cb3b4bdeb0bc793a7e228379733acff2f071ef76409ac5b7d4540bfeada" + }, + "report": { + "path": "tests/golden/WBV2-P605-003/implementation-report.json", + "sha256": "da67fc57be379ce2ca297e38c6a62a9f83f74884b45db1dc11b20cc901dcaaab" + }, + "status": { + "path": "docs/status/WBV2-P605-003.md", + "sha256": "6aeb16627525be1b41c377a09c009e7c9cbb4635e4fe329cea62f5787ccba5e7" + }, + "plan": { + "path": "tests/golden/WBV2-P605-003/capability-continuation-plan.json", + "sha256": "825f7ba30c253792f0de83e2d2ffc8b6ccb7bad6d153a438876e5732dfe1e662" + }, + "taskContext": { + "path": "tests/golden/WBV2-P605-003/task-context.json", + "sha256": "a67be3ff4218e7facb3a42a5e44a4796068c079d9aaac6a02d6152956664b5f7" + } + }, + "assertions": { + "capabilityFamily": "INTEGRATION.BUILD", + "capabilityId": null, + "behaviorMarker": "INTEGRATION_BUILD_WEB_BUNDLE", + "sourceBacked": false, + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P606-000" +} diff --git a/tests/golden/WBV2-P605-003/task-context.json b/tests/golden/WBV2-P605-003/task-context.json new file mode 100644 index 000000000..59ea854ee --- /dev/null +++ b/tests/golden/WBV2-P605-003/task-context.json @@ -0,0 +1,168 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P605-003", + "parentTask": "WBV2-P605-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-P605-003 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 2450, + "contextRemainingTokens": 610 + }, + "source": { + "bytes": 7454, + "tokens": 1866 + }, + "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-P605-003/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P605-003.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P605-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-P606-000", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P605-003.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P605-002/manifest.json", + "parentStatus": "docs/status/WBV2-P605-002.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P605-003.md", + "tests/golden/WBV2-P605-002/manifest.json", + "docs/status/WBV2-P605-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-P605-002", + "parentTask": "WBV2-P605-001", + "status": "done", + "nextTask": "WBV2-P605-003", + "artifactCount": 12 + }, + "statusSummary": [ + "# WBV2-P605-002 status", + "- task: `WBV2-P605-002`; parent: `WBV2-P605-001`; status: `done`", + "- taskClass: `SOURCE_IMPLEMENTATION`; capability: `CAP-RENDER-CAMERA-DOF-FOCUS-OBJECT`; behaviorMarker: `web_engine_blend_main_set_camera_focus_object`", + "- 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-P605-003`" + ] + }, + "budgets": { + "queueBytes": 4096, + "taskBytes": 1293, + "parentManifestBytes": 24576, + "parentStatusBytes": 6144, + "evidenceFiles": 12, + "evidenceBytes": 8192, + "contextTokens": 3500, + "contextEnvelopeTokens": 1024, + "taskLines": 39, + "taskTokens": 324 + }, + "size": { + "documents": [ + { + "path": "docs/EXECUTION_QUEUE.md", + "bytes": 2807, + "lines": 51, + "tokens": 702 + }, + { + "path": "docs/tasks/WBV2-P605-003.md", + "bytes": 1293, + "lines": 39, + "tokens": 324 + }, + { + "path": "tests/golden/WBV2-P605-002/manifest.json", + "bytes": 2881, + "lines": 77, + "tokens": 721 + }, + { + "path": "docs/status/WBV2-P605-002.md", + "bytes": 473, + "lines": 9, + "tokens": 119 + } + ], + "sourceTokens": 1866, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1866, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2890, + "serializedContextTokens": 622, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2/task-catalog.jsonl b/tests/golden/WBV2/task-catalog.jsonl index ab07d856b..e6f905435 100644 --- a/tests/golden/WBV2/task-catalog.jsonl +++ b/tests/golden/WBV2/task-catalog.jsonl @@ -1,5 +1,5 @@ -{"id":"WBV2-P604-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P604","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-P604-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P604","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-P604-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P604","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-P604-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P604","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-P605-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P605","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-P605-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P605","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-P605-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P605","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-P605-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P605","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-P605-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P605","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-P606-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P606","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 f908b1c95..6e51e1fad 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-P604-003/capability-continuation-plan.json","sha256":"30847e587c162cd6817bfe1d977dad7ff647328fb5e0cc580362e6aca4d3749e"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"6180f3091f559a4c74683dd890dde00bb8e01d8adf9eb54a7bcade339c6a4c2f"},"taskCount":5,"activeTask":"WBV2-P605-000","entries":{"WBV2-P604-000":{"line":0,"offset":0,"length":404,"previous":"WBV2-P603-003","next":"WBV2-P604-001"},"WBV2-P604-001":{"line":1,"offset":404,"length":403,"previous":"WBV2-P604-000","next":"WBV2-P604-002"},"WBV2-P604-002":{"line":2,"offset":807,"length":412,"previous":"WBV2-P604-001","next":"WBV2-P604-003"},"WBV2-P604-003":{"line":3,"offset":1219,"length":399,"previous":"WBV2-P604-002","next":"WBV2-P605-000"},"WBV2-P605-000":{"line":4,"offset":1618,"length":401,"previous":"WBV2-P604-003","next":null}}} +{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P605-003/capability-continuation-plan.json","sha256":"825f7ba30c253792f0de83e2d2ffc8b6ccb7bad6d153a438876e5732dfe1e662"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"cc3934b2c6e3bfd9aea57f6885d9b4843ca5fcf98c1ff3aa8c4118e110a2cefe"},"taskCount":5,"activeTask":"WBV2-P606-000","entries":{"WBV2-P605-000":{"line":0,"offset":0,"length":404,"previous":"WBV2-P604-003","next":"WBV2-P605-001"},"WBV2-P605-001":{"line":1,"offset":404,"length":403,"previous":"WBV2-P605-000","next":"WBV2-P605-002"},"WBV2-P605-002":{"line":2,"offset":807,"length":412,"previous":"WBV2-P605-001","next":"WBV2-P605-003"},"WBV2-P605-003":{"line":3,"offset":1219,"length":399,"previous":"WBV2-P605-002","next":"WBV2-P606-000"},"WBV2-P606-000":{"line":4,"offset":1618,"length":401,"previous":"WBV2-P605-003","next":null}}} diff --git a/tools/web/generate-wbv2-capability-continuation-slice.mjs b/tools/web/generate-wbv2-capability-continuation-slice.mjs index 2866094f6..86a80bd19 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 === 604) { +if (phase === 605) { + 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", "web/protocol/web-engine.ts", "web/app/src/workers/web-engine.worker.ts", "web/app/src/app/App.tsx", "web/app/src/vendor/blender/web_engine.wasm", "web/app/public/vendor/blender/web_engine.wasm"]; + markers[2] = "web_engine_blend_main_set_camera_focus_object"; +} +else if (phase === 604) { 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_blend_reader.cpp", "blender-5.2.0/source/blender/makesdna/DNA_world_types.h", "web/protocol/scene-ir.ts", "web/protocol/web-engine.ts", "web/app/src/workers/web-engine.worker.ts", "web/app/src/app/App.tsx", "web/app/src/vendor/blender/web_engine.wasm", "web/app/public/vendor/blender/web_engine.wasm"]; markers[2] = "web_engine_blend_main_set_world_environment_strength"; } @@ -94,8 +98,8 @@ 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 taskClass = index === 1 ? "QUEUE_ENABLEMENT" : index === 2 ? "SOURCE_IMPLEMENTATION" : "INTEGRATION_BUILD"; -const reportedFamily = taskClass === "INTEGRATION_BUILD" ? "INTEGRATION.BUILD" : phase === 604 && index === 2 ? "RENDER.WORLD_ENVIRONMENT_STRENGTH" : phase === 603 && index === 2 ? "RENDER.WORLD_PROBE_CONTROLS" : phase === 602 && index === 2 ? "RENDER.WORLD_LIGHTING_CONTROLS" : phase === 601 && index === 2 ? "RENDER.LIGHT_CLIP_START" : phase === 600 && index === 2 ? "RENDER.LIGHT_AREA_SIZE_Z" : phase === 599 && index === 2 ? "RENDER.LIGHT_CASCADE_CONTROLS" : phase === 598 && index === 2 ? "RENDER.LIGHT_SHADOW_CONTROLS" : phase === 597 && index === 2 ? "RENDER.LIGHT_CONTRIBUTION_FACTORS" : phase === 596 && index === 2 ? "RENDER.LIGHT_AREA_SHAPE" : phase === 595 && index === 2 ? "RENDER.LIGHT_TYPE" : 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 capabilityId = taskClass !== "SOURCE_IMPLEMENTATION" ? null : phase === 604 && index === 2 ? "CAP-RENDER-WORLD-ENVIRONMENT-STRENGTH" : phase === 603 && index === 2 ? "CAP-RENDER-WORLD-PROBE-CONTROLS" : phase === 602 && index === 2 ? "CAP-RENDER-WORLD-LIGHTING-CONTROLS" : phase === 601 && index === 2 ? "CAP-RENDER-LIGHT-CLIP-START" : phase === 600 && index === 2 ? "CAP-RENDER-LIGHT-AREA-SIZE-Z" : phase === 599 && index === 2 ? "CAP-RENDER-LIGHT-CASCADE-CONTROLS" : phase === 598 && index === 2 ? "CAP-RENDER-LIGHT-SHADOW-CONTROLS" : phase === 597 && index === 2 ? "CAP-RENDER-LIGHT-CONTRIBUTION-FACTORS" : phase === 596 && index === 2 ? "CAP-RENDER-LIGHT-AREA-SHAPE" : phase === 595 && index === 2 ? "CAP-RENDER-LIGHT-TYPE" : `CAPABILITY-${reportedFamily.replaceAll(".", "-")}`; +const reportedFamily = taskClass === "INTEGRATION_BUILD" ? "INTEGRATION.BUILD" : phase === 605 && index === 2 ? "RENDER.CAMERA_DOF_FOCUS_OBJECT" : phase === 604 && index === 2 ? "RENDER.WORLD_ENVIRONMENT_STRENGTH" : phase === 603 && index === 2 ? "RENDER.WORLD_PROBE_CONTROLS" : phase === 602 && index === 2 ? "RENDER.WORLD_LIGHTING_CONTROLS" : phase === 601 && index === 2 ? "RENDER.LIGHT_CLIP_START" : phase === 600 && index === 2 ? "RENDER.LIGHT_AREA_SIZE_Z" : phase === 599 && index === 2 ? "RENDER.LIGHT_CASCADE_CONTROLS" : phase === 598 && index === 2 ? "RENDER.LIGHT_SHADOW_CONTROLS" : phase === 597 && index === 2 ? "RENDER.LIGHT_CONTRIBUTION_FACTORS" : phase === 596 && index === 2 ? "RENDER.LIGHT_AREA_SHAPE" : phase === 595 && index === 2 ? "RENDER.LIGHT_TYPE" : 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 capabilityId = taskClass !== "SOURCE_IMPLEMENTATION" ? null : phase === 605 && index === 2 ? "CAP-RENDER-CAMERA-DOF-FOCUS-OBJECT" : phase === 604 && index === 2 ? "CAP-RENDER-WORLD-ENVIRONMENT-STRENGTH" : phase === 603 && index === 2 ? "CAP-RENDER-WORLD-PROBE-CONTROLS" : phase === 602 && index === 2 ? "CAP-RENDER-WORLD-LIGHTING-CONTROLS" : phase === 601 && index === 2 ? "CAP-RENDER-LIGHT-CLIP-START" : phase === 600 && index === 2 ? "CAP-RENDER-LIGHT-AREA-SIZE-Z" : phase === 599 && index === 2 ? "CAP-RENDER-LIGHT-CASCADE-CONTROLS" : phase === 598 && index === 2 ? "CAP-RENDER-LIGHT-SHADOW-CONTROLS" : phase === 597 && index === 2 ? "CAP-RENDER-LIGHT-CONTRIBUTION-FACTORS" : phase === 596 && index === 2 ? "CAP-RENDER-LIGHT-AREA-SHAPE" : phase === 595 && index === 2 ? "CAP-RENDER-LIGHT-TYPE" : `CAPABILITY-${reportedFamily.replaceAll(".", "-")}`; const behaviorMarker = taskClass === "INTEGRATION_BUILD" ? "INTEGRATION_BUILD_WEB_BUNDLE" : index === 2 ? markers[2] : markers[index]; const out = `tests/golden/${task}`; const reportPath = `${out}/implementation-report.json`; diff --git a/web/app/public/vendor/blender/web_engine.wasm b/web/app/public/vendor/blender/web_engine.wasm index 614c2668f..15e4b114f 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 ca169a184..077802302 100644 --- a/web/app/src/app/App.tsx +++ b/web/app/src/app/App.tsx @@ -936,7 +936,7 @@ function Properties({ snapshot, selectedFaceIndices, selectedVertexIndices, grea {activeParticleSettings ?

Particle Settings

{activeParticleSettings.name} · {activeParticleSettings.totalParticles} particlesLifetime {activeParticleSettings.lifetime.toFixed(2)} · Size {activeParticleSettings.size.toFixed(3)}
: null} {activeTexture ?

Texture

{activeTexture.name} · Type {activeTexture.type}Noise {activeTexture.noiseScale.toFixed(3)} · Depth {activeTexture.noiseDepth}
: null} {(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} + {activeCamera ?

Camera

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

Light

{activeLight.energy.toFixed(1)} energy贡献因子 D {(activeLight.diffuseFactor ?? 1).toFixed(2)} · S {(activeLight.specularFactor ?? 1).toFixed(2)} · T {(activeLight.transmissionFactor ?? 1).toFixed(2)} · V {(activeLight.volumeFactor ?? 1).toFixed(2)}
阴影控制 A {(activeLight.attenuationDistance ?? 40).toFixed(1)} · Filter {(activeLight.shadowFilterRadius ?? 1).toFixed(2)} · MaxRes {(activeLight.shadowMaximumResolution ?? 0.001).toFixed(4)} · Overblur {(activeLight.shadowJitterOverblur ?? 10).toFixed(1)}
级联阴影距离 {(activeLight.cascadeMaxDistance ?? 200).toFixed(1)} · 指数 {(activeLight.cascadeExponent ?? 0.8).toFixed(2)} · 淡出 {(activeLight.cascadeFade ?? 0.1).toFixed(2)} · 层数 {activeLight.cascadeCount ?? 4}
Area 深度 {(activeLight.areaSizeZ ?? 0.25).toFixed(2)} · Clip start {(activeLight.clipStart ?? 0.05).toFixed(3)}
: null} {activeWorld ?

World

Exposure {activeWorld.exposure.toFixed(2)} · Lightgroup {activeWorld.lightgroup ?? "None"}Environment {(activeWorld.environmentStrength ?? 1).toFixed(2)} · AO {(activeWorld.ambientOcclusionDistance ?? 10).toFixed(1)}m / {(activeWorld.ambientOcclusionEnergy ?? 1).toFixed(2)} · Sun {(activeWorld.sunThreshold ?? 10).toFixed(1)}Probe {activeWorld.probeResolution ?? 10} · Sun Shadow {activeWorld.useSunShadow === false ? "Off" : "On"}
: 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} diff --git a/web/app/src/vendor/blender/web_engine.wasm b/web/app/src/vendor/blender/web_engine.wasm index 614c2668f..15e4b114f 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 5a9cae888..77ad3412b 100644 --- a/web/app/src/workers/web-engine.worker.ts +++ b/web/app/src/workers/web-engine.worker.ts @@ -572,8 +572,9 @@ function assertFutureCapability(payload: Extract !boundedNumber(value, -1000, 1000)))) throw report("RENDER_PROPERTY_INVALID", "Camera shift is invalid"); if (properties.depthOfField !== undefined) { const dof = properties.depthOfField; - if (!validPropertyKeys(dof, ["enabled", "focusDistance", "apertureFStop", "apertureBlades", "apertureRotation", "apertureRatio"])) throw report("RENDER_PROPERTY_INVALID", "Camera depthOfField is invalid"); + if (!validPropertyKeys(dof, ["enabled", "focusObjectId", "focusDistance", "apertureFStop", "apertureBlades", "apertureRotation", "apertureRatio"])) throw report("RENDER_PROPERTY_INVALID", "Camera depthOfField is invalid"); if (dof.enabled !== undefined && typeof dof.enabled !== "boolean") throw report("RENDER_PROPERTY_INVALID", "Camera depthOfField.enabled must be boolean"); + if (dof.focusObjectId !== undefined && dof.focusObjectId !== null && (typeof dof.focusObjectId !== "string" || !currentSnapshot?.nodes.some((node) => node.id === dof.focusObjectId))) throw report("RENDER_PROPERTY_INVALID", "Camera depthOfField.focusObjectId is invalid"); for (const [field, minimum, maximum] of [["focusDistance", 0, 1e9], ["apertureFStop", 0.01, 1000], ["apertureRotation", -Math.PI * 2, Math.PI * 2], ["apertureRatio", 0.01, 100]] as const) { const value = dof[field]; if (value !== undefined && !boundedNumber(value, minimum, maximum)) throw report("RENDER_PROPERTY_INVALID", `Camera depthOfField.${field} is outside the bounded range`); diff --git a/web/protocol/web-engine.ts b/web/protocol/web-engine.ts index 96b52fdc8..bab632cbc 100644 --- a/web/protocol/web-engine.ts +++ b/web/protocol/web-engine.ts @@ -141,7 +141,7 @@ export type WebEngineEditCommand = | { type: "setVertexColors"; meshId: string; attributeName: string; domain: "POINT" | "CORNER"; indices: number[]; colors: number[] } | { type: "setVertexWeights"; objectId: string; vertexGroup: string; indices: number[]; values: number[]; normalize?: boolean; limit?: number; mirror?: boolean; mirrorAxis?: 0 | 1 | 2; mirrorTolerance?: number } | { type: "setLightProperties"; dataId: string; properties: { type?: "POINT" | "SUN" | "SPOT" | "AREA"; areaShape?: 0 | 1 | 4 | 5; diffuseFactor?: number; specularFactor?: number; transmissionFactor?: number; volumeFactor?: number; attenuationDistance?: number; shadowFilterRadius?: number; shadowMaximumResolution?: number; shadowJitterOverblur?: number; cascadeMaxDistance?: number; cascadeExponent?: number; cascadeFade?: number; cascadeCount?: number; areaSizeZ?: number; clipStart?: number; color?: [number, number, number]; energy?: number; exposure?: number; temperature?: number; useTemperature?: boolean; castsShadow?: boolean; radius?: number; spotAngle?: number; spotBlend?: number; areaSize?: number; areaSizeY?: number; areaSpread?: number; sunAngle?: number } } - | { type: "setCameraProperties"; dataId: string; properties: { projection?: "PERSPECTIVE" | "ORTHOGRAPHIC"; lensMm?: number; sensorWidthMm?: number; sensorHeightMm?: number; sensorFit?: 0 | 1 | 2; shift?: [number, number]; near?: number; far?: number; orthoScale?: number; depthOfField?: { enabled?: boolean; focusDistance?: number; apertureFStop?: number; apertureBlades?: number; apertureRotation?: number; apertureRatio?: number } } } + | { type: "setCameraProperties"; dataId: string; properties: { projection?: "PERSPECTIVE" | "ORTHOGRAPHIC"; lensMm?: number; sensorWidthMm?: number; sensorHeightMm?: number; sensorFit?: 0 | 1 | 2; shift?: [number, number]; near?: number; far?: number; orthoScale?: number; depthOfField?: { enabled?: boolean; focusObjectId?: string | null; focusDistance?: number; apertureFStop?: number; apertureBlades?: number; apertureRotation?: number; apertureRatio?: number } } } | { type: "setWorldProperties"; dataId: string; properties: { color?: [number, number, number]; exposure?: number; environmentStrength?: number; ambientOcclusionDistance?: number; ambientOcclusionEnergy?: number; sunThreshold?: number; sunAngle?: number; sunShadowMaximumResolution?: number; sunShadowJitterOverblur?: number; sunShadowFilterRadius?: number; probeResolution?: 7 | 8 | 9 | 10 | 11 | 12; useSunShadow?: boolean; useSunShadowJitter?: boolean; mist?: { enabled?: boolean; type?: "QUADRATIC" | "LINEAR" | "INVERSE_QUADRATIC"; start?: number; depth?: number; intensity?: number; height?: number } } } | { type: "setSceneProperties"; dataId: string; properties: { renderEngine?: string; viewTransform?: string; look?: string; exposure?: number; gamma?: number } } | { type: "setSceneRenderSettings"; dataId: string; properties: { resolutionX?: number; resolutionY?: number; resolutionPercentage?: number; frameStart?: number; frameEnd?: number; outputPath?: string } }