feat(web): bind scene camera and world settings
This commit is contained in:
@@ -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 == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" ||
|
||||
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")
|
||||
else if (type == "setCameraProperties" || type == "setLightProperties" || type == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings")
|
||||
{
|
||||
const json properties = command.value("properties", json::object());
|
||||
if (type == "setSceneProperties") {
|
||||
@@ -2229,6 +2229,11 @@ EMSCRIPTEN_KEEPALIVE int web_engine_apply_command(const int handle,
|
||||
engine->authoritative_main, command.value("dataId", "").c_str(),
|
||||
properties.dump().c_str(), main_error);
|
||||
}
|
||||
else if (type == "setSceneBindings") {
|
||||
applied = web_engine_blend_main_set_scene_bindings(
|
||||
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(),
|
||||
|
||||
@@ -6113,6 +6113,69 @@ bool web_engine_blend_main_set_scene_pipeline_settings(WebBlendMainState *state,
|
||||
return true;
|
||||
}
|
||||
|
||||
bool web_engine_blend_main_set_scene_bindings(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 binding 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 bindings must be a non-empty object";
|
||||
return false;
|
||||
}
|
||||
const std::unordered_set<std::string> allowed = {"cameraObjectId", "worldId"};
|
||||
for (const auto &[key, value] : properties.items()) {
|
||||
(void)value;
|
||||
if (!allowed.contains(key)) {
|
||||
error = "RENDER_PROPERTY_INVALID: unsupported scene binding " + key;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (properties.contains("cameraObjectId")) {
|
||||
if (properties["cameraObjectId"].is_null()) scene->camera = nullptr;
|
||||
else if (properties["cameraObjectId"].is_string()) {
|
||||
const std::string id = properties["cameraObjectId"].get<std::string>();
|
||||
Object *object = find_object(state->main, id.c_str());
|
||||
if (object == nullptr || object->type != OB_CAMERA || object->data == nullptr) {
|
||||
error = "RENDER_PROPERTY_INVALID: cameraObjectId must reference a Camera object";
|
||||
return false;
|
||||
}
|
||||
scene->camera = object;
|
||||
}
|
||||
else {
|
||||
error = "RENDER_PROPERTY_INVALID: cameraObjectId must be an object id or null";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (properties.contains("worldId")) {
|
||||
if (properties["worldId"].is_null()) scene->world = nullptr;
|
||||
else if (properties["worldId"].is_string()) {
|
||||
const std::string id = properties["worldId"].get<std::string>();
|
||||
World *world = find_world(state->main, id.c_str());
|
||||
if (world == nullptr) {
|
||||
error = "RENDER_PROPERTY_INVALID: worldId must reference a World data block";
|
||||
return false;
|
||||
}
|
||||
scene->world = world;
|
||||
}
|
||||
else {
|
||||
error = "RENDER_PROPERTY_INVALID: worldId must be a data id or null";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
scene->id.recalc |= ID_RECALC_PARAMETERS;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool web_engine_blend_main_write(WebBlendMainState *state,
|
||||
std::vector<uint8_t> &bytes,
|
||||
std::string &error)
|
||||
|
||||
@@ -540,6 +540,10 @@ bool web_engine_blend_main_set_scene_pipeline_settings(WebBlendMainState *state,
|
||||
const char *target_id,
|
||||
const char *properties_json,
|
||||
std::string &error);
|
||||
bool web_engine_blend_main_set_scene_bindings(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);
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
| 字段 | 值 |
|
||||
| --- | --- |
|
||||
| 里程碑 | WBV2 capability workflow |
|
||||
| 当前任务 | `WBV2-P56-000` |
|
||||
| parent manifest | `tests/golden/WBV2-P55-003/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P56-000.md`](tasks/WBV2-P56-000.md) |
|
||||
| 当前任务 | `WBV2-P57-000` |
|
||||
| parent manifest | `tests/golden/WBV2-P56-003/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P57-000.md`](tasks/WBV2-P57-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-P56-000.md
Normal file
7
docs/status/WBV2-P56-000.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# WBV2-P56-000 status
|
||||
|
||||
- task: `WBV2-P56-000`; parent: `WBV2-P55-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-P56-001`
|
||||
7
docs/status/WBV2-P56-001.md
Normal file
7
docs/status/WBV2-P56-001.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# WBV2-P56-001 status
|
||||
|
||||
- task: `WBV2-P56-001`; parent: `WBV2-P56-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-P56-002`
|
||||
7
docs/status/WBV2-P56-002.md
Normal file
7
docs/status/WBV2-P56-002.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# WBV2-P56-002 status
|
||||
|
||||
- task: `WBV2-P56-002`; parent: `WBV2-P56-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-P56-003`
|
||||
7
docs/status/WBV2-P56-003.md
Normal file
7
docs/status/WBV2-P56-003.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# WBV2-P56-003 status
|
||||
|
||||
- task: `WBV2-P56-003`; parent: `WBV2-P56-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-P57-000`
|
||||
38
docs/tasks/WBV2-P56-001.md
Normal file
38
docs/tasks/WBV2-P56-001.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# WBV2-P56-001: index_capability_family_batches
|
||||
|
||||
- task: WBV2-P56-001
|
||||
- parent: WBV2-P56-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-P56-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-P56-001 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source or unsupported capability remains in_progress/blocked
|
||||
- representative implementation is never declared as full-family parity
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P56-001/`
|
||||
- Status: `docs/status/WBV2-P56-001.md`
|
||||
- Manifest: `tests/golden/WBV2-P56-001/manifest.json`
|
||||
- Rollback: restore WBV2-P56-000 as queue parent and leave the task in_progress.
|
||||
38
docs/tasks/WBV2-P56-002.md
Normal file
38
docs/tasks/WBV2-P56-002.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# WBV2-P56-002: implement_capability_family_slice
|
||||
|
||||
- task: WBV2-P56-002
|
||||
- parent: WBV2-P56-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-P56-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-P56-002 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source or unsupported capability remains in_progress/blocked
|
||||
- representative implementation is never declared as full-family parity
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P56-002/`
|
||||
- Status: `docs/status/WBV2-P56-002.md`
|
||||
- Manifest: `tests/golden/WBV2-P56-002/manifest.json`
|
||||
- Rollback: restore WBV2-P56-001 as queue parent and leave the task in_progress.
|
||||
38
docs/tasks/WBV2-P56-003.md
Normal file
38
docs/tasks/WBV2-P56-003.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# WBV2-P56-003: run_capability_family_smoke
|
||||
|
||||
- task: WBV2-P56-003
|
||||
- parent: WBV2-P56-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-P56-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-P56-003 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source or unsupported capability remains in_progress/blocked
|
||||
- representative implementation is never declared as full-family parity
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P56-003/`
|
||||
- Status: `docs/status/WBV2-P56-003.md`
|
||||
- Manifest: `tests/golden/WBV2-P56-003/manifest.json`
|
||||
- Rollback: restore WBV2-P56-002 as queue parent and leave the task in_progress.
|
||||
35
docs/tasks/WBV2-P57-000.md
Normal file
35
docs/tasks/WBV2-P57-000.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# WBV2-P57-000: authorize_capability_family_wave
|
||||
|
||||
- task: WBV2-P57-000
|
||||
- parent: WBV2-P56-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-P57-000 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source, unsupported capability or hash drift remains in_progress/blocked
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P57-000/`
|
||||
- Status: `docs/status/WBV2-P57-000.md`
|
||||
- Manifest: `tests/golden/WBV2-P57-000/manifest.json`
|
||||
- Rollback: restore WBV2-P56-003 as queue parent and leave the wave in_progress.
|
||||
@@ -266,10 +266,10 @@ Recorded: 2026-08-29 Asia/Shanghai
|
||||
|
||||
| Field | Value |
|
||||
| --- | --- |
|
||||
| Current task when this file was written | `WBV2-P56-000` |
|
||||
| Current task when this file was written | `WBV2-P57-000` |
|
||||
| Current task state | `in_progress` |
|
||||
| Parent manifest | `tests/golden/WBV2/WBV2-P55-003/manifest.json` |
|
||||
| Current task card | `docs/tasks/WBV2-P56-000.md` |
|
||||
| Parent manifest | `tests/golden/WBV2/WBV2-P56-003/manifest.json` |
|
||||
| Current task card | `docs/tasks/WBV2-P57-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": "17c16a7fcc11cc00d154eafaa9fb14678dfc40a830da67bcd3a1a03400226c17"
|
||||
"sha256": "680b4e09f30a33da773c2ca20ce0f172b93c0adead883f20c468e156ceda1fe9"
|
||||
},
|
||||
"sourceBuildReport": {
|
||||
"path": "tests/golden/WBV2-P27-002/source-build-report.json",
|
||||
"sha256": "f173ff6755db61bf58ecddf15b3eaba547f242bd8138cfc6439affc0de0e7532"
|
||||
"sha256": "7261ef3e1c14e29519c75054bae620dc0b0783abf99360a62fbbff8a80e25b4c"
|
||||
},
|
||||
"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": "1010064ec97fde0d1dfb676897f496e1c9fee928dcaf716cdbff137a92bdd685"
|
||||
"sha256": "b80647f8dff161a0749a4398651176bcd55d1f0c52b3e26811c1db06cec7e906"
|
||||
},
|
||||
"sourceMainState": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp",
|
||||
"sha256": "d50f75da48bb2deaba60f0f5561cc1240d8995d461ef699d073d4cc2abee76df"
|
||||
"sha256": "51a1b3be6b9e2b5a708aae249e003f4b550f24967e852bcb61ab3fc1ee45601f"
|
||||
},
|
||||
"sourceMainHeader": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h",
|
||||
"sha256": "62007f8aa752aeb72d1bc504ec01f244badf89bbb85a5e5bbc35c34596c1d438"
|
||||
"sha256": "c152a5fb8d202ce4c0190aeb460ca992c63e440f3d1b3404525598886d527ba4"
|
||||
},
|
||||
"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": "0e08bedd3e7ed1e0bcd19a1e07820abb4a7c33fa78c0bbcb7e3f8a05cdd6ac03"
|
||||
"sha256": "08be0d78426770ea2a450485ba02e054cbe80ba4f82f72acd8d5121d9d641995"
|
||||
},
|
||||
"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": "0e08bedd3e7ed1e0bcd19a1e07820abb4a7c33fa78c0bbcb7e3f8a05cdd6ac03"
|
||||
"sha256": "08be0d78426770ea2a450485ba02e054cbe80ba4f82f72acd8d5121d9d641995"
|
||||
},
|
||||
"webDistIndex": {
|
||||
"path": "web/dist/index.html",
|
||||
"sha256": "71ba4964fed9ddcb4298c35f902290b695621eae834fecd98a5a7414a49139f1"
|
||||
"sha256": "b16b9f59364b9ea3d272ccdeac1fb703809e211e44900e163eb7cf71b1086a69"
|
||||
},
|
||||
"webDistWorker": {
|
||||
"path": "web/dist/assets/web-engine.worker-DrHC8kAi.js",
|
||||
"sha256": "5923e16ef875ba859b08b9cf755293cab8af3a16aaa702f8178aad81b2e5b7f5"
|
||||
"path": "web/dist/assets/web-engine.worker-CJxlcVqm.js",
|
||||
"sha256": "9b77edfe6c75054cbc4e5a7fafda6610d8e274be1e45643d3794eb2aa12d45a6"
|
||||
},
|
||||
"webDistWasm": {
|
||||
"path": "web/dist/assets/web_engine-C4Ps0Ult.wasm",
|
||||
"sha256": "0e08bedd3e7ed1e0bcd19a1e07820abb4a7c33fa78c0bbcb7e3f8a05cdd6ac03"
|
||||
"path": "web/dist/assets/web_engine-Czz569qc.wasm",
|
||||
"sha256": "08be0d78426770ea2a450485ba02e054cbe80ba4f82f72acd8d5121d9d641995"
|
||||
}
|
||||
},
|
||||
"verification": {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P43-000/manifest.json",
|
||||
"sha256": "2190468489b2e557356870a8254cf81db45086246338ff1b3f5384a61d6ae31d"
|
||||
"sha256": "ac2d4ce240b12c97a22ee22fe8971149261d8ed01e70175eace163126c0a49fc"
|
||||
},
|
||||
"source1": {
|
||||
"path": "tools/web/build-wbv2-capability-implementation-index.mjs",
|
||||
|
||||
151
tests/golden/WBV2-P56-000/capability-continuation-plan.json
Normal file
151
tests/golden/WBV2-P56-000/capability-continuation-plan.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P56",
|
||||
"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-P56-000",
|
||||
"phase": "P56",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P55-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P56-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-P56-001",
|
||||
"phase": "P56",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P56-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P56-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-P56-002",
|
||||
"phase": "P56",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P56-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P56-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-P56-003",
|
||||
"phase": "P56",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P56-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P56-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-P56-000",
|
||||
"operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "PASS",
|
||||
"parent": {
|
||||
"task": "WBV2-P55-003",
|
||||
"manifest": "tests/golden/WBV2-P55-003/manifest.json",
|
||||
"manifestSha256": "29ebd81d14d6e16b64a2e132c4658c9bbf027c636049c6c69ac9ce525214a7d9"
|
||||
},
|
||||
"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-P56-001"
|
||||
}
|
||||
39
tests/golden/WBV2-P56-000/manifest.json
Normal file
39
tests/golden/WBV2-P56-000/manifest.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P56-000",
|
||||
"parentTask": "WBV2-P55-003",
|
||||
"operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P55-003/manifest.json",
|
||||
"sha256": "29ebd81d14d6e16b64a2e132c4658c9bbf027c636049c6c69ac9ce525214a7d9"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P56-000/capability-continuation-plan.json",
|
||||
"sha256": "c1934b4be00268772dd3b48837204a3a1b3d7cd3fb9ecaef267b19b31f588279"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P56-000/capability-continuation-root-report.json",
|
||||
"sha256": "d94a04c77c3036edb10c93e54a910ed59da3b406bd6bc5fee0ad3f36c24f21d0"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P56-000.md",
|
||||
"sha256": "83395fe153c087ad778b6b22804ac1de42d735cf325ac78070a6f61e5fe90e3f"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"batchCount": 27,
|
||||
"pendingRows": 6609,
|
||||
"verificationDeferred": true,
|
||||
"completionOverlayWritten": false,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P56-001"
|
||||
}
|
||||
@@ -60,7 +60,7 @@
|
||||
"real Blender source or WebEngine Main path is wired",
|
||||
"verification and completion overlay remain deferred"
|
||||
],
|
||||
"nextTask": null,
|
||||
"nextTask": "WBV2-P56-001",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P56-000.md",
|
||||
@@ -156,7 +156,7 @@
|
||||
"totalTokens": 1552,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 2576,
|
||||
"serializedContextTokens": 619,
|
||||
"serializedContextTokens": 622,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
|
||||
151
tests/golden/WBV2-P56-001/capability-continuation-plan.json
Normal file
151
tests/golden/WBV2-P56-001/capability-continuation-plan.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P56",
|
||||
"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-P56-000",
|
||||
"phase": "P56",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P55-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P56-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-P56-001",
|
||||
"phase": "P56",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P56-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P56-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-P56-002",
|
||||
"phase": "P56",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P56-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P56-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-P56-003",
|
||||
"phase": "P56",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P56-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P56-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-P56-001/implementation-report.json
Normal file
32
tests/golden/WBV2-P56-001/implementation-report.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P56-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-P56-002"
|
||||
}
|
||||
53
tests/golden/WBV2-P56-001/manifest.json
Normal file
53
tests/golden/WBV2-P56-001/manifest.json
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P56-001",
|
||||
"parentTask": "WBV2-P56-000",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "done",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P56-000/manifest.json",
|
||||
"sha256": "2c88d7c05a9c24d1c9a3acc03fdacab388b2c996814234b7c2989758b74004a4"
|
||||
},
|
||||
"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-P56-001/implementation-report.json",
|
||||
"sha256": "00c807e1e62cd9f5b6579189c7b63979500178fd348f6cd339474181ad2427f3"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P56-001.md",
|
||||
"sha256": "9c9b87e5c9a424874241422378dadfaefda7ccfc014c7648d5eaef1b16c059f7"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P56-001/capability-continuation-plan.json",
|
||||
"sha256": "f335c470919704c38f0790842cab77a4b95c7ea3bc990d9cb10428baa8d4be6c"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P56-001/task-context.json",
|
||||
"sha256": "93c61c3e1a2f23beadabc3a0dac57f9f3183b9f2b71f03397a9066371958cd0a"
|
||||
}
|
||||
},
|
||||
"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-P56-002"
|
||||
}
|
||||
167
tests/golden/WBV2-P56-001/task-context.json
Normal file
167
tests/golden/WBV2-P56-001/task-context.json
Normal file
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P56-001",
|
||||
"parentTask": "WBV2-P56-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-P56-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-P56-001/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P56-001.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P56-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-P56-002",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P56-001.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P56-000/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P56-000.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P56-001.md",
|
||||
"tests/golden/WBV2-P56-000/manifest.json",
|
||||
"docs/status/WBV2-P56-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-P56-000",
|
||||
"parentTask": "WBV2-P55-003",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P56-001",
|
||||
"artifactCount": 4
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P56-000 status",
|
||||
"- task: `WBV2-P56-000`; parent: `WBV2-P55-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-P56-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-P56-001.md",
|
||||
"bytes": 1299,
|
||||
"lines": 39,
|
||||
"tokens": 325
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P56-000/manifest.json",
|
||||
"bytes": 1282,
|
||||
"lines": 40,
|
||||
"tokens": 321
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P56-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-P56-002/capability-continuation-plan.json
Normal file
151
tests/golden/WBV2-P56-002/capability-continuation-plan.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P56",
|
||||
"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-P56-000",
|
||||
"phase": "P56",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P55-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P56-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-P56-001",
|
||||
"phase": "P56",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P56-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P56-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-P56-002",
|
||||
"phase": "P56",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P56-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P56-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-P56-003",
|
||||
"phase": "P56",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P56-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P56-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
|
||||
}
|
||||
]
|
||||
}
|
||||
33
tests/golden/WBV2-P56-002/implementation-report.json
Normal file
33
tests/golden/WBV2-P56-002/implementation-report.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P56-002",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "PASS",
|
||||
"family": "CORE_SCENE_GRAPH.BINDINGS",
|
||||
"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"
|
||||
],
|
||||
"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-P56-003"
|
||||
}
|
||||
57
tests/golden/WBV2-P56-002/manifest.json
Normal file
57
tests/golden/WBV2-P56-002/manifest.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P56-002",
|
||||
"parentTask": "WBV2-P56-001",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "done",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P56-001/manifest.json",
|
||||
"sha256": "6ca4a673780e684796e673a6d04454d7fa0a471270ecb5e156107b17018e617f"
|
||||
},
|
||||
"source1": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp",
|
||||
"sha256": "51a1b3be6b9e2b5a708aae249e003f4b550f24967e852bcb61ab3fc1ee45601f"
|
||||
},
|
||||
"source2": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h",
|
||||
"sha256": "c152a5fb8d202ce4c0190aeb460ca992c63e440f3d1b3404525598886d527ba4"
|
||||
},
|
||||
"source3": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
|
||||
"sha256": "b80647f8dff161a0749a4398651176bcd55d1f0c52b3e26811c1db06cec7e906"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P56-002/implementation-report.json",
|
||||
"sha256": "8dcd44491bb41510140e35ae000d955a8d5e91b6913bd0043cef68353e75d16d"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P56-002.md",
|
||||
"sha256": "065e9601a5e61daaef9f9032a3615ef1bc5502e2b40e67aa782522e305e711e5"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P56-002/capability-continuation-plan.json",
|
||||
"sha256": "758d2e81e6cd34ff2e8532ffbb14572e575be8119d3098844be6b23c1ce087a4"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P56-002/task-context.json",
|
||||
"sha256": "bdcb212f3901815c4e203d07f377744dbedfde31a9097e9334625a1f9b17b1e4"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"capabilityFamily": "CORE_SCENE_GRAPH.BINDINGS",
|
||||
"sourceBacked": true,
|
||||
"batchCount": 27,
|
||||
"pendingRows": 6609,
|
||||
"verificationDeferred": true,
|
||||
"completionOverlayWritten": false,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P56-003"
|
||||
}
|
||||
167
tests/golden/WBV2-P56-002/task-context.json
Normal file
167
tests/golden/WBV2-P56-002/task-context.json
Normal file
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P56-002",
|
||||
"parentTask": "WBV2-P56-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-P56-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-P56-002/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P56-002.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P56-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-P56-003",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P56-002.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P56-001/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P56-001.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P56-002.md",
|
||||
"tests/golden/WBV2-P56-001/manifest.json",
|
||||
"docs/status/WBV2-P56-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-P56-001",
|
||||
"parentTask": "WBV2-P56-000",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P56-002",
|
||||
"artifactCount": 7
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P56-001 status",
|
||||
"- task: `WBV2-P56-001`; parent: `WBV2-P56-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-P56-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-P56-002.md",
|
||||
"bytes": 1320,
|
||||
"lines": 39,
|
||||
"tokens": 330
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P56-001/manifest.json",
|
||||
"bytes": 1887,
|
||||
"lines": 54,
|
||||
"tokens": 472
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P56-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-P56-003/capability-continuation-plan.json
Normal file
181
tests/golden/WBV2-P56-003/capability-continuation-plan.json
Normal file
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P56",
|
||||
"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-P56-000",
|
||||
"phase": "P56",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P55-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P56-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-P56-001",
|
||||
"phase": "P56",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P56-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P56-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-P56-002",
|
||||
"phase": "P56",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P56-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P56-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-P56-003",
|
||||
"phase": "P56",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P56-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p56-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P56-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-P57-000",
|
||||
"phase": "P57",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P56-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p57-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P57-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-P56-003/implementation-report.json
Normal file
33
tests/golden/WBV2-P56-003/implementation-report.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P56-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-P57-000"
|
||||
}
|
||||
57
tests/golden/WBV2-P56-003/manifest.json
Normal file
57
tests/golden/WBV2-P56-003/manifest.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P56-003",
|
||||
"parentTask": "WBV2-P56-002",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "done",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P56-002/manifest.json",
|
||||
"sha256": "3c76f390257a5094994f62cccb5b74da70097f55a85167d26b56606b9ee87fbb"
|
||||
},
|
||||
"source1": {
|
||||
"path": "web/protocol/web-engine-capabilities.ts",
|
||||
"sha256": "b5939e7dcbf27032228d89879976eeb9c2f7cd371d2c16168c5ccf35711cda14"
|
||||
},
|
||||
"source2": {
|
||||
"path": "web/app/src/workers/web-engine.worker.ts",
|
||||
"sha256": "75ddd4152b9b32b24d1e5ba526c77f434bc25c306a0b19a996ad2655fb21e5dd"
|
||||
},
|
||||
"source3": {
|
||||
"path": "web/app/src/vendor/blender/web_engine.wasm",
|
||||
"sha256": "08be0d78426770ea2a450485ba02e054cbe80ba4f82f72acd8d5121d9d641995"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P56-003/implementation-report.json",
|
||||
"sha256": "2a6900481a1a59601ff71b0090e3eaa0b8e7462ecd4b615c776823a49a017c1b"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P56-003.md",
|
||||
"sha256": "623317003c9f125acf14997f7318429567fc57e9913e76cf1e00997b06071f9d"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P56-003/capability-continuation-plan.json",
|
||||
"sha256": "952eef193fa2105158daae405f73fcac2dceb7160cbbcb64d2829592bda76dde"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P56-003/task-context.json",
|
||||
"sha256": "a8aa9d5aff0a1d424617b5fa47dd4d9803d7d603856a9b8147bcb7f4e7069bfd"
|
||||
}
|
||||
},
|
||||
"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-P57-000"
|
||||
}
|
||||
167
tests/golden/WBV2-P56-003/task-context.json
Normal file
167
tests/golden/WBV2-P56-003/task-context.json
Normal file
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P56-003",
|
||||
"parentTask": "WBV2-P56-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-P56-003 --write"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 3419,
|
||||
"contextRemainingTokens": 853
|
||||
},
|
||||
"source": {
|
||||
"bytes": 6485,
|
||||
"tokens": 1623
|
||||
},
|
||||
"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-P56-003/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P56-003.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P56-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-P57-000",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P56-003.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P56-002/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P56-002.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P56-003.md",
|
||||
"tests/golden/WBV2-P56-002/manifest.json",
|
||||
"docs/status/WBV2-P56-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-P56-002",
|
||||
"parentTask": "WBV2-P56-001",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P56-003",
|
||||
"artifactCount": 8
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P56-002 status",
|
||||
"- task: `WBV2-P56-002`; parent: `WBV2-P56-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-P56-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-P56-003.md",
|
||||
"bytes": 1284,
|
||||
"lines": 39,
|
||||
"tokens": 321
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P56-002/manifest.json",
|
||||
"bytes": 2081,
|
||||
"lines": 58,
|
||||
"tokens": 521
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P56-002.md",
|
||||
"bytes": 317,
|
||||
"lines": 8,
|
||||
"tokens": 80
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1623,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 1623,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 2647,
|
||||
"serializedContextTokens": 617,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
162
tests/golden/WBV2-P57-000/task-context.json
Normal file
162
tests/golden/WBV2-P57-000/task-context.json
Normal file
@@ -0,0 +1,162 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P57-000",
|
||||
"parentTask": "WBV2-P56-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-P57-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-P57-000/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P57-000.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P57-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-P57-000.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P56-003/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P56-003.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P57-000.md",
|
||||
"tests/golden/WBV2-P56-003/manifest.json",
|
||||
"docs/status/WBV2-P56-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-P56-003",
|
||||
"parentTask": "WBV2-P56-002",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P57-000",
|
||||
"artifactCount": 8
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P56-003 status",
|
||||
"- task: `WBV2-P56-003`; parent: `WBV2-P56-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-P57-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-P57-000.md",
|
||||
"bytes": 1052,
|
||||
"lines": 36,
|
||||
"tokens": 263
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P56-003/manifest.json",
|
||||
"bytes": 2029,
|
||||
"lines": 58,
|
||||
"tokens": 508
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P56-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-P55-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P55","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-P55-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P55","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-P55-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P55","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-P55-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P55","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-P56-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P56","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-P56-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P56","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-P56-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P56","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-P56-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P56","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-P56-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P56","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-P57-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P57","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-P55-003/capability-continuation-plan.json","sha256":"2fe5f2ec5cbbfd74d51301bba8b2130cffd7af68f29ac9ae324ac98386e24978"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"ed82ed6e0407c03eb8bbf5e68ff95f95f52366d91761282696797817a5301a9f"},"taskCount":5,"activeTask":"WBV2-P56-000","entries":{"WBV2-P55-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P54-003","next":"WBV2-P55-001"},"WBV2-P55-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P55-000","next":"WBV2-P55-002"},"WBV2-P55-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P55-001","next":"WBV2-P55-003"},"WBV2-P55-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P55-002","next":"WBV2-P56-000"},"WBV2-P56-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P55-003","next":null}}}
|
||||
{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P56-003/capability-continuation-plan.json","sha256":"952eef193fa2105158daae405f73fcac2dceb7160cbbcb64d2829592bda76dde"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"87e898cb5319595fb1e050d2be9be656892d5921241b1033cd87ae0559dd6763"},"taskCount":5,"activeTask":"WBV2-P57-000","entries":{"WBV2-P56-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P55-003","next":"WBV2-P56-001"},"WBV2-P56-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P56-000","next":"WBV2-P56-002"},"WBV2-P56-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P56-001","next":"WBV2-P56-003"},"WBV2-P56-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P56-002","next":"WBV2-P57-000"},"WBV2-P57-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P56-003","next":null}}}
|
||||
|
||||
@@ -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 >= 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 >= 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 >= 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 >= 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 >= 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 >= 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`;
|
||||
|
||||
BIN
web/app/public/vendor/blender/web_engine.wasm
vendored
BIN
web/app/public/vendor/blender/web_engine.wasm
vendored
Binary file not shown.
@@ -945,6 +945,7 @@ function Properties({ snapshot, selectedFaceIndices, selectedVertexIndices, grea
|
||||
{activeScene?.unitSettings ? <div className="property-section" data-testid="scene-unit-settings-workbench"><h3>Scene Units</h3><output>System {activeScene.unitSettings.system} · Scale {activeScene.unitSettings.scaleLength.toFixed(4)} · Rotation {activeScene.unitSettings.rotationSystem}</output><output>Length {activeScene.unitSettings.lengthUnit} · Mass {activeScene.unitSettings.massUnit} · Time {activeScene.unitSettings.timeUnit}</output><div className="property-actions"><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneUnitSettings(activeScene.id, { system: activeScene.unitSettings!.system === 1 ? 2 : 1 }))}>切换单位系统</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneUnitSettings(activeScene.id, { scaleLength: Math.min(1000000, Math.max(0.000001, activeScene.unitSettings!.scaleLength || 1) * 1.1) }))}>调整单位缩放</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneUnitSettings(activeScene.id, { rotationSystem: activeScene.unitSettings!.rotationSystem === 2 ? 0 : 2 }))}>切换旋转单位</button></div></div> : null}
|
||||
{activeScene?.timelineSettings ? <div className="property-section" data-testid="scene-timeline-settings-workbench"><h3>Timeline Settings</h3><output>{activeScene.timelineSettings.fps} / {activeScene.timelineSettings.fpsBase.toFixed(3)} fps · Step {activeScene.timelineSettings.frameStep}</output><output>{activeScene.timelineSettings.usePreviewRange ? `Preview ${activeScene.timelineSettings.previewStart} - ${activeScene.timelineSettings.previewEnd}` : "Full frame range"}</output><div className="property-actions"><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneTimelineSettings(activeScene.id, { fps: Math.min(1000, activeScene.timelineSettings!.fps + 1) }))}>增加帧率</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneTimelineSettings(activeScene.id, { frameStep: Math.min(1000, activeScene.timelineSettings!.frameStep + 1) }))}>增加步进</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneTimelineSettings(activeScene.id, { usePreviewRange: !activeScene.timelineSettings!.usePreviewRange }))}>{activeScene.timelineSettings.usePreviewRange ? "关闭预览范围" : "启用预览范围"}</button></div></div> : null}
|
||||
{activeScene?.pipelineSettings ? <div className="property-section" data-testid="scene-pipeline-settings-workbench"><h3>Render Pipeline</h3><output>{activeScene.pipelineSettings.useCompositor ? "Compositor" : "Direct"} · {activeScene.pipelineSettings.useSequencer ? "Sequencer" : "No Sequencer"}</output><output>{activeScene.pipelineSettings.saveOutput ? "Save output" : "Preview only"} · {activeScene.pipelineSettings.noOverwrite ? "No overwrite" : "Overwrite allowed"}</output><div className="property-actions"><button type="button" onClick={() => onCommand(animationRenderCommands.setScenePipelineSettings(activeScene.id, { useCompositor: !activeScene.pipelineSettings!.useCompositor }))}>切换 Compositor</button><button type="button" onClick={() => onCommand(animationRenderCommands.setScenePipelineSettings(activeScene.id, { useSequencer: !activeScene.pipelineSettings!.useSequencer }))}>切换 Sequencer</button><button type="button" onClick={() => onCommand(animationRenderCommands.setScenePipelineSettings(activeScene.id, { saveOutput: !activeScene.pipelineSettings!.saveOutput }))}>切换输出保存</button></div></div> : null}
|
||||
{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}
|
||||
{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}
|
||||
{activeMetaball ? <div className="property-section" data-testid="metaball-workbench"><h3>Metaball</h3><output>{activeMetaball.elements?.length ?? 0} elements</output>{activeMetaball.elements?.length ? <div className="property-actions"><button type="button" onClick={() => onCommand(nonMeshGeometryCommands.setMetaballElements(activeMetaball.id, activeMetaball.elements!.map((element, index) => index === 0 ? { ...element, radius: Math.min(100000, element.radius + 0.05) } : element)))}>Increase Active Radius</button></div> : <output>No editable elements</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.
@@ -665,6 +665,16 @@ function assertFutureCapability(payload: Extract<WebEngineRequest["command"], {
|
||||
for (const field of ["useCompositor", "useSequencer", "noOverwrite", "saveOutput", "alphaPremultiplied"] as const) if (properties[field] !== undefined && typeof properties[field] !== "boolean") throw report("RENDER_PROPERTY_INVALID", `Scene ${field} must be boolean`);
|
||||
return;
|
||||
}
|
||||
case "setSceneBindings": {
|
||||
const scene = currentSnapshot?.scenes.find((candidate) => candidate.id === payload.dataId);
|
||||
const properties = payload.properties;
|
||||
if (!scene || !validPropertyKeys(properties, ["cameraObjectId", "worldId"])) throw report("RENDER_PROPERTY_INVALID", "Scene binding target or properties are invalid");
|
||||
for (const field of ["cameraObjectId", "worldId"] as const) {
|
||||
const value = properties[field];
|
||||
if (value !== undefined && value !== null && (typeof value !== "string" || value.length === 0 || new TextEncoder().encode(value).byteLength > 127)) throw report("RENDER_PROPERTY_INVALID", `Scene ${field} must be a bounded object or data id`);
|
||||
}
|
||||
return;
|
||||
}
|
||||
case "setGeometryNodeGraph": {
|
||||
const snapshot = currentSnapshot;
|
||||
const availableResourceIds = new Set([
|
||||
|
||||
@@ -47,4 +47,7 @@ export const animationRenderCommands = Object.freeze({
|
||||
setScenePipelineSettings(dataId: string, properties: AnimationCommand<"setScenePipelineSettings">["properties"]): AnimationCommand<"setScenePipelineSettings"> {
|
||||
return { type: "setScenePipelineSettings", dataId, properties: { ...properties } };
|
||||
},
|
||||
setSceneBindings(dataId: string, properties: AnimationCommand<"setSceneBindings">["properties"]): AnimationCommand<"setSceneBindings"> {
|
||||
return { type: "setSceneBindings", dataId, properties: { ...properties } };
|
||||
},
|
||||
} satisfies Record<string, (...args: never[]) => WebEngineEditCommand>);
|
||||
|
||||
@@ -85,6 +85,7 @@ export const WEB_ENGINE_COMMAND_CAPABILITIES = {
|
||||
setSceneUnitSettings: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
|
||||
setSceneTimelineSettings: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
|
||||
setScenePipelineSettings: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
|
||||
setSceneBindings: { 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" },
|
||||
|
||||
@@ -149,6 +149,7 @@ export type WebEngineEditCommand =
|
||||
| { type: "setSceneUnitSettings"; dataId: string; properties: { system?: number; scaleLength?: number; rotationSystem?: number; lengthUnit?: number; massUnit?: number; timeUnit?: number; temperatureUnit?: number } }
|
||||
| { type: "setSceneTimelineSettings"; dataId: string; properties: { fps?: number; fpsBase?: number; frameStep?: number; usePreviewRange?: boolean; previewStart?: number; previewEnd?: number } }
|
||||
| { type: "setScenePipelineSettings"; dataId: string; properties: { useCompositor?: boolean; useSequencer?: boolean; noOverwrite?: boolean; saveOutput?: boolean; alphaPremultiplied?: boolean } }
|
||||
| { type: "setSceneBindings"; dataId: string; properties: { cameraObjectId?: string | null; worldId?: string | null } }
|
||||
| { 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"],
|
||||
RENDER: ["setCameraProperties", "setLightProperties", "setWorldProperties", "setSceneProperties", "setSceneRenderSettings", "setSceneAudioSettings", "setSceneUnitSettings", "setSceneTimelineSettings", "setScenePipelineSettings", "setSceneBindings"],
|
||||
IO: ["importImage", "importVFont", "setMaterialImageNode"],
|
||||
} as const satisfies Record<string, readonly WebEngineCommandType[]>);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user