Files
dxdesigner-part-replacement/docs/reviews/release-acceptance-tools-final-review-20261019.md
T

5.2 KiB

Final acceptance tools review — 2026-10-19

Scope and verdict

Reviewed the current uncommitted tools/accept_packaged_ui.py, tools/probe_packaged_upgrade.py, and tests/integration/test_packaged_acceptance_guards.py. Includes the final exact-entry-key assertion and its two malformed-checkpoint regression cases added during review.

Approved for the reviewed tooling scope. No Critical or Important findings; no remaining Minor finding. This does not approve the still-pending real execution acceptance in the corrected fixture root.

Review was read-only except for writing this report. No tests, CAD, application/process operations, product edits, or Git mutations were performed.

Execution completion checks

  • The driver snapshots existing queue filenames immediately before clicking the execution confirmation. Only newly created queue checkpoints are considered, and their ordered task_ids must match the tasks read in execution order.
  • Durable failed, blocked, or skipped entries now raise an acceptance failure even when the legacy database task status remains running or ready. The tool neither retries native execution nor rewrites checkpoints.
  • Success requires exactly one matching new queue, nonempty task states, all database tasks completed, and all queue entries completed. The final set(entries) == set(queue['task_ids']) assertion rejects missing, empty, or foreign task entries before completion is evaluated. This addresses the initially identified nonblocking vacuous-completion case.
  • Old queue failures are excluded using the pre-confirmation filename snapshot. Missing/running checkpoints cannot produce success. The surrounding execute stage still requires real saved/readback events for both tasks and subsequent CAD observation verification.
  • The product queue writer was inspected for schema/state alignment: it creates entries for every ordered task and persists safe failures as failed, unsafe failures as blocked. These are the states the new tool consumes.

Other retained safeguards

  • CLI BOM resource checks still inspect all inventory attempts. Uncertain/incomplete states and cleanup errors are rejected; every recorded workspace, Job/process, descendant-handle, and desktop cleanup record is checked. Successful project coverage is derived only from ready rows. The earlier Important filtering defect remains fixed.
  • Actual CAD sessions remain required by default for execution/independent-read observation. CLI-only BOM collection uses its separate resource proof.
  • Read-only BOM continuation still requires the saved functional evidence and exact persisted target rows; it does not repeat imports or mutate plans. Previous failed evidence is retained.
  • The legacy upgrade probe still verifies the old executable hash, creates/uses the real legacy fixture, backs it up to a separate destination, invokes the frozen candidate smoke migration, and compares task identities and every original rule value using strict rule-count pairing. Migrated Cell selections must be empty and the legacy source database hash unchanged.

Evidence inspected

Existing report Tests Failures Errors
build/release-cli-resource-verifier-red-20261019.xml 4 3 0
build/release-cli-resource-verifier-green-20261019.xml 4 0 0
build/release-execution-verifier-red-20261019.xml 8 4 0
build/release-execution-verifier-green-20261019.xml 8 0 0

The initial four new execution cases exercise failed/blocked entries with nonfailed database task states, exclusion of an old queue failure, and the requirement for both a current completed checkpoint and completed tasks. The final malformed-checkpoint cases additionally exercise empty and foreign entry keys; their matching source guard was inspected. This reviewer did not rerun any suite.

build/packaged-optional-acceptance-20261019/v111-upgrade-report.json records two preserved tasks, one preserved rule, empty migrated Cell selection, candidate exit code 0, and unchanged legacy source database. Accepting one rule reflects the actual legacy fixture rather than weakening preservation checks.

Diagnosis update and limits

Both prepared v1 project files were read directly and contain KEY CentralLibrary "S:\mentor_lib.lmc" at line 28. A read-only existence check of that exact library returned false. The coordinator also reports that direct native row count was zero and both MTA/STA UIA calls returned without exception. Together these support the fixture's missing library binding and provide no evidence that freezing caused the empty DxDataBook.

The earlier diagnosis report's UIA/apartment/dependency possibilities remain historical hypotheses, not confirmed product defects. The coordinator's STA diagnostic worker pipe saturation/timeout and final clean=false are also diagnostic-tool outcomes; they do not establish a product failure. All original failures should remain preserved alongside the corrected v2 acceptance evidence.

A corrected build-only project/library fixture and a new real execution run are still needed to establish native replacement acceptance. Neither the verifier fixes nor the successful legacy metadata upgrade substitute for that result.