Files
workinf_Blender_Wasm/docs/tasks/WBV2-P1117-000.md
mes123456 f3e21c6b98
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled
chore: checkpoint web Blender migration source, tools and docs
Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer,
web workflow engine and protocol, tooling, docs and task records.
Large generated evidence, user-testing archives, build snapshots and
imported test assets remain untracked.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-10 11:18:01 +08:00

1.6 KiB

WBV2-P1117-000: simulation cache module

  • task: WBV2-P1117-000
  • parent: WBV2-P1116-000
  • status: in_progress
  • gap: workflow:module_simulation_cache
  • ownerFamily: SIMULATION
  • targetImplementationClass: LOCAL_BOUNDED

目标

按功能模块验证 Simulation cache identity、Physics family source/payload/frame hash、playback lifecycle、取消、LRU 和 corruption quarantine。

输入与范围

  • Blender Main/API: blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp, blender-5.2.0/source/blender/web_engine/web_engine_main_state.h, blender-5.2.0/source/blender/web_engine/web_engine_api.cpp
  • Protocol: web/protocol/simulation-cache.ts, web/protocol/physics-simulation.ts, web/protocol/physics-cache-playback.ts, web/protocol/storage.ts
  • Worker/UI: web/app/src/workers/storage.worker.ts, web/app/src/app/App.tsx
  • Existing receipt: tests/golden/WBV2-P13-004/manifest.json

验收

npm --prefix web run test:simulation-cache-identity
npm --prefix web run test:simulation-cache-lifecycle
npm --prefix web run test:physics-cache-family
npm --prefix web run typecheck

必须记录 cache identity/playback 正例、hash/revision/range/budget 负例、cancel cleanup、protected LRU、corruption quarantine、worker restart 和 Chromium。缓存验证不等于实时 physics solver parity。

交付与回滚

  • Receipt: tests/golden/WBV2-P1117-000/module-receipt.json
  • Manifest: tests/golden/WBV2-P1117-000/manifest.json
  • Status: docs/status/WBV2-P1117-000.md
  • 回滚:恢复 P1116 manifest 为 queue parent。