Files
workinf_Blender_Wasm/docs/tasks/WBV2-P1116-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

37 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# WBV2-P1116-000: storage recovery module
- task: `WBV2-P1116-000`
- parent: `WBV2-P1115-000`
- status: `in_progress`
- gap: `workflow:module_storage_recovery`
- ownerFamily: `STORAGE`
- targetImplementationClass: `LOCAL_BOUNDED`
## 目标
按功能模块验证 IndexedDB catalog v1/v2 migration、page/Worker restart、OPFS preview commit/dedup、corrupt quarantine 和 final-reference GC。
## 输入与范围
- Protocol: `web/protocol/storage.ts`, `web/protocol/storage-budget.ts`, `web/protocol/save-transaction.ts`, `web/protocol/recent-projects.ts`, `web/protocol/asset-preview.ts`, `web/protocol/asset-preview-decode.ts`
- Storage implementation: `web/app/src/storage/asset-catalog-indexeddb.ts`, `web/app/src/storage/asset-preview-opfs-commit.ts`, `web/app/src/storage/asset-preview-quarantine.ts`, `web/app/src/storage/asset-preview-reference-gc.ts`, `web/app/src/storage/opfs-files.ts`, `web/app/src/storage/migrations.ts`, `web/app/src/workers/storage.worker.ts`, `web/app/src/app/App.tsx`
## 验收
```bash
npm --prefix web run test:asset-catalog-restart
npm --prefix web run test:asset-preview-dedup
npm --prefix web run test:asset-preview-quarantine
npm --prefix web run test:asset-preview-reference-gc
npm --prefix web run typecheck
```
必须记录 migration/restart 正例、partial/corrupt/non-final reference 负例、OPFS replay、quarantine cleanup、deterministic GC 和 Chromium。存储容量与浏览器能力限制保持显式 BLOCKED,不推导完整 Media I/O parity。
## 交付与回滚
- Receipt: `tests/golden/WBV2-P1116-000/module-receipt.json`
- Manifest: `tests/golden/WBV2-P1116-000/manifest.json`
- Status: `docs/status/WBV2-P1116-000.md`
- 回滚:恢复 P1115 manifest 为 queue parent。