Govern task context and advance execution pointer
This commit is contained in:
25
tests/golden/M16-GAP-00025/manifest.json
Normal file
25
tests/golden/M16-GAP-00025/manifest.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00025",
|
||||
"parentTask": "M16-GAP-00024",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "TEXTURE_DATABLOCK_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {"path": "tests/golden/M16-GAP-00024/manifest.json", "sha256": "681be76208e29366e616a4d8fa51f15e05ec27d2e60b46b140053646468f759d"},
|
||||
"fixture": {"path": "tests/files/web/generated/M16-GAP-00025-datablock-Texture.blend", "sha256": "482857e3b3868f7d4dc87d9b53c5552d10d608ed26a301cc5a6a080b275651c2"},
|
||||
"generator": {"path": "tools/web/generated/M16-GAP-00025.py", "sha256": "849dddfddf9841b866cf2531af3f74b3fc42b5b6303eaa5f2273cba2a0b1cee0"},
|
||||
"desktopChecker": {"path": "tools/web/check-texture-desktop.py", "sha256": "a91f9f69d389df79d7292e75ad64bd7a65a19bab063bac2ba311342b7d4fbb03"},
|
||||
"webChecker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "aaa9ead20a4b7f8d50acf93af7f4ea3a791de8996f75d7f6321278959d3689fe"},
|
||||
"reader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "2a15121e4fa1cb8f04c0112458d5ef0fa92ed92d1efc49e1b938d2c00cfe58da"},
|
||||
"protocol": {"path": "web/protocol/scene-ir.ts", "sha256": "1dae06614aea42c97949b7f13f0d38663e8fce1eb18d475bf1479e326064b16f"},
|
||||
"wasm": {"path": "web/app/src/vendor/blender/web_engine.wasm", "sha256": "43d84158eaeec907c5f04018ceb4e3a6948860243a619f0d035be3c5c6a63a5a"},
|
||||
"wasmPublic": {"path": "web/app/public/vendor/blender/web_engine.wasm", "sha256": "43d84158eaeec907c5f04018ceb4e3a6948860243a619f0d035be3c5c6a63a5a"},
|
||||
"wasmJs": {"path": "web/app/src/vendor/blender/web_engine.js", "sha256": "9c831d0351ac9d0714cce3b1da748cba416ced3086e3c59595cf24ac4da459ed"},
|
||||
"desktopReport": {"path": "tests/golden/M16-GAP-00025/texture-desktop-report.json", "sha256": "ead3d25554f69580a272c3a4c45139632592ba2ca83370c79174683b2c7a982a"},
|
||||
"webReport": {"path": "tests/golden/M16-GAP-00025/texture-local-exact-report.json", "sha256": "4e503817eb7053370b627cc9a2edb03fc2ac8b8919534a90064133eaf9e0f4e7"}
|
||||
},
|
||||
"nextTask": "M16-GAP-00026"
|
||||
}
|
||||
181
tests/golden/M16-GAP-00025/task-context.json
Normal file
181
tests/golden/M16-GAP-00025/task-context.json
Normal file
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00025",
|
||||
"parentTask": "M16-GAP-00024",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable datablock:Texture 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:Texture",
|
||||
"ownerFamily": "RNA_DATABLOCK",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00025.py -- tests/files/web/generated/M16-GAP-00025-datablock-Texture.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00025",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00025"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tools/web/generated/M16-GAP-00025.py"
|
||||
],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 5979,
|
||||
"contextRemainingTokens": 1493
|
||||
},
|
||||
"source": {
|
||||
"bytes": 8021,
|
||||
"tokens": 2007
|
||||
},
|
||||
"selected": [
|
||||
{
|
||||
"path": "tools/web/generated/M16-GAP-00025.py",
|
||||
"bytes": 732,
|
||||
"tokens": 183
|
||||
}
|
||||
],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "tests/files/web/generated/M16-GAP-00025-datablock-Texture.blend",
|
||||
"bytes": 85833,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"bytes": 220590,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tools/web/check-generated-gap.mjs",
|
||||
"bytes": 90919,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00025/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00025.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00025/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"files": 1,
|
||||
"bytes": 732,
|
||||
"tokens": 183
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"desktop fixture evidence exists",
|
||||
"WASM uses the same fixture",
|
||||
"comparator passes",
|
||||
"save/reopen preserves Main",
|
||||
"manifest hashes all artifacts"
|
||||
],
|
||||
"nextTask": "M16-GAP-00026",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00025.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00024/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00024.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00025.md",
|
||||
"tests/golden/M16-GAP-00024/manifest.json",
|
||||
"docs/status/M16-GAP-00024.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-00024",
|
||||
"parentTask": "M16-GAP-00023",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00025",
|
||||
"artifactCount": 12
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00024 Status",
|
||||
"status: done ",
|
||||
"task: Text data-block LOCAL_EXACT slice ",
|
||||
"updated: 2026-08-20 America/New_York",
|
||||
"scope: Blender 5.2 `Text` identity and bounded internal text resource fields through the same generated fixture in desktop and WASM/Main: source content, SHA-256, UTF-8 byte length, line count, path, internal state, dirty state and module flag.",
|
||||
"evidence:",
|
||||
"- `tools/web/generated/M16-GAP-00024.py` deterministically creates `text:WebGapText` with two text lines and project-relative filepath.",
|
||||
"- Desktop reopen report matches exactly: source hash `668dbf...15f82`, 39 UTF-8 bytes, three stored lines, `//WebGapText.txt`, and stable flags."
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1734,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"taskLines": 38,
|
||||
"taskTokens": 434
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2168,
|
||||
"lines": 45,
|
||||
"tokens": 542
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/M16-GAP-00025.md",
|
||||
"bytes": 1734,
|
||||
"lines": 38,
|
||||
"tokens": 434
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00024/manifest.json",
|
||||
"bytes": 2130,
|
||||
"lines": 26,
|
||||
"tokens": 533
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00024.md",
|
||||
"bytes": 1989,
|
||||
"lines": 27,
|
||||
"tokens": 498
|
||||
}
|
||||
],
|
||||
"sourceTokens": 2007,
|
||||
"evidenceFiles": 1,
|
||||
"evidenceBytes": 732,
|
||||
"evidenceTokens": 183,
|
||||
"totalTokens": 2190,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
19
tests/golden/M16-GAP-00025/texture-desktop-report.json
Normal file
19
tests/golden/M16-GAP-00025/texture-desktop-report.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00025-datablock-Texture.blend",
|
||||
"fixtureSha256": "482857e3b3868f7d4dc87d9b53c5552d10d608ed26a301cc5a6a080b275651c2",
|
||||
"operation": "TEXTURE_DATABLOCK_DESKTOP",
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00025",
|
||||
"texture": {
|
||||
"contrast": 1.25,
|
||||
"id": "texture:WebGapTexture",
|
||||
"intensity": 0.7200000286102295,
|
||||
"name": "WebGapTexture",
|
||||
"noiseDepth": 4,
|
||||
"noiseScale": 0.41999998688697815,
|
||||
"saturation": 0.800000011920929,
|
||||
"type": 1
|
||||
}
|
||||
}
|
||||
29
tests/golden/M16-GAP-00025/texture-local-exact-report.json
Normal file
29
tests/golden/M16-GAP-00025/texture-local-exact-report.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00025",
|
||||
"operation": "TEXTURE_DATABLOCK_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00025-datablock-Texture.blend",
|
||||
"sha256": "482857e3b3868f7d4dc87d9b53c5552d10d608ed26a301cc5a6a080b275651c2"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00025/texture-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"textureId": "texture:WebGapTexture",
|
||||
"type": 1,
|
||||
"noiseScale": 0.41999998688697815,
|
||||
"noiseDepth": 4,
|
||||
"intensity": 0.7200000286102295,
|
||||
"contrast": 1.25,
|
||||
"saturation": 0.800000011920929
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00026"
|
||||
}
|
||||
Reference in New Issue
Block a user