Core regression / Python core and release configuration (push) Successful in 17s
Core regression / JavaScript syntax (push) Successful in 2s
Core regression / Python core and release configuration (pull_request) Successful in 14s
Core regression / JavaScript syntax (pull_request) Successful in 3s
2.5 KiB
2.5 KiB
Item Value and Migrated BOM Import
Date: 2026-11-05
Approved scope
- Task-level Value policy remains selectable.
inheritfollows the task setting (part_labelwhen enabled, otherwisepreserve). - Every target row can explicitly choose
preserve,part_label,part_number, orcustom; explicit choices override the task default. - BOM import accepts multiple Excel files. Existing exact project paths take precedence; stale paths can resolve through an exact, unique project name. Ambiguous names block import.
- Preserve source workbook, original Excel row, original project path, current path, and match reason.
- Verify each function independently using generated fixtures.
Implementation checklist
- Add and validate persisted item Value mode; preserve legacy custom Value inputs.
- Resolve inherited modes using the task setting during execution, context snapshots, BOM validation, and new-round checks.
- Group rules by concrete item mode and freeze each mode/custom text into execution commands.
- Preserve the existing recovery comparison of queue policy, custom text, and target identities.
- Add optional BOM Value mode and plan export/import support; accept legacy 11-column BOM and 13-column target plans.
- Parse all selected workbooks before inspection and preserve original source coordinates.
- Route exact paths and uniquely matching migrated names; isolate projects with different names even when erroneous old paths are identical.
- Retain cross-file duplicate blocking and atomic plan saving.
- Add item dropdown selection and synchronize legacy custom checkboxes; commit normally and cancel with Esc.
- Switch the BOM picker and its UI tests to multi-selection.
- Reuse supervised inspection, cancellation, phase reporting, and cleanup failure handling.
- Keep editable mapping-rule IDs separate from compiled execution rules.
- Preserve explicit item policies when batch custom defaults change; disabling a matching seeded custom default restores inheritance.
- Add an integration fixture covering two workbooks, migration routing, four Value modes, save, database reopen, frozen commands, and recovery readback/mismatch rejection.
Verification
See docs/testing/2026-11-05-item-value-bom-import.md for generated samples, independent acceptance cases, commands, results, and the real-CAD boundary.
Existing unrelated DSH work in this checkout is retained. No commit, remote branch deletion, merge, or deployment is part of this implementation.