Migrate NPC and location occurrences to native correction and explicit empty fallbacks

This commit is contained in:
2026-11-22 01:03:06 +00:00
parent 303d6589c5
commit 2c1d727232
23 changed files with 948 additions and 979 deletions

View File

@@ -858,6 +858,28 @@ from Stage 12. Retain meaningful per-family grounding and identity regressions.
## Stage 19: Migrate NPC And Location Occurrence Extraction
**Status:** Complete. Both occurrence producers now use fixed transcript/registry
materials, native initial/correction requests, and the shared typed producer
helper. Added same-schema/default-profile correction pairs and static prompt
dependencies; removed private completion, schema/asset registration, and
manifest/fingerprint metadata. Names-only NPC resolution and complete ordered
contextual location selectors retain deterministic durable identity, supported
kinds, source-order canonicalization, and current-transcript evidence. Unknown
or ambiguous selections supply actionable interpretation guidance before typed
assessment rather than guessing an identity or returning partial output.
Permissive fallbacks are codec-valid nonnil empty collections, explicitly
qualified and reuse-ineligible; accepted work inherits incoming ineligibility.
Retained domain regressions with native provider fakes and added fixed resolution/
history, source correction, run override, strict/permissive, failed continuation,
structural-failure, and cancellation cases. Prompt-pair/schema tests run in the
content package. Asset and shape tests/vet/race checks, independent NPC response
model tests/race checks, focused pipeline tests, and `git diff --check` pass.
Updated the location-occurrence shape spec comparison for slice-bearing native
dependencies. Both full extractor packages remain blocked at setup by shared
legacy helpers importing old ConfigKit's removed YAML `plugin/limit`; their
native runtime tests are not claimed passing. Scheduled dependency cleanup and
final whole-tree verification must run those tests.
**Goal:** registry-consuming occurrence lanes retain contextual resolution.
**Inspect/change:** `internal/modules/dnd/extract/{npcoccurrences,locationoccurrences}`,