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

This commit is contained in:
mes123456
2026-08-29 16:59:08 +08:00
parent 05f9bf1433
commit ee1dd8213f
47 changed files with 1910 additions and 38 deletions

View File

@@ -1592,7 +1592,7 @@ EMSCRIPTEN_KEEPALIVE int web_engine_apply_command(const int handle,
type == "insertGreasePencilFrame" || type == "removeGreasePencilFrame" ||
type == "setGreasePencilStrokes" || type == "setVertexColors" ||
type == "setVertexWeights" || type == "setCameraProperties" || type == "setLightProperties" ||
type == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" || type == "setSceneSimplifySettings" || type == "setSceneColorManagement" || type == "setSceneImageFormat" || type == "setSceneMotionBlur" ||
type == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" || type == "setSceneSimplifySettings" || type == "setSceneColorManagement" || type == "setSceneImageFormat" || type == "setSceneMotionBlur" || type == "setSceneHairSettings" ||
type == "setSculptMeshAttributes" ||
type == "sculptStroke") {
if (!engine->authoritative_commands || engine->authoritative_main == nullptr) {
@@ -2196,7 +2196,7 @@ EMSCRIPTEN_KEEPALIVE int web_engine_apply_command(const int handle,
command.value("normalize", false), command.value("limit", 0u), command.value("mirror", false),
command.value("mirrorAxis", 0), command.value("mirrorTolerance", 1e-4f), main_error);
}
else if (type == "setCameraProperties" || type == "setLightProperties" || type == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" || type == "setSceneSimplifySettings" || type == "setSceneColorManagement" || type == "setSceneImageFormat" || type == "setSceneMotionBlur")
else if (type == "setCameraProperties" || type == "setLightProperties" || type == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" || type == "setSceneSimplifySettings" || type == "setSceneColorManagement" || type == "setSceneImageFormat" || type == "setSceneMotionBlur" || type == "setSceneHairSettings")
{
const json properties = command.value("properties", json::object());
if (type == "setSceneProperties") {
@@ -2270,6 +2270,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 == "setSceneHairSettings") {
applied = web_engine_blend_main_set_scene_hair_settings(
engine->authoritative_main, command.value("dataId", "").c_str(),
properties.dump().c_str(), main_error);
}
else {
applied = web_engine_blend_main_set_render_properties(
engine->authoritative_main, command.value("dataId", "").c_str(),

View File

@@ -5274,6 +5274,8 @@ json scene_ir_from_blend(const ParsedBlend &blend,
scene["motionBlurSettings"] = {{"enabled", (render_mode & R_MBLUR) != 0},
{"shutter", read_float(*blend.sdna, *render, "motion_blur_shutter").value_or(0.5f)},
{"position", read_integer(*blend.sdna, *render, "motion_blur_position").value_or(SCE_MB_CENTER)}};
scene["hairSettings"] = {{"type", read_integer(*blend.sdna, *render, "hair_type").value_or(SCE_HAIR_SHAPE_STRAND)},
{"subdivisions", read_integer(*blend.sdna, *render, "hair_subdiv").value_or(0)}};
scene["timelineSettings"] = {{"fps", read_integer(*blend.sdna, *render, "frs_sec").value_or(24)},
{"fpsBase", read_float(*blend.sdna, *render, "frs_sec_base").value_or(1.0f)},
{"frameStep", read_integer(*blend.sdna, *render, "frame_step").value_or(1)},

View File

@@ -6467,6 +6467,34 @@ bool web_engine_blend_main_set_scene_motion_blur(WebBlendMainState *state,
return true;
}
bool web_engine_blend_main_set_scene_hair_settings(WebBlendMainState *state,
const char *target_id,
const char *properties_json,
std::string &error)
{
if (state == nullptr || state->main == nullptr || target_id == nullptr || properties_json == nullptr) { error = "RENDER_PROPERTY_INVALID: scene hair 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 hair settings must be a non-empty object"; return false; }
const std::unordered_set<std::string> allowed = {"type", "subdivisions"};
for (const auto &[key, value] : properties.items()) { (void)value; if (!allowed.contains(key)) { error = "RENDER_PROPERTY_INVALID: unsupported hair property " + key; return false; } }
if (properties.contains("type")) {
if (!properties["type"].is_number_integer()) { error = "RENDER_PROPERTY_INVALID: hair type must be an integer"; return false; }
const int value = properties["type"].get<int>();
if (value < SCE_HAIR_SHAPE_STRAND || value > SCE_HAIR_SHAPE_CYLINDER) { error = "RENDER_PROPERTY_INVALID: hair type is unsupported"; return false; }
scene->r.hair_type = eHairType(value);
}
if (properties.contains("subdivisions")) {
if (!properties["subdivisions"].is_number_integer()) { error = "RENDER_PROPERTY_INVALID: hair subdivisions must be an integer"; return false; }
const int value = properties["subdivisions"].get<int>();
if (value < 0 || value > 32) { error = "RENDER_PROPERTY_INVALID: hair subdivisions are outside the bounded range"; return false; }
scene->r.hair_subdiv = short(value);
}
scene->id.recalc |= ID_RECALC_PARAMETERS;
return true;
}
bool web_engine_blend_main_write(WebBlendMainState *state,
std::vector<uint8_t> &bytes,
std::string &error)

View File

@@ -575,6 +575,10 @@ bool web_engine_blend_main_set_scene_motion_blur(WebBlendMainState *state,
const char *target_id,
const char *properties_json,
std::string &error);
bool web_engine_blend_main_set_scene_hair_settings(WebBlendMainState *state,
const char *target_id,
const char *properties_json,
std::string &error);
bool web_engine_blend_main_write(WebBlendMainState *state,
std::vector<uint8_t> &bytes,
std::string &error);

View File

@@ -13,9 +13,9 @@
| 字段 | 值 |
| --- | --- |
| 里程碑 | WBV2 capability workflow |
| 当前任务 | `WBV2-P64-000` |
| parent manifest | `tests/golden/WBV2-P63-003/manifest.json` |
| 任务卡 | [`tasks/WBV2-P64-000.md`](tasks/WBV2-P64-000.md) |
| 当前任务 | `WBV2-P65-000` |
| parent manifest | `tests/golden/WBV2-P64-003/manifest.json` |
| 任务卡 | [`tasks/WBV2-P65-000.md`](tasks/WBV2-P65-000.md) |
| 专项验收 | `node tools/web/check-execution-control-plane.mjs` |
| legacy coverage checkpoint | `M16-GAP-00282` |
| legacy coverage parent | `tests/golden/M16-GAP-00281/manifest.json` |

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -10,11 +10,11 @@
"artifacts": {
"parentManifest": {
"path": "tests/golden/WBV2-P27-001/manifest.json",
"sha256": "23b88c455fb14d83d1df1f4030b4c988cf0af32e59d077457b9b468ee1299350"
"sha256": "d15802c87da88e360e689af2535f498d96224db14b0fb4ca5248456ba079a59e"
},
"sourceBuildReport": {
"path": "tests/golden/WBV2-P27-002/source-build-report.json",
"sha256": "e3a054faf07a0a2bc3d7a4926601e0cdc950275b901b5e98878759e72207da82"
"sha256": "8c2b3f56a7bc66107e6a0dc45ea886e37ae15c86f0ad0e5869e2fcdc6776de10"
},
"sourceBuildLog": {
"path": "tests/golden/WBV2-P27-002/source-build.log",

View File

@@ -21,15 +21,15 @@
"artifacts": {
"sourceApi": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
"sha256": "39e8010024352cbfdcd4920deeca945800d7c3ee59886fd2ee25569f66b0e5aa"
"sha256": "fef89f1f3d70a9920fc29f547a7d66814a5980ff5ae2ba147efad20d7b7a5956"
},
"sourceMainState": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp",
"sha256": "12cc41dab7637d4c8cabaaa03fa61de0ddceee5bafe56e92af65876d2b718e4e"
"sha256": "b4cbfa05a448b49547dcc02568bd161b2aca3f25dcb9c0f8d5078b81a448c3da"
},
"sourceMainHeader": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h",
"sha256": "0d29747b79fc827575bea13cc107ac4686435f1321fcc8cb72903b01183f9987"
"sha256": "1e1f8486e1ef3731036324178564434d2b22dc0d74057ca56cb2d1de31fb83f9"
},
"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": "4c51c44e9ab95595307f4d4e182962ea2300e496dbb7f3c271afdcd8c3435149"
"sha256": "0d1b56034484e91a01d0e0465d0b63633e3d179ed0e343462810bb0072d721f2"
},
"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": "4c51c44e9ab95595307f4d4e182962ea2300e496dbb7f3c271afdcd8c3435149"
"sha256": "0d1b56034484e91a01d0e0465d0b63633e3d179ed0e343462810bb0072d721f2"
},
"webDistIndex": {
"path": "web/dist/index.html",
"sha256": "0c55132c48b4b3e38851c4d4cd0af693092e57e2def4d24ba4e71d6019570eea"
"sha256": "ba3f3d165155747bf43b064c89277ce9cb8391fa01586fa235e5eb510d106bf5"
},
"webDistWorker": {
"path": "web/dist/assets/web-engine.worker-B_eRyUPC.js",
"sha256": "cdec41db129cc3c7243def94de5e2e694988e68f9134a06e535752c671357371"
"path": "web/dist/assets/web-engine.worker-DPj0bYdv.js",
"sha256": "5b2a0fb26d1354cfa181148926ccd98f8036705617f3e8bfc2a70d5973cd4af3"
},
"webDistWasm": {
"path": "web/dist/assets/web_engine-Bjqxr6Y9.wasm",
"sha256": "4c51c44e9ab95595307f4d4e182962ea2300e496dbb7f3c271afdcd8c3435149"
"path": "web/dist/assets/web_engine-Dk9r5kRb.wasm",
"sha256": "0d1b56034484e91a01d0e0465d0b63633e3d179ed0e343462810bb0072d721f2"
}
},
"verification": {

View File

@@ -5,11 +5,11 @@
"blenderRoot": "blender-5.2.0",
"mainAuthority": "blender_main",
"sourceFiles": {
"blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp": "d56d4b0b526e1c0d1d3641fbe135b0b1f9baf643071cc2192f8da07d27bf16f9",
"blender-5.2.0/source/blender/web_engine/web_engine_api.cpp": "25282b171f5dd6786cff7642fe26201f302e8d7d2e4d3078c82fd72900a9f7e4",
"web/protocol/web-engine.ts": "9e2a1a55e5c8f0987a8912975682633dd7bf02919dfc607ae6b5322146c76433",
"web/protocol/web-engine-capabilities.ts": "2609cf3ba1cb80d80d1343d5320e7dcac16ec0f01c6bd2fb29cc76138f7c50ae",
"web/app/src/workers/web-engine.worker.ts": "fd15dea55112528cee5f06194f9bf2442f01f896862948ef56d0225141c69586"
"blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp": "12cc41dab7637d4c8cabaaa03fa61de0ddceee5bafe56e92af65876d2b718e4e",
"blender-5.2.0/source/blender/web_engine/web_engine_api.cpp": "39e8010024352cbfdcd4920deeca945800d7c3ee59886fd2ee25569f66b0e5aa",
"web/protocol/web-engine.ts": "2577544b7ee528d577285bac830009e6b8fc2933a17e4087febd3cc04e6fa077",
"web/protocol/web-engine-capabilities.ts": "9bdcb211973d4154f9889aa1121e8e31f485af7a5e766cb817f4565bc46fd5ab",
"web/app/src/workers/web-engine.worker.ts": "14144d0976d98aff21778312bcb9f4a884756b9a63c4d7024f961e2dc3a2432c"
}
},
"inventory": {

View File

@@ -10,7 +10,7 @@
"artifacts": {
"parentManifest": {
"path": "tests/golden/WBV2-P43-000/manifest.json",
"sha256": "531813e381ee5b2769fc2124b26b6f759b691ff9329100d6e292e38a6248fa17"
"sha256": "c62d0f15eb5208b8af3c15bbf9c72b8151980865359efaf15d522c22da54ecea"
},
"source1": {
"path": "tools/web/build-wbv2-capability-implementation-index.mjs",
@@ -26,7 +26,7 @@
},
"implementationIndex": {
"path": "tests/golden/WBV2-P43-001/capability-implementation-index.json",
"sha256": "aa1fcd24b97c1244a45a9f04dd164956fc6ea7a72c15185b2e54f29af8311319"
"sha256": "9dd676a0bd20939612da949dd89f9d1cef7a37b575094bb7ecda12459a617ac1"
},
"report": {
"path": "tests/golden/WBV2-P43-001/implementation-report.json",

View File

@@ -0,0 +1,151 @@
{
"schemaVersion": 1,
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P64",
"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-P64-000",
"phase": "P64",
"title": "authorize_capability_family_wave",
"kind": "enabling",
"owner": "PROGRAM",
"dependsOn": [
"WBV2-P63-003"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-000",
"gate": "G1",
"card": "docs/tasks/WBV2-P64-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-P64-001",
"phase": "P64",
"title": "index_capability_family_batches",
"kind": "feature",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P64-000"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-001",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P64-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-P64-002",
"phase": "P64",
"title": "implement_capability_family_slice",
"kind": "feature",
"owner": "IMPLEMENTATION",
"dependsOn": [
"WBV2-P64-001"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-002",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P64-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-P64-003",
"phase": "P64",
"title": "run_capability_family_smoke",
"kind": "enabling",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P64-002"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-003",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P64-003.md",
"behavior": "Run source and frontend smoke without Chromium parity verification.",
"outputs": [
"implementation-report",
"manifest",
"status"
],
"acceptance": [
"6900 inventory remains immutable",
"capability families are deduplicated before implementation",
"real Blender source or WebEngine Main path is wired",
"verification and completion overlay remain deferred"
],
"status": "planned",
"ready": false,
"queueMutationAllowed": false
}
]
}

View File

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

View File

@@ -0,0 +1,39 @@
{
"schemaVersion": 1,
"task": "WBV2-P64-000",
"parentTask": "WBV2-P63-003",
"operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION",
"status": "done",
"enablingTask": true,
"parityStateChange": false,
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
"artifacts": {
"parentManifest": {
"path": "tests/golden/WBV2-P63-003/manifest.json",
"sha256": "147b25f8c4b00a7a4ede1c6497afe65d9f0c57b8baf156f1c0804a4e1fb2fbdf"
},
"plan": {
"path": "tests/golden/WBV2-P64-000/capability-continuation-plan.json",
"sha256": "6dae6e9ec40cade4279334f13033b7f45bb78643991753510d88bc015d987792"
},
"report": {
"path": "tests/golden/WBV2-P64-000/capability-continuation-root-report.json",
"sha256": "f589d68146a377ee67c683f9f07f57795d5e89289198d81c33880017b38244f1"
},
"status": {
"path": "docs/status/WBV2-P64-000.md",
"sha256": "0566e86dcaade2a0ba1014e0da6c4f7a5bf418a6d61b408b36662560f6bcf578"
}
},
"assertions": {
"batchCount": 27,
"pendingRows": 6609,
"verificationDeferred": true,
"completionOverlayWritten": false,
"inventoryTotal": 6900,
"effectiveCompleted": 290,
"effectivePending": 6609,
"historicalReproduction": false
},
"nextTask": "WBV2-P64-001"
}

View File

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

View File

@@ -0,0 +1,151 @@
{
"schemaVersion": 1,
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P64",
"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-P64-000",
"phase": "P64",
"title": "authorize_capability_family_wave",
"kind": "enabling",
"owner": "PROGRAM",
"dependsOn": [
"WBV2-P63-003"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-000",
"gate": "G1",
"card": "docs/tasks/WBV2-P64-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-P64-001",
"phase": "P64",
"title": "index_capability_family_batches",
"kind": "feature",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P64-000"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-001",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P64-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-P64-002",
"phase": "P64",
"title": "implement_capability_family_slice",
"kind": "feature",
"owner": "IMPLEMENTATION",
"dependsOn": [
"WBV2-P64-001"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-002",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P64-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-P64-003",
"phase": "P64",
"title": "run_capability_family_smoke",
"kind": "enabling",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P64-002"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-003",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P64-003.md",
"behavior": "Run source and frontend smoke without Chromium parity verification.",
"outputs": [
"implementation-report",
"manifest",
"status"
],
"acceptance": [
"6900 inventory remains immutable",
"capability families are deduplicated before implementation",
"real Blender source or WebEngine Main path is wired",
"verification and completion overlay remain deferred"
],
"status": "planned",
"ready": false,
"queueMutationAllowed": false
}
]
}

View File

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

View File

@@ -0,0 +1,53 @@
{
"schemaVersion": 1,
"task": "WBV2-P64-001",
"parentTask": "WBV2-P64-000",
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
"status": "done",
"enablingTask": false,
"parityStateChange": false,
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
"artifacts": {
"parentManifest": {
"path": "tests/golden/WBV2-P64-000/manifest.json",
"sha256": "841f51ff9b1ff3e88f2ddecde895d7612818d752a267109e7d82e49dfa7cce07"
},
"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-P64-001/implementation-report.json",
"sha256": "1fc52821e048030fedf5c863417643eea905f731d61828accdd54f8abb3bd872"
},
"status": {
"path": "docs/status/WBV2-P64-001.md",
"sha256": "0936aa57692e9f764747a9c8fce81e2a3a442c024feb674de94ab4f7586e7e53"
},
"plan": {
"path": "tests/golden/WBV2-P64-001/capability-continuation-plan.json",
"sha256": "4b195e459cfe4a22dff6cbe1450b55b7b3b1a6cc73f312233c2b81f6ad3a4790"
},
"taskContext": {
"path": "tests/golden/WBV2-P64-001/task-context.json",
"sha256": "efe84fc24e277854f61d640ed577ef8e6d4b45e4d1b03dd5cde7f435ddc2ae6c"
}
},
"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-P64-002"
}

View File

@@ -0,0 +1,167 @@
{
"schemaVersion": 1,
"task": "WBV2-P64-001",
"parentTask": "WBV2-P64-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-P64-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-P64-001/",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "docs/status/WBV2-P64-001.md",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "tests/golden/WBV2-P64-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-P64-002",
"sourceDocuments": {
"queue": "docs/EXECUTION_QUEUE.md",
"taskCard": "docs/tasks/WBV2-P64-001.md",
"taskIndex": "tests/golden/WBV2/task-index.json",
"parentManifest": "tests/golden/WBV2-P64-000/manifest.json",
"parentStatus": "docs/status/WBV2-P64-000.md"
},
"readPolicy": {
"required": [
"docs/EXECUTION_QUEUE.md",
"docs/tasks/WBV2-P64-001.md",
"tests/golden/WBV2-P64-000/manifest.json",
"docs/status/WBV2-P64-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-P64-000",
"parentTask": "WBV2-P63-003",
"status": "done",
"nextTask": "WBV2-P64-001",
"artifactCount": 4
},
"statusSummary": [
"# WBV2-P64-000 status",
"- task: `WBV2-P64-000`; parent: `WBV2-P63-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-P64-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-P64-001.md",
"bytes": 1299,
"lines": 39,
"tokens": 325
},
{
"path": "tests/golden/WBV2-P64-000/manifest.json",
"bytes": 1282,
"lines": 40,
"tokens": 321
},
{
"path": "docs/status/WBV2-P64-000.md",
"bytes": 288,
"lines": 8,
"tokens": 72
}
],
"sourceTokens": 1419,
"evidenceFiles": 0,
"evidenceBytes": 0,
"evidenceTokens": 0,
"totalTokens": 1419,
"reservedEnvelopeTokens": 1024,
"estimatedContextTokens": 2443,
"serializedContextTokens": 620,
"withinBudget": true
}
}

View File

@@ -0,0 +1,151 @@
{
"schemaVersion": 1,
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P64",
"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-P64-000",
"phase": "P64",
"title": "authorize_capability_family_wave",
"kind": "enabling",
"owner": "PROGRAM",
"dependsOn": [
"WBV2-P63-003"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-000",
"gate": "G1",
"card": "docs/tasks/WBV2-P64-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-P64-001",
"phase": "P64",
"title": "index_capability_family_batches",
"kind": "feature",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P64-000"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-001",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P64-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-P64-002",
"phase": "P64",
"title": "implement_capability_family_slice",
"kind": "feature",
"owner": "IMPLEMENTATION",
"dependsOn": [
"WBV2-P64-001"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-002",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P64-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-P64-003",
"phase": "P64",
"title": "run_capability_family_smoke",
"kind": "enabling",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P64-002"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-003",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P64-003.md",
"behavior": "Run source and frontend smoke without Chromium parity verification.",
"outputs": [
"implementation-report",
"manifest",
"status"
],
"acceptance": [
"6900 inventory remains immutable",
"capability families are deduplicated before implementation",
"real Blender source or WebEngine Main path is wired",
"verification and completion overlay remain deferred"
],
"status": "in_progress",
"ready": true,
"queueMutationAllowed": false
}
]
}

View File

@@ -0,0 +1,34 @@
{
"schemaVersion": 1,
"task": "WBV2-P64-002",
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
"status": "PASS",
"family": "CORE_SCENE_GRAPH.HAIR_SETTINGS",
"sourcePaths": [
"blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp",
"blender-5.2.0/source/blender/web_engine/web_engine_main_state.h",
"blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"
],
"command": "existing source-backed workbench wiring",
"batching": {
"sourcePlan": "tests/golden/WBV2-P27-001/verification-batch-plan.json",
"batchCount": 27,
"pendingRows": 6609,
"deduplication": true
},
"verification": {
"status": "DEFERRED",
"chromium": false,
"e2eReceipts": false,
"completionOverlay": false
},
"inventory": {
"total": 6900,
"legacyCompleted": 281,
"legacyPending": 6618,
"effectiveCompleted": 290,
"effectivePending": 6609
},
"nextTask": "WBV2-P64-003"
}

View File

@@ -0,0 +1,61 @@
{
"schemaVersion": 1,
"task": "WBV2-P64-002",
"parentTask": "WBV2-P64-001",
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
"status": "done",
"enablingTask": false,
"parityStateChange": false,
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
"artifacts": {
"parentManifest": {
"path": "tests/golden/WBV2-P64-001/manifest.json",
"sha256": "3cd0e50cfc477b070a287aa2574d7e44f063e6a010557a247f81ae85c4512f3b"
},
"source1": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp",
"sha256": "b4cbfa05a448b49547dcc02568bd161b2aca3f25dcb9c0f8d5078b81a448c3da"
},
"source2": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h",
"sha256": "1e1f8486e1ef3731036324178564434d2b22dc0d74057ca56cb2d1de31fb83f9"
},
"source3": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
"sha256": "fef89f1f3d70a9920fc29f547a7d66814a5980ff5ae2ba147efad20d7b7a5956"
},
"source4": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
"sha256": "b744ed32d3d2f598bb4a73f2b28b5fdda14345c3c0aed4f2fa6e487e407ae3ef"
},
"report": {
"path": "tests/golden/WBV2-P64-002/implementation-report.json",
"sha256": "ba43244521b2e9e8c149af819a322af4bd891ba0bc7d48459ae1fc536bb45d9d"
},
"status": {
"path": "docs/status/WBV2-P64-002.md",
"sha256": "6f16b9e7edf99490d2afd7c118643df03defa1f60b849c5aa33c5cedc92835ba"
},
"plan": {
"path": "tests/golden/WBV2-P64-002/capability-continuation-plan.json",
"sha256": "90aa39e3edd5386bc52f4ef4b652dff6998555eafd136c4b91284d5bba1e0dc8"
},
"taskContext": {
"path": "tests/golden/WBV2-P64-002/task-context.json",
"sha256": "e495341adacc572a360bc9f8a7e742cd2964e06dabd90db849f14549179488e0"
}
},
"assertions": {
"capabilityFamily": "CORE_SCENE_GRAPH.HAIR_SETTINGS",
"sourceBacked": true,
"batchCount": 27,
"pendingRows": 6609,
"verificationDeferred": true,
"completionOverlayWritten": false,
"inventoryTotal": 6900,
"effectiveCompleted": 290,
"effectivePending": 6609,
"historicalReproduction": false
},
"nextTask": "WBV2-P64-003"
}

View File

@@ -0,0 +1,167 @@
{
"schemaVersion": 1,
"task": "WBV2-P64-002",
"parentTask": "WBV2-P64-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-P64-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-P64-002/",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "docs/status/WBV2-P64-002.md",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "tests/golden/WBV2-P64-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-P64-003",
"sourceDocuments": {
"queue": "docs/EXECUTION_QUEUE.md",
"taskCard": "docs/tasks/WBV2-P64-002.md",
"taskIndex": "tests/golden/WBV2/task-index.json",
"parentManifest": "tests/golden/WBV2-P64-001/manifest.json",
"parentStatus": "docs/status/WBV2-P64-001.md"
},
"readPolicy": {
"required": [
"docs/EXECUTION_QUEUE.md",
"docs/tasks/WBV2-P64-002.md",
"tests/golden/WBV2-P64-001/manifest.json",
"docs/status/WBV2-P64-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-P64-001",
"parentTask": "WBV2-P64-000",
"status": "done",
"nextTask": "WBV2-P64-002",
"artifactCount": 7
},
"statusSummary": [
"# WBV2-P64-001 status",
"- task: `WBV2-P64-001`; parent: `WBV2-P64-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-P64-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-P64-002.md",
"bytes": 1320,
"lines": 39,
"tokens": 330
},
{
"path": "tests/golden/WBV2-P64-001/manifest.json",
"bytes": 1887,
"lines": 54,
"tokens": 472
},
{
"path": "docs/status/WBV2-P64-001.md",
"bytes": 317,
"lines": 8,
"tokens": 80
}
],
"sourceTokens": 1583,
"evidenceFiles": 0,
"evidenceBytes": 0,
"evidenceTokens": 0,
"totalTokens": 1583,
"reservedEnvelopeTokens": 1024,
"estimatedContextTokens": 2607,
"serializedContextTokens": 625,
"withinBudget": true
}
}

View File

@@ -0,0 +1,181 @@
{
"schemaVersion": 1,
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P64",
"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-P64-000",
"phase": "P64",
"title": "authorize_capability_family_wave",
"kind": "enabling",
"owner": "PROGRAM",
"dependsOn": [
"WBV2-P63-003"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-000",
"gate": "G1",
"card": "docs/tasks/WBV2-P64-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-P64-001",
"phase": "P64",
"title": "index_capability_family_batches",
"kind": "feature",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P64-000"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-001",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P64-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-P64-002",
"phase": "P64",
"title": "implement_capability_family_slice",
"kind": "feature",
"owner": "IMPLEMENTATION",
"dependsOn": [
"WBV2-P64-001"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-002",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P64-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-P64-003",
"phase": "P64",
"title": "run_capability_family_smoke",
"kind": "enabling",
"owner": "RELEASE",
"dependsOn": [
"WBV2-P64-002"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p64-003",
"gate": "IMPLEMENTATION",
"card": "docs/tasks/WBV2-P64-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-P65-000",
"phase": "P65",
"title": "authorize_capability_family_wave",
"kind": "enabling",
"owner": "PROGRAM",
"dependsOn": [
"WBV2-P64-003"
],
"parityId": null,
"implementationClass": "SOURCE_BACKED",
"parallelGroup": "p65-000",
"gate": "G1",
"card": "docs/tasks/WBV2-P65-000.md",
"behavior": "Authorize the next capability-family implementation wave.",
"outputs": [
"implementation-report",
"manifest",
"status"
],
"acceptance": [
"6900 inventory remains immutable",
"capability families are deduplicated before implementation",
"real Blender source or WebEngine Main path is wired",
"verification and completion overlay remain deferred"
],
"status": "in_progress",
"ready": true,
"queueMutationAllowed": true
}
]
}

View File

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

View File

@@ -0,0 +1,57 @@
{
"schemaVersion": 1,
"task": "WBV2-P64-003",
"parentTask": "WBV2-P64-002",
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
"status": "done",
"enablingTask": false,
"parityStateChange": false,
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
"artifacts": {
"parentManifest": {
"path": "tests/golden/WBV2-P64-002/manifest.json",
"sha256": "e695c930d638a7456b702b34c182be0b2acb3c3db62c9281a2e35e26b50abf4a"
},
"source1": {
"path": "web/protocol/web-engine-capabilities.ts",
"sha256": "edbe7811d61d3403fae2823a586a47967e6eb613f40ed960f76601f7c123bfd5"
},
"source2": {
"path": "web/app/src/workers/web-engine.worker.ts",
"sha256": "e93e5fa55f0e34025860cfab93cdc863e3cb567c8f1e78d85aee92a70a2328ed"
},
"source3": {
"path": "web/app/src/vendor/blender/web_engine.wasm",
"sha256": "0d1b56034484e91a01d0e0465d0b63633e3d179ed0e343462810bb0072d721f2"
},
"report": {
"path": "tests/golden/WBV2-P64-003/implementation-report.json",
"sha256": "8ee7a91972233354386ef36a477f8dd99d840055810da664e12d47e97fe817c4"
},
"status": {
"path": "docs/status/WBV2-P64-003.md",
"sha256": "cf340e0df75adf4cf863331ad2a45a5da6f3c40a9253a53da42f75bf66557fe2"
},
"plan": {
"path": "tests/golden/WBV2-P64-003/capability-continuation-plan.json",
"sha256": "aa8116678838523910e19f58c9d04d7c2c1ca01e3509ae25b55494a599783923"
},
"taskContext": {
"path": "tests/golden/WBV2-P64-003/task-context.json",
"sha256": "ca306b0a40e4ee35336b292604cbe8bda90edc8aa6a9127d66d5979b10130663"
}
},
"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-P65-000"
}

View File

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

View File

@@ -0,0 +1,162 @@
{
"schemaVersion": 1,
"task": "WBV2-P65-000",
"parentTask": "WBV2-P64-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-P65-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-P65-000/",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "docs/status/WBV2-P65-000.md",
"bytes": null,
"reason": "GENERATED_EVIDENCE_OUTPUT"
},
{
"path": "tests/golden/WBV2-P65-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-P65-000.md",
"taskIndex": "tests/golden/WBV2/task-index.json",
"parentManifest": "tests/golden/WBV2-P64-003/manifest.json",
"parentStatus": "docs/status/WBV2-P64-003.md"
},
"readPolicy": {
"required": [
"docs/EXECUTION_QUEUE.md",
"docs/tasks/WBV2-P65-000.md",
"tests/golden/WBV2-P64-003/manifest.json",
"docs/status/WBV2-P64-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-P64-003",
"parentTask": "WBV2-P64-002",
"status": "done",
"nextTask": "WBV2-P65-000",
"artifactCount": 8
},
"statusSummary": [
"# WBV2-P64-003 status",
"- task: `WBV2-P64-003`; parent: `WBV2-P64-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-P65-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-P65-000.md",
"bytes": 1052,
"lines": 36,
"tokens": 263
},
{
"path": "tests/golden/WBV2-P64-003/manifest.json",
"bytes": 2029,
"lines": 58,
"tokens": 508
},
{
"path": "docs/status/WBV2-P64-003.md",
"bytes": 317,
"lines": 8,
"tokens": 80
}
],
"sourceTokens": 1552,
"evidenceFiles": 0,
"evidenceBytes": 0,
"evidenceTokens": 0,
"totalTokens": 1552,
"reservedEnvelopeTokens": 1024,
"estimatedContextTokens": 2576,
"serializedContextTokens": 619,
"withinBudget": true
}
}

View File

@@ -1,5 +1,5 @@
{"id":"WBV2-P63-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P63","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-P63-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P63","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-P63-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P63","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-P63-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P63","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-P64-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P64","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-P64-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P64","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-P64-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P64","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-P64-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P64","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-P64-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P64","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-P65-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P65","state":"active","targetImplementationClass":"SOURCE_BACKED","exitCriteria":["6900 inventory remains immutable","capability families are deduplicated before implementation","real Blender source or WebEngine Main path is wired","verification and completion overlay remain deferred"]}

View File

@@ -1 +1 @@
{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P63-003/capability-continuation-plan.json","sha256":"1e10c68d2510cea9fad64e5bc55332bc2b214aaaba96fc6aeba0863a18cce969"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"a891e7a51de9739fddcba0b15f3ccd3613d69cad1f46c7d7a1b5f38f281e4640"},"taskCount":5,"activeTask":"WBV2-P64-000","entries":{"WBV2-P63-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P62-003","next":"WBV2-P63-001"},"WBV2-P63-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P63-000","next":"WBV2-P63-002"},"WBV2-P63-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P63-001","next":"WBV2-P63-003"},"WBV2-P63-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P63-002","next":"WBV2-P64-000"},"WBV2-P64-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P63-003","next":null}}}
{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P64-003/capability-continuation-plan.json","sha256":"aa8116678838523910e19f58c9d04d7c2c1ca01e3509ae25b55494a599783923"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"160b35ac1f65e4f58e1de6da258d67d9f733971a360196eab1bc9124e6fee935"},"taskCount":5,"activeTask":"WBV2-P65-000","entries":{"WBV2-P64-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P63-003","next":"WBV2-P64-001"},"WBV2-P64-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P64-000","next":"WBV2-P64-002"},"WBV2-P64-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P64-001","next":"WBV2-P64-003"},"WBV2-P64-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P64-002","next":"WBV2-P65-000"},"WBV2-P65-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P64-003","next":null}}}

View File

@@ -26,13 +26,13 @@ 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 >= 59 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 57 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 56 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 55 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 54 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 53 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 52 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 51 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 50 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 49 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 47 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "web/protocol/web-engine.ts"] : ["web/app/src/app/App.tsx", "web/protocol/web-engine-capabilities.ts"], 3: ["web/protocol/web-engine-capabilities.ts", "web/app/src/workers/web-engine.worker.ts", "web/app/src/vendor/blender/web_engine.wasm"] };
const markers = { 1: "BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX", 2: phase >= 63 ? "web_engine_blend_main_set_scene_motion_blur" : phase >= 62 ? "web_engine_blend_main_set_scene_image_format" : phase >= 61 ? "web_engine_blend_main_set_scene_color_management" : phase >= 60 ? "web_engine_blend_main_set_scene_simplify_settings" : phase >= 59 ? "web_engine_blend_main_set_scene_border_settings" : phase >= 58 ? "web_engine_blend_main_set_scene_collection_settings" : phase >= 57 ? "web_engine_blend_main_set_scene_view_layer_settings" : phase >= 56 ? "web_engine_blend_main_set_scene_bindings" : phase >= 55 ? "web_engine_blend_main_set_scene_pipeline_settings" : phase >= 54 ? "web_engine_blend_main_set_scene_timeline_settings" : phase >= 53 ? "web_engine_blend_main_set_scene_unit_settings" : phase >= 52 ? "web_engine_blend_main_set_scene_audio_settings" : phase >= 51 ? "web_engine_blend_main_set_scene_render_settings" : phase >= 50 ? "web_engine_blend_main_set_scene_properties" : phase >= 49 ? "web_engine_blend_main_set_physics_simulation" : phase >= 47 ? "web_engine_blend_main_set_geometry_node_graph" : "capability-family-workbench", 3: "WEB_ENGINE_COMMAND_CAPABILITIES" };
const markers = { 1: "BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX", 2: phase >= 64 ? "web_engine_blend_main_set_scene_hair_settings" : phase >= 63 ? "web_engine_blend_main_set_scene_motion_blur" : phase >= 62 ? "web_engine_blend_main_set_scene_image_format" : phase >= 61 ? "web_engine_blend_main_set_scene_color_management" : phase >= 60 ? "web_engine_blend_main_set_scene_simplify_settings" : phase >= 59 ? "web_engine_blend_main_set_scene_border_settings" : phase >= 58 ? "web_engine_blend_main_set_scene_collection_settings" : phase >= 57 ? "web_engine_blend_main_set_scene_view_layer_settings" : phase >= 56 ? "web_engine_blend_main_set_scene_bindings" : phase >= 55 ? "web_engine_blend_main_set_scene_pipeline_settings" : phase >= 54 ? "web_engine_blend_main_set_scene_timeline_settings" : phase >= 53 ? "web_engine_blend_main_set_scene_unit_settings" : phase >= 52 ? "web_engine_blend_main_set_scene_audio_settings" : phase >= 51 ? "web_engine_blend_main_set_scene_render_settings" : phase >= 50 ? "web_engine_blend_main_set_scene_properties" : phase >= 49 ? "web_engine_blend_main_set_physics_simulation" : phase >= 47 ? "web_engine_blend_main_set_geometry_node_graph" : "capability-family-workbench", 3: "WEB_ENGINE_COMMAND_CAPABILITIES" };
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 >= 63 ? "CORE_SCENE_GRAPH.MOTION_BLUR" : index === 2 && phase >= 62 ? "CORE_SCENE_GRAPH.IMAGE_FORMAT" : index === 2 && phase >= 61 ? "CORE_SCENE_GRAPH.COLOR_MANAGEMENT" : index === 2 && phase >= 60 ? "CORE_SCENE_GRAPH.SIMPLIFY_SETTINGS" : index === 2 && phase >= 59 ? "CORE_SCENE_GRAPH.BORDER_SETTINGS" : index === 2 && phase >= 58 ? "CORE_SCENE_GRAPH.COLLECTION_SETTINGS" : index === 2 && phase >= 57 ? "CORE_SCENE_GRAPH.VIEW_LAYER_SETTINGS" : index === 2 && phase >= 56 ? "CORE_SCENE_GRAPH.BINDINGS" : index === 2 && phase >= 55 ? "CORE_SCENE_GRAPH.PIPELINE_SETTINGS" : index === 2 && phase >= 54 ? "CORE_SCENE_GRAPH.TIMELINE_SETTINGS" : index === 2 && phase >= 53 ? "CORE_SCENE_GRAPH.UNIT_SETTINGS" : index === 2 && phase >= 52 ? "CORE_SCENE_GRAPH.AUDIO_SETTINGS" : index === 2 && phase >= 51 ? "CORE_SCENE_GRAPH.RENDER_SETTINGS" : index === 2 && phase >= 50 ? "CORE_SCENE_GRAPH.SCENE_PROPERTIES" : index === 2 && phase >= 49 ? "SIMULATION.NATIVE_MANIFEST_BINDING" : index === 2 && phase >= 47 ? "GEOMETRY_NODES.NATIVE_MATERIALIZATION" : index === 2 ? "WORKFLOW.CAPABILITY_FAMILY_WORKBENCH" : "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE";
const family = index === 1 ? "INVENTORY.CAPABILITY_BATCH_INDEX" : index === 2 && phase >= 64 ? "CORE_SCENE_GRAPH.HAIR_SETTINGS" : index === 2 && phase >= 63 ? "CORE_SCENE_GRAPH.MOTION_BLUR" : index === 2 && phase >= 62 ? "CORE_SCENE_GRAPH.IMAGE_FORMAT" : index === 2 && phase >= 61 ? "CORE_SCENE_GRAPH.COLOR_MANAGEMENT" : index === 2 && phase >= 60 ? "CORE_SCENE_GRAPH.SIMPLIFY_SETTINGS" : index === 2 && phase >= 59 ? "CORE_SCENE_GRAPH.BORDER_SETTINGS" : index === 2 && phase >= 58 ? "CORE_SCENE_GRAPH.COLLECTION_SETTINGS" : index === 2 && phase >= 57 ? "CORE_SCENE_GRAPH.VIEW_LAYER_SETTINGS" : index === 2 && phase >= 56 ? "CORE_SCENE_GRAPH.BINDINGS" : index === 2 && phase >= 55 ? "CORE_SCENE_GRAPH.PIPELINE_SETTINGS" : index === 2 && phase >= 54 ? "CORE_SCENE_GRAPH.TIMELINE_SETTINGS" : index === 2 && phase >= 53 ? "CORE_SCENE_GRAPH.UNIT_SETTINGS" : index === 2 && phase >= 52 ? "CORE_SCENE_GRAPH.AUDIO_SETTINGS" : index === 2 && phase >= 51 ? "CORE_SCENE_GRAPH.RENDER_SETTINGS" : index === 2 && phase >= 50 ? "CORE_SCENE_GRAPH.SCENE_PROPERTIES" : index === 2 && phase >= 49 ? "SIMULATION.NATIVE_MANIFEST_BINDING" : index === 2 && phase >= 47 ? "GEOMETRY_NODES.NATIVE_MATERIALIZATION" : index === 2 ? "WORKFLOW.CAPABILITY_FAMILY_WORKBENCH" : "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE";
const out = `tests/golden/${task}`;
const reportPath = `${out}/implementation-report.json`;
const statusPath = `docs/status/${task}.md`;

Binary file not shown.

View File

@@ -943,6 +943,7 @@ function Properties({ snapshot, selectedFaceIndices, selectedVertexIndices, grea
{activeScene?.colorManagement ? <div className="property-section" data-testid="scene-color-management-workbench"><h3>Color Management</h3><output>{activeScene.colorManagement.displayDevice} · {activeScene.colorManagement.temperature?.toFixed(0) ?? "-"} K · Tint {activeScene.colorManagement.tint?.toFixed(2) ?? "-"}</output><div className="property-actions"><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneColorManagement(activeScene.id, { temperature: Math.min(20000, (activeScene.colorManagement!.temperature ?? 6500) + 250) }))}>升高色温</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneColorManagement(activeScene.id, { tint: Math.max(-100, Math.min(100, (activeScene.colorManagement!.tint ?? 0) + 1)) }))}>调整 Tint</button></div></div> : null}
{activeScene?.imageFormatSettings ? <div className="property-section" data-testid="scene-image-format-workbench"><h3>Output Format</h3><output>{activeScene.imageFormatSettings.fileType} · {activeScene.imageFormatSettings.colorMode}-channel · {activeScene.imageFormatSettings.depth}-bit · Quality {activeScene.imageFormatSettings.quality}</output><div className="property-actions"><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneImageFormat(activeScene.id, { fileType: activeScene.imageFormatSettings!.fileType === "PNG" ? "OPEN_EXR" : "PNG" }))}>切换格式</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneImageFormat(activeScene.id, { colorMode: activeScene.imageFormatSettings!.colorMode === 32 ? 24 : 32 }))}>切换通道</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneImageFormat(activeScene.id, { quality: Math.min(100, activeScene.imageFormatSettings!.quality + 5) }))}>提高质量</button></div></div> : null}
{activeScene?.motionBlurSettings ? <div className="property-section" data-testid="scene-motion-blur-workbench"><h3>Motion Blur</h3><output>{activeScene.motionBlurSettings.enabled ? "Enabled" : "Disabled"} · Shutter {activeScene.motionBlurSettings.shutter.toFixed(3)} · Position {activeScene.motionBlurSettings.position}</output><div className="property-actions"><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneMotionBlur(activeScene.id, { enabled: !activeScene.motionBlurSettings!.enabled }))}>{activeScene.motionBlurSettings.enabled ? "关闭运动模糊" : "启用运动模糊"}</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneMotionBlur(activeScene.id, { shutter: Math.min(10, activeScene.motionBlurSettings!.shutter + 0.05) }))}>增加快门</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneMotionBlur(activeScene.id, { position: ((activeScene.motionBlurSettings!.position + 1) % 3) as 0 | 1 | 2 }))}>切换位置</button></div></div> : null}
{activeScene?.hairSettings ? <div className="property-section" data-testid="scene-hair-settings-workbench"><h3>Hair Display</h3><output>Type {activeScene.hairSettings.type} · Subdivisions {activeScene.hairSettings.subdivisions}</output><div className="property-actions"><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneHairSettings(activeScene.id, { type: ((activeScene.hairSettings!.type + 1) % 3) as 0 | 1 | 2 }))}>切换发丝类型</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneHairSettings(activeScene.id, { subdivisions: Math.min(32, activeScene.hairSettings!.subdivisions + 1) }))}>增加细分</button></div></div> : null}
{activeScene?.renderSettings ? <div className="property-section" data-testid="scene-render-settings-workbench"><h3>Render Output</h3><output>{activeScene.renderSettings.resolutionX} × {activeScene.renderSettings.resolutionY} @ {activeScene.renderSettings.resolutionPercentage}%</output><output>Frames {activeScene.renderSettings.frameStart} - {activeScene.renderSettings.frameEnd} · {activeScene.renderSettings.outputPath}</output><div className="property-actions"><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneRenderSettings(activeScene.id, { resolutionX: Math.min(65536, activeScene.renderSettings!.resolutionX + 64), resolutionY: Math.min(65536, activeScene.renderSettings!.resolutionY + 64) }))}>增加分辨率</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneRenderSettings(activeScene.id, { resolutionPercentage: Math.min(1000, activeScene.renderSettings!.resolutionPercentage + 10) }))}>增加百分比</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneRenderSettings(activeScene.id, { frameEnd: Math.min(1000000, activeScene.renderSettings!.frameEnd + 1) }))}>延长帧范围</button></div></div> : null}
{activeScene?.audioSettings ? <div className="property-section" data-testid="scene-audio-settings-workbench"><h3>Scene Audio</h3><output>Volume {activeScene.audioSettings.volume.toFixed(2)} · Speed {activeScene.audioSettings.speedOfSound.toFixed(1)} · Doppler {activeScene.audioSettings.dopplerFactor.toFixed(2)}</output><output>Distance model {activeScene.audioSettings.distanceModel} · {activeScene.audioSettings.muted ? "Muted" : "Audible"} · {activeScene.audioSettings.sync ? "Synced" : "Free"}</output><div className="property-actions"><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneAudioSettings(activeScene.id, { volume: Math.min(10, activeScene.audioSettings!.volume + 0.1) }))}>增加音量</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneAudioSettings(activeScene.id, { muted: !activeScene.audioSettings!.muted }))}>{activeScene.audioSettings.muted ? "取消静音" : "静音"}</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneAudioSettings(activeScene.id, { sync: !activeScene.audioSettings!.sync }))}>切换同步</button></div></div> : null}
{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}

Binary file not shown.

View File

@@ -743,6 +743,14 @@ function assertFutureCapability(payload: Extract<WebEngineRequest["command"], {
if (properties.position !== undefined && ![0, 1, 2].includes(properties.position)) throw report("RENDER_PROPERTY_INVALID", "Scene motion blur position is unsupported");
return;
}
case "setSceneHairSettings": {
const scene = currentSnapshot?.scenes.find((candidate) => candidate.id === payload.dataId);
const properties = payload.properties;
if (!scene || !validPropertyKeys(properties, ["type", "subdivisions"])) throw report("RENDER_PROPERTY_INVALID", "Scene hair target or properties are invalid");
if (properties.type !== undefined && ![0, 1, 2].includes(properties.type)) throw report("RENDER_PROPERTY_INVALID", "Scene hair type is unsupported");
if (properties.subdivisions !== undefined && (!Number.isSafeInteger(properties.subdivisions) || properties.subdivisions < 0 || properties.subdivisions > 32)) throw report("RENDER_PROPERTY_INVALID", "Scene hair subdivisions are outside the bounded range");
return;
}
case "setGeometryNodeGraph": {
const snapshot = currentSnapshot;
const availableResourceIds = new Set([

View File

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

View File

@@ -576,6 +576,7 @@ export interface SceneIR {
simplifySettings?: { subsurfViewport: number; subsurfRender: number; particlesViewport: number; particlesRender: number; volumes: number };
imageFormatSettings?: { fileType: string; colorMode: number; depth: number; quality: number; compression: number; exrCodec: number };
motionBlurSettings?: { enabled: boolean; shutter: number; position: number };
hairSettings?: { type: number; subdivisions: number };
compositorGraph?: CompositorGraphIR;
compositorStatus?: "AVAILABLE" | "BLOCKED";
sequencerTimeline?: SequencerTimelineIR;
@@ -1621,6 +1622,11 @@ export function parseSceneSnapshotIR(value: unknown): SceneSnapshotIR {
requireBoolean(scene.motionBlurSettings.enabled, `scenes[${index}].motionBlurSettings.enabled`);
for (const field of ["shutter", "position"] as const) requireNumber(scene.motionBlurSettings[field], `scenes[${index}].motionBlurSettings.${field}`);
}
if (scene.hairSettings !== undefined) {
if (!isRecord(scene.hairSettings)) throw new Error(`SceneIR.scenes[${index}].hairSettings must be an object`);
requireNumber(scene.hairSettings.type, `scenes[${index}].hairSettings.type`);
requireNumber(scene.hairSettings.subdivisions, `scenes[${index}].hairSettings.subdivisions`);
}
if (scene.compositorStatus !== undefined && !["AVAILABLE", "BLOCKED"].includes(scene.compositorStatus as string)) {
throw new Error(`scenes[${index}].compositorStatus is invalid`);
}

View File

@@ -93,6 +93,7 @@ export const WEB_ENGINE_COMMAND_CAPABILITIES = {
setSceneColorManagement: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
setSceneImageFormat: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
setSceneMotionBlur: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
setSceneHairSettings: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
setMetaballElements: { family: "GEOMETRY", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
sculptStroke: { family: "SCULPT", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
setSculptMeshAttributes: { family: "SCULPT", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },

View File

@@ -157,6 +157,7 @@ export type WebEngineEditCommand =
| { type: "setSceneColorManagement"; dataId: string; properties: { displayDevice?: string; temperature?: number; tint?: number } }
| { type: "setSceneImageFormat"; dataId: string; properties: { fileType?: "PNG" | "JPEG" | "OPEN_EXR" | "TIFF" | "WEBP"; colorMode?: number; depth?: number; quality?: number; compression?: number; exrCodec?: number } }
| { type: "setSceneMotionBlur"; dataId: string; properties: { enabled?: boolean; shutter?: number; position?: 0 | 1 | 2 } }
| { type: "setSceneHairSettings"; dataId: string; properties: { type?: 0 | 1 | 2; subdivisions?: number } }
| { type: "setMetaballElements"; dataId: string; elements: Array<{ type: number; position: [number, number, number]; radius: number; scale: [number, number, number] }> }
| { type: "sculptStroke"; stroke: SculptStrokeIR }
| { type: "setSculptMeshAttributes"; attributes: SculptMeshAttributesIR }

View File

@@ -4,7 +4,7 @@ export const WORKBENCH_COMMAND_GROUPS = Object.freeze({
OBJECT: ["createPrimitive", "duplicateObject", "deleteObject", "setObjectTransform", "setParent", "createCollection", "moveObjectToCollection", "renameId", "applyObjectTransform", "setObjectOrigin"],
MESH: ["meshEdit", "translateMeshVertices", "createUVMap", "setActiveUVMap", "unwrapUV", "setVertexColors", "setVertexWeights"],
ANIMATION: ["setFrame", "insertObjectKeyframe", "deleteObjectKeyframe", "setFCurveInterpolation", "setConstraint", "setNLAStack"],
RENDER: ["setCameraProperties", "setLightProperties", "setWorldProperties", "setSceneProperties", "setSceneRenderSettings", "setSceneAudioSettings", "setSceneUnitSettings", "setSceneTimelineSettings", "setScenePipelineSettings", "setSceneBindings", "setSceneViewLayerSettings", "setSceneCollectionSettings", "setSceneBorderSettings", "setSceneSimplifySettings", "setSceneColorManagement", "setSceneImageFormat", "setSceneMotionBlur"],
RENDER: ["setCameraProperties", "setLightProperties", "setWorldProperties", "setSceneProperties", "setSceneRenderSettings", "setSceneAudioSettings", "setSceneUnitSettings", "setSceneTimelineSettings", "setScenePipelineSettings", "setSceneBindings", "setSceneViewLayerSettings", "setSceneCollectionSettings", "setSceneBorderSettings", "setSceneSimplifySettings", "setSceneColorManagement", "setSceneImageFormat", "setSceneMotionBlur", "setSceneHairSettings"],
IO: ["importImage", "importVFont", "setMaterialImageNode"],
} as const satisfies Record<string, readonly WebEngineCommandType[]>);