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 b0ad79e9d..83bb229da 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 @@ -5401,6 +5401,56 @@ bool web_engine_blend_main_set_vertex_weights(WebBlendMainState *state, return true; } +bool web_engine_blend_main_set_light_type(WebBlendMainState *state, + const char *target_id, + const char *type_name, + std::string &error) +{ + if (state == nullptr || state->main == nullptr || target_id == nullptr || type_name == nullptr) { + error = "RENDER_PROPERTY_INVALID: light type target is missing"; + return false; + } + Light *light = find_light(state->main, target_id); + if (light == nullptr || !ensure_single_user_data(state->main, &light->id, error)) { + if (error.empty()) error = "RENDER_PROPERTY_INVALID: light was not found"; + return false; + } + const std::string type(type_name); + if (type == "POINT") light->type = LA_LOCAL; + else if (type == "SUN") light->type = LA_SUN; + else if (type == "SPOT") light->type = LA_SPOT; + else if (type == "AREA") light->type = LA_AREA; + else { + error = "RENDER_PROPERTY_INVALID: light type is unsupported"; + return false; + } + light->id.recalc |= ID_RECALC_PARAMETERS; + return true; +} + +bool web_engine_blend_main_set_light_area_shape(WebBlendMainState *state, + const char *target_id, + const int area_shape, + std::string &error) +{ + if (state == nullptr || state->main == nullptr || target_id == nullptr) { + error = "RENDER_PROPERTY_INVALID: light area shape target is missing"; + return false; + } + Light *light = find_light(state->main, target_id); + if (light == nullptr || !ensure_single_user_data(state->main, &light->id, error)) { + if (error.empty()) error = "RENDER_PROPERTY_INVALID: light was not found"; + return false; + } + if (area_shape != LA_AREA_SQUARE && area_shape != LA_AREA_RECT && area_shape != LA_AREA_DISK && area_shape != LA_AREA_ELLIPSE) { + error = "RENDER_PROPERTY_INVALID: light area shape is unsupported"; + return false; + } + light->area_shape = eLightAreaShape(area_shape); + light->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, @@ -5597,10 +5647,28 @@ bool web_engine_blend_main_set_render_properties(WebBlendMainState *state, if (strncmp(target_id, "light:", 6) == 0) { Light *light = find_light(state->main, target_id); if (light == nullptr || !ensure_single_user_data(state->main, &light->id, error)) return false; - if (!reject_unknown({"color", "energy", "exposure", "temperature", "useTemperature", + if (!reject_unknown({"type", "areaShape", "color", "energy", "exposure", "temperature", "useTemperature", "castsShadow", "radius", "spotAngle", "spotBlend", "areaSize", - "areaSizeY", "areaSpread", "sunAngle"}) || - !read_color("color", &light->r) || + "areaSizeY", "areaSpread", "sunAngle"})) + { + return false; + } + if (properties.contains("type")) { + if (!properties["type"].is_string()) { + error = "RENDER_PROPERTY_INVALID: type must be a string"; + return false; + } + const std::string type = properties["type"].get(); + if (!web_engine_blend_main_set_light_type(state, target_id, type.c_str(), error)) return false; + } + if (properties.contains("areaShape")) { + if (!properties["areaShape"].is_number_integer()) { + error = "RENDER_PROPERTY_INVALID: areaShape must be an integer"; + return false; + } + if (!web_engine_blend_main_set_light_area_shape(state, target_id, properties["areaShape"].get(), error)) return false; + } + if (!read_color("color", &light->r) || !read_float("energy", 0.0f, 1.0e9f, light->energy) || !read_float("exposure", -20.0f, 20.0f, light->exposure) || !read_float("temperature", 800.0f, 20000.0f, light->temperature) || 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 5d3e98f42..f850871c4 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 @@ -516,6 +516,14 @@ bool web_engine_blend_main_set_render_properties(WebBlendMainState *state, const char *target_id, const char *properties_json, std::string &error); +bool web_engine_blend_main_set_light_type(WebBlendMainState *state, + const char *target_id, + const char *type_name, + std::string &error); +bool web_engine_blend_main_set_light_area_shape(WebBlendMainState *state, + const char *target_id, + int area_shape, + 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 32d43846b..ed244e0b0 100644 --- a/docs/EXECUTION_QUEUE.md +++ b/docs/EXECUTION_QUEUE.md @@ -13,9 +13,9 @@ | 字段 | 值 | | --- | --- | | 里程碑 | WBV2 capability workflow | -| 当前任务 | `WBV2-P595-000` | -| parent manifest | `tests/golden/WBV2-P594-003/manifest.json` | -| 任务卡 | [`tasks/WBV2-P595-000.md`](tasks/WBV2-P595-000.md) | +| 当前任务 | `WBV2-P597-000` | +| parent manifest | `tests/golden/WBV2-P596-003/manifest.json` | +| 任务卡 | [`tasks/WBV2-P597-000.md`](tasks/WBV2-P597-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-P595-001.md b/docs/status/WBV2-P595-001.md new file mode 100644 index 000000000..1e24f7f6f --- /dev/null +++ b/docs/status/WBV2-P595-001.md @@ -0,0 +1,8 @@ +# WBV2-P595-001 status + +- task: `WBV2-P595-001`; parent: `WBV2-P595-000`; status: `done` +- taskClass: `QUEUE_ENABLEMENT`; index-only handoff; no Blender capability completion claimed +- capability-family index: `PASS`; 27 deduplicated batches; 6609 pending rows +- Chromium, E2E receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P595-002` diff --git a/docs/status/WBV2-P595-002.md b/docs/status/WBV2-P595-002.md new file mode 100644 index 000000000..bdc9e73fe --- /dev/null +++ b/docs/status/WBV2-P595-002.md @@ -0,0 +1,7 @@ +# WBV2-P595-002 status + +- task: `WBV2-P595-002`; parent: `WBV2-P595-001`; status: `done` +- capability-family implementation: `PASS`; taskClass `SOURCE_IMPLEMENTATION`; `CAP-RENDER-LIGHT-TYPE` / `web_engine_blend_main_set_light_type`; 27 deduplicated batches; 6609 pending rows +- Chromium, E2E receipts and completion overlay: `DEFERRED` +- inventory unchanged: `6900/6618`, effective `290/6609` +- nextTask: `WBV2-P595-003` diff --git a/docs/status/WBV2-P595-003.md b/docs/status/WBV2-P595-003.md new file mode 100644 index 000000000..71867fd66 --- /dev/null +++ b/docs/status/WBV2-P595-003.md @@ -0,0 +1,8 @@ +# WBV2-P595-003 status + +- task: `WBV2-P595-003`; parent: `WBV2-P595-002`; status: `done` +- taskClass: `INTEGRATION_BUILD`; capabilityId: `null`; behaviorMarker: `INTEGRATION_BUILD_WEB_BUNDLE`; no new capability counted +- 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-P596-000` diff --git a/docs/status/WBV2-P596-000.md b/docs/status/WBV2-P596-000.md new file mode 100644 index 000000000..fa451f6aa --- /dev/null +++ b/docs/status/WBV2-P596-000.md @@ -0,0 +1,8 @@ +# WBV2-P596-000 status + +- task: `WBV2-P596-000`; parent: `WBV2-P595-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-P596-001` diff --git a/docs/status/WBV2-P596-001.md b/docs/status/WBV2-P596-001.md new file mode 100644 index 000000000..897ca86f5 --- /dev/null +++ b/docs/status/WBV2-P596-001.md @@ -0,0 +1,8 @@ +# WBV2-P596-001 status + +- task: `WBV2-P596-001`; parent: `WBV2-P596-000`; status: `done` +- taskClass: `QUEUE_ENABLEMENT`; capabilityId: `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-P596-002` diff --git a/docs/status/WBV2-P596-002.md b/docs/status/WBV2-P596-002.md new file mode 100644 index 000000000..8246a44d9 --- /dev/null +++ b/docs/status/WBV2-P596-002.md @@ -0,0 +1,8 @@ +# WBV2-P596-002 status + +- task: `WBV2-P596-002`; parent: `WBV2-P596-001`; status: `done` +- taskClass: `SOURCE_IMPLEMENTATION`; capability: `CAP-RENDER-LIGHT-AREA-SHAPE`; behaviorMarker: `web_engine_blend_main_set_light_area_shape` +- 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-P596-003` diff --git a/docs/status/WBV2-P596-003.md b/docs/status/WBV2-P596-003.md new file mode 100644 index 000000000..2c6ef812c --- /dev/null +++ b/docs/status/WBV2-P596-003.md @@ -0,0 +1,8 @@ +# WBV2-P596-003 status + +- task: `WBV2-P596-003`; parent: `WBV2-P596-002`; status: `done` +- taskClass: `INTEGRATION_BUILD`; capabilityId: `null`; behaviorMarker: `INTEGRATION_BUILD_WEB_BUNDLE`; no new capability counted +- 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-P597-000` diff --git a/docs/tasks/WBV2-P595-002.md b/docs/tasks/WBV2-P595-002.md new file mode 100644 index 000000000..014485efc --- /dev/null +++ b/docs/tasks/WBV2-P595-002.md @@ -0,0 +1,38 @@ +# WBV2-P595-002: implement_capability_family_slice + +- task: WBV2-P595-002 +- parent: WBV2-P595-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-P595-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-P595-002 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P595-002/` +- Status: `docs/status/WBV2-P595-002.md` +- Manifest: `tests/golden/WBV2-P595-002/manifest.json` +- Rollback: restore WBV2-P595-001 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P595-003.md b/docs/tasks/WBV2-P595-003.md new file mode 100644 index 000000000..d0e6708a8 --- /dev/null +++ b/docs/tasks/WBV2-P595-003.md @@ -0,0 +1,38 @@ +# WBV2-P595-003: run_capability_family_smoke + +- task: WBV2-P595-003 +- parent: WBV2-P595-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-P595-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-P595-003 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P595-003/` +- Status: `docs/status/WBV2-P595-003.md` +- Manifest: `tests/golden/WBV2-P595-003/manifest.json` +- Rollback: restore WBV2-P595-002 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P596-000.md b/docs/tasks/WBV2-P596-000.md new file mode 100644 index 000000000..51a3a0e3b --- /dev/null +++ b/docs/tasks/WBV2-P596-000.md @@ -0,0 +1,35 @@ +# WBV2-P596-000: authorize_capability_family_wave + +- task: WBV2-P596-000 +- parent: WBV2-P595-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-P596-000 --write` + +## 失败边界 + +- missing source, unsupported capability or hash drift remains in_progress/blocked + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P596-000/` +- Status: `docs/status/WBV2-P596-000.md` +- Manifest: `tests/golden/WBV2-P596-000/manifest.json` +- Rollback: restore WBV2-P595-003 as queue parent and leave the wave in_progress. diff --git a/docs/tasks/WBV2-P596-001.md b/docs/tasks/WBV2-P596-001.md new file mode 100644 index 000000000..41a43c395 --- /dev/null +++ b/docs/tasks/WBV2-P596-001.md @@ -0,0 +1,38 @@ +# WBV2-P596-001: index_capability_family_batches + +- task: WBV2-P596-001 +- parent: WBV2-P596-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-P596-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-P596-001 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P596-001/` +- Status: `docs/status/WBV2-P596-001.md` +- Manifest: `tests/golden/WBV2-P596-001/manifest.json` +- Rollback: restore WBV2-P596-000 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P596-002.md b/docs/tasks/WBV2-P596-002.md new file mode 100644 index 000000000..d50b63521 --- /dev/null +++ b/docs/tasks/WBV2-P596-002.md @@ -0,0 +1,38 @@ +# WBV2-P596-002: implement_capability_family_slice + +- task: WBV2-P596-002 +- parent: WBV2-P596-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-P596-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-P596-002 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P596-002/` +- Status: `docs/status/WBV2-P596-002.md` +- Manifest: `tests/golden/WBV2-P596-002/manifest.json` +- Rollback: restore WBV2-P596-001 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P596-003.md b/docs/tasks/WBV2-P596-003.md new file mode 100644 index 000000000..1223c9e1c --- /dev/null +++ b/docs/tasks/WBV2-P596-003.md @@ -0,0 +1,38 @@ +# WBV2-P596-003: run_capability_family_smoke + +- task: WBV2-P596-003 +- parent: WBV2-P596-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-P596-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-P596-003 --write` + +## 失败边界 + +- missing source or unsupported capability remains in_progress/blocked +- representative implementation is never declared as full-family parity + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P596-003/` +- Status: `docs/status/WBV2-P596-003.md` +- Manifest: `tests/golden/WBV2-P596-003/manifest.json` +- Rollback: restore WBV2-P596-002 as queue parent and leave the task in_progress. diff --git a/docs/tasks/WBV2-P597-000.md b/docs/tasks/WBV2-P597-000.md new file mode 100644 index 000000000..d5bb324ac --- /dev/null +++ b/docs/tasks/WBV2-P597-000.md @@ -0,0 +1,35 @@ +# WBV2-P597-000: authorize_capability_family_wave + +- task: WBV2-P597-000 +- parent: WBV2-P596-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-P597-000 --write` + +## 失败边界 + +- missing source, unsupported capability or hash drift remains in_progress/blocked + +## 交付与回滚 + +- Reports: `tests/golden/WBV2-P597-000/` +- Status: `docs/status/WBV2-P597-000.md` +- Manifest: `tests/golden/WBV2-P597-000/manifest.json` +- Rollback: restore WBV2-P596-003 as queue parent and leave the wave in_progress. diff --git a/nextTask.md b/nextTask.md index 564ff8193..c50e64629 100644 --- a/nextTask.md +++ b/nextTask.md @@ -412,12 +412,12 @@ Recorded: 2026-08-29 Asia/Shanghai | Field | Value | | --- | --- | -| Current task when this file was written | `WBV2-P595-001` | +| Current task when this file was written | `WBV2-P597-000` | | Current task state | `in_progress` | -| Parent manifest | `tests/golden/WBV2-P595-000/manifest.json` | -| Current task card | `docs/tasks/WBV2-P595-001.md` | -| Current task-context nextTask | `WBV2-P595-002` | -| Focused command | `node tools/web/generate-wbv2-capability-continuation-slice.mjs --task WBV2-P595-001 --write` | +| Parent manifest | `tests/golden/WBV2-P596-003/manifest.json` | +| Current task card | `docs/tasks/WBV2-P597-000.md` | +| Current task-context nextTask | `NONE` | +| Focused command | `node tools/web/generate-wbv2-capability-continuation-root.mjs` | The snapshot is informational and may become stale. On every resume, the queue, parent manifest, and fresh `print-task-context` output win. Never infer a task diff --git a/tests/golden/WBV2-P595-001/capability-continuation-plan.json b/tests/golden/WBV2-P595-001/capability-continuation-plan.json new file mode 100644 index 000000000..d6e2b3fb1 --- /dev/null +++ b/tests/golden/WBV2-P595-001/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P595", + "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-P595-000", + "phase": "P595", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P594-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p595-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P595-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-P595-001", + "phase": "P595", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P595-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p595-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P595-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-P595-002", + "phase": "P595", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P595-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p595-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P595-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-P595-003", + "phase": "P595", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P595-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p595-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P595-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-P595-001/implementation-report.json b/tests/golden/WBV2-P595-001/implementation-report.json new file mode 100644 index 000000000..fc2e3719d --- /dev/null +++ b/tests/golden/WBV2-P595-001/implementation-report.json @@ -0,0 +1,35 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P595-001", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "taskClass": "QUEUE_ENABLEMENT", + "capabilityId": null, + "behaviorMarker": "BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX", + "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-P595-002" +} diff --git a/tests/golden/WBV2-P595-001/manifest.json b/tests/golden/WBV2-P595-001/manifest.json new file mode 100644 index 000000000..7e0ddbbe8 --- /dev/null +++ b/tests/golden/WBV2-P595-001/manifest.json @@ -0,0 +1,56 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P595-001", + "parentTask": "WBV2-P595-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-P595-000/manifest.json", + "sha256": "028cce0a0f0246f5661af6b77c6bacb5e9760a49c929d9370ec53d4e661aea73" + }, + "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-P595-001/implementation-report.json", + "sha256": "c27dffc85374926c7fc6708ec06b58a08944674c456b612d1f577c7385dac938" + }, + "status": { + "path": "docs/status/WBV2-P595-001.md", + "sha256": "07b1a8f0b2b6782431e7c67c91affc8f977f2f017a728cb30ac362904c6c4371" + }, + "plan": { + "path": "tests/golden/WBV2-P595-001/capability-continuation-plan.json", + "sha256": "a102c89fba3eca646102a262b7ac0124f8be06b8abff4858cf088029e1c7dbe7" + }, + "taskContext": { + "path": "tests/golden/WBV2-P595-001/task-context.json", + "sha256": "3d0cad70bf523851fc81e7089852ce887b4864d6846a50b5c90a8066a52f9e3e" + } + }, + "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-P595-002" +} diff --git a/tests/golden/WBV2-P595-001/task-context.json b/tests/golden/WBV2-P595-001/task-context.json new file mode 100644 index 000000000..2ca453558 --- /dev/null +++ b/tests/golden/WBV2-P595-001/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P595-001", + "parentTask": "WBV2-P595-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-P595-001 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 4208, + "contextRemainingTokens": 1051 + }, + "source": { + "bytes": 5696, + "tokens": 1425 + }, + "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-P595-001/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P595-001.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P595-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-P595-002", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P595-001.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P595-000/manifest.json", + "parentStatus": "docs/status/WBV2-P595-000.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P595-001.md", + "tests/golden/WBV2-P595-000/manifest.json", + "docs/status/WBV2-P595-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-P595-000", + "parentTask": "WBV2-P594-003", + "status": "done", + "nextTask": "WBV2-P595-001", + "artifactCount": 4 + }, + "statusSummary": [ + "# WBV2-P595-000 status", + "- task: `WBV2-P595-000`; parent: `WBV2-P594-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-P595-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-P595-001.md", + "bytes": 1308, + "lines": 39, + "tokens": 327 + }, + { + "path": "tests/golden/WBV2-P595-000/manifest.json", + "bytes": 1289, + "lines": 40, + "tokens": 323 + }, + { + "path": "docs/status/WBV2-P595-000.md", + "bytes": 292, + "lines": 8, + "tokens": 73 + } + ], + "sourceTokens": 1425, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1425, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2449, + "serializedContextTokens": 624, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P595-002/capability-continuation-plan.json b/tests/golden/WBV2-P595-002/capability-continuation-plan.json new file mode 100644 index 000000000..79e92894f --- /dev/null +++ b/tests/golden/WBV2-P595-002/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P595", + "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-P595-000", + "phase": "P595", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P594-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p595-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P595-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-P595-001", + "phase": "P595", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P595-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p595-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P595-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-P595-002", + "phase": "P595", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P595-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p595-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P595-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-P595-003", + "phase": "P595", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P595-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p595-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P595-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-P595-002/implementation-report.json b/tests/golden/WBV2-P595-002/implementation-report.json new file mode 100644 index 000000000..2259caf2f --- /dev/null +++ b/tests/golden/WBV2-P595-002/implementation-report.json @@ -0,0 +1,72 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P595-002", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "taskClass": "SOURCE_IMPLEMENTATION", + "status": "PASS", + "capabilityId": "CAP-RENDER-LIGHT-TYPE", + "behaviorMarker": "web_engine_blend_main_set_light_type", + "family": "RENDER.LIGHT_TYPE", + "sourcePaths": [ + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", + "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", + "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", + "web/protocol/web-engine.ts", + "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 Light::type through setLightProperties", + "hashes": { + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp": { + "before": "e0fc6c8a991a27739b5e85ed8c7fb7eb54ef1215c79309d06b68ff4e8e7b882e", + "after": "9017b899fa4f2a94f4a8ae8efcf7401953708646f0dcedcdc03366f7ec774642" + }, + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h": { + "before": "729a064ebcffc824cd29ad41b2824afb754b34fdfe1d7c313723433a153b99e3", + "after": "beb2c9960a1ab41d080f5fb65508857e79364e6bbf391a1233dbfe9b48bee31d" + }, + "web/protocol/web-engine.ts": { + "before": "9a520f3702bf95782e5ab3792ced646c7945c3cda7fce351265f6af12a3ffd28", + "after": "51e23b121feb9e1b0c2d3b76dbc661a837928d848470c5016f2e27d9bbb27b6b" + }, + "web/app/src/workers/web-engine.worker.ts": { + "before": "c16ef2bbe311a4134d9236cbf7b4f587abeb26676032b3a17f4529247f591ff9", + "after": "8be323d7eb0af2eedc4b210290de677d7caff10410ca8d6cff4915936f3c1261" + }, + "web/app/src/app/App.tsx": { + "before": "cc3e400c6ecc4cef2c75386bba8ea8834b864430625a0a746be3c4dad2e3c0b7", + "after": "36661aa6786b22d8ccbd456d15e37e18dea94ac125ef724d2972876cfd59e801" + }, + "web/app/src/vendor/blender/web_engine.wasm": { + "before": "b1ad4a14f361b5ec1e01730b0a76ae629e190406dd480ecb8f3b09398f89ec3c", + "after": "a4644a061191d914e530f4922d573e4f3f64d8e703b9835ece7287c196729e1d" + }, + "web/app/public/vendor/blender/web_engine.wasm": { + "before": "b1ad4a14f361b5ec1e01730b0a76ae629e190406dd480ecb8f3b09398f89ec3c", + "after": "a4644a061191d914e530f4922d573e4f3f64d8e703b9835ece7287c196729e1d" + } + }, + "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-P595-003" +} diff --git a/tests/golden/WBV2-P595-002/manifest.json b/tests/golden/WBV2-P595-002/manifest.json new file mode 100644 index 000000000..7d1d6f8fa --- /dev/null +++ b/tests/golden/WBV2-P595-002/manifest.json @@ -0,0 +1,84 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P595-002", + "parentTask": "WBV2-P595-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-P595-001/manifest.json", + "sha256": "ebbeb11ec01fcb49e42084b891a1654aa56ba221ac0dba174b776605f627b1b8" + }, + "source1": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", + "sha256": "e344a13f585f489ecc7b7e2fc6e4f0e8bfff67b7397ded89fb17405632a52046" + }, + "source2": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", + "sha256": "c51a343cf2a36b63db14befd2e42780e2cdedc2e3178bae937c664eb69463036" + }, + "source3": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", + "sha256": "e58055f9ce5319e0e6305e3cc885e5084e2fc2b85ddd114966af7099502d34de" + }, + "source4": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", + "sha256": "5721c66f8a9f0a5707eaf9f19ffd7cec22dce85ccdff287bd11b8023132fec03" + }, + "source5": { + "path": "web/protocol/web-engine.ts", + "sha256": "0d7211f484ac4bc69ec4993733a873a223d2366cc6a19c243e15a47e28d13258" + }, + "source6": { + "path": "web/app/src/workers/web-engine.worker.ts", + "sha256": "fada4a8e329fc1d75ef2f9362bafb800d80fd58649a5deea63b3cb216522f496" + }, + "source7": { + "path": "web/app/src/app/App.tsx", + "sha256": "d870be204d55e747a3e7e056e82f4e5481cd8a1dbd042e093fb6af0c0cf22c83" + }, + "source8": { + "path": "web/app/src/vendor/blender/web_engine.wasm", + "sha256": "2948780b8130f88e69140c02cf4c6f2604ac59d55209b9541b6c80bb503b377c" + }, + "source9": { + "path": "web/app/public/vendor/blender/web_engine.wasm", + "sha256": "2948780b8130f88e69140c02cf4c6f2604ac59d55209b9541b6c80bb503b377c" + }, + "report": { + "path": "tests/golden/WBV2-P595-002/implementation-report.json", + "sha256": "73d9955762745bce70f40e78cb26fe623cb133fd55fdc9b6005d98747ed03649" + }, + "status": { + "path": "docs/status/WBV2-P595-002.md", + "sha256": "2186f7766992c47fef21ebb52981c4f5a76445dcee48ef0884da93038dc572b3" + }, + "plan": { + "path": "tests/golden/WBV2-P595-002/capability-continuation-plan.json", + "sha256": "cc10bc1d509bf1c91b6d23cb4388e59b7acc890607b6cb12e87e700982924141" + }, + "taskContext": { + "path": "tests/golden/WBV2-P595-002/task-context.json", + "sha256": "840119a7d7a3086912af2919ca8a1f653349813630fa9fce71db41d95722ba42" + } + }, + "assertions": { + "capabilityFamily": "RENDER.LIGHT_TYPE", + "capabilityId": "CAP-RENDER-LIGHT-TYPE", + "behaviorMarker": "web_engine_blend_main_set_light_type", + "sourceBacked": true, + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P595-003" +} diff --git a/tests/golden/WBV2-P595-002/task-context.json b/tests/golden/WBV2-P595-002/task-context.json new file mode 100644 index 000000000..85495afcf --- /dev/null +++ b/tests/golden/WBV2-P595-002/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P595-002", + "parentTask": "WBV2-P595-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-P595-002 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 3552, + "contextRemainingTokens": 886 + }, + "source": { + "bytes": 6352, + "tokens": 1590 + }, + "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-P595-002/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P595-002.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P595-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-P595-003", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P595-002.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P595-001/manifest.json", + "parentStatus": "docs/status/WBV2-P595-001.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P595-002.md", + "tests/golden/WBV2-P595-001/manifest.json", + "docs/status/WBV2-P595-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-P595-001", + "parentTask": "WBV2-P595-000", + "status": "done", + "nextTask": "WBV2-P595-002", + "artifactCount": 7 + }, + "statusSummary": [ + "# WBV2-P595-001 status", + "- task: `WBV2-P595-001`; parent: `WBV2-P595-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-P595-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-P595-002.md", + "bytes": 1329, + "lines": 39, + "tokens": 333 + }, + { + "path": "tests/golden/WBV2-P595-001/manifest.json", + "bytes": 1895, + "lines": 54, + "tokens": 474 + }, + { + "path": "docs/status/WBV2-P595-001.md", + "bytes": 321, + "lines": 8, + "tokens": 81 + } + ], + "sourceTokens": 1590, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1590, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2614, + "serializedContextTokens": 629, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P595-003/capability-continuation-plan.json b/tests/golden/WBV2-P595-003/capability-continuation-plan.json new file mode 100644 index 000000000..13fb9036b --- /dev/null +++ b/tests/golden/WBV2-P595-003/capability-continuation-plan.json @@ -0,0 +1,181 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P595", + "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-P595-000", + "phase": "P595", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P594-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p595-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P595-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-P595-001", + "phase": "P595", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P595-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p595-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P595-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-P595-002", + "phase": "P595", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P595-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p595-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P595-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-P595-003", + "phase": "P595", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P595-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p595-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P595-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-P596-000", + "phase": "P596", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P595-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P596-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-P595-003/implementation-report.json b/tests/golden/WBV2-P595-003/implementation-report.json new file mode 100644 index 000000000..1a8a229e4 --- /dev/null +++ b/tests/golden/WBV2-P595-003/implementation-report.json @@ -0,0 +1,36 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P595-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-P596-000" +} diff --git a/tests/golden/WBV2-P595-003/manifest.json b/tests/golden/WBV2-P595-003/manifest.json new file mode 100644 index 000000000..67d9f6282 --- /dev/null +++ b/tests/golden/WBV2-P595-003/manifest.json @@ -0,0 +1,60 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P595-003", + "parentTask": "WBV2-P595-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-P595-002/manifest.json", + "sha256": "a5f760cf20906e4c5fea07a1a71e13e1f3ddf000677c6f1fc674b30eb7263bef" + }, + "source1": { + "path": "web/protocol/web-engine-capabilities.ts", + "sha256": "d6739e27f9617c641bbbe29d49f520e342441d8708f0fa8087b8eae80ea6ffcb" + }, + "source2": { + "path": "web/app/src/workers/web-engine.worker.ts", + "sha256": "fada4a8e329fc1d75ef2f9362bafb800d80fd58649a5deea63b3cb216522f496" + }, + "source3": { + "path": "web/app/src/vendor/blender/web_engine.wasm", + "sha256": "2948780b8130f88e69140c02cf4c6f2604ac59d55209b9541b6c80bb503b377c" + }, + "report": { + "path": "tests/golden/WBV2-P595-003/implementation-report.json", + "sha256": "9df8e7576971f52f25105c112739552319ff42946add2c01c39b59dda9c766fa" + }, + "status": { + "path": "docs/status/WBV2-P595-003.md", + "sha256": "5f281c203a0c9f09279a7c157af7122126664bdc62ba08d43430e5c1aebf3e01" + }, + "plan": { + "path": "tests/golden/WBV2-P595-003/capability-continuation-plan.json", + "sha256": "2e9d60c6fc11f05376864cce005ef6a5f6f5a989507db0f1627025a3b05429e2" + }, + "taskContext": { + "path": "tests/golden/WBV2-P595-003/task-context.json", + "sha256": "a9e517958e39e565481f15c3e3988e4ae8e4b7ecf088d8e771cb1c5339c370bd" + } + }, + "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-P596-000" +} diff --git a/tests/golden/WBV2-P595-003/task-context.json b/tests/golden/WBV2-P595-003/task-context.json new file mode 100644 index 000000000..85afbfe7d --- /dev/null +++ b/tests/golden/WBV2-P595-003/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P595-003", + "parentTask": "WBV2-P595-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-P595-003 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 2161, + "contextRemainingTokens": 538 + }, + "source": { + "bytes": 7743, + "tokens": 1938 + }, + "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-P595-003/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P595-003.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P595-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-P596-000", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P595-003.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P595-002/manifest.json", + "parentStatus": "docs/status/WBV2-P595-002.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P595-003.md", + "tests/golden/WBV2-P595-002/manifest.json", + "docs/status/WBV2-P595-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-P595-002", + "parentTask": "WBV2-P595-001", + "status": "done", + "nextTask": "WBV2-P595-003", + "artifactCount": 14 + }, + "statusSummary": [ + "# WBV2-P595-002 status", + "- task: `WBV2-P595-002`; parent: `WBV2-P595-001`; status: `done`", + "- capability-family implementation: `PASS`; taskClass `SOURCE_IMPLEMENTATION`; `CAP-RENDER-LIGHT-TYPE` / `web_engine_blend_main_set_light_type`; 27 deduplicated batches; 6609 pending rows", + "- Chromium, E2E receipts and completion overlay: `DEFERRED`", + "- inventory unchanged: `6900/6618`, effective `290/6609`", + "- nextTask: `WBV2-P595-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-P595-003.md", + "bytes": 1293, + "lines": 39, + "tokens": 324 + }, + { + "path": "tests/golden/WBV2-P595-002/manifest.json", + "bytes": 3221, + "lines": 85, + "tokens": 806 + }, + { + "path": "docs/status/WBV2-P595-002.md", + "bytes": 422, + "lines": 8, + "tokens": 106 + } + ], + "sourceTokens": 1938, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1938, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2962, + "serializedContextTokens": 622, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P596-000/capability-continuation-plan.json b/tests/golden/WBV2-P596-000/capability-continuation-plan.json new file mode 100644 index 000000000..ffb7ea2bd --- /dev/null +++ b/tests/golden/WBV2-P596-000/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P596", + "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-P596-000", + "phase": "P596", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P595-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P596-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-P596-001", + "phase": "P596", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P596-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P596-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-P596-002", + "phase": "P596", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P596-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P596-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-P596-003", + "phase": "P596", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P596-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P596-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-P596-000/capability-continuation-root-report.json b/tests/golden/WBV2-P596-000/capability-continuation-root-report.json new file mode 100644 index 000000000..fa28c456d --- /dev/null +++ b/tests/golden/WBV2-P596-000/capability-continuation-root-report.json @@ -0,0 +1,33 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P596-000", + "operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION", + "taskClass": "QUEUE_ENABLEMENT", + "capabilityId": null, + "behaviorMarker": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION", + "status": "PASS", + "parent": { + "task": "WBV2-P595-003", + "manifest": "tests/golden/WBV2-P595-003/manifest.json", + "manifestSha256": "d8a82fad21ebea571b44f713233ba84cbf887ae109cbd5fd04f78f853854989c" + }, + "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-P596-001" +} diff --git a/tests/golden/WBV2-P596-000/manifest.json b/tests/golden/WBV2-P596-000/manifest.json new file mode 100644 index 000000000..1581ec89a --- /dev/null +++ b/tests/golden/WBV2-P596-000/manifest.json @@ -0,0 +1,42 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P596-000", + "parentTask": "WBV2-P595-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-P595-003/manifest.json", + "sha256": "836f09563d3beeb57fbbac62e590c9577130ee560dbb28b6fc3f8cc1a2aa854a" + }, + "plan": { + "path": "tests/golden/WBV2-P596-000/capability-continuation-plan.json", + "sha256": "00812ff82043ba01e715a38e2c4612bbb91c61e9a6aeb6693a7b55543bda2d65" + }, + "report": { + "path": "tests/golden/WBV2-P596-000/capability-continuation-root-report.json", + "sha256": "9638d33968b0f4fa6a5e801dbd1837083a708bea7403d4c1be651e92cf0ddcef" + }, + "status": { + "path": "docs/status/WBV2-P596-000.md", + "sha256": "f9e4f65c29bbae4225c21eb788ca1913539751c01b05b8df7720b4a81ad5c163" + } + }, + "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-P596-001" +} diff --git a/tests/golden/WBV2-P596-000/task-context.json b/tests/golden/WBV2-P596-000/task-context.json new file mode 100644 index 000000000..2b8084186 --- /dev/null +++ b/tests/golden/WBV2-P596-000/task-context.json @@ -0,0 +1,163 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P596-000", + "parentTask": "WBV2-P595-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-P596-000 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 3363, + "contextRemainingTokens": 840 + }, + "source": { + "bytes": 6541, + "tokens": 1636 + }, + "selected": [], + "excluded": [ + { + "path": "blender-5.2.0/source/blender", + "bytes": 12546, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P596-000/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P596-000.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P596-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-P596-001", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P596-000.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P595-003/manifest.json", + "parentStatus": "docs/status/WBV2-P595-003.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P596-000.md", + "tests/golden/WBV2-P595-003/manifest.json", + "docs/status/WBV2-P595-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-P595-003", + "parentTask": "WBV2-P595-002", + "status": "done", + "nextTask": "WBV2-P596-000", + "artifactCount": 8 + }, + "statusSummary": [ + "# WBV2-P595-003 status", + "- task: `WBV2-P595-003`; parent: `WBV2-P595-002`; status: `done`", + "- taskClass: `INTEGRATION_BUILD`; capability: `CAPABILITY-IMPLEMENTATION-CAPABILITY_FAMILY_SMOKE`; behaviorMarker: `WEB_ENGINE_COMMAND_CAPABILITIES`", + "- 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-P596-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-P596-000.md", + "bytes": 1060, + "lines": 36, + "tokens": 265 + }, + { + "path": "tests/golden/WBV2-P595-003/manifest.json", + "bytes": 2204, + "lines": 61, + "tokens": 551 + }, + { + "path": "docs/status/WBV2-P595-003.md", + "bytes": 470, + "lines": 9, + "tokens": 118 + } + ], + "sourceTokens": 1636, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1636, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2660, + "serializedContextTokens": 626, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P596-001/capability-continuation-plan.json b/tests/golden/WBV2-P596-001/capability-continuation-plan.json new file mode 100644 index 000000000..68d891e87 --- /dev/null +++ b/tests/golden/WBV2-P596-001/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P596", + "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-P596-000", + "phase": "P596", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P595-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P596-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-P596-001", + "phase": "P596", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P596-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P596-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-P596-002", + "phase": "P596", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P596-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P596-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-P596-003", + "phase": "P596", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P596-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P596-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-P596-001/implementation-report.json b/tests/golden/WBV2-P596-001/implementation-report.json new file mode 100644 index 000000000..73c77acc4 --- /dev/null +++ b/tests/golden/WBV2-P596-001/implementation-report.json @@ -0,0 +1,35 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P596-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-P596-002" +} diff --git a/tests/golden/WBV2-P596-001/manifest.json b/tests/golden/WBV2-P596-001/manifest.json new file mode 100644 index 000000000..1104a54a0 --- /dev/null +++ b/tests/golden/WBV2-P596-001/manifest.json @@ -0,0 +1,56 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P596-001", + "parentTask": "WBV2-P596-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-P596-000/manifest.json", + "sha256": "d3c9b9eef1e512d384cf29a914e3369e9aacafa6db5cba5d70b9975aeb9bab5c" + }, + "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-P596-001/implementation-report.json", + "sha256": "5f7b2edb0495745614ecfaba43470bf49906ba1e634a4738aa310bed5b4a0c73" + }, + "status": { + "path": "docs/status/WBV2-P596-001.md", + "sha256": "4dcab107156da555e29c9a6b33021111b47d4a76136697eed4f954fcdcfb464d" + }, + "plan": { + "path": "tests/golden/WBV2-P596-001/capability-continuation-plan.json", + "sha256": "61591c0607349c61916fc7a29ae3615aa10a8439e4cec5a997df5fee1dec80db" + }, + "taskContext": { + "path": "tests/golden/WBV2-P596-001/task-context.json", + "sha256": "d91bb9842bff9d6eff3844770087c41a5563abd0ca25b6752789669cdcfe260a" + } + }, + "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-P596-002" +} diff --git a/tests/golden/WBV2-P596-001/task-context.json b/tests/golden/WBV2-P596-001/task-context.json new file mode 100644 index 000000000..e702c2567 --- /dev/null +++ b/tests/golden/WBV2-P596-001/task-context.json @@ -0,0 +1,167 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P596-001", + "parentTask": "WBV2-P596-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-P596-001 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 4208, + "contextRemainingTokens": 1051 + }, + "source": { + "bytes": 5696, + "tokens": 1425 + }, + "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-P596-001/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P596-001.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P596-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-P596-002", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P596-001.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P596-000/manifest.json", + "parentStatus": "docs/status/WBV2-P596-000.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P596-001.md", + "tests/golden/WBV2-P596-000/manifest.json", + "docs/status/WBV2-P596-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-P596-000", + "parentTask": "WBV2-P595-003", + "status": "done", + "nextTask": "WBV2-P596-001", + "artifactCount": 4 + }, + "statusSummary": [ + "# WBV2-P596-000 status", + "- task: `WBV2-P596-000`; parent: `WBV2-P595-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-P596-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-P596-001.md", + "bytes": 1308, + "lines": 39, + "tokens": 327 + }, + { + "path": "tests/golden/WBV2-P596-000/manifest.json", + "bytes": 1289, + "lines": 40, + "tokens": 323 + }, + { + "path": "docs/status/WBV2-P596-000.md", + "bytes": 292, + "lines": 8, + "tokens": 73 + } + ], + "sourceTokens": 1425, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1425, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2449, + "serializedContextTokens": 624, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P596-002/capability-continuation-plan.json b/tests/golden/WBV2-P596-002/capability-continuation-plan.json new file mode 100644 index 000000000..1d32cc3ec --- /dev/null +++ b/tests/golden/WBV2-P596-002/capability-continuation-plan.json @@ -0,0 +1,151 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P596", + "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-P596-000", + "phase": "P596", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P595-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P596-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-P596-001", + "phase": "P596", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P596-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P596-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-P596-002", + "phase": "P596", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P596-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P596-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-P596-003", + "phase": "P596", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P596-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P596-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-P596-002/implementation-report.json b/tests/golden/WBV2-P596-002/implementation-report.json new file mode 100644 index 000000000..53e2f1259 --- /dev/null +++ b/tests/golden/WBV2-P596-002/implementation-report.json @@ -0,0 +1,72 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P596-002", + "operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION", + "taskClass": "SOURCE_IMPLEMENTATION", + "status": "PASS", + "capabilityId": "CAP-RENDER-LIGHT-AREA-SHAPE", + "behaviorMarker": "web_engine_blend_main_set_light_area_shape", + "family": "RENDER.LIGHT_AREA_SHAPE", + "sourcePaths": [ + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", + "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", + "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", + "web/protocol/web-engine.ts", + "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 Light::area_shape through setLightProperties", + "hashes": { + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp": { + "before": "9017b899fa4f2a94f4a8ae8efcf7401953708646f0dcedcdc03366f7ec774642", + "after": "e344a13f585f489ecc7b7e2fc6e4f0e8bfff67b7397ded89fb17405632a52046" + }, + "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h": { + "before": "beb2c9960a1ab41d080f5fb65508857e79364e6bbf391a1233dbfe9b48bee31d", + "after": "c51a343cf2a36b63db14befd2e42780e2cdedc2e3178bae937c664eb69463036" + }, + "web/protocol/web-engine.ts": { + "before": "51e23b121feb9e1b0c2d3b76dbc661a837928d848470c5016f2e27d9bbb27b6b", + "after": "0d7211f484ac4bc69ec4993733a873a223d2366cc6a19c243e15a47e28d13258" + }, + "web/app/src/workers/web-engine.worker.ts": { + "before": "8be323d7eb0af2eedc4b210290de677d7caff10410ca8d6cff4915936f3c1261", + "after": "fada4a8e329fc1d75ef2f9362bafb800d80fd58649a5deea63b3cb216522f496" + }, + "web/app/src/app/App.tsx": { + "before": "36661aa6786b22d8ccbd456d15e37e18dea94ac125ef724d2972876cfd59e801", + "after": "d870be204d55e747a3e7e056e82f4e5481cd8a1dbd042e093fb6af0c0cf22c83" + }, + "web/app/src/vendor/blender/web_engine.wasm": { + "before": "a4644a061191d914e530f4922d573e4f3f64d8e703b9835ece7287c196729e1d", + "after": "2948780b8130f88e69140c02cf4c6f2604ac59d55209b9541b6c80bb503b377c" + }, + "web/app/public/vendor/blender/web_engine.wasm": { + "before": "a4644a061191d914e530f4922d573e4f3f64d8e703b9835ece7287c196729e1d", + "after": "2948780b8130f88e69140c02cf4c6f2604ac59d55209b9541b6c80bb503b377c" + } + }, + "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-P596-003" +} diff --git a/tests/golden/WBV2-P596-002/manifest.json b/tests/golden/WBV2-P596-002/manifest.json new file mode 100644 index 000000000..3710537b1 --- /dev/null +++ b/tests/golden/WBV2-P596-002/manifest.json @@ -0,0 +1,84 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P596-002", + "parentTask": "WBV2-P596-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-P596-001/manifest.json", + "sha256": "a41ec34576e834cf36b46ddb6fa9ead82a5fb7e5a12f27ef5aed6985a635b90d" + }, + "source1": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", + "sha256": "e344a13f585f489ecc7b7e2fc6e4f0e8bfff67b7397ded89fb17405632a52046" + }, + "source2": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", + "sha256": "c51a343cf2a36b63db14befd2e42780e2cdedc2e3178bae937c664eb69463036" + }, + "source3": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", + "sha256": "e58055f9ce5319e0e6305e3cc885e5084e2fc2b85ddd114966af7099502d34de" + }, + "source4": { + "path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", + "sha256": "5721c66f8a9f0a5707eaf9f19ffd7cec22dce85ccdff287bd11b8023132fec03" + }, + "source5": { + "path": "web/protocol/web-engine.ts", + "sha256": "0d7211f484ac4bc69ec4993733a873a223d2366cc6a19c243e15a47e28d13258" + }, + "source6": { + "path": "web/app/src/workers/web-engine.worker.ts", + "sha256": "fada4a8e329fc1d75ef2f9362bafb800d80fd58649a5deea63b3cb216522f496" + }, + "source7": { + "path": "web/app/src/app/App.tsx", + "sha256": "d870be204d55e747a3e7e056e82f4e5481cd8a1dbd042e093fb6af0c0cf22c83" + }, + "source8": { + "path": "web/app/src/vendor/blender/web_engine.wasm", + "sha256": "2948780b8130f88e69140c02cf4c6f2604ac59d55209b9541b6c80bb503b377c" + }, + "source9": { + "path": "web/app/public/vendor/blender/web_engine.wasm", + "sha256": "2948780b8130f88e69140c02cf4c6f2604ac59d55209b9541b6c80bb503b377c" + }, + "report": { + "path": "tests/golden/WBV2-P596-002/implementation-report.json", + "sha256": "bd4b1bf157192580dc49d0cd0085b30f8275f4ada40ef2b85bbf6399279d18df" + }, + "status": { + "path": "docs/status/WBV2-P596-002.md", + "sha256": "3c4fd86b7c21296277c378106deb04e1ced600e66e5856fda60a3bc5fd950103" + }, + "plan": { + "path": "tests/golden/WBV2-P596-002/capability-continuation-plan.json", + "sha256": "4638facb72a5cd0c43370388b47cac9b7c29e8f4ec45ccb559d2cea4718cb235" + }, + "taskContext": { + "path": "tests/golden/WBV2-P596-002/task-context.json", + "sha256": "46ccba3ef5c22ae9410ce26a17cf0a4de24c94703866d50955ab69890c269f20" + } + }, + "assertions": { + "capabilityFamily": "RENDER.LIGHT_AREA_SHAPE", + "capabilityId": "CAP-RENDER-LIGHT-AREA-SHAPE", + "behaviorMarker": "web_engine_blend_main_set_light_area_shape", + "sourceBacked": true, + "batchCount": 27, + "pendingRows": 6609, + "verificationDeferred": true, + "completionOverlayWritten": false, + "inventoryTotal": 6900, + "effectiveCompleted": 290, + "effectivePending": 6609, + "historicalReproduction": false + }, + "nextTask": "WBV2-P596-003" +} diff --git a/tests/golden/WBV2-P596-002/task-context.json b/tests/golden/WBV2-P596-002/task-context.json new file mode 100644 index 000000000..d580ef5a7 --- /dev/null +++ b/tests/golden/WBV2-P596-002/task-context.json @@ -0,0 +1,168 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P596-002", + "parentTask": "WBV2-P596-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-P596-002 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 3224, + "contextRemainingTokens": 805 + }, + "source": { + "bytes": 6680, + "tokens": 1671 + }, + "selected": [], + "excluded": [ + { + "path": "blender-5.2.0/source/blender", + "bytes": 12546, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P27-001/verification-batch-plan.json", + "bytes": 21184, + "reason": "EVIDENCE_BYTE_BUDGET" + }, + { + "path": "tests/golden/WBV2-P596-002/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P596-002.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P596-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-P596-003", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P596-002.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P596-001/manifest.json", + "parentStatus": "docs/status/WBV2-P596-001.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P596-002.md", + "tests/golden/WBV2-P596-001/manifest.json", + "docs/status/WBV2-P596-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-P596-001", + "parentTask": "WBV2-P596-000", + "status": "done", + "nextTask": "WBV2-P596-002", + "artifactCount": 7 + }, + "statusSummary": [ + "# WBV2-P596-001 status", + "- task: `WBV2-P596-001`; parent: `WBV2-P596-000`; status: `done`", + "- taskClass: `QUEUE_ENABLEMENT`; capability: `CAPABILITY-INVENTORY-CAPABILITY_BATCH_INDEX`; 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-P596-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-P596-002.md", + "bytes": 1329, + "lines": 39, + "tokens": 333 + }, + { + "path": "tests/golden/WBV2-P596-001/manifest.json", + "bytes": 2068, + "lines": 57, + "tokens": 517 + }, + { + "path": "docs/status/WBV2-P596-001.md", + "bytes": 476, + "lines": 9, + "tokens": 119 + } + ], + "sourceTokens": 1671, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1671, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2695, + "serializedContextTokens": 629, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2-P596-003/capability-continuation-plan.json b/tests/golden/WBV2-P596-003/capability-continuation-plan.json new file mode 100644 index 000000000..81832415c --- /dev/null +++ b/tests/golden/WBV2-P596-003/capability-continuation-plan.json @@ -0,0 +1,181 @@ +{ + "schemaVersion": 1, + "planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P596", + "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-P596-000", + "phase": "P596", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P595-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P596-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-P596-001", + "phase": "P596", + "title": "index_capability_family_batches", + "kind": "feature", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P596-000" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-001", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P596-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-P596-002", + "phase": "P596", + "title": "implement_capability_family_slice", + "kind": "feature", + "owner": "IMPLEMENTATION", + "dependsOn": [ + "WBV2-P596-001" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-002", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P596-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-P596-003", + "phase": "P596", + "title": "run_capability_family_smoke", + "kind": "enabling", + "owner": "RELEASE", + "dependsOn": [ + "WBV2-P596-002" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p596-003", + "gate": "IMPLEMENTATION", + "card": "docs/tasks/WBV2-P596-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-P597-000", + "phase": "P597", + "title": "authorize_capability_family_wave", + "kind": "enabling", + "owner": "PROGRAM", + "dependsOn": [ + "WBV2-P596-003" + ], + "parityId": null, + "implementationClass": "SOURCE_BACKED", + "parallelGroup": "p597-000", + "gate": "G1", + "card": "docs/tasks/WBV2-P597-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-P596-003/implementation-report.json b/tests/golden/WBV2-P596-003/implementation-report.json new file mode 100644 index 000000000..cbcb4bad9 --- /dev/null +++ b/tests/golden/WBV2-P596-003/implementation-report.json @@ -0,0 +1,36 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P596-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-P597-000" +} diff --git a/tests/golden/WBV2-P596-003/manifest.json b/tests/golden/WBV2-P596-003/manifest.json new file mode 100644 index 000000000..002088aab --- /dev/null +++ b/tests/golden/WBV2-P596-003/manifest.json @@ -0,0 +1,60 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P596-003", + "parentTask": "WBV2-P596-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-P596-002/manifest.json", + "sha256": "59f9061beb9a5f0ccb73519b491b172171ef48e65d552b70fc8dbc2306484dda" + }, + "source1": { + "path": "web/protocol/web-engine-capabilities.ts", + "sha256": "d6739e27f9617c641bbbe29d49f520e342441d8708f0fa8087b8eae80ea6ffcb" + }, + "source2": { + "path": "web/app/src/workers/web-engine.worker.ts", + "sha256": "fada4a8e329fc1d75ef2f9362bafb800d80fd58649a5deea63b3cb216522f496" + }, + "source3": { + "path": "web/app/src/vendor/blender/web_engine.wasm", + "sha256": "2948780b8130f88e69140c02cf4c6f2604ac59d55209b9541b6c80bb503b377c" + }, + "report": { + "path": "tests/golden/WBV2-P596-003/implementation-report.json", + "sha256": "8ac65d81296e6216927ba8510df997862f84a283195a001b28ad64f39330af4f" + }, + "status": { + "path": "docs/status/WBV2-P596-003.md", + "sha256": "7ea89ef871f0dfcd9ca1878ed2611d257d0f0e4d2a733b17eaeceac3426c7d1b" + }, + "plan": { + "path": "tests/golden/WBV2-P596-003/capability-continuation-plan.json", + "sha256": "02e40a65d88b2578496ecf4aa48d43b643d78a7106049116d2a811e64419e0ca" + }, + "taskContext": { + "path": "tests/golden/WBV2-P596-003/task-context.json", + "sha256": "381b7e633d0e49868c752cf692bc355c3a2fc3012f4d1fd3c6fc61ed27cb29f7" + } + }, + "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-P597-000" +} diff --git a/tests/golden/WBV2-P596-003/task-context.json b/tests/golden/WBV2-P596-003/task-context.json new file mode 100644 index 000000000..729ae82c8 --- /dev/null +++ b/tests/golden/WBV2-P596-003/task-context.json @@ -0,0 +1,168 @@ +{ + "schemaVersion": 1, + "task": "WBV2-P596-003", + "parentTask": "WBV2-P596-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-P596-003 --write" + ], + "inputPaths": [], + "inputSelection": { + "schemaVersion": 1, + "limits": { + "maxFiles": 12, + "evidenceBytes": 8192, + "contextRemainingBytes": 2102, + "contextRemainingTokens": 524 + }, + "source": { + "bytes": 7802, + "tokens": 1952 + }, + "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-P596-003/", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "docs/status/WBV2-P596-003.md", + "bytes": null, + "reason": "GENERATED_EVIDENCE_OUTPUT" + }, + { + "path": "tests/golden/WBV2-P596-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-P597-000", + "sourceDocuments": { + "queue": "docs/EXECUTION_QUEUE.md", + "taskCard": "docs/tasks/WBV2-P596-003.md", + "taskIndex": "tests/golden/WBV2/task-index.json", + "parentManifest": "tests/golden/WBV2-P596-002/manifest.json", + "parentStatus": "docs/status/WBV2-P596-002.md" + }, + "readPolicy": { + "required": [ + "docs/EXECUTION_QUEUE.md", + "docs/tasks/WBV2-P596-003.md", + "tests/golden/WBV2-P596-002/manifest.json", + "docs/status/WBV2-P596-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-P596-002", + "parentTask": "WBV2-P596-001", + "status": "done", + "nextTask": "WBV2-P596-003", + "artifactCount": 14 + }, + "statusSummary": [ + "# WBV2-P596-002 status", + "- task: `WBV2-P596-002`; parent: `WBV2-P596-001`; status: `done`", + "- taskClass: `SOURCE_IMPLEMENTATION`; capability: `CAP-RENDER-LIGHT-AREA-SHAPE`; behaviorMarker: `web_engine_blend_main_set_light_area_shape`", + "- 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-P596-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-P596-003.md", + "bytes": 1293, + "lines": 39, + "tokens": 324 + }, + { + "path": "tests/golden/WBV2-P596-002/manifest.json", + "bytes": 3239, + "lines": 85, + "tokens": 810 + }, + { + "path": "docs/status/WBV2-P596-002.md", + "bytes": 463, + "lines": 9, + "tokens": 116 + } + ], + "sourceTokens": 1952, + "evidenceFiles": 0, + "evidenceBytes": 0, + "evidenceTokens": 0, + "totalTokens": 1952, + "reservedEnvelopeTokens": 1024, + "estimatedContextTokens": 2976, + "serializedContextTokens": 622, + "withinBudget": true + } +} diff --git a/tests/golden/WBV2/task-catalog.jsonl b/tests/golden/WBV2/task-catalog.jsonl index d73cc1e54..965efe8d3 100644 --- a/tests/golden/WBV2/task-catalog.jsonl +++ b/tests/golden/WBV2/task-catalog.jsonl @@ -1,5 +1,5 @@ -{"id":"WBV2-P594-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P594","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-P594-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P594","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-P594-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P594","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-P594-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P594","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-P595-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P595","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-P596-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P596","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-P596-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P596","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-P596-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P596","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-P596-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P596","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-P597-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P597","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 df3415e7f..d87df236d 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-P594-003/capability-continuation-plan.json","sha256":"94e22eb0d280362e6794670da515cd4a25def5ea2d970dc154154a518a470874"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"c7598a01b8d84106870fe322aedd9fc413b04f7ec67e8e3623af56ed5e35e277"},"taskCount":5,"activeTask":"WBV2-P595-000","entries":{"WBV2-P594-000":{"line":0,"offset":0,"length":404,"previous":"WBV2-P593-003","next":"WBV2-P594-001"},"WBV2-P594-001":{"line":1,"offset":404,"length":403,"previous":"WBV2-P594-000","next":"WBV2-P594-002"},"WBV2-P594-002":{"line":2,"offset":807,"length":412,"previous":"WBV2-P594-001","next":"WBV2-P594-003"},"WBV2-P594-003":{"line":3,"offset":1219,"length":399,"previous":"WBV2-P594-002","next":"WBV2-P595-000"},"WBV2-P595-000":{"line":4,"offset":1618,"length":401,"previous":"WBV2-P594-003","next":null}}} +{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P596-003/capability-continuation-plan.json","sha256":"02e40a65d88b2578496ecf4aa48d43b643d78a7106049116d2a811e64419e0ca"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"05b60cc29feeba09a232a25496d16744e902751421655057e60480a68e81d52c"},"taskCount":5,"activeTask":"WBV2-P597-000","entries":{"WBV2-P596-000":{"line":0,"offset":0,"length":404,"previous":"WBV2-P595-003","next":"WBV2-P596-001"},"WBV2-P596-001":{"line":1,"offset":404,"length":403,"previous":"WBV2-P596-000","next":"WBV2-P596-002"},"WBV2-P596-002":{"line":2,"offset":807,"length":412,"previous":"WBV2-P596-001","next":"WBV2-P596-003"},"WBV2-P596-003":{"line":3,"offset":1219,"length":399,"previous":"WBV2-P596-002","next":"WBV2-P597-000"},"WBV2-P597-000":{"line":4,"offset":1618,"length":401,"previous":"WBV2-P596-003","next":null}}} diff --git a/tools/web/generate-wbv2-capability-continuation-slice.mjs b/tools/web/generate-wbv2-capability-continuation-slice.mjs index 4c1962575..f5ac20564 100644 --- a/tools/web/generate-wbv2-capability-continuation-slice.mjs +++ b/tools/web/generate-wbv2-capability-continuation-slice.mjs @@ -27,7 +27,15 @@ 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 >= 77) { +if (phase === 596) { + files[2] = ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "web/protocol/web-engine.ts", "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_light_area_shape"; +} +else if (phase === 595) { + files[2] = ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "web/protocol/web-engine.ts", "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_light_type"; +} +else if (phase >= 77) { files[2] = ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "web/protocol/web-engine.ts"]; markers[2] = "web_engine_blend_main_set_world_lightgroup"; } @@ -53,15 +61,18 @@ if (commands[index]) execFileSync(commands[index][0], commands[index].slice(1), const nextIndex = index + 1; const nextTask = nextIndex <= 3 ? `WBV2-P${phase}-${String(nextIndex).padStart(3, "0")}` : `WBV2-P${phase + 1}-000`; const family = index === 1 ? "INVENTORY.CAPABILITY_BATCH_INDEX" : index === 2 && phase >= 71 ? "RENDER.VIEW_LAYER_PASSES" : index === 2 && phase >= 70 ? "RENDER.LINE_SETTINGS" : index === 2 && phase >= 69 ? "RENDER.STAMP_SETTINGS" : index === 2 && phase >= 68 ? "RENDER.MULTIVIEW_SETTINGS" : index === 2 && phase >= 67 ? "RENDER.SAMPLING_SETTINGS" : index === 2 && phase >= 66 ? "PERFORMANCE.RENDER_SETTINGS" : index === 2 && phase >= 65 ? "COMPOSITOR.EXECUTION_SETTINGS" : index === 2 && phase >= 64 ? "CORE_SCENE_GRAPH.HAIR_SETTINGS" : index === 2 && phase >= 63 ? "CORE_SCENE_GRAPH.MOTION_BLUR" : index === 2 && phase >= 62 ? "CORE_SCENE_GRAPH.IMAGE_FORMAT" : index === 2 && phase >= 61 ? "CORE_SCENE_GRAPH.COLOR_MANAGEMENT" : index === 2 && phase >= 60 ? "CORE_SCENE_GRAPH.SIMPLIFY_SETTINGS" : index === 2 && phase >= 59 ? "CORE_SCENE_GRAPH.BORDER_SETTINGS" : index === 2 && phase >= 58 ? "CORE_SCENE_GRAPH.COLLECTION_SETTINGS" : index === 2 && phase >= 57 ? "CORE_SCENE_GRAPH.VIEW_LAYER_SETTINGS" : index === 2 && phase >= 56 ? "CORE_SCENE_GRAPH.BINDINGS" : index === 2 && phase >= 55 ? "CORE_SCENE_GRAPH.PIPELINE_SETTINGS" : index === 2 && phase >= 54 ? "CORE_SCENE_GRAPH.TIMELINE_SETTINGS" : index === 2 && phase >= 53 ? "CORE_SCENE_GRAPH.UNIT_SETTINGS" : index === 2 && phase >= 52 ? "CORE_SCENE_GRAPH.AUDIO_SETTINGS" : index === 2 && phase >= 51 ? "CORE_SCENE_GRAPH.RENDER_SETTINGS" : index === 2 && phase >= 50 ? "CORE_SCENE_GRAPH.SCENE_PROPERTIES" : index === 2 && phase >= 49 ? "SIMULATION.NATIVE_MANIFEST_BINDING" : index === 2 && phase >= 47 ? "GEOMETRY_NODES.NATIVE_MATERIALIZATION" : index === 2 ? "WORKFLOW.CAPABILITY_FAMILY_WORKBENCH" : "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE"; -const reportedFamily = phase === 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 reportedFamily = 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 taskClass = index === 1 ? "QUEUE_ENABLEMENT" : index === 2 ? "SOURCE_IMPLEMENTATION" : "INTEGRATION_BUILD"; +const capabilityId = index === 1 ? null : phase === 596 && index === 2 ? "CAP-RENDER-LIGHT-AREA-SHAPE" : phase === 595 && index === 2 ? "CAP-RENDER-LIGHT-TYPE" : `CAPABILITY-${reportedFamily.replaceAll(".", "-")}`; +const behaviorMarker = index === 2 ? markers[2] : markers[index]; 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: reportedFamily, 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", taskClass, status: "PASS", capabilityId, behaviorMarker, family: reportedFamily, 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`); +fs.writeFileSync(abs(statusPath), `# ${task} status\n\n- task: \`${task}\`; parent: \`${parent.task}\`; status: \`done\`\n- taskClass: \`${taskClass}\`; capability: \`${capabilityId}\`; behaviorMarker: \`${behaviorMarker}\`\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); plan.tasks = plan.tasks.map((candidate) => candidate.id === task ? { ...candidate, status: "done", ready: false } : candidate.id === nextTask ? { ...candidate, status: "in_progress", ready: true } : { ...candidate, ready: false }); if (!plan.tasks.some((candidate) => candidate.id === nextTask)) plan.tasks.push({ id: nextTask, phase: `P${phase + 1}`, title: "authorize_capability_family_wave", kind: "enabling", owner: "PROGRAM", dependsOn: [task], parityId: null, implementationClass: "SOURCE_BACKED", parallelGroup: `p${phase + 1}-000`, gate: "G1", card: `docs/tasks/${nextTask}.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 }); @@ -74,7 +85,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: reportedFamily, 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", taskClass, status: "done", enablingTask: index === 1, parityStateChange: false, runtime: "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE", artifacts, assertions: { capabilityFamily: reportedFamily, capabilityId, behaviorMarker, sourceBacked: taskClass === "SOURCE_IMPLEMENTATION", 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 b79923bf5..f9924f7eb 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 c7fd96353..5a3ed0bb7 100644 --- a/web/app/src/app/App.tsx +++ b/web/app/src/app/App.tsx @@ -937,7 +937,7 @@ function Properties({ snapshot, selectedFaceIndices, selectedVertexIndices, grea {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} - {activeLight ?

Light

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

Light

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

World

Exposure {activeWorld.exposure.toFixed(2)} · Lightgroup {activeWorld.lightgroup ?? "None"}
: null} {activeScene ?

Scene Render

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

Color Management

{activeScene.colorManagement.displayDevice} · {activeScene.colorManagement.temperature?.toFixed(0) ?? "-"} K · Tint {activeScene.colorManagement.tint?.toFixed(2) ?? "-"}
: null} diff --git a/web/app/src/vendor/blender/web_engine.wasm b/web/app/src/vendor/blender/web_engine.wasm index b79923bf5..f9924f7eb 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 4cabe25bf..06362be2b 100644 --- a/web/app/src/workers/web-engine.worker.ts +++ b/web/app/src/workers/web-engine.worker.ts @@ -541,7 +541,9 @@ function assertFutureCapability(payload: Extract candidate.id === payload.dataId); const properties = payload.properties; - if (!light || !validPropertyKeys(properties, ["color", "energy", "exposure", "temperature", "useTemperature", "castsShadow", "radius", "spotAngle", "spotBlend", "areaSize", "areaSizeY", "areaSpread", "sunAngle"])) throw report("RENDER_PROPERTY_INVALID", "Light target or properties are invalid"); + if (!light || !validPropertyKeys(properties, ["type", "areaShape", "color", "energy", "exposure", "temperature", "useTemperature", "castsShadow", "radius", "spotAngle", "spotBlend", "areaSize", "areaSizeY", "areaSpread", "sunAngle"])) throw report("RENDER_PROPERTY_INVALID", "Light target or properties are invalid"); + if (properties.type !== undefined && !["POINT", "SUN", "SPOT", "AREA"].includes(properties.type)) throw report("RENDER_PROPERTY_INVALID", "Light type is invalid"); + if (properties.areaShape !== undefined && ![0, 1, 4, 5].includes(properties.areaShape)) throw report("RENDER_PROPERTY_INVALID", "Light area shape is invalid"); if (properties.color !== undefined && (!Array.isArray(properties.color) || properties.color.length !== 3 || properties.color.some((value) => !boundedNumber(value, 0, 100)))) throw report("RENDER_PROPERTY_INVALID", "Light color is invalid"); for (const [field, minimum, maximum] of [["energy", 0, 1e9], ["exposure", -20, 20], ["temperature", 800, 20000], ["radius", 0, 1e9], ["spotAngle", 0.0001, Math.PI], ["spotBlend", 0, 1], ["areaSize", 0.0001, 1e9], ["areaSizeY", 0.0001, 1e9], ["areaSpread", 0.0001, Math.PI], ["sunAngle", 0, Math.PI]] as const) { const value = properties[field]; diff --git a/web/protocol/web-engine.ts b/web/protocol/web-engine.ts index 16a584a74..a0a959588 100644 --- a/web/protocol/web-engine.ts +++ b/web/protocol/web-engine.ts @@ -140,7 +140,7 @@ export type WebEngineEditCommand = | { type: "setGreasePencilStrokes"; dataId: string; layerId: string; frame: number; baseRevision?: number; strokes: Array<{ cyclic?: boolean; materialIndex?: number; points: Array<{ position: [number, number, number]; radius?: number; opacity?: number; vertexColor?: [number, number, number, number] }> }> } | { 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: { 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: "setLightProperties"; dataId: string; properties: { type?: "POINT" | "SUN" | "SPOT" | "AREA"; areaShape?: 0 | 1 | 4 | 5; 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: "setWorldProperties"; dataId: string; properties: { color?: [number, number, number]; exposure?: number; 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 } }