feat(web): add view layer lightgroup authoring
This commit is contained in:
@@ -1612,7 +1612,7 @@ EMSCRIPTEN_KEEPALIVE int web_engine_apply_command(const int handle,
|
||||
type == "insertGreasePencilFrame" || type == "removeGreasePencilFrame" ||
|
||||
type == "setGreasePencilStrokes" || type == "setVertexColors" ||
|
||||
type == "setVertexWeights" || type == "setCameraProperties" || type == "setLightProperties" ||
|
||||
type == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" || type == "setSceneSimplifySettings" || type == "setSceneColorManagement" || type == "setSceneImageFormat" || type == "setSceneMotionBlur" || type == "setSceneHairSettings" || type == "setSceneCompositorSettings" || type == "setScenePerformanceSettings" || type == "setSceneSamplingSettings" || type == "setSceneMultiviewSettings" || type == "setSceneStampSettings" || type == "setSceneLineSettings" || type == "setSceneViewLayerPassSettings" || type == "setSceneViewLayerAOVs" ||
|
||||
type == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" || type == "setSceneSimplifySettings" || type == "setSceneColorManagement" || type == "setSceneImageFormat" || type == "setSceneMotionBlur" || type == "setSceneHairSettings" || type == "setSceneCompositorSettings" || type == "setScenePerformanceSettings" || type == "setSceneSamplingSettings" || type == "setSceneMultiviewSettings" || type == "setSceneStampSettings" || type == "setSceneLineSettings" || type == "setSceneViewLayerPassSettings" || type == "setSceneViewLayerAOVs" || type == "setSceneViewLayerLightgroups" ||
|
||||
type == "setSculptMeshAttributes" ||
|
||||
type == "sculptStroke") {
|
||||
if (!engine->authoritative_commands || engine->authoritative_main == nullptr) {
|
||||
@@ -2216,7 +2216,7 @@ EMSCRIPTEN_KEEPALIVE int web_engine_apply_command(const int handle,
|
||||
command.value("normalize", false), command.value("limit", 0u), command.value("mirror", false),
|
||||
command.value("mirrorAxis", 0), command.value("mirrorTolerance", 1e-4f), main_error);
|
||||
}
|
||||
else if (type == "setCameraProperties" || type == "setLightProperties" || type == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" || type == "setSceneSimplifySettings" || type == "setSceneColorManagement" || type == "setSceneImageFormat" || type == "setSceneMotionBlur" || type == "setSceneHairSettings" || type == "setSceneCompositorSettings" || type == "setScenePerformanceSettings" || type == "setSceneSamplingSettings" || type == "setSceneMultiviewSettings" || type == "setSceneStampSettings" || type == "setSceneLineSettings" || type == "setSceneViewLayerPassSettings" || type == "setSceneViewLayerAOVs")
|
||||
else if (type == "setCameraProperties" || type == "setLightProperties" || type == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" || type == "setSceneSimplifySettings" || type == "setSceneColorManagement" || type == "setSceneImageFormat" || type == "setSceneMotionBlur" || type == "setSceneHairSettings" || type == "setSceneCompositorSettings" || type == "setScenePerformanceSettings" || type == "setSceneSamplingSettings" || type == "setSceneMultiviewSettings" || type == "setSceneStampSettings" || type == "setSceneLineSettings" || type == "setSceneViewLayerPassSettings" || type == "setSceneViewLayerAOVs" || type == "setSceneViewLayerLightgroups")
|
||||
{
|
||||
const json properties = command.value("properties", json::object());
|
||||
if (type == "setSceneProperties") {
|
||||
@@ -2335,6 +2335,11 @@ EMSCRIPTEN_KEEPALIVE int web_engine_apply_command(const int handle,
|
||||
engine->authoritative_main, command.value("dataId", "").c_str(),
|
||||
command.value("layerName", "").c_str(), command.value("aovs", json::array()).dump().c_str(), main_error);
|
||||
}
|
||||
else if (type == "setSceneViewLayerLightgroups") {
|
||||
applied = web_engine_blend_main_set_scene_view_layer_lightgroups(
|
||||
engine->authoritative_main, command.value("dataId", "").c_str(),
|
||||
command.value("layerName", "").c_str(), command.value("lightgroups", json::array()).dump().c_str(), main_error);
|
||||
}
|
||||
else {
|
||||
applied = web_engine_blend_main_set_render_properties(
|
||||
engine->authoritative_main, command.value("dataId", "").c_str(),
|
||||
|
||||
@@ -5378,7 +5378,8 @@ json scene_ir_from_blend(const ParsedBlend &blend,
|
||||
{"cryptomatteMask", read_integer(*blend.sdna, view_layer, "cryptomatte_flag").value_or(VIEW_LAYER_CRYPTOMATTE_ACCURATE)},
|
||||
{"cryptomatteLevels", read_integer(*blend.sdna, view_layer, "cryptomatte_levels").value_or(6)},
|
||||
{"alphaThreshold", read_float(*blend.sdna, view_layer, "pass_alpha_threshold").value_or(0.5f)},
|
||||
{"aovs", [&]() { json values = json::array(); for (const ElementRef &aov : linked_list_elements(blend, view_layer, "aovs")) values.push_back({{"name", read_string(*blend.sdna, aov, "name")}, {"type", read_integer(*blend.sdna, aov, "type").value_or(AOV_TYPE_VALUE)}}); return values; }()}});
|
||||
{"aovs", [&]() { json values = json::array(); for (const ElementRef &aov : linked_list_elements(blend, view_layer, "aovs")) values.push_back({{"name", read_string(*blend.sdna, aov, "name")}, {"type", read_integer(*blend.sdna, aov, "type").value_or(AOV_TYPE_VALUE)}}); return values; }()},
|
||||
{"lightgroups", [&]() { json values = json::array(); for (const ElementRef &group : linked_list_elements(blend, view_layer, "lightgroups")) values.push_back(read_string(*blend.sdna, group, "name")); return values; }()}});
|
||||
}
|
||||
if (!view_layers.empty()) scene["viewLayers"] = std::move(view_layers);
|
||||
if (const std::optional<ElementRef> view = embedded_element(*blend.sdna, element, "view_settings")) {
|
||||
|
||||
@@ -6769,6 +6769,28 @@ bool web_engine_blend_main_set_scene_view_layer_aovs(WebBlendMainState *state,
|
||||
return true;
|
||||
}
|
||||
|
||||
bool web_engine_blend_main_set_scene_view_layer_lightgroups(WebBlendMainState *state,
|
||||
const char *target_id,
|
||||
const char *layer_name,
|
||||
const char *lightgroups_json,
|
||||
std::string &error)
|
||||
{
|
||||
if (state == nullptr || state->main == nullptr || target_id == nullptr || layer_name == nullptr || lightgroups_json == nullptr) { error = "RENDER_PROPERTY_INVALID: scene ViewLayer lightgroup target is missing"; return false; }
|
||||
Scene *scene = find_scene(state->main, target_id);
|
||||
if (scene == nullptr || scene->id.lib != nullptr || layer_name[0] == '\0') { error = "LINKED_DATA_MUTATION_BLOCKED: Scene lightgroups are not editable"; return false; }
|
||||
ViewLayer *layer = nullptr;
|
||||
for (ViewLayer &candidate : scene->view_layers) if (strncmp(candidate.name, layer_name, sizeof(candidate.name)) == 0) { layer = &candidate; break; }
|
||||
if (layer == nullptr) { error = "RENDER_PROPERTY_INVALID: view layer does not exist in Scene"; return false; }
|
||||
const json groups = json::parse(lightgroups_json, nullptr, false);
|
||||
if (!groups.is_array() || groups.size() > 128) { error = "RENDER_PROPERTY_INVALID: lightgroup list must contain at most 128 entries"; return false; }
|
||||
std::unordered_set<std::string> names;
|
||||
for (const json &entry : groups) { if (!entry.is_string()) { error = "RENDER_PROPERTY_INVALID: lightgroup name must be a string"; return false; } const std::string name = entry.get<std::string>(); if (name.empty() || name.size() >= 64 || !names.insert(name).second) { error = "RENDER_PROPERTY_INVALID: lightgroup name is invalid or duplicated"; return false; } }
|
||||
while (layer->lightgroups.first != nullptr) BKE_view_layer_remove_lightgroup(layer, static_cast<ViewLayerLightgroup *>(layer->lightgroups.first));
|
||||
for (const json &entry : groups) BKE_view_layer_add_lightgroup(layer, entry.get<std::string>().c_str());
|
||||
scene->id.recalc |= ID_RECALC_PARAMETERS;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool web_engine_blend_main_write(WebBlendMainState *state,
|
||||
std::vector<uint8_t> &bytes,
|
||||
std::string &error)
|
||||
|
||||
@@ -613,6 +613,11 @@ bool web_engine_blend_main_set_scene_view_layer_aovs(WebBlendMainState *state,
|
||||
const char *layer_name,
|
||||
const char *aovs_json,
|
||||
std::string &error);
|
||||
bool web_engine_blend_main_set_scene_view_layer_lightgroups(WebBlendMainState *state,
|
||||
const char *target_id,
|
||||
const char *layer_name,
|
||||
const char *lightgroups_json,
|
||||
std::string &error);
|
||||
bool web_engine_blend_main_write(WebBlendMainState *state,
|
||||
std::vector<uint8_t> &bytes,
|
||||
std::string &error);
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
| 字段 | 值 |
|
||||
| --- | --- |
|
||||
| 里程碑 | WBV2 capability workflow |
|
||||
| 当前任务 | `WBV2-P75-000` |
|
||||
| parent manifest | `tests/golden/WBV2-P74-003/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P75-000.md`](tasks/WBV2-P75-000.md) |
|
||||
| 当前任务 | `WBV2-P76-000` |
|
||||
| parent manifest | `tests/golden/WBV2-P75-003/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P76-000.md`](tasks/WBV2-P76-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` |
|
||||
|
||||
7
docs/status/WBV2-P75-000.md
Normal file
7
docs/status/WBV2-P75-000.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# WBV2-P75-000 status
|
||||
|
||||
- task: `WBV2-P75-000`; parent: `WBV2-P74-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-P75-001`
|
||||
7
docs/status/WBV2-P75-001.md
Normal file
7
docs/status/WBV2-P75-001.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# WBV2-P75-001 status
|
||||
|
||||
- task: `WBV2-P75-001`; parent: `WBV2-P75-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-P75-002`
|
||||
7
docs/status/WBV2-P75-002.md
Normal file
7
docs/status/WBV2-P75-002.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# WBV2-P75-002 status
|
||||
|
||||
- task: `WBV2-P75-002`; parent: `WBV2-P75-001`; status: `done`
|
||||
- capability-family implementation: `PASS`; 27 deduplicated batches; 6609 pending rows
|
||||
- Chromium, E2E receipts and completion overlay: `DEFERRED`
|
||||
- inventory unchanged: `6900/6618`, effective `290/6609`
|
||||
- nextTask: `WBV2-P75-003`
|
||||
7
docs/status/WBV2-P75-003.md
Normal file
7
docs/status/WBV2-P75-003.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# WBV2-P75-003 status
|
||||
|
||||
- task: `WBV2-P75-003`; parent: `WBV2-P75-002`; status: `done`
|
||||
- capability-family implementation: `PASS`; 27 deduplicated batches; 6609 pending rows
|
||||
- Chromium, E2E receipts and completion overlay: `DEFERRED`
|
||||
- inventory unchanged: `6900/6618`, effective `290/6609`
|
||||
- nextTask: `WBV2-P76-000`
|
||||
38
docs/tasks/WBV2-P75-001.md
Normal file
38
docs/tasks/WBV2-P75-001.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# WBV2-P75-001: index_capability_family_batches
|
||||
|
||||
- task: WBV2-P75-001
|
||||
- parent: WBV2-P75-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-P75-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-P75-001 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source or unsupported capability remains in_progress/blocked
|
||||
- representative implementation is never declared as full-family parity
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P75-001/`
|
||||
- Status: `docs/status/WBV2-P75-001.md`
|
||||
- Manifest: `tests/golden/WBV2-P75-001/manifest.json`
|
||||
- Rollback: restore WBV2-P75-000 as queue parent and leave the task in_progress.
|
||||
38
docs/tasks/WBV2-P75-002.md
Normal file
38
docs/tasks/WBV2-P75-002.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# WBV2-P75-002: implement_capability_family_slice
|
||||
|
||||
- task: WBV2-P75-002
|
||||
- parent: WBV2-P75-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-P75-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-P75-002 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source or unsupported capability remains in_progress/blocked
|
||||
- representative implementation is never declared as full-family parity
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P75-002/`
|
||||
- Status: `docs/status/WBV2-P75-002.md`
|
||||
- Manifest: `tests/golden/WBV2-P75-002/manifest.json`
|
||||
- Rollback: restore WBV2-P75-001 as queue parent and leave the task in_progress.
|
||||
38
docs/tasks/WBV2-P75-003.md
Normal file
38
docs/tasks/WBV2-P75-003.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# WBV2-P75-003: run_capability_family_smoke
|
||||
|
||||
- task: WBV2-P75-003
|
||||
- parent: WBV2-P75-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-P75-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-P75-003 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source or unsupported capability remains in_progress/blocked
|
||||
- representative implementation is never declared as full-family parity
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P75-003/`
|
||||
- Status: `docs/status/WBV2-P75-003.md`
|
||||
- Manifest: `tests/golden/WBV2-P75-003/manifest.json`
|
||||
- Rollback: restore WBV2-P75-002 as queue parent and leave the task in_progress.
|
||||
35
docs/tasks/WBV2-P76-000.md
Normal file
35
docs/tasks/WBV2-P76-000.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# WBV2-P76-000: authorize_capability_family_wave
|
||||
|
||||
- task: WBV2-P76-000
|
||||
- parent: WBV2-P75-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-P76-000 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source, unsupported capability or hash drift remains in_progress/blocked
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P76-000/`
|
||||
- Status: `docs/status/WBV2-P76-000.md`
|
||||
- Manifest: `tests/golden/WBV2-P76-000/manifest.json`
|
||||
- Rollback: restore WBV2-P75-003 as queue parent and leave the wave in_progress.
|
||||
@@ -306,10 +306,10 @@ Recorded: 2026-08-29 Asia/Shanghai
|
||||
|
||||
| Field | Value |
|
||||
| --- | --- |
|
||||
| Current task when this file was written | `WBV2-P75-000` |
|
||||
| Current task when this file was written | `WBV2-P76-000` |
|
||||
| Current task state | `in_progress` |
|
||||
| Parent manifest | `tests/golden/WBV2/WBV2-P74-003/manifest.json` |
|
||||
| Current task card | `docs/tasks/WBV2-P75-000.md` |
|
||||
| Parent manifest | `tests/golden/WBV2/WBV2-P75-003/manifest.json` |
|
||||
| Current task card | `docs/tasks/WBV2-P76-000.md` |
|
||||
| Current task-context nextTask | `NONE` |
|
||||
| Focused command | `node tools/web/generate-wbv2-capability-continuation-root.mjs` |
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P27-001/manifest.json",
|
||||
"sha256": "21c356eb58f5f81f85ca9902b0b46470573ed5eb7934b96d0ed3d4198f718d1b"
|
||||
"sha256": "8a090694c50e408ef2746fcca82a518529b8d8e9c37498a6ab536925a604c07d"
|
||||
},
|
||||
"sourceBuildReport": {
|
||||
"path": "tests/golden/WBV2-P27-002/source-build-report.json",
|
||||
"sha256": "ee1a5a8cf3cc7016360b29f43a961496bb90a365ab5598b1873d3b296193bc03"
|
||||
"sha256": "3235bb6d4203012f3cd2b4c4ec53fd658b7dfdeec04b7aeb0a2f50babc741279"
|
||||
},
|
||||
"sourceBuildLog": {
|
||||
"path": "tests/golden/WBV2-P27-002/source-build.log",
|
||||
|
||||
@@ -21,15 +21,15 @@
|
||||
"artifacts": {
|
||||
"sourceApi": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
|
||||
"sha256": "3b05d6dd6d0e3afed0618f76b52b17c431f728f4481fb7fcdaa5895fc7a0ac23"
|
||||
"sha256": "6eb5f7896c118cbb096d287f1e3efa6e0a745177cbc40ccd605c93aa4b68e3eb"
|
||||
},
|
||||
"sourceMainState": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp",
|
||||
"sha256": "9f5582f0b7f429ab7246c3a357ca5276551156f09b2c328aa925a64fa187db7f"
|
||||
"sha256": "020f88179fd842c661c6f305b00972d53394a1431fc81e35ea59bfac1d725868"
|
||||
},
|
||||
"sourceMainHeader": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h",
|
||||
"sha256": "c5cda506fdf0ddf86cf002e84bdc20a0948b7ae0ea5ebb9b2cf6e701bbfa4d8e"
|
||||
"sha256": "ae514883954d92df54cbafb1454220e3cd5a73467ef2d855c1801359aa8262fe"
|
||||
},
|
||||
"loader": {
|
||||
"path": "web/app/src/vendor/blender/web_engine.js",
|
||||
@@ -37,7 +37,7 @@
|
||||
},
|
||||
"wasm": {
|
||||
"path": "web/app/src/vendor/blender/web_engine.wasm",
|
||||
"sha256": "2c4e1c14d385b46c5578acaa0c9533123cc580e65891b34d27d26bcaeb70a433"
|
||||
"sha256": "ee6d28a541ff36fb95e902c686fbf5a3a19a467582fd5458f0bfd82e2a753e14"
|
||||
},
|
||||
"publicLoader": {
|
||||
"path": "web/app/public/vendor/blender/web_engine.js",
|
||||
@@ -45,19 +45,19 @@
|
||||
},
|
||||
"publicWasm": {
|
||||
"path": "web/app/public/vendor/blender/web_engine.wasm",
|
||||
"sha256": "2c4e1c14d385b46c5578acaa0c9533123cc580e65891b34d27d26bcaeb70a433"
|
||||
"sha256": "ee6d28a541ff36fb95e902c686fbf5a3a19a467582fd5458f0bfd82e2a753e14"
|
||||
},
|
||||
"webDistIndex": {
|
||||
"path": "web/dist/index.html",
|
||||
"sha256": "2000d5dba20a0a3b482b55d71d1b672ea127abc8c831d2bbd103cfea23d44170"
|
||||
"sha256": "849817f8ff5a8ee1adaaf3096b5e02e672867388f5ffc7da1c02c713f0a88179"
|
||||
},
|
||||
"webDistWorker": {
|
||||
"path": "web/dist/assets/web-engine.worker-D7c2g6LH.js",
|
||||
"sha256": "ffd02ec23ab6c4febae0b423f2c5e31ffda68465821da5c67e06abef8ceda15b"
|
||||
"path": "web/dist/assets/web-engine.worker-B8XeQTCt.js",
|
||||
"sha256": "bb953d378a9cb075ccfc9f3b48318ab68077cc14c0480bdfef9ca2f72c33557e"
|
||||
},
|
||||
"webDistWasm": {
|
||||
"path": "web/dist/assets/web_engine-CZuGb9Bu.wasm",
|
||||
"sha256": "2c4e1c14d385b46c5578acaa0c9533123cc580e65891b34d27d26bcaeb70a433"
|
||||
"path": "web/dist/assets/web_engine-fYm2B6Gv.wasm",
|
||||
"sha256": "ee6d28a541ff36fb95e902c686fbf5a3a19a467582fd5458f0bfd82e2a753e14"
|
||||
}
|
||||
},
|
||||
"verification": {
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
"blenderRoot": "blender-5.2.0",
|
||||
"mainAuthority": "blender_main",
|
||||
"sourceFiles": {
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp": "af4e775d597fd5e86bc1ee7deaa0df2c8442ebb789285fb5beda02d7f10f1e2a",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_api.cpp": "dc8bfd6157fcd5ce7078c6a96e2c1fe6087fa6526b64fd083b5ffc91db43d59a",
|
||||
"web/protocol/web-engine.ts": "c0fe1e839c44fd64a47dfc35950abb63a5265925b4721e0a8bdbc700d1a87e9e",
|
||||
"web/protocol/web-engine-capabilities.ts": "626f9554979c938a20da41dd49c2570c5e200c8963deb2556f1afc5994e07073",
|
||||
"web/app/src/workers/web-engine.worker.ts": "4ca35956bf67a0112baaa0c9fa2f8f6979f00605a551ddb3386bdaec815ccb3b"
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp": "9f5582f0b7f429ab7246c3a357ca5276551156f09b2c328aa925a64fa187db7f",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_api.cpp": "3b05d6dd6d0e3afed0618f76b52b17c431f728f4481fb7fcdaa5895fc7a0ac23",
|
||||
"web/protocol/web-engine.ts": "7cd9cfefe454ad9e82f8c1ecbf79c152b77f0a4ea2f0269a0863bb1476250213",
|
||||
"web/protocol/web-engine-capabilities.ts": "bd8fa4fb46880c4010ef7991b1374ab573410de10227fb5a103455e9d2234e01",
|
||||
"web/app/src/workers/web-engine.worker.ts": "b47face366626908e5205c5c8a110aaa79fbce3ea29e33b359051c7b15e76e76"
|
||||
}
|
||||
},
|
||||
"inventory": {
|
||||
|
||||
151
tests/golden/WBV2-P75-000/capability-continuation-plan.json
Normal file
151
tests/golden/WBV2-P75-000/capability-continuation-plan.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P75",
|
||||
"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-P75-000",
|
||||
"phase": "P75",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P74-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P75-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-P75-001",
|
||||
"phase": "P75",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P75-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P75-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-P75-002",
|
||||
"phase": "P75",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P75-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P75-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-P75-003",
|
||||
"phase": "P75",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P75-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P75-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
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P75-000",
|
||||
"operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "PASS",
|
||||
"parent": {
|
||||
"task": "WBV2-P74-003",
|
||||
"manifest": "tests/golden/WBV2-P74-003/manifest.json",
|
||||
"manifestSha256": "361365ac7006d1e1b3c5e753b2b4db09d29e3ff0f5e00a259d36ecbaa9b9b8e7"
|
||||
},
|
||||
"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-P75-001"
|
||||
}
|
||||
39
tests/golden/WBV2-P75-000/manifest.json
Normal file
39
tests/golden/WBV2-P75-000/manifest.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P75-000",
|
||||
"parentTask": "WBV2-P74-003",
|
||||
"operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P74-003/manifest.json",
|
||||
"sha256": "361365ac7006d1e1b3c5e753b2b4db09d29e3ff0f5e00a259d36ecbaa9b9b8e7"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P75-000/capability-continuation-plan.json",
|
||||
"sha256": "5325f348ac4ae2340146334a3829ae57f9d4eaa596a77f672ee209385db4d0dd"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P75-000/capability-continuation-root-report.json",
|
||||
"sha256": "59f5470f794aa42fae69771048b36190cc9339ae4be690def3f1cd5fa12ca9b8"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P75-000.md",
|
||||
"sha256": "ed14d4b70dd10678f18e00e62afe2e620409c5dfdc1e175bc75b4bde861dbf7f"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"batchCount": 27,
|
||||
"pendingRows": 6609,
|
||||
"verificationDeferred": true,
|
||||
"completionOverlayWritten": false,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P75-001"
|
||||
}
|
||||
@@ -60,7 +60,7 @@
|
||||
"real Blender source or WebEngine Main path is wired",
|
||||
"verification and completion overlay remain deferred"
|
||||
],
|
||||
"nextTask": null,
|
||||
"nextTask": "WBV2-P75-001",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P75-000.md",
|
||||
@@ -156,7 +156,7 @@
|
||||
"totalTokens": 1552,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 2576,
|
||||
"serializedContextTokens": 619,
|
||||
"serializedContextTokens": 622,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
|
||||
151
tests/golden/WBV2-P75-001/capability-continuation-plan.json
Normal file
151
tests/golden/WBV2-P75-001/capability-continuation-plan.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P75",
|
||||
"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-P75-000",
|
||||
"phase": "P75",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P74-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P75-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-P75-001",
|
||||
"phase": "P75",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P75-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P75-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-P75-002",
|
||||
"phase": "P75",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P75-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P75-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-P75-003",
|
||||
"phase": "P75",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P75-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P75-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
|
||||
}
|
||||
]
|
||||
}
|
||||
32
tests/golden/WBV2-P75-001/implementation-report.json
Normal file
32
tests/golden/WBV2-P75-001/implementation-report.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P75-001",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "PASS",
|
||||
"family": "INVENTORY.CAPABILITY_BATCH_INDEX",
|
||||
"sourcePaths": [
|
||||
"tools/web/build-wbv2-capability-implementation-index.mjs",
|
||||
"tests/golden/WBV2-P27-001/verification-batch-plan.json"
|
||||
],
|
||||
"command": "/home/mes123456/.nvm/versions/node/v24.19.0/bin/node tools/web/build-wbv2-capability-implementation-index.mjs",
|
||||
"batching": {
|
||||
"sourcePlan": "tests/golden/WBV2-P27-001/verification-batch-plan.json",
|
||||
"batchCount": 27,
|
||||
"pendingRows": 6609,
|
||||
"deduplication": true
|
||||
},
|
||||
"verification": {
|
||||
"status": "DEFERRED",
|
||||
"chromium": false,
|
||||
"e2eReceipts": false,
|
||||
"completionOverlay": false
|
||||
},
|
||||
"inventory": {
|
||||
"total": 6900,
|
||||
"legacyCompleted": 281,
|
||||
"legacyPending": 6618,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609
|
||||
},
|
||||
"nextTask": "WBV2-P75-002"
|
||||
}
|
||||
53
tests/golden/WBV2-P75-001/manifest.json
Normal file
53
tests/golden/WBV2-P75-001/manifest.json
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P75-001",
|
||||
"parentTask": "WBV2-P75-000",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "done",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P75-000/manifest.json",
|
||||
"sha256": "d42d96bde5600dc4c2a7aa741b56d245a4397ae11a19cb2fe38d0811d47f6a07"
|
||||
},
|
||||
"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-P75-001/implementation-report.json",
|
||||
"sha256": "9f51798f5c11fef505840e44870ae3cadce1af9c5051771c02127f794a549981"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P75-001.md",
|
||||
"sha256": "ccc60c57f6eea2272983e9880b08c155aa7ce95cad5e42a7040adff81e2ac579"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P75-001/capability-continuation-plan.json",
|
||||
"sha256": "c8cb63b63111dc120bc9f9665890ccfb06c34d46b6efeca5fc1dde2c32a33f08"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P75-001/task-context.json",
|
||||
"sha256": "b9f34e47c00f55c9b96dea3961f487fcb080b6ff874a4c89b6076de6d62c1c01"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"capabilityFamily": "INVENTORY.CAPABILITY_BATCH_INDEX",
|
||||
"sourceBacked": true,
|
||||
"batchCount": 27,
|
||||
"pendingRows": 6609,
|
||||
"verificationDeferred": true,
|
||||
"completionOverlayWritten": false,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P75-002"
|
||||
}
|
||||
167
tests/golden/WBV2-P75-001/task-context.json
Normal file
167
tests/golden/WBV2-P75-001/task-context.json
Normal file
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P75-001",
|
||||
"parentTask": "WBV2-P75-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-P75-001 --write"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 4232,
|
||||
"contextRemainingTokens": 1057
|
||||
},
|
||||
"source": {
|
||||
"bytes": 5672,
|
||||
"tokens": 1419
|
||||
},
|
||||
"selected": [],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender",
|
||||
"bytes": 12546,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P27-001/verification-batch-plan.json",
|
||||
"bytes": 21184,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P75-001/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P75-001.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P75-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-P75-002",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P75-001.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P75-000/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P75-000.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P75-001.md",
|
||||
"tests/golden/WBV2-P75-000/manifest.json",
|
||||
"docs/status/WBV2-P75-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-P75-000",
|
||||
"parentTask": "WBV2-P74-003",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P75-001",
|
||||
"artifactCount": 4
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P75-000 status",
|
||||
"- task: `WBV2-P75-000`; parent: `WBV2-P74-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-P75-001`"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1299,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 39,
|
||||
"taskTokens": 325
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2803,
|
||||
"lines": 51,
|
||||
"tokens": 701
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P75-001.md",
|
||||
"bytes": 1299,
|
||||
"lines": 39,
|
||||
"tokens": 325
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P75-000/manifest.json",
|
||||
"bytes": 1282,
|
||||
"lines": 40,
|
||||
"tokens": 321
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P75-000.md",
|
||||
"bytes": 288,
|
||||
"lines": 8,
|
||||
"tokens": 72
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1419,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 1419,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 2443,
|
||||
"serializedContextTokens": 620,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
151
tests/golden/WBV2-P75-002/capability-continuation-plan.json
Normal file
151
tests/golden/WBV2-P75-002/capability-continuation-plan.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P75",
|
||||
"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-P75-000",
|
||||
"phase": "P75",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P74-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P75-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-P75-001",
|
||||
"phase": "P75",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P75-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P75-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-P75-002",
|
||||
"phase": "P75",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P75-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P75-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-P75-003",
|
||||
"phase": "P75",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P75-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P75-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
|
||||
}
|
||||
]
|
||||
}
|
||||
35
tests/golden/WBV2-P75-002/implementation-report.json
Normal file
35
tests/golden/WBV2-P75-002/implementation-report.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P75-002",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "PASS",
|
||||
"family": "RENDER.VIEW_LAYER_LIGHTGROUPS",
|
||||
"sourcePaths": [
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_main_state.h",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"web/protocol/web-engine.ts"
|
||||
],
|
||||
"command": "existing source-backed workbench wiring",
|
||||
"batching": {
|
||||
"sourcePlan": "tests/golden/WBV2-P27-001/verification-batch-plan.json",
|
||||
"batchCount": 27,
|
||||
"pendingRows": 6609,
|
||||
"deduplication": true
|
||||
},
|
||||
"verification": {
|
||||
"status": "DEFERRED",
|
||||
"chromium": false,
|
||||
"e2eReceipts": false,
|
||||
"completionOverlay": false
|
||||
},
|
||||
"inventory": {
|
||||
"total": 6900,
|
||||
"legacyCompleted": 281,
|
||||
"legacyPending": 6618,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609
|
||||
},
|
||||
"nextTask": "WBV2-P75-003"
|
||||
}
|
||||
65
tests/golden/WBV2-P75-002/manifest.json
Normal file
65
tests/golden/WBV2-P75-002/manifest.json
Normal file
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P75-002",
|
||||
"parentTask": "WBV2-P75-001",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "done",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P75-001/manifest.json",
|
||||
"sha256": "ae6a83fc59ff72b61bbcc5a8f1cbf279cbcd450651074fe7460f257bf7add100"
|
||||
},
|
||||
"source1": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp",
|
||||
"sha256": "020f88179fd842c661c6f305b00972d53394a1431fc81e35ea59bfac1d725868"
|
||||
},
|
||||
"source2": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h",
|
||||
"sha256": "ae514883954d92df54cbafb1454220e3cd5a73467ef2d855c1801359aa8262fe"
|
||||
},
|
||||
"source3": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
|
||||
"sha256": "6eb5f7896c118cbb096d287f1e3efa6e0a745177cbc40ccd605c93aa4b68e3eb"
|
||||
},
|
||||
"source4": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"sha256": "e0d57edebf0ea4359f280a6cab4b3ecb3737799bf1c1629b1f8522c5779c945c"
|
||||
},
|
||||
"source5": {
|
||||
"path": "web/protocol/web-engine.ts",
|
||||
"sha256": "1d10ed6a94df27608bfb576d14458adce4e0eb0544ee30441fa8ebeaab77b66f"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P75-002/implementation-report.json",
|
||||
"sha256": "217df3572b4ad45e5dbbe387998ad3d8de19e67829bf272f220d202e43c8429d"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P75-002.md",
|
||||
"sha256": "52a2d1e615eaa5356645ff59e6914488cdbabba24bee0cd5a189ad0f00ccc4f6"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P75-002/capability-continuation-plan.json",
|
||||
"sha256": "a71cd0f46a2da4b2b15e081abeb23d042525c95437af4441a6b5808afdcc7a0e"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P75-002/task-context.json",
|
||||
"sha256": "da0e9881858cb8b334eb0060166c1ad3b2ede740a691ed4c2ba008f5dfc3a490"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"capabilityFamily": "RENDER.VIEW_LAYER_LIGHTGROUPS",
|
||||
"sourceBacked": true,
|
||||
"batchCount": 27,
|
||||
"pendingRows": 6609,
|
||||
"verificationDeferred": true,
|
||||
"completionOverlayWritten": false,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P75-003"
|
||||
}
|
||||
167
tests/golden/WBV2-P75-002/task-context.json
Normal file
167
tests/golden/WBV2-P75-002/task-context.json
Normal file
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P75-002",
|
||||
"parentTask": "WBV2-P75-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-P75-002 --write"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 3577,
|
||||
"contextRemainingTokens": 893
|
||||
},
|
||||
"source": {
|
||||
"bytes": 6327,
|
||||
"tokens": 1583
|
||||
},
|
||||
"selected": [],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender",
|
||||
"bytes": 12546,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P27-001/verification-batch-plan.json",
|
||||
"bytes": 21184,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P75-002/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P75-002.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P75-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-P75-003",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P75-002.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P75-001/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P75-001.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P75-002.md",
|
||||
"tests/golden/WBV2-P75-001/manifest.json",
|
||||
"docs/status/WBV2-P75-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-P75-001",
|
||||
"parentTask": "WBV2-P75-000",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P75-002",
|
||||
"artifactCount": 7
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P75-001 status",
|
||||
"- task: `WBV2-P75-001`; parent: `WBV2-P75-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-P75-002`"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1320,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 39,
|
||||
"taskTokens": 330
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2803,
|
||||
"lines": 51,
|
||||
"tokens": 701
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P75-002.md",
|
||||
"bytes": 1320,
|
||||
"lines": 39,
|
||||
"tokens": 330
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P75-001/manifest.json",
|
||||
"bytes": 1887,
|
||||
"lines": 54,
|
||||
"tokens": 472
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P75-001.md",
|
||||
"bytes": 317,
|
||||
"lines": 8,
|
||||
"tokens": 80
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1583,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 1583,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 2607,
|
||||
"serializedContextTokens": 625,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
181
tests/golden/WBV2-P75-003/capability-continuation-plan.json
Normal file
181
tests/golden/WBV2-P75-003/capability-continuation-plan.json
Normal file
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P75",
|
||||
"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-P75-000",
|
||||
"phase": "P75",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P74-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P75-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-P75-001",
|
||||
"phase": "P75",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P75-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P75-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-P75-002",
|
||||
"phase": "P75",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P75-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P75-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-P75-003",
|
||||
"phase": "P75",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P75-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p75-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P75-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-P76-000",
|
||||
"phase": "P76",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P75-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p76-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P76-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
|
||||
}
|
||||
]
|
||||
}
|
||||
33
tests/golden/WBV2-P75-003/implementation-report.json
Normal file
33
tests/golden/WBV2-P75-003/implementation-report.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P75-003",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "PASS",
|
||||
"family": "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE",
|
||||
"sourcePaths": [
|
||||
"web/protocol/web-engine-capabilities.ts",
|
||||
"web/app/src/workers/web-engine.worker.ts",
|
||||
"web/app/src/vendor/blender/web_engine.wasm"
|
||||
],
|
||||
"command": "npm --prefix web run build",
|
||||
"batching": {
|
||||
"sourcePlan": "tests/golden/WBV2-P27-001/verification-batch-plan.json",
|
||||
"batchCount": 27,
|
||||
"pendingRows": 6609,
|
||||
"deduplication": true
|
||||
},
|
||||
"verification": {
|
||||
"status": "DEFERRED",
|
||||
"chromium": false,
|
||||
"e2eReceipts": false,
|
||||
"completionOverlay": false
|
||||
},
|
||||
"inventory": {
|
||||
"total": 6900,
|
||||
"legacyCompleted": 281,
|
||||
"legacyPending": 6618,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609
|
||||
},
|
||||
"nextTask": "WBV2-P76-000"
|
||||
}
|
||||
57
tests/golden/WBV2-P75-003/manifest.json
Normal file
57
tests/golden/WBV2-P75-003/manifest.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P75-003",
|
||||
"parentTask": "WBV2-P75-002",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "done",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P75-002/manifest.json",
|
||||
"sha256": "d4a3a25e4abc6c043a1fa80213ca250049725150dd375bb58be612197cc8a554"
|
||||
},
|
||||
"source1": {
|
||||
"path": "web/protocol/web-engine-capabilities.ts",
|
||||
"sha256": "404b52478695647e35a65e63d05a9c5d52ea197543bbf7cc929085a166803993"
|
||||
},
|
||||
"source2": {
|
||||
"path": "web/app/src/workers/web-engine.worker.ts",
|
||||
"sha256": "803ef1ed124c70dfb46c7e879b2ac6e01f36f1da2072493dafaacfda2932ff31"
|
||||
},
|
||||
"source3": {
|
||||
"path": "web/app/src/vendor/blender/web_engine.wasm",
|
||||
"sha256": "ee6d28a541ff36fb95e902c686fbf5a3a19a467582fd5458f0bfd82e2a753e14"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P75-003/implementation-report.json",
|
||||
"sha256": "535ad21c0eed46c01ac53766fb85490a045e8d259d4064f155717683da88d6e4"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P75-003.md",
|
||||
"sha256": "5bd353adeae95a307254bdf2e0f62fd6263261fd120de3c05a224e278665b238"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P75-003/capability-continuation-plan.json",
|
||||
"sha256": "c52e3102e7cc9240e5b37a4d5ca74907bd55a0cd43b8de46cd49028456d24ae8"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P75-003/task-context.json",
|
||||
"sha256": "c743c3e65ede05675e1d8dd82f98e99158b94b0a596c7b74201518ca15bb17bb"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"capabilityFamily": "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE",
|
||||
"sourceBacked": true,
|
||||
"batchCount": 27,
|
||||
"pendingRows": 6609,
|
||||
"verificationDeferred": true,
|
||||
"completionOverlayWritten": false,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P76-000"
|
||||
}
|
||||
167
tests/golden/WBV2-P75-003/task-context.json
Normal file
167
tests/golden/WBV2-P75-003/task-context.json
Normal file
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P75-003",
|
||||
"parentTask": "WBV2-P75-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-P75-003 --write"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 3072,
|
||||
"contextRemainingTokens": 767
|
||||
},
|
||||
"source": {
|
||||
"bytes": 6832,
|
||||
"tokens": 1709
|
||||
},
|
||||
"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-P75-003/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P75-003.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P75-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-P76-000",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P75-003.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P75-002/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P75-002.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P75-003.md",
|
||||
"tests/golden/WBV2-P75-002/manifest.json",
|
||||
"docs/status/WBV2-P75-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-P75-002",
|
||||
"parentTask": "WBV2-P75-001",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P75-003",
|
||||
"artifactCount": 10
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P75-002 status",
|
||||
"- task: `WBV2-P75-002`; parent: `WBV2-P75-001`; status: `done`",
|
||||
"- capability-family implementation: `PASS`; 27 deduplicated batches; 6609 pending rows",
|
||||
"- Chromium, E2E receipts and completion overlay: `DEFERRED`",
|
||||
"- inventory unchanged: `6900/6618`, effective `290/6609`",
|
||||
"- nextTask: `WBV2-P75-003`"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1284,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 39,
|
||||
"taskTokens": 321
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2803,
|
||||
"lines": 51,
|
||||
"tokens": 701
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P75-003.md",
|
||||
"bytes": 1284,
|
||||
"lines": 39,
|
||||
"tokens": 321
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P75-002/manifest.json",
|
||||
"bytes": 2428,
|
||||
"lines": 66,
|
||||
"tokens": 607
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P75-002.md",
|
||||
"bytes": 317,
|
||||
"lines": 8,
|
||||
"tokens": 80
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1709,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 1709,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 2733,
|
||||
"serializedContextTokens": 617,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
162
tests/golden/WBV2-P76-000/task-context.json
Normal file
162
tests/golden/WBV2-P76-000/task-context.json
Normal file
@@ -0,0 +1,162 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P76-000",
|
||||
"parentTask": "WBV2-P75-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-P76-000 --write"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 3703,
|
||||
"contextRemainingTokens": 924
|
||||
},
|
||||
"source": {
|
||||
"bytes": 6201,
|
||||
"tokens": 1552
|
||||
},
|
||||
"selected": [],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender",
|
||||
"bytes": 12546,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P76-000/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P76-000.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P76-000/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"files": 0,
|
||||
"bytes": 0,
|
||||
"tokens": 0
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"6900 inventory remains immutable",
|
||||
"capability families are deduplicated before implementation",
|
||||
"real Blender source or WebEngine Main path is wired",
|
||||
"verification and completion overlay remain deferred"
|
||||
],
|
||||
"nextTask": null,
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P76-000.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P75-003/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P75-003.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P76-000.md",
|
||||
"tests/golden/WBV2-P75-003/manifest.json",
|
||||
"docs/status/WBV2-P75-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-P75-003",
|
||||
"parentTask": "WBV2-P75-002",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P76-000",
|
||||
"artifactCount": 8
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P75-003 status",
|
||||
"- task: `WBV2-P75-003`; parent: `WBV2-P75-002`; status: `done`",
|
||||
"- capability-family implementation: `PASS`; 27 deduplicated batches; 6609 pending rows",
|
||||
"- Chromium, E2E receipts and completion overlay: `DEFERRED`",
|
||||
"- inventory unchanged: `6900/6618`, effective `290/6609`",
|
||||
"- nextTask: `WBV2-P76-000`"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1052,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 36,
|
||||
"taskTokens": 263
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2803,
|
||||
"lines": 51,
|
||||
"tokens": 701
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P76-000.md",
|
||||
"bytes": 1052,
|
||||
"lines": 36,
|
||||
"tokens": 263
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P75-003/manifest.json",
|
||||
"bytes": 2029,
|
||||
"lines": 58,
|
||||
"tokens": 508
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P75-003.md",
|
||||
"bytes": 317,
|
||||
"lines": 8,
|
||||
"tokens": 80
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1552,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 1552,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 2576,
|
||||
"serializedContextTokens": 619,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{"id":"WBV2-P74-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P74","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-P74-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P74","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-P74-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P74","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-P74-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P74","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-P75-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P75","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-P75-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P75","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-P75-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P75","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-P75-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P75","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-P75-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P75","state":"completed","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]}
|
||||
{"id":"WBV2-P76-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P76","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"]}
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P74-003/capability-continuation-plan.json","sha256":"c44ccdb951e18ce0fc6b1ee07e2571e19ea0cd1905dec2445c0e70093a2fa3ab"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"034ff1a8367b78aee7b5e23f24b5cf05a0e763c238b14d90092b537f81e77b86"},"taskCount":5,"activeTask":"WBV2-P75-000","entries":{"WBV2-P74-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P73-003","next":"WBV2-P74-001"},"WBV2-P74-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P74-000","next":"WBV2-P74-002"},"WBV2-P74-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P74-001","next":"WBV2-P74-003"},"WBV2-P74-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P74-002","next":"WBV2-P75-000"},"WBV2-P75-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P74-003","next":null}}}
|
||||
{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P75-003/capability-continuation-plan.json","sha256":"c52e3102e7cc9240e5b37a4d5ca74907bd55a0cd43b8de46cd49028456d24ae8"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"cdccd07f0ee0128fdb30fc248dafd88ec69d4ba2e68284f520fbcf04f973120a"},"taskCount":5,"activeTask":"WBV2-P76-000","entries":{"WBV2-P75-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P74-003","next":"WBV2-P75-001"},"WBV2-P75-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P75-000","next":"WBV2-P75-002"},"WBV2-P75-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P75-001","next":"WBV2-P75-003"},"WBV2-P75-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P75-002","next":"WBV2-P76-000"},"WBV2-P76-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P75-003","next":null}}}
|
||||
|
||||
@@ -27,7 +27,11 @@ assert.equal(parent.nextTask, task);
|
||||
const commands = { 1: [process.execPath, "tools/web/build-wbv2-capability-implementation-index.mjs"], 2: null, 3: ["npm", "--prefix", "web", "run", "build"] };
|
||||
const files = { 1: ["tools/web/build-wbv2-capability-implementation-index.mjs", "tests/golden/WBV2-P27-001/verification-batch-plan.json"], 2: phase >= 59 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 57 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 56 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 55 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 54 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 53 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 52 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 51 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 50 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 49 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 47 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "web/protocol/web-engine.ts"] : ["web/app/src/app/App.tsx", "web/protocol/web-engine-capabilities.ts"], 3: ["web/protocol/web-engine-capabilities.ts", "web/app/src/workers/web-engine.worker.ts", "web/app/src/vendor/blender/web_engine.wasm"] };
|
||||
const markers = { 1: "BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX", 2: phase >= 71 ? "web_engine_blend_main_set_scene_view_layer_pass_settings" : phase >= 70 ? "web_engine_blend_main_set_scene_line_settings" : phase >= 69 ? "web_engine_blend_main_set_scene_stamp_settings" : phase >= 68 ? "web_engine_blend_main_set_scene_multiview_settings" : phase >= 67 ? "web_engine_blend_main_set_scene_sampling_settings" : phase >= 66 ? "web_engine_blend_main_set_scene_performance_settings" : phase >= 65 ? "web_engine_blend_main_set_scene_compositor_settings" : phase >= 64 ? "web_engine_blend_main_set_scene_hair_settings" : phase >= 63 ? "web_engine_blend_main_set_scene_motion_blur" : phase >= 62 ? "web_engine_blend_main_set_scene_image_format" : phase >= 61 ? "web_engine_blend_main_set_scene_color_management" : phase >= 60 ? "web_engine_blend_main_set_scene_simplify_settings" : phase >= 59 ? "web_engine_blend_main_set_scene_border_settings" : phase >= 58 ? "web_engine_blend_main_set_scene_collection_settings" : phase >= 57 ? "web_engine_blend_main_set_scene_view_layer_settings" : phase >= 56 ? "web_engine_blend_main_set_scene_bindings" : phase >= 55 ? "web_engine_blend_main_set_scene_pipeline_settings" : phase >= 54 ? "web_engine_blend_main_set_scene_timeline_settings" : phase >= 53 ? "web_engine_blend_main_set_scene_unit_settings" : phase >= 52 ? "web_engine_blend_main_set_scene_audio_settings" : phase >= 51 ? "web_engine_blend_main_set_scene_render_settings" : phase >= 50 ? "web_engine_blend_main_set_scene_properties" : phase >= 49 ? "web_engine_blend_main_set_physics_simulation" : phase >= 47 ? "web_engine_blend_main_set_geometry_node_graph" : "capability-family-workbench", 3: "WEB_ENGINE_COMMAND_CAPABILITIES" };
|
||||
if (phase >= 74) {
|
||||
if (phase >= 75) {
|
||||
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_scene_view_layer_lightgroups";
|
||||
}
|
||||
else if (phase >= 74) {
|
||||
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_scene_view_layer_aovs";
|
||||
}
|
||||
@@ -41,7 +45,7 @@ if (commands[index]) execFileSync(commands[index][0], commands[index].slice(1),
|
||||
const nextIndex = index + 1;
|
||||
const nextTask = nextIndex <= 3 ? `WBV2-P${phase}-${String(nextIndex).padStart(3, "0")}` : `WBV2-P${phase + 1}-000`;
|
||||
const family = index === 1 ? "INVENTORY.CAPABILITY_BATCH_INDEX" : index === 2 && phase >= 71 ? "RENDER.VIEW_LAYER_PASSES" : index === 2 && phase >= 70 ? "RENDER.LINE_SETTINGS" : index === 2 && phase >= 69 ? "RENDER.STAMP_SETTINGS" : index === 2 && phase >= 68 ? "RENDER.MULTIVIEW_SETTINGS" : index === 2 && phase >= 67 ? "RENDER.SAMPLING_SETTINGS" : index === 2 && phase >= 66 ? "PERFORMANCE.RENDER_SETTINGS" : index === 2 && phase >= 65 ? "COMPOSITOR.EXECUTION_SETTINGS" : index === 2 && phase >= 64 ? "CORE_SCENE_GRAPH.HAIR_SETTINGS" : index === 2 && phase >= 63 ? "CORE_SCENE_GRAPH.MOTION_BLUR" : index === 2 && phase >= 62 ? "CORE_SCENE_GRAPH.IMAGE_FORMAT" : index === 2 && phase >= 61 ? "CORE_SCENE_GRAPH.COLOR_MANAGEMENT" : index === 2 && phase >= 60 ? "CORE_SCENE_GRAPH.SIMPLIFY_SETTINGS" : index === 2 && phase >= 59 ? "CORE_SCENE_GRAPH.BORDER_SETTINGS" : index === 2 && phase >= 58 ? "CORE_SCENE_GRAPH.COLLECTION_SETTINGS" : index === 2 && phase >= 57 ? "CORE_SCENE_GRAPH.VIEW_LAYER_SETTINGS" : index === 2 && phase >= 56 ? "CORE_SCENE_GRAPH.BINDINGS" : index === 2 && phase >= 55 ? "CORE_SCENE_GRAPH.PIPELINE_SETTINGS" : index === 2 && phase >= 54 ? "CORE_SCENE_GRAPH.TIMELINE_SETTINGS" : index === 2 && phase >= 53 ? "CORE_SCENE_GRAPH.UNIT_SETTINGS" : index === 2 && phase >= 52 ? "CORE_SCENE_GRAPH.AUDIO_SETTINGS" : index === 2 && phase >= 51 ? "CORE_SCENE_GRAPH.RENDER_SETTINGS" : index === 2 && phase >= 50 ? "CORE_SCENE_GRAPH.SCENE_PROPERTIES" : index === 2 && phase >= 49 ? "SIMULATION.NATIVE_MANIFEST_BINDING" : index === 2 && phase >= 47 ? "GEOMETRY_NODES.NATIVE_MATERIALIZATION" : index === 2 ? "WORKFLOW.CAPABILITY_FAMILY_WORKBENCH" : "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE";
|
||||
const reportedFamily = phase === 74 && index === 2 ? "RENDER.VIEW_LAYER_AOV" : phase === 73 && index === 2 ? "ARCHITECTURE.UNIFIED_WASM_JSON_ABI" : family;
|
||||
const reportedFamily = phase === 75 && index === 2 ? "RENDER.VIEW_LAYER_LIGHTGROUPS" : phase === 74 && index === 2 ? "RENDER.VIEW_LAYER_AOV" : phase === 73 && index === 2 ? "ARCHITECTURE.UNIFIED_WASM_JSON_ABI" : family;
|
||||
const out = `tests/golden/${task}`;
|
||||
const reportPath = `${out}/implementation-report.json`;
|
||||
const statusPath = `docs/status/${task}.md`;
|
||||
|
||||
BIN
web/app/public/vendor/blender/web_engine.wasm
vendored
BIN
web/app/public/vendor/blender/web_engine.wasm
vendored
Binary file not shown.
@@ -956,6 +956,7 @@ function Properties({ snapshot, selectedFaceIndices, selectedVertexIndices, grea
|
||||
{activeScene ? <div className="property-section" data-testid="scene-bindings-workbench"><h3>Scene Bindings</h3><output>Camera {activeScene.cameraObjectId ?? "None"} · World {activeScene.worldId ?? "None"}</output><div className="property-actions"><button type="button" disabled={!snapshot?.nodes.some((node) => node.id === activeScene.cameraObjectId && node.type === "CAMERA")} onClick={() => onCommand(animationRenderCommands.setSceneBindings(activeScene.id, { cameraObjectId: activeScene.cameraObjectId }))}>确认相机绑定</button><button type="button" disabled={!activeWorld} onClick={() => onCommand(animationRenderCommands.setSceneBindings(activeScene.id, { worldId: activeWorld?.id ?? null }))}>绑定当前世界</button></div></div> : null}
|
||||
{activeScene?.viewLayers?.length ? <div className="property-section" data-testid="scene-view-layer-settings-workbench"><h3>View Layers</h3>{activeScene.viewLayers.map((layer) => <div key={layer.name}><output>{layer.name} · {layer.useRender ? "Render" : "Disabled"} · {layer.useFreestyle ? "Freestyle" : "No Freestyle"} · {layer.samples} samples</output><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneViewLayerSettings(activeScene.id, layer.name, { useRender: !layer.useRender }))}>切换渲染</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneViewLayerSettings(activeScene.id, layer.name, { samples: Math.min(1000000, layer.samples + 1) }))}>增加采样</button></div>)}</div> : null}
|
||||
{activeScene?.viewLayers?.filter((layer) => layer.aovs?.length).map((layer) => <div className="property-section" data-testid="scene-view-layer-aov-workbench" key={`aovs-${layer.name}`}><h3>{layer.name} AOVs</h3>{layer.aovs?.map((aov) => <output key={aov.name}>{aov.name} · {aov.type === 1 ? "Color" : "Value"}</output>)}<button type="button" onClick={() => onCommand(animationRenderCommands.setSceneViewLayerAOVs(activeScene.id, layer.name, [...(layer.aovs ?? []).map((aov) => ({ name: aov.name, type: (aov.type === 1 ? 1 : 0) as 0 | 1 })), { name: `AOV_${(layer.aovs?.length ?? 0) + 1}`, type: 1 }]))}>Add Color AOV</button></div>) ?? null}
|
||||
{activeScene?.viewLayers?.filter((layer) => layer.lightgroups?.length).map((layer) => <div className="property-section" data-testid="scene-view-layer-lightgroup-workbench" key={`lightgroups-${layer.name}`}><h3>{layer.name} Lightgroups</h3>{layer.lightgroups?.map((group) => <output key={group}>{group}</output>)}<button type="button" onClick={() => onCommand(animationRenderCommands.setSceneViewLayerLightgroups(activeScene.id, layer.name, [...(layer.lightgroups ?? []), `Lightgroup_${(layer.lightgroups?.length ?? 0) + 1}`]))}>Add Lightgroup</button></div>) ?? null}
|
||||
{activeScene?.simplifySettings ? <div className="property-section" data-testid="scene-simplify-settings-workbench"><h3>Render Simplify</h3><output>Subdivision {activeScene.simplifySettings.subsurfViewport} / {activeScene.simplifySettings.subsurfRender} · Particles {activeScene.simplifySettings.particlesViewport.toFixed(2)} / {activeScene.simplifySettings.particlesRender.toFixed(2)} · Volumes {activeScene.simplifySettings.volumes.toFixed(2)}</output><div className="property-actions"><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneSimplifySettings(activeScene.id, { subsurfViewport: Math.max(0, activeScene.simplifySettings!.subsurfViewport - 1) }))}>降低细分</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneSimplifySettings(activeScene.id, { particlesViewport: Math.max(0, activeScene.simplifySettings!.particlesViewport - 0.1), volumes: Math.max(0, activeScene.simplifySettings!.volumes - 0.1) }))}>降低复杂度</button></div></div> : null}
|
||||
{activeFont ? <div className="property-section" data-testid="font-workbench"><h3>Font</h3><label>Text <textarea aria-label="Font body" value={fontBody} maxLength={65536} onChange={(event) => setFontBody(event.target.value)} /></label><div className="property-actions"><button type="button" disabled={fontBody === activeFont.text} onClick={() => onCommand(nonMeshGeometryCommands.setFontBody(activeFont.id, fontBody))}>Apply Text</button>{activeFont.fontProperties ? <button type="button" onClick={() => onCommand(nonMeshGeometryCommands.setFontProperties(activeFont.id, { extrude: Math.min(1000, activeFont.fontProperties!.extrude + 0.01) }))}>Increase Extrude</button> : null}</div><output>{activeFont.text?.length ?? 0} characters</output></div> : null}
|
||||
{activeVolume ? <div className="property-section" data-testid="volume-workbench"><h3>Volume</h3><output>{activeVolume.sourcePath ?? "No source path"}</output><output>{activeVolume.volumeGrids?.length ?? 0} grids</output>{activeVolume.volumeProperties ? <><output>Density {activeVolume.volumeProperties.displayDensity.toFixed(3)} · Step {activeVolume.volumeProperties.stepSize.toFixed(4)}</output><div className="property-actions"><button type="button" onClick={() => onCommand(nonMeshGeometryCommands.setVolumeProperties(activeVolume.id, activeVolume.sourcePath ?? "", Math.min(1e6, activeVolume.volumeProperties!.displayDensity + 0.1), activeVolume.volumeProperties!.interpolation, activeVolume.volumeProperties!.stepSize))}>Increase Density</button><button type="button" onClick={() => onCommand(nonMeshGeometryCommands.setVolumeProperties(activeVolume.id, activeVolume.sourcePath ?? "", activeVolume.volumeProperties!.displayDensity, activeVolume.volumeProperties!.interpolation === "LINEAR" ? "NEAREST" : "LINEAR", activeVolume.volumeProperties!.stepSize))}>Toggle Interpolation</button></div></> : <output>Volume properties unavailable</output>}</div> : null}
|
||||
|
||||
BIN
web/app/src/vendor/blender/web_engine.wasm
vendored
BIN
web/app/src/vendor/blender/web_engine.wasm
vendored
Binary file not shown.
@@ -821,6 +821,13 @@ function assertFutureCapability(payload: Extract<WebEngineRequest["command"], {
|
||||
}
|
||||
return;
|
||||
}
|
||||
case "setSceneViewLayerLightgroups": {
|
||||
const scene = currentSnapshot?.scenes.find((candidate) => candidate.id === payload.dataId);
|
||||
if (!scene || typeof payload.layerName !== "string" || payload.layerName.length === 0 || !Array.isArray(payload.lightgroups) || payload.lightgroups.length > 128) throw report("RENDER_PROPERTY_INVALID", "Scene ViewLayer lightgroup target is invalid");
|
||||
const names = new Set<string>();
|
||||
for (const name of payload.lightgroups) { if (typeof name !== "string" || name.length === 0 || new TextEncoder().encode(name).byteLength > 63 || names.has(name)) throw report("RENDER_PROPERTY_INVALID", "Scene lightgroup names must be unique and bounded"); names.add(name); }
|
||||
return;
|
||||
}
|
||||
case "setGeometryNodeGraph": {
|
||||
const snapshot = currentSnapshot;
|
||||
const availableResourceIds = new Set([
|
||||
|
||||
@@ -98,4 +98,7 @@ export const animationRenderCommands = Object.freeze({
|
||||
setSceneViewLayerAOVs(dataId: string, layerName: string, aovs: AnimationCommand<"setSceneViewLayerAOVs">["aovs"]): AnimationCommand<"setSceneViewLayerAOVs"> {
|
||||
return { type: "setSceneViewLayerAOVs", dataId, layerName, aovs: aovs.map((aov) => ({ ...aov })) };
|
||||
},
|
||||
setSceneViewLayerLightgroups(dataId: string, layerName: string, lightgroups: string[]): AnimationCommand<"setSceneViewLayerLightgroups"> {
|
||||
return { type: "setSceneViewLayerLightgroups", dataId, layerName, lightgroups: [...lightgroups] };
|
||||
},
|
||||
} satisfies Record<string, (...args: never[]) => WebEngineEditCommand>);
|
||||
|
||||
@@ -571,7 +571,7 @@ export interface SceneIR {
|
||||
saveOutput: boolean;
|
||||
alphaPremultiplied: boolean;
|
||||
};
|
||||
viewLayers?: Array<{ name: string; useRender: boolean; useFreestyle: boolean; samples: number; passMask?: number; cryptomatteMask?: number; cryptomatteLevels?: number; alphaThreshold?: number; aovs?: Array<{ name: string; type: number }> }>;
|
||||
viewLayers?: Array<{ name: string; useRender: boolean; useFreestyle: boolean; samples: number; passMask?: number; cryptomatteMask?: number; cryptomatteLevels?: number; alphaThreshold?: number; aovs?: Array<{ name: string; type: number }>; lightgroups?: string[] }>;
|
||||
borderSettings?: { enabled: boolean; minX: number; maxX: number; minY: number; maxY: number };
|
||||
simplifySettings?: { subsurfViewport: number; subsurfRender: number; particlesViewport: number; particlesRender: number; volumes: number };
|
||||
imageFormatSettings?: { fileType: string; colorMode: number; depth: number; quality: number; compression: number; exrCodec: number };
|
||||
@@ -1612,6 +1612,7 @@ export function parseSceneSnapshotIR(value: unknown): SceneSnapshotIR {
|
||||
if (!Array.isArray(layer.aovs)) throw new Error(`SceneIR.scenes[${index}].viewLayers[${layerIndex}].aovs must be an array`);
|
||||
for (const [aovIndex, aov] of layer.aovs.entries()) { if (!isRecord(aov)) throw new Error(`SceneIR.scenes[${index}].viewLayers[${layerIndex}].aovs[${aovIndex}] must be an object`); requireString(aov.name, `scenes[${index}].viewLayers[${layerIndex}].aovs[${aovIndex}].name`); requireNumber(aov.type, `scenes[${index}].viewLayers[${layerIndex}].aovs[${aovIndex}].type`); }
|
||||
}
|
||||
if (layer.lightgroups !== undefined) { if (!Array.isArray(layer.lightgroups)) throw new Error(`SceneIR.scenes[${index}].viewLayers[${layerIndex}].lightgroups must be an array`); for (const [groupIndex, group] of layer.lightgroups.entries()) requireString(group, `scenes[${index}].viewLayers[${layerIndex}].lightgroups[${groupIndex}]`); }
|
||||
}
|
||||
}
|
||||
if (scene.borderSettings !== undefined) {
|
||||
|
||||
@@ -102,6 +102,7 @@ export const WEB_ENGINE_COMMAND_CAPABILITIES = {
|
||||
setSceneLineSettings: { family: "RENDER", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
|
||||
setSceneViewLayerPassSettings: { family: "RENDER", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
|
||||
setSceneViewLayerAOVs: { family: "RENDER", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
|
||||
setSceneViewLayerLightgroups: { family: "RENDER", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
|
||||
setMetaballElements: { family: "GEOMETRY", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
|
||||
sculptStroke: { family: "SCULPT", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
|
||||
setSculptMeshAttributes: { family: "SCULPT", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
|
||||
|
||||
@@ -166,6 +166,7 @@ export type WebEngineEditCommand =
|
||||
| { type: "setSceneLineSettings"; dataId: string; properties: { mode?: 1 | 2; thickness?: number } }
|
||||
| { type: "setSceneViewLayerPassSettings"; dataId: string; layerName: string; properties: { passMask?: number; cryptomatteMask?: number; cryptomatteLevels?: number; alphaThreshold?: number } }
|
||||
| { type: "setSceneViewLayerAOVs"; dataId: string; layerName: string; aovs: Array<{ name: string; type: 0 | 1 }> }
|
||||
| { type: "setSceneViewLayerLightgroups"; dataId: string; layerName: string; lightgroups: string[] }
|
||||
| { type: "setMetaballElements"; dataId: string; elements: Array<{ type: number; position: [number, number, number]; radius: number; scale: [number, number, number] }> }
|
||||
| { type: "sculptStroke"; stroke: SculptStrokeIR }
|
||||
| { type: "setSculptMeshAttributes"; attributes: SculptMeshAttributesIR }
|
||||
|
||||
@@ -4,7 +4,7 @@ export const WORKBENCH_COMMAND_GROUPS = Object.freeze({
|
||||
OBJECT: ["createPrimitive", "duplicateObject", "deleteObject", "setObjectTransform", "setParent", "createCollection", "moveObjectToCollection", "renameId", "applyObjectTransform", "setObjectOrigin"],
|
||||
MESH: ["meshEdit", "translateMeshVertices", "createUVMap", "setActiveUVMap", "unwrapUV", "setVertexColors", "setVertexWeights"],
|
||||
ANIMATION: ["setFrame", "insertObjectKeyframe", "deleteObjectKeyframe", "setFCurveInterpolation", "setConstraint", "setNLAStack"],
|
||||
RENDER: ["setCameraProperties", "setLightProperties", "setWorldProperties", "setSceneProperties", "setSceneRenderSettings", "setSceneAudioSettings", "setSceneUnitSettings", "setSceneTimelineSettings", "setScenePipelineSettings", "setSceneBindings", "setSceneViewLayerSettings", "setSceneCollectionSettings", "setSceneBorderSettings", "setSceneSimplifySettings", "setSceneColorManagement", "setSceneImageFormat", "setSceneMotionBlur", "setSceneHairSettings", "setSceneCompositorSettings", "setScenePerformanceSettings", "setSceneSamplingSettings", "setSceneMultiviewSettings", "setSceneStampSettings", "setSceneLineSettings", "setSceneViewLayerPassSettings", "setSceneViewLayerAOVs"],
|
||||
RENDER: ["setCameraProperties", "setLightProperties", "setWorldProperties", "setSceneProperties", "setSceneRenderSettings", "setSceneAudioSettings", "setSceneUnitSettings", "setSceneTimelineSettings", "setScenePipelineSettings", "setSceneBindings", "setSceneViewLayerSettings", "setSceneCollectionSettings", "setSceneBorderSettings", "setSceneSimplifySettings", "setSceneColorManagement", "setSceneImageFormat", "setSceneMotionBlur", "setSceneHairSettings", "setSceneCompositorSettings", "setScenePerformanceSettings", "setSceneSamplingSettings", "setSceneMultiviewSettings", "setSceneStampSettings", "setSceneLineSettings", "setSceneViewLayerPassSettings", "setSceneViewLayerAOVs", "setSceneViewLayerLightgroups"],
|
||||
IO: ["importImage", "importVFont", "setMaterialImageNode"],
|
||||
} as const satisfies Record<string, readonly WebEngineCommandType[]>);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user