Migrate combat turns to native correction and retain deterministic scene gating
This commit is contained in:
@@ -946,6 +946,31 @@ correction acceptance, empty fallback, and final semantic rejection.
|
||||
|
||||
## Stage 21: Migrate Combat-Turn Extraction
|
||||
|
||||
**Status:** Complete. Combat extraction now uses one fixed source/NPC projection,
|
||||
native initial/correction requests, and the shared typed producer helper. Added
|
||||
the same-schema/default-profile correction pair and static prompt dependencies;
|
||||
removed private completion, schema/asset registration, and manifest/fingerprint
|
||||
metadata. Actor/turn-kind semantics, unmatched actors, document-order endpoint
|
||||
normalization, evidence canonicalization, and exact scene eligibility remain.
|
||||
Noncombat and unavailable/mismatched scene paths assess their deterministic empty
|
||||
result directly, retaining the existing warning where applicable, without native
|
||||
preparation, a model call, or a synthetic cache entry. Explicit outcomes inherit
|
||||
incoming reuse eligibility. Permissive model failures emit only a qualified,
|
||||
codec-valid empty combat list; cancellation emits no fallback.
|
||||
Retained domain/gating regressions with native provider fakes and added complete
|
||||
ordered-chain correction, fixed eligibility/context/history, override, zero-turn
|
||||
reversed-endpoint, strict/permissive, failed-continuation, structural-failure, and
|
||||
cancellation cases. Added a leaf-assembled generic-chunker combat pipeline test
|
||||
for combat, narrative, recap, meta, and mismatched scenes using provider invocation
|
||||
counts. Native prompt-pair and unchanged structural-schema checks run in assets.
|
||||
Asset/shape tests and vet/race checks, independent response-model tests/vet/race,
|
||||
and `git diff --check` pass. Full combat extractor, source/invariant validator,
|
||||
and integration package checks remain blocked at setup by shared legacy helpers
|
||||
importing old ConfigKit's removed YAML `plugin/limit`; native module and assembled
|
||||
runtime tests are not claimed passing. Scheduled dependency cleanup and final
|
||||
verification must execute them; remaining old integration fixtures retain their
|
||||
assigned migration scope.
|
||||
|
||||
**Goal:** native combat production preserves scene eligibility and evidence rules.
|
||||
|
||||
**Inspect/change:** `internal/modules/dnd/extract/combatturns`, combat validators,
|
||||
|
||||
Reference in New Issue
Block a user