Keep explanation origins scoped to the query
This commit is contained in:
@@ -162,7 +162,13 @@ history regression checking source chronology and previous-origin links.
|
||||
|
||||
## 3. Container Explanations Take The Last Descendant Replacement's Origin
|
||||
|
||||
Priority: P2. Status: open.
|
||||
Priority: P2. Status: complete.
|
||||
|
||||
Completion: explanation uses the model's direct query-scoped contribution when
|
||||
available and reserves operation fallback for paths without that contribution.
|
||||
`TestOverlayExplanationUsesQueryScopedOrigin` failed before the fix and now
|
||||
checks root, enclosing mapping, and leaf locations. The full ordinary suite and
|
||||
`git diff --check` passed, including removed/replaced descendant coverage.
|
||||
|
||||
Relevant code: `historySelectionForApplication` in
|
||||
[explain.go](../../internal/engine/explain.go), lines 183–207; and descendant
|
||||
|
||||
Reference in New Issue
Block a user