Merge origin/main and preserve readonly AI handling for BOM source failures
Core regression / Python 3.12 core, intervention UI and release configuration (push) Failing after 21s
Core regression / JavaScript syntax (push) Successful in 3s
Core regression / Python 3.12 core, intervention UI and release configuration (pull_request) Failing after 21s
Core regression / JavaScript syntax (pull_request) Successful in 3s
Core regression / Python 3.12 core, intervention UI and release configuration (push) Failing after 21s
Core regression / JavaScript syntax (push) Successful in 3s
Core regression / Python 3.12 core, intervention UI and release configuration (pull_request) Failing after 21s
Core regression / JavaScript syntax (pull_request) Successful in 3s
This commit is contained in:
commit
bd06bbc7d2
45 files changed
+2068
-98
No files matched your search
@@ -0,0 +1,34 @@
|
||||
# Item Value and Migrated BOM Import
|
||||
|
||||
Date: 2026-11-05
|
||||
|
||||
## Approved scope
|
||||
|
||||
- Task-level Value policy remains selectable. `inherit` follows the task setting (`part_label` when enabled, otherwise `preserve`).
|
||||
- Every target row can explicitly choose `preserve`, `part_label`, `part_number`, or `custom`; 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
|
||||
|
||||
- [x] Add and validate persisted item Value mode; preserve legacy custom Value inputs.
|
||||
- [x] Resolve inherited modes using the task setting during execution, context snapshots, BOM validation, and new-round checks.
|
||||
- [x] Group rules by concrete item mode and freeze each mode/custom text into execution commands.
|
||||
- [x] Preserve the existing recovery comparison of queue policy, custom text, and target identities.
|
||||
- [x] Add optional BOM Value mode and plan export/import support; accept legacy 11-column BOM and 13-column target plans.
|
||||
- [x] Parse all selected workbooks before inspection and preserve original source coordinates.
|
||||
- [x] Route exact paths and uniquely matching migrated names; isolate projects with different names even when erroneous old paths are identical.
|
||||
- [x] Retain cross-file duplicate blocking and atomic plan saving.
|
||||
- [x] Add item dropdown selection and synchronize legacy custom checkboxes; commit normally and cancel with Esc.
|
||||
- [x] Switch the BOM picker and its UI tests to multi-selection.
|
||||
- [x] Reuse supervised inspection, cancellation, phase reporting, and cleanup failure handling.
|
||||
- [x] Keep editable mapping-rule IDs separate from compiled execution rules.
|
||||
- [x] Preserve explicit item policies when batch custom defaults change; disabling a matching seeded custom default restores inheritance.
|
||||
- [x] 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.
|
||||
Reference in new issue
Block a user