Govern task context and advance execution pointer
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-08-20 06:02:43 -04:00
parent 380cbed4ff
commit 10640aeb3c
984 changed files with 543475 additions and 327 deletions

View File

@@ -0,0 +1,32 @@
{
"blenderVersion": "5.2.0 LTS",
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00012-datablock-Light.blend",
"fixtureSha256": "b92565305572d48cc2311b749d50024f1df68c4084ae8bc52ce2ba2c3832a3fa",
"light": {
"areaShape": 1,
"areaSize": 3.0,
"areaSizeY": 2.0,
"areaSpread": 2.4,
"castsShadow": false,
"color": [
0.25,
0.5,
0.75
],
"energy": 400.0,
"exposure": 1.0,
"id": "light:WebGapLight",
"lightType": 4,
"name": "WebGapLight",
"radius": 0.3,
"spotAngle": 0.785398,
"spotBlend": 0.15,
"sunAngle": 0.00918,
"temperature": 5000.0,
"useTemperature": true
},
"operation": "LIGHT_DATABLOCK_DESKTOP",
"saveReopen": "EXACT",
"schemaVersion": 1,
"task": "M16-GAP-00012"
}

View File

@@ -0,0 +1,33 @@
{
"schemaVersion": 1,
"task": "M16-GAP-00012",
"operation": "LIGHT_DATABLOCK_LOCAL_EXACT",
"fixture": {
"path": "tests/files/web/generated/M16-GAP-00012-datablock-Light.blend",
"sha256": "b92565305572d48cc2311b749d50024f1df68c4084ae8bc52ce2ba2c3832a3fa"
},
"desktop": {
"status": "EXACT",
"report": "tests/golden/M16-GAP-00012/light-desktop-report.json",
"saveReopen": "EXACT"
},
"wasm": {
"status": "EXACT",
"lightId": "light:WebGapLight",
"lightType": 4,
"fields": {
"energy": 400,
"exposure": 1,
"temperature": 5000,
"useTemperature": true,
"castsShadow": false,
"areaSize": 3,
"areaSizeY": 2
}
},
"saveReopen": "EXACT",
"negative": {
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
},
"nextTask": "M16-GAP-00013"
}

View File

@@ -0,0 +1,57 @@
{
"schemaVersion": 1,
"task": "M16-GAP-00012",
"parentTask": "M16-GAP-00011",
"enablingTask": false,
"parityStateChange": true,
"runtime": "BLENDER_5_2_LOCAL_EXACT",
"operation": "LIGHT_DATABLOCK_LOCAL_EXACT",
"status": "done",
"artifacts": {
"parentManifest": {
"path": "tests/golden/M16-GAP-00011/manifest.json",
"sha256": "a29ac9278d37d187f5e421f365a71fb3d18a8aeb74cfe4ae733f8510a43446de"
},
"fixture": {
"path": "tests/files/web/generated/M16-GAP-00012-datablock-Light.blend",
"sha256": "b92565305572d48cc2311b749d50024f1df68c4084ae8bc52ce2ba2c3832a3fa"
},
"generator": {
"path": "tools/web/generated/M16-GAP-00012.py",
"sha256": "9b261d7d516e0514e6e96a876661d0ab8eb83b844e92cd72dc4ffda460da0b2b"
},
"desktopChecker": {
"path": "tools/web/check-light-desktop.py",
"sha256": "90025507cc88c1c2be028e52a0b6e0b80561915bf109f38c64b95191c716505c"
},
"webChecker": {
"path": "tools/web/check-generated-gap.mjs",
"sha256": "cf0cc4ebefcd319d6351d70864efd20c66e415dd0adb1637224e1390d1d38e70"
},
"reader": {
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
"sha256": "3c2c69a66d60692049956530c2570db377e5d10838d0048aa4e0f3fb210f9c62"
},
"protocol": {
"path": "web/protocol/scene-ir.ts",
"sha256": "7d96e706de6b42f4372d937708600be150190ae593e214066a06d030bcac8b73"
},
"wasm": {
"path": "web/app/src/vendor/blender/web_engine.wasm",
"sha256": "4a33528e8bd4d50956e741cba93ab0215350943c59f56b7c82e18df19f4ee450"
},
"wasmJs": {
"path": "web/app/src/vendor/blender/web_engine.js",
"sha256": "9c831d0351ac9d0714cce3b1da748cba416ced3086e3c59595cf24ac4da459ed"
},
"desktopReport": {
"path": "tests/golden/M16-GAP-00012/light-desktop-report.json",
"sha256": "92bd381ec7b8242de6379d9e266ebbb63bd34c2d28e852d2ac7610eb7e67b8d3"
},
"webReport": {
"path": "tests/golden/M16-GAP-00012/light-local-exact-report.json",
"sha256": "103958f99cc13fccef7acb4128f3707e48580c8ad86813821a2ce40986c5a964"
}
},
"nextTask": "M16-GAP-00013"
}

View File

@@ -0,0 +1,124 @@
{
"schemaVersion": 1,
"task": "M16-GAP-00012",
"parentTask": "M16-GAP-00011",
"status": "in_progress",
"goal": "Make the same minimal fixture produce observable datablock:Light data in Blender desktop and WASM/Main, with save/reopen stability. Change only this gap; do not expand to other data-blocks, editors, or browsers.",
"scope": {
"gap": "datablock:Light",
"ownerFamily": "RNA_DATABLOCK",
"implementationClass": "LOCAL_EXACT"
},
"commands": [
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00012.py -- tests/files/web/generated/M16-GAP-00012-datablock-Light.blend",
"npm --prefix web run test:generated-gap -- --task M16-GAP-00012",
"node tools/web/check-generated-gap.mjs --task M16-GAP-00012"
],
"inputPaths": [
"tests/files/web/generated/M16-GAP-00012-datablock-Light.blend",
"tools/web/generated/M16-GAP-00012.py",
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
"tools/web/check-generated-gap.mjs",
"tests/golden/M16-GAP-00012/",
"docs/status/M16-GAP-00012.md",
"tests/golden/M16-GAP-00012/manifest.json"
],
"exitCriteria": [
"desktop fixture evidence exists",
"WASM uses the same fixture",
"comparator passes",
"save/reopen preserves Main",
"manifest hashes all artifacts"
],
"nextTask": "M16-GAP-00013",
"sourceDocuments": {
"queue": "docs/EXECUTION_QUEUE.md",
"taskCard": "docs/tasks/M16-GAP-00012.md",
"taskIndex": "tests/golden/M15-03A/task-index.json",
"parentManifest": "tests/golden/M16-GAP-00011/manifest.json",
"parentStatus": "docs/status/M16-GAP-00011.md"
},
"readPolicy": {
"required": [
"docs/EXECUTION_QUEUE.md",
"docs/tasks/M16-GAP-00012.md",
"tests/golden/M16-GAP-00011/manifest.json",
"docs/status/M16-GAP-00011.md"
],
"machineOnly": [
"tests/golden/M15-03A/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": "M16-GAP-00011",
"parentTask": "M16-GAP-00010",
"status": "done",
"nextTask": "M16-GAP-00012",
"artifactCount": 12
},
"statusSummary": [
"# M16-GAP-00011 Status",
"status: done ",
"task: Library data-block LOCAL_EXACT slice ",
"updated: 2026-08-19 America/New_York",
"scope: Blender 5.2 Library metadata for one linked, project-relative source: stable id/name/path, packed state, external-required status, dependency list and read-only contract.",
"evidence:",
"- `tools/web/generated/M16-GAP-00011.py` generated a real linked-Library fixture from `WebGapLibrary.blend`; the target reopens in Blender desktop.",
"- Desktop report matched one `library:WebGapLibrary.blend` with `sourcePath=//WebGapLibrary.blend`, unpacked external-required state, empty dependencies and read-only=true after save/reopen."
]
},
"budgets": {
"queueBytes": 4096,
"taskBytes": 1724,
"parentManifestBytes": 24576,
"parentStatusBytes": 6144,
"contextTokens": 3500,
"taskLines": 38,
"taskTokens": 424
},
"size": {
"documents": [
{
"path": "docs/EXECUTION_QUEUE.md",
"bytes": 1969,
"lines": 41,
"tokens": 321
},
{
"path": "docs/tasks/M16-GAP-00012.md",
"bytes": 1724,
"lines": 38,
"tokens": 424
},
{
"path": "tests/golden/M16-GAP-00011/manifest.json",
"bytes": 2364,
"lines": 62,
"tokens": 591
},
{
"path": "docs/status/M16-GAP-00011.md",
"bytes": 1879,
"lines": 26,
"tokens": 470
}
],
"totalTokens": 1806,
"withinBudget": true
}
}