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

@@ -121,6 +121,10 @@ NPC and location occurrences, combat turns, and spell casts share
Each family supplies identity and source-reference eligibility and owns its output
and diagnostic mapping. Spells retain the original list when no duplicate is
removed; item occurrences keep their bucket-plus-exact-equality check separately.
Occurrence and enemy-event normalizers prepare chronology and other invariant
comparison keys for owned records before sorting. Enemy invariant checks use
canonical evidence only after verifying its order and uniqueness; defensive
comparators remain for unproven inputs and evidence ties remain linear.
Guidance describes all currently detectable model-controlled defects using
contextual names, response fields, and source ranges. It does not copy operator