Accept domain sharing and normalization cleanup decisions
This commit is contained in:
@@ -252,24 +252,33 @@ verification; the catalog findings remain outstanding until implemented.
|
|||||||
## 7. Shared Domain Rules And Exact-Duplicate Bookkeeping
|
## 7. Shared Domain Rules And Exact-Duplicate Bookkeeping
|
||||||
|
|
||||||
**Findings:** CAT-020 and CAT-021; coordinate CAT-019 where normalization changes overlap.
|
**Findings:** CAT-020 and CAT-021; coordinate CAT-019 where normalization changes overlap.
|
||||||
**Status:** Open technical scope review.
|
**Status:** Accepted direction and scope; implementation pending.
|
||||||
|
|
||||||
Share genuinely identical rules and mechanics, with domain behavior remaining
|
Place reusable scene checks with a small scene-family domain owner, allowing tiny
|
||||||
family-owned. For scenes, separate reusable pure predicates from selectable
|
predicates alongside domain types where that is clearer. Normalizers and validators
|
||||||
validator assessment and corrective prose. Codec acceptance and optional shape
|
reuse these checks; selectable validator assessment, extraction-specific
|
||||||
validation differ; sharing the whole validator would strengthen the codec contract.
|
cardinality, and corrective prose remain adapter-owned. Codec acceptance and
|
||||||
|
optional shape validation differ, so the codec shares only primitives that already
|
||||||
|
match its contract. Preserve existing acceptance and validator-override behavior.
|
||||||
|
|
||||||
For exact duplicates, start with the families whose bookkeeping demonstrably
|
Introduce a small pure duplicate-grouping helper returning retained positions and
|
||||||
matches. Keep eligibility, identity keys, ordering, cloning, and diagnostics local.
|
duplicate groups. Start with NPC occurrences, location occurrences, and combat
|
||||||
Item occurrences' bucket-plus-equality check must remain intact; keeping that
|
turns. Families supply eligibility and identity keys and retain ownership of
|
||||||
variant separate is preferable to weakening equality or complicating all callers.
|
ordering, cloning, original-input-index mapping, and diagnostic messages. Include
|
||||||
|
spells if its existing nil/allocation behavior fits cleanly. Leave item occurrences
|
||||||
|
separate initially, preserving its bucket-plus-exact-equality check; accommodating
|
||||||
|
that variant is not a prerequisite for sharing the straightforward cases.
|
||||||
|
|
||||||
Review representative callers and independent expected outputs before expanding
|
Review representative callers and independent expected outputs before expanding
|
||||||
the shared surface. No universal normalizer or repository-wide movement of every
|
the shared surface. No universal normalizer or repository-wide movement of every
|
||||||
shape check is proposed. CAT-019's invariant sort-key preparation can proceed
|
shape check is selected. Calculate invariant sort keys once per normalized record,
|
||||||
locally while preserving tie and invalid-reference ordering.
|
following the existing combat normalizer's approach. This local CAT-019 improvement
|
||||||
|
can proceed independently of duplicate grouping. Preserve existing ordering, ties,
|
||||||
|
and invalid-reference behavior without introducing a general sorting framework.
|
||||||
|
|
||||||
**Decision:** Pending.
|
**Decision:** All three recommendations accepted as above. Remaining work is
|
||||||
|
implementation and verification; the catalog findings remain outstanding until
|
||||||
|
implemented.
|
||||||
|
|
||||||
## 8. Extension And Capture Concurrency Obligations
|
## 8. Extension And Capture Concurrency Obligations
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user