Govern task context and advance execution pointer
This commit is contained in:
57
tests/golden/M16-GAP-00014/manifest.json
Normal file
57
tests/golden/M16-GAP-00014/manifest.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00014",
|
||||
"parentTask": "M16-GAP-00013",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "MESH_DATABLOCK_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/M16-GAP-00013/manifest.json",
|
||||
"sha256": "47663ad9012f36f2947f3ac8dc0d628f8f5bc338809686692e92dd59ca46c591"
|
||||
},
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00014-datablock-Mesh.blend",
|
||||
"sha256": "1676a26f95de4eb90e55ea169a497c382ca68f195c6b883de49b6a3223d84bb5"
|
||||
},
|
||||
"generator": {
|
||||
"path": "tools/web/generated/M16-GAP-00014.py",
|
||||
"sha256": "c1333fbd1f86bac31f1db1f09056d2152f3b537fe59353f3d6f50767e8d724db"
|
||||
},
|
||||
"desktopChecker": {
|
||||
"path": "tools/web/check-mesh-desktop.py",
|
||||
"sha256": "8fe5859138f84079ddb43030fc8d22b596044b08d4f863da5dd25acaeedafdd5"
|
||||
},
|
||||
"webChecker": {
|
||||
"path": "tools/web/check-generated-gap.mjs",
|
||||
"sha256": "82796fdee398c4d97d1506610b8d4b838eeb0ea6b33218ed8c749cf06d747289"
|
||||
},
|
||||
"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-00014/mesh-desktop-report.json",
|
||||
"sha256": "e26f0333707fa915b7261f305af413340f9edb26d050a82fb3c6afac12ee2169"
|
||||
},
|
||||
"webReport": {
|
||||
"path": "tests/golden/M16-GAP-00014/mesh-local-exact-report.json",
|
||||
"sha256": "36066f715b9993f0e789e12a0d29f9c0c9e79e0b5ff5914268e839fa648cb28a"
|
||||
}
|
||||
},
|
||||
"nextTask": "M16-GAP-00015"
|
||||
}
|
||||
53
tests/golden/M16-GAP-00014/mesh-desktop-report.json
Normal file
53
tests/golden/M16-GAP-00014/mesh-desktop-report.json
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00014-datablock-Mesh.blend",
|
||||
"fixtureSha256": "1676a26f95de4eb90e55ea169a497c382ca68f195c6b883de49b6a3223d84bb5",
|
||||
"mesh": {
|
||||
"cornerCount": 4,
|
||||
"edgeCount": 4,
|
||||
"faceCount": 1,
|
||||
"id": "mesh:WebGapMesh",
|
||||
"indices": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
0,
|
||||
2,
|
||||
3
|
||||
],
|
||||
"name": "WebGapMesh",
|
||||
"positions": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
1.0,
|
||||
1.0,
|
||||
0.25,
|
||||
-1.0,
|
||||
1.0,
|
||||
0.25
|
||||
],
|
||||
"triangleCount": 2,
|
||||
"uvLayers": [
|
||||
"WebGapUV"
|
||||
],
|
||||
"uvs": [
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
1.0,
|
||||
1.0,
|
||||
0.0,
|
||||
1.0
|
||||
],
|
||||
"vertexCount": 4
|
||||
},
|
||||
"operation": "MESH_DATABLOCK_DESKTOP",
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00014"
|
||||
}
|
||||
28
tests/golden/M16-GAP-00014/mesh-local-exact-report.json
Normal file
28
tests/golden/M16-GAP-00014/mesh-local-exact-report.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00014",
|
||||
"operation": "MESH_DATABLOCK_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00014-datablock-Mesh.blend",
|
||||
"sha256": "1676a26f95de4eb90e55ea169a497c382ca68f195c6b883de49b6a3223d84bb5"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00014/mesh-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"meshId": "mesh:WebGapMesh",
|
||||
"vertexCount": 4,
|
||||
"triangleCount": 2,
|
||||
"uvLayers": [
|
||||
"WebGapUV"
|
||||
]
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00015"
|
||||
}
|
||||
124
tests/golden/M16-GAP-00014/task-context.json
Normal file
124
tests/golden/M16-GAP-00014/task-context.json
Normal file
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00014",
|
||||
"parentTask": "M16-GAP-00013",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable datablock:Mesh 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:Mesh",
|
||||
"ownerFamily": "RNA_DATABLOCK",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00014.py -- tests/files/web/generated/M16-GAP-00014-datablock-Mesh.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00014",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00014"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tests/files/web/generated/M16-GAP-00014-datablock-Mesh.blend",
|
||||
"tools/web/generated/M16-GAP-00014.py",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"tools/web/check-generated-gap.mjs",
|
||||
"tests/golden/M16-GAP-00014/",
|
||||
"docs/status/M16-GAP-00014.md",
|
||||
"tests/golden/M16-GAP-00014/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-00015",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00014.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00013/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00013.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00014.md",
|
||||
"tests/golden/M16-GAP-00013/manifest.json",
|
||||
"docs/status/M16-GAP-00013.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-00013",
|
||||
"parentTask": "M16-GAP-00012",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00014",
|
||||
"artifactCount": 11
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00013 Status",
|
||||
"status: done ",
|
||||
"task: Material data-block LOCAL_EXACT slice ",
|
||||
"updated: 2026-08-19 America/New_York",
|
||||
"scope: Blender 5.2 Principled Material metadata and minimal shader graph: PBR values, IOR/transmission/coat, emission, alpha, two-node topology, one link and graph hash.",
|
||||
"evidence:",
|
||||
"- `tools/web/generated/M16-GAP-00013.py` generated a retained `WebGapMaterial` on a minimal triangle Mesh, with Principled and Material Output nodes.",
|
||||
"- Desktop report reopened after save and matched exactly: base color `[0.2, 0.4, 0.8, 0.9]`, roughness 0.6, metallic 0.35, IOR 1.6, transmission 0.27, coat 0.64/0.12, emission `[0.05, 0.1, 0.2, 1]` at strength 3.5, two nodes and one link."
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1719,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"contextTokens": 3500,
|
||||
"taskLines": 38,
|
||||
"taskTokens": 423
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 1969,
|
||||
"lines": 41,
|
||||
"tokens": 321
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/M16-GAP-00014.md",
|
||||
"bytes": 1719,
|
||||
"lines": 38,
|
||||
"tokens": 423
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00013/manifest.json",
|
||||
"bytes": 2193,
|
||||
"lines": 58,
|
||||
"tokens": 549
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00013.md",
|
||||
"bytes": 1933,
|
||||
"lines": 26,
|
||||
"tokens": 484
|
||||
}
|
||||
],
|
||||
"totalTokens": 1777,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user