Preserve item helper history in source order

This commit is contained in:
2026-10-17 04:44:29 +00:00
parent 4633a1b8a2
commit 26720b98f0
4 changed files with 89 additions and 18 deletions

View File

@@ -53,7 +53,13 @@ declaration remains inspectable. Existing item/helper evidence tests still pass.
## 2. Preserve source chronology when expanding item history — P2
- [ ] Addressed and regression-tested.
- [x] Addressed and regression-tested.
Completion: structural fragments use their local singleton index; item body and
helper events are expanded beside their declaring contribution. Mapping history
queries ignore unrelated sibling fields. A public regression covers preceding
authored records, two item sources, nested helpers, field origins, and root
traversal order. Focused facade/history tests and the everyday check passed.
**Owner:** `projectNestedEvidence` in
[imports.go](../../internal/engine/imports.go), especially lines 592–608.