35 lines
1.1 KiB
Markdown
35 lines
1.1 KiB
Markdown
# WBV2-P18-002: object create engine receipt
|
|
|
|
- task: WBV2-P18-002
|
|
- parent: WBV2-P18-001
|
|
- status: in_progress
|
|
- gap: capability:OBJECT_OPERATIONS.CREATE
|
|
- ownerFamily: OBJECT
|
|
- targetImplementationClass: LOCAL_EXACT
|
|
|
|
## 目标
|
|
|
|
Bind createPrimitive, undo/redo, malformed rejection, and exact save/reopen to compiled WASM Main in Chromium.
|
|
|
|
## 输入与范围
|
|
|
|
- Focused source: `tests/golden/WBV2-P18-001/object-create-selection-report.json`
|
|
- Production test: `web/tests/e2e/wbv2-object-create-production.spec.ts`
|
|
- Production entrypoint: `npm --prefix web run test:e2e -- --workers=1 tests/e2e/wbv2-object-create-production.spec.ts`
|
|
|
|
## 验收
|
|
|
|
- primitive creates a distinct object
|
|
- undo/redo revisions are sequential
|
|
- malformed primitive fails closed without Main mutation
|
|
- save/reopen is exact and deterministic
|
|
- malformed, hash-drift, unsupported, or false-completion input keeps in_progress
|
|
- `node tools/web/check-task-context.mjs --task WBV2-P18-002 --write`
|
|
|
|
## 交付与回滚
|
|
|
|
- Reports: `tests/golden/WBV2-P18-002/`
|
|
- Status: `docs/status/WBV2-P18-002.md`
|
|
- Manifest: `tests/golden/WBV2-P18-002/manifest.json`
|
|
- Rollback: restore P18-001 as queue parent.
|