Govern task context and advance execution pointer
This commit is contained in:
17
tests/golden/M16-GAP-00011/library-desktop-report.json
Normal file
17
tests/golden/M16-GAP-00011/library-desktop-report.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00011-datablock-Library.blend",
|
||||
"fixtureSha256": "d6b00d6cdc0c1c73158ba91433d8344f4b6b0a2f1d5c81e57cc4e0b42d23c34a",
|
||||
"library": {
|
||||
"dependencyIds": [],
|
||||
"id": "library:WebGapLibrary.blend",
|
||||
"name": "WebGapLibrary.blend",
|
||||
"packed": false,
|
||||
"readOnly": true,
|
||||
"sourcePath": "//WebGapLibrary.blend"
|
||||
},
|
||||
"operation": "LIBRARY_DATABLOCK_DESKTOP",
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00011"
|
||||
}
|
||||
26
tests/golden/M16-GAP-00011/library-local-exact-report.json
Normal file
26
tests/golden/M16-GAP-00011/library-local-exact-report.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00011",
|
||||
"operation": "LIBRARY_DATABLOCK_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00011-datablock-Library.blend",
|
||||
"sha256": "d6b00d6cdc0c1c73158ba91433d8344f4b6b0a2f1d5c81e57cc4e0b42d23c34a"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00011/library-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"libraryId": "library:WebGapLibrary.blend",
|
||||
"sourcePath": "//WebGapLibrary.blend",
|
||||
"libraryStatus": "EXTERNAL_REQUIRED",
|
||||
"dependencyIds": []
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00012"
|
||||
}
|
||||
61
tests/golden/M16-GAP-00011/manifest.json
Normal file
61
tests/golden/M16-GAP-00011/manifest.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00011",
|
||||
"parentTask": "M16-GAP-00010",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "LIBRARY_DATABLOCK_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/M16-GAP-00010/manifest.json",
|
||||
"sha256": "cb3be7f0917ca95d831ffabaa11470eb528ce3fe5eda1ba1e3f7925ea2288737"
|
||||
},
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00011-datablock-Library.blend",
|
||||
"sha256": "d6b00d6cdc0c1c73158ba91433d8344f4b6b0a2f1d5c81e57cc4e0b42d23c34a"
|
||||
},
|
||||
"librarySource": {
|
||||
"path": "tests/files/web/generated/WebGapLibrary.blend",
|
||||
"sha256": "1fe24e423713bc18dc936e723e97f7c306db4aa62cc24736055eb2d341375088"
|
||||
},
|
||||
"generator": {
|
||||
"path": "tools/web/generated/M16-GAP-00011.py",
|
||||
"sha256": "f33b9d5482193439fedd34f138b192d2e086db01205560276fa43bfd08ed430a"
|
||||
},
|
||||
"desktopChecker": {
|
||||
"path": "tools/web/check-library-desktop.py",
|
||||
"sha256": "34eda5a724ca7eab9fcb2e4f39cec46125e363f548fc77beb3f09133151fdeb4"
|
||||
},
|
||||
"webChecker": {
|
||||
"path": "tools/web/check-generated-gap.mjs",
|
||||
"sha256": "0e13f61a7f34ddc10388f8e6ee5215fe941714e2bbf759a795efbcdd0fbc3aa0"
|
||||
},
|
||||
"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-00011/library-desktop-report.json",
|
||||
"sha256": "0bc9032490f2450e99d30fd67fe95b164f8d359ca042d0e0b772ee1a28e39dbd"
|
||||
},
|
||||
"webReport": {
|
||||
"path": "tests/golden/M16-GAP-00011/library-local-exact-report.json",
|
||||
"sha256": "82c3a7ebb204da9dd8f817f0378374be062993892a4405d01f81c960677f45bf"
|
||||
}
|
||||
},
|
||||
"nextTask": "M16-GAP-00012"
|
||||
}
|
||||
121
tests/golden/M16-GAP-00011/task-context.json
Normal file
121
tests/golden/M16-GAP-00011/task-context.json
Normal file
@@ -0,0 +1,121 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00011",
|
||||
"parentTask": "M16-GAP-00010",
|
||||
"status": "in_progress",
|
||||
"goal": "让同一个 Library fixture 在 Blender desktop 和 WASM/Main 中得到一致的最小可观察数据,并在 save/reopen 后保持一致。只改变 `datablock:Library` 这一条 gap;不扩大到其他 data-block 或编辑器行为。",
|
||||
"scope": {
|
||||
"gap": "datablock:Library",
|
||||
"ownerFamily": "RNA_DATABLOCK",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00011.py -- tests/files/web/generated/M16-GAP-00011-datablock-Library.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00011",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00011"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tests/files/web/generated/M16-GAP-00011-datablock-Library.blend",
|
||||
"tools/web/generated/M16-GAP-00011.py",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"tools/web/check-generated-gap.mjs"
|
||||
],
|
||||
"exitCriteria": [
|
||||
"desktop fixture evidence exists",
|
||||
"WASM uses the same fixture",
|
||||
"comparator passes",
|
||||
"save/reopen preserves Main",
|
||||
"manifest hashes all artifacts"
|
||||
],
|
||||
"nextTask": "M16-GAP-00012",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00011.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00010/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00010.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00011.md",
|
||||
"tests/golden/M16-GAP-00010/manifest.json",
|
||||
"docs/status/M16-GAP-00010.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-00010",
|
||||
"parentTask": "M16-GAP-00009",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00011",
|
||||
"artifactCount": 11
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00010 Status",
|
||||
"status: done ",
|
||||
"task: Lattice data-block LOCAL_EXACT slice ",
|
||||
"updated: 2026-08-19 America/New_York",
|
||||
"scope: Blender 5.2 Lattice data-block dimensions, interpolation, outside flag, vertex group, point deformation, weight and selection.",
|
||||
"evidence:",
|
||||
"- Desktop fixture generated by `tools/web/generated/M16-GAP-00010.py`; Blender 5.2 opened, saved to a fresh file, reopened in a new process and matched exactly.",
|
||||
"- WASM/Main opened the same fixture, produced 3x2x2 / 12-point `lattice:WebGapLattice`, and matched the desktop point report exactly."
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1945,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"contextTokens": 3500,
|
||||
"taskLines": 40,
|
||||
"taskTokens": 377
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 1969,
|
||||
"lines": 41,
|
||||
"tokens": 321
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/M16-GAP-00011.md",
|
||||
"bytes": 1945,
|
||||
"lines": 40,
|
||||
"tokens": 377
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00010/manifest.json",
|
||||
"bytes": 2188,
|
||||
"lines": 58,
|
||||
"tokens": 547
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00010.md",
|
||||
"bytes": 1522,
|
||||
"lines": 24,
|
||||
"tokens": 381
|
||||
}
|
||||
],
|
||||
"totalTokens": 1626,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user