Prepare item and enemy event sort keys once

This commit is contained in:
2026-11-26 03:00:08 +00:00
parent 7077cee35e
commit 97e9d51db0
10 changed files with 176 additions and 57 deletions

View File

@@ -844,6 +844,13 @@ Comment canonical fast-path premises.
## Stage 31 — Prepare Item And Enemy Sort Keys Once
**Completed.** Item and enemy-event normalizers prepare chronology and scalar
comparison keys once per owned canonical record. Enemy invariant checks use the
canonical path only for evidence that passed order/uniqueness checks; defensive
comparators and item exact-equality buckets remain. Literal tie, invalid evidence,
identity/dedup, and existing nil/empty and kind-order tests pass with the
specified family, normalizer, and validator suites.
**Coverage:** CAT-019 completion. **Prerequisites:** Stage 30.
Apply local key preparation to item/enemy records. Remove enemy recanonicalization