# WBV2-P40-002: rebuild_continuous_bundle - task: WBV2-P40-002 - parent: WBV2-P40-001 - status: planned - gap: workflow:rebuild_continuous_bundle - ownerFamily: RELEASE - targetImplementationClass: SOURCE_BACKED ## 目标 Rebuild the frontend release bundle from the current source-backed WASM. ## 输入与范围 - Focused protocol: `web/protocol/web-engine.ts` - Implementation entrypoint: `node tools/web/generate-wbv2-continuous-slice.mjs --task WBV2-P40-002 --write` ## 验收 - real source or WebEngine Main path is wired - worker/client/frontend route uses typed protocol without a duplicate shim - malformed, unsupported, hash-drift or false-completion input fails closed - implementation smoke is reproducible; Chromium receipts, undo/redo, save/reopen and deterministic verification remain deferred - `node tools/web/check-task-context.mjs --task WBV2-P40-002 --write` ## 失败边界 - integrity drift, unavailable build inputs and unknown command results keep the task in_progress or blocked - implementation evidence never changes historical inventory or provenance ## 交付与回滚 - Reports: `tests/golden/WBV2-P40-002/` - Status: `docs/status/WBV2-P40-002.md` - Manifest: `tests/golden/WBV2-P40-002/manifest.json` - Rollback: restore WBV2-P40-001 as queue parent and leave the task in_progress.