Govern task context and advance execution pointer
This commit is contained in:
25
tests/golden/M16-GAP-00024/manifest.json
Normal file
25
tests/golden/M16-GAP-00024/manifest.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00024",
|
||||
"parentTask": "M16-GAP-00023",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "TEXT_DATABLOCK_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {"path": "tests/golden/M16-GAP-00023/manifest.json", "sha256": "f845a8578a2ce9f106f0ca8ea02ef6ccddca87086e779eb7ddcf9fef5b8934f2"},
|
||||
"fixture": {"path": "tests/files/web/generated/M16-GAP-00024-datablock-Text.blend", "sha256": "7999f758dfbf7b5984f16464d1e5346d806c54c83ca68a583df54942c5e3b7d3"},
|
||||
"generator": {"path": "tools/web/generated/M16-GAP-00024.py", "sha256": "85a16b7ebb4b00dffdc9277d11780b744267e0c789e75844b2749517c23e8ebd"},
|
||||
"desktopChecker": {"path": "tools/web/check-text-desktop.py", "sha256": "9ff73dbca7389f05aaf4834c4fb5a734a5c2cb2ef5e1a65962edbc0662ce0557"},
|
||||
"webChecker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "1c655b9500d50d1c08bf3beb77bea93165c194dcca3bca2ed3fad9e503db18b6"},
|
||||
"reader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "c1dc68608100b359d9b6451cc02820849bd516b553bc91bd80e7cf50a8218ea9"},
|
||||
"protocol": {"path": "web/protocol/scene-ir.ts", "sha256": "ebf7c55085be0ae10f1c97efc4e0a4d487f79ced689810138ee80401995000e3"},
|
||||
"wasm": {"path": "web/app/src/vendor/blender/web_engine.wasm", "sha256": "3a757942bf7514850b1d6f6e1abc008aeea99640785fe60951ae18d3b3dcb301"},
|
||||
"wasmPublic": {"path": "web/app/public/vendor/blender/web_engine.wasm", "sha256": "3a757942bf7514850b1d6f6e1abc008aeea99640785fe60951ae18d3b3dcb301"},
|
||||
"wasmJs": {"path": "web/app/src/vendor/blender/web_engine.js", "sha256": "9c831d0351ac9d0714cce3b1da748cba416ced3086e3c59595cf24ac4da459ed"},
|
||||
"desktopReport": {"path": "tests/golden/M16-GAP-00024/text-desktop-report.json", "sha256": "50006b807fc8f41603e939f9f2748c4d5cacfcaa19a1c60a7270e9f9962b621c"},
|
||||
"webReport": {"path": "tests/golden/M16-GAP-00024/text-local-exact-report.json", "sha256": "73c22077cbbe47e1effd7c24d310e43010fbd48925587cb00efe507838b4f1eb"}
|
||||
},
|
||||
"nextTask": "M16-GAP-00025"
|
||||
}
|
||||
181
tests/golden/M16-GAP-00024/task-context.json
Normal file
181
tests/golden/M16-GAP-00024/task-context.json
Normal file
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00024",
|
||||
"parentTask": "M16-GAP-00023",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable datablock:Text 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:Text",
|
||||
"ownerFamily": "RNA_DATABLOCK",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00024.py -- tests/files/web/generated/M16-GAP-00024-datablock-Text.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00024",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00024"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tools/web/generated/M16-GAP-00024.py"
|
||||
],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 6045,
|
||||
"contextRemainingTokens": 1510
|
||||
},
|
||||
"source": {
|
||||
"bytes": 7955,
|
||||
"tokens": 1990
|
||||
},
|
||||
"selected": [
|
||||
{
|
||||
"path": "tools/web/generated/M16-GAP-00024.py",
|
||||
"bytes": 659,
|
||||
"tokens": 165
|
||||
}
|
||||
],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "tests/files/web/generated/M16-GAP-00024-datablock-Text.blend",
|
||||
"bytes": 85906,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"bytes": 219676,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tools/web/check-generated-gap.mjs",
|
||||
"bytes": 87542,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00024/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00024.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00024/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"files": 1,
|
||||
"bytes": 659,
|
||||
"tokens": 165
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"desktop fixture evidence exists",
|
||||
"WASM uses the same fixture",
|
||||
"comparator passes",
|
||||
"save/reopen preserves Main",
|
||||
"manifest hashes all artifacts"
|
||||
],
|
||||
"nextTask": "M16-GAP-00025",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00024.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00023/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00023.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00024.md",
|
||||
"tests/golden/M16-GAP-00023/manifest.json",
|
||||
"docs/status/M16-GAP-00023.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-00023",
|
||||
"parentTask": "M16-GAP-00022",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00024",
|
||||
"artifactCount": 12
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00023 Status",
|
||||
"status: done ",
|
||||
"task: Speaker data-block LOCAL_EXACT slice ",
|
||||
"updated: 2026-08-20 America/New_York",
|
||||
"scope: Blender 5.2 `Speaker` identity and bounded speaker resource fields through the same generated fixture in desktop and WASM/Main: linked sound identity, volume limits, distance controls, attenuation, cone controls, volume and pitch.",
|
||||
"evidence:",
|
||||
"- `tools/web/generated/M16-GAP-00023.py` deterministically creates `speaker:WebGapSpeaker` linked to `sound:WebGapSpeakerSound` and saves the Blend fixture.",
|
||||
"- Desktop reopen report matches exactly for the speaker identity, linked sound and all bounded fields."
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1719,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"taskLines": 38,
|
||||
"taskTokens": 430
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2168,
|
||||
"lines": 45,
|
||||
"tokens": 542
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/M16-GAP-00024.md",
|
||||
"bytes": 1719,
|
||||
"lines": 38,
|
||||
"tokens": 430
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00023/manifest.json",
|
||||
"bytes": 2145,
|
||||
"lines": 26,
|
||||
"tokens": 537
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00023.md",
|
||||
"bytes": 1923,
|
||||
"lines": 26,
|
||||
"tokens": 481
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1990,
|
||||
"evidenceFiles": 1,
|
||||
"evidenceBytes": 659,
|
||||
"evidenceTokens": 165,
|
||||
"totalTokens": 2155,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
21
tests/golden/M16-GAP-00024/text-desktop-report.json
Normal file
21
tests/golden/M16-GAP-00024/text-desktop-report.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00024-datablock-Text.blend",
|
||||
"fixtureSha256": "7999f758dfbf7b5984f16464d1e5346d806c54c83ca68a583df54942c5e3b7d3",
|
||||
"operation": "TEXT_DATABLOCK_DESKTOP",
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00024",
|
||||
"text": {
|
||||
"byteLength": 39,
|
||||
"id": "text:WebGapText",
|
||||
"internal": false,
|
||||
"isDirty": true,
|
||||
"lineCount": 3,
|
||||
"name": "WebGapText",
|
||||
"source": "Web Blender text datablock\nSecond line\n",
|
||||
"sourcePath": "//WebGapText.txt",
|
||||
"sourceSha256": "668dbf9bb49e80ef41a1850cf82dee8572ea18cafd73360c155f3f3f63a15f82",
|
||||
"useModule": false
|
||||
}
|
||||
}
|
||||
30
tests/golden/M16-GAP-00024/text-local-exact-report.json
Normal file
30
tests/golden/M16-GAP-00024/text-local-exact-report.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00024",
|
||||
"operation": "TEXT_DATABLOCK_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00024-datablock-Text.blend",
|
||||
"sha256": "7999f758dfbf7b5984f16464d1e5346d806c54c83ca68a583df54942c5e3b7d3"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00024/text-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"textId": "text:WebGapText",
|
||||
"sourceSha256": "668dbf9bb49e80ef41a1850cf82dee8572ea18cafd73360c155f3f3f63a15f82",
|
||||
"byteLength": 39,
|
||||
"lineCount": 3,
|
||||
"sourcePath": "//WebGapText.txt",
|
||||
"internal": false,
|
||||
"isDirty": true,
|
||||
"useModule": false
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00025"
|
||||
}
|
||||
Reference in New Issue
Block a user