# WBV2-P31-002: implement_text_datablock_authoring - task: WBV2-P31-002 - parent: WBV2-P31-001 - status: in_progress - gap: IO.TEXT_DATABLOCK - ownerFamily: IO - targetImplementationClass: SOURCE_BACKED ## 目标 Connect a typed text-source command to Blender Main Text datablocks with bounded persistence. ## 输入与范围 - Focused protocol: `web/protocol/web-engine.ts` - Implementation entrypoint: `node tools/web/generate-wbv2-resource-scene-slice.mjs --task WBV2-P31-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-P31-002 --write` ## 失败边界 - malformed and unsupported resource payloads fail closed with a typed diagnostic - implementation evidence never changes the historical inventory or provenance epoch ## 交付与回滚 - Reports: `tests/golden/WBV2-P31-002/` - Status: `docs/status/WBV2-P31-002.md` - Manifest: `tests/golden/WBV2-P31-002/manifest.json` - Rollback: restore WBV2-P31-001 as queue parent and leave the task in_progress.