Integrate partial processing outcomes and fatal cancellation

This commit is contained in:
2026-09-24 17:23:59 +00:00
parent bb21a81805
commit b98604e5ca
4 changed files with 294 additions and 87 deletions

View File

@@ -552,6 +552,16 @@ not rely on report tables to maintain chunk state.
## Stage 6 — Integrate Partial Outcomes and Fatal Cancellation
**Completed 2026-09-24.** The runner now preserves per-section operation facts,
continues after recoverable model failures, applies only candidates approved by
every required validator, and retains completed observations on fatal cancellation.
It tracks explicit work-unit states and merges defective-proposal filtering with
an existing proposal recovery. Runner tests cover total proposal failure, mixed
validation outcomes, later modules, multiple failures in one unit, merged recovery,
and fatal cancellation. `go test -race ./internal/framework/runner
./internal/framework/llm` and `git diff --check` passed. Integrated reporting
checks remain deferred until the reporting stages.
**Work:** Update `collectSectionProposals`, `runModulePipeline`, and
`validateSectionCandidates` to consume the outcomes from Stages 3–4. Recoverable
failures never enter shared fatal cancellation. Preserve candidates through every