feat(web): add scene render border authoring
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-08-29 14:07:24 +08:00
parent b6c64d01d6
commit 013aee26f8
46 changed files with 1921 additions and 39 deletions

View File

@@ -1592,7 +1592,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 == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" ||
type == "setSculptMeshAttributes" ||
type == "sculptStroke") {
if (!engine->authoritative_commands || engine->authoritative_main == nullptr) {
@@ -2196,7 +2196,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")
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")
{
const json properties = command.value("properties", json::object());
if (type == "setSceneProperties") {
@@ -2245,6 +2245,11 @@ EMSCRIPTEN_KEEPALIVE int web_engine_apply_command(const int handle,
command.value("layerName", "").c_str(), command.value("collectionId", "").c_str(),
properties.dump().c_str(), main_error);
}
else if (type == "setSceneBorderSettings") {
applied = web_engine_blend_main_set_scene_border_settings(
engine->authoritative_main, command.value("dataId", "").c_str(),
properties.dump().c_str(), main_error);
}
else {
applied = web_engine_blend_main_set_render_properties(
engine->authoritative_main, command.value("dataId", "").c_str(),

View File

@@ -5269,6 +5269,13 @@ json scene_ir_from_blend(const ParsedBlend &blend,
{"saveOutput", (render_mode & R_SAVE_OUTPUT) != 0},
{"alphaPremultiplied", read_integer(*blend.sdna, *render, "alphamode").value_or(0) == R_ALPHAPREMUL}};
const int64_t render_flags = read_integer(*blend.sdna, *render, "flag").value_or(0);
if ((render_mode & R_BORDER) != 0) {
scene["borderSettings"] = {{"enabled", true},
{"minX", read_float(*blend.sdna, *render, "border.xmin").value_or(0.0f)},
{"maxX", read_float(*blend.sdna, *render, "border.xmax").value_or(1.0f)},
{"minY", read_float(*blend.sdna, *render, "border.ymin").value_or(0.0f)},
{"maxY", read_float(*blend.sdna, *render, "border.ymax").value_or(1.0f)}};
}
if ((render_flags & SCER_PRV_RANGE) != 0) {
scene["previewRange"] = {{"start", read_integer(*blend.sdna, *render, "psfra").value_or(frame_start)},
{"end", read_integer(*blend.sdna, *render, "pefra").value_or(frame_end)}};

View File

@@ -6299,6 +6299,35 @@ bool web_engine_blend_main_set_scene_collection_settings(WebBlendMainState *stat
return true;
}
bool web_engine_blend_main_set_scene_border_settings(WebBlendMainState *state,
const char *target_id,
const char *properties_json,
std::string &error)
{
if (state == nullptr || state->main == nullptr || target_id == nullptr || properties_json == nullptr) { error = "RENDER_PROPERTY_INVALID: scene border target is missing"; return false; }
Scene *scene = find_scene(state->main, target_id);
if (scene == nullptr || scene->id.lib != nullptr) { error = "LINKED_DATA_MUTATION_BLOCKED: Scene is not editable"; return false; }
const json properties = json::parse(properties_json, nullptr, false);
if (!properties.is_object() || properties.empty()) { error = "RENDER_PROPERTY_INVALID: scene border settings must be a non-empty object"; return false; }
const std::unordered_set<std::string> allowed = {"enabled", "minX", "maxX", "minY", "maxY"};
for (const auto &[key, value] : properties.items()) { (void)value; if (!allowed.contains(key)) { error = "RENDER_PROPERTY_INVALID: unsupported scene border property " + key; return false; } }
auto read_border = [&](const char *key, float &target) {
if (!properties.contains(key)) return true;
if (!properties[key].is_number()) { error = std::string("RENDER_PROPERTY_INVALID: ") + key + " must be numeric"; return false; }
const float value = properties[key].get<float>();
if (!std::isfinite(value) || value < 0.0f || value > 1.0f) { error = std::string("RENDER_PROPERTY_INVALID: ") + key + " is outside the normalized border"; return false; }
target = value; return true;
};
if (!read_border("minX", scene->r.border.xmin) || !read_border("maxX", scene->r.border.xmax) || !read_border("minY", scene->r.border.ymin) || !read_border("maxY", scene->r.border.ymax)) return false;
if (scene->r.border.xmax <= scene->r.border.xmin || scene->r.border.ymax <= scene->r.border.ymin) { error = "RENDER_PROPERTY_INVALID: border max values must exceed min values"; return false; }
if (properties.contains("enabled")) {
if (!properties["enabled"].is_boolean()) { error = "RENDER_PROPERTY_INVALID: enabled must be boolean"; return false; }
if (properties["enabled"].get<bool>()) scene->r.mode |= R_BORDER; else scene->r.mode &= ~R_BORDER;
}
scene->id.recalc |= ID_RECALC_PARAMETERS;
return true;
}
bool web_engine_blend_main_write(WebBlendMainState *state,
std::vector<uint8_t> &bytes,
std::string &error)

View File

@@ -555,6 +555,10 @@ bool web_engine_blend_main_set_scene_collection_settings(WebBlendMainState *stat
const char *collection_id,
const char *properties_json,
std::string &error);
bool web_engine_blend_main_set_scene_border_settings(WebBlendMainState *state,
const char *target_id,
const char *properties_json,
std::string &error);
bool web_engine_blend_main_write(WebBlendMainState *state,
std::vector<uint8_t> &bytes,
std::string &error);

View File

@@ -13,9 +13,9 @@
| 字段 | 值 |
| --- | --- |
| 里程碑 | WBV2 capability workflow |
| 当前任务 | `WBV2-P59-000` |
| parent manifest | `tests/golden/WBV2-P58-003/manifest.json` |
| 任务卡 | [`tasks/WBV2-P59-000.md`](tasks/WBV2-P59-000.md) |
| 当前任务 | `WBV2-P60-000` |
| parent manifest | `tests/golden/WBV2-P59-003/manifest.json` |
| 任务卡 | [`tasks/WBV2-P60-000.md`](tasks/WBV2-P60-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` |

View File

@@ -0,0 +1,7 @@
# WBV2-P59-000 status
- task: `WBV2-P59-000`; parent: `WBV2-P58-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-P59-001`

View File

@@ -0,0 +1,7 @@
# WBV2-P59-001 status
- task: `WBV2-P59-001`; parent: `WBV2-P59-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-P59-002`

View File

@@ -0,0 +1,7 @@
# WBV2-P59-002 status
- task: `WBV2-P59-002`; parent: `WBV2-P59-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-P59-003`

View File

@@ -0,0 +1,7 @@
# WBV2-P59-003 status
- task: `WBV2-P59-003`; parent: `WBV2-P59-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-P60-000`

View File

@@ -0,0 +1,38 @@
# WBV2-P59-001: index_capability_family_batches
- task: WBV2-P59-001
- parent: WBV2-P59-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-P59-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-P59-001 --write`
## 失败边界
- missing source or unsupported capability remains in_progress/blocked
- representative implementation is never declared as full-family parity
## 交付与回滚
- Reports: `tests/golden/WBV2-P59-001/`
- Status: `docs/status/WBV2-P59-001.md`
- Manifest: `tests/golden/WBV2-P59-001/manifest.json`
- Rollback: restore WBV2-P59-000 as queue parent and leave the task in_progress.

View File

@@ -0,0 +1,38 @@
# WBV2-P59-002: implement_capability_family_slice
- task: WBV2-P59-002
- parent: WBV2-P59-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-P59-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-P59-002 --write`
## 失败边界
- missing source or unsupported capability remains in_progress/blocked
- representative implementation is never declared as full-family parity
## 交付与回滚
- Reports: `tests/golden/WBV2-P59-002/`
- Status: `docs/status/WBV2-P59-002.md`
- Manifest: `tests/golden/WBV2-P59-002/manifest.json`
- Rollback: restore WBV2-P59-001 as queue parent and leave the task in_progress.

View File

@@ -0,0 +1,38 @@
# WBV2-P59-003: run_capability_family_smoke
- task: WBV2-P59-003
- parent: WBV2-P59-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-P59-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-P59-003 --write`
## 失败边界
- missing source or unsupported capability remains in_progress/blocked
- representative implementation is never declared as full-family parity
## 交付与回滚
- Reports: `tests/golden/WBV2-P59-003/`
- Status: `docs/status/WBV2-P59-003.md`
- Manifest: `tests/golden/WBV2-P59-003/manifest.json`
- Rollback: restore WBV2-P59-002 as queue parent and leave the task in_progress.

View File

@@ -0,0 +1,35 @@
# WBV2-P60-000: authorize_capability_family_wave
- task: WBV2-P60-000
- parent: WBV2-P59-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-P60-000 --write`
## 失败边界
- missing source, unsupported capability or hash drift remains in_progress/blocked
## 交付与回滚
- Reports: `tests/golden/WBV2-P60-000/`
- Status: `docs/status/WBV2-P60-000.md`
- Manifest: `tests/golden/WBV2-P60-000/manifest.json`
- Rollback: restore WBV2-P59-003 as queue parent and leave the wave in_progress.

View File

@@ -266,10 +266,10 @@ Recorded: 2026-08-29 Asia/Shanghai
| Field | Value |
| --- | --- |
| Current task when this file was written | `WBV2-P59-000` |
| Current task when this file was written | `WBV2-P60-000` |
| Current task state | `in_progress` |
| Parent manifest | `tests/golden/WBV2/WBV2-P58-003/manifest.json` |
| Current task card | `docs/tasks/WBV2-P59-000.md` |
| Parent manifest | `tests/golden/WBV2/WBV2-P59-003/manifest.json` |
| Current task card | `docs/tasks/WBV2-P60-000.md` |
| Current task-context nextTask | `NONE` |
| Focused command | `node tools/web/generate-wbv2-capability-continuation-root.mjs` |

View File

@@ -10,11 +10,11 @@
"artifacts": {
"parentManifest": {
"path": "tests/golden/WBV2-P27-001/manifest.json",
"sha256": "d93637aba1b4d3fa676e2885cc32d6d9489d6c16ec8539d14a06dda4f7af4383"
"sha256": "608ccc60b729bc3c2b46276caaf01ab00ccb3a47facba5d7140cad8beefed0d6"
},
"sourceBuildReport": {
"path": "tests/golden/WBV2-P27-002/source-build-report.json",
"sha256": "fa5a1325f65d2ab00b0cfcf7ec520739b59ef37d5a5368a1e3e413f0405b1847"
"sha256": "454c086610b03a62f324e46cafac14bfd615511e71afbd22eab6240d40a7bf88"
},
"sourceBuildLog": {
"path": "tests/golden/WBV2-P27-002/source-build.log",

View File

@@ -21,15 +21,15 @@
"artifacts": {
"sourceApi": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
"sha256": "6639ffc0594b2e6879825a8314ecef292e2de97ee0711102ec0072bff5d207f5"
"sha256": "bf933941d6bee592261d656751e088ee820dc6c8e15c9da6f16023916343ad79"
},
"sourceMainState": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp",
"sha256": "7ea4da53442f8bc250cff650cc514fcfefc44c2d1f5ce16bc9deae2a933ff94f"
"sha256": "c05ca6449348baaa72fd9bc4dc49c3258e4e094ad270de13d0b16f101a70b139"
},
"sourceMainHeader": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h",
"sha256": "faccbf2a996f047bc91ae80a66ec625a3b61abf0cc103d1af6a2a4342d559c11"
"sha256": "a83f36da0537db41cf0b6a2b163f0a5d42a8df291c69e10cd5dc4e39ed3dce0f"
},
"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": "e8b07f34a5d268b3fa0aa0d3a511b69bf3648a5d98557cbcdc8b337ce9f320a9"
"sha256": "db12a27118691e0f11321feb4873c30ed05594f5be86e7b000a2257d0ac7c374"
},
"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": "e8b07f34a5d268b3fa0aa0d3a511b69bf3648a5d98557cbcdc8b337ce9f320a9"
"sha256": "db12a27118691e0f11321feb4873c30ed05594f5be86e7b000a2257d0ac7c374"
},
"webDistIndex": {
"path": "web/dist/index.html",
"sha256": "bd56e6f0f8ec70c8c959a4d002d257218f4e8ea3ee8fc4c635d92d201cdbb3b8"
"sha256": "65747369e3df7f18f6689e85f1c68e3cf54b890d979f6aeb9721101c4147c632"
},
"webDistWorker": {
"path": "web/dist/assets/web-engine.worker-oseuSZQ3.js",
"sha256": "1584fdacadc482a6efd5ff22a9f728866a51b012c371ea0a8b7063315434167b"
"path": "web/dist/assets/web-engine.worker-CPBmPNV4.js",
"sha256": "fca32d4576bc497da18d0f08abb7d06901d07309bd6d5118d27a1625b531e17c"
},
"webDistWasm": {
"path": "web/dist/assets/web_engine-D_lQD8ru.wasm",
"sha256": "e8b07f34a5d268b3fa0aa0d3a511b69bf3648a5d98557cbcdc8b337ce9f320a9"
"path": "web/dist/assets/web_engine-NM7LhD-y.wasm",
"sha256": "db12a27118691e0f11321feb4873c30ed05594f5be86e7b000a2257d0ac7c374"
}
},
"verification": {

View File

@@ -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": "ea1fc460a1ab364097a2c9c95066c4c11661089d3d481f0aee70d777136505b2",
"blender-5.2.0/source/blender/web_engine/web_engine_api.cpp": "55deac7891f67c766d5bd747c2f99b77eb655e863f0b89fadb82a39516b4acb3",
"web/protocol/web-engine.ts": "c0783af32ea57d2716e2ff2320bbd75aa5b02f346de1cc693dab01a02916a62a",
"web/protocol/web-engine-capabilities.ts": "01fb0ca9ce9b8beaf15eb492be1867173a633a71c7593706a4507c95ab5bfbf3",
"web/app/src/workers/web-engine.worker.ts": "2f116a17ae21bfd92463a314f709e3d0d8ba1aa54688372fdbbc8a28c475c6d6"
"blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp": "7ea4da53442f8bc250cff650cc514fcfefc44c2d1f5ce16bc9deae2a933ff94f",
"blender-5.2.0/source/blender/web_engine/web_engine_api.cpp": "6639ffc0594b2e6879825a8314ecef292e2de97ee0711102ec0072bff5d207f5",
"web/protocol/web-engine.ts": "969adcb2dd5ff8f822f8cf5bf879f7a7e37099e8d20204f373a8e740b981bedb",
"web/protocol/web-engine-capabilities.ts": "462b7cc481ca87ebbb34836dba790af559e727e66d8c48e1839bc29bd4096904",
"web/app/src/workers/web-engine.worker.ts": "712e3edb84745e663f06d60dc9ffcb4234aa539869bd8aea3424325dee51e185"
}
},
"inventory": {

View File

@@ -10,7 +10,7 @@
"artifacts": {
"parentManifest": {
"path": "tests/golden/WBV2-P43-000/manifest.json",
"sha256": "3aa99d94f3ba19df362f9fbe92a8301390cbc7b81278d815bd5b7d08e83247d3"
"sha256": "33f263548dad5c2b9f6faf21d5711a7ede3051ede75f2a845f6fde92d74a83c1"
},
"source1": {
"path": "tools/web/build-wbv2-capability-implementation-index.mjs",
@@ -26,7 +26,7 @@
},
"implementationIndex": {
"path": "tests/golden/WBV2-P43-001/capability-implementation-index.json",
"sha256": "6e4f6a3ddbafbb663b01a8c8af6752c6de63b43a6c38221f58cfbc6872835240"
"sha256": "f35bad0899694f869f4ea8c365b26f6a9a26b2d65f236b5b2b1a4207c82c0b90"
},
"report": {
"path": "tests/golden/WBV2-P43-001/implementation-report.json",

View File

@@ -0,0 +1,151 @@
{
"schemaVersion": 1,
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P59",
"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-P59-000",
"phase": "P59",
"title": "authorize_capability_family_wave",
"kind": "enabling",
"owner": "PROGRAM",
"dependsOn": [
"WBV2-P58-003"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-000",
"gate": "G1",
"card": "docs/tasks/WBV2-P59-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-P59-001",
"phase": "P59",
"title": "index_capability_family_batches",
"kind": "feature",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P59-000"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-001",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P59-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-P59-002",
"phase": "P59",
"title": "implement_capability_family_slice",
"kind": "feature",
"owner": "IMPLEMENTATION",
"dependsOn": [
"WBV2-P59-001"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-002",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P59-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-P59-003",
"phase": "P59",
"title": "run_capability_family_smoke",
"kind": "enabling",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P59-002"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-003",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P59-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
}
]
}

View File

@@ -0,0 +1,30 @@
{
"schemaVersion": 1,
"task": "WBV2-P59-000",
"operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION",
"status": "PASS",
"parent": {
"task": "WBV2-P58-003",
"manifest": "tests/golden/WBV2-P58-003/manifest.json",
"manifestSha256": "b6e39e8bfa6d683a02abfb3a7c9c9408625db575bea1dcb1980ef02843890e63"
},
"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-P59-001"
}

View File

@@ -0,0 +1,39 @@
{
"schemaVersion": 1,
"task": "WBV2-P59-000",
"parentTask": "WBV2-P58-003",
"operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION",
"status": "done",
"enablingTask": true,
"parityStateChange": false,
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
"artifacts": {
"parentManifest": {
"path": "tests/golden/WBV2-P58-003/manifest.json",
"sha256": "b6e39e8bfa6d683a02abfb3a7c9c9408625db575bea1dcb1980ef02843890e63"
},
"plan": {
"path": "tests/golden/WBV2-P59-000/capability-continuation-plan.json",
"sha256": "158c932492e99f2dede59783c3fabf6f8f1676117bd9ec8c3d719627d087e4f6"
},
"report": {
"path": "tests/golden/WBV2-P59-000/capability-continuation-root-report.json",
"sha256": "dcc2ab6e20d33907246e534be9f2cdf64ed530abeec04cbe015615fdf8d31c5b"
},
"status": {
"path": "docs/status/WBV2-P59-000.md",
"sha256": "1fd6164d5919994e3b9b21d1687fc0ca4d577d7fc6900b3d7105e830bd919c09"
}
},
"assertions": {
"batchCount": 27,
"pendingRows": 6609,
"verificationDeferred": true,
"completionOverlayWritten": false,
"inventoryTotal": 6900,
"effectiveCompleted": 290,
"effectivePending": 6609,
"historicalReproduction": false
},
"nextTask": "WBV2-P59-001"
}

View File

@@ -60,7 +60,7 @@
"real Blender source or WebEngine Main path is wired",
"verification and completion overlay remain deferred"
],
"nextTask": null,
"nextTask": "WBV2-P59-001",
"sourceDocuments": {
"queue": "docs/EXECUTION_QUEUE.md",
"taskCard": "docs/tasks/WBV2-P59-000.md",
@@ -156,7 +156,7 @@
"totalTokens": 1552,
"reservedEnvelopeTokens": 1024,
"estimatedContextTokens": 2576,
"serializedContextTokens": 619,
"serializedContextTokens": 622,
"withinBudget": true
}
}

View File

@@ -0,0 +1,151 @@
{
"schemaVersion": 1,
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P59",
"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-P59-000",
"phase": "P59",
"title": "authorize_capability_family_wave",
"kind": "enabling",
"owner": "PROGRAM",
"dependsOn": [
"WBV2-P58-003"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-000",
"gate": "G1",
"card": "docs/tasks/WBV2-P59-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-P59-001",
"phase": "P59",
"title": "index_capability_family_batches",
"kind": "feature",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P59-000"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-001",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P59-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-P59-002",
"phase": "P59",
"title": "implement_capability_family_slice",
"kind": "feature",
"owner": "IMPLEMENTATION",
"dependsOn": [
"WBV2-P59-001"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-002",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P59-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-P59-003",
"phase": "P59",
"title": "run_capability_family_smoke",
"kind": "enabling",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P59-002"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-003",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P59-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
}
]
}

View File

@@ -0,0 +1,32 @@
{
"schemaVersion": 1,
"task": "WBV2-P59-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-P59-002"
}

View File

@@ -0,0 +1,53 @@
{
"schemaVersion": 1,
"task": "WBV2-P59-001",
"parentTask": "WBV2-P59-000",
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
"status": "done",
"enablingTask": false,
"parityStateChange": false,
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
"artifacts": {
"parentManifest": {
"path": "tests/golden/WBV2-P59-000/manifest.json",
"sha256": "ab8b16a7522f43fd743aee29ce7b434d5c6f8a14a43b9559c481e1270b6652e2"
},
"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-P59-001/implementation-report.json",
"sha256": "929c60150d26d277a69f9fdeceeda5215b2424c2d08dcb647816121410744c7b"
},
"status": {
"path": "docs/status/WBV2-P59-001.md",
"sha256": "bc6d939be7a8f89883abacf4b84e9d0b3af155d7b42d17532087a6533555e97d"
},
"plan": {
"path": "tests/golden/WBV2-P59-001/capability-continuation-plan.json",
"sha256": "3d49a9b8fdf610bda01597225276107140b1c039e955d4861d3e25d1acd23796"
},
"taskContext": {
"path": "tests/golden/WBV2-P59-001/task-context.json",
"sha256": "5979e67e80fe128eadddd9dc03fa24d8059746f9b953c5a5ef92100e98ae3aac"
}
},
"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-P59-002"
}

View File

@@ -0,0 +1,167 @@
{
"schemaVersion": 1,
"task": "WBV2-P59-001",
"parentTask": "WBV2-P59-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-P59-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-P59-001/",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "docs/status/WBV2-P59-001.md",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "tests/golden/WBV2-P59-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-P59-002",
"sourceDocuments": {
"queue": "docs/EXECUTION_QUEUE.md",
"taskCard": "docs/tasks/WBV2-P59-001.md",
"taskIndex": "tests/golden/WBV2/task-index.json",
"parentManifest": "tests/golden/WBV2-P59-000/manifest.json",
"parentStatus": "docs/status/WBV2-P59-000.md"
},
"readPolicy": {
"required": [
"docs/EXECUTION_QUEUE.md",
"docs/tasks/WBV2-P59-001.md",
"tests/golden/WBV2-P59-000/manifest.json",
"docs/status/WBV2-P59-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-P59-000",
"parentTask": "WBV2-P58-003",
"status": "done",
"nextTask": "WBV2-P59-001",
"artifactCount": 4
},
"statusSummary": [
"# WBV2-P59-000 status",
"- task: `WBV2-P59-000`; parent: `WBV2-P58-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-P59-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-P59-001.md",
"bytes": 1299,
"lines": 39,
"tokens": 325
},
{
"path": "tests/golden/WBV2-P59-000/manifest.json",
"bytes": 1282,
"lines": 40,
"tokens": 321
},
{
"path": "docs/status/WBV2-P59-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
}
}

View File

@@ -0,0 +1,151 @@
{
"schemaVersion": 1,
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P59",
"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-P59-000",
"phase": "P59",
"title": "authorize_capability_family_wave",
"kind": "enabling",
"owner": "PROGRAM",
"dependsOn": [
"WBV2-P58-003"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-000",
"gate": "G1",
"card": "docs/tasks/WBV2-P59-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-P59-001",
"phase": "P59",
"title": "index_capability_family_batches",
"kind": "feature",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P59-000"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-001",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P59-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-P59-002",
"phase": "P59",
"title": "implement_capability_family_slice",
"kind": "feature",
"owner": "IMPLEMENTATION",
"dependsOn": [
"WBV2-P59-001"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-002",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P59-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-P59-003",
"phase": "P59",
"title": "run_capability_family_smoke",
"kind": "enabling",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P59-002"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-003",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P59-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
}
]
}

View File

@@ -0,0 +1,34 @@
{
"schemaVersion": 1,
"task": "WBV2-P59-002",
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
"status": "PASS",
"family": "CORE_SCENE_GRAPH.BORDER_SETTINGS",
"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"
],
"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-P59-003"
}

View File

@@ -0,0 +1,61 @@
{
"schemaVersion": 1,
"task": "WBV2-P59-002",
"parentTask": "WBV2-P59-001",
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
"status": "done",
"enablingTask": false,
"parityStateChange": false,
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
"artifacts": {
"parentManifest": {
"path": "tests/golden/WBV2-P59-001/manifest.json",
"sha256": "d024ab0639e8f986cd4114d45a39e0c2fb1dfbfc7c02f6a886dabfabaa0cfca7"
},
"source1": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp",
"sha256": "c05ca6449348baaa72fd9bc4dc49c3258e4e094ad270de13d0b16f101a70b139"
},
"source2": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h",
"sha256": "a83f36da0537db41cf0b6a2b163f0a5d42a8df291c69e10cd5dc4e39ed3dce0f"
},
"source3": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
"sha256": "bf933941d6bee592261d656751e088ee820dc6c8e15c9da6f16023916343ad79"
},
"source4": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
"sha256": "3e43483e91e2478d22ada1ce26bb8cd9c25b5905dabee764b5743bf0a9f8ee6c"
},
"report": {
"path": "tests/golden/WBV2-P59-002/implementation-report.json",
"sha256": "5700de76d5de4ec74fc02696328a01220a93bce7d02afeec9ef7f1809fff2df7"
},
"status": {
"path": "docs/status/WBV2-P59-002.md",
"sha256": "5040d176eeaa623ebad1af57fa9731784cc3f42a9154a12e97c81d51d3f5b241"
},
"plan": {
"path": "tests/golden/WBV2-P59-002/capability-continuation-plan.json",
"sha256": "899748c2bb0fa65e0b565addd78ada4d0aca8d2fdb2e4e930d35b11b8ef2c8b6"
},
"taskContext": {
"path": "tests/golden/WBV2-P59-002/task-context.json",
"sha256": "ebf473c22a1c292d48cc8d12c394b87e66b43bb66134d52d668b5e1892a0c55d"
}
},
"assertions": {
"capabilityFamily": "CORE_SCENE_GRAPH.BORDER_SETTINGS",
"sourceBacked": true,
"batchCount": 27,
"pendingRows": 6609,
"verificationDeferred": true,
"completionOverlayWritten": false,
"inventoryTotal": 6900,
"effectiveCompleted": 290,
"effectivePending": 6609,
"historicalReproduction": false
},
"nextTask": "WBV2-P59-003"
}

View File

@@ -0,0 +1,167 @@
{
"schemaVersion": 1,
"task": "WBV2-P59-002",
"parentTask": "WBV2-P59-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-P59-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-P59-002/",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "docs/status/WBV2-P59-002.md",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "tests/golden/WBV2-P59-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-P59-003",
"sourceDocuments": {
"queue": "docs/EXECUTION_QUEUE.md",
"taskCard": "docs/tasks/WBV2-P59-002.md",
"taskIndex": "tests/golden/WBV2/task-index.json",
"parentManifest": "tests/golden/WBV2-P59-001/manifest.json",
"parentStatus": "docs/status/WBV2-P59-001.md"
},
"readPolicy": {
"required": [
"docs/EXECUTION_QUEUE.md",
"docs/tasks/WBV2-P59-002.md",
"tests/golden/WBV2-P59-001/manifest.json",
"docs/status/WBV2-P59-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-P59-001",
"parentTask": "WBV2-P59-000",
"status": "done",
"nextTask": "WBV2-P59-002",
"artifactCount": 7
},
"statusSummary": [
"# WBV2-P59-001 status",
"- task: `WBV2-P59-001`; parent: `WBV2-P59-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-P59-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-P59-002.md",
"bytes": 1320,
"lines": 39,
"tokens": 330
},
{
"path": "tests/golden/WBV2-P59-001/manifest.json",
"bytes": 1887,
"lines": 54,
"tokens": 472
},
{
"path": "docs/status/WBV2-P59-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
}
}

View File

@@ -0,0 +1,181 @@
{
"schemaVersion": 1,
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P59",
"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-P59-000",
"phase": "P59",
"title": "authorize_capability_family_wave",
"kind": "enabling",
"owner": "PROGRAM",
"dependsOn": [
"WBV2-P58-003"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-000",
"gate": "G1",
"card": "docs/tasks/WBV2-P59-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-P59-001",
"phase": "P59",
"title": "index_capability_family_batches",
"kind": "feature",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P59-000"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-001",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P59-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-P59-002",
"phase": "P59",
"title": "implement_capability_family_slice",
"kind": "feature",
"owner": "IMPLEMENTATION",
"dependsOn": [
"WBV2-P59-001"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-002",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P59-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-P59-003",
"phase": "P59",
"title": "run_capability_family_smoke",
"kind": "enabling",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P59-002"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p59-003",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P59-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-P60-000",
"phase": "P60",
"title": "authorize_capability_family_wave",
"kind": "enabling",
"owner": "PROGRAM",
"dependsOn": [
"WBV2-P59-003"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p60-000",
"gate": "G1",
"card": "docs/tasks/WBV2-P60-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
}
]
}

View File

@@ -0,0 +1,33 @@
{
"schemaVersion": 1,
"task": "WBV2-P59-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-P60-000"
}

View File

@@ -0,0 +1,57 @@
{
"schemaVersion": 1,
"task": "WBV2-P59-003",
"parentTask": "WBV2-P59-002",
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
"status": "done",
"enablingTask": false,
"parityStateChange": false,
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
"artifacts": {
"parentManifest": {
"path": "tests/golden/WBV2-P59-002/manifest.json",
"sha256": "c955bc1a8926049064a67fe10e7cd93092ba1799e47bfded7d4248910ba539a6"
},
"source1": {
"path": "web/protocol/web-engine-capabilities.ts",
"sha256": "ede8ea0f5934760bd67d8375872e6eac526dde9e5c4380e3a731bd008804cdc4"
},
"source2": {
"path": "web/app/src/workers/web-engine.worker.ts",
"sha256": "11cfeddd118566b10be647a000b3e1158daa6fb39bd6a6c83d49b6cd7aa99798"
},
"source3": {
"path": "web/app/src/vendor/blender/web_engine.wasm",
"sha256": "db12a27118691e0f11321feb4873c30ed05594f5be86e7b000a2257d0ac7c374"
},
"report": {
"path": "tests/golden/WBV2-P59-003/implementation-report.json",
"sha256": "966334ad6e45f40bfe393f49140af98f87627156126f35d5599dc08d4ab5b92f"
},
"status": {
"path": "docs/status/WBV2-P59-003.md",
"sha256": "8d3cddfca7d56798e7eacc7a24df5e0ba4e2a34f759dd471adaed67b72ee57aa"
},
"plan": {
"path": "tests/golden/WBV2-P59-003/capability-continuation-plan.json",
"sha256": "862e72f5908a573040d3217dfceb898597955e34852ade87894f2f73c0fa4d17"
},
"taskContext": {
"path": "tests/golden/WBV2-P59-003/task-context.json",
"sha256": "fb2e0aa930981697fb9bdd3913fc4caa64203abc70402fd64fe4260e28ae3184"
}
},
"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-P60-000"
}

View File

@@ -0,0 +1,167 @@
{
"schemaVersion": 1,
"task": "WBV2-P59-003",
"parentTask": "WBV2-P59-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-P59-003 --write"
],
"inputPaths": [],
"inputSelection": {
"schemaVersion": 1,
"limits": {
"maxFiles": 12,
"evidenceBytes": 8192,
"contextRemainingBytes": 3220,
"contextRemainingTokens": 804
},
"source": {
"bytes": 6684,
"tokens": 1672
},
"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-P59-003/",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "docs/status/WBV2-P59-003.md",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "tests/golden/WBV2-P59-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-P60-000",
"sourceDocuments": {
"queue": "docs/EXECUTION_QUEUE.md",
"taskCard": "docs/tasks/WBV2-P59-003.md",
"taskIndex": "tests/golden/WBV2/task-index.json",
"parentManifest": "tests/golden/WBV2-P59-002/manifest.json",
"parentStatus": "docs/status/WBV2-P59-002.md"
},
"readPolicy": {
"required": [
"docs/EXECUTION_QUEUE.md",
"docs/tasks/WBV2-P59-003.md",
"tests/golden/WBV2-P59-002/manifest.json",
"docs/status/WBV2-P59-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-P59-002",
"parentTask": "WBV2-P59-001",
"status": "done",
"nextTask": "WBV2-P59-003",
"artifactCount": 9
},
"statusSummary": [
"# WBV2-P59-002 status",
"- task: `WBV2-P59-002`; parent: `WBV2-P59-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-P59-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-P59-003.md",
"bytes": 1284,
"lines": 39,
"tokens": 321
},
{
"path": "tests/golden/WBV2-P59-002/manifest.json",
"bytes": 2280,
"lines": 62,
"tokens": 570
},
{
"path": "docs/status/WBV2-P59-002.md",
"bytes": 317,
"lines": 8,
"tokens": 80
}
],
"sourceTokens": 1672,
"evidenceFiles": 0,
"evidenceBytes": 0,
"evidenceTokens": 0,
"totalTokens": 1672,
"reservedEnvelopeTokens": 1024,
"estimatedContextTokens": 2696,
"serializedContextTokens": 617,
"withinBudget": true
}
}

View File

@@ -0,0 +1,162 @@
{
"schemaVersion": 1,
"task": "WBV2-P60-000",
"parentTask": "WBV2-P59-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-P60-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-P60-000/",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "docs/status/WBV2-P60-000.md",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "tests/golden/WBV2-P60-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-P60-000.md",
"taskIndex": "tests/golden/WBV2/task-index.json",
"parentManifest": "tests/golden/WBV2-P59-003/manifest.json",
"parentStatus": "docs/status/WBV2-P59-003.md"
},
"readPolicy": {
"required": [
"docs/EXECUTION_QUEUE.md",
"docs/tasks/WBV2-P60-000.md",
"tests/golden/WBV2-P59-003/manifest.json",
"docs/status/WBV2-P59-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-P59-003",
"parentTask": "WBV2-P59-002",
"status": "done",
"nextTask": "WBV2-P60-000",
"artifactCount": 8
},
"statusSummary": [
"# WBV2-P59-003 status",
"- task: `WBV2-P59-003`; parent: `WBV2-P59-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-P60-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-P60-000.md",
"bytes": 1052,
"lines": 36,
"tokens": 263
},
{
"path": "tests/golden/WBV2-P59-003/manifest.json",
"bytes": 2029,
"lines": 58,
"tokens": 508
},
{
"path": "docs/status/WBV2-P59-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
}
}

View File

@@ -1,5 +1,5 @@
{"id":"WBV2-P58-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P58","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-P58-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P58","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-P58-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P58","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-P58-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P58","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-P59-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P59","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-P59-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P59","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-P59-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P59","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-P59-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P59","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-P59-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P59","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-P60-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P60","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"]}

View File

@@ -1 +1 @@
{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P58-003/capability-continuation-plan.json","sha256":"84839f385543cfe0e6a2cf45b71804e7cb5d059fdb6d13bdaa78cdd89f0e463d"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"472e0fb06ece080aa6b4d9eb792bb2d8e921e5ad032b2bf28d8856139a9eec56"},"taskCount":5,"activeTask":"WBV2-P59-000","entries":{"WBV2-P58-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P57-003","next":"WBV2-P58-001"},"WBV2-P58-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P58-000","next":"WBV2-P58-002"},"WBV2-P58-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P58-001","next":"WBV2-P58-003"},"WBV2-P58-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P58-002","next":"WBV2-P59-000"},"WBV2-P59-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P58-003","next":null}}}
{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P59-003/capability-continuation-plan.json","sha256":"862e72f5908a573040d3217dfceb898597955e34852ade87894f2f73c0fa4d17"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"052c8810a49a695af19f73cfa2c95095d731ccbb70030889d5c00ec0a0254445"},"taskCount":5,"activeTask":"WBV2-P60-000","entries":{"WBV2-P59-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P58-003","next":"WBV2-P59-001"},"WBV2-P59-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P59-000","next":"WBV2-P59-002"},"WBV2-P59-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P59-001","next":"WBV2-P59-003"},"WBV2-P59-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P59-002","next":"WBV2-P60-000"},"WBV2-P60-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P59-003","next":null}}}

View File

@@ -25,14 +25,14 @@ const parent = json(parentPath);
assert.equal(parent.status, "done");
assert.equal(parent.nextTask, task);
const commands = { 1: [process.execPath, "tools/web/build-wbv2-capability-implementation-index.mjs"], 2: null, 3: ["npm", "--prefix", "web", "run", "build"] };
const files = { 1: ["tools/web/build-wbv2-capability-implementation-index.mjs", "tests/golden/WBV2-P27-001/verification-batch-plan.json"], 2: 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 >= 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" };
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 >= 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" };
for (const file of files[index]) assert.ok(fs.existsSync(abs(file)), file);
assert.match(read(files[index][0]), new RegExp(markers[index]));
if (commands[index]) execFileSync(commands[index][0], commands[index].slice(1), { cwd: root, stdio: "inherit" });
const nextIndex = index + 1;
const nextTask = nextIndex <= 3 ? `WBV2-P${phase}-${String(nextIndex).padStart(3, "0")}` : `WBV2-P${phase + 1}-000`;
const family = index === 1 ? "INVENTORY.CAPABILITY_BATCH_INDEX" : index === 2 && phase >= 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 family = index === 1 ? "INVENTORY.CAPABILITY_BATCH_INDEX" : 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 out = `tests/golden/${task}`;
const reportPath = `${out}/implementation-report.json`;
const statusPath = `docs/status/${task}.md`;

Binary file not shown.

Binary file not shown.

View File

@@ -692,6 +692,19 @@ function assertFutureCapability(payload: Extract<WebEngineRequest["command"], {
for (const field of ["exclude", "holdout", "indirectOnly", "hide"] as const) if (properties[field] !== undefined && typeof properties[field] !== "boolean") throw report("RENDER_PROPERTY_INVALID", `Scene collection ${field} must be boolean`);
return;
}
case "setSceneBorderSettings": {
const scene = currentSnapshot?.scenes.find((candidate) => candidate.id === payload.dataId);
const properties = payload.properties;
if (!scene || !validPropertyKeys(properties, ["enabled", "minX", "maxX", "minY", "maxY"])) throw report("RENDER_PROPERTY_INVALID", "Scene border target or properties are invalid");
if (properties.enabled !== undefined && typeof properties.enabled !== "boolean") throw report("RENDER_PROPERTY_INVALID", "Scene border enabled must be boolean");
for (const field of ["minX", "maxX", "minY", "maxY"] as const) if (properties[field] !== undefined && !boundedNumber(properties[field], 0, 1)) throw report("RENDER_PROPERTY_INVALID", `Scene border ${field} must be between zero and one`);
const minX = properties.minX ?? scene.borderSettings?.minX ?? 0;
const maxX = properties.maxX ?? scene.borderSettings?.maxX ?? 1;
const minY = properties.minY ?? scene.borderSettings?.minY ?? 0;
const maxY = properties.maxY ?? scene.borderSettings?.maxY ?? 1;
if (maxX <= minX || maxY <= minY) throw report("RENDER_PROPERTY_INVALID", "Scene border max values must exceed min values");
return;
}
case "setGeometryNodeGraph": {
const snapshot = currentSnapshot;
const availableResourceIds = new Set([

View File

@@ -56,4 +56,7 @@ export const animationRenderCommands = Object.freeze({
setSceneCollectionSettings(dataId: string, layerName: string, collectionId: string, properties: AnimationCommand<"setSceneCollectionSettings">["properties"]): AnimationCommand<"setSceneCollectionSettings"> {
return { type: "setSceneCollectionSettings", dataId, layerName, collectionId, properties: { ...properties } };
},
setSceneBorderSettings(dataId: string, properties: AnimationCommand<"setSceneBorderSettings">["properties"]): AnimationCommand<"setSceneBorderSettings"> {
return { type: "setSceneBorderSettings", dataId, properties: { ...properties } };
},
} satisfies Record<string, (...args: never[]) => WebEngineEditCommand>);

View File

@@ -572,6 +572,7 @@ export interface SceneIR {
alphaPremultiplied: boolean;
};
viewLayers?: Array<{ name: string; useRender: boolean; useFreestyle: boolean; samples: number }>;
borderSettings?: { enabled: boolean; minX: number; maxX: number; minY: number; maxY: number };
compositorGraph?: CompositorGraphIR;
compositorStatus?: "AVAILABLE" | "BLOCKED";
sequencerTimeline?: SequencerTimelineIR;
@@ -1598,6 +1599,11 @@ export function parseSceneSnapshotIR(value: unknown): SceneSnapshotIR {
requireNumber(layer.samples, `scenes[${index}].viewLayers[${layerIndex}].samples`);
}
}
if (scene.borderSettings !== undefined) {
if (!isRecord(scene.borderSettings)) throw new Error(`SceneIR.scenes[${index}].borderSettings must be an object`);
requireBoolean(scene.borderSettings.enabled, `scenes[${index}].borderSettings.enabled`);
for (const field of ["minX", "maxX", "minY", "maxY"] as const) requireNumber(scene.borderSettings[field], `scenes[${index}].borderSettings.${field}`);
}
if (scene.compositorStatus !== undefined && !["AVAILABLE", "BLOCKED"].includes(scene.compositorStatus as string)) {
throw new Error(`scenes[${index}].compositorStatus is invalid`);
}

View File

@@ -88,6 +88,7 @@ export const WEB_ENGINE_COMMAND_CAPABILITIES = {
setSceneBindings: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
setSceneViewLayerSettings: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
setSceneCollectionSettings: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
setSceneBorderSettings: { family: "CORE_SCENE_GRAPH", 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" },

View File

@@ -152,6 +152,7 @@ export type WebEngineEditCommand =
| { type: "setSceneBindings"; dataId: string; properties: { cameraObjectId?: string | null; worldId?: string | null } }
| { type: "setSceneViewLayerSettings"; dataId: string; layerName: string; properties: { useRender?: boolean; useFreestyle?: boolean; samples?: number } }
| { type: "setSceneCollectionSettings"; dataId: string; layerName: string; collectionId: string; properties: { exclude?: boolean; holdout?: boolean; indirectOnly?: boolean; hide?: boolean } }
| { type: "setSceneBorderSettings"; dataId: string; properties: { enabled?: boolean; minX?: number; maxX?: number; minY?: number; maxY?: number } }
| { 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 }

View File

@@ -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"],
RENDER: ["setCameraProperties", "setLightProperties", "setWorldProperties", "setSceneProperties", "setSceneRenderSettings", "setSceneAudioSettings", "setSceneUnitSettings", "setSceneTimelineSettings", "setScenePipelineSettings", "setSceneBindings", "setSceneViewLayerSettings", "setSceneCollectionSettings", "setSceneBorderSettings"],
IO: ["importImage", "importVFont", "setMaterialImageNode"],
} as const satisfies Record<string, readonly WebEngineCommandType[]>);