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-00061-modifier-GREASE_PENCIL_OUTLINE.blend",
|
||||
"fixtureSha256": "6e81096d309df5ada76b5bdd7c9b1b3d5399081500939e7e9dc1777c9c720401",
|
||||
"modifier": {
|
||||
"modifier": {
|
||||
"name": "Gp Outline",
|
||||
"showEditMode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_OUTLINE",
|
||||
"typeCode": 82
|
||||
},
|
||||
"objectId": "object:GreasePencilObject",
|
||||
"task": "M16-GAP-00061"
|
||||
},
|
||||
"operation": "GREASE_PENCIL_OUTLINE_MODIFIER_DESKTOP",
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00061"
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00061",
|
||||
"operation": "GREASE_PENCIL_OUTLINE_MODIFIER_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00061-modifier-GREASE_PENCIL_OUTLINE.blend",
|
||||
"sha256": "6e81096d309df5ada76b5bdd7c9b1b3d5399081500939e7e9dc1777c9c720401"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00061/grease-pencil-outline-modifier-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"objectId": "object:GreasePencilObject",
|
||||
"modifier": {
|
||||
"dependsOn": [
|
||||
"modifier:object:GreasePencilObject:24051249"
|
||||
],
|
||||
"enabled": false,
|
||||
"evaluationStatus": "BLOCKED",
|
||||
"name": "Gp Outline",
|
||||
"parameters": {
|
||||
"flag": 1,
|
||||
"mode": 6,
|
||||
"persistentUid": 866027982,
|
||||
"typeCode": 82
|
||||
},
|
||||
"showEditMode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_OUTLINE",
|
||||
"uuid": "modifier:object:GreasePencilObject:866027982"
|
||||
}
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00062"
|
||||
}
|
||||
24
tests/golden/M16-GAP-00061/manifest.json
Normal file
24
tests/golden/M16-GAP-00061/manifest.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00061",
|
||||
"parentTask": "M16-GAP-00060",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "GREASE_PENCIL_OUTLINE_MODIFIER_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {"path": "tests/golden/M16-GAP-00060/manifest.json", "sha256": "e3715c32ca4bae6376396b321826841ad38751301a184154db024233c4f31069"},
|
||||
"fixture": {"path": "tests/files/web/generated/M16-GAP-00061-modifier-GREASE_PENCIL_OUTLINE.blend", "sha256": "6e81096d309df5ada76b5bdd7c9b1b3d5399081500939e7e9dc1777c9c720401"},
|
||||
"generator": {"path": "tools/web/generated/M16-GAP-00061.py", "sha256": "d99b89a5f9daaa8a454abd747b4903f0391ad21af6b315a46cd92bbcaf08ac7d"},
|
||||
"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-00061/grease-pencil-outline-modifier-desktop-report.json", "sha256": "2a6994ca45c8262a592cedb8deb8f026d366ee2df3bfe6ea0d375e8e214ba6c0"},
|
||||
"webReport": {"path": "tests/golden/M16-GAP-00061/grease-pencil-outline-modifier-local-exact-report.json", "sha256": "f490b2dc9b173a3172529ab529889a3292fe39f0cbd3951baaee8566464a0c43"}
|
||||
},
|
||||
"nextTask": "M16-GAP-00062"
|
||||
}
|
||||
181
tests/golden/M16-GAP-00061/task-context.json
Normal file
181
tests/golden/M16-GAP-00061/task-context.json
Normal file
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00061",
|
||||
"parentTask": "M16-GAP-00060",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable modifier:GREASE_PENCIL_OUTLINE 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_OUTLINE",
|
||||
"ownerFamily": "MODIFIER",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00061.py -- tests/files/web/generated/M16-GAP-00061-modifier-GREASE_PENCIL_OUTLINE.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00061",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00061"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tools/web/generated/M16-GAP-00061.py"
|
||||
],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 7289,
|
||||
"contextRemainingTokens": 1821
|
||||
},
|
||||
"source": {
|
||||
"bytes": 6711,
|
||||
"tokens": 1679
|
||||
},
|
||||
"selected": [
|
||||
{
|
||||
"path": "tools/web/generated/M16-GAP-00061.py",
|
||||
"bytes": 535,
|
||||
"tokens": 134
|
||||
}
|
||||
],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "tests/files/web/generated/M16-GAP-00061-modifier-GREASE_PENCIL_OUTLINE.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-00061/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00061.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00061/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-00062",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00061.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00060/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00060.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00061.md",
|
||||
"tests/golden/M16-GAP-00060/manifest.json",
|
||||
"docs/status/M16-GAP-00060.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-00060",
|
||||
"parentTask": "M16-GAP-00059",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00061",
|
||||
"artifactCount": 11
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00060 Status",
|
||||
"status: done ",
|
||||
"task: GREASE_PENCIL_OPACITY modifier LOCAL_EXACT slice ",
|
||||
"updated: 2026-08-20 America/New_York",
|
||||
"scope: Grease Pencil OPACITY modifier stack exposure for `object:GreasePencilObject`.",
|
||||
"evidence:",
|
||||
"- Desktop fixture exposes `Gp Opacity`; save/reopen is exact.",
|
||||
"- WASM/Main exposes `GREASE_PENCIL_OPACITY` on the object scene node; save/reopen is exact."
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1794,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"taskLines": 38,
|
||||
"taskTokens": 449
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2168,
|
||||
"lines": 45,
|
||||
"tokens": 542
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/M16-GAP-00061.md",
|
||||
"bytes": 1794,
|
||||
"lines": 38,
|
||||
"tokens": 449
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00060/manifest.json",
|
||||
"bytes": 2094,
|
||||
"lines": 25,
|
||||
"tokens": 524
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00060.md",
|
||||
"bytes": 655,
|
||||
"lines": 19,
|
||||
"tokens": 164
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1679,
|
||||
"evidenceFiles": 1,
|
||||
"evidenceBytes": 535,
|
||||
"evidenceTokens": 134,
|
||||
"totalTokens": 1813,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user