Centralize candidate assessment and explicit producer fallback handling

This commit is contained in:
2026-11-21 23:20:17 +00:00
parent 797320b4da
commit c56c7d7ee9
13 changed files with 667 additions and 1570 deletions

View File

@@ -408,6 +408,21 @@ need not migrate every module caller.
## Stage 9: Centralize Candidate Assessment And Terminal Disposition
**Status:** Complete. Replaced retrying validator execution and the producer
attempt state machine with one ordered assessment path and strict/permissive
terminal handling. Typed and materialized-chunk assessors give each validator
detached candidate/context views and preserve rejection guidance separately from
failed/unavailable assessments and their native causes. Guidance aggregation has
no hard-coded correction assignment. Fallback construction runs once without
ordinary revalidation, never on caller cancellation, and cannot claim acceptance
or reuse eligibility. Added complete-chain, revised/unchanged candidate, isolation,
guidance-contract, unavailable-assessment, timeout, and cancellation coverage.
Contracts tests/vet, isolated terminal-mode tests, and `git diff --check` pass.
Full pipeline tests remain blocked by the recorded old ConfigKit YAML import;
production compilation also awaits migration of runner/debug/diagnostic consumers
of removed attempt/report types. No blocked test is claimed passing; runner and
native continuation integration remain assigned to Stages 10–11.
**Goal:** use one complete assessment path for initial and revised candidates.
**Inspect/change:** `validation_executor.go`, `validation_policy.go`,