feat(web): add render performance authoring
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 == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" || type == "setSceneSimplifySettings" || type == "setSceneColorManagement" || type == "setSceneImageFormat" || type == "setSceneMotionBlur" || type == "setSceneHairSettings" || type == "setSceneCompositorSettings" ||
|
||||
type == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" || type == "setSceneSimplifySettings" || type == "setSceneColorManagement" || type == "setSceneImageFormat" || type == "setSceneMotionBlur" || type == "setSceneHairSettings" || type == "setSceneCompositorSettings" || type == "setScenePerformanceSettings" ||
|
||||
type == "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" || type == "setSceneHairSettings" || type == "setSceneCompositorSettings")
|
||||
else if (type == "setCameraProperties" || type == "setLightProperties" || type == "setWorldProperties" || type == "setSceneProperties" || type == "setSceneRenderSettings" || type == "setSceneAudioSettings" || type == "setSceneUnitSettings" || type == "setSceneTimelineSettings" || type == "setScenePipelineSettings" || type == "setSceneBindings" || type == "setSceneViewLayerSettings" || type == "setSceneCollectionSettings" || type == "setSceneBorderSettings" || type == "setSceneSimplifySettings" || type == "setSceneColorManagement" || type == "setSceneImageFormat" || type == "setSceneMotionBlur" || type == "setSceneHairSettings" || type == "setSceneCompositorSettings" || type == "setScenePerformanceSettings")
|
||||
{
|
||||
const json properties = command.value("properties", json::object());
|
||||
if (type == "setSceneProperties") {
|
||||
@@ -2280,6 +2280,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 == "setScenePerformanceSettings") {
|
||||
applied = web_engine_blend_main_set_scene_performance_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(),
|
||||
|
||||
@@ -5281,6 +5281,11 @@ json scene_ir_from_blend(const ParsedBlend &blend,
|
||||
{"denoiseDevice", read_integer(*blend.sdna, *render, "compositor_denoise_device").value_or(SCE_COMPOSITOR_DENOISE_DEVICE_AUTO)},
|
||||
{"previewQuality", read_integer(*blend.sdna, *render, "compositor_denoise_preview_quality").value_or(SCE_COMPOSITOR_DENOISE_BALANCED)},
|
||||
{"finalQuality", read_integer(*blend.sdna, *render, "compositor_denoise_final_quality").value_or(SCE_COMPOSITOR_DENOISE_HIGH)}};
|
||||
const int64_t performance_flags = read_integer(*blend.sdna, *render, "perf_flag").value_or(0);
|
||||
scene["performanceSettings"] = {{"fixedThreads", (render_mode & R_FIXED_THREADS) != 0},
|
||||
{"threads", read_integer(*blend.sdna, *render, "threads").value_or(1)},
|
||||
{"persistentData", (render_mode & R_PERSISTENT_DATA) != 0},
|
||||
{"highQualityNormals", (performance_flags & SCE_PERF_HQ_NORMALS) != 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)},
|
||||
|
||||
@@ -6520,6 +6520,39 @@ bool web_engine_blend_main_set_scene_compositor_settings(WebBlendMainState *stat
|
||||
return true;
|
||||
}
|
||||
|
||||
bool web_engine_blend_main_set_scene_performance_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 performance 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 performance settings must be a non-empty object"; return false; }
|
||||
const std::unordered_set<std::string> allowed = {"fixedThreads", "threads", "persistentData", "highQualityNormals"};
|
||||
for (const auto &[key, value] : properties.items()) { (void)value; if (!allowed.contains(key)) { error = "RENDER_PROPERTY_INVALID: unsupported performance property " + key; return false; } }
|
||||
auto read_mode_flag = [&](const char *key, int flag) {
|
||||
if (!properties.contains(key)) return true;
|
||||
if (!properties[key].is_boolean()) { error = std::string("RENDER_PROPERTY_INVALID: ") + key + " must be boolean"; return false; }
|
||||
if (properties[key].get<bool>()) scene->r.mode |= flag; else scene->r.mode &= ~flag;
|
||||
return true;
|
||||
};
|
||||
if (!read_mode_flag("fixedThreads", R_FIXED_THREADS) || !read_mode_flag("persistentData", R_PERSISTENT_DATA)) return false;
|
||||
if (properties.contains("threads")) {
|
||||
if (!properties["threads"].is_number_integer()) { error = "RENDER_PROPERTY_INVALID: threads must be an integer"; return false; }
|
||||
const int threads = properties["threads"].get<int>();
|
||||
if (threads < 1 || threads > 1024) { error = "RENDER_PROPERTY_INVALID: threads are outside the bounded range"; return false; }
|
||||
scene->r.threads = short(threads);
|
||||
}
|
||||
if (properties.contains("highQualityNormals")) {
|
||||
if (!properties["highQualityNormals"].is_boolean()) { error = "RENDER_PROPERTY_INVALID: highQualityNormals must be boolean"; return false; }
|
||||
if (properties["highQualityNormals"].get<bool>()) scene->r.perf_flag |= SCE_PERF_HQ_NORMALS; else scene->r.perf_flag &= ~SCE_PERF_HQ_NORMALS;
|
||||
}
|
||||
scene->id.recalc |= ID_RECALC_PARAMETERS;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool web_engine_blend_main_write(WebBlendMainState *state,
|
||||
std::vector<uint8_t> &bytes,
|
||||
std::string &error)
|
||||
|
||||
@@ -583,6 +583,10 @@ bool web_engine_blend_main_set_scene_compositor_settings(WebBlendMainState *stat
|
||||
const char *target_id,
|
||||
const char *properties_json,
|
||||
std::string &error);
|
||||
bool web_engine_blend_main_set_scene_performance_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);
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
| 字段 | 值 |
|
||||
| --- | --- |
|
||||
| 里程碑 | WBV2 capability workflow |
|
||||
| 当前任务 | `WBV2-P66-000` |
|
||||
| parent manifest | `tests/golden/WBV2-P65-003/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P66-000.md`](tasks/WBV2-P66-000.md) |
|
||||
| 当前任务 | `WBV2-P67-000` |
|
||||
| parent manifest | `tests/golden/WBV2-P66-003/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P67-000.md`](tasks/WBV2-P67-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-P66-000.md
Normal file
7
docs/status/WBV2-P66-000.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# WBV2-P66-000 status
|
||||
|
||||
- task: `WBV2-P66-000`; parent: `WBV2-P65-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-P66-001`
|
||||
7
docs/status/WBV2-P66-001.md
Normal file
7
docs/status/WBV2-P66-001.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# WBV2-P66-001 status
|
||||
|
||||
- task: `WBV2-P66-001`; parent: `WBV2-P66-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-P66-002`
|
||||
7
docs/status/WBV2-P66-002.md
Normal file
7
docs/status/WBV2-P66-002.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# WBV2-P66-002 status
|
||||
|
||||
- task: `WBV2-P66-002`; parent: `WBV2-P66-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-P66-003`
|
||||
7
docs/status/WBV2-P66-003.md
Normal file
7
docs/status/WBV2-P66-003.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# WBV2-P66-003 status
|
||||
|
||||
- task: `WBV2-P66-003`; parent: `WBV2-P66-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-P67-000`
|
||||
38
docs/tasks/WBV2-P66-001.md
Normal file
38
docs/tasks/WBV2-P66-001.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# WBV2-P66-001: index_capability_family_batches
|
||||
|
||||
- task: WBV2-P66-001
|
||||
- parent: WBV2-P66-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-P66-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-P66-001 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source or unsupported capability remains in_progress/blocked
|
||||
- representative implementation is never declared as full-family parity
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P66-001/`
|
||||
- Status: `docs/status/WBV2-P66-001.md`
|
||||
- Manifest: `tests/golden/WBV2-P66-001/manifest.json`
|
||||
- Rollback: restore WBV2-P66-000 as queue parent and leave the task in_progress.
|
||||
38
docs/tasks/WBV2-P66-002.md
Normal file
38
docs/tasks/WBV2-P66-002.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# WBV2-P66-002: implement_capability_family_slice
|
||||
|
||||
- task: WBV2-P66-002
|
||||
- parent: WBV2-P66-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-P66-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-P66-002 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source or unsupported capability remains in_progress/blocked
|
||||
- representative implementation is never declared as full-family parity
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P66-002/`
|
||||
- Status: `docs/status/WBV2-P66-002.md`
|
||||
- Manifest: `tests/golden/WBV2-P66-002/manifest.json`
|
||||
- Rollback: restore WBV2-P66-001 as queue parent and leave the task in_progress.
|
||||
38
docs/tasks/WBV2-P66-003.md
Normal file
38
docs/tasks/WBV2-P66-003.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# WBV2-P66-003: run_capability_family_smoke
|
||||
|
||||
- task: WBV2-P66-003
|
||||
- parent: WBV2-P66-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-P66-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-P66-003 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source or unsupported capability remains in_progress/blocked
|
||||
- representative implementation is never declared as full-family parity
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P66-003/`
|
||||
- Status: `docs/status/WBV2-P66-003.md`
|
||||
- Manifest: `tests/golden/WBV2-P66-003/manifest.json`
|
||||
- Rollback: restore WBV2-P66-002 as queue parent and leave the task in_progress.
|
||||
35
docs/tasks/WBV2-P67-000.md
Normal file
35
docs/tasks/WBV2-P67-000.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# WBV2-P67-000: authorize_capability_family_wave
|
||||
|
||||
- task: WBV2-P67-000
|
||||
- parent: WBV2-P66-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-P67-000 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source, unsupported capability or hash drift remains in_progress/blocked
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P67-000/`
|
||||
- Status: `docs/status/WBV2-P67-000.md`
|
||||
- Manifest: `tests/golden/WBV2-P67-000/manifest.json`
|
||||
- Rollback: restore WBV2-P66-003 as queue parent and leave the wave in_progress.
|
||||
@@ -305,10 +305,10 @@ Recorded: 2026-08-29 Asia/Shanghai
|
||||
|
||||
| Field | Value |
|
||||
| --- | --- |
|
||||
| Current task when this file was written | `WBV2-P66-000` |
|
||||
| Current task when this file was written | `WBV2-P67-000` |
|
||||
| Current task state | `in_progress` |
|
||||
| Parent manifest | `tests/golden/WBV2/WBV2-P65-003/manifest.json` |
|
||||
| Current task card | `docs/tasks/WBV2-P66-000.md` |
|
||||
| Parent manifest | `tests/golden/WBV2/WBV2-P66-003/manifest.json` |
|
||||
| Current task card | `docs/tasks/WBV2-P67-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": "fe3fdc1e69f321de616fb20651502fdda512a8c084f3d83b5f0d11595f4f01e1"
|
||||
"sha256": "47d56520d6d5922bcae8086710bcd77796791393bb1062d4054d9cf45ca75fea"
|
||||
},
|
||||
"sourceBuildReport": {
|
||||
"path": "tests/golden/WBV2-P27-002/source-build-report.json",
|
||||
"sha256": "bb17df0fbf4c167beae27faeb862caa2eddd0c937c521061857808e66985855d"
|
||||
"sha256": "41231a2aabf145e24d5c9ebbc8900596342c8769579d34beefa10fa16831ec2a"
|
||||
},
|
||||
"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": "a5b2fb4712ec71f49790e5fd7f2bea8c1880cb577ea7f993e9c8392c0ef737f6"
|
||||
"sha256": "b7a65578e69e2da1d98694a0ea055fa46c3cdac2178f58662b0fbbb3fd45a228"
|
||||
},
|
||||
"sourceMainState": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp",
|
||||
"sha256": "fa70a52ad7197cf3b9d38275ba018785808e8e21bf2d208b6fbca5f33efe517a"
|
||||
"sha256": "34d76e129823438bc77b9bea7ba15f7ecf8b213091ae307eccaa41e221a7eaeb"
|
||||
},
|
||||
"sourceMainHeader": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h",
|
||||
"sha256": "2c8725e21899deeb71ce735026be51c58d2f3714e02153c44d1b3d1e3521be72"
|
||||
"sha256": "fa2be2d52adc64adbb8aed092bd31f9429fa3361868a4d280c61e341edebd63f"
|
||||
},
|
||||
"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": "2bdcb249c46f192957ab941cd0b8af79642b5f10f22ba71448a2024b8823b60f"
|
||||
"sha256": "0b75f662251627fa2a80a7b0de1665b89fd41d7d9b9a8bc0a6ae03954b09b4c7"
|
||||
},
|
||||
"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": "2bdcb249c46f192957ab941cd0b8af79642b5f10f22ba71448a2024b8823b60f"
|
||||
"sha256": "0b75f662251627fa2a80a7b0de1665b89fd41d7d9b9a8bc0a6ae03954b09b4c7"
|
||||
},
|
||||
"webDistIndex": {
|
||||
"path": "web/dist/index.html",
|
||||
"sha256": "eacd20e43dc67b5e731a02e3a7ed0032be44d74c0fe1936836c62912a80e04d8"
|
||||
"sha256": "34cab73db0989cb931d3118915c00c159ccdd0a5663f9415ec18ca1d8ecef185"
|
||||
},
|
||||
"webDistWorker": {
|
||||
"path": "web/dist/assets/web-engine.worker-D4uB_O-m.js",
|
||||
"sha256": "6d7b5eae3c6fe7f2ae538267e0b13d8a5e49cbea2715af11f915bbec014d91e1"
|
||||
"path": "web/dist/assets/web-engine.worker-Cx8haLxd.js",
|
||||
"sha256": "acdbb83937a07517ae6c80c2f8f9693f94204feea8770d17f4878ae5a5f4d3e0"
|
||||
},
|
||||
"webDistWasm": {
|
||||
"path": "web/dist/assets/web_engine-ByQohoYn.wasm",
|
||||
"sha256": "2bdcb249c46f192957ab941cd0b8af79642b5f10f22ba71448a2024b8823b60f"
|
||||
"path": "web/dist/assets/web_engine-ppl3Yee5.wasm",
|
||||
"sha256": "0b75f662251627fa2a80a7b0de1665b89fd41d7d9b9a8bc0a6ae03954b09b4c7"
|
||||
}
|
||||
},
|
||||
"verification": {
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
"blenderRoot": "blender-5.2.0",
|
||||
"mainAuthority": "blender_main",
|
||||
"sourceFiles": {
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp": "b4cbfa05a448b49547dcc02568bd161b2aca3f25dcb9c0f8d5078b81a448c3da",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_api.cpp": "fef89f1f3d70a9920fc29f547a7d66814a5980ff5ae2ba147efad20d7b7a5956",
|
||||
"web/protocol/web-engine.ts": "d6e071797c5b88b6678f9374191ba74fd0b2d33d6b6872e3d53d0982c7d8a387",
|
||||
"web/protocol/web-engine-capabilities.ts": "edbe7811d61d3403fae2823a586a47967e6eb613f40ed960f76601f7c123bfd5",
|
||||
"web/app/src/workers/web-engine.worker.ts": "e93e5fa55f0e34025860cfab93cdc863e3cb567c8f1e78d85aee92a70a2328ed"
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp": "fa70a52ad7197cf3b9d38275ba018785808e8e21bf2d208b6fbca5f33efe517a",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_api.cpp": "a5b2fb4712ec71f49790e5fd7f2bea8c1880cb577ea7f993e9c8392c0ef737f6",
|
||||
"web/protocol/web-engine.ts": "b641de1a77743bbd45fda0d52ade3d872cb06620cfea522ad74ba8daee329fa9",
|
||||
"web/protocol/web-engine-capabilities.ts": "124a4df645102fe9a1b3acad9dcffdf99890b7878dc6d406b28edc9233242344",
|
||||
"web/app/src/workers/web-engine.worker.ts": "604d86bdfa700726ab564a6b74002bb28e1d8d828d914c7c92bbb348df85175f"
|
||||
}
|
||||
},
|
||||
"inventory": {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P43-000/manifest.json",
|
||||
"sha256": "e826f65304768d9655addc14ce5aec1bf79a9c0d2f827e86450a1203400272d3"
|
||||
"sha256": "ac231de382c7170259a391e8fa4fbd443d31058d2d7a917b4a1ae4d41e69bf3a"
|
||||
},
|
||||
"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": "2856713c3e5c26533b774a79595ef695fffc309415f089e98ac52e48c7ebc691"
|
||||
"sha256": "e3f5ed7f2bd39d5aa6f354f7a989044e5a63b8d737d6d6bb0374483632d6d43d"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P43-001/implementation-report.json",
|
||||
|
||||
151
tests/golden/WBV2-P66-000/capability-continuation-plan.json
Normal file
151
tests/golden/WBV2-P66-000/capability-continuation-plan.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P66",
|
||||
"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-P66-000",
|
||||
"phase": "P66",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P65-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P66-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-P66-001",
|
||||
"phase": "P66",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P66-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P66-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-P66-002",
|
||||
"phase": "P66",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P66-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P66-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-P66-003",
|
||||
"phase": "P66",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P66-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P66-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-P66-000",
|
||||
"operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "PASS",
|
||||
"parent": {
|
||||
"task": "WBV2-P65-003",
|
||||
"manifest": "tests/golden/WBV2-P65-003/manifest.json",
|
||||
"manifestSha256": "9249c31be7ec672171a5cc8f4ac2d0721854dcf47b6d433932ba5682c6772c8a"
|
||||
},
|
||||
"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-P66-001"
|
||||
}
|
||||
39
tests/golden/WBV2-P66-000/manifest.json
Normal file
39
tests/golden/WBV2-P66-000/manifest.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P66-000",
|
||||
"parentTask": "WBV2-P65-003",
|
||||
"operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P65-003/manifest.json",
|
||||
"sha256": "9249c31be7ec672171a5cc8f4ac2d0721854dcf47b6d433932ba5682c6772c8a"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P66-000/capability-continuation-plan.json",
|
||||
"sha256": "af6cd382c6c0c1bda18943e430046d47077d0f373e315382bd060c8e4ec4d9f3"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P66-000/capability-continuation-root-report.json",
|
||||
"sha256": "e0f1ef007cc0972707bbbc6a84af219093572d7bd36da0ad0fe3296f5103b6d2"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P66-000.md",
|
||||
"sha256": "da8f8315b070e613a2c4f50fe0b4758a5e7aec5a4a7c78dd42ace81b842b6c62"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"batchCount": 27,
|
||||
"pendingRows": 6609,
|
||||
"verificationDeferred": true,
|
||||
"completionOverlayWritten": false,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P66-001"
|
||||
}
|
||||
@@ -60,7 +60,7 @@
|
||||
"real Blender source or WebEngine Main path is wired",
|
||||
"verification and completion overlay remain deferred"
|
||||
],
|
||||
"nextTask": null,
|
||||
"nextTask": "WBV2-P66-001",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P66-000.md",
|
||||
@@ -156,7 +156,7 @@
|
||||
"totalTokens": 1552,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 2576,
|
||||
"serializedContextTokens": 619,
|
||||
"serializedContextTokens": 622,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
|
||||
151
tests/golden/WBV2-P66-001/capability-continuation-plan.json
Normal file
151
tests/golden/WBV2-P66-001/capability-continuation-plan.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P66",
|
||||
"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-P66-000",
|
||||
"phase": "P66",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P65-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P66-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-P66-001",
|
||||
"phase": "P66",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P66-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P66-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-P66-002",
|
||||
"phase": "P66",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P66-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P66-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-P66-003",
|
||||
"phase": "P66",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P66-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P66-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-P66-001/implementation-report.json
Normal file
32
tests/golden/WBV2-P66-001/implementation-report.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P66-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-P66-002"
|
||||
}
|
||||
53
tests/golden/WBV2-P66-001/manifest.json
Normal file
53
tests/golden/WBV2-P66-001/manifest.json
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P66-001",
|
||||
"parentTask": "WBV2-P66-000",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "done",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P66-000/manifest.json",
|
||||
"sha256": "025ebbb7c9c5ce04e9d1e0d23984029bc4ffe0610a5f2affaee2bcdb05464b36"
|
||||
},
|
||||
"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-P66-001/implementation-report.json",
|
||||
"sha256": "94d051e246c2c7337a73a2d76913e050301c90f0a7a3b2fe558864210fddce76"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P66-001.md",
|
||||
"sha256": "3ed84f5227316443f23148bcca1e46dfe279b98df10fe7b9f934f1fcb97a05a6"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P66-001/capability-continuation-plan.json",
|
||||
"sha256": "d722bf587a9816fe34e1961d9736ad3f589f9aefd2036432d94c4d581e89dac9"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P66-001/task-context.json",
|
||||
"sha256": "78e2c196681cb25d7e8f452d0bfe903cf1fbc0894c2dad3a4d86445c08ac0a47"
|
||||
}
|
||||
},
|
||||
"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-P66-002"
|
||||
}
|
||||
167
tests/golden/WBV2-P66-001/task-context.json
Normal file
167
tests/golden/WBV2-P66-001/task-context.json
Normal file
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P66-001",
|
||||
"parentTask": "WBV2-P66-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-P66-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-P66-001/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P66-001.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P66-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-P66-002",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P66-001.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P66-000/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P66-000.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P66-001.md",
|
||||
"tests/golden/WBV2-P66-000/manifest.json",
|
||||
"docs/status/WBV2-P66-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-P66-000",
|
||||
"parentTask": "WBV2-P65-003",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P66-001",
|
||||
"artifactCount": 4
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P66-000 status",
|
||||
"- task: `WBV2-P66-000`; parent: `WBV2-P65-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-P66-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-P66-001.md",
|
||||
"bytes": 1299,
|
||||
"lines": 39,
|
||||
"tokens": 325
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P66-000/manifest.json",
|
||||
"bytes": 1282,
|
||||
"lines": 40,
|
||||
"tokens": 321
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P66-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-P66-002/capability-continuation-plan.json
Normal file
151
tests/golden/WBV2-P66-002/capability-continuation-plan.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P66",
|
||||
"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-P66-000",
|
||||
"phase": "P66",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P65-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P66-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-P66-001",
|
||||
"phase": "P66",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P66-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P66-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-P66-002",
|
||||
"phase": "P66",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P66-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P66-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-P66-003",
|
||||
"phase": "P66",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P66-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P66-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
|
||||
}
|
||||
]
|
||||
}
|
||||
34
tests/golden/WBV2-P66-002/implementation-report.json
Normal file
34
tests/golden/WBV2-P66-002/implementation-report.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P66-002",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "PASS",
|
||||
"family": "PERFORMANCE.RENDER_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-P66-003"
|
||||
}
|
||||
61
tests/golden/WBV2-P66-002/manifest.json
Normal file
61
tests/golden/WBV2-P66-002/manifest.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P66-002",
|
||||
"parentTask": "WBV2-P66-001",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "done",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P66-001/manifest.json",
|
||||
"sha256": "d30b6a06683afba70cff931719ca2afc637e778b9913686816ca8d132ab4398c"
|
||||
},
|
||||
"source1": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp",
|
||||
"sha256": "34d76e129823438bc77b9bea7ba15f7ecf8b213091ae307eccaa41e221a7eaeb"
|
||||
},
|
||||
"source2": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h",
|
||||
"sha256": "fa2be2d52adc64adbb8aed092bd31f9429fa3361868a4d280c61e341edebd63f"
|
||||
},
|
||||
"source3": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
|
||||
"sha256": "b7a65578e69e2da1d98694a0ea055fa46c3cdac2178f58662b0fbbb3fd45a228"
|
||||
},
|
||||
"source4": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"sha256": "7327c4d5702b0c9c71a61349b83ab4597ea92f8d75b783399c6920e362d28fc3"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P66-002/implementation-report.json",
|
||||
"sha256": "a896a1f7da54c2b2abcbd3ba1ad98c956d914921e3470f773b2ad06fb8232008"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P66-002.md",
|
||||
"sha256": "a408379aaa84f3aece32ba55b89ea5f2dd87c79144d3437e958f516c0fed91e5"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P66-002/capability-continuation-plan.json",
|
||||
"sha256": "607a378da954cf4d66871826f4375c8b68a081e7fb507a73df2d85d78ac186d6"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P66-002/task-context.json",
|
||||
"sha256": "85c5b32087495b616837a5f3232f31fb0546fe3011a74ccb769675f2b165e36a"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"capabilityFamily": "PERFORMANCE.RENDER_SETTINGS",
|
||||
"sourceBacked": true,
|
||||
"batchCount": 27,
|
||||
"pendingRows": 6609,
|
||||
"verificationDeferred": true,
|
||||
"completionOverlayWritten": false,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P66-003"
|
||||
}
|
||||
167
tests/golden/WBV2-P66-002/task-context.json
Normal file
167
tests/golden/WBV2-P66-002/task-context.json
Normal file
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P66-002",
|
||||
"parentTask": "WBV2-P66-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-P66-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-P66-002/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P66-002.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P66-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-P66-003",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P66-002.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P66-001/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P66-001.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P66-002.md",
|
||||
"tests/golden/WBV2-P66-001/manifest.json",
|
||||
"docs/status/WBV2-P66-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-P66-001",
|
||||
"parentTask": "WBV2-P66-000",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P66-002",
|
||||
"artifactCount": 7
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P66-001 status",
|
||||
"- task: `WBV2-P66-001`; parent: `WBV2-P66-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-P66-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-P66-002.md",
|
||||
"bytes": 1320,
|
||||
"lines": 39,
|
||||
"tokens": 330
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P66-001/manifest.json",
|
||||
"bytes": 1887,
|
||||
"lines": 54,
|
||||
"tokens": 472
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P66-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-P66-003/capability-continuation-plan.json
Normal file
181
tests/golden/WBV2-P66-003/capability-continuation-plan.json
Normal file
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P66",
|
||||
"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-P66-000",
|
||||
"phase": "P66",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P65-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P66-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-P66-001",
|
||||
"phase": "P66",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P66-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P66-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-P66-002",
|
||||
"phase": "P66",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P66-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P66-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-P66-003",
|
||||
"phase": "P66",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P66-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p66-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P66-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-P67-000",
|
||||
"phase": "P67",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P66-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p67-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P67-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-P66-003/implementation-report.json
Normal file
33
tests/golden/WBV2-P66-003/implementation-report.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P66-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-P67-000"
|
||||
}
|
||||
57
tests/golden/WBV2-P66-003/manifest.json
Normal file
57
tests/golden/WBV2-P66-003/manifest.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P66-003",
|
||||
"parentTask": "WBV2-P66-002",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "done",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P66-002/manifest.json",
|
||||
"sha256": "1c5eae264dbead1734d7db384481d3cb114100aa934d523150fbfba7b804130f"
|
||||
},
|
||||
"source1": {
|
||||
"path": "web/protocol/web-engine-capabilities.ts",
|
||||
"sha256": "055d9080b270d876a328386d83aa58d93e05b4d749b6290d1d5510f1fd028320"
|
||||
},
|
||||
"source2": {
|
||||
"path": "web/app/src/workers/web-engine.worker.ts",
|
||||
"sha256": "241da8567188bc4b4625eeb21849cdc69951258ae9728d750a502d074d9d650e"
|
||||
},
|
||||
"source3": {
|
||||
"path": "web/app/src/vendor/blender/web_engine.wasm",
|
||||
"sha256": "0b75f662251627fa2a80a7b0de1665b89fd41d7d9b9a8bc0a6ae03954b09b4c7"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P66-003/implementation-report.json",
|
||||
"sha256": "29a2c6153f7c04d8d137b47bde699752ade76de135efe8af22aba9f629a9f2f3"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P66-003.md",
|
||||
"sha256": "c0ba81064b228f1f30a851711b90b79cb15e40d17ffc90622a1de68d06f688fe"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P66-003/capability-continuation-plan.json",
|
||||
"sha256": "6066941de88e62851a928db480858b656441b7688d644dc9c849382cb7513904"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P66-003/task-context.json",
|
||||
"sha256": "d4a810f71c4be33d6245b5cea42b15408436576ccff3af2412997b18b6e3ac7a"
|
||||
}
|
||||
},
|
||||
"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-P67-000"
|
||||
}
|
||||
167
tests/golden/WBV2-P66-003/task-context.json
Normal file
167
tests/golden/WBV2-P66-003/task-context.json
Normal file
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P66-003",
|
||||
"parentTask": "WBV2-P66-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-P66-003 --write"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 3225,
|
||||
"contextRemainingTokens": 805
|
||||
},
|
||||
"source": {
|
||||
"bytes": 6679,
|
||||
"tokens": 1671
|
||||
},
|
||||
"selected": [],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender",
|
||||
"bytes": 12546,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P27-001/verification-batch-plan.json",
|
||||
"bytes": 21184,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P66-003/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P66-003.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P66-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-P67-000",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P66-003.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P66-002/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P66-002.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P66-003.md",
|
||||
"tests/golden/WBV2-P66-002/manifest.json",
|
||||
"docs/status/WBV2-P66-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-P66-002",
|
||||
"parentTask": "WBV2-P66-001",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P66-003",
|
||||
"artifactCount": 9
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P66-002 status",
|
||||
"- task: `WBV2-P66-002`; parent: `WBV2-P66-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-P66-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-P66-003.md",
|
||||
"bytes": 1284,
|
||||
"lines": 39,
|
||||
"tokens": 321
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P66-002/manifest.json",
|
||||
"bytes": 2275,
|
||||
"lines": 62,
|
||||
"tokens": 569
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P66-002.md",
|
||||
"bytes": 317,
|
||||
"lines": 8,
|
||||
"tokens": 80
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1671,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 1671,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 2695,
|
||||
"serializedContextTokens": 617,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
162
tests/golden/WBV2-P67-000/task-context.json
Normal file
162
tests/golden/WBV2-P67-000/task-context.json
Normal file
@@ -0,0 +1,162 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P67-000",
|
||||
"parentTask": "WBV2-P66-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-P67-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-P67-000/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P67-000.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P67-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-P67-000.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P66-003/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P66-003.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P67-000.md",
|
||||
"tests/golden/WBV2-P66-003/manifest.json",
|
||||
"docs/status/WBV2-P66-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-P66-003",
|
||||
"parentTask": "WBV2-P66-002",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P67-000",
|
||||
"artifactCount": 8
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P66-003 status",
|
||||
"- task: `WBV2-P66-003`; parent: `WBV2-P66-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-P67-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-P67-000.md",
|
||||
"bytes": 1052,
|
||||
"lines": 36,
|
||||
"tokens": 263
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P66-003/manifest.json",
|
||||
"bytes": 2029,
|
||||
"lines": 58,
|
||||
"tokens": 508
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P66-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-P65-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P65","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-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P65","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-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P65","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-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P65","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-P66-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P66","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-P66-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P66","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-P66-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P66","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-P66-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P66","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-P66-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P66","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-P67-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P67","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-P65-003/capability-continuation-plan.json","sha256":"cdbe5149d7c7fbf7a23845ea055802ebd2e740926c3455b9267baff9d35aad6c"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"3dfd78dfd17f76238f1f2b02a4991d875fbb1c91dada00e749d2621ef4abdf9f"},"taskCount":5,"activeTask":"WBV2-P66-000","entries":{"WBV2-P65-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P64-003","next":"WBV2-P65-001"},"WBV2-P65-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P65-000","next":"WBV2-P65-002"},"WBV2-P65-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P65-001","next":"WBV2-P65-003"},"WBV2-P65-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P65-002","next":"WBV2-P66-000"},"WBV2-P66-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P65-003","next":null}}}
|
||||
{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P66-003/capability-continuation-plan.json","sha256":"6066941de88e62851a928db480858b656441b7688d644dc9c849382cb7513904"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"d852dbdfe85ea73a4c5f593275d019233011f91efa224e125cec3ffed33393cb"},"taskCount":5,"activeTask":"WBV2-P67-000","entries":{"WBV2-P66-000":{"line":0,"offset":0,"length":402,"previous":"WBV2-P65-003","next":"WBV2-P66-001"},"WBV2-P66-001":{"line":1,"offset":402,"length":401,"previous":"WBV2-P66-000","next":"WBV2-P66-002"},"WBV2-P66-002":{"line":2,"offset":803,"length":410,"previous":"WBV2-P66-001","next":"WBV2-P66-003"},"WBV2-P66-003":{"line":3,"offset":1213,"length":397,"previous":"WBV2-P66-002","next":"WBV2-P67-000"},"WBV2-P67-000":{"line":4,"offset":1610,"length":399,"previous":"WBV2-P66-003","next":null}}}
|
||||
|
||||
@@ -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 >= 65 ? "web_engine_blend_main_set_scene_compositor_settings" : phase >= 64 ? "web_engine_blend_main_set_scene_hair_settings" : phase >= 63 ? "web_engine_blend_main_set_scene_motion_blur" : phase >= 62 ? "web_engine_blend_main_set_scene_image_format" : phase >= 61 ? "web_engine_blend_main_set_scene_color_management" : phase >= 60 ? "web_engine_blend_main_set_scene_simplify_settings" : phase >= 59 ? "web_engine_blend_main_set_scene_border_settings" : phase >= 58 ? "web_engine_blend_main_set_scene_collection_settings" : phase >= 57 ? "web_engine_blend_main_set_scene_view_layer_settings" : phase >= 56 ? "web_engine_blend_main_set_scene_bindings" : phase >= 55 ? "web_engine_blend_main_set_scene_pipeline_settings" : phase >= 54 ? "web_engine_blend_main_set_scene_timeline_settings" : phase >= 53 ? "web_engine_blend_main_set_scene_unit_settings" : phase >= 52 ? "web_engine_blend_main_set_scene_audio_settings" : phase >= 51 ? "web_engine_blend_main_set_scene_render_settings" : phase >= 50 ? "web_engine_blend_main_set_scene_properties" : phase >= 49 ? "web_engine_blend_main_set_physics_simulation" : phase >= 47 ? "web_engine_blend_main_set_geometry_node_graph" : "capability-family-workbench", 3: "WEB_ENGINE_COMMAND_CAPABILITIES" };
|
||||
const markers = { 1: "BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX", 2: phase >= 66 ? "web_engine_blend_main_set_scene_performance_settings" : phase >= 65 ? "web_engine_blend_main_set_scene_compositor_settings" : phase >= 64 ? "web_engine_blend_main_set_scene_hair_settings" : phase >= 63 ? "web_engine_blend_main_set_scene_motion_blur" : phase >= 62 ? "web_engine_blend_main_set_scene_image_format" : phase >= 61 ? "web_engine_blend_main_set_scene_color_management" : phase >= 60 ? "web_engine_blend_main_set_scene_simplify_settings" : phase >= 59 ? "web_engine_blend_main_set_scene_border_settings" : phase >= 58 ? "web_engine_blend_main_set_scene_collection_settings" : phase >= 57 ? "web_engine_blend_main_set_scene_view_layer_settings" : phase >= 56 ? "web_engine_blend_main_set_scene_bindings" : phase >= 55 ? "web_engine_blend_main_set_scene_pipeline_settings" : phase >= 54 ? "web_engine_blend_main_set_scene_timeline_settings" : phase >= 53 ? "web_engine_blend_main_set_scene_unit_settings" : phase >= 52 ? "web_engine_blend_main_set_scene_audio_settings" : phase >= 51 ? "web_engine_blend_main_set_scene_render_settings" : phase >= 50 ? "web_engine_blend_main_set_scene_properties" : phase >= 49 ? "web_engine_blend_main_set_physics_simulation" : phase >= 47 ? "web_engine_blend_main_set_geometry_node_graph" : "capability-family-workbench", 3: "WEB_ENGINE_COMMAND_CAPABILITIES" };
|
||||
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 >= 65 ? "COMPOSITOR.EXECUTION_SETTINGS" : index === 2 && phase >= 64 ? "CORE_SCENE_GRAPH.HAIR_SETTINGS" : index === 2 && phase >= 63 ? "CORE_SCENE_GRAPH.MOTION_BLUR" : index === 2 && phase >= 62 ? "CORE_SCENE_GRAPH.IMAGE_FORMAT" : index === 2 && phase >= 61 ? "CORE_SCENE_GRAPH.COLOR_MANAGEMENT" : index === 2 && phase >= 60 ? "CORE_SCENE_GRAPH.SIMPLIFY_SETTINGS" : index === 2 && phase >= 59 ? "CORE_SCENE_GRAPH.BORDER_SETTINGS" : index === 2 && phase >= 58 ? "CORE_SCENE_GRAPH.COLLECTION_SETTINGS" : index === 2 && phase >= 57 ? "CORE_SCENE_GRAPH.VIEW_LAYER_SETTINGS" : index === 2 && phase >= 56 ? "CORE_SCENE_GRAPH.BINDINGS" : index === 2 && phase >= 55 ? "CORE_SCENE_GRAPH.PIPELINE_SETTINGS" : index === 2 && phase >= 54 ? "CORE_SCENE_GRAPH.TIMELINE_SETTINGS" : index === 2 && phase >= 53 ? "CORE_SCENE_GRAPH.UNIT_SETTINGS" : index === 2 && phase >= 52 ? "CORE_SCENE_GRAPH.AUDIO_SETTINGS" : index === 2 && phase >= 51 ? "CORE_SCENE_GRAPH.RENDER_SETTINGS" : index === 2 && phase >= 50 ? "CORE_SCENE_GRAPH.SCENE_PROPERTIES" : index === 2 && phase >= 49 ? "SIMULATION.NATIVE_MANIFEST_BINDING" : index === 2 && phase >= 47 ? "GEOMETRY_NODES.NATIVE_MATERIALIZATION" : index === 2 ? "WORKFLOW.CAPABILITY_FAMILY_WORKBENCH" : "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE";
|
||||
const family = index === 1 ? "INVENTORY.CAPABILITY_BATCH_INDEX" : index === 2 && phase >= 66 ? "PERFORMANCE.RENDER_SETTINGS" : index === 2 && phase >= 65 ? "COMPOSITOR.EXECUTION_SETTINGS" : index === 2 && phase >= 64 ? "CORE_SCENE_GRAPH.HAIR_SETTINGS" : index === 2 && phase >= 63 ? "CORE_SCENE_GRAPH.MOTION_BLUR" : index === 2 && phase >= 62 ? "CORE_SCENE_GRAPH.IMAGE_FORMAT" : index === 2 && phase >= 61 ? "CORE_SCENE_GRAPH.COLOR_MANAGEMENT" : index === 2 && phase >= 60 ? "CORE_SCENE_GRAPH.SIMPLIFY_SETTINGS" : index === 2 && phase >= 59 ? "CORE_SCENE_GRAPH.BORDER_SETTINGS" : index === 2 && phase >= 58 ? "CORE_SCENE_GRAPH.COLLECTION_SETTINGS" : index === 2 && phase >= 57 ? "CORE_SCENE_GRAPH.VIEW_LAYER_SETTINGS" : index === 2 && phase >= 56 ? "CORE_SCENE_GRAPH.BINDINGS" : index === 2 && phase >= 55 ? "CORE_SCENE_GRAPH.PIPELINE_SETTINGS" : index === 2 && phase >= 54 ? "CORE_SCENE_GRAPH.TIMELINE_SETTINGS" : index === 2 && phase >= 53 ? "CORE_SCENE_GRAPH.UNIT_SETTINGS" : index === 2 && phase >= 52 ? "CORE_SCENE_GRAPH.AUDIO_SETTINGS" : index === 2 && phase >= 51 ? "CORE_SCENE_GRAPH.RENDER_SETTINGS" : index === 2 && phase >= 50 ? "CORE_SCENE_GRAPH.SCENE_PROPERTIES" : index === 2 && phase >= 49 ? "SIMULATION.NATIVE_MANIFEST_BINDING" : index === 2 && phase >= 47 ? "GEOMETRY_NODES.NATIVE_MATERIALIZATION" : index === 2 ? "WORKFLOW.CAPABILITY_FAMILY_WORKBENCH" : "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE";
|
||||
const 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?.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?.compositorSettings ? <div className="property-section" data-testid="scene-compositor-settings-workbench"><h3>Compositor Execution</h3><output>Device {activeScene.compositorSettings.device} · Precision {activeScene.compositorSettings.precision} · Denoise {activeScene.compositorSettings.denoiseDevice} · Quality {activeScene.compositorSettings.previewQuality}/{activeScene.compositorSettings.finalQuality}</output><div className="property-actions"><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneCompositorSettings(activeScene.id, { device: activeScene.compositorSettings!.device === 0 ? 1 : 0 }))}>切换设备</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneCompositorSettings(activeScene.id, { precision: activeScene.compositorSettings!.precision === 0 ? 1 : 0 }))}>切换精度</button><button type="button" onClick={() => onCommand(animationRenderCommands.setSceneCompositorSettings(activeScene.id, { denoiseDevice: ((activeScene.compositorSettings!.denoiseDevice + 1) % 3) as 0 | 1 | 2 }))}>切换降噪设备</button></div></div> : null}
|
||||
{activeScene?.performanceSettings ? <div className="property-section" data-testid="scene-performance-settings-workbench"><h3>Render Performance</h3><output>{activeScene.performanceSettings.fixedThreads ? `${activeScene.performanceSettings.threads} fixed threads` : "Automatic threads"} · {activeScene.performanceSettings.persistentData ? "Persistent data" : "Transient data"} · {activeScene.performanceSettings.highQualityNormals ? "HQ normals" : "Standard normals"}</output><div className="property-actions"><button type="button" onClick={() => onCommand(animationRenderCommands.setScenePerformanceSettings(activeScene.id, { fixedThreads: !activeScene.performanceSettings!.fixedThreads }))}>切换线程模式</button><button type="button" onClick={() => onCommand(animationRenderCommands.setScenePerformanceSettings(activeScene.id, { threads: Math.min(1024, activeScene.performanceSettings!.threads + 1) }))}>增加线程</button><button type="button" onClick={() => onCommand(animationRenderCommands.setScenePerformanceSettings(activeScene.id, { persistentData: !activeScene.performanceSettings!.persistentData }))}>切换持久数据</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}
|
||||
|
||||
BIN
web/app/src/vendor/blender/web_engine.wasm
vendored
BIN
web/app/src/vendor/blender/web_engine.wasm
vendored
Binary file not shown.
@@ -759,6 +759,14 @@ function assertFutureCapability(payload: Extract<WebEngineRequest["command"], {
|
||||
for (const field of ["denoiseDevice", "previewQuality", "finalQuality"] as const) if (properties[field] !== undefined && ![0, 1, 2].includes(properties[field])) throw report("RENDER_PROPERTY_INVALID", `Scene compositor ${field} is unsupported`);
|
||||
return;
|
||||
}
|
||||
case "setScenePerformanceSettings": {
|
||||
const scene = currentSnapshot?.scenes.find((candidate) => candidate.id === payload.dataId);
|
||||
const properties = payload.properties;
|
||||
if (!scene || !validPropertyKeys(properties, ["fixedThreads", "threads", "persistentData", "highQualityNormals"])) throw report("RENDER_PROPERTY_INVALID", "Scene performance target or properties are invalid");
|
||||
for (const field of ["fixedThreads", "persistentData", "highQualityNormals"] as const) if (properties[field] !== undefined && typeof properties[field] !== "boolean") throw report("RENDER_PROPERTY_INVALID", `Scene performance ${field} must be boolean`);
|
||||
if (properties.threads !== undefined && (!Number.isSafeInteger(properties.threads) || properties.threads < 1 || properties.threads > 1024)) throw report("RENDER_PROPERTY_INVALID", "Scene performance threads are outside the bounded range");
|
||||
return;
|
||||
}
|
||||
case "setGeometryNodeGraph": {
|
||||
const snapshot = currentSnapshot;
|
||||
const availableResourceIds = new Set([
|
||||
|
||||
@@ -77,4 +77,7 @@ export const animationRenderCommands = Object.freeze({
|
||||
setSceneCompositorSettings(dataId: string, properties: AnimationCommand<"setSceneCompositorSettings">["properties"]): AnimationCommand<"setSceneCompositorSettings"> {
|
||||
return { type: "setSceneCompositorSettings", dataId, properties: { ...properties } };
|
||||
},
|
||||
setScenePerformanceSettings(dataId: string, properties: AnimationCommand<"setScenePerformanceSettings">["properties"]): AnimationCommand<"setScenePerformanceSettings"> {
|
||||
return { type: "setScenePerformanceSettings", dataId, properties: { ...properties } };
|
||||
},
|
||||
} satisfies Record<string, (...args: never[]) => WebEngineEditCommand>);
|
||||
|
||||
@@ -578,6 +578,7 @@ export interface SceneIR {
|
||||
motionBlurSettings?: { enabled: boolean; shutter: number; position: number };
|
||||
hairSettings?: { type: number; subdivisions: number };
|
||||
compositorSettings?: { device: number; precision: number; denoiseDevice: number; previewQuality: number; finalQuality: number };
|
||||
performanceSettings?: { fixedThreads: boolean; threads: number; persistentData: boolean; highQualityNormals: boolean };
|
||||
compositorGraph?: CompositorGraphIR;
|
||||
compositorStatus?: "AVAILABLE" | "BLOCKED";
|
||||
sequencerTimeline?: SequencerTimelineIR;
|
||||
@@ -1632,6 +1633,11 @@ export function parseSceneSnapshotIR(value: unknown): SceneSnapshotIR {
|
||||
if (!isRecord(scene.compositorSettings)) throw new Error(`SceneIR.scenes[${index}].compositorSettings must be an object`);
|
||||
for (const field of ["device", "precision", "denoiseDevice", "previewQuality", "finalQuality"] as const) requireNumber(scene.compositorSettings[field], `scenes[${index}].compositorSettings.${field}`);
|
||||
}
|
||||
if (scene.performanceSettings !== undefined) {
|
||||
if (!isRecord(scene.performanceSettings)) throw new Error(`SceneIR.scenes[${index}].performanceSettings must be an object`);
|
||||
for (const field of ["fixedThreads", "persistentData", "highQualityNormals"] as const) requireBoolean(scene.performanceSettings[field], `scenes[${index}].performanceSettings.${field}`);
|
||||
requireNumber(scene.performanceSettings.threads, `scenes[${index}].performanceSettings.threads`);
|
||||
}
|
||||
if (scene.compositorStatus !== undefined && !["AVAILABLE", "BLOCKED"].includes(scene.compositorStatus as string)) {
|
||||
throw new Error(`scenes[${index}].compositorStatus is invalid`);
|
||||
}
|
||||
|
||||
@@ -95,6 +95,7 @@ export const WEB_ENGINE_COMMAND_CAPABILITIES = {
|
||||
setSceneMotionBlur: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
|
||||
setSceneHairSettings: { family: "CORE_SCENE_GRAPH", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
|
||||
setSceneCompositorSettings: { family: "COMPOSITOR", route: "MAIN_AUTHORITATIVE", implementation: "SOURCE_BACKED" },
|
||||
setScenePerformanceSettings: { family: "PERFORMANCE", 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" },
|
||||
|
||||
@@ -159,6 +159,7 @@ export type WebEngineEditCommand =
|
||||
| { 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: "setSceneCompositorSettings"; dataId: string; properties: { device?: 0 | 1; precision?: 0 | 1; denoiseDevice?: 0 | 1 | 2; previewQuality?: 0 | 1 | 2; finalQuality?: 0 | 1 | 2 } }
|
||||
| { type: "setScenePerformanceSettings"; dataId: string; properties: { fixedThreads?: boolean; threads?: number; persistentData?: boolean; highQualityNormals?: boolean } }
|
||||
| { type: "setMetaballElements"; dataId: string; elements: Array<{ type: number; position: [number, number, number]; radius: number; scale: [number, number, number] }> }
|
||||
| { type: "sculptStroke"; stroke: SculptStrokeIR }
|
||||
| { type: "setSculptMeshAttributes"; attributes: SculptMeshAttributesIR }
|
||||
|
||||
@@ -4,7 +4,7 @@ export const WORKBENCH_COMMAND_GROUPS = Object.freeze({
|
||||
OBJECT: ["createPrimitive", "duplicateObject", "deleteObject", "setObjectTransform", "setParent", "createCollection", "moveObjectToCollection", "renameId", "applyObjectTransform", "setObjectOrigin"],
|
||||
MESH: ["meshEdit", "translateMeshVertices", "createUVMap", "setActiveUVMap", "unwrapUV", "setVertexColors", "setVertexWeights"],
|
||||
ANIMATION: ["setFrame", "insertObjectKeyframe", "deleteObjectKeyframe", "setFCurveInterpolation", "setConstraint", "setNLAStack"],
|
||||
RENDER: ["setCameraProperties", "setLightProperties", "setWorldProperties", "setSceneProperties", "setSceneRenderSettings", "setSceneAudioSettings", "setSceneUnitSettings", "setSceneTimelineSettings", "setScenePipelineSettings", "setSceneBindings", "setSceneViewLayerSettings", "setSceneCollectionSettings", "setSceneBorderSettings", "setSceneSimplifySettings", "setSceneColorManagement", "setSceneImageFormat", "setSceneMotionBlur", "setSceneHairSettings", "setSceneCompositorSettings"],
|
||||
RENDER: ["setCameraProperties", "setLightProperties", "setWorldProperties", "setSceneProperties", "setSceneRenderSettings", "setSceneAudioSettings", "setSceneUnitSettings", "setSceneTimelineSettings", "setScenePipelineSettings", "setSceneBindings", "setSceneViewLayerSettings", "setSceneCollectionSettings", "setSceneBorderSettings", "setSceneSimplifySettings", "setSceneColorManagement", "setSceneImageFormat", "setSceneMotionBlur", "setSceneHairSettings", "setSceneCompositorSettings", "setScenePerformanceSettings"],
|
||||
IO: ["importImage", "importVFont", "setMaterialImageNode"],
|
||||
} as const satisfies Record<string, readonly WebEngineCommandType[]>);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user