Migrate registry extraction to native correction and explicit empty fallbacks

This commit is contained in:
2026-11-22 00:50:54 +00:00
parent 5d3696d4a0
commit 303d6589c5
36 changed files with 1107 additions and 1121 deletions

View File

@@ -811,6 +811,29 @@ nested same-backend admission with a limit of one.
## Stage 18: Migrate The Three Registry Extractors
**Status:** Complete. NPC, item, and location extraction now use native initial/
correction requests through the shared typed producer helper. Transcript and
campaign reference materials are captured once per chunk; every response uses
the existing family-specific canonicalizer and deterministic identity rules.
Added same-schema/default-profile correction pairs and static dependencies,
moving enduring identity/evidence/domain principles into initial system context.
Private completion, schema/asset registration, and manifest/fingerprint metadata
were removed. Canonical naming, currency scope, same-name location anchors,
source-order/evidence behavior, and production validator-chain declarations are
unchanged. Each family has a codec-valid nonnil empty fallback, qualified by the
resolved mode/outcome and excluded from reuse, rather than an invented entity.
Retained domain regressions with native provider fakes and added per-family
citation correction through real typed validators, fixed input/history and run
override checks, strict/permissive exhaustion, ordinary empty acceptance, failed
continuation, structural failure, and cancellation coverage. Prompt-pair and
structural-versus-semantic schema checks run independently in the asset package.
Asset/shape tests and vet/race checks, focused pipeline tests, and
`git diff --check` pass. Updated the location-shape spec comparison for the
slice-bearing native dependency declaration. All three extractor package tests
remain blocked at setup by shared legacy asset helpers importing old ConfigKit's
removed YAML `plugin/limit`; their new runtime tests are not claimed passing.
Scheduled dependency cleanup and final assembled verification must execute them.
**Goal:** canonical noun extraction follows the representative native path.
**Inspect/change:** `internal/modules/dnd/extract/{npcregistry,itemregistry,