Run typed producers through native continuation and assessment

This commit is contained in:
2026-11-21 23:30:45 +00:00
parent c56c7d7ee9
commit 44e4fb92c2
3 changed files with 718 additions and 0 deletions

View File

@@ -448,6 +448,22 @@ unavailable assessment, guidance contract errors, and cancellation.
## Stage 10: Implement The Small Native Producer Helper
**Status:** Complete. Added one typed helper using native Run/Coordinate and
module-owned interpretation/correction/fallback functions. It checks native
structural status before interpretation, reuses the initial assessment on the
first coordination callback, and assesses every delivered revision once,
including the final allowed turn. Native coordination owns history and budget.
Execution/profile/session selections and existing observers/preparation callbacks
are preserved without duplicate enrollment. Failed continuations cannot recover
earlier candidates; caller cancellation and undelivered responses never become
acceptance or fallback. Real-engine offline fake-provider tests cover acceptance,
zero turns, final-turn acceptance, exhaustion, nil-error structural failure,
operational/unavailable failures, interpretation guidance, cancellation, and
typed native operation timeouts. File-scoped helper tests/vet/race checks and
contracts tests pass. Full pipeline tests remain blocked by the recorded legacy
ConfigKit YAML import and unmigrated consumers; no whole-package success is
claimed. Runner integration, caching, and capture remain in their assigned stages.
**Goal:** delegate turn iteration while retaining typed Notarius acceptance.
**Inspect/change:** a focused helper alongside pipeline assessment; upstream