Reuse duplicate grouping for combat turns and spells

This commit is contained in:
2026-11-26 02:54:33 +00:00
parent f9dd53f4c2
commit 26da344f27
7 changed files with 84 additions and 88 deletions

View File

@@ -487,10 +487,11 @@ or move every family's checks without a demonstrated cross-stage need.
### CAT-021 — Exact-Duplicate Group Bookkeeping Is Reimplemented
**Progress:** NPC and location occurrence normalizers now share pure position
grouping while retaining their own identity, eligibility, cloning, and original
index diagnostics. Interleaved, invalid-reference, distinct-evidence, and
permutation tests pass. Combat and the conditional spell review remain pending.
**Status:** Resolved. NPC/location occurrences, combat turns, and spell casts
share pure position grouping while retaining family-owned identity, eligibility,
output, and original-index diagnostics. Spell no-change and empty representations
remain local; item occurrences deliberately retain their bucket-plus-exact-equality
implementation. Independent normalizer and grouping tests pass.
**Assessment:** Pure shared-helper opportunity; original medium.

View File

@@ -802,6 +802,12 @@ Comment family-owned eligibility/mapping.
## Stage 29 — Reuse Grouping For Combat And Review Spells
**Completed.** Combat and spell duplicate grouping use the shared bookkeeping
with family-owned keys and eligibility. Spell empty/no-change cases retain the
original list; item occurrences deliberately keep bucket-plus-exact equality.
Combat evidence/index ownership and spell no-change storage have regressions;
the specified combat, spell, and item normalizer suites pass.
**Coverage:** CAT-021 completion. **Prerequisites:** Stage 28.
Migrate combat turns without identity/eligibility changes. Migrate spells only if