Share indexed fallback locations during effective projection

This commit is contained in:
2026-10-24 14:13:52 +00:00
parent 5c5f2af6cc
commit a0e5693d07
4 changed files with 114 additions and 13 deletions

View File

@@ -887,7 +887,14 @@ do not replace the agreed scheduling algorithm or add global caches.
## 22. Index Fallback Location Lookup During Effective Projection — P2
Status: [ ] Open.
Status: [x] Complete.
Completion: effective location projection lazily builds one read-only fallback
document lookup and shares it across field and entry visits. The ordinary
nearest-location helper retains its existing behavior. Added broad mixed
authored/default mappings, ancestor fallback, literal key/index mismatch,
synthetic CLI coordinates, and detached-projection coverage. Existing secret
and validation diagnostics and `./scripts/check.sh` pass.
Owner: `documentWithMetadataLocations` in
[`override_context.go`](../../internal/engine/override_context.go), using