Govern task context and advance execution pointer
This commit is contained in:
57
tests/golden/M16-GAP-00015/manifest.json
Normal file
57
tests/golden/M16-GAP-00015/manifest.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00015",
|
||||
"parentTask": "M16-GAP-00014",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "METABALL_DATABLOCK_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/M16-GAP-00014/manifest.json",
|
||||
"sha256": "97e0da40860f7095157068fd4545d7cd9c25ba94a68d56ab87e32b6fd032b655"
|
||||
},
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00015-datablock-MetaBall.blend",
|
||||
"sha256": "b4901e5c71f10b79a2061bf7599b43ff1b20b7df59f227aa78c1e66a38080b4f"
|
||||
},
|
||||
"generator": {
|
||||
"path": "tools/web/generated/M16-GAP-00015.py",
|
||||
"sha256": "db1da7ca090d37b6590eab38f49cbcac9972e7ade1966d78f316048c6b0acf54"
|
||||
},
|
||||
"desktopChecker": {
|
||||
"path": "tools/web/check-metaball-desktop.py",
|
||||
"sha256": "77a03db581b17eda4219b42ffbf18e5d1809dfb3bf45f3ac0c0051f27934dc0c"
|
||||
},
|
||||
"webChecker": {
|
||||
"path": "tools/web/check-generated-gap.mjs",
|
||||
"sha256": "ead5bd538ba919fa51ec303d1d1af5ae0f648b1453c02d20383824dcfd9da12f"
|
||||
},
|
||||
"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-00015/metaball-desktop-report.json",
|
||||
"sha256": "5b2b7d79397675792bf54b568646a1714f75fab355049e7227f634403345c74c"
|
||||
},
|
||||
"webReport": {
|
||||
"path": "tests/golden/M16-GAP-00015/metaball-local-exact-report.json",
|
||||
"sha256": "7253a7de7d2aad035ef38cceee33c0bd04ca743f181f28ac740e09799684a636"
|
||||
}
|
||||
},
|
||||
"nextTask": "M16-GAP-00016"
|
||||
}
|
||||
44
tests/golden/M16-GAP-00015/metaball-desktop-report.json
Normal file
44
tests/golden/M16-GAP-00015/metaball-desktop-report.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00015-datablock-MetaBall.blend",
|
||||
"fixtureSha256": "b4901e5c71f10b79a2061bf7599b43ff1b20b7df59f227aa78c1e66a38080b4f",
|
||||
"metaball": {
|
||||
"elements": [
|
||||
{
|
||||
"position": [
|
||||
-0.65,
|
||||
0.0,
|
||||
0.4
|
||||
],
|
||||
"radius": 0.75,
|
||||
"scale": [
|
||||
1.1,
|
||||
0.9,
|
||||
1.2
|
||||
]
|
||||
},
|
||||
{
|
||||
"position": [
|
||||
0.65,
|
||||
0.0,
|
||||
0.4
|
||||
],
|
||||
"radius": 0.55,
|
||||
"scale": [
|
||||
0.8,
|
||||
1.05,
|
||||
0.95
|
||||
]
|
||||
}
|
||||
],
|
||||
"id": "metaball:WebGapMetaBall",
|
||||
"name": "WebGapMetaBall",
|
||||
"pointCount": 2,
|
||||
"renderResolution": 0.1,
|
||||
"resolution": 0.2
|
||||
},
|
||||
"operation": "METABALL_DATABLOCK_DESKTOP",
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00015"
|
||||
}
|
||||
25
tests/golden/M16-GAP-00015/metaball-local-exact-report.json
Normal file
25
tests/golden/M16-GAP-00015/metaball-local-exact-report.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00015",
|
||||
"operation": "METABALL_DATABLOCK_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00015-datablock-MetaBall.blend",
|
||||
"sha256": "b4901e5c71f10b79a2061bf7599b43ff1b20b7df59f227aa78c1e66a38080b4f"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00015/metaball-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"metaballId": "metaball:WebGapMetaBall",
|
||||
"pointCount": 2,
|
||||
"elementHash": "66c3dfc873f22b9ae92ff3ad96eebe3d98e8f31a58a026315544180c67f430bb"
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00016"
|
||||
}
|
||||
124
tests/golden/M16-GAP-00015/task-context.json
Normal file
124
tests/golden/M16-GAP-00015/task-context.json
Normal file
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00015",
|
||||
"parentTask": "M16-GAP-00014",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable datablock:MetaBall 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:MetaBall",
|
||||
"ownerFamily": "RNA_DATABLOCK",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00015.py -- tests/files/web/generated/M16-GAP-00015-datablock-MetaBall.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00015",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00015"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tests/files/web/generated/M16-GAP-00015-datablock-MetaBall.blend",
|
||||
"tools/web/generated/M16-GAP-00015.py",
|
||||
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"tools/web/check-generated-gap.mjs",
|
||||
"tests/golden/M16-GAP-00015/",
|
||||
"docs/status/M16-GAP-00015.md",
|
||||
"tests/golden/M16-GAP-00015/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-00016",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00015.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00014/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00014.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00015.md",
|
||||
"tests/golden/M16-GAP-00014/manifest.json",
|
||||
"docs/status/M16-GAP-00014.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-00014",
|
||||
"parentTask": "M16-GAP-00013",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00015",
|
||||
"artifactCount": 11
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00014 Status",
|
||||
"status: done ",
|
||||
"task: Mesh data-block LOCAL_EXACT slice ",
|
||||
"updated: 2026-08-19 America/New_York",
|
||||
"scope: Blender 5.2 Mesh geometry metadata for one quad: counts, triangulated indices, positions, UV layer identity and UV values.",
|
||||
"evidence:",
|
||||
"- `tools/web/generated/M16-GAP-00014.py` generated a retained `WebGapMesh` quad with four vertices, one face and one `WebGapUV` layer.",
|
||||
"- Desktop report reopened after save and matched exactly: 4 vertices, 4 edges, 1 face, 4 corners, 2 triangles, deterministic positions/indices and UV values."
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1739,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"contextTokens": 3500,
|
||||
"taskLines": 38,
|
||||
"taskTokens": 428
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 1969,
|
||||
"lines": 41,
|
||||
"tokens": 321
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/M16-GAP-00015.md",
|
||||
"bytes": 1739,
|
||||
"lines": 38,
|
||||
"tokens": 428
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00014/manifest.json",
|
||||
"bytes": 2173,
|
||||
"lines": 58,
|
||||
"tokens": 544
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00014.md",
|
||||
"bytes": 1760,
|
||||
"lines": 26,
|
||||
"tokens": 440
|
||||
}
|
||||
],
|
||||
"totalTokens": 1733,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user