Use keyed lookups for reference collisions
This commit is contained in:
@@ -240,6 +240,13 @@ new public contracts.
|
||||
|
||||
### ALG-002 — Reference Collision Checks Compare Every Pair Of Keys
|
||||
|
||||
**Status:** Completed. The predicate indexes trimmed slot/source-kind pairs and
|
||||
probes for the opposite kind in expected `O(P + Q)` time, preserving mixed-kind
|
||||
raw keys that trim to the same slot. Literal cases pass in both argument orders;
|
||||
a temporary offline oracle matched the old predicate on all 6,561 pairs of maps
|
||||
over four raw keys and absent/external/generated states. Pipeline, config,
|
||||
preflight, CLI reference/example tests, package vet, and whitespace checks passed.
|
||||
|
||||
**Priority:** Low; configuration-resolution cost, not per-model-call work.
|
||||
|
||||
**Evidence:** [referenceSourceMapsConflict](../../internal/framework/pipeline/reference_resolution.go#L34)
|
||||
|
||||
Reference in New Issue
Block a user