Migrate scene descriptions to native correction with invariant-preserving final fallbacks
This commit is contained in:
@@ -1036,6 +1036,31 @@ enemy-event codec contract, using a native provider fake and current typed codec
|
||||
|
||||
## Stage 23: Migrate Scene-Description Extraction
|
||||
|
||||
**Status:** Complete. Scene descriptions now use native initial/correction
|
||||
requests through the shared typed producer helper with fixed transcript/reference
|
||||
materials and captured chunk identity/range. Added matching schema/default-profile
|
||||
correction assets and static dependencies; removed private completion, schema/
|
||||
asset registration, and manifest/fingerprint metadata. The existing one-scene
|
||||
mapping, kind/title/summary contract, and trimming remain unchanged.
|
||||
Permissive fallback construction uses only the final usable candidate and checks
|
||||
the unchanged durable codec, exact current chunk identity/range, trimmed fields,
|
||||
and current-source addressing. It does not rerun ordinary semantic validators,
|
||||
invent a classification/prose, publish an empty collection, or recover an earlier
|
||||
candidate after a result-less/structurally failed correction. Strict handling and
|
||||
cancellation publish no fallback. Added native-provider coverage with the real
|
||||
combat-semantics validator for ordered complete-chain correction, validator versus
|
||||
producer profiles, shared run overrides/session, exact history, qualified final-only
|
||||
semantic fallback, unusable final responses, failed continuation, and cancellation.
|
||||
Retained mapping/reference/registration regressions and moved native prompt-pair/
|
||||
unchanged-schema checks to assets. Independently runnable fallback tests cover
|
||||
missing/empty/multiple scenes, identity/range/shape failures, and defensive ownership.
|
||||
Asset, shape, source-reference, invariant, codec, and isolated fallback tests and
|
||||
vet/race checks pass, as do focused pipeline tests and `git diff --check`.
|
||||
Full extractor and combat-semantics package checks remain blocked at setup by
|
||||
shared legacy helpers importing old ConfigKit's removed YAML `plugin/limit`;
|
||||
their new native runtime tests are not claimed passing. Scheduled cleanup and
|
||||
final assembled verification must execute them.
|
||||
|
||||
**Goal:** retain the required scene artifact while making fallback limits explicit.
|
||||
|
||||
**Inspect/change:** `internal/modules/dnd/extract/scenedescriptions`, its codec,
|
||||
|
||||
Reference in New Issue
Block a user