Migrate spell extraction to native execution and semantic continuation

This commit is contained in:
2026-11-22 00:02:13 +00:00
parent 923cbe594f
commit 92c2382806
21 changed files with 563 additions and 654 deletions

View File

@@ -539,6 +539,24 @@ Native production modules are migrated in Stages 12–23.
## Stage 12: Migrate Spell Extraction As The Representative Producer
**Status:** Complete. Spell extraction now prepares fixed transcript/reference,
catalog, and NPC projections once and uses the shared native producer helper.
Added the same-schema/default-profile correction prompt, enduring system
principles, explicit run/profile/session propagation, static dependencies, and
the codec-valid empty fallback. Removed spell completion/asset/schema registries
and manifest/fingerprint metadata; retained private-response interpretation and
source-order canonicalization. Migrated focused tests to a native provider fake
and added a leaf-assembled generic-chunker spell contract covering complete ordered
assessment, final correction, strict exhaustion, permissive output, and exact
continuation history without repeated references.
Native asset, catalog/shape, isolated schema/input-helper, and focused pipeline
tests pass; runnable asset/catalog/shape vet/race checks and production pipeline/
generic/Seriatim builds pass. Full spell/shared/source-validator tests, including
the new assembled contract, are blocked at setup by shared legacy asset helpers
importing old-path ConfigKit's removed YAML `plugin/limit`. Those tests are not
claimed passing. Central registration and remaining legacy fixtures/dependencies
remain assigned to Stages 24 and 35, with final assembled verification required.
**Goal:** prove native extraction with the real typed module and validators.
**Inspect/change:** `internal/modules/dnd/extract/spells`, shared extraction input