Govern task context and advance execution pointer
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00067-modifier-GREASE_PENCIL_THICKNESS.blend",
|
||||
"fixtureSha256": "6e81096d309df5ada76b5bdd7c9b1b3d5399081500939e7e9dc1777c9c720401",
|
||||
"modifier": {
|
||||
"modifier": {
|
||||
"name": "Gp Thickness",
|
||||
"showEditMode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_THICKNESS",
|
||||
"typeCode": 69
|
||||
},
|
||||
"objectId": "object:GreasePencilObject",
|
||||
"task": "M16-GAP-00067"
|
||||
},
|
||||
"operation": "GREASE_PENCIL_THICKNESS_MODIFIER_DESKTOP",
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00067"
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00067",
|
||||
"operation": "GREASE_PENCIL_THICKNESS_MODIFIER_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00067-modifier-GREASE_PENCIL_THICKNESS.blend",
|
||||
"sha256": "6e81096d309df5ada76b5bdd7c9b1b3d5399081500939e7e9dc1777c9c720401"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00067/grease-pencil-thickness-modifier-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"objectId": "object:GreasePencilObject",
|
||||
"modifier": {
|
||||
"dependsOn": [
|
||||
"modifier:object:GreasePencilObject:1309951243"
|
||||
],
|
||||
"enabled": false,
|
||||
"evaluationStatus": "BLOCKED",
|
||||
"name": "Gp Thickness",
|
||||
"parameters": {
|
||||
"flag": 1,
|
||||
"mode": 6,
|
||||
"persistentUid": 1322899884,
|
||||
"typeCode": 69
|
||||
},
|
||||
"showEditMode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_THICKNESS",
|
||||
"uuid": "modifier:object:GreasePencilObject:1322899884"
|
||||
}
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00068"
|
||||
}
|
||||
24
tests/golden/M16-GAP-00067/manifest.json
Normal file
24
tests/golden/M16-GAP-00067/manifest.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00067",
|
||||
"parentTask": "M16-GAP-00066",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "GREASE_PENCIL_THICKNESS_MODIFIER_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {"path": "tests/golden/M16-GAP-00066/manifest.json", "sha256": "3dfb0fc8a218a3209fee25799df265761e06ce2a8ca161fd07c015f33ae3e144"},
|
||||
"fixture": {"path": "tests/files/web/generated/M16-GAP-00067-modifier-GREASE_PENCIL_THICKNESS.blend", "sha256": "6e81096d309df5ada76b5bdd7c9b1b3d5399081500939e7e9dc1777c9c720401"},
|
||||
"generator": {"path": "tools/web/generated/M16-GAP-00067.py", "sha256": "89a64c14a4b1007dc3011bde0b5cb27c4bf77bbffd7ae3e89c5f6aac30f40cb9"},
|
||||
"desktopChecker": {"path": "tools/web/check-generic-modifier-desktop.py", "sha256": "3a372e870f14c4559ee921aef1fbe086eccd609a0af5917e5b4872468ca22e51"},
|
||||
"webChecker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "3f82ae54142cdae93c0d65765b2b8f3b46b8bbbe4c838f3a21365dc86d0e56ed"},
|
||||
"reader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "aab9b87b27c53777578bacda0b9e5a7e967de81e2b30131d42d1760c1c0f6b19"},
|
||||
"wasm": {"path": "web/app/src/vendor/blender/web_engine.wasm", "sha256": "e3d53ba8f26287ce1f62308962af1c5e6c80213b4fee289d0a1fb4c3c4135c45"},
|
||||
"wasmPublic": {"path": "web/app/public/vendor/blender/web_engine.wasm", "sha256": "e3d53ba8f26287ce1f62308962af1c5e6c80213b4fee289d0a1fb4c3c4135c45"},
|
||||
"wasmJs": {"path": "web/app/src/vendor/blender/web_engine.js", "sha256": "9c831d0351ac9d0714cce3b1da748cba416ced3086e3c59595cf24ac4da459ed"},
|
||||
"desktopReport": {"path": "tests/golden/M16-GAP-00067/grease-pencil-thickness-modifier-desktop-report.json", "sha256": "664ec1a6c595fcb5fac0888ae866f70a48ef5d057035c5c614ed0d97a9d08108"},
|
||||
"webReport": {"path": "tests/golden/M16-GAP-00067/grease-pencil-thickness-modifier-local-exact-report.json", "sha256": "6e1eee5cf87df42fc94c144f5171f9653df4196372eccd001cef6907ef518e94"}
|
||||
},
|
||||
"nextTask": "M16-GAP-00068"
|
||||
}
|
||||
181
tests/golden/M16-GAP-00067/task-context.json
Normal file
181
tests/golden/M16-GAP-00067/task-context.json
Normal file
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00067",
|
||||
"parentTask": "M16-GAP-00066",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable modifier:GREASE_PENCIL_THICKNESS 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": "modifier:GREASE_PENCIL_THICKNESS",
|
||||
"ownerFamily": "MODIFIER",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00067.py -- tests/files/web/generated/M16-GAP-00067-modifier-GREASE_PENCIL_THICKNESS.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00067",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00067"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tools/web/generated/M16-GAP-00067.py"
|
||||
],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 7279,
|
||||
"contextRemainingTokens": 1819
|
||||
},
|
||||
"source": {
|
||||
"bytes": 6721,
|
||||
"tokens": 1681
|
||||
},
|
||||
"selected": [
|
||||
{
|
||||
"path": "tools/web/generated/M16-GAP-00067.py",
|
||||
"bytes": 535,
|
||||
"tokens": 134
|
||||
}
|
||||
],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "tests/files/web/generated/M16-GAP-00067-modifier-GREASE_PENCIL_THICKNESS.blend",
|
||||
"bytes": 87791,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"bytes": 221334,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tools/web/check-generated-gap.mjs",
|
||||
"bytes": 138829,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00067/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00067.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00067/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"files": 1,
|
||||
"bytes": 535,
|
||||
"tokens": 134
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"desktop fixture evidence exists",
|
||||
"WASM uses the same fixture",
|
||||
"comparator passes",
|
||||
"save/reopen preserves Main",
|
||||
"manifest hashes all artifacts"
|
||||
],
|
||||
"nextTask": "M16-GAP-00068",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00067.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00066/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00066.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00067.md",
|
||||
"tests/golden/M16-GAP-00066/manifest.json",
|
||||
"docs/status/M16-GAP-00066.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-00066",
|
||||
"parentTask": "M16-GAP-00065",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00067",
|
||||
"artifactCount": 11
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00066 Status",
|
||||
"status: done ",
|
||||
"task: GREASE_PENCIL_TEXTURE modifier LOCAL_EXACT slice ",
|
||||
"updated: 2026-08-20 America/New_York",
|
||||
"scope: Grease Pencil TEXTURE modifier stack exposure for `object:GreasePencilObject`.",
|
||||
"evidence:",
|
||||
"- Desktop fixture exposes `Gp Texture`; save/reopen is exact.",
|
||||
"- WASM/Main exposes `GREASE_PENCIL_TEXTURE` on the object scene node; save/reopen is exact."
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1804,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"taskLines": 38,
|
||||
"taskTokens": 451
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2168,
|
||||
"lines": 45,
|
||||
"tokens": 542
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/M16-GAP-00067.md",
|
||||
"bytes": 1804,
|
||||
"lines": 38,
|
||||
"tokens": 451
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00066/manifest.json",
|
||||
"bytes": 2094,
|
||||
"lines": 25,
|
||||
"tokens": 524
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00066.md",
|
||||
"bytes": 655,
|
||||
"lines": 19,
|
||||
"tokens": 164
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1681,
|
||||
"evidenceFiles": 1,
|
||||
"evidenceBytes": 535,
|
||||
"evidenceTokens": 134,
|
||||
"totalTokens": 1815,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user