Production code is unchanged from the catalog's audited baseline
`3887d89b763b7040efc866d4a57eb910d8778730`; intervening changes are documentation.
[go.mod](../../go.mod) selects Go 1.27.0, PromptKit v0.25.0, ConfigKit v1.4.0,
CommandKit v0.8.0, ckconfig v0.11.0, and ckprompt v0.12.0. No dependency upgrade is
required by this plan; assess any concrete upstream gap if implementation finds one.
The fixed typed pipeline and native-kit responsibilities are already implemented.
[Module Internals](../internal/modules.md) and
[Pipeline Internals](../internal/pipeline.md) describe current authoring and execution.
| Current surface | Responsibility and friction |
| --- | --- |
| [Typed stage requests](../../internal/framework/contracts/typed_pipeline.go) and [producer contracts](../../internal/framework/contracts/producer.go) | Requests expose `ProducerOperation[T]`, including assessor, controls, cache binding, execution options, and reuse eligibility. Authors carry framework plumbing through their module implementation. |
| [RunProducer](../../internal/framework/pipeline/producer.go) | Shares native execution, assessment, corrections, caching, and disposition, but its closures coordinate candidate, guidance, failure, acceptance, and capture state through mutable outer variables. |
| [Producer outcome helpers](../../internal/framework/pipeline/producer_outcome.go) | Integrations choose between `RunProducer`, `AssessProducer`, and `FinishProducerFailure` for model work, no-model answers, and preparation outcomes. Correct lifecycle composition remains part of the authoring recipe. |
| [Spell extraction](../../internal/modules/dnd/extract/spells/extractor.go) and [scene planning](../../internal/modules/dnd/chunk/scenes/chunker.go) | Modules prepare domain/native inputs, supply interpretation/correction/fallback closures, invoke the producer, and assemble typed outcomes. Scene planning also demonstrates correctable interpretation without a usable candidate. |
| [NPC](../../internal/modules/dnd/normalize/npcregistry/normalizer.go), [item](../../internal/modules/dnd/normalize/itemregistry/normalizer.go), and [location](../../internal/modules/dnd/normalize/locationregistry/normalizer.go) reconciliation | Each repeats fixed-original preparation, proposal/evidence tracking, no-model and limit dispositions, correction construction, fallback bookkeeping, and result assembly around existing shared mechanisms. |
| [Semantic reconciliation](../../internal/framework/semanticreconcile/preparation.go) | Already provides neutral candidate preparation, proposal safety, request construction, and typed application. The missing sharing is primarily the lifecycle connecting those facilities to production. |
| [Combat semantic validation](../../internal/modules/dnd/validate/scenedescriptions/combat_semantics/validator.go) | Executes one native assessment directly. It shares the native-usability classification defect with the producer, but is not a producer correction loop. |
The production migration inventory starts with ten D&D extractors (spells,
combat turns, enemy events, scene descriptions, and NPC/item/location registries
and occurrences), D&D scene planning, and the three registry normalizers.
Combat/enemy extraction and registry reconciliation have no-model paths that must
be exercised. Deterministic stage completion and typed registration/preparation
also participate where they connect to the changed contracts. Confirm the caller
inventory during implementation rather than treating these counts as invariants.
Core contracts describe sources, source units, chunks, typed artifacts, and
operation outcomes. A scene is a D&D interpretation of a chunk, not a core chunk
type that other integrations must imitate. Transcript speakers/timestamps, combat
annotations, entity registries, and D&D identity rules belong to integrations
where applicable; ordinary core operations do not require those concepts.
The existing [source types](../../internal/core/source/source.go) already carry
generic units, ranges, content, and metadata. Evaluate their fit through the new
API rather than introducing a parallel source model preemptively. Source parsing,
unit selection, chunk meaning, and domain metadata remain integration concerns;
core owns generic plan materialization and orchestration. Neither a particular
D&D chunk prompt nor scene-specific annotations define the authoring contract.
Use these anticipated scenarios alongside production D&D callers when evaluating
the API shape:
| Scenario | Design question |
| --- | --- |
| Email processing | Can an integration prepare message content and its domain metadata, choose useful processing units/chunks, and produce typed results without transcript or scene conventions? |
| NWS Forecast Discussion text processing | Can an integration process document text using its own meaningful sections or other chunk boundaries and domain-specific findings, without entity-registry reconciliation being required? |
These are design scenarios, not settled input formats, extraction schemas, or
chunking policies. A section/paragraph or whole-document chunk can illustrate an
API walkthrough without prescribing either integration's final behavior. Support
deterministic and model-assisted preparation where appropriate through the same
| Entity compatibility, typed proposal application, family diagnostics, and domain-specific reconciliation evidence | Integration, using family-shared helpers where appropriate |
| CAT-003 / CAT-024 / CAT-025 / CAT-032 | Keep new optional evidence inexpensive and document actual concurrency. Apply the accepted whole-source capture direction if touched, but do not assume a package move or the entire capture inventory must be redesigned here. |
| CAT-014 / CAT-017 / CAT-018 | Accepted composition/copying direction remains valid. Make only changes required by the new registration/operation boundary; broader consolidation follows this initiative unless it becomes a concrete prerequisite. |
| Other entries | Reassess after migration; retain independent defects, optional cleanups, and CAT-034's resolved status. |
The accepted diagnostic retention, source-capture, signal, and composition choices
in [discussion Items 1–4](audit/discussion.md) remain selected future work. This
roadmap does not reverse them or silently incorporate all their implementation.
If an overlapping fix is completed during this work, record its actual scope and
tests. Catalog IDs are evidence references, not a mandate to close every entry.