Govern task context and advance execution pointer
This commit is contained in:
25
tests/golden/M16-GAP-00028/manifest.json
Normal file
25
tests/golden/M16-GAP-00028/manifest.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00028",
|
||||
"parentTask": "M16-GAP-00027",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "WORKSPACE_DATABLOCK_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {"path": "tests/golden/M16-GAP-00027/manifest.json", "sha256": "1feb7365ae2590ada5408d47075d8151e9c023918b4822668619b4ba7c07f8e3"},
|
||||
"fixture": {"path": "tests/files/web/generated/M16-GAP-00028-datablock-WorkSpace.blend", "sha256": "fbb4fc85b46a30dd8913e5d2d75b73688cef1a3f64861337c7fbd94a687c87df"},
|
||||
"generator": {"path": "tools/web/generated/M16-GAP-00028.py", "sha256": "6d1a74f7340820917461720442888c5a705ac8140d6ad0d4809aace082c27469"},
|
||||
"desktopChecker": {"path": "tools/web/check-workspace-desktop.py", "sha256": "5e01f8a7802eface955fcb0396c99a3f0c2570751bb672cd2b3401389e80cf08"},
|
||||
"webChecker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "9beda9925a369ce09e2aa0f6955be2b3df158fab70a8e62343fae230a1357198"},
|
||||
"reader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "1f962be51a8201d1d0a119761a51de7864fbda4e553a13dcf7b14f19fbec79db"},
|
||||
"protocol": {"path": "web/protocol/scene-ir.ts", "sha256": "196950e7a0dab3d6e5cbf0015bf7e45665cbd957e0762db4467bf3551064e838"},
|
||||
"wasm": {"path": "web/app/src/vendor/blender/web_engine.wasm", "sha256": "bf5361e4b5e3e2105b59494c548617b463063e64a340398494cde77632b9424c"},
|
||||
"wasmPublic": {"path": "web/app/public/vendor/blender/web_engine.wasm", "sha256": "bf5361e4b5e3e2105b59494c548617b463063e64a340398494cde77632b9424c"},
|
||||
"wasmJs": {"path": "web/app/src/vendor/blender/web_engine.js", "sha256": "9c831d0351ac9d0714cce3b1da748cba416ced3086e3c59595cf24ac4da459ed"},
|
||||
"desktopReport": {"path": "tests/golden/M16-GAP-00028/workspace-desktop-report.json", "sha256": "4ab3274ecfcd512964db37e661f8b5e8c53077687094115c11dab4fbe39a12b9"},
|
||||
"webReport": {"path": "tests/golden/M16-GAP-00028/workspace-local-exact-report.json", "sha256": "3b12cbb0533284f29ad1d0f4659ecd1ce128ae5b24545610819f994252b79e6d"}
|
||||
},
|
||||
"nextTask": "M16-GAP-00029"
|
||||
}
|
||||
181
tests/golden/M16-GAP-00028/task-context.json
Normal file
181
tests/golden/M16-GAP-00028/task-context.json
Normal file
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00028",
|
||||
"parentTask": "M16-GAP-00027",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable datablock:WorkSpace 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:WorkSpace",
|
||||
"ownerFamily": "RNA_DATABLOCK",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00028.py -- tests/files/web/generated/M16-GAP-00028-datablock-WorkSpace.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00028",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00028"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tools/web/generated/M16-GAP-00028.py"
|
||||
],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 7139,
|
||||
"contextRemainingTokens": 1784
|
||||
},
|
||||
"source": {
|
||||
"bytes": 6861,
|
||||
"tokens": 1716
|
||||
},
|
||||
"selected": [
|
||||
{
|
||||
"path": "tools/web/generated/M16-GAP-00028.py",
|
||||
"bytes": 627,
|
||||
"tokens": 157
|
||||
}
|
||||
],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "tests/files/web/generated/M16-GAP-00028-datablock-WorkSpace.blend",
|
||||
"bytes": 85705,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"bytes": 221094,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tools/web/check-generated-gap.mjs",
|
||||
"bytes": 99845,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00028/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00028.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00028/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"files": 1,
|
||||
"bytes": 627,
|
||||
"tokens": 157
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"desktop fixture evidence exists",
|
||||
"WASM uses the same fixture",
|
||||
"comparator passes",
|
||||
"save/reopen preserves Main",
|
||||
"manifest hashes all artifacts"
|
||||
],
|
||||
"nextTask": "M16-GAP-00029",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00028.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00027/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00027.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00028.md",
|
||||
"tests/golden/M16-GAP-00027/manifest.json",
|
||||
"docs/status/M16-GAP-00027.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-00027",
|
||||
"parentTask": "M16-GAP-00026",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00028",
|
||||
"artifactCount": 12
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00027 Status",
|
||||
"status: done ",
|
||||
"task: WindowManager data-block LOCAL_EXACT slice ",
|
||||
"updated: 2026-08-20 America/New_York",
|
||||
"scope: Headless `WindowManager` identity and bounded runtime state: manager identity/name, preset name, window count and interface lock state.",
|
||||
"evidence:",
|
||||
"- Desktop fixture and reopen report are exact: `window-manager:WinMan`, preset `New Preset`, one window, interface unlocked.",
|
||||
"- WASM/Main exposes the same bounded `windowManager` resource, save/reopen is exact, and malformed Blend input leaves Main unchanged."
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1744,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"taskLines": 38,
|
||||
"taskTokens": 436
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2168,
|
||||
"lines": 45,
|
||||
"tokens": 542
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/M16-GAP-00028.md",
|
||||
"bytes": 1744,
|
||||
"lines": 38,
|
||||
"tokens": 436
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00027/manifest.json",
|
||||
"bytes": 2179,
|
||||
"lines": 26,
|
||||
"tokens": 545
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00027.md",
|
||||
"bytes": 770,
|
||||
"lines": 18,
|
||||
"tokens": 193
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1716,
|
||||
"evidenceFiles": 1,
|
||||
"evidenceBytes": 627,
|
||||
"evidenceTokens": 157,
|
||||
"totalTokens": 1873,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
14
tests/golden/M16-GAP-00028/workspace-desktop-report.json
Normal file
14
tests/golden/M16-GAP-00028/workspace-desktop-report.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00028-datablock-WorkSpace.blend",
|
||||
"fixtureSha256": "fbb4fc85b46a30dd8913e5d2d75b73688cef1a3f64861337c7fbd94a687c87df",
|
||||
"operation": "WORKSPACE_DATABLOCK_DESKTOP",
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00028",
|
||||
"workspace": {
|
||||
"id": "workspace:WebGapWorkspace",
|
||||
"name": "WebGapWorkspace",
|
||||
"screenCount": 1
|
||||
}
|
||||
}
|
||||
27
tests/golden/M16-GAP-00028/workspace-local-exact-report.json
Normal file
27
tests/golden/M16-GAP-00028/workspace-local-exact-report.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00028",
|
||||
"operation": "WORKSPACE_DATABLOCK_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00028-datablock-WorkSpace.blend",
|
||||
"sha256": "fbb4fc85b46a30dd8913e5d2d75b73688cef1a3f64861337c7fbd94a687c87df"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00028/workspace-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"workspace": {
|
||||
"id": "workspace:WebGapWorkspace",
|
||||
"name": "WebGapWorkspace",
|
||||
"screenCount": 1
|
||||
}
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00029"
|
||||
}
|
||||
Reference in New Issue
Block a user