Migrate scene planning to native continuation and whole-source fallback
This commit is contained in:
@@ -717,6 +717,29 @@ provider fakes and retain domain identity/reconciliation regression coverage.
|
||||
|
||||
## Stage 16: Migrate D&D Scene Planning And Chunk Assessment
|
||||
|
||||
**Status:** Complete. Scene planning now prepares the full transcript/reference
|
||||
inputs once and uses the shared native producer helper with initial/correction
|
||||
prompts, matching schema/profile defaults, and static dependencies. Enduring
|
||||
scene principles remain in initial system context. Removed the private completion,
|
||||
response-schema/asset registration, and manifest metadata paths. Existing
|
||||
source-order, coverage, gap/overlap, and boundary interpretation rules remain.
|
||||
Unresolvable boundaries supply actionable correction guidance; unusable native
|
||||
structural results never become semantic candidates. Permissive terminal handling
|
||||
constructs one unannotated whole-source plan using normal materialization; invalid
|
||||
input, cancellation, and fallback-construction failures do not publish a fallback.
|
||||
The runner already binds materialization and complete chunk assessment to the
|
||||
native operation without an outer attempt/replay loop. Added a runnable runner
|
||||
contract proving ordered full-chain assessment through final-turn acceptance,
|
||||
strict/permissive exhaustion, no fallback revalidation, and derived reuse exclusion.
|
||||
Migrated scene regressions to a native provider fake and added correction/history,
|
||||
override, structural-failure, whole-source fallback, and cancellation cases.
|
||||
Scene prompt-pair/schema checks run in the asset package.
|
||||
Asset/source tests and vet/race checks, focused pipeline tests and vet/race checks,
|
||||
and `git diff --check` pass. Scene-chunker package tests remain blocked at setup
|
||||
by shared legacy helpers importing old ConfigKit's removed YAML `plugin/limit`;
|
||||
their runtime results are not claimed passing. Scheduled dependency cleanup and
|
||||
final verification must execute them. Chunk-cache replacement remains Stage 28.
|
||||
|
||||
**Goal:** one native chunk producer with deterministic materialization.
|
||||
|
||||
**Inspect/change:** `internal/modules/dnd/chunk/scenes`, chunk-plan interpretation/
|
||||
|
||||
Reference in New Issue
Block a user