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>
38 lines
1.6 KiB
Markdown
38 lines
1.6 KiB
Markdown
# 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`
|
|
|
|
## 验收
|
|
|
|
```bash
|
|
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。
|