Prepare item and enemy event sort keys once
This commit is contained in:
@@ -453,11 +453,11 @@ or stage interpreter is established by this finding.
|
||||
|
||||
### CAT-019 — Sorting Recomputes Invariant Evidence Keys
|
||||
|
||||
**Progress:** NPC and location occurrence normalizers prepare earliest valid
|
||||
positions once per owned record; location kind rank is also prepared once.
|
||||
Defensive comparators and genuine evidence tie comparisons remain. Literal
|
||||
long-tie, non-monotonic, invalid-reference, duplicate, and existing validator
|
||||
tests pass. Item and enemy-event work remains pending.
|
||||
**Status:** Resolved. NPC, location, item, and enemy-event normalizers prepare
|
||||
invariant sort keys once per owned record. Enemy invariant checks use canonical
|
||||
comparisons only after evidence-order validation; defensive comparators and
|
||||
genuine evidence tie comparisons remain. Literal non-monotonic, tied, invalid,
|
||||
duplicate, and validator tests pass across the affected families.
|
||||
|
||||
**Assessment:** Local algorithmic opportunity; original P3.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user