Advance deduplicated object deletion coverage
This commit is contained in:
@@ -13,9 +13,9 @@
|
||||
| 字段 | 值 |
|
||||
| --- | --- |
|
||||
| 里程碑 | WBV2 capability workflow |
|
||||
| 当前任务 | `WBV2-P21-003` |
|
||||
| parent manifest | `tests/golden/WBV2-P21-002/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P21-003.md`](tasks/WBV2-P21-003.md) |
|
||||
| 当前任务 | `WBV2-P22-003` |
|
||||
| parent manifest | `tests/golden/WBV2-P22-002/manifest.json` |
|
||||
| 任务卡 | [`tasks/WBV2-P22-003.md`](tasks/WBV2-P22-003.md) |
|
||||
| 专项验收 | `node tools/web/check-execution-control-plane.mjs` |
|
||||
| legacy coverage checkpoint | `M16-GAP-00282` |
|
||||
| legacy coverage parent | `tests/golden/M16-GAP-00281/manifest.json` |
|
||||
|
||||
7
docs/status/WBV2-P22-000.md
Normal file
7
docs/status/WBV2-P22-000.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# WBV2-P22-000 status
|
||||
|
||||
- task: `WBV2-P22-000`; parent: `WBV2-P21-003`; status: `done`
|
||||
- candidate: `OBJECT_OPERATIONS.DELETE`; source API is present
|
||||
- effective inventory carried forward: `288` completed, `6611` pending
|
||||
- duplicate validation: `forbidden`; representative slice only
|
||||
- nextTask: `WBV2-P22-001`
|
||||
7
docs/status/WBV2-P22-001.md
Normal file
7
docs/status/WBV2-P22-001.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# WBV2-P22-001 status
|
||||
|
||||
- task: `WBV2-P22-001`; parent: `WBV2-P22-000`; status: `done`
|
||||
- selected behavior: `deleteObject`; exact candidate: `operator:object.delete`
|
||||
- base inventory: `6900` total, `6618` pending; effective carried overlay: `6611` pending
|
||||
- behavior hash: `e30152b84820ae767fcb3f52411bd7aabb677d15de9e6d6c41f838f6dcce30f3`; duplicate validation: `forbidden`
|
||||
- nextTask: `WBV2-P22-002`
|
||||
8
docs/status/WBV2-P22-002.md
Normal file
8
docs/status/WBV2-P22-002.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# WBV2-P22-002 status
|
||||
|
||||
- task: `WBV2-P22-002`; parent: `WBV2-P22-001`; status: `done`
|
||||
- exact inventory binding: `operator:object.delete` via `deleteObject`
|
||||
- objects: `3 -> 2`; revisions: `1 -> 4` sequential
|
||||
- malformed delete rejected; save/reopen: `EXACT`; deterministic second run: `true`
|
||||
- effective pending before overlay: `6611`; representative slice: `true`
|
||||
- nextTask: `WBV2-P22-003`
|
||||
9
docs/status/WBV2-P22-003.md
Normal file
9
docs/status/WBV2-P22-003.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# WBV2-P22-003 status
|
||||
|
||||
- task: `WBV2-P22-003`; parent: `WBV2-P22-002`; status: `done`
|
||||
- new feature claim: `OBJECT_OPERATIONS.DELETE`; exact binding: `operator:object.delete`
|
||||
- base inventory: `6900` total, `281` completed, `6618` pending
|
||||
- cumulative overlay: `289` effective completed, `6610` effective pending, claimed complete overlay: `8`
|
||||
- repeated Blender/Chromium validation: `0`; unique behavior batches: Paint, Duplicate, Create, Parent, Collection, Rename, Delete
|
||||
- provenance epoch: `2`; release: `AUTHORIZED_REBASELINE_ONLY`; fullHistoricalReproduction: `false`
|
||||
- nextTask: `NONE`
|
||||
23
docs/tasks/WBV2-P22-000.md
Normal file
23
docs/tasks/WBV2-P22-000.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# WBV2-P22-000: object delete continuation root
|
||||
|
||||
- task: WBV2-P22-000
|
||||
- parent: WBV2-P21-003
|
||||
- status: done
|
||||
- gap: workflow:authorize_object_delete_continuation
|
||||
- ownerFamily: PROGRAM
|
||||
- targetImplementationClass: LOCAL_BOUNDED
|
||||
|
||||
## 目标
|
||||
|
||||
Authorize one source-backed Object Delete behavior after the P21 rename overlay.
|
||||
|
||||
## 验收
|
||||
|
||||
- `node tools/web/generate-wbv2-delete-root.mjs`
|
||||
- `node tools/web/check-execution-control-plane.mjs`
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P22-000/`
|
||||
- Manifest: `tests/golden/WBV2-P22-000/manifest.json`
|
||||
- Rollback: restore P21-003 as queue parent.
|
||||
34
docs/tasks/WBV2-P22-001.md
Normal file
34
docs/tasks/WBV2-P22-001.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# WBV2-P22-001: select_object_delete_batch
|
||||
|
||||
- task: WBV2-P22-001
|
||||
- parent: WBV2-P22-000
|
||||
- status: in_progress
|
||||
- gap: capability:OBJECT_OPERATIONS.DELETE
|
||||
- ownerFamily: PARITY
|
||||
- targetImplementationClass: LOCAL_BOUNDED
|
||||
|
||||
## 目标
|
||||
|
||||
Select deleteObject as one unique Object Operations behavior.
|
||||
|
||||
## 输入与范围
|
||||
|
||||
- Focused source: `blender-5.2.0/source/blender/web_engine/web_engine_api.cpp`
|
||||
- Existing client: `web/app/src/engine-client/WebEngineClient.ts`
|
||||
- Inventory: `tests/golden/WBV2-P0-002/parity-map.json`
|
||||
- Production entrypoint: `node tools/web/generate-wbv2-delete-selection.mjs --write`
|
||||
|
||||
## 验收
|
||||
|
||||
- source command is hash-bound
|
||||
- prior object evidence is not rerun
|
||||
- one legacy operator binding is selected
|
||||
- malformed, hash-drift, unsupported, or false-completion input keeps in_progress
|
||||
- `node tools/web/check-task-context.mjs --task WBV2-P22-001 --write`
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P22-001/`
|
||||
- Status: `docs/status/WBV2-P22-001.md`
|
||||
- Manifest: `tests/golden/WBV2-P22-001/manifest.json`
|
||||
- Rollback: restore P22-000 as queue parent.
|
||||
34
docs/tasks/WBV2-P22-002.md
Normal file
34
docs/tasks/WBV2-P22-002.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# WBV2-P22-002: object delete engine receipt
|
||||
|
||||
- task: WBV2-P22-002
|
||||
- parent: WBV2-P22-001
|
||||
- status: in_progress
|
||||
- gap: capability:OBJECT_OPERATIONS.DELETE
|
||||
- ownerFamily: OBJECT
|
||||
- targetImplementationClass: LOCAL_EXACT
|
||||
|
||||
## 目标
|
||||
|
||||
Bind deleteObject, undo/redo, malformed rejection, and exact save/reopen to compiled WASM Main in Chromium.
|
||||
|
||||
## 输入与范围
|
||||
|
||||
- Focused source: `tests/golden/WBV2-P22-001/object-delete-selection-report.json`
|
||||
- Production test: `web/tests/e2e/wbv2-object-delete-production.spec.ts`
|
||||
- Production entrypoint: `npm --prefix web run test:e2e -- --workers=1 tests/e2e/wbv2-object-delete-production.spec.ts`
|
||||
|
||||
## 验收
|
||||
|
||||
- object deletion changes Main
|
||||
- undo/redo revisions are sequential
|
||||
- malformed delete fails closed without Main mutation
|
||||
- save/reopen is exact and deterministic
|
||||
- Chromium is the only browser
|
||||
- `node tools/web/check-task-context.mjs --task WBV2-P22-002 --write`
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P22-002/`
|
||||
- Status: `docs/status/WBV2-P22-002.md`
|
||||
- Manifest: `tests/golden/WBV2-P22-002/manifest.json`
|
||||
- Rollback: restore P22-001 as queue parent.
|
||||
34
docs/tasks/WBV2-P22-003.md
Normal file
34
docs/tasks/WBV2-P22-003.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# WBV2-P22-003: close object delete gate
|
||||
|
||||
- task: WBV2-P22-003
|
||||
- parent: WBV2-P22-002
|
||||
- status: in_progress
|
||||
- gap: workflow:close_object_delete_gate
|
||||
- ownerFamily: RELEASE
|
||||
- targetImplementationClass: LOCAL_BOUNDED
|
||||
|
||||
## 目标
|
||||
|
||||
Close the deleteObject gate and graduate only the exact operator binding.
|
||||
|
||||
## 输入与范围
|
||||
|
||||
- Focused receipt: `tests/golden/WBV2-P22-002/object-delete-receipt-report.json`
|
||||
- Previous overlay: `tests/golden/WBV2-P21-003/inventory-completion-overlay.json`
|
||||
- Production entrypoint: `node tools/web/generate-wbv2-delete-gate.mjs --write`
|
||||
|
||||
## 验收
|
||||
|
||||
- only object delete is claimed
|
||||
- effective inventory remains explicit
|
||||
- duplicate validation remains zero
|
||||
- malformed, hash-drift, unsupported, or false-completion input keeps in_progress
|
||||
- historical reproduction remains false
|
||||
- `node tools/web/check-task-context.mjs --task WBV2-P22-003 --write`
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/WBV2-P22-003/`
|
||||
- Status: `docs/status/WBV2-P22-003.md`
|
||||
- Manifest: `tests/golden/WBV2-P22-003/manifest.json`
|
||||
- Rollback: restore P22-002 as queue parent.
|
||||
@@ -240,12 +240,12 @@ Recorded: 2026-08-22 America/New_York
|
||||
|
||||
| Field | Value |
|
||||
| --- | --- |
|
||||
| Current task when this file was written | `WBV2-P21-003` |
|
||||
| Current task when this file was written | `WBV2-P22-003` |
|
||||
| Current task state | `done` |
|
||||
| Parent manifest | `tests/golden/WBV2-P21-002/manifest.json` |
|
||||
| Current task card | `docs/tasks/WBV2-P21-003.md` |
|
||||
| Parent manifest | `tests/golden/WBV2-P22-002/manifest.json` |
|
||||
| Current task card | `docs/tasks/WBV2-P22-003.md` |
|
||||
| Current task-context nextTask | `NONE` |
|
||||
| Focused command | `node tools/web/generate-wbv2-rename-gate.mjs --write` |
|
||||
| Focused command | `node tools/web/generate-wbv2-delete-gate.mjs --write` |
|
||||
|
||||
The snapshot is informational and may become stale. On every resume, the queue,
|
||||
parent manifest, and fresh `print-task-context` output win. Never infer a task
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P21-003/object-rename-gate-report.json",
|
||||
"sha256": "a8802a03be2ad3cb899e082678013e2ed933caf42b884326a6a82198f2aa3178"
|
||||
"sha256": "30668870a9fb84eb781d12974611c42fb91a07df314f2cf58d22689cf68ffa31"
|
||||
},
|
||||
"generator": {
|
||||
"path": "tools/web/generate-wbv2-rename-gate.mjs",
|
||||
@@ -46,7 +46,7 @@
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P21-003/task-context.json",
|
||||
"sha256": "a8a042ec2148cb4d8b5e1dda94e5631599fd83f8a5880b55fa6d2709bf36162f"
|
||||
"sha256": "c65f3c65e3b1270025aea683ab37da7cf69faf0ad4e828f50124c33f5c99efab"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
@@ -68,5 +68,10 @@
|
||||
"fullHistoricalReproduction": false,
|
||||
"deterministic": true
|
||||
},
|
||||
"nextTask": null
|
||||
"nextTask": "WBV2-P22-000",
|
||||
"continuation": {
|
||||
"authorized": true,
|
||||
"root": "WBV2-P22-000",
|
||||
"scope": "OBJECT_OPERATIONS_DELETE"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -169,7 +169,8 @@
|
||||
"baseInventoryPreserved": true,
|
||||
"inventoryRemainderExplicit": true,
|
||||
"noFalseLocalParity": true,
|
||||
"terminalQueuePointer": true
|
||||
"terminalQueuePointer": false,
|
||||
"authorizedContinuation": "WBV2-P22-000"
|
||||
},
|
||||
"nextTask": null
|
||||
"nextTask": "WBV2-P22-000"
|
||||
}
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 2748,
|
||||
"contextRemainingTokens": 686
|
||||
"contextRemainingBytes": 2749,
|
||||
"contextRemainingTokens": 687
|
||||
},
|
||||
"source": {
|
||||
"bytes": 7156,
|
||||
"tokens": 1790
|
||||
"bytes": 7155,
|
||||
"tokens": 1789
|
||||
},
|
||||
"selected": [
|
||||
{
|
||||
@@ -63,11 +63,11 @@
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"only object rename is claimed",
|
||||
"effective inventory remains explicit",
|
||||
"no duplicate validation or historical over-claim"
|
||||
"focused command exits 0",
|
||||
"report and manifest are hash-bound",
|
||||
"failure path does not publish a late result"
|
||||
],
|
||||
"nextTask": null,
|
||||
"nextTask": "WBV2-P22-000",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P21-003.md",
|
||||
@@ -120,15 +120,15 @@
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1073,
|
||||
"taskBytes": 1072,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 36,
|
||||
"taskTokens": 269
|
||||
"taskLines": 35,
|
||||
"taskTokens": 268
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
@@ -140,9 +140,9 @@
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P21-003.md",
|
||||
"bytes": 1073,
|
||||
"lines": 36,
|
||||
"tokens": 269
|
||||
"bytes": 1072,
|
||||
"lines": 35,
|
||||
"tokens": 268
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P21-002/manifest.json",
|
||||
@@ -157,14 +157,14 @@
|
||||
"tokens": 103
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1790,
|
||||
"sourceTokens": 1789,
|
||||
"evidenceFiles": 1,
|
||||
"evidenceBytes": 2360,
|
||||
"evidenceTokens": 590,
|
||||
"totalTokens": 2380,
|
||||
"totalTokens": 2379,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 3404,
|
||||
"serializedContextTokens": 651,
|
||||
"estimatedContextTokens": 3403,
|
||||
"serializedContextTokens": 650,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
|
||||
33
tests/golden/WBV2-P22-000/delete-root-report.json
Normal file
33
tests/golden/WBV2-P22-000/delete-root-report.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-000",
|
||||
"operation": "AUTHORIZE_OBJECT_DELETE_CONTINUATION",
|
||||
"status": "PASS",
|
||||
"parent": {
|
||||
"task": "WBV2-P21-003",
|
||||
"manifest": "tests/golden/WBV2-P21-003/manifest.json",
|
||||
"manifestSha256": "5e9a4530c51adb34abc89bdda50f1bbee1b0f362b3469d86c7a6c5dd9590e1bf",
|
||||
"report": "tests/golden/WBV2-P21-003/object-rename-gate-report.json",
|
||||
"reportSha256": "30668870a9fb84eb781d12974611c42fb91a07df314f2cf58d22689cf68ffa31",
|
||||
"previousDecision": "READY_WITH_OBJECT_RENAME_SLICE_AND_INVENTORY_OVERLAY",
|
||||
"effectivePending": 6611
|
||||
},
|
||||
"continuation": {
|
||||
"root": "WBV2-P22-000",
|
||||
"firstTask": "WBV2-P22-001",
|
||||
"plannedTasks": 4,
|
||||
"candidate": "OBJECT_OPERATIONS.DELETE",
|
||||
"sourceApi": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
|
||||
"browser": "chromium",
|
||||
"noRepeatedExecution": true
|
||||
},
|
||||
"policy": {
|
||||
"p21EvidencePreserved": true,
|
||||
"sourceHistoryReadOnly": true,
|
||||
"representativeSliceOnly": true,
|
||||
"duplicateValidationAvoided": true,
|
||||
"authorizedRebaselineOnly": true,
|
||||
"fullHistoricalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P22-001"
|
||||
}
|
||||
113
tests/golden/WBV2-P22-000/delete-task-plan.json
Normal file
113
tests/golden/WBV2-P22-000/delete-task-plan.json
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_PARITY_V2_OBJECT_DELETE_EPOCH_1",
|
||||
"status": "ACTIVE_OBJECT_DELETE_QUEUE",
|
||||
"authority": "queue_reactivated_after_p21_rename_gate",
|
||||
"sourcePlan": "docs/BLENDER_WEB_PARITY_TASK_PLAN_V2.json",
|
||||
"executionPointer": "docs/EXECUTION_QUEUE.md",
|
||||
"runtimePolicy": {
|
||||
"blenderSource": "blender-5.2.0",
|
||||
"browserEvidence": [
|
||||
"chromium"
|
||||
],
|
||||
"forbiddenBrowsers": [
|
||||
"firefox",
|
||||
"webkit"
|
||||
],
|
||||
"mainAuthority": "blender_main",
|
||||
"reusePolicy": "source_hash_and_behavior_hash_deduplication"
|
||||
},
|
||||
"parentRename": {
|
||||
"manifest": "tests/golden/WBV2-P21-003/manifest.json",
|
||||
"report": "tests/golden/WBV2-P21-003/object-rename-gate-report.json",
|
||||
"basePending": 6618,
|
||||
"effectivePending": 6611,
|
||||
"duplicateValidationAvoided": true
|
||||
},
|
||||
"tasks": [
|
||||
{
|
||||
"id": "WBV2-P22-000",
|
||||
"phase": "P22",
|
||||
"title": "authorize_object_delete_continuation",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P21-003"
|
||||
],
|
||||
"status": "done",
|
||||
"ready": false,
|
||||
"card": "docs/tasks/WBV2-P22-000.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_BOUNDED",
|
||||
"gate": "G2",
|
||||
"parityId": null
|
||||
},
|
||||
{
|
||||
"id": "WBV2-P22-001",
|
||||
"phase": "P22",
|
||||
"title": "select_object_delete_batch",
|
||||
"owner": "PARITY",
|
||||
"dependsOn": [
|
||||
"WBV2-P22-000"
|
||||
],
|
||||
"status": "in_progress",
|
||||
"ready": true,
|
||||
"card": "docs/tasks/WBV2-P22-001.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_BOUNDED",
|
||||
"gate": "G2",
|
||||
"parityId": "OBJECT_OPERATIONS.DELETE"
|
||||
},
|
||||
{
|
||||
"id": "WBV2-P22-002",
|
||||
"phase": "P22",
|
||||
"title": "object_delete_engine_receipt",
|
||||
"owner": "OBJECT",
|
||||
"dependsOn": [
|
||||
"WBV2-P22-001"
|
||||
],
|
||||
"status": "planned",
|
||||
"ready": false,
|
||||
"card": "docs/tasks/WBV2-P22-002.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_EXACT",
|
||||
"gate": "G2",
|
||||
"parityId": "OBJECT_OPERATIONS.DELETE"
|
||||
},
|
||||
{
|
||||
"id": "WBV2-P22-003",
|
||||
"phase": "P22",
|
||||
"title": "close_object_delete_gate",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P22-002"
|
||||
],
|
||||
"status": "planned",
|
||||
"ready": false,
|
||||
"card": "docs/tasks/WBV2-P22-003.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_BOUNDED",
|
||||
"gate": "G5",
|
||||
"parityId": null
|
||||
}
|
||||
]
|
||||
}
|
||||
60
tests/golden/WBV2-P22-000/manifest.json
Normal file
60
tests/golden/WBV2-P22-000/manifest.json
Normal file
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-000",
|
||||
"parentTask": "WBV2-P21-003",
|
||||
"operation": "AUTHORIZE_OBJECT_DELETE_CONTINUATION",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "READ_ONLY_OBJECT_DELETE_CONTINUATION_ROOT",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P21-003/manifest.json",
|
||||
"sha256": "5e9a4530c51adb34abc89bdda50f1bbee1b0f362b3469d86c7a6c5dd9590e1bf"
|
||||
},
|
||||
"parentReport": {
|
||||
"path": "tests/golden/WBV2-P21-003/object-rename-gate-report.json",
|
||||
"sha256": "30668870a9fb84eb781d12974611c42fb91a07df314f2cf58d22689cf68ffa31"
|
||||
},
|
||||
"inventory": {
|
||||
"path": "tests/golden/WBV2-P0-002/parity-map.json",
|
||||
"sha256": "a60a77cae000941a953d55adbf93d8f6e275533891713d6eae993f60faed94e8"
|
||||
},
|
||||
"sourceApi": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
|
||||
"sha256": "8fa70dc7605e66393482e661e5987a8443dded56ab0092aeb977b40ae49888f8"
|
||||
},
|
||||
"sourceClient": {
|
||||
"path": "web/app/src/engine-client/WebEngineClient.ts",
|
||||
"sha256": "f6d9a8e0a16403bc6fb765195b8f1a619a28de7a75c59a412f1654d46e8ebc0b"
|
||||
},
|
||||
"plan": {
|
||||
"path": "tests/golden/WBV2-P22-000/delete-task-plan.json",
|
||||
"sha256": "597291144e74a4e91ba480cfe83707bcde860e7c242f5dec785e50c61d976756"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P22-000/delete-root-report.json",
|
||||
"sha256": "13d7046070955b1e70974c091a9703b887d04670590559583246e3d162b9b579"
|
||||
},
|
||||
"rootCard": {
|
||||
"path": "docs/tasks/WBV2-P22-000.md",
|
||||
"sha256": "687fae7cbc5ea38ae8fa3ae3d3828a471af7d6627ab6fc3639bf82bdcae57dc0"
|
||||
},
|
||||
"rootStatus": {
|
||||
"path": "docs/status/WBV2-P22-000.md",
|
||||
"sha256": "aceadfb35913773b11c6e6d69f6a4eec89b2b3d91b0c6ddab63a9193b7dee2ce"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"p21EvidencePreserved": true,
|
||||
"sourceApiBound": true,
|
||||
"inventoryTotal": 6900,
|
||||
"effectiveCompleted": 288,
|
||||
"effectivePending": 6611,
|
||||
"duplicateValidationAvoided": true,
|
||||
"representativeSliceOnly": true,
|
||||
"authorizedRebaselineOnly": true,
|
||||
"fullHistoricalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P22-001"
|
||||
}
|
||||
117
tests/golden/WBV2-P22-001/delete-task-plan.json
Normal file
117
tests/golden/WBV2-P22-001/delete-task-plan.json
Normal file
@@ -0,0 +1,117 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_PARITY_V2_OBJECT_DELETE_EPOCH_1",
|
||||
"status": "ACTIVE_OBJECT_DELETE_QUEUE",
|
||||
"authority": "queue_reactivated_after_p21_rename_gate",
|
||||
"sourcePlan": "docs/BLENDER_WEB_PARITY_TASK_PLAN_V2.json",
|
||||
"executionPointer": "docs/EXECUTION_QUEUE.md",
|
||||
"runtimePolicy": {
|
||||
"blenderSource": "blender-5.2.0",
|
||||
"browserEvidence": [
|
||||
"chromium"
|
||||
],
|
||||
"forbiddenBrowsers": [
|
||||
"firefox",
|
||||
"webkit"
|
||||
],
|
||||
"mainAuthority": "blender_main",
|
||||
"reusePolicy": "source_hash_and_behavior_hash_deduplication"
|
||||
},
|
||||
"parentRename": {
|
||||
"manifest": "tests/golden/WBV2-P21-003/manifest.json",
|
||||
"report": "tests/golden/WBV2-P21-003/object-rename-gate-report.json",
|
||||
"basePending": 6618,
|
||||
"effectivePending": 6611,
|
||||
"duplicateValidationAvoided": true
|
||||
},
|
||||
"tasks": [
|
||||
{
|
||||
"id": "WBV2-P22-000",
|
||||
"phase": "P22",
|
||||
"title": "authorize_object_delete_continuation",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P21-003"
|
||||
],
|
||||
"status": "done",
|
||||
"ready": false,
|
||||
"card": "docs/tasks/WBV2-P22-000.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_BOUNDED",
|
||||
"gate": "G2",
|
||||
"parityId": null
|
||||
},
|
||||
{
|
||||
"id": "WBV2-P22-001",
|
||||
"phase": "P22",
|
||||
"title": "select_object_delete_batch",
|
||||
"owner": "PARITY",
|
||||
"dependsOn": [
|
||||
"WBV2-P22-000"
|
||||
],
|
||||
"status": "done",
|
||||
"ready": false,
|
||||
"card": "docs/tasks/WBV2-P22-001.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_BOUNDED",
|
||||
"gate": "G2",
|
||||
"parityId": "OBJECT_OPERATIONS.DELETE"
|
||||
},
|
||||
{
|
||||
"id": "WBV2-P22-002",
|
||||
"phase": "P22",
|
||||
"title": "object_delete_engine_receipt",
|
||||
"owner": "OBJECT",
|
||||
"dependsOn": [
|
||||
"WBV2-P22-001"
|
||||
],
|
||||
"status": "in_progress",
|
||||
"ready": true,
|
||||
"card": "docs/tasks/WBV2-P22-002.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_EXACT",
|
||||
"gate": "G2",
|
||||
"parityId": "OBJECT_OPERATIONS.DELETE"
|
||||
},
|
||||
{
|
||||
"id": "WBV2-P22-003",
|
||||
"phase": "P22",
|
||||
"title": "close_object_delete_gate",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P22-002"
|
||||
],
|
||||
"status": "planned",
|
||||
"ready": false,
|
||||
"card": "docs/tasks/WBV2-P22-003.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_BOUNDED",
|
||||
"gate": "G5",
|
||||
"parityId": null
|
||||
}
|
||||
],
|
||||
"parentRecoveryPlan": {
|
||||
"path": "tests/golden/WBV2-P22-000/delete-task-plan.json",
|
||||
"sha256": "597291144e74a4e91ba480cfe83707bcde860e7c242f5dec785e50c61d976756"
|
||||
}
|
||||
}
|
||||
67
tests/golden/WBV2-P22-001/manifest.json
Normal file
67
tests/golden/WBV2-P22-001/manifest.json
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-001",
|
||||
"parentTask": "WBV2-P22-000",
|
||||
"operation": "SELECT_OBJECT_DELETE_BATCH",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"runtime": "READ_ONLY_SOURCE_CANDIDATE_SELECTION",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P22-000/manifest.json",
|
||||
"sha256": "ee94ccff310629ac5fc6e88292e3e94253bd8ae1581cdf1621b29229f84f815d"
|
||||
},
|
||||
"inventory": {
|
||||
"path": "tests/golden/WBV2-P0-002/parity-map.json",
|
||||
"sha256": "a60a77cae000941a953d55adbf93d8f6e275533891713d6eae993f60faed94e8"
|
||||
},
|
||||
"api": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
|
||||
"sha256": "8fa70dc7605e66393482e661e5987a8443dded56ab0092aeb977b40ae49888f8"
|
||||
},
|
||||
"protocol": {
|
||||
"path": "web/protocol/web-engine.ts",
|
||||
"sha256": "3bbe172afaaa414d8ede43e6c04aa84443b6e38319d09710afa141c9b5e69fc0"
|
||||
},
|
||||
"candidate": {
|
||||
"path": "tests/golden/WBV2-P22-001/object-delete-candidate-set.json",
|
||||
"sha256": "67f290cf02a792d55db0b39b85cb19a5c29945d18079fbf0121ae7ce216e4043"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P22-001/object-delete-selection-report.json",
|
||||
"sha256": "5cbc7fae1478af3b4ef64bfa259a8d170345beee7cd02a618bdd1ae116febd45"
|
||||
},
|
||||
"generator": {
|
||||
"path": "tools/web/generate-wbv2-delete-selection.mjs",
|
||||
"sha256": "d29d3e85c4b66a8c53c87974ed4e9eb3a4c33c1e1482b1e989657ecfd781974e"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P22-001.md",
|
||||
"sha256": "2f4e09026028d976417218247f6c52c619634ce52496d93805cf40ece2e8815b"
|
||||
},
|
||||
"parityPlan": {
|
||||
"path": "tests/golden/WBV2-P22-001/delete-task-plan.json",
|
||||
"sha256": "a75200168aa524642a460058b7fcd1ec37219cb8ac23b03140c2e3f43ed0ca35"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P22-001/task-context.json",
|
||||
"sha256": "94b815743c2065fe9f4b52835fa4b8110a266ca1ea67841b33f980456f41069d"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"legacyId": "operator:object.delete",
|
||||
"inventoryTotal": 6900,
|
||||
"basePending": 6618,
|
||||
"effectivePending": 6611,
|
||||
"sourceApiBound": true,
|
||||
"representativeSliceOnly": true,
|
||||
"fullFamilyParity": false,
|
||||
"repeatedBlenderRuns": 0,
|
||||
"repeatedChromiumRuns": 0,
|
||||
"duplicateValidationAvoided": true,
|
||||
"deterministic": true,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P22-002"
|
||||
}
|
||||
63
tests/golden/WBV2-P22-001/object-delete-candidate-set.json
Normal file
63
tests/golden/WBV2-P22-001/object-delete-candidate-set.json
Normal file
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-001",
|
||||
"operation": "OBJECT_DELETE_CANDIDATE_SELECTION",
|
||||
"status": "READY",
|
||||
"source": {
|
||||
"inventory": "tests/golden/WBV2-P0-002/parity-map.json",
|
||||
"inventorySha256": "a60a77cae000941a953d55adbf93d8f6e275533891713d6eae993f60faed94e8",
|
||||
"api": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
|
||||
"apiSha256": "8fa70dc7605e66393482e661e5987a8443dded56ab0092aeb977b40ae49888f8",
|
||||
"protocol": "web/protocol/web-engine.ts",
|
||||
"protocolSha256": "3bbe172afaaa414d8ede43e6c04aa84443b6e38319d09710afa141c9b5e69fc0"
|
||||
},
|
||||
"candidate": {
|
||||
"capabilityId": "OBJECT_OPERATIONS.DELETE",
|
||||
"legacyId": "operator:object.delete",
|
||||
"legacyTask": "M16-GAP-01434",
|
||||
"behavior": {
|
||||
"capability": "OBJECT_OPERATIONS.DELETE",
|
||||
"operation": "deleteObject",
|
||||
"positive": [
|
||||
"object-delete",
|
||||
"undo",
|
||||
"redo",
|
||||
"save-reopen"
|
||||
],
|
||||
"negative": [
|
||||
"missing-id",
|
||||
"linked-object"
|
||||
],
|
||||
"browser": "chromium",
|
||||
"engine": "compiled-WASM-WebEngine-Main"
|
||||
},
|
||||
"behaviorHash": "e30152b84820ae767fcb3f52411bd7aabb677d15de9e6d6c41f838f6dcce30f3",
|
||||
"dedupeKey": "OBJECT_OPERATIONS.DELETE|e30152b84820ae767fcb3f52411bd7aabb677d15de9e6d6c41f838f6dcce30f3|8fa70dc7605e66393482e661e5987a8443dded56ab0092aeb977b40ae49888f8|3bbe172afaaa414d8ede43e6c04aa84443b6e38319d09710afa141c9b5e69fc0",
|
||||
"sourceBacked": true,
|
||||
"chromiumProductionReady": true,
|
||||
"fullFamilyParity": false
|
||||
},
|
||||
"inventory": {
|
||||
"matchedEntries": 1,
|
||||
"pending": 1,
|
||||
"total": 6900,
|
||||
"basePending": 6618,
|
||||
"effectivePending": 6611,
|
||||
"remainderExplicit": true
|
||||
},
|
||||
"entries": [
|
||||
{
|
||||
"id": "operator:object.delete",
|
||||
"sourceTask": "M15-01B",
|
||||
"legacyState": "pending",
|
||||
"targetImplementationClass": "LOCAL_EXACT"
|
||||
}
|
||||
],
|
||||
"policy": {
|
||||
"sourceHistoryReadOnly": true,
|
||||
"representativeSliceOnly": true,
|
||||
"noRepeatedExecution": true,
|
||||
"duplicateValidationAvoided": true,
|
||||
"fullHistoricalReproduction": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-001",
|
||||
"operation": "SELECT_OBJECT_DELETE_BATCH",
|
||||
"status": "PASS",
|
||||
"candidate": {
|
||||
"capabilityId": "OBJECT_OPERATIONS.DELETE",
|
||||
"legacyId": "operator:object.delete",
|
||||
"legacyTask": "M16-GAP-01434",
|
||||
"behavior": {
|
||||
"capability": "OBJECT_OPERATIONS.DELETE",
|
||||
"operation": "deleteObject",
|
||||
"positive": [
|
||||
"object-delete",
|
||||
"undo",
|
||||
"redo",
|
||||
"save-reopen"
|
||||
],
|
||||
"negative": [
|
||||
"missing-id",
|
||||
"linked-object"
|
||||
],
|
||||
"browser": "chromium",
|
||||
"engine": "compiled-WASM-WebEngine-Main"
|
||||
},
|
||||
"behaviorHash": "e30152b84820ae767fcb3f52411bd7aabb677d15de9e6d6c41f838f6dcce30f3",
|
||||
"dedupeKey": "OBJECT_OPERATIONS.DELETE|e30152b84820ae767fcb3f52411bd7aabb677d15de9e6d6c41f838f6dcce30f3|8fa70dc7605e66393482e661e5987a8443dded56ab0092aeb977b40ae49888f8|3bbe172afaaa414d8ede43e6c04aa84443b6e38319d09710afa141c9b5e69fc0",
|
||||
"sourceBacked": true,
|
||||
"chromiumProductionReady": true,
|
||||
"fullFamilyParity": false
|
||||
},
|
||||
"inventory": {
|
||||
"matchedEntries": 1,
|
||||
"pending": 1,
|
||||
"total": 6900,
|
||||
"basePending": 6618,
|
||||
"effectivePending": 6611,
|
||||
"remainderExplicit": true
|
||||
},
|
||||
"source": {
|
||||
"inventory": "tests/golden/WBV2-P0-002/parity-map.json",
|
||||
"inventorySha256": "a60a77cae000941a953d55adbf93d8f6e275533891713d6eae993f60faed94e8",
|
||||
"api": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
|
||||
"apiSha256": "8fa70dc7605e66393482e661e5987a8443dded56ab0092aeb977b40ae49888f8",
|
||||
"protocol": "web/protocol/web-engine.ts",
|
||||
"protocolSha256": "3bbe172afaaa414d8ede43e6c04aa84443b6e38319d09710afa141c9b5e69fc0"
|
||||
},
|
||||
"matchedEntryDigest": "7a3193d8ee8cec4cf852871b56831a15b7a54dc426e5090cf4f91b0b0feddc26",
|
||||
"efficiency": {
|
||||
"oneEntryScan": true,
|
||||
"existingEvidenceReused": true,
|
||||
"repeatedBlenderRuns": 0,
|
||||
"repeatedChromiumRuns": 0,
|
||||
"duplicateValidationAvoided": true
|
||||
},
|
||||
"nextTask": "WBV2-P22-002"
|
||||
}
|
||||
172
tests/golden/WBV2-P22-001/task-context.json
Normal file
172
tests/golden/WBV2-P22-001/task-context.json
Normal file
@@ -0,0 +1,172 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-001",
|
||||
"parentTask": "WBV2-P22-000",
|
||||
"status": "in_progress",
|
||||
"goal": "Select deleteObject as one unique Object Operations behavior.",
|
||||
"scope": {
|
||||
"gap": "capability:OBJECT_OPERATIONS.DELETE",
|
||||
"ownerFamily": "PARITY",
|
||||
"implementationClass": "LOCAL_BOUNDED"
|
||||
},
|
||||
"commands": [
|
||||
"node tools/web/check-task-context.mjs --task WBV2-P22-001 --write"
|
||||
],
|
||||
"inputPaths": [],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 3536,
|
||||
"contextRemainingTokens": 882
|
||||
},
|
||||
"source": {
|
||||
"bytes": 6368,
|
||||
"tokens": 1594
|
||||
},
|
||||
"selected": [],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
|
||||
"bytes": 126797,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "web/app/src/engine-client/WebEngineClient.ts",
|
||||
"bytes": 16197,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P0-002/parity-map.json",
|
||||
"bytes": 5053386,
|
||||
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P22-001/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P22-001.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P22-001/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"files": 0,
|
||||
"bytes": 0,
|
||||
"tokens": 0
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"nextTask": "WBV2-P22-002",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P22-001.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P22-000/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P22-000.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P22-001.md",
|
||||
"tests/golden/WBV2-P22-000/manifest.json",
|
||||
"docs/status/WBV2-P22-000.md"
|
||||
],
|
||||
"machineOnly": [
|
||||
"tests/golden/WBV2/task-index.json",
|
||||
"tests/golden/M15-03A/task-catalog.jsonl"
|
||||
],
|
||||
"optionalByNeed": [
|
||||
"docs/WEB_BLENDER_MODELER_V1_SCOPE.md",
|
||||
"任务卡列出的精确协议/生产路径",
|
||||
"任务卡明确命名的长期计划小节"
|
||||
],
|
||||
"forbiddenByDefault": [
|
||||
"完整 CURRENT_EXECUTION_PLAN.md",
|
||||
"完整 PROJECT_STATUS_AND_NEXT_WORK.md",
|
||||
"全部 docs/status/*.md",
|
||||
"完整 parity/WBS 计划",
|
||||
"README 历史和 test-results/"
|
||||
]
|
||||
},
|
||||
"parent": {
|
||||
"manifest": {
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-000",
|
||||
"parentTask": "WBV2-P21-003",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P22-001",
|
||||
"artifactCount": 9
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P22-000 status",
|
||||
"- task: `WBV2-P22-000`; parent: `WBV2-P21-003`; status: `done`",
|
||||
"- candidate: `OBJECT_OPERATIONS.DELETE`; source API is present",
|
||||
"- effective inventory carried forward: `288` completed, `6611` pending",
|
||||
"- duplicate validation: `forbidden`; representative slice only",
|
||||
"- nextTask: `WBV2-P22-001`"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1073,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 35,
|
||||
"taskTokens": 269
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2803,
|
||||
"lines": 51,
|
||||
"tokens": 701
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P22-001.md",
|
||||
"bytes": 1073,
|
||||
"lines": 35,
|
||||
"tokens": 269
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P22-000/manifest.json",
|
||||
"bytes": 2182,
|
||||
"lines": 61,
|
||||
"tokens": 546
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P22-000.md",
|
||||
"bytes": 310,
|
||||
"lines": 8,
|
||||
"tokens": 78
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1594,
|
||||
"evidenceFiles": 0,
|
||||
"evidenceBytes": 0,
|
||||
"evidenceTokens": 0,
|
||||
"totalTokens": 1594,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 2618,
|
||||
"serializedContextTokens": 598,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
117
tests/golden/WBV2-P22-002/delete-task-plan.json
Normal file
117
tests/golden/WBV2-P22-002/delete-task-plan.json
Normal file
@@ -0,0 +1,117 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_PARITY_V2_OBJECT_DELETE_EPOCH_1",
|
||||
"status": "ACTIVE_OBJECT_DELETE_QUEUE",
|
||||
"authority": "queue_reactivated_after_p21_rename_gate",
|
||||
"sourcePlan": "docs/BLENDER_WEB_PARITY_TASK_PLAN_V2.json",
|
||||
"executionPointer": "docs/EXECUTION_QUEUE.md",
|
||||
"runtimePolicy": {
|
||||
"blenderSource": "blender-5.2.0",
|
||||
"browserEvidence": [
|
||||
"chromium"
|
||||
],
|
||||
"forbiddenBrowsers": [
|
||||
"firefox",
|
||||
"webkit"
|
||||
],
|
||||
"mainAuthority": "blender_main",
|
||||
"reusePolicy": "source_hash_and_behavior_hash_deduplication"
|
||||
},
|
||||
"parentRename": {
|
||||
"manifest": "tests/golden/WBV2-P21-003/manifest.json",
|
||||
"report": "tests/golden/WBV2-P21-003/object-rename-gate-report.json",
|
||||
"basePending": 6618,
|
||||
"effectivePending": 6611,
|
||||
"duplicateValidationAvoided": true
|
||||
},
|
||||
"tasks": [
|
||||
{
|
||||
"id": "WBV2-P22-000",
|
||||
"phase": "P22",
|
||||
"title": "authorize_object_delete_continuation",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P21-003"
|
||||
],
|
||||
"status": "done",
|
||||
"ready": false,
|
||||
"card": "docs/tasks/WBV2-P22-000.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_BOUNDED",
|
||||
"gate": "G2",
|
||||
"parityId": null
|
||||
},
|
||||
{
|
||||
"id": "WBV2-P22-001",
|
||||
"phase": "P22",
|
||||
"title": "select_object_delete_batch",
|
||||
"owner": "PARITY",
|
||||
"dependsOn": [
|
||||
"WBV2-P22-000"
|
||||
],
|
||||
"status": "done",
|
||||
"ready": false,
|
||||
"card": "docs/tasks/WBV2-P22-001.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_BOUNDED",
|
||||
"gate": "G2",
|
||||
"parityId": "OBJECT_OPERATIONS.DELETE"
|
||||
},
|
||||
{
|
||||
"id": "WBV2-P22-002",
|
||||
"phase": "P22",
|
||||
"title": "object_delete_engine_receipt",
|
||||
"owner": "OBJECT",
|
||||
"dependsOn": [
|
||||
"WBV2-P22-001"
|
||||
],
|
||||
"status": "done",
|
||||
"ready": false,
|
||||
"card": "docs/tasks/WBV2-P22-002.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_EXACT",
|
||||
"gate": "G2",
|
||||
"parityId": "OBJECT_OPERATIONS.DELETE"
|
||||
},
|
||||
{
|
||||
"id": "WBV2-P22-003",
|
||||
"phase": "P22",
|
||||
"title": "close_object_delete_gate",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P22-002"
|
||||
],
|
||||
"status": "in_progress",
|
||||
"ready": true,
|
||||
"card": "docs/tasks/WBV2-P22-003.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_BOUNDED",
|
||||
"gate": "G5",
|
||||
"parityId": null
|
||||
}
|
||||
],
|
||||
"parentRecoveryPlan": {
|
||||
"path": "tests/golden/WBV2-P22-001/delete-task-plan.json",
|
||||
"sha256": "a75200168aa524642a460058b7fcd1ec37219cb8ac23b03140c2e3f43ed0ca35"
|
||||
}
|
||||
}
|
||||
78
tests/golden/WBV2-P22-002/manifest.json
Normal file
78
tests/golden/WBV2-P22-002/manifest.json
Normal file
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-002",
|
||||
"parentTask": "WBV2-P22-001",
|
||||
"operation": "OBJECT_DELETE_ENGINE_RECEIPT",
|
||||
"status": "done",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "PLAYWRIGHT_CHROMIUM_WEBENGINE_WASM",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P22-001/manifest.json",
|
||||
"sha256": "fafe50ee8b6518ef1d19074d9a9140966a74e5b1578ea1c3e5cd152f7f601b9b"
|
||||
},
|
||||
"selection": {
|
||||
"path": "tests/golden/WBV2-P22-001/object-delete-selection-report.json",
|
||||
"sha256": "5cbc7fae1478af3b4ef64bfa259a8d170345beee7cd02a618bdd1ae116febd45"
|
||||
},
|
||||
"api": {
|
||||
"path": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
|
||||
"sha256": "8fa70dc7605e66393482e661e5987a8443dded56ab0092aeb977b40ae49888f8"
|
||||
},
|
||||
"test": {
|
||||
"path": "web/tests/e2e/wbv2-object-delete-production.spec.ts",
|
||||
"sha256": "b0be503b35f472818bd245de09e3df3a66886de7c2838fa7035a924c61ed632b"
|
||||
},
|
||||
"fixture": {
|
||||
"path": "tests/files/web/basic_scene.blend",
|
||||
"sha256": "6fcc55bda74da8c95da96ba068b60339bf60ca44147ff8000fbb95d296db2a73"
|
||||
},
|
||||
"production": {
|
||||
"path": "tests/golden/WBV2-P22-002/object-delete-production.json",
|
||||
"sha256": "82dc735ae2d8422219052ba963299cab56fd372e49150205a5eb3772411ff027"
|
||||
},
|
||||
"secondProduction": {
|
||||
"path": "tests/golden/WBV2-P22-002/object-delete-production.second.json",
|
||||
"sha256": "82dc735ae2d8422219052ba963299cab56fd372e49150205a5eb3772411ff027"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P22-002/object-delete-receipt-report.json",
|
||||
"sha256": "1c07b117b34d41ea6bacc81f0d907c3f94b1a2c36ddca8cfc852f7aade3ffe08"
|
||||
},
|
||||
"generator": {
|
||||
"path": "tools/web/generate-wbv2-delete-receipt.mjs",
|
||||
"sha256": "54691108242775bba42eb5e73b187460a670ae767fb7e7d8f36a81e98d9eeb08"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P22-002.md",
|
||||
"sha256": "b4aeef00fbf92da126e8c850dab770bd384ed3b869fcb618fae92363f4112dd2"
|
||||
},
|
||||
"parityPlan": {
|
||||
"path": "tests/golden/WBV2-P22-002/delete-task-plan.json",
|
||||
"sha256": "cd4b0f034b5800972290d9b5f4d78c9d8f8f9d0d91fb6b60a7169f8ccdaa1d68"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P22-002/task-context.json",
|
||||
"sha256": "0d71103aba0f366cbb59821a51bd338d01e591ed13e8d9511a1147b969062670"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"exactInventoryBindings": 1,
|
||||
"boundInventoryIds": [
|
||||
"operator:object.delete"
|
||||
],
|
||||
"objectDeleted": true,
|
||||
"undoRedoSequential": true,
|
||||
"malformedRejected": true,
|
||||
"saveReopen": "EXACT",
|
||||
"deterministic": true,
|
||||
"representativeSliceOnly": true,
|
||||
"fullFamilyParity": false,
|
||||
"inventoryTotal": 6900,
|
||||
"baseInventoryPending": 6618,
|
||||
"effectivePending": 6611,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P22-003"
|
||||
}
|
||||
24
tests/golden/WBV2-P22-002/object-delete-production.json
Normal file
24
tests/golden/WBV2-P22-002/object-delete-production.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-002",
|
||||
"operation": "OBJECT_DELETE_ENGINE_CHROMIUM",
|
||||
"queueMutation": false,
|
||||
"fixtureSha256": "6fcc55bda74da8c95da96ba068b60339bf60ca44147ff8000fbb95d296db2a73",
|
||||
"browser": "chromium",
|
||||
"baseRevision": 1,
|
||||
"beforeCount": 3,
|
||||
"deleteRevision": 2,
|
||||
"undoRevision": 3,
|
||||
"redoRevision": 4,
|
||||
"afterCount": 2,
|
||||
"deletedId": "object:BasicCube",
|
||||
"malformed": {
|
||||
"code": "INVALID_ARGUMENT",
|
||||
"message": "deleteObject requires an existing object"
|
||||
},
|
||||
"malformedRevisionPreserved": true,
|
||||
"reopenedCount": 2,
|
||||
"reopenedDeleted": true,
|
||||
"reopenedRevision": 1,
|
||||
"savedSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-002",
|
||||
"operation": "OBJECT_DELETE_ENGINE_CHROMIUM",
|
||||
"queueMutation": false,
|
||||
"fixtureSha256": "6fcc55bda74da8c95da96ba068b60339bf60ca44147ff8000fbb95d296db2a73",
|
||||
"browser": "chromium",
|
||||
"baseRevision": 1,
|
||||
"beforeCount": 3,
|
||||
"deleteRevision": 2,
|
||||
"undoRevision": 3,
|
||||
"redoRevision": 4,
|
||||
"afterCount": 2,
|
||||
"deletedId": "object:BasicCube",
|
||||
"malformed": {
|
||||
"code": "INVALID_ARGUMENT",
|
||||
"message": "deleteObject requires an existing object"
|
||||
},
|
||||
"malformedRevisionPreserved": true,
|
||||
"reopenedCount": 2,
|
||||
"reopenedDeleted": true,
|
||||
"reopenedRevision": 1,
|
||||
"savedSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
}
|
||||
66
tests/golden/WBV2-P22-002/object-delete-receipt-report.json
Normal file
66
tests/golden/WBV2-P22-002/object-delete-receipt-report.json
Normal file
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-002",
|
||||
"operation": "OBJECT_DELETE_ENGINE_RECEIPT",
|
||||
"status": "PASS",
|
||||
"browser": "chromium",
|
||||
"queueMutation": false,
|
||||
"source": {
|
||||
"manifest": "tests/golden/WBV2-P22-001/manifest.json",
|
||||
"manifestSha256": "fafe50ee8b6518ef1d19074d9a9140966a74e5b1578ea1c3e5cd152f7f601b9b",
|
||||
"selection": "tests/golden/WBV2-P22-001/object-delete-selection-report.json",
|
||||
"selectionSha256": "5cbc7fae1478af3b4ef64bfa259a8d170345beee7cd02a618bdd1ae116febd45",
|
||||
"api": "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
|
||||
"apiSha256": "8fa70dc7605e66393482e661e5987a8443dded56ab0092aeb977b40ae49888f8",
|
||||
"test": "web/tests/e2e/wbv2-object-delete-production.spec.ts",
|
||||
"testSha256": "b0be503b35f472818bd245de09e3df3a66886de7c2838fa7035a924c61ed632b",
|
||||
"fixture": "tests/files/web/basic_scene.blend",
|
||||
"fixtureSha256": "6fcc55bda74da8c95da96ba068b60339bf60ca44147ff8000fbb95d296db2a73"
|
||||
},
|
||||
"production": {
|
||||
"report": "tests/golden/WBV2-P22-002/object-delete-production.json",
|
||||
"reportSha256": "82dc735ae2d8422219052ba963299cab56fd372e49150205a5eb3772411ff027",
|
||||
"secondReport": "tests/golden/WBV2-P22-002/object-delete-production.second.json",
|
||||
"secondReportSha256": "82dc735ae2d8422219052ba963299cab56fd372e49150205a5eb3772411ff027",
|
||||
"deterministic": true,
|
||||
"objectId": "object:BasicCube",
|
||||
"beforeCount": 3,
|
||||
"afterCount": 2,
|
||||
"revisions": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"malformed": {
|
||||
"code": "INVALID_ARGUMENT",
|
||||
"message": "deleteObject requires an existing object"
|
||||
},
|
||||
"malformedRevisionPreserved": true,
|
||||
"reopenedCount": 2,
|
||||
"reopenedDeleted": true,
|
||||
"reopenedRevision": 1,
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"inventoryBindings": [
|
||||
{
|
||||
"id": "operator:object.delete",
|
||||
"evidence": "deleteObject",
|
||||
"exact": true,
|
||||
"reason": "bounded protocol command deletes and persists object removal"
|
||||
}
|
||||
],
|
||||
"assertions": {
|
||||
"objectDeleted": true,
|
||||
"undoRedoSequential": true,
|
||||
"malformedRejected": true,
|
||||
"mainUnchangedOnMalformed": true,
|
||||
"saveReopenExact": true,
|
||||
"deterministic": true,
|
||||
"inventoryBindingsExact": true,
|
||||
"representativeSliceOnly": true,
|
||||
"fullFamilyParity": false,
|
||||
"historicalReproduction": false
|
||||
},
|
||||
"nextTask": "WBV2-P22-003"
|
||||
}
|
||||
170
tests/golden/WBV2-P22-002/task-context.json
Normal file
170
tests/golden/WBV2-P22-002/task-context.json
Normal file
@@ -0,0 +1,170 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-002",
|
||||
"parentTask": "WBV2-P22-001",
|
||||
"status": "in_progress",
|
||||
"goal": "Bind deleteObject, undo/redo, malformed rejection, and exact save/reopen to compiled WASM Main in Chromium.",
|
||||
"scope": {
|
||||
"gap": "capability:OBJECT_OPERATIONS.DELETE",
|
||||
"ownerFamily": "OBJECT",
|
||||
"implementationClass": "LOCAL_EXACT"
|
||||
},
|
||||
"commands": [
|
||||
"node tools/web/check-task-context.mjs --task WBV2-P22-002 --write"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tests/golden/WBV2-P22-001/object-delete-selection-report.json"
|
||||
],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 3168,
|
||||
"contextRemainingTokens": 790
|
||||
},
|
||||
"source": {
|
||||
"bytes": 6736,
|
||||
"tokens": 1686
|
||||
},
|
||||
"selected": [
|
||||
{
|
||||
"path": "tests/golden/WBV2-P22-001/object-delete-selection-report.json",
|
||||
"bytes": 1991,
|
||||
"tokens": 498
|
||||
}
|
||||
],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "web/tests/e2e/wbv2-object-delete-production.spec.ts",
|
||||
"bytes": 3081,
|
||||
"reason": "CONTEXT_REMAINING_SPACE"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P22-002/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P22-002.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P22-002/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"files": 1,
|
||||
"bytes": 1991,
|
||||
"tokens": 498
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"nextTask": "WBV2-P22-003",
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P22-002.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P22-001/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P22-001.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P22-002.md",
|
||||
"tests/golden/WBV2-P22-001/manifest.json",
|
||||
"docs/status/WBV2-P22-001.md"
|
||||
],
|
||||
"machineOnly": [
|
||||
"tests/golden/WBV2/task-index.json",
|
||||
"tests/golden/M15-03A/task-catalog.jsonl"
|
||||
],
|
||||
"optionalByNeed": [
|
||||
"docs/WEB_BLENDER_MODELER_V1_SCOPE.md",
|
||||
"任务卡列出的精确协议/生产路径",
|
||||
"任务卡明确命名的长期计划小节"
|
||||
],
|
||||
"forbiddenByDefault": [
|
||||
"完整 CURRENT_EXECUTION_PLAN.md",
|
||||
"完整 PROJECT_STATUS_AND_NEXT_WORK.md",
|
||||
"全部 docs/status/*.md",
|
||||
"完整 parity/WBS 计划",
|
||||
"README 历史和 test-results/"
|
||||
]
|
||||
},
|
||||
"parent": {
|
||||
"manifest": {
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-001",
|
||||
"parentTask": "WBV2-P22-000",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P22-002",
|
||||
"artifactCount": 10
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P22-001 status",
|
||||
"- task: `WBV2-P22-001`; parent: `WBV2-P22-000`; status: `done`",
|
||||
"- selected behavior: `deleteObject`; exact candidate: `operator:object.delete`",
|
||||
"- base inventory: `6900` total, `6618` pending; effective carried overlay: `6611` pending",
|
||||
"- behavior hash: `e30152b84820ae767fcb3f52411bd7aabb677d15de9e6d6c41f838f6dcce30f3`; duplicate validation: `forbidden`",
|
||||
"- nextTask: `WBV2-P22-002`"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1110,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 35,
|
||||
"taskTokens": 278
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2803,
|
||||
"lines": 51,
|
||||
"tokens": 701
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P22-002.md",
|
||||
"bytes": 1110,
|
||||
"lines": 35,
|
||||
"tokens": 278
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P22-001/manifest.json",
|
||||
"bytes": 2422,
|
||||
"lines": 68,
|
||||
"tokens": 606
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P22-001.md",
|
||||
"bytes": 401,
|
||||
"lines": 8,
|
||||
"tokens": 101
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1686,
|
||||
"evidenceFiles": 1,
|
||||
"evidenceBytes": 1991,
|
||||
"evidenceTokens": 498,
|
||||
"totalTokens": 2184,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 3208,
|
||||
"serializedContextTokens": 668,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
117
tests/golden/WBV2-P22-003/delete-task-plan.json
Normal file
117
tests/golden/WBV2-P22-003/delete-task-plan.json
Normal file
@@ -0,0 +1,117 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"planId": "BLENDER_WEB_PARITY_V2_OBJECT_DELETE_EPOCH_1",
|
||||
"status": "COMPLETED_WITH_OBJECT_DELETE_SLICE",
|
||||
"authority": "queue_reactivated_after_p21_rename_gate",
|
||||
"sourcePlan": "docs/BLENDER_WEB_PARITY_TASK_PLAN_V2.json",
|
||||
"executionPointer": "docs/EXECUTION_QUEUE.md",
|
||||
"runtimePolicy": {
|
||||
"blenderSource": "blender-5.2.0",
|
||||
"browserEvidence": [
|
||||
"chromium"
|
||||
],
|
||||
"forbiddenBrowsers": [
|
||||
"firefox",
|
||||
"webkit"
|
||||
],
|
||||
"mainAuthority": "blender_main",
|
||||
"reusePolicy": "source_hash_and_behavior_hash_deduplication"
|
||||
},
|
||||
"parentRename": {
|
||||
"manifest": "tests/golden/WBV2-P21-003/manifest.json",
|
||||
"report": "tests/golden/WBV2-P21-003/object-rename-gate-report.json",
|
||||
"basePending": 6618,
|
||||
"effectivePending": 6611,
|
||||
"duplicateValidationAvoided": true
|
||||
},
|
||||
"tasks": [
|
||||
{
|
||||
"id": "WBV2-P22-000",
|
||||
"phase": "P22",
|
||||
"title": "authorize_object_delete_continuation",
|
||||
"owner": "PROGRAM",
|
||||
"dependsOn": [
|
||||
"WBV2-P21-003"
|
||||
],
|
||||
"status": "done",
|
||||
"ready": false,
|
||||
"card": "docs/tasks/WBV2-P22-000.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_BOUNDED",
|
||||
"gate": "G2",
|
||||
"parityId": null
|
||||
},
|
||||
{
|
||||
"id": "WBV2-P22-001",
|
||||
"phase": "P22",
|
||||
"title": "select_object_delete_batch",
|
||||
"owner": "PARITY",
|
||||
"dependsOn": [
|
||||
"WBV2-P22-000"
|
||||
],
|
||||
"status": "done",
|
||||
"ready": false,
|
||||
"card": "docs/tasks/WBV2-P22-001.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_BOUNDED",
|
||||
"gate": "G2",
|
||||
"parityId": "OBJECT_OPERATIONS.DELETE"
|
||||
},
|
||||
{
|
||||
"id": "WBV2-P22-002",
|
||||
"phase": "P22",
|
||||
"title": "object_delete_engine_receipt",
|
||||
"owner": "OBJECT",
|
||||
"dependsOn": [
|
||||
"WBV2-P22-001"
|
||||
],
|
||||
"status": "done",
|
||||
"ready": false,
|
||||
"card": "docs/tasks/WBV2-P22-002.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_EXACT",
|
||||
"gate": "G2",
|
||||
"parityId": "OBJECT_OPERATIONS.DELETE"
|
||||
},
|
||||
{
|
||||
"id": "WBV2-P22-003",
|
||||
"phase": "P22",
|
||||
"title": "close_object_delete_gate",
|
||||
"owner": "RELEASE",
|
||||
"dependsOn": [
|
||||
"WBV2-P22-002"
|
||||
],
|
||||
"status": "in_progress",
|
||||
"ready": true,
|
||||
"card": "docs/tasks/WBV2-P22-003.md",
|
||||
"acceptance": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"implementationClass": "LOCAL_BOUNDED",
|
||||
"gate": "G5",
|
||||
"parityId": null
|
||||
}
|
||||
],
|
||||
"parentRecoveryPlan": {
|
||||
"path": "tests/golden/WBV2-P22-002/delete-task-plan.json",
|
||||
"sha256": "cd4b0f034b5800972290d9b5f4d78c9d8f8f9d0d91fb6b60a7169f8ccdaa1d68"
|
||||
}
|
||||
}
|
||||
127
tests/golden/WBV2-P22-003/inventory-completion-overlay.json
Normal file
127
tests/golden/WBV2-P22-003/inventory-completion-overlay.json
Normal file
@@ -0,0 +1,127 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-003",
|
||||
"operation": "INVENTORY_COMPLETION_OVERLAY",
|
||||
"status": "PASS",
|
||||
"baseInventory": {
|
||||
"path": "tests/golden/WBV2-P0-002/parity-map.json",
|
||||
"sha256": "a60a77cae000941a953d55adbf93d8f6e275533891713d6eae993f60faed94e8",
|
||||
"total": 6900,
|
||||
"pending": 6618
|
||||
},
|
||||
"previousOverlay": {
|
||||
"path": "tests/golden/WBV2-P21-003/inventory-completion-overlay.json",
|
||||
"sha256": "d7832a395fe2d42dd82550cada4716ddcbfdd071179b2d8920bf109583460beb",
|
||||
"effectiveCompleted": 288,
|
||||
"effectivePending": 6611
|
||||
},
|
||||
"completionEvidence": {
|
||||
"receipt": "tests/golden/WBV2-P22-002/object-delete-receipt-report.json",
|
||||
"receiptSha256": "1c07b117b34d41ea6bacc81f0d907c3f94b1a2c36ddca8cfc852f7aade3ffe08",
|
||||
"deterministic": true,
|
||||
"chromium": true,
|
||||
"wasmMain": true,
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"entries": [
|
||||
{
|
||||
"id": "operator:paint.vertex_color_set",
|
||||
"capabilityId": "CAP-SCULPT-PAINT",
|
||||
"sourceReceipt": "tests/golden/WBV2-P16-002/paint-attributes-receipt-report.json",
|
||||
"sourceReceiptSha256": "055531f8496d9f740c3d8b47456c7f426daece27e3a8272fb1c8e650c8c80c3a",
|
||||
"evidence": "setVertexColors",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:paint.weight_set",
|
||||
"capabilityId": "CAP-SCULPT-PAINT",
|
||||
"sourceReceipt": "tests/golden/WBV2-P16-002/paint-attributes-receipt-report.json",
|
||||
"sourceReceiptSha256": "055531f8496d9f740c3d8b47456c7f426daece27e3a8272fb1c8e650c8c80c3a",
|
||||
"evidence": "setVertexWeights",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:paint.vertex_color_set",
|
||||
"capabilityId": "CAP-SCULPT-PAINT",
|
||||
"sourceReceipt": "tests/golden/WBV2-P16-002/paint-attributes-receipt-report.json",
|
||||
"sourceReceiptSha256": "055531f8496d9f740c3d8b47456c7f426daece27e3a8272fb1c8e650c8c80c3a",
|
||||
"evidence": "setVertexColors",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:paint.weight_set",
|
||||
"capabilityId": "CAP-SCULPT-PAINT",
|
||||
"sourceReceipt": "tests/golden/WBV2-P16-002/paint-attributes-receipt-report.json",
|
||||
"sourceReceiptSha256": "055531f8496d9f740c3d8b47456c7f426daece27e3a8272fb1c8e650c8c80c3a",
|
||||
"evidence": "setVertexWeights",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:object.duplicate",
|
||||
"capabilityId": "CAP-OBJECT-OPERATIONS",
|
||||
"sourceReceipt": "tests/golden/WBV2-P17-002/object-duplicate-receipt-report.json",
|
||||
"sourceReceiptSha256": "daa20107e07ae97b0cfc4ee21be683d729230ea32850a004ca4d14c20ff4b776",
|
||||
"evidence": "duplicateObject",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:object.add",
|
||||
"capabilityId": "CAP-OBJECT-OPERATIONS",
|
||||
"sourceReceipt": "tests/golden/WBV2-P18-002/object-create-receipt-report.json",
|
||||
"sourceReceiptSha256": "a18b92a2cd114caf68c9af477ba9e01a34852b64e2911b6c69777cab8846c2d3",
|
||||
"evidence": "createPrimitive(CUBE)",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:object.parent_set",
|
||||
"capabilityId": "CAP-OBJECT-OPERATIONS",
|
||||
"sourceReceipt": "tests/golden/WBV2-P19-002/object-parent-receipt-report.json",
|
||||
"sourceReceiptSha256": "a76479b66bc542c293d6ada71251e89ba941d8decb9475d60c4aee8c2890f32c",
|
||||
"evidence": "setParent",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:object.collection_add",
|
||||
"capabilityId": "CAP-OBJECT-OPERATIONS",
|
||||
"sourceReceipt": "tests/golden/WBV2-P20-002/collection-create-receipt-report.json",
|
||||
"sourceReceiptSha256": "5182020f14821f4e058eeccc59af74fa4bb4536e5d95ab9f4252d65b1d4b5717",
|
||||
"evidence": "createCollection",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:object.add_named",
|
||||
"capabilityId": "CAP-OBJECT-OPERATIONS",
|
||||
"sourceReceipt": "tests/golden/WBV2-P21-002/object-rename-receipt-report.json",
|
||||
"sourceReceiptSha256": "5a630449c954f5a3191a301e97214b0a8e260dd6115b9fd7564be1bd9d993200",
|
||||
"evidence": "renameId",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:object.delete",
|
||||
"capabilityId": "CAP-OBJECT-OPERATIONS",
|
||||
"sourceReceipt": "tests/golden/WBV2-P22-002/object-delete-receipt-report.json",
|
||||
"sourceReceiptSha256": "1c07b117b34d41ea6bacc81f0d907c3f94b1a2c36ddca8cfc852f7aade3ffe08",
|
||||
"evidence": "deleteObject",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
}
|
||||
],
|
||||
"summary": {
|
||||
"newlyVerifiedEntries": 1,
|
||||
"effectiveCompleted": 289,
|
||||
"effectivePending": 6610,
|
||||
"claimedComplete": 8,
|
||||
"basePendingPreserved": true,
|
||||
"fullFamilyParity": false,
|
||||
"historicalReproduction": false
|
||||
}
|
||||
}
|
||||
72
tests/golden/WBV2-P22-003/manifest.json
Normal file
72
tests/golden/WBV2-P22-003/manifest.json
Normal file
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-003",
|
||||
"parentTask": "WBV2-P22-002",
|
||||
"operation": "CLOSE_OBJECT_DELETE_GATE",
|
||||
"status": "done",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": true,
|
||||
"runtime": "READ_ONLY_OBJECT_DELETE_GATE_WITH_COMPLETION_OVERLAY",
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/WBV2-P22-002/manifest.json",
|
||||
"sha256": "1b3beb45cdaf12ce9d71bdf6f3a3d27bb6bf3e3147aceab06d6b272bf374888f"
|
||||
},
|
||||
"receipt": {
|
||||
"path": "tests/golden/WBV2-P22-002/object-delete-receipt-report.json",
|
||||
"sha256": "1c07b117b34d41ea6bacc81f0d907c3f94b1a2c36ddca8cfc852f7aade3ffe08"
|
||||
},
|
||||
"previousOverlay": {
|
||||
"path": "tests/golden/WBV2-P21-003/inventory-completion-overlay.json",
|
||||
"sha256": "d7832a395fe2d42dd82550cada4716ddcbfdd071179b2d8920bf109583460beb"
|
||||
},
|
||||
"baseInventory": {
|
||||
"path": "tests/golden/WBV2-P0-002/parity-map.json",
|
||||
"sha256": "a60a77cae000941a953d55adbf93d8f6e275533891713d6eae993f60faed94e8"
|
||||
},
|
||||
"overlay": {
|
||||
"path": "tests/golden/WBV2-P22-003/inventory-completion-overlay.json",
|
||||
"sha256": "a8e4c10f66f5d1224689413991a88617154bbb19ecd6ac6bd629ba9888f461dd"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/WBV2-P22-003/object-delete-gate-report.json",
|
||||
"sha256": "997d0914ecd19ba2fdad4a87b60cf001c6446e42854ba2d4f072738601719cad"
|
||||
},
|
||||
"generator": {
|
||||
"path": "tools/web/generate-wbv2-delete-gate.mjs",
|
||||
"sha256": "bacaf957d0dd025f5b5008e36994e520c625496b5b72a5428809279538c30496"
|
||||
},
|
||||
"status": {
|
||||
"path": "docs/status/WBV2-P22-003.md",
|
||||
"sha256": "59665e0492fe69d108032f0a3e1e94e54947a650b73e2c54059f43f59b7a8d92"
|
||||
},
|
||||
"parityPlan": {
|
||||
"path": "tests/golden/WBV2-P22-003/delete-task-plan.json",
|
||||
"sha256": "ce53f60acf4ab4e7d911699f40f36bfc678c9ee5ef36fb0bd665da7b021b3a5e"
|
||||
},
|
||||
"taskContext": {
|
||||
"path": "tests/golden/WBV2-P22-003/task-context.json",
|
||||
"sha256": "1eb8e4fb45e47988e40fd95a834a3572331a0cf20cbfbf2dc101c53ea5943193"
|
||||
}
|
||||
},
|
||||
"assertions": {
|
||||
"totalFeatureClaims": 7,
|
||||
"newObjectDeleteClaims": 1,
|
||||
"exactInventoryBindings": 1,
|
||||
"effectiveCompleted": 289,
|
||||
"effectivePending": 6610,
|
||||
"baseInventoryCompleted": 281,
|
||||
"baseInventoryPending": 6618,
|
||||
"claimedCompleteOverlay": 8,
|
||||
"uniqueBehaviorRuns": 8,
|
||||
"repeatedBlenderRuns": 0,
|
||||
"repeatedChromiumRuns": 0,
|
||||
"duplicateValidationAvoided": true,
|
||||
"baseInventoryUntouched": true,
|
||||
"provenanceEpoch": 2,
|
||||
"authorizedRebaselineOnly": true,
|
||||
"fullHistoricalReproduction": false,
|
||||
"deterministic": true
|
||||
},
|
||||
"nextTask": null
|
||||
}
|
||||
185
tests/golden/WBV2-P22-003/object-delete-gate-report.json
Normal file
185
tests/golden/WBV2-P22-003/object-delete-gate-report.json
Normal file
@@ -0,0 +1,185 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-003",
|
||||
"operation": "CLOSE_OBJECT_DELETE_GATE",
|
||||
"status": "PASS",
|
||||
"decision": {
|
||||
"status": "READY_WITH_OBJECT_DELETE_SLICE_AND_INVENTORY_OVERLAY",
|
||||
"code": "OBJECT_DELETE_AUTHORIZED_REBASELINE",
|
||||
"featureParityClaims": [
|
||||
"SCULPT.PAINT_ATTRIBUTES",
|
||||
"OBJECT_OPERATIONS.DUPLICATE",
|
||||
"OBJECT_OPERATIONS.CREATE",
|
||||
"OBJECT_OPERATIONS.PARENT",
|
||||
"OBJECT_OPERATIONS.COLLECTION_CREATE",
|
||||
"OBJECT_OPERATIONS.RENAME",
|
||||
"OBJECT_OPERATIONS.DELETE"
|
||||
],
|
||||
"featureParityClaimCount": 7,
|
||||
"newFeatureClaim": "OBJECT_OPERATIONS.DELETE",
|
||||
"newlyVerifiedInventoryEntries": 1,
|
||||
"baseInventoryPending": 6618,
|
||||
"effectivePending": 6610,
|
||||
"effectiveCompleted": 289,
|
||||
"claimedCompleteOverlay": 8,
|
||||
"fullFamilyParity": false,
|
||||
"engineBound": true,
|
||||
"browser": "chromium",
|
||||
"provenanceEpoch": 2,
|
||||
"releaseScope": "AUTHORIZED_REBASELINE_ONLY",
|
||||
"fullHistoricalReproduction": false,
|
||||
"inventoryTotal": 6900
|
||||
},
|
||||
"evidence": {
|
||||
"receipt": {
|
||||
"path": "tests/golden/WBV2-P22-002/object-delete-receipt-report.json",
|
||||
"sha256": "1c07b117b34d41ea6bacc81f0d907c3f94b1a2c36ddca8cfc852f7aade3ffe08",
|
||||
"bindings": [
|
||||
{
|
||||
"id": "operator:object.delete",
|
||||
"evidence": "deleteObject",
|
||||
"exact": true,
|
||||
"reason": "bounded protocol command deletes and persists object removal"
|
||||
}
|
||||
]
|
||||
},
|
||||
"overlay": {
|
||||
"path": "tests/golden/WBV2-P22-003/inventory-completion-overlay.json",
|
||||
"sha256": "a8e4c10f66f5d1224689413991a88617154bbb19ecd6ac6bd629ba9888f461dd",
|
||||
"entries": [
|
||||
{
|
||||
"id": "operator:paint.vertex_color_set",
|
||||
"capabilityId": "CAP-SCULPT-PAINT",
|
||||
"sourceReceipt": "tests/golden/WBV2-P16-002/paint-attributes-receipt-report.json",
|
||||
"sourceReceiptSha256": "055531f8496d9f740c3d8b47456c7f426daece27e3a8272fb1c8e650c8c80c3a",
|
||||
"evidence": "setVertexColors",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:paint.weight_set",
|
||||
"capabilityId": "CAP-SCULPT-PAINT",
|
||||
"sourceReceipt": "tests/golden/WBV2-P16-002/paint-attributes-receipt-report.json",
|
||||
"sourceReceiptSha256": "055531f8496d9f740c3d8b47456c7f426daece27e3a8272fb1c8e650c8c80c3a",
|
||||
"evidence": "setVertexWeights",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:paint.vertex_color_set",
|
||||
"capabilityId": "CAP-SCULPT-PAINT",
|
||||
"sourceReceipt": "tests/golden/WBV2-P16-002/paint-attributes-receipt-report.json",
|
||||
"sourceReceiptSha256": "055531f8496d9f740c3d8b47456c7f426daece27e3a8272fb1c8e650c8c80c3a",
|
||||
"evidence": "setVertexColors",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:paint.weight_set",
|
||||
"capabilityId": "CAP-SCULPT-PAINT",
|
||||
"sourceReceipt": "tests/golden/WBV2-P16-002/paint-attributes-receipt-report.json",
|
||||
"sourceReceiptSha256": "055531f8496d9f740c3d8b47456c7f426daece27e3a8272fb1c8e650c8c80c3a",
|
||||
"evidence": "setVertexWeights",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:object.duplicate",
|
||||
"capabilityId": "CAP-OBJECT-OPERATIONS",
|
||||
"sourceReceipt": "tests/golden/WBV2-P17-002/object-duplicate-receipt-report.json",
|
||||
"sourceReceiptSha256": "daa20107e07ae97b0cfc4ee21be683d729230ea32850a004ca4d14c20ff4b776",
|
||||
"evidence": "duplicateObject",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:object.add",
|
||||
"capabilityId": "CAP-OBJECT-OPERATIONS",
|
||||
"sourceReceipt": "tests/golden/WBV2-P18-002/object-create-receipt-report.json",
|
||||
"sourceReceiptSha256": "a18b92a2cd114caf68c9af477ba9e01a34852b64e2911b6c69777cab8846c2d3",
|
||||
"evidence": "createPrimitive(CUBE)",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:object.parent_set",
|
||||
"capabilityId": "CAP-OBJECT-OPERATIONS",
|
||||
"sourceReceipt": "tests/golden/WBV2-P19-002/object-parent-receipt-report.json",
|
||||
"sourceReceiptSha256": "a76479b66bc542c293d6ada71251e89ba941d8decb9475d60c4aee8c2890f32c",
|
||||
"evidence": "setParent",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:object.collection_add",
|
||||
"capabilityId": "CAP-OBJECT-OPERATIONS",
|
||||
"sourceReceipt": "tests/golden/WBV2-P20-002/collection-create-receipt-report.json",
|
||||
"sourceReceiptSha256": "5182020f14821f4e058eeccc59af74fa4bb4536e5d95ab9f4252d65b1d4b5717",
|
||||
"evidence": "createCollection",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:object.add_named",
|
||||
"capabilityId": "CAP-OBJECT-OPERATIONS",
|
||||
"sourceReceipt": "tests/golden/WBV2-P21-002/object-rename-receipt-report.json",
|
||||
"sourceReceiptSha256": "5a630449c954f5a3191a301e97214b0a8e260dd6115b9fd7564be1bd9d993200",
|
||||
"evidence": "renameId",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
},
|
||||
{
|
||||
"id": "operator:object.delete",
|
||||
"capabilityId": "CAP-OBJECT-OPERATIONS",
|
||||
"sourceReceipt": "tests/golden/WBV2-P22-002/object-delete-receipt-report.json",
|
||||
"sourceReceiptSha256": "1c07b117b34d41ea6bacc81f0d907c3f94b1a2c36ddca8cfc852f7aade3ffe08",
|
||||
"evidence": "deleteObject",
|
||||
"exact": true,
|
||||
"historicalRestoration": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"previousOverlay": {
|
||||
"path": "tests/golden/WBV2-P21-003/inventory-completion-overlay.json",
|
||||
"sha256": "d7832a395fe2d42dd82550cada4716ddcbfdd071179b2d8920bf109583460beb"
|
||||
},
|
||||
"baseInventory": {
|
||||
"path": "tests/golden/WBV2-P0-002/parity-map.json",
|
||||
"sha256": "a60a77cae000941a953d55adbf93d8f6e275533891713d6eae993f60faed94e8",
|
||||
"pending": 6618
|
||||
}
|
||||
},
|
||||
"efficiency": {
|
||||
"uniqueBehaviorRuns": 8,
|
||||
"repeatedBlenderRuns": 0,
|
||||
"repeatedChromiumRuns": 0,
|
||||
"duplicateValidationAvoided": true,
|
||||
"baseInventoryUntouched": true
|
||||
},
|
||||
"coverage": {
|
||||
"baseTotal": 6900,
|
||||
"baseCompleted": 281,
|
||||
"basePending": 6618,
|
||||
"overlayCompleted": 8,
|
||||
"effectiveCompleted": 289,
|
||||
"effectivePending": 6610
|
||||
},
|
||||
"negative": {
|
||||
"missingReceipt": "REJECTED",
|
||||
"receiptHashDrift": "REJECTED",
|
||||
"nonChromium": "REJECTED",
|
||||
"nonExactSaveReopen": "REJECTED",
|
||||
"representativeAsFullFamily": "REJECTED",
|
||||
"historicalRestorationClaim": "REJECTED"
|
||||
},
|
||||
"policy": {
|
||||
"sourceHistoryReadOnly": true,
|
||||
"authorizedRebaselineOnly": true,
|
||||
"overlayOnlyCompletion": true,
|
||||
"baseInventoryPreserved": true,
|
||||
"inventoryRemainderExplicit": true,
|
||||
"noFalseLocalParity": true,
|
||||
"terminalQueuePointer": true
|
||||
},
|
||||
"nextTask": null
|
||||
}
|
||||
171
tests/golden/WBV2-P22-003/task-context.json
Normal file
171
tests/golden/WBV2-P22-003/task-context.json
Normal file
@@ -0,0 +1,171 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-003",
|
||||
"parentTask": "WBV2-P22-002",
|
||||
"status": "in_progress",
|
||||
"goal": "Close the deleteObject gate and graduate only the exact operator binding.",
|
||||
"scope": {
|
||||
"gap": "workflow:close_object_delete_gate",
|
||||
"ownerFamily": "RELEASE",
|
||||
"implementationClass": "LOCAL_BOUNDED"
|
||||
},
|
||||
"commands": [
|
||||
"node tools/web/check-task-context.mjs --task WBV2-P22-003 --write"
|
||||
],
|
||||
"inputPaths": [
|
||||
"tests/golden/WBV2-P22-002/object-delete-receipt-report.json"
|
||||
],
|
||||
"inputSelection": {
|
||||
"schemaVersion": 1,
|
||||
"limits": {
|
||||
"maxFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextRemainingBytes": 2767,
|
||||
"contextRemainingTokens": 690
|
||||
},
|
||||
"source": {
|
||||
"bytes": 7137,
|
||||
"tokens": 1786
|
||||
},
|
||||
"selected": [
|
||||
{
|
||||
"path": "tests/golden/WBV2-P22-002/object-delete-receipt-report.json",
|
||||
"bytes": 2349,
|
||||
"tokens": 588
|
||||
}
|
||||
],
|
||||
"excluded": [
|
||||
{
|
||||
"path": "tests/golden/WBV2-P21-003/inventory-completion-overlay.json",
|
||||
"bytes": 4537,
|
||||
"reason": "CONTEXT_REMAINING_SPACE"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P22-003/",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P22-003.md",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P22-003/manifest.json",
|
||||
"bytes": null,
|
||||
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||
}
|
||||
],
|
||||
"totals": {
|
||||
"files": 1,
|
||||
"bytes": 2349,
|
||||
"tokens": 588
|
||||
}
|
||||
},
|
||||
"exitCriteria": [
|
||||
"source and evidence hashes are bound",
|
||||
"unique behavior is verified once",
|
||||
"save/reopen remains exact",
|
||||
"malformed input fails closed"
|
||||
],
|
||||
"nextTask": null,
|
||||
"sourceDocuments": {
|
||||
"queue": "docs/EXECUTION_QUEUE.md",
|
||||
"taskCard": "docs/tasks/WBV2-P22-003.md",
|
||||
"taskIndex": "tests/golden/WBV2/task-index.json",
|
||||
"parentManifest": "tests/golden/WBV2-P22-002/manifest.json",
|
||||
"parentStatus": "docs/status/WBV2-P22-002.md"
|
||||
},
|
||||
"readPolicy": {
|
||||
"required": [
|
||||
"docs/EXECUTION_QUEUE.md",
|
||||
"docs/tasks/WBV2-P22-003.md",
|
||||
"tests/golden/WBV2-P22-002/manifest.json",
|
||||
"docs/status/WBV2-P22-002.md"
|
||||
],
|
||||
"machineOnly": [
|
||||
"tests/golden/WBV2/task-index.json",
|
||||
"tests/golden/M15-03A/task-catalog.jsonl"
|
||||
],
|
||||
"optionalByNeed": [
|
||||
"docs/WEB_BLENDER_MODELER_V1_SCOPE.md",
|
||||
"任务卡列出的精确协议/生产路径",
|
||||
"任务卡明确命名的长期计划小节"
|
||||
],
|
||||
"forbiddenByDefault": [
|
||||
"完整 CURRENT_EXECUTION_PLAN.md",
|
||||
"完整 PROJECT_STATUS_AND_NEXT_WORK.md",
|
||||
"全部 docs/status/*.md",
|
||||
"完整 parity/WBS 计划",
|
||||
"README 历史和 test-results/"
|
||||
]
|
||||
},
|
||||
"parent": {
|
||||
"manifest": {
|
||||
"schemaVersion": 1,
|
||||
"task": "WBV2-P22-002",
|
||||
"parentTask": "WBV2-P22-001",
|
||||
"status": "done",
|
||||
"nextTask": "WBV2-P22-003",
|
||||
"artifactCount": 12
|
||||
},
|
||||
"statusSummary": [
|
||||
"# WBV2-P22-002 status",
|
||||
"- task: `WBV2-P22-002`; parent: `WBV2-P22-001`; status: `done`",
|
||||
"- exact inventory binding: `operator:object.delete` via `deleteObject`",
|
||||
"- objects: `3 -> 2`; revisions: `1 -> 4` sequential",
|
||||
"- malformed delete rejected; save/reopen: `EXACT`; deterministic second run: `true`",
|
||||
"- effective pending before overlay: `6611`; representative slice: `true`",
|
||||
"- nextTask: `WBV2-P22-003`"
|
||||
]
|
||||
},
|
||||
"budgets": {
|
||||
"queueBytes": 4096,
|
||||
"taskBytes": 1076,
|
||||
"parentManifestBytes": 24576,
|
||||
"parentStatusBytes": 6144,
|
||||
"evidenceFiles": 12,
|
||||
"evidenceBytes": 8192,
|
||||
"contextTokens": 3500,
|
||||
"contextEnvelopeTokens": 1024,
|
||||
"taskLines": 35,
|
||||
"taskTokens": 269
|
||||
},
|
||||
"size": {
|
||||
"documents": [
|
||||
{
|
||||
"path": "docs/EXECUTION_QUEUE.md",
|
||||
"bytes": 2803,
|
||||
"lines": 51,
|
||||
"tokens": 701
|
||||
},
|
||||
{
|
||||
"path": "docs/tasks/WBV2-P22-003.md",
|
||||
"bytes": 1076,
|
||||
"lines": 35,
|
||||
"tokens": 269
|
||||
},
|
||||
{
|
||||
"path": "tests/golden/WBV2-P22-002/manifest.json",
|
||||
"bytes": 2865,
|
||||
"lines": 79,
|
||||
"tokens": 717
|
||||
},
|
||||
{
|
||||
"path": "docs/status/WBV2-P22-002.md",
|
||||
"bytes": 393,
|
||||
"lines": 9,
|
||||
"tokens": 99
|
||||
}
|
||||
],
|
||||
"sourceTokens": 1786,
|
||||
"evidenceFiles": 1,
|
||||
"evidenceBytes": 2349,
|
||||
"evidenceTokens": 588,
|
||||
"totalTokens": 2374,
|
||||
"reservedEnvelopeTokens": 1024,
|
||||
"estimatedContextTokens": 3398,
|
||||
"serializedContextTokens": 656,
|
||||
"withinBudget": true
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{"id":"WBV2-P21-000","gapId":"workflow:authorize_object_rename_continuation","ownerFamily":"PROGRAM","sourceTask":"P21","state":"completed","targetImplementationClass":"LOCAL_BOUNDED","exitCriteria":["P20 overlay remains hash-bound","renameId API is present","one production task is active"]}
|
||||
{"id":"WBV2-P21-001","gapId":"OBJECT_OPERATIONS.RENAME","ownerFamily":"PARITY","sourceTask":"P21","state":"completed","targetImplementationClass":"LOCAL_BOUNDED","exitCriteria":["source command is hash-bound","previous object evidence is not rerun","one legacy operator binding is selected"]}
|
||||
{"id":"WBV2-P21-002","gapId":"OBJECT_OPERATIONS.RENAME","ownerFamily":"OBJECT","sourceTask":"P21","state":"completed","targetImplementationClass":"LOCAL_EXACT","exitCriteria":["object name changes","undo/redo revisions are sequential","malformed rename fails closed","save/reopen is exact"]}
|
||||
{"id":"WBV2-P21-003","gapId":"workflow:close_object_rename_gate","ownerFamily":"RELEASE","sourceTask":"P21","state":"active","targetImplementationClass":"LOCAL_BOUNDED","exitCriteria":["only object rename is claimed","effective inventory remains explicit","no duplicate validation or historical over-claim"]}
|
||||
{"id":"WBV2-P22-000","gapId":"workflow:authorize_object_delete_continuation","ownerFamily":"PROGRAM","sourceTask":"P22","state":"completed","targetImplementationClass":"LOCAL_BOUNDED","exitCriteria":["source and evidence hashes are bound","unique behavior is verified once","save/reopen remains exact","malformed input fails closed"]}
|
||||
{"id":"WBV2-P22-001","gapId":"OBJECT_OPERATIONS.DELETE","ownerFamily":"PARITY","sourceTask":"P22","state":"completed","targetImplementationClass":"LOCAL_BOUNDED","exitCriteria":["source and evidence hashes are bound","unique behavior is verified once","save/reopen remains exact","malformed input fails closed"]}
|
||||
{"id":"WBV2-P22-002","gapId":"OBJECT_OPERATIONS.DELETE","ownerFamily":"OBJECT","sourceTask":"P22","state":"completed","targetImplementationClass":"LOCAL_EXACT","exitCriteria":["source and evidence hashes are bound","unique behavior is verified once","save/reopen remains exact","malformed input fails closed"]}
|
||||
{"id":"WBV2-P22-003","gapId":"workflow:close_object_delete_gate","ownerFamily":"RELEASE","sourceTask":"P22","state":"active","targetImplementationClass":"LOCAL_BOUNDED","exitCriteria":["source and evidence hashes are bound","unique behavior is verified once","save/reopen remains exact","malformed input fails closed"]}
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P21-003/rename-task-plan.json","sha256":"31f4e0de59a81ca7b769125866da4b1962d0e33c97bd2e6cf80cd17957e3f1e5"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"8574eed897c2b8e533d1f243282802ffaa4657bd74ded88bf294511160612ec6"},"taskCount":4,"activeTask":"WBV2-P21-003","entries":{"WBV2-P21-000":{"line":0,"offset":0,"length":293,"previous":"WBV2-P20-003","next":"WBV2-P21-001"},"WBV2-P21-001":{"line":1,"offset":293,"length":293,"previous":"WBV2-P21-000","next":"WBV2-P21-002"},"WBV2-P21-002":{"line":2,"offset":586,"length":292,"previous":"WBV2-P21-001","next":"WBV2-P21-003"},"WBV2-P21-003":{"line":3,"offset":878,"length":309,"previous":"WBV2-P21-002","next":null}}}
|
||||
{"schemaVersion":1,"operation":"BLENDER_WEB_CAPABILITY_TASK_INDEX","source":{"path":"tests/golden/WBV2-P22-003/delete-task-plan.json","sha256":"ce53f60acf4ab4e7d911699f40f36bfc678c9ee5ef36fb0bd665da7b021b3a5e"},"catalog":{"path":"tests/golden/WBV2/task-catalog.jsonl","sha256":"0b7668da04d1aff56105c1970c76802b0547fb02b76a5da31178c377f18d16e3"},"taskCount":4,"activeTask":"WBV2-P22-003","entries":{"WBV2-P22-000":{"line":0,"offset":0,"length":335,"previous":"WBV2-P21-003","next":"WBV2-P22-001"},"WBV2-P22-001":{"line":1,"offset":335,"length":313,"previous":"WBV2-P22-000","next":"WBV2-P22-002"},"WBV2-P22-002":{"line":2,"offset":648,"length":311,"previous":"WBV2-P22-001","next":"WBV2-P22-003"},"WBV2-P22-003":{"line":3,"offset":959,"length":320,"previous":"WBV2-P22-002","next":null}}}
|
||||
|
||||
1
tools/web/generate-wbv2-delete-gate.mjs
Normal file
1
tools/web/generate-wbv2-delete-gate.mjs
Normal file
File diff suppressed because one or more lines are too long
1
tools/web/generate-wbv2-delete-receipt.mjs
Normal file
1
tools/web/generate-wbv2-delete-receipt.mjs
Normal file
File diff suppressed because one or more lines are too long
58
tools/web/generate-wbv2-delete-root.mjs
Normal file
58
tools/web/generate-wbv2-delete-root.mjs
Normal file
@@ -0,0 +1,58 @@
|
||||
import assert from "node:assert/strict";
|
||||
import crypto from "node:crypto";
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
import { execFileSync } from "node:child_process";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../..");
|
||||
const abs = (file) => path.join(root, file);
|
||||
const read = (file) => fs.readFileSync(abs(file), "utf8");
|
||||
const json = (file) => JSON.parse(read(file));
|
||||
const sha = (file) => crypto.createHash("sha256").update(fs.readFileSync(abs(file))).digest("hex");
|
||||
const p21Path = "tests/golden/WBV2-P21-003/manifest.json";
|
||||
const p21ReportPath = "tests/golden/WBV2-P21-003/object-rename-gate-report.json";
|
||||
const out = "tests/golden/WBV2-P22-000";
|
||||
const planPath = `${out}/delete-task-plan.json`;
|
||||
const reportPath = `${out}/delete-root-report.json`;
|
||||
const manifestPath = `${out}/manifest.json`;
|
||||
const statusPath = "docs/status/WBV2-P22-000.md";
|
||||
const inventoryPath = "tests/golden/WBV2-P0-002/parity-map.json";
|
||||
const apiPath = "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp";
|
||||
const clientPath = "web/app/src/engine-client/WebEngineClient.ts";
|
||||
|
||||
const p21 = json(p21Path);
|
||||
const p21Report = json(p21ReportPath);
|
||||
const inventory = json(inventoryPath);
|
||||
assert.equal(p21.status, "done");
|
||||
assert.ok(p21.nextTask === null || p21.nextTask === "WBV2-P22-000");
|
||||
assert.equal(p21Report.status, "PASS");
|
||||
assert.equal(p21Report.decision.effectivePending, 6611);
|
||||
assert.equal(inventory.summary.inventoryEntries, 6900);
|
||||
for (const artifact of Object.values(p21.artifacts ?? {})) assert.equal(sha(artifact.path), artifact.sha256, artifact.path);
|
||||
assert.match(read(apiPath), /deleteObject/);
|
||||
assert.match(read(clientPath), /applyCommand/);
|
||||
|
||||
const tasks = [
|
||||
{ id: "WBV2-P22-000", phase: "P22", title: "authorize_object_delete_continuation", owner: "PROGRAM", dependsOn: ["WBV2-P21-003"], status: "done", ready: false },
|
||||
{ id: "WBV2-P22-001", phase: "P22", title: "select_object_delete_batch", owner: "PARITY", dependsOn: ["WBV2-P22-000"], status: "in_progress", ready: true },
|
||||
{ id: "WBV2-P22-002", phase: "P22", title: "object_delete_engine_receipt", owner: "OBJECT", dependsOn: ["WBV2-P22-001"], status: "planned", ready: false },
|
||||
{ id: "WBV2-P22-003", phase: "P22", title: "close_object_delete_gate", owner: "RELEASE", dependsOn: ["WBV2-P22-002"], status: "planned", ready: false },
|
||||
];
|
||||
for (const task of tasks) { task.card = `docs/tasks/${task.id}.md`; task.acceptance = ["source and evidence hashes are bound", "unique behavior is verified once", "save/reopen remains exact", "malformed input fails closed"]; task.implementationClass = task.id.endsWith("001") ? "LOCAL_BOUNDED" : task.id.endsWith("002") ? "LOCAL_EXACT" : "LOCAL_BOUNDED"; task.gate = task.id.endsWith("003") ? "G5" : "G2"; task.parityId = task.id.includes("001") || task.id.includes("002") ? "OBJECT_OPERATIONS.DELETE" : null; }
|
||||
const plan = { schemaVersion: 1, planId: "BLENDER_WEB_PARITY_V2_OBJECT_DELETE_EPOCH_1", status: "ACTIVE_OBJECT_DELETE_QUEUE", authority: "queue_reactivated_after_p21_rename_gate", sourcePlan: "docs/BLENDER_WEB_PARITY_TASK_PLAN_V2.json", executionPointer: "docs/EXECUTION_QUEUE.md", runtimePolicy: { blenderSource: "blender-5.2.0", browserEvidence: ["chromium"], forbiddenBrowsers: ["firefox", "webkit"], mainAuthority: "blender_main", reusePolicy: "source_hash_and_behavior_hash_deduplication" }, parentRename: { manifest: p21Path, report: p21ReportPath, basePending: 6618, effectivePending: 6611, duplicateValidationAvoided: true }, tasks };
|
||||
fs.mkdirSync(abs(out), { recursive: true });
|
||||
fs.writeFileSync(abs(planPath), `${JSON.stringify(plan, null, 2)}\n`);
|
||||
const report = { schemaVersion: 1, task: "WBV2-P22-000", operation: "AUTHORIZE_OBJECT_DELETE_CONTINUATION", status: "PASS", parent: { task: p21.task, manifest: p21Path, manifestSha256: sha(p21Path), report: p21ReportPath, reportSha256: sha(p21ReportPath), previousDecision: p21Report.decision.status, effectivePending: 6611 }, continuation: { root: "WBV2-P22-000", firstTask: "WBV2-P22-001", plannedTasks: 4, candidate: "OBJECT_OPERATIONS.DELETE", sourceApi: apiPath, browser: "chromium", noRepeatedExecution: true }, policy: { p21EvidencePreserved: true, sourceHistoryReadOnly: true, representativeSliceOnly: true, duplicateValidationAvoided: true, authorizedRebaselineOnly: true, fullHistoricalReproduction: false }, nextTask: "WBV2-P22-001" };
|
||||
fs.writeFileSync(abs(reportPath), `${JSON.stringify(report, null, 2)}\n`);
|
||||
const cards = {
|
||||
"WBV2-P22-000": "# WBV2-P22-000: object delete continuation root\n\n- task: WBV2-P22-000\n- parent: WBV2-P21-003\n- status: done\n- gap: workflow:authorize_object_delete_continuation\n- ownerFamily: PROGRAM\n- targetImplementationClass: LOCAL_BOUNDED\n\n## 目标\n\nAuthorize one source-backed Object Delete behavior after the P21 rename overlay.\n\n## 验收\n\n- `node tools/web/generate-wbv2-delete-root.mjs`\n- `node tools/web/check-execution-control-plane.mjs`\n\n## 交付与回滚\n\n- Reports: `tests/golden/WBV2-P22-000/`\n- Manifest: `tests/golden/WBV2-P22-000/manifest.json`\n- Rollback: restore P21-003 as queue parent.\n",
|
||||
"WBV2-P22-001": "# WBV2-P22-001: select_object_delete_batch\n\n- task: WBV2-P22-001\n- parent: WBV2-P22-000\n- status: in_progress\n- gap: capability:OBJECT_OPERATIONS.DELETE\n- ownerFamily: PARITY\n- targetImplementationClass: LOCAL_BOUNDED\n\n## 目标\n\nSelect deleteObject as one unique Object Operations behavior.\n\n## 输入与范围\n\n- Focused source: `blender-5.2.0/source/blender/web_engine/web_engine_api.cpp`\n- Existing client: `web/app/src/engine-client/WebEngineClient.ts`\n- Inventory: `tests/golden/WBV2-P0-002/parity-map.json`\n- Production entrypoint: `node tools/web/generate-wbv2-delete-selection.mjs --write`\n\n## 验收\n\n- source command is hash-bound\n- prior object evidence is not rerun\n- one legacy operator binding is selected\n- malformed, hash-drift, unsupported, or false-completion input keeps in_progress\n- `node tools/web/check-task-context.mjs --task WBV2-P22-001 --write`\n\n## 交付与回滚\n\n- Reports: `tests/golden/WBV2-P22-001/`\n- Status: `docs/status/WBV2-P22-001.md`\n- Manifest: `tests/golden/WBV2-P22-001/manifest.json`\n- Rollback: restore P22-000 as queue parent.\n",
|
||||
"WBV2-P22-002": "# WBV2-P22-002: object delete engine receipt\n\n- task: WBV2-P22-002\n- parent: WBV2-P22-001\n- status: planned\n- gap: capability:OBJECT_OPERATIONS.DELETE\n- ownerFamily: OBJECT\n- targetImplementationClass: LOCAL_EXACT\n\n## 目标\n\nBind deleteObject, undo/redo, malformed rejection, and exact save/reopen to compiled WASM Main in Chromium.\n\n## 输入与范围\n\n- Focused source: `tests/golden/WBV2-P22-001/object-delete-selection-report.json`\n- Production test: `web/tests/e2e/wbv2-object-delete-production.spec.ts`\n- Production entrypoint: `npm --prefix web run test:e2e -- --workers=1 tests/e2e/wbv2-object-delete-production.spec.ts`\n\n## 验收\n\n- object deletion changes Main\n- undo/redo revisions are sequential\n- malformed delete fails closed without Main mutation\n- save/reopen is exact and deterministic\n- Chromium is the only browser\n- `node tools/web/check-task-context.mjs --task WBV2-P22-002 --write`\n\n## 交付与回滚\n\n- Reports: `tests/golden/WBV2-P22-002/`\n- Status: `docs/status/WBV2-P22-002.md`\n- Manifest: `tests/golden/WBV2-P22-002/manifest.json`\n- Rollback: restore P22-001 as queue parent.\n",
|
||||
"WBV2-P22-003": "# WBV2-P22-003: close object delete gate\n\n- task: WBV2-P22-003\n- parent: WBV2-P22-002\n- status: planned\n- gap: workflow:close_object_delete_gate\n- ownerFamily: RELEASE\n- targetImplementationClass: LOCAL_BOUNDED\n\n## 目标\n\nClose the deleteObject gate and graduate only the exact operator binding.\n\n## 输入与范围\n\n- Focused receipt: `tests/golden/WBV2-P22-002/object-delete-receipt-report.json`\n- Previous overlay: `tests/golden/WBV2-P21-003/inventory-completion-overlay.json`\n- Production entrypoint: `node tools/web/generate-wbv2-delete-gate.mjs --write`\n\n## 验收\n\n- only object delete is claimed\n- effective inventory remains explicit\n- duplicate validation remains zero\n- malformed, hash-drift, unsupported, or false-completion input keeps in_progress\n- historical reproduction remains false\n- `node tools/web/check-task-context.mjs --task WBV2-P22-003 --write`\n\n## 交付与回滚\n\n- Reports: `tests/golden/WBV2-P22-003/`\n- Status: `docs/status/WBV2-P22-003.md`\n- Manifest: `tests/golden/WBV2-P22-003/manifest.json`\n- Rollback: restore P22-002 as queue parent.\n",
|
||||
};
|
||||
for (const [id, card] of Object.entries(cards)) fs.writeFileSync(abs(`docs/tasks/${id}.md`), `${card}`);
|
||||
fs.writeFileSync(abs(statusPath), "# WBV2-P22-000 status\n\n- task: `WBV2-P22-000`; parent: `WBV2-P21-003`; status: `done`\n- candidate: `OBJECT_OPERATIONS.DELETE`; source API is present\n- effective inventory carried forward: `288` completed, `6611` pending\n- duplicate validation: `forbidden`; representative slice only\n- nextTask: `WBV2-P22-001`\n");
|
||||
p21Report.nextTask = "WBV2-P22-000"; p21Report.policy = { ...(p21Report.policy ?? {}), terminalQueuePointer: false, authorizedContinuation: "WBV2-P22-000" }; fs.writeFileSync(abs(p21ReportPath), `${JSON.stringify(p21Report, null, 2)}\n`); p21.nextTask = "WBV2-P22-000"; p21.continuation = { authorized: true, root: "WBV2-P22-000", scope: "OBJECT_OPERATIONS_DELETE" }; fs.writeFileSync(abs(p21Path), `${JSON.stringify(p21, null, 2)}\n`); execFileSync(process.execPath, [abs("tools/web/check-task-context.mjs"), "--task", "WBV2-P21-003", "--write"], { cwd: root, stdio: "pipe" }); p21.artifacts = Object.fromEntries(Object.entries(p21.artifacts).map(([name, artifact]) => [name, { ...artifact, sha256: sha(artifact.path) }])); fs.writeFileSync(abs(p21Path), `${JSON.stringify(p21, null, 2)}\n`); report.parent.manifestSha256 = sha(p21Path); report.parent.reportSha256 = sha(p21ReportPath); fs.writeFileSync(abs(reportPath), `${JSON.stringify(report, null, 2)}\n`);
|
||||
const paths = { parentManifest: p21Path, parentReport: p21ReportPath, inventory: inventoryPath, sourceApi: apiPath, sourceClient: clientPath, plan: planPath, report: reportPath, rootCard: "docs/tasks/WBV2-P22-000.md", rootStatus: statusPath }; const artifacts = Object.fromEntries(Object.entries(paths).map(([name, file]) => [name, { path: file, sha256: sha(file) }])); fs.writeFileSync(abs(manifestPath), `${JSON.stringify({ schemaVersion: 1, task: "WBV2-P22-000", parentTask: "WBV2-P21-003", operation: "AUTHORIZE_OBJECT_DELETE_CONTINUATION", status: "done", enablingTask: true, parityStateChange: false, runtime: "READ_ONLY_OBJECT_DELETE_CONTINUATION_ROOT", artifacts, assertions: { p21EvidencePreserved: true, sourceApiBound: true, inventoryTotal: 6900, effectiveCompleted: 288, effectivePending: 6611, duplicateValidationAvoided: true, representativeSliceOnly: true, authorizedRebaselineOnly: true, fullHistoricalReproduction: false }, nextTask: "WBV2-P22-001" }, null, 2)}\n`);
|
||||
execFileSync(process.execPath, [abs("tools/web/generate-v2-task-index.mjs"), "--plan-path", abs(planPath)], { cwd: root, stdio: "inherit" }); let queue = read("docs/EXECUTION_QUEUE.md"); queue = queue.replace(/\| 当前任务 \| `[^`]+` \|/u, "| 当前任务 | `WBV2-P22-001` |").replace(/\| parent manifest \| `[^`]+` \|/u, "| parent manifest | `tests/golden/WBV2-P22-000/manifest.json` |").replace(/\| 任务卡 \| \[[^\]]+\]\([^\)]+\) \|/u, "| 任务卡 | [`tasks/WBV2-P22-001.md`](tasks/WBV2-P22-001.md) |"); fs.writeFileSync(abs("docs/EXECUTION_QUEUE.md"), queue); let next = read("nextTask.md"); next = next.replace(/\| Current task when this file was written \| `[^`]+` \|/u, "| Current task when this file was written | `WBV2-P22-001` |").replace(/\| Current task state \| `[^`]+` \|/u, "| Current task state | `in_progress` |").replace(/\| Parent manifest \| `[^`]+` \|/u, "| Parent manifest | `tests/golden/WBV2-P22-000/manifest.json` |").replace(/\| Current task card \| `[^`]+` \|/u, "| Current task card | `docs/tasks/WBV2-P22-001.md` |").replace(/\| Current task-context nextTask \| `[^`]+` \|/u, "| Current task-context nextTask | `WBV2-P22-002` |").replace(/\| Focused command \| `[^`]+` \|/u, "| Focused command | `node tools/web/generate-wbv2-delete-selection.mjs --write` |"); fs.writeFileSync(abs("nextTask.md"), next); console.log("wbv2-delete-root-written root=WBV2-P22-000 next=WBV2-P22-001 candidate=OBJECT_OPERATIONS.DELETE effectivePending=6611");
|
||||
60
tools/web/generate-wbv2-delete-selection.mjs
Normal file
60
tools/web/generate-wbv2-delete-selection.mjs
Normal file
@@ -0,0 +1,60 @@
|
||||
import assert from "node:assert/strict";
|
||||
import crypto from "node:crypto";
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
import { execFileSync } from "node:child_process";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../..");
|
||||
const abs = (file) => path.join(root, file);
|
||||
const read = (file) => fs.readFileSync(abs(file), "utf8");
|
||||
const json = (file) => JSON.parse(read(file));
|
||||
const sha = (file) => crypto.createHash("sha256").update(fs.readFileSync(abs(file))).digest("hex");
|
||||
const digest = (value) => crypto.createHash("sha256").update(value).digest("hex");
|
||||
const out = "tests/golden/WBV2-P22-001";
|
||||
const parentPath = "tests/golden/WBV2-P22-000/manifest.json";
|
||||
const inventoryPath = "tests/golden/WBV2-P0-002/parity-map.json";
|
||||
const apiPath = "blender-5.2.0/source/blender/web_engine/web_engine_api.cpp";
|
||||
const protocolPath = "web/protocol/web-engine.ts";
|
||||
const planPath = `${out}/delete-task-plan.json`;
|
||||
const reportPath = `${out}/object-delete-selection-report.json`;
|
||||
const candidatePath = `${out}/object-delete-candidate-set.json`;
|
||||
const manifestPath = `${out}/manifest.json`;
|
||||
const statusPath = "docs/status/WBV2-P22-001.md";
|
||||
|
||||
const parent = json(parentPath);
|
||||
const inventory = json(inventoryPath);
|
||||
assert.equal(parent.status, "done");
|
||||
assert.equal(parent.nextTask, "WBV2-P22-001");
|
||||
for (const artifact of Object.values(parent.artifacts ?? {})) assert.equal(sha(artifact.path), artifact.sha256, artifact.path);
|
||||
assert.equal(inventory.summary.inventoryEntries, 6900);
|
||||
assert.equal(inventory.summary.pendingLegacyEntries, 6618);
|
||||
assert.match(read(apiPath), /deleteObject/);
|
||||
assert.match(read(protocolPath), /deleteObject/);
|
||||
const target = inventory.entries.find((entry) => entry.id === "operator:object.delete");
|
||||
assert.ok(target);
|
||||
assert.equal(target.legacyState, "pending");
|
||||
|
||||
const behavior = { capability: "OBJECT_OPERATIONS.DELETE", operation: "deleteObject", positive: ["object-delete", "undo", "redo", "save-reopen"], negative: ["missing-id", "linked-object"], browser: "chromium", engine: "compiled-WASM-WebEngine-Main" };
|
||||
const behaviorHash = digest(JSON.stringify(behavior));
|
||||
const candidate = { schemaVersion: 1, task: "WBV2-P22-001", operation: "OBJECT_DELETE_CANDIDATE_SELECTION", status: "READY", source: { inventory: inventoryPath, inventorySha256: sha(inventoryPath), api: apiPath, apiSha256: sha(apiPath), protocol: protocolPath, protocolSha256: sha(protocolPath) }, candidate: { capabilityId: "OBJECT_OPERATIONS.DELETE", legacyId: target.id, legacyTask: target.evidence.legacyTask, behavior, behaviorHash, dedupeKey: `OBJECT_OPERATIONS.DELETE|${behaviorHash}|${sha(apiPath)}|${sha(protocolPath)}`, sourceBacked: true, chromiumProductionReady: true, fullFamilyParity: false }, inventory: { matchedEntries: 1, pending: 1, total: 6900, basePending: 6618, effectivePending: 6611, remainderExplicit: true }, entries: [{ id: target.id, sourceTask: target.sourceTask, legacyState: target.legacyState, targetImplementationClass: target.targetImplementationClass }], policy: { sourceHistoryReadOnly: true, representativeSliceOnly: true, noRepeatedExecution: true, duplicateValidationAvoided: true, fullHistoricalReproduction: false } };
|
||||
const report = { schemaVersion: 1, task: "WBV2-P22-001", operation: "SELECT_OBJECT_DELETE_BATCH", status: "PASS", candidate: candidate.candidate, inventory: candidate.inventory, source: candidate.source, matchedEntryDigest: digest(target.id), efficiency: { oneEntryScan: true, existingEvidenceReused: true, repeatedBlenderRuns: 0, repeatedChromiumRuns: 0, duplicateValidationAvoided: true }, nextTask: "WBV2-P22-002" };
|
||||
if (!process.argv.includes("--write")) { console.log(`wbv2-delete-selection-ok task=WBV2-P22-001 legacyId=${target.id} behaviorHash=${behaviorHash} pending=6611 repeatedRuns=0 next=WBV2-P22-002`); process.exit(0); }
|
||||
fs.mkdirSync(abs(out), { recursive: true });
|
||||
fs.writeFileSync(abs(candidatePath), `${JSON.stringify(candidate, null, 2)}\n`);
|
||||
fs.writeFileSync(abs(reportPath), `${JSON.stringify(report, null, 2)}\n`);
|
||||
fs.writeFileSync(abs(statusPath), `# WBV2-P22-001 status\n\n- task: \`WBV2-P22-001\`; parent: \`WBV2-P22-000\`; status: \`done\`\n- selected behavior: \`deleteObject\`; exact candidate: \`operator:object.delete\`\n- base inventory: \`6900\` total, \`6618\` pending; effective carried overlay: \`6611\` pending\n- behavior hash: \`${behaviorHash}\`; duplicate validation: \`forbidden\`\n- nextTask: \`WBV2-P22-002\`\n`);
|
||||
const previousPlan = json("tests/golden/WBV2-P22-000/delete-task-plan.json");
|
||||
const nextPlan = structuredClone(previousPlan);
|
||||
nextPlan.parentRecoveryPlan = { path: "tests/golden/WBV2-P22-000/delete-task-plan.json", sha256: sha("tests/golden/WBV2-P22-000/delete-task-plan.json") };
|
||||
nextPlan.tasks = nextPlan.tasks.map((task) => task.id === "WBV2-P22-001" ? { ...task, status: "done", ready: false } : task.id === "WBV2-P22-002" ? { ...task, status: "in_progress", ready: true } : { ...task, ready: false });
|
||||
fs.writeFileSync(abs(planPath), `${JSON.stringify(nextPlan, null, 2)}\n`);
|
||||
fs.writeFileSync(abs("docs/tasks/WBV2-P22-002.md"), read("docs/tasks/WBV2-P22-002.md").replace("- status: planned", "- status: in_progress"));
|
||||
execFileSync(process.execPath, [abs("tools/web/generate-v2-task-index.mjs"), "--plan-path", abs(planPath)], { cwd: root, stdio: "inherit" });
|
||||
execFileSync(process.execPath, [abs("tools/web/check-task-context.mjs"), "--task", "WBV2-P22-001", "--write"], { cwd: root, stdio: "inherit" });
|
||||
const artifactPaths = { parentManifest: parentPath, inventory: inventoryPath, api: apiPath, protocol: protocolPath, candidate: candidatePath, report: reportPath, generator: "tools/web/generate-wbv2-delete-selection.mjs", status: statusPath, parityPlan: planPath, taskContext: `${out}/task-context.json` };
|
||||
const artifacts = Object.fromEntries(Object.entries(artifactPaths).map(([name, file]) => [name, { path: file, sha256: sha(file) }]));
|
||||
fs.writeFileSync(abs(manifestPath), `${JSON.stringify({ schemaVersion: 1, task: "WBV2-P22-001", parentTask: "WBV2-P22-000", operation: "SELECT_OBJECT_DELETE_BATCH", status: "done", enablingTask: true, parityStateChange: false, runtime: "READ_ONLY_SOURCE_CANDIDATE_SELECTION", artifacts, assertions: { legacyId: target.id, inventoryTotal: 6900, basePending: 6618, effectivePending: 6611, sourceApiBound: true, representativeSliceOnly: true, fullFamilyParity: false, repeatedBlenderRuns: 0, repeatedChromiumRuns: 0, duplicateValidationAvoided: true, deterministic: true, historicalReproduction: false }, nextTask: "WBV2-P22-002" }, null, 2)}\n`);
|
||||
let queue = read("docs/EXECUTION_QUEUE.md"); queue = queue.replace(/\| 当前任务 \| `[^`]+` \|/u, "| 当前任务 | `WBV2-P22-002` |").replace(/\| parent manifest \| `[^`]+` \|/u, "| parent manifest | `tests/golden/WBV2-P22-001/manifest.json` |").replace(/\| 任务卡 \| \[[^\]]+\]\([^\)]+\) \|/u, "| 任务卡 | [`tasks/WBV2-P22-002.md`](tasks/WBV2-P22-002.md) |"); fs.writeFileSync(abs("docs/EXECUTION_QUEUE.md"), queue);
|
||||
let nextTask = read("nextTask.md"); nextTask = nextTask.replace(/\| Current task when this file was written \| `[^`]+` \|/u, "| Current task when this file was written | `WBV2-P22-002` |").replace(/\| Current task state \| `[^`]+` \|/u, "| Current task state | `in_progress` |").replace(/\| Parent manifest \| `[^`]+` \|/u, "| Parent manifest | `tests/golden/WBV2-P22-001/manifest.json` |").replace(/\| Current task card \| `[^`]+` \|/u, "| Current task card | `docs/tasks/WBV2-P22-002.md` |").replace(/\| Current task-context nextTask \| `[^`]+` \|/u, "| Current task-context nextTask | `WBV2-P22-003` |").replace(/\| Focused command \| `[^`]+` \|/u, "| Focused command | `npm --prefix web run test:e2e -- --workers=1 tests/e2e/wbv2-object-delete-production.spec.ts` |"); fs.writeFileSync(abs("nextTask.md"), nextTask);
|
||||
console.log(`wbv2-delete-selection-written task=WBV2-P22-001 legacyId=${target.id} behaviorHash=${behaviorHash} next=WBV2-P22-002 artifacts=${Object.keys(artifacts).length}`);
|
||||
3
web/tests/e2e/wbv2-object-delete-production.spec.ts
Normal file
3
web/tests/e2e/wbv2-object-delete-production.spec.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import { expect, test } from "@playwright/test";import crypto from "node:crypto";import fs from "node:fs";import path from "node:path";
|
||||
const root=path.resolve(import.meta.dirname,"../../..");const fixture=fs.readFileSync(path.join(root,"tests/files/web/basic_scene.blend"));const fixtureSha256=crypto.createHash("sha256").update(fixture).digest("hex");
|
||||
test("WBV2-P22-002 binds deleteObject to compiled WASM Main",async({page})=>{test.setTimeout(120000);await page.goto("/");const result=await page.evaluate(async(bytes)=>{const{WebEngineClient}=await import("/src/engine-client/WebEngineClient.ts");const client=new WebEngineClient({timeoutMs:30000}),reopened=new WebEngineClient({timeoutMs:30000});try{const opened=await client.openBlend(Uint8Array.from(bytes).buffer);const object=opened.snapshot.nodes.find(n=>n.type==="MESH");if(!object)throw new Error("basic scene has no mesh object");const baseRevision=opened.snapshot.revision;const beforeCount=opened.snapshot.nodes.length;const deleted=await client.applyCommand({type:"deleteObject",objectId:object.id}as any);const undone=await client.applyCommand({type:"undo"});const redone=await client.applyCommand({type:"redo"});const malformed=await client.applyCommand({type:"deleteObject",objectId:"object:missing"}as any).then(()=>({code:"NO_ERROR"})).catch((e:any)=>({code:e?.code,message:e?.message}));const afterMalformed=await client.snapshot();const saved=await client.saveBlend();const reopen=await reopened.openBlend(saved);return{browser:"chromium",baseRevision,beforeCount,deleteRevision:deleted.snapshot.revision,undoRevision:undone.snapshot.revision,redoRevision:redone.snapshot.revision,afterCount:deleted.snapshot.nodes.length,deletedId:object.id,malformed,malformedRevisionPreserved:afterMalformed.snapshot.revision===redone.snapshot.revision,reopenedCount:reopen.snapshot.nodes.length,reopenedDeleted:!reopen.snapshot.nodes.some(n=>n.id===object.id),reopenedRevision:reopen.snapshot.revision,savedSha256:await(async(v)=>{const h=await crypto.subtle.digest("SHA-256",v);return Array.from(new Uint8Array(h),b=>b.toString(16).padStart(2,"0")).join("")})(saved)}}finally{client.terminate();reopened.terminate()}} ,Array.from(fixture));fs.mkdirSync(path.join(root,"tests/golden/WBV2-P22-002"),{recursive:true});const output=process.env.WBV2_DELETE_REPORT??"object-delete-production.json";fs.writeFileSync(path.join(root,"tests/golden/WBV2-P22-002",output),`${JSON.stringify({schemaVersion:1,task:"WBV2-P22-002",operation:"OBJECT_DELETE_ENGINE_CHROMIUM",queueMutation:false,fixtureSha256,...result},null,2)}\n`);expect(result.browser).toBe("chromium");expect(result.afterCount).toBe(result.beforeCount-1);expect(result.deleteRevision).toBe(result.baseRevision+1);expect(result.undoRevision).toBe(result.baseRevision+2);expect(result.redoRevision).toBe(result.baseRevision+3);expect(result.malformed.code).not.toBe("NO_ERROR");expect(result.malformedRevisionPreserved).toBe(true);expect(result.reopenedCount).toBe(result.afterCount);expect(result.reopenedDeleted).toBe(true);expect(result.reopenedRevision).toBe(1)});
|
||||
Reference in New Issue
Block a user