Govern task context and advance execution pointer
This commit is contained in:
25
tests/golden/M16-GAP-00022/manifest.json
Normal file
25
tests/golden/M16-GAP-00022/manifest.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00022",
|
||||
"parentTask": "M16-GAP-00021",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "SOUND_DATABLOCK_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {"path": "tests/golden/M16-GAP-00021/manifest.json", "sha256": "e56411fd47be3a03814560e9b8e1d6ece0e5e5a50cbdb44256e20e0976daea54"},
|
||||
"fixture": {"path": "tests/files/web/generated/M16-GAP-00022-datablock-Sound.blend", "sha256": "42785a635a7ac560a01e00135555c31e20a60c454ffb62a466da25ddbe3b5c39"},
|
||||
"generator": {"path": "tools/web/generated/M16-GAP-00022.py", "sha256": "10ef16727dfee1c69ea7e6b48f151016cc02a18a6586c478c286be2ed0c7a3ea"},
|
||||
"desktopChecker": {"path": "tools/web/check-sound-desktop.py", "sha256": "aeeebdac9d14740843cc703150143087b7985138372ac1278fd3894e850c1ab7"},
|
||||
"webChecker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "a9fc6a8b9fbe567a20b68b794f57eca1a383e6637146e5513d7f79a8f7b"},
|
||||
"reader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "4651844c5e9c4e00ee1186f102a78d86d184df8980409d73825ee2449e25eb77"},
|
||||
"protocol": {"path": "web/protocol/scene-ir.ts", "sha256": "841b33000ca9b1bca24a029a1a5d82afc653189f8209865a66bdfa58716833a7"},
|
||||
"wasm": {"path": "web/app/src/vendor/blender/web_engine.wasm", "sha256": "1e01c786313bd4b20748a2eb474c350c9b9ab1a0a216f2c6362405a9fc20a5da"},
|
||||
"wasmPublic": {"path": "web/app/public/vendor/blender/web_engine.wasm", "sha256": "1e01c786313bd4b20748a2eb474c350c9b9ab1a0a216f2c6362405a9fc20a5da"},
|
||||
"wasmJs": {"path": "web/app/src/vendor/blender/web_engine.js", "sha256": "9c831d0351ac9d0714cce3b1da748cba416ced3086e3c59595cf24ac4da459ed"},
|
||||
"desktopReport": {"path": "tests/golden/M16-GAP-00022/sound-desktop-report.json", "sha256": "cb23ace7920d6762f931296701a596f3453ccfa7e966447d0efa198b92d65a69"},
|
||||
"webReport": {"path": "tests/golden/M16-GAP-00022/sound-local-exact-report.json", "sha256": "741b67484c81c156c51b5b88e52f32d5e0114292dcbe689c641d2670cd4e82bd"}
|
||||
},
|
||||
"nextTask": "M16-GAP-00023"
|
||||
}
|
||||
19
tests/golden/M16-GAP-00022/sound-desktop-report.json
Normal file
19
tests/golden/M16-GAP-00022/sound-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-00022-datablock-Sound.blend",
|
||||
"fixtureSha256": "42785a635a7ac560a01e00135555c31e20a60c454ffb62a466da25ddbe3b5c39",
|
||||
"operation": "SOUND_DATABLOCK_DESKTOP",
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"sound": {
|
||||
"audioChannels": 1,
|
||||
"id": "sound:WebGapSound",
|
||||
"name": "WebGapSound",
|
||||
"packed": false,
|
||||
"pitch": 0.0,
|
||||
"sampleRate": 8000,
|
||||
"sourcePath": "//WebGapSound.wav",
|
||||
"volume": 0.0
|
||||
},
|
||||
"task": "M16-GAP-00022"
|
||||
}
|
||||
29
tests/golden/M16-GAP-00022/sound-local-exact-report.json
Normal file
29
tests/golden/M16-GAP-00022/sound-local-exact-report.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00022",
|
||||
"operation": "SOUND_DATABLOCK_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00022-datablock-Sound.blend",
|
||||
"sha256": "42785a635a7ac560a01e00135555c31e20a60c454ffb62a466da25ddbe3b5c39"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00022/sound-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"soundId": "sound:WebGapSound",
|
||||
"sourcePath": "//WebGapSound.wav",
|
||||
"packed": false,
|
||||
"volume": 0,
|
||||
"pitch": 0,
|
||||
"audioChannels": 1,
|
||||
"sampleRate": 8000
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00023"
|
||||
}
|
||||
181
tests/golden/M16-GAP-00022/task-context.json
Normal file
181
tests/golden/M16-GAP-00022/task-context.json
Normal file
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00022",
|
||||
"parentTask": "M16-GAP-00021",
|
||||
"status": "in_progress",
|
||||
"goal": "Make the same minimal fixture produce observable datablock:Sound 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:Sound",
|
||||
"ownerFamily": "RNA_DATABLOCK",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00022.py -- tests/files/web/generated/M16-GAP-00022-datablock-Sound.blend",
|
||||
"npm --prefix web run test:generated-gap -- --task M16-GAP-00022",
|
||||
"node tools/web/check-generated-gap.mjs --task M16-GAP-00022"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tools/web/generated/M16-GAP-00022.py"
|
||||
],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 6333,
|
||||
"contextRemainingTokens": 1582
|
||||
},
|
||||
"source": {
|
||||
"bytes": 7667,
|
||||
"tokens": 1918
|
||||
},
|
||||
"selected": [
|
||||
{
|
||||
"path": "tools/web/generated/M16-GAP-00022.py",
|
||||
"bytes": 762,
|
||||
"tokens": 191
|
||||
}
|
||||
],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "tests/files/web/generated/M16-GAP-00022-datablock-Sound.blend",
|
||||
"bytes": 85859,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||
"bytes": 216980,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tools/web/check-generated-gap.mjs",
|
||||
"bytes": 80795,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00022/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00022.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00022/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"files": 1,
|
||||
"bytes": 762,
|
||||
"tokens": 191
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"desktop fixture evidence exists",
|
||||
"WASM uses the same fixture",
|
||||
"comparator passes",
|
||||
"save/reopen preserves Main",
|
||||
"manifest hashes all artifacts"
|
||||
],
|
||||
"nextTask": "M16-GAP-00023",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/M16-GAP-00022.md",
|
||||
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||
"parentManifest": "tests/golden/M16-GAP-00021/manifest.json",
|
||||
"parentStatus": "docs/status/M16-GAP-00021.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/M16-GAP-00022.md",
|
||||
"tests/golden/M16-GAP-00021/manifest.json",
|
||||
"docs/status/M16-GAP-00021.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-00021",
|
||||
"parentTask": "M16-GAP-00020",
|
||||
"status": "done",
|
||||
"nextTask": "M16-GAP-00022",
|
||||
"artifactCount": 11
|
||||
},
|
||||
"statusSummary": [
|
||||
"# M16-GAP-00021 Status",
|
||||
"status: done ",
|
||||
"task: Screen data-block LOCAL_EXACT slice ",
|
||||
"updated: 2026-08-19 America/New_York",
|
||||
"scope: Blender 5.2 `bScreen` identity and bounded editor layout observability through the linked editor workflow: four areas, editor types and regions.",
|
||||
"evidence:",
|
||||
"- `tools/web/generated/M16-GAP-00021.py` renamed the factory startup screen to `WebGapScreen`, preserving its deterministic four-area layout.",
|
||||
"- Desktop report reopened after save and matched exactly: `screen:WebGapScreen`, four areas, `VIEW_3D`, `OUTLINER`, `PROPERTIES`, `DOPESHEET_EDITOR`, and 18 regions."
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1724,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"taskLines": 38,
|
||||
"taskTokens": 431
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2168,
|
||||
"lines": 45,
|
||||
"tokens": 542
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/M16-GAP-00022.md",
|
||||
"bytes": 1724,
|
||||
"lines": 38,
|
||||
"tokens": 431
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/M16-GAP-00021/manifest.json",
|
||||
"bytes": 1985,
|
||||
"lines": 25,
|
||||
"tokens": 497
|
||||
},
|
||||
{
|
||||
"path": "docs/status/M16-GAP-00021.md",
|
||||
"bytes": 1790,
|
||||
"lines": 26,
|
||||
"tokens": 448
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1918,
|
||||
"evidenceFiles": 1,
|
||||
"evidenceBytes": 762,
|
||||
"evidenceTokens": 191,
|
||||
"totalTokens": 2109,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user