feat(web): wire Blender world lighting controls
This commit is contained in:
@@ -5192,6 +5192,13 @@ json scene_ir_from_blend(const ParsedBlend &blend,
|
||||
{"color", json::array({horizon_r, horizon_g, horizon_b})},
|
||||
{"exposure", exposure},
|
||||
{"backgroundVisible", true} };
|
||||
world["ambientOcclusionDistance"] = read_float(*blend.sdna, element, "aodist").value_or(10.0f);
|
||||
world["ambientOcclusionEnergy"] = read_float(*blend.sdna, element, "aoenergy").value_or(1.0f);
|
||||
world["sunThreshold"] = read_float(*blend.sdna, element, "sun_threshold").value_or(10.0f);
|
||||
world["sunAngle"] = read_float(*blend.sdna, element, "sun_angle").value_or(0.00918f);
|
||||
world["sunShadowMaximumResolution"] = read_float(*blend.sdna, element, "sun_shadow_maximum_resolution").value_or(0.001f);
|
||||
world["sunShadowJitterOverblur"] = read_float(*blend.sdna, element, "sun_shadow_jitter_overblur").value_or(10.0f);
|
||||
world["sunShadowFilterRadius"] = read_float(*blend.sdna, element, "sun_shadow_filter_radius").value_or(1.0f);
|
||||
if (const std::optional<uint64_t> lightgroup_pointer = read_pointer(*blend.sdna, element, "lightgroup")) {
|
||||
if (const std::optional<ElementRef> membership = element_for_pointer(blend, *lightgroup_pointer)) {
|
||||
const std::string lightgroup_name = read_string(*blend.sdna, *membership, "name");
|
||||
|
||||
@@ -5592,6 +5592,45 @@ bool web_engine_blend_main_set_light_clip_start(WebBlendMainState *state,
|
||||
return true;
|
||||
}
|
||||
|
||||
bool web_engine_blend_main_set_world_lighting_controls(WebBlendMainState *state,
|
||||
const char *target_id,
|
||||
const float ao_distance,
|
||||
const float ao_energy,
|
||||
const float sun_threshold,
|
||||
const float sun_angle,
|
||||
const float sun_shadow_maximum_resolution,
|
||||
const float sun_shadow_jitter_overblur,
|
||||
const float sun_shadow_filter_radius,
|
||||
std::string &error)
|
||||
{
|
||||
if (state == nullptr || state->main == nullptr || target_id == nullptr) {
|
||||
error = "RENDER_PROPERTY_INVALID: world lighting target is missing";
|
||||
return false;
|
||||
}
|
||||
World *world = find_world(state->main, target_id);
|
||||
if (world == nullptr || world->id.lib != nullptr) {
|
||||
error = "LINKED_DATA_MUTATION_BLOCKED: World is not editable";
|
||||
return false;
|
||||
}
|
||||
const float values[] = {ao_distance, ao_energy, sun_threshold, sun_angle, sun_shadow_maximum_resolution, sun_shadow_jitter_overblur, sun_shadow_filter_radius};
|
||||
if (!std::all_of(std::begin(values), std::end(values), [](const float value) { return std::isfinite(value) && value >= 0.0f; }) ||
|
||||
ao_distance > 1.0e9f || ao_energy > 1.0e9f || sun_threshold > 1.0e9f || sun_angle > 3.14159265f ||
|
||||
sun_shadow_maximum_resolution < 0.0000001f || sun_shadow_maximum_resolution > 1.0e9f ||
|
||||
sun_shadow_jitter_overblur > 1.0e9f || sun_shadow_filter_radius > 1.0e9f) {
|
||||
error = "RENDER_PROPERTY_INVALID: world lighting control is outside the bounded range";
|
||||
return false;
|
||||
}
|
||||
world->aodist = ao_distance;
|
||||
world->aoenergy = ao_energy;
|
||||
world->sun_threshold = sun_threshold;
|
||||
world->sun_angle = sun_angle;
|
||||
world->sun_shadow_maximum_resolution = sun_shadow_maximum_resolution;
|
||||
world->sun_shadow_jitter_overblur = sun_shadow_jitter_overblur;
|
||||
world->sun_shadow_filter_radius = sun_shadow_filter_radius;
|
||||
world->id.recalc |= ID_RECALC_PARAMETERS;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool web_engine_blend_main_set_render_properties(WebBlendMainState *state,
|
||||
const char *target_id,
|
||||
const char *properties_json,
|
||||
@@ -5913,13 +5952,32 @@ bool web_engine_blend_main_set_render_properties(WebBlendMainState *state,
|
||||
if (strncmp(target_id, "world:", 6) == 0) {
|
||||
World *world = find_world(state->main, target_id);
|
||||
if (world == nullptr || world->id.lib != nullptr ||
|
||||
!reject_unknown({"color", "exposure", "mist"}) ||
|
||||
!reject_unknown({"color", "exposure", "ambientOcclusionDistance", "ambientOcclusionEnergy", "sunThreshold", "sunAngle", "sunShadowMaximumResolution", "sunShadowJitterOverblur", "sunShadowFilterRadius", "mist"}) ||
|
||||
!read_color("color", &world->horr) ||
|
||||
!read_float("exposure", -20.0f, 20.0f, world->exposure))
|
||||
{
|
||||
if (error.empty()) error = "LINKED_DATA_MUTATION_BLOCKED: World is not editable";
|
||||
return false;
|
||||
}
|
||||
if (properties.contains("ambientOcclusionDistance") || properties.contains("ambientOcclusionEnergy") || properties.contains("sunThreshold") || properties.contains("sunAngle") || properties.contains("sunShadowMaximumResolution") || properties.contains("sunShadowJitterOverblur") || properties.contains("sunShadowFilterRadius")) {
|
||||
const auto lighting_value = [&](const char *key, const float current) {
|
||||
if (!properties.contains(key)) return current;
|
||||
if (!properties[key].is_number()) {
|
||||
error = std::string("RENDER_PROPERTY_INVALID: ") + key + " must be numeric";
|
||||
return -1.0f;
|
||||
}
|
||||
return properties[key].get<float>();
|
||||
};
|
||||
const float ao_distance = lighting_value("ambientOcclusionDistance", world->aodist);
|
||||
const float ao_energy = lighting_value("ambientOcclusionEnergy", world->aoenergy);
|
||||
const float sun_threshold = lighting_value("sunThreshold", world->sun_threshold);
|
||||
const float sun_angle = lighting_value("sunAngle", world->sun_angle);
|
||||
const float sun_shadow_maximum_resolution = lighting_value("sunShadowMaximumResolution", world->sun_shadow_maximum_resolution);
|
||||
const float sun_shadow_jitter_overblur = lighting_value("sunShadowJitterOverblur", world->sun_shadow_jitter_overblur);
|
||||
const float sun_shadow_filter_radius = lighting_value("sunShadowFilterRadius", world->sun_shadow_filter_radius);
|
||||
if (ao_distance < 0.0f || ao_energy < 0.0f || sun_threshold < 0.0f || sun_angle < 0.0f || sun_shadow_maximum_resolution < 0.0f || sun_shadow_jitter_overblur < 0.0f || sun_shadow_filter_radius < 0.0f ||
|
||||
!web_engine_blend_main_set_world_lighting_controls(state, target_id, ao_distance, ao_energy, sun_threshold, sun_angle, sun_shadow_maximum_resolution, sun_shadow_jitter_overblur, sun_shadow_filter_radius, error)) return false;
|
||||
}
|
||||
if (properties.contains("mist")) {
|
||||
const json &mist = properties["mist"];
|
||||
if (!mist.is_object() || mist.empty()) {
|
||||
|
||||
@@ -553,6 +553,16 @@ bool web_engine_blend_main_set_light_clip_start(WebBlendMainState *state,
|
||||
const char *target_id,
|
||||
float clip_start,
|
||||
std::string &error);
|
||||
bool web_engine_blend_main_set_world_lighting_controls(WebBlendMainState *state,
|
||||
const char *target_id,
|
||||
float ao_distance,
|
||||
float ao_energy,
|
||||
float sun_threshold,
|
||||
float sun_angle,
|
||||
float sun_shadow_maximum_resolution,
|
||||
float sun_shadow_jitter_overblur,
|
||||
float sun_shadow_filter_radius,
|
||||
std::string &error);
|
||||
bool web_engine_blend_main_set_scene_properties(WebBlendMainState *state,
|
||||
const char *target_id,
|
||||
const char *properties_json,
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
| 字段 | 值 |
|
||||
| --- | --- |
|
||||
| 里程碑 | WBV2 capability workflow |
|
||||
| 当前任务 | `WBV2-P602-000` |
|
||||
| parent manifest | `tests/golden/WBV2-P601-003/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P602-000.md`](tasks/WBV2-P602-000.md) |
|
||||
| 当前任务 | `WBV2-P603-000` |
|
||||
| parent manifest | `tests/golden/WBV2-P602-003/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P603-000.md`](tasks/WBV2-P603-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` |
|
||||
|
||||
8
docs/status/WBV2-P602-000.md
Normal file
8
docs/status/WBV2-P602-000.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# WBV2-P602-000 status
|
||||
|
||||
- task: `WBV2-P602-000`; parent: `WBV2-P601-003`; status: `done`
|
||||
- taskClass: `QUEUE_ENABLEMENT`; no Blender capability completion claimed
|
||||
- capability-family continuation authorized from Blender source
|
||||
- 6900 inventory: 27 deduplicated batches, 6609 pending rows
|
||||
- verification and completion overlay: `DEFERRED`
|
||||
- nextTask: `WBV2-P602-001`
|
||||
8
docs/status/WBV2-P602-001.md
Normal file
8
docs/status/WBV2-P602-001.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# WBV2-P602-001 status
|
||||
|
||||
- task: `WBV2-P602-001`; parent: `WBV2-P602-000`; status: `done`
|
||||
- taskClass: `QUEUE_ENABLEMENT`; capability: `null`; behaviorMarker: `BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX`
|
||||
- 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-P602-002`
|
||||
8
docs/status/WBV2-P602-002.md
Normal file
8
docs/status/WBV2-P602-002.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# WBV2-P602-002 status
|
||||
|
||||
- task: `WBV2-P602-002`; parent: `WBV2-P602-001`; status: `done`
|
||||
- taskClass: `SOURCE_IMPLEMENTATION`; capability: `CAP-RENDER-WORLD-LIGHTING-CONTROLS`; behaviorMarker: `web_engine_blend_main_set_world_lighting_controls`
|
||||
- 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-P602-003`
|
||||
8
docs/status/WBV2-P602-003.md
Normal file
8
docs/status/WBV2-P602-003.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# WBV2-P602-003 status
|
||||
|
||||
- task: `WBV2-P602-003`; parent: `WBV2-P602-002`; status: `done`
|
||||
- taskClass: `INTEGRATION_BUILD`; capability: `null`; behaviorMarker: `WEB_ENGINE_COMMAND_CAPABILITIES`
|
||||
- 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-P603-000`
|
||||
38
docs/tasks/WBV2-P602-001.md
Normal file
38
docs/tasks/WBV2-P602-001.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# WBV2-P602-001: index_capability_family_batches
|
||||
|
||||
- task: WBV2-P602-001
|
||||
- parent: WBV2-P602-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-P602-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-P602-001 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source or unsupported capability remains in_progress/blocked
|
||||
- representative implementation is never declared as full-family parity
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P602-001/`
|
||||
- Status: `docs/status/WBV2-P602-001.md`
|
||||
- Manifest: `tests/golden/WBV2-P602-001/manifest.json`
|
||||
- Rollback: restore WBV2-P602-000 as queue parent and leave the task in_progress.
|
||||
38
docs/tasks/WBV2-P602-002.md
Normal file
38
docs/tasks/WBV2-P602-002.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# WBV2-P602-002: implement_capability_family_slice
|
||||
|
||||
- task: WBV2-P602-002
|
||||
- parent: WBV2-P602-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-P602-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-P602-002 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source or unsupported capability remains in_progress/blocked
|
||||
- representative implementation is never declared as full-family parity
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P602-002/`
|
||||
- Status: `docs/status/WBV2-P602-002.md`
|
||||
- Manifest: `tests/golden/WBV2-P602-002/manifest.json`
|
||||
- Rollback: restore WBV2-P602-001 as queue parent and leave the task in_progress.
|
||||
38
docs/tasks/WBV2-P602-003.md
Normal file
38
docs/tasks/WBV2-P602-003.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# WBV2-P602-003: run_capability_family_smoke
|
||||
|
||||
- task: WBV2-P602-003
|
||||
- parent: WBV2-P602-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-P602-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-P602-003 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source or unsupported capability remains in_progress/blocked
|
||||
- representative implementation is never declared as full-family parity
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P602-003/`
|
||||
- Status: `docs/status/WBV2-P602-003.md`
|
||||
- Manifest: `tests/golden/WBV2-P602-003/manifest.json`
|
||||
- Rollback: restore WBV2-P602-002 as queue parent and leave the task in_progress.
|
||||
35
docs/tasks/WBV2-P603-000.md
Normal file
35
docs/tasks/WBV2-P603-000.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# WBV2-P603-000: authorize_capability_family_wave
|
||||
|
||||
- task: WBV2-P603-000
|
||||
- parent: WBV2-P602-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-P603-000 --write`
|
||||
|
||||
## 失败边界
|
||||
|
||||
- missing source, unsupported capability or hash drift remains in_progress/blocked
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P603-000/`
|
||||
- Status: `docs/status/WBV2-P603-000.md`
|
||||
- Manifest: `tests/golden/WBV2-P603-000/manifest.json`
|
||||
- Rollback: restore WBV2-P602-003 as queue parent and leave the wave in_progress.
|
||||
@@ -412,10 +412,10 @@ Recorded: 2026-08-29 Asia/Shanghai
|
||||
|
||||
| Field | Value |
|
||||
| --- | --- |
|
||||
| Current task when this file was written | `WBV2-P602-000` |
|
||||
| Current task when this file was written | `WBV2-P603-000` |
|
||||
| Current task state | `in_progress` |
|
||||
| Parent manifest | `tests/golden/WBV2-P601-003/manifest.json` |
|
||||
| Current task card | `docs/tasks/WBV2-P602-000.md` |
|
||||
| Parent manifest | `tests/golden/WBV2-P602-003/manifest.json` |
|
||||
| Current task card | `docs/tasks/WBV2-P603-000.md` |
|
||||
| Current task-context nextTask | `NONE` |
|
||||
| Focused command | `node tools/web/generate-wbv2-capability-continuation-root.mjs` |
|
||||
|
||||
|
||||
151
tests/golden/WBV2-P602-000/capability-continuation-plan.json
Normal file
151
tests/golden/WBV2-P602-000/capability-continuation-plan.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P602",
|
||||
"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-P602-000",
|
||||
"phase": "P602",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P601-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P602-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-P602-001",
|
||||
"phase": "P602",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P602-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P602-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-P602-002",
|
||||
"phase": "P602",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P602-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P602-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-P602-003",
|
||||
"phase": "P602",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P602-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P602-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,33 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P602-000",
|
||||
"operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"taskClass": "QUEUE_ENABLEMENT",
|
||||
"capabilityId": null,
|
||||
"behaviorMarker": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"status": "PASS",
|
||||
"parent": {
|
||||
"task": "WBV2-P601-003",
|
||||
"manifest": "tests/golden/WBV2-P601-003/manifest.json",
|
||||
"manifestSha256": "cc764441b503fe3b229ae7681013b3a5415610bda363df39dbc06c8a23b14dbc"
|
||||
},
|
||||
"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-P602-001"
|
||||
}
|
||||
42
tests/golden/WBV2-P602-000/manifest.json
Normal file
42
tests/golden/WBV2-P602-000/manifest.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P602-000",
|
||||
"parentTask": "WBV2-P601-003",
|
||||
"operation": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"taskClass": "QUEUE_ENABLEMENT",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P601-003/manifest.json",
|
||||
"sha256": "9cfc665abbffdf3bebdbd08264029609405a564dcfbb48f96381011431f3e641"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P602-000/capability-continuation-plan.json",
|
||||
"sha256": "8972638471a960e23cb81b672cc7f4b96cbd27715c9403091333b4bfe758e4e8"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P602-000/capability-continuation-root-report.json",
|
||||
"sha256": "b3e2cddf6943868045153b7ed52db3e12fa265639c948b264a7f9fc5a40f2892"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P602-000.md",
|
||||
"sha256": "25e16387369f4aad91a8c46b701f1d003c7d1076dfc68a7e98bbf4ec2d9ac209"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"capabilityId": null,
|
||||
"behaviorMarker": "AUTHORIZE_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"batchCount": 27,
|
||||
"pendingRows": 6609,
|
||||
"verificationDeferred": true,
|
||||
"completionOverlayWritten": false,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P602-001"
|
||||
}
|
||||
163
tests/golden/WBV2-P602-000/task-context.json
Normal file
163
tests/golden/WBV2-P602-000/task-context.json
Normal file
@@ -0,0 +1,163 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P602-000",
|
||||
"parentTask": "WBV2-P601-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-P602-000 --write"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 3453,
|
||||
"contextRemainingTokens": 862
|
||||
},
|
||||
"source": {
|
||||
"bytes": 6451,
|
||||
"tokens": 1614
|
||||
},
|
||||
"selected": [],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender",
|
||||
"bytes": 12546,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P602-000/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P602-000.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P602-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": "WBV2-P602-001",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P602-000.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P601-003/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P601-003.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P602-000.md",
|
||||
"tests/golden/WBV2-P601-003/manifest.json",
|
||||
"docs/status/WBV2-P601-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-P601-003",
|
||||
"parentTask": "WBV2-P601-002",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P602-000",
|
||||
"artifactCount": 8
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P601-003 status",
|
||||
"- task: `WBV2-P601-003`; parent: `WBV2-P601-002`; status: `done`",
|
||||
"- taskClass: `INTEGRATION_BUILD`; capabilityId: `null`; behaviorMarker: `INTEGRATION_BUILD_WEB_BUNDLE`; no new capability counted",
|
||||
"- 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-P602-000`"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1060,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 36,
|
||||
"taskTokens": 265
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2807,
|
||||
"lines": 51,
|
||||
"tokens": 702
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P602-000.md",
|
||||
"bytes": 1060,
|
||||
"lines": 36,
|
||||
"tokens": 265
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P601-003/manifest.json",
|
||||
"bytes": 2133,
|
||||
"lines": 61,
|
||||
"tokens": 534
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P601-003.md",
|
||||
"bytes": 451,
|
||||
"lines": 9,
|
||||
"tokens": 113
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1614,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 1614,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 2638,
|
||||
"serializedContextTokens": 626,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
151
tests/golden/WBV2-P602-001/capability-continuation-plan.json
Normal file
151
tests/golden/WBV2-P602-001/capability-continuation-plan.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P602",
|
||||
"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-P602-000",
|
||||
"phase": "P602",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P601-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P602-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-P602-001",
|
||||
"phase": "P602",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P602-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P602-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-P602-002",
|
||||
"phase": "P602",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P602-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P602-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-P602-003",
|
||||
"phase": "P602",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P602-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P602-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
|
||||
}
|
||||
]
|
||||
}
|
||||
35
tests/golden/WBV2-P602-001/implementation-report.json
Normal file
35
tests/golden/WBV2-P602-001/implementation-report.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P602-001",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"taskClass": "QUEUE_ENABLEMENT",
|
||||
"status": "PASS",
|
||||
"capabilityId": null,
|
||||
"behaviorMarker": "BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX",
|
||||
"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-P602-002"
|
||||
}
|
||||
56
tests/golden/WBV2-P602-001/manifest.json
Normal file
56
tests/golden/WBV2-P602-001/manifest.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P602-001",
|
||||
"parentTask": "WBV2-P602-000",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"taskClass": "QUEUE_ENABLEMENT",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P602-000/manifest.json",
|
||||
"sha256": "73e8249b60907b02ceca2b371b66b94ce42065b9d5f21d32d2fd073b58d55187"
|
||||
},
|
||||
"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-P602-001/implementation-report.json",
|
||||
"sha256": "2d23fd0830b5da3b3645da54691e5f2782085dbfe289650abda1454b341be8b5"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P602-001.md",
|
||||
"sha256": "994c63d60e8df6753f8fac8e15a0bddb81957a1f95d185bfa0f3fb0fbdab3378"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P602-001/capability-continuation-plan.json",
|
||||
"sha256": "63ca9590165822e3703e7feb8f77f31d4ce3fe8de131b9903853114258a2bb0e"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P602-001/task-context.json",
|
||||
"sha256": "03173f3ce5aa30227bbc1df09019701ae9eefe0b049054e2f3c8fa97ba03e10f"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"capabilityFamily": "INVENTORY.CAPABILITY_BATCH_INDEX",
|
||||
"capabilityId": null,
|
||||
"behaviorMarker": "BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX",
|
||||
"sourceBacked": false,
|
||||
"batchCount": 27,
|
||||
"pendingRows": 6609,
|
||||
"verificationDeferred": true,
|
||||
"completionOverlayWritten": false,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P602-002"
|
||||
}
|
||||
168
tests/golden/WBV2-P602-001/task-context.json
Normal file
168
tests/golden/WBV2-P602-001/task-context.json
Normal file
@@ -0,0 +1,168 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P602-001",
|
||||
"parentTask": "WBV2-P602-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-P602-001 --write"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 4007,
|
||||
"contextRemainingTokens": 1001
|
||||
},
|
||||
"source": {
|
||||
"bytes": 5897,
|
||||
"tokens": 1475
|
||||
},
|
||||
"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-P602-001/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P602-001.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P602-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-P602-002",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P602-001.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P602-000/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P602-000.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P602-001.md",
|
||||
"tests/golden/WBV2-P602-000/manifest.json",
|
||||
"docs/status/WBV2-P602-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-P602-000",
|
||||
"parentTask": "WBV2-P601-003",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P602-001",
|
||||
"artifactCount": 4
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P602-000 status",
|
||||
"- task: `WBV2-P602-000`; parent: `WBV2-P601-003`; status: `done`",
|
||||
"- taskClass: `QUEUE_ENABLEMENT`; no Blender capability completion claimed",
|
||||
"- capability-family continuation authorized from Blender source",
|
||||
"- 6900 inventory: 27 deduplicated batches, 6609 pending rows",
|
||||
"- verification and completion overlay: `DEFERRED`",
|
||||
"- nextTask: `WBV2-P602-001`"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1308,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 39,
|
||||
"taskTokens": 327
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2807,
|
||||
"lines": 51,
|
||||
"tokens": 702
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P602-001.md",
|
||||
"bytes": 1308,
|
||||
"lines": 39,
|
||||
"tokens": 327
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P602-000/manifest.json",
|
||||
"bytes": 1416,
|
||||
"lines": 43,
|
||||
"tokens": 354
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P602-000.md",
|
||||
"bytes": 366,
|
||||
"lines": 9,
|
||||
"tokens": 92
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1475,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 1475,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 2499,
|
||||
"serializedContextTokens": 624,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
151
tests/golden/WBV2-P602-002/capability-continuation-plan.json
Normal file
151
tests/golden/WBV2-P602-002/capability-continuation-plan.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P602",
|
||||
"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-P602-000",
|
||||
"phase": "P602",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P601-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P602-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-P602-001",
|
||||
"phase": "P602",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P602-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P602-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-P602-002",
|
||||
"phase": "P602",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P602-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P602-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-P602-003",
|
||||
"phase": "P602",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P602-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P602-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
|
||||
}
|
||||
]
|
||||
}
|
||||
43
tests/golden/WBV2-P602-002/implementation-report.json
Normal file
43
tests/golden/WBV2-P602-002/implementation-report.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P602-002",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"taskClass": "SOURCE_IMPLEMENTATION",
|
||||
"status": "PASS",
|
||||
"capabilityId": "CAP-RENDER-WORLD-LIGHTING-CONTROLS",
|
||||
"behaviorMarker": "web_engine_blend_main_set_world_lighting_controls",
|
||||
"family": "RENDER.WORLD_LIGHTING_CONTROLS",
|
||||
"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_blend_reader.cpp",
|
||||
"blender-5.2.0/source/blender/makesdna/DNA_world_types.h",
|
||||
"web/protocol/scene-ir.ts",
|
||||
"web/protocol/web-engine.ts",
|
||||
"web/app/src/workers/web-engine.worker.ts",
|
||||
"web/app/src/app/App.tsx",
|
||||
"web/app/src/vendor/blender/web_engine.wasm",
|
||||
"web/app/public/vendor/blender/web_engine.wasm"
|
||||
],
|
||||
"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-P602-003"
|
||||
}
|
||||
88
tests/golden/WBV2-P602-002/manifest.json
Normal file
88
tests/golden/WBV2-P602-002/manifest.json
Normal file
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P602-002",
|
||||
"parentTask": "WBV2-P602-001",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"taskClass": "SOURCE_IMPLEMENTATION",
|
||||
"status": "done",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P602-001/manifest.json",
|
||||
"sha256": "2d23141c5088b7672ec810c4b8baded55b7ad36839e6d37b652dafe2b8eeb5f7"
|
||||
},
|
||||
"source1": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp",
|
||||
"sha256": "1708d041621bb6980230c49a0cf0d755adf934649e1333634f7149483c9fc7fc"
|
||||
},
|
||||
"source2": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h",
|
||||
"sha256": "8c2223e6b19233167addc0d285dc3e73731de70fc5ee0978e42d08a3b01dfaad"
|
||||
},
|
||||
"source3": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"sha256": "d62cee8005e94c6c2c3c01ba7bf5f4c714ef4456712492c1bbfb25af4d574bae"
|
||||
},
|
||||
"source4": {
|
||||
"path": "blender-5.2.0/source/blender/makesdna/DNA_world_types.h",
|
||||
"sha256": "4280c870792ad8e72e9e1e970a28d370ef42817acf6655f646f84248868ae00c"
|
||||
},
|
||||
"source5": {
|
||||
"path": "web/protocol/scene-ir.ts",
|
||||
"sha256": "9ff01760fd3fce578bf587d5d918049bcdd0890274f3c4ad3d3dd231ae972efb"
|
||||
},
|
||||
"source6": {
|
||||
"path": "web/protocol/web-engine.ts",
|
||||
"sha256": "5fc3cf65f0e8d6930745093aa993acbf9b8aca1785cbb473e13a65e3c6dab473"
|
||||
},
|
||||
"source7": {
|
||||
"path": "web/app/src/workers/web-engine.worker.ts",
|
||||
"sha256": "f02f23aa0204109a8ca487146af86c658db6f5bc9d473dc2a2e4b1d26a3ba845"
|
||||
},
|
||||
"source8": {
|
||||
"path": "web/app/src/app/App.tsx",
|
||||
"sha256": "e2ea08dfaa6d4651340e73e0729632610824706032bcb5d0a9c15f50a014f693"
|
||||
},
|
||||
"source9": {
|
||||
"path": "web/app/src/vendor/blender/web_engine.wasm",
|
||||
"sha256": "73c2590cc99fbaf2819d8f28e3b7590c7cb48682de819f249485cdb608cf46cb"
|
||||
},
|
||||
"source10": {
|
||||
"path": "web/app/public/vendor/blender/web_engine.wasm",
|
||||
"sha256": "73c2590cc99fbaf2819d8f28e3b7590c7cb48682de819f249485cdb608cf46cb"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P602-002/implementation-report.json",
|
||||
"sha256": "35adee87932538206ae90eba7848d374fee14f3044f3708e049818ed64b2165d"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P602-002.md",
|
||||
"sha256": "a7b4047e2e6a43be1eaddffdb74be58163b18baa3fdba0d89e7818bcd69925da"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P602-002/capability-continuation-plan.json",
|
||||
"sha256": "5bf67fd8d5cde89979cf0fb5c64d2482aa0b22edbfbf72e570fb75b8eefb1b3a"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P602-002/task-context.json",
|
||||
"sha256": "c7dc73603782a5a8537072a1ed346f206aacf076398132b0e66cbec59794d4b7"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"capabilityFamily": "RENDER.WORLD_LIGHTING_CONTROLS",
|
||||
"capabilityId": "CAP-RENDER-WORLD-LIGHTING-CONTROLS",
|
||||
"behaviorMarker": "web_engine_blend_main_set_world_lighting_controls",
|
||||
"sourceBacked": true,
|
||||
"batchCount": 27,
|
||||
"pendingRows": 6609,
|
||||
"verificationDeferred": true,
|
||||
"completionOverlayWritten": false,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P602-003"
|
||||
}
|
||||
168
tests/golden/WBV2-P602-002/task-context.json
Normal file
168
tests/golden/WBV2-P602-002/task-context.json
Normal file
@@ -0,0 +1,168 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P602-002",
|
||||
"parentTask": "WBV2-P602-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-P602-002 --write"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 3305,
|
||||
"contextRemainingTokens": 824
|
||||
},
|
||||
"source": {
|
||||
"bytes": 6599,
|
||||
"tokens": 1652
|
||||
},
|
||||
"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-P602-002/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P602-002.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P602-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-P602-003",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P602-002.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P602-001/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P602-001.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P602-002.md",
|
||||
"tests/golden/WBV2-P602-001/manifest.json",
|
||||
"docs/status/WBV2-P602-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-P602-001",
|
||||
"parentTask": "WBV2-P602-000",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P602-002",
|
||||
"artifactCount": 7
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P602-001 status",
|
||||
"- task: `WBV2-P602-001`; parent: `WBV2-P602-000`; status: `done`",
|
||||
"- taskClass: `QUEUE_ENABLEMENT`; capability: `null`; behaviorMarker: `BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX`",
|
||||
"- 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-P602-002`"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1329,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 39,
|
||||
"taskTokens": 333
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2807,
|
||||
"lines": 51,
|
||||
"tokens": 702
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P602-002.md",
|
||||
"bytes": 1329,
|
||||
"lines": 39,
|
||||
"tokens": 333
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P602-001/manifest.json",
|
||||
"bytes": 2026,
|
||||
"lines": 57,
|
||||
"tokens": 507
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P602-001.md",
|
||||
"bytes": 437,
|
||||
"lines": 9,
|
||||
"tokens": 110
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1652,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 1652,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 2676,
|
||||
"serializedContextTokens": 629,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
181
tests/golden/WBV2-P602-003/capability-continuation-plan.json
Normal file
181
tests/golden/WBV2-P602-003/capability-continuation-plan.json
Normal file
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_CAPABILITY_CONTINUATION_P602",
|
||||
"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-P602-000",
|
||||
"phase": "P602",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P601-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P602-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-P602-001",
|
||||
"phase": "P602",
|
||||
"title": "index_capability_family_batches",
|
||||
"kind": "feature",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P602-000"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-001",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P602-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-P602-002",
|
||||
"phase": "P602",
|
||||
"title": "implement_capability_family_slice",
|
||||
"kind": "feature",
|
||||
"owner": "IMPLEMENTATION",
|
||||
"dependsOn": [
|
||||
"WBV2-P602-001"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-002",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P602-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-P602-003",
|
||||
"phase": "P602",
|
||||
"title": "run_capability_family_smoke",
|
||||
"kind": "enabling",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P602-002"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p602-003",
|
||||
"gate": "IMPLEMENTATION",
|
||||
"card": "docs/tasks/WBV2-P602-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-P603-000",
|
||||
"phase": "P603",
|
||||
"title": "authorize_capability_family_wave",
|
||||
"kind": "enabling",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P602-003"
|
||||
],
|
||||
"parityId": null,
|
||||
"implementationClass": "SOURCE_BACKED",
|
||||
"parallelGroup": "p603-000",
|
||||
"gate": "G1",
|
||||
"card": "docs/tasks/WBV2-P603-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
|
||||
}
|
||||
]
|
||||
}
|
||||
36
tests/golden/WBV2-P602-003/implementation-report.json
Normal file
36
tests/golden/WBV2-P602-003/implementation-report.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P602-003",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"taskClass": "INTEGRATION_BUILD",
|
||||
"status": "PASS",
|
||||
"capabilityId": null,
|
||||
"behaviorMarker": "INTEGRATION_BUILD_WEB_BUNDLE",
|
||||
"family": "INTEGRATION.BUILD",
|
||||
"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-P603-000"
|
||||
}
|
||||
60
tests/golden/WBV2-P602-003/manifest.json
Normal file
60
tests/golden/WBV2-P602-003/manifest.json
Normal file
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P602-003",
|
||||
"parentTask": "WBV2-P602-002",
|
||||
"operation": "IMPLEMENT_CAPABILITY_FAMILY_CONTINUATION",
|
||||
"taskClass": "INTEGRATION_BUILD",
|
||||
"status": "done",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": false,
|
||||
"runtime": "SOURCE_BACKED_CAPABILITY_FAMILY_QUEUE",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P602-002/manifest.json",
|
||||
"sha256": "3aef13ecf361878a16ec795353c90ab45322e13117f3b0a2aad8d40509583dac"
|
||||
},
|
||||
"source1": {
|
||||
"path": "web/protocol/web-engine-capabilities.ts",
|
||||
"sha256": "d6739e27f9617c641bbbe29d49f520e342441d8708f0fa8087b8eae80ea6ffcb"
|
||||
},
|
||||
"source2": {
|
||||
"path": "web/app/src/workers/web-engine.worker.ts",
|
||||
"sha256": "f02f23aa0204109a8ca487146af86c658db6f5bc9d473dc2a2e4b1d26a3ba845"
|
||||
},
|
||||
"source3": {
|
||||
"path": "web/app/src/vendor/blender/web_engine.wasm",
|
||||
"sha256": "73c2590cc99fbaf2819d8f28e3b7590c7cb48682de819f249485cdb608cf46cb"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P602-003/implementation-report.json",
|
||||
"sha256": "b905af8c541dafc4f0367c615aa9486120830a38d1fabc627ac568e27a9d947b"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P602-003.md",
|
||||
"sha256": "2cf26613764f12325751005ee9ed4b9180d47130edfac7f44c6cc4556ef49445"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P602-003/capability-continuation-plan.json",
|
||||
"sha256": "543c2c067d3731517d5dc41589321213dfd2b9963fa35e5dd54b9004f411116b"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P602-003/task-context.json",
|
||||
"sha256": "3b8527965c679bf787cba9c1f4bc9dd70c8f8e1e450ded65b30d03658b4b3bfc"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"capabilityFamily": "INTEGRATION.BUILD",
|
||||
"capabilityId": null,
|
||||
"behaviorMarker": "INTEGRATION_BUILD_WEB_BUNDLE",
|
||||
"sourceBacked": false,
|
||||
"batchCount": 27,
|
||||
"pendingRows": 6609,
|
||||
"verificationDeferred": true,
|
||||
"completionOverlayWritten": false,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 290,
|
||||
"effectivePending": 6609,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P603-000"
|
||||
}
|
||||
168
tests/golden/WBV2-P602-003/task-context.json
Normal file
168
tests/golden/WBV2-P602-003/task-context.json
Normal file
@@ -0,0 +1,168 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P602-003",
|
||||
"parentTask": "WBV2-P602-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-P602-003 --write"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 1920,
|
||||
"contextRemainingTokens": 478
|
||||
},
|
||||
"source": {
|
||||
"bytes": 7984,
|
||||
"tokens": 1998
|
||||
},
|
||||
"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-P602-003/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P602-003.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P602-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-P603-000",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P602-003.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P602-002/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P602-002.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P602-003.md",
|
||||
"tests/golden/WBV2-P602-002/manifest.json",
|
||||
"docs/status/WBV2-P602-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-P602-002",
|
||||
"parentTask": "WBV2-P602-001",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P602-003",
|
||||
"artifactCount": 15
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P602-002 status",
|
||||
"- task: `WBV2-P602-002`; parent: `WBV2-P602-001`; status: `done`",
|
||||
"- taskClass: `SOURCE_IMPLEMENTATION`; capability: `CAP-RENDER-WORLD-LIGHTING-CONTROLS`; behaviorMarker: `web_engine_blend_main_set_world_lighting_controls`",
|
||||
"- 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-P602-003`"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1293,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 39,
|
||||
"taskTokens": 324
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2807,
|
||||
"lines": 51,
|
||||
"tokens": 702
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P602-003.md",
|
||||
"bytes": 1293,
|
||||
"lines": 39,
|
||||
"tokens": 324
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P602-002/manifest.json",
|
||||
"bytes": 3407,
|
||||
"lines": 89,
|
||||
"tokens": 852
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P602-002.md",
|
||||
"bytes": 477,
|
||||
"lines": 9,
|
||||
"tokens": 120
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1998,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 1998,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 3022,
|
||||
"serializedContextTokens": 622,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{"id":"WBV2-P601-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P601","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-P601-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P601","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-P601-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P601","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-P601-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P601","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-P602-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P602","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-P602-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P602","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-P602-001","gapId":"workflow:index_capability_family_batches","ownerFamily":"RELEASE","sourceTask":"P602","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-P602-002","gapId":"workflow:implement_capability_family_slice","ownerFamily":"IMPLEMENTATION","sourceTask":"P602","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-P602-003","gapId":"workflow:run_capability_family_smoke","ownerFamily":"RELEASE","sourceTask":"P602","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-P603-000","gapId":"workflow:authorize_capability_family_wave","ownerFamily":"PROGRAM","sourceTask":"P603","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-P601-003/capability-continuation-plan.json","sha256":"ceee067e9c845922eba009cde23dcf2a04e971db11d813093d9fa0e77cc0398e"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"4de4babe1b7f5a04d1a8b4d2f6662512a4025e34ae8fc6341423e4f1e9bb4502"},"taskCount":5,"activeTask":"WBV2-P602-000","entries":{"WBV2-P601-000":{"line":0,"offset":0,"length":404,"previous":"WBV2-P600-003","next":"WBV2-P601-001"},"WBV2-P601-001":{"line":1,"offset":404,"length":403,"previous":"WBV2-P601-000","next":"WBV2-P601-002"},"WBV2-P601-002":{"line":2,"offset":807,"length":412,"previous":"WBV2-P601-001","next":"WBV2-P601-003"},"WBV2-P601-003":{"line":3,"offset":1219,"length":399,"previous":"WBV2-P601-002","next":"WBV2-P602-000"},"WBV2-P602-000":{"line":4,"offset":1618,"length":401,"previous":"WBV2-P601-003","next":null}}}
|
||||
{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P602-003/capability-continuation-plan.json","sha256":"543c2c067d3731517d5dc41589321213dfd2b9963fa35e5dd54b9004f411116b"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"7df0069876a4c69fa44608ca79d0d77800af3845ea33e5aaa838503e89d50f6e"},"taskCount":5,"activeTask":"WBV2-P603-000","entries":{"WBV2-P602-000":{"line":0,"offset":0,"length":404,"previous":"WBV2-P601-003","next":"WBV2-P602-001"},"WBV2-P602-001":{"line":1,"offset":404,"length":403,"previous":"WBV2-P602-000","next":"WBV2-P602-002"},"WBV2-P602-002":{"line":2,"offset":807,"length":412,"previous":"WBV2-P602-001","next":"WBV2-P602-003"},"WBV2-P602-003":{"line":3,"offset":1219,"length":399,"previous":"WBV2-P602-002","next":"WBV2-P603-000"},"WBV2-P603-000":{"line":4,"offset":1618,"length":401,"previous":"WBV2-P602-003","next":null}}}
|
||||
|
||||
@@ -27,7 +27,11 @@ assert.equal(parent.nextTask, task);
|
||||
const commands = { 1: [process.execPath, "tools/web/build-wbv2-capability-implementation-index.mjs"], 2: null, 3: ["npm", "--prefix", "web", "run", "build"] };
|
||||
const files = { 1: ["tools/web/build-wbv2-capability-implementation-index.mjs", "tests/golden/WBV2-P27-001/verification-batch-plan.json"], 2: phase >= 59 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 57 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 56 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 55 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 54 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 53 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 52 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp"] : phase >= 51 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 50 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 49 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp"] : phase >= 47 ? ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "web/protocol/web-engine.ts"] : ["web/app/src/app/App.tsx", "web/protocol/web-engine-capabilities.ts"], 3: ["web/protocol/web-engine-capabilities.ts", "web/app/src/workers/web-engine.worker.ts", "web/app/src/vendor/blender/web_engine.wasm"] };
|
||||
const markers = { 1: "BUILD_CAPABILITY_FAMILY_IMPLEMENTATION_INDEX", 2: phase >= 71 ? "web_engine_blend_main_set_scene_view_layer_pass_settings" : phase >= 70 ? "web_engine_blend_main_set_scene_line_settings" : phase >= 69 ? "web_engine_blend_main_set_scene_stamp_settings" : phase >= 68 ? "web_engine_blend_main_set_scene_multiview_settings" : phase >= 67 ? "web_engine_blend_main_set_scene_sampling_settings" : phase >= 66 ? "web_engine_blend_main_set_scene_performance_settings" : phase >= 65 ? "web_engine_blend_main_set_scene_compositor_settings" : phase >= 64 ? "web_engine_blend_main_set_scene_hair_settings" : phase >= 63 ? "web_engine_blend_main_set_scene_motion_blur" : phase >= 62 ? "web_engine_blend_main_set_scene_image_format" : phase >= 61 ? "web_engine_blend_main_set_scene_color_management" : phase >= 60 ? "web_engine_blend_main_set_scene_simplify_settings" : phase >= 59 ? "web_engine_blend_main_set_scene_border_settings" : phase >= 58 ? "web_engine_blend_main_set_scene_collection_settings" : phase >= 57 ? "web_engine_blend_main_set_scene_view_layer_settings" : phase >= 56 ? "web_engine_blend_main_set_scene_bindings" : phase >= 55 ? "web_engine_blend_main_set_scene_pipeline_settings" : phase >= 54 ? "web_engine_blend_main_set_scene_timeline_settings" : phase >= 53 ? "web_engine_blend_main_set_scene_unit_settings" : phase >= 52 ? "web_engine_blend_main_set_scene_audio_settings" : phase >= 51 ? "web_engine_blend_main_set_scene_render_settings" : phase >= 50 ? "web_engine_blend_main_set_scene_properties" : phase >= 49 ? "web_engine_blend_main_set_physics_simulation" : phase >= 47 ? "web_engine_blend_main_set_geometry_node_graph" : "capability-family-workbench", 3: "WEB_ENGINE_COMMAND_CAPABILITIES" };
|
||||
if (phase === 601) {
|
||||
if (phase === 602) {
|
||||
files[2] = ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "blender-5.2.0/source/blender/makesdna/DNA_world_types.h", "web/protocol/scene-ir.ts", "web/protocol/web-engine.ts", "web/app/src/workers/web-engine.worker.ts", "web/app/src/app/App.tsx", "web/app/src/vendor/blender/web_engine.wasm", "web/app/public/vendor/blender/web_engine.wasm"];
|
||||
markers[2] = "web_engine_blend_main_set_world_lighting_controls";
|
||||
}
|
||||
else if (phase === 601) {
|
||||
files[2] = ["blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_main_state.h", "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp", "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "blender-5.2.0/source/blender/makesdna/DNA_light_types.h", "web/protocol/scene-ir.ts", "web/protocol/web-engine.ts", "web/app/src/workers/web-engine.worker.ts", "web/app/src/app/App.tsx", "web/app/src/vendor/blender/web_engine.wasm", "web/app/public/vendor/blender/web_engine.wasm"];
|
||||
markers[2] = "web_engine_blend_main_set_light_clip_start";
|
||||
}
|
||||
@@ -82,9 +86,9 @@ const nextIndex = index + 1;
|
||||
const nextTask = nextIndex <= 3 ? `WBV2-P${phase}-${String(nextIndex).padStart(3, "0")}` : `WBV2-P${phase + 1}-000`;
|
||||
const family = index === 1 ? "INVENTORY.CAPABILITY_BATCH_INDEX" : index === 2 && phase >= 71 ? "RENDER.VIEW_LAYER_PASSES" : index === 2 && phase >= 70 ? "RENDER.LINE_SETTINGS" : index === 2 && phase >= 69 ? "RENDER.STAMP_SETTINGS" : index === 2 && phase >= 68 ? "RENDER.MULTIVIEW_SETTINGS" : index === 2 && phase >= 67 ? "RENDER.SAMPLING_SETTINGS" : index === 2 && phase >= 66 ? "PERFORMANCE.RENDER_SETTINGS" : index === 2 && phase >= 65 ? "COMPOSITOR.EXECUTION_SETTINGS" : index === 2 && phase >= 64 ? "CORE_SCENE_GRAPH.HAIR_SETTINGS" : index === 2 && phase >= 63 ? "CORE_SCENE_GRAPH.MOTION_BLUR" : index === 2 && phase >= 62 ? "CORE_SCENE_GRAPH.IMAGE_FORMAT" : index === 2 && phase >= 61 ? "CORE_SCENE_GRAPH.COLOR_MANAGEMENT" : index === 2 && phase >= 60 ? "CORE_SCENE_GRAPH.SIMPLIFY_SETTINGS" : index === 2 && phase >= 59 ? "CORE_SCENE_GRAPH.BORDER_SETTINGS" : index === 2 && phase >= 58 ? "CORE_SCENE_GRAPH.COLLECTION_SETTINGS" : index === 2 && phase >= 57 ? "CORE_SCENE_GRAPH.VIEW_LAYER_SETTINGS" : index === 2 && phase >= 56 ? "CORE_SCENE_GRAPH.BINDINGS" : index === 2 && phase >= 55 ? "CORE_SCENE_GRAPH.PIPELINE_SETTINGS" : index === 2 && phase >= 54 ? "CORE_SCENE_GRAPH.TIMELINE_SETTINGS" : index === 2 && phase >= 53 ? "CORE_SCENE_GRAPH.UNIT_SETTINGS" : index === 2 && phase >= 52 ? "CORE_SCENE_GRAPH.AUDIO_SETTINGS" : index === 2 && phase >= 51 ? "CORE_SCENE_GRAPH.RENDER_SETTINGS" : index === 2 && phase >= 50 ? "CORE_SCENE_GRAPH.SCENE_PROPERTIES" : index === 2 && phase >= 49 ? "SIMULATION.NATIVE_MANIFEST_BINDING" : index === 2 && phase >= 47 ? "GEOMETRY_NODES.NATIVE_MATERIALIZATION" : index === 2 ? "WORKFLOW.CAPABILITY_FAMILY_WORKBENCH" : "IMPLEMENTATION.CAPABILITY_FAMILY_SMOKE";
|
||||
const taskClass = index === 1 ? "QUEUE_ENABLEMENT" : index === 2 ? "SOURCE_IMPLEMENTATION" : "INTEGRATION_BUILD";
|
||||
const reportedFamily = taskClass === "INTEGRATION_BUILD" ? "INTEGRATION.BUILD" : phase === 601 && index === 2 ? "RENDER.LIGHT_CLIP_START" : phase === 600 && index === 2 ? "RENDER.LIGHT_AREA_SIZE_Z" : phase === 599 && index === 2 ? "RENDER.LIGHT_CASCADE_CONTROLS" : phase === 598 && index === 2 ? "RENDER.LIGHT_SHADOW_CONTROLS" : phase === 597 && index === 2 ? "RENDER.LIGHT_CONTRIBUTION_FACTORS" : phase === 596 && index === 2 ? "RENDER.LIGHT_AREA_SHAPE" : phase === 595 && index === 2 ? "RENDER.LIGHT_TYPE" : phase === 77 && index === 2 ? "RENDER.WORLD_LIGHTGROUP_MEMBERSHIP" : phase === 76 && index === 2 ? "RENDER.OBJECT_LIGHTGROUP_MEMBERSHIP" : phase === 75 && index === 2 ? "RENDER.VIEW_LAYER_LIGHTGROUPS" : phase === 74 && index === 2 ? "RENDER.VIEW_LAYER_AOV" : phase === 73 && index === 2 ? "ARCHITECTURE.UNIFIED_WASM_JSON_ABI" : family;
|
||||
const capabilityId = taskClass !== "SOURCE_IMPLEMENTATION" ? null : phase === 601 && index === 2 ? "CAP-RENDER-LIGHT-CLIP-START" : phase === 600 && index === 2 ? "CAP-RENDER-LIGHT-AREA-SIZE-Z" : phase === 599 && index === 2 ? "CAP-RENDER-LIGHT-CASCADE-CONTROLS" : phase === 598 && index === 2 ? "CAP-RENDER-LIGHT-SHADOW-CONTROLS" : phase === 597 && index === 2 ? "CAP-RENDER-LIGHT-CONTRIBUTION-FACTORS" : phase === 596 && index === 2 ? "CAP-RENDER-LIGHT-AREA-SHAPE" : phase === 595 && index === 2 ? "CAP-RENDER-LIGHT-TYPE" : `CAPABILITY-${reportedFamily.replaceAll(".", "-")}`;
|
||||
const behaviorMarker = index === 2 ? markers[2] : markers[index];
|
||||
const reportedFamily = taskClass === "INTEGRATION_BUILD" ? "INTEGRATION.BUILD" : phase === 602 && index === 2 ? "RENDER.WORLD_LIGHTING_CONTROLS" : phase === 601 && index === 2 ? "RENDER.LIGHT_CLIP_START" : phase === 600 && index === 2 ? "RENDER.LIGHT_AREA_SIZE_Z" : phase === 599 && index === 2 ? "RENDER.LIGHT_CASCADE_CONTROLS" : phase === 598 && index === 2 ? "RENDER.LIGHT_SHADOW_CONTROLS" : phase === 597 && index === 2 ? "RENDER.LIGHT_CONTRIBUTION_FACTORS" : phase === 596 && index === 2 ? "RENDER.LIGHT_AREA_SHAPE" : phase === 595 && index === 2 ? "RENDER.LIGHT_TYPE" : phase === 77 && index === 2 ? "RENDER.WORLD_LIGHTGROUP_MEMBERSHIP" : phase === 76 && index === 2 ? "RENDER.OBJECT_LIGHTGROUP_MEMBERSHIP" : phase === 75 && index === 2 ? "RENDER.VIEW_LAYER_LIGHTGROUPS" : phase === 74 && index === 2 ? "RENDER.VIEW_LAYER_AOV" : phase === 73 && index === 2 ? "ARCHITECTURE.UNIFIED_WASM_JSON_ABI" : family;
|
||||
const capabilityId = taskClass !== "SOURCE_IMPLEMENTATION" ? null : phase === 602 && index === 2 ? "CAP-RENDER-WORLD-LIGHTING-CONTROLS" : phase === 601 && index === 2 ? "CAP-RENDER-LIGHT-CLIP-START" : phase === 600 && index === 2 ? "CAP-RENDER-LIGHT-AREA-SIZE-Z" : phase === 599 && index === 2 ? "CAP-RENDER-LIGHT-CASCADE-CONTROLS" : phase === 598 && index === 2 ? "CAP-RENDER-LIGHT-SHADOW-CONTROLS" : phase === 597 && index === 2 ? "CAP-RENDER-LIGHT-CONTRIBUTION-FACTORS" : phase === 596 && index === 2 ? "CAP-RENDER-LIGHT-AREA-SHAPE" : phase === 595 && index === 2 ? "CAP-RENDER-LIGHT-TYPE" : `CAPABILITY-${reportedFamily.replaceAll(".", "-")}`;
|
||||
const behaviorMarker = taskClass === "INTEGRATION_BUILD" ? "INTEGRATION_BUILD_WEB_BUNDLE" : index === 2 ? markers[2] : markers[index];
|
||||
const out = `tests/golden/${task}`;
|
||||
const reportPath = `${out}/implementation-report.json`;
|
||||
const statusPath = `docs/status/${task}.md`;
|
||||
|
||||
2
web/app/public/vendor/blender/web_engine.js
vendored
2
web/app/public/vendor/blender/web_engine.js
vendored
File diff suppressed because one or more lines are too long
BIN
web/app/public/vendor/blender/web_engine.wasm
vendored
BIN
web/app/public/vendor/blender/web_engine.wasm
vendored
Binary file not shown.
File diff suppressed because one or more lines are too long
2
web/app/src/vendor/blender/web_engine.js
vendored
2
web/app/src/vendor/blender/web_engine.js
vendored
File diff suppressed because one or more lines are too long
BIN
web/app/src/vendor/blender/web_engine.wasm
vendored
BIN
web/app/src/vendor/blender/web_engine.wasm
vendored
Binary file not shown.
@@ -585,9 +585,10 @@ function assertFutureCapability(payload: Extract<WebEngineRequest["command"], {
|
||||
case "setWorldProperties": {
|
||||
const world = currentSnapshot?.worlds.find((candidate) => candidate.id === payload.dataId);
|
||||
const properties = payload.properties;
|
||||
if (!world || !validPropertyKeys(properties, ["color", "exposure", "mist"])) throw report("RENDER_PROPERTY_INVALID", "World target or properties are invalid");
|
||||
if (!world || !validPropertyKeys(properties, ["color", "exposure", "ambientOcclusionDistance", "ambientOcclusionEnergy", "sunThreshold", "sunAngle", "sunShadowMaximumResolution", "sunShadowJitterOverblur", "sunShadowFilterRadius", "mist"])) throw report("RENDER_PROPERTY_INVALID", "World target or properties are invalid");
|
||||
if (properties.color !== undefined && (!Array.isArray(properties.color) || properties.color.length !== 3 || properties.color.some((value) => !boundedNumber(value, 0, 100)))) throw report("RENDER_PROPERTY_INVALID", "World color is invalid");
|
||||
if (properties.exposure !== undefined && !boundedNumber(properties.exposure, -20, 20)) throw report("RENDER_PROPERTY_INVALID", "World exposure is invalid");
|
||||
for (const [field, minimum, maximum] of [["ambientOcclusionDistance", 0, 1e9], ["ambientOcclusionEnergy", 0, 1e9], ["sunThreshold", 0, 1e9], ["sunAngle", 0, Math.PI], ["sunShadowMaximumResolution", 0.0000001, 1e9], ["sunShadowJitterOverblur", 0, 1e9], ["sunShadowFilterRadius", 0, 1e9]] as const) if (properties[field] !== undefined && !boundedNumber(properties[field], minimum, maximum)) throw report("RENDER_PROPERTY_INVALID", `World ${field} is outside the bounded range`);
|
||||
if (properties.mist !== undefined) {
|
||||
const mist = properties.mist;
|
||||
if (!validPropertyKeys(mist, ["enabled", "type", "start", "depth", "intensity", "height"])) throw report("RENDER_PROPERTY_INVALID", "World mist is invalid");
|
||||
|
||||
@@ -281,6 +281,13 @@ export interface WorldIR {
|
||||
environmentImageId?: string | null;
|
||||
environmentStrength?: number;
|
||||
environmentRotation?: number;
|
||||
ambientOcclusionDistance?: number;
|
||||
ambientOcclusionEnergy?: number;
|
||||
sunThreshold?: number;
|
||||
sunAngle?: number;
|
||||
sunShadowMaximumResolution?: number;
|
||||
sunShadowJitterOverblur?: number;
|
||||
sunShadowFilterRadius?: number;
|
||||
backgroundVisible?: boolean;
|
||||
lightgroup?: string | null;
|
||||
mist?: {
|
||||
@@ -1571,6 +1578,7 @@ export function parseSceneSnapshotIR(value: unknown): SceneSnapshotIR {
|
||||
if (world.environmentImageId !== undefined && world.environmentImageId !== null) requireString(world.environmentImageId, `worlds[${index}].environmentImageId`);
|
||||
if (world.environmentStrength !== undefined) requireNumber(world.environmentStrength, `worlds[${index}].environmentStrength`);
|
||||
if (world.environmentRotation !== undefined) requireNumber(world.environmentRotation, `worlds[${index}].environmentRotation`);
|
||||
for (const field of ["ambientOcclusionDistance", "ambientOcclusionEnergy", "sunThreshold", "sunAngle", "sunShadowMaximumResolution", "sunShadowJitterOverblur", "sunShadowFilterRadius"] as const) if (world[field] !== undefined) requireNumber(world[field], `worlds[${index}].${field}`);
|
||||
if (world.backgroundVisible !== undefined && typeof world.backgroundVisible !== "boolean") throw new Error(`SceneIR.worlds[${index}].backgroundVisible must be a boolean`);
|
||||
if (world.mist !== undefined) {
|
||||
if (!isRecord(world.mist) || !["QUADRATIC", "LINEAR", "INVERSE_QUADRATIC"].includes(world.mist.type as string)) throw new Error(`SceneIR.worlds[${index}].mist is invalid`);
|
||||
|
||||
@@ -142,7 +142,7 @@ export type WebEngineEditCommand =
|
||||
| { type: "setVertexWeights"; objectId: string; vertexGroup: string; indices: number[]; values: number[]; normalize?: boolean; limit?: number; mirror?: boolean; mirrorAxis?: 0 | 1 | 2; mirrorTolerance?: number }
|
||||
| { type: "setLightProperties"; dataId: string; properties: { type?: "POINT" | "SUN" | "SPOT" | "AREA"; areaShape?: 0 | 1 | 4 | 5; diffuseFactor?: number; specularFactor?: number; transmissionFactor?: number; volumeFactor?: number; attenuationDistance?: number; shadowFilterRadius?: number; shadowMaximumResolution?: number; shadowJitterOverblur?: number; cascadeMaxDistance?: number; cascadeExponent?: number; cascadeFade?: number; cascadeCount?: number; areaSizeZ?: number; clipStart?: number; color?: [number, number, number]; energy?: number; exposure?: number; temperature?: number; useTemperature?: boolean; castsShadow?: boolean; radius?: number; spotAngle?: number; spotBlend?: number; areaSize?: number; areaSizeY?: number; areaSpread?: number; sunAngle?: number } }
|
||||
| { type: "setCameraProperties"; dataId: string; properties: { projection?: "PERSPECTIVE" | "ORTHOGRAPHIC"; lensMm?: number; sensorWidthMm?: number; sensorHeightMm?: number; sensorFit?: 0 | 1 | 2; shift?: [number, number]; near?: number; far?: number; orthoScale?: number; depthOfField?: { enabled?: boolean; focusDistance?: number; apertureFStop?: number; apertureBlades?: number; apertureRotation?: number; apertureRatio?: number } } }
|
||||
| { type: "setWorldProperties"; dataId: string; properties: { color?: [number, number, number]; exposure?: number; mist?: { enabled?: boolean; type?: "QUADRATIC" | "LINEAR" | "INVERSE_QUADRATIC"; start?: number; depth?: number; intensity?: number; height?: number } } }
|
||||
| { type: "setWorldProperties"; dataId: string; properties: { color?: [number, number, number]; exposure?: number; ambientOcclusionDistance?: number; ambientOcclusionEnergy?: number; sunThreshold?: number; sunAngle?: number; sunShadowMaximumResolution?: number; sunShadowJitterOverblur?: number; sunShadowFilterRadius?: number; mist?: { enabled?: boolean; type?: "QUADRATIC" | "LINEAR" | "INVERSE_QUADRATIC"; start?: number; depth?: number; intensity?: number; height?: number } } }
|
||||
| { type: "setSceneProperties"; dataId: string; properties: { renderEngine?: string; viewTransform?: string; look?: string; exposure?: number; gamma?: number } }
|
||||
| { type: "setSceneRenderSettings"; dataId: string; properties: { resolutionX?: number; resolutionY?: number; resolutionPercentage?: number; frameStart?: number; frameEnd?: number; outputPath?: string } }
|
||||
| { type: "setSceneAudioSettings"; dataId: string; properties: { volume?: number; speedOfSound?: number; dopplerFactor?: number; distanceModel?: number; muted?: boolean; sync?: boolean } }
|
||||
|
||||
Reference in New Issue
Block a user