Validate internal decisions and reconcile exact model references

This commit is contained in:
2026-11-16 14:11:02 +00:00
parent 475557e4de
commit 0c144fd5a5
46 changed files with 544 additions and 376 deletions

View File

@@ -53,9 +53,17 @@ assessment is unavailable; an unavailable assessment alone does not. Revised
candidates run the applicable checks again. A zero repair budget retains the
original shortlist flow.
Decision cardinality is enforced inside Audita: each candidate proposal must
receive exactly one outcome per validator it reaches. The runner still rejects
duplicate, missing, or unknown identities in an internal validator result.
The shared validator port lives in `internal/framework/validators`. Instances
may run concurrently across sections and can keep synchronized state. Request
data is borrowed for the duration of the call. Copy data before modifying or
retaining it.
The runner checks decision identity and disposition before allowing a candidate
to advance. A normal return supplies one decision per submitted candidate. A
fatal return may provide a checked subset as evidence. Contradictory approval
and disposition are a fatal contract failure. The recorded disposition governs
approval, and each record carries the effective execution class, including
instance overrides, for initial validation and revalidation.
## LLM Validator Batching
@@ -89,8 +97,11 @@ Reconciliation makes no semantic retry or extra model call; guided recovery rema
[deferred](../roadmap/future.md#domain-aware-response-recovery).
Debug request metadata records `proposal_indices` in local-reference order
(reference 1 is the first entry). Raw decoded responses and ignored indices use
local references; reconciled decisions and unavailable indices use internal
(reference 1 is the first entry). Decoding preserves the supplied numeric
tokens, including integral decimal or exponent spellings. Reconciliation
checks the batch range before converting to a local integer, so an extra
reference beyond the native integer range can be ignored. Raw decoded responses
and ignored indices use local references. Reconciled decisions use internal
proposal indices. Batch token estimates use the same locally numbered payload
as prompt encoding.

View File

@@ -355,6 +355,13 @@ beside an out-of-range reference. Cover equivalent numeric spellings,
contradictory internal results, and class override from execution through the
record supplied to Stage 17. Update [validator internals](../internal/validators.md).
**Complete.** Validators share one port and applicability owner. The runner
rejects contradictory decisions and records the effective class on initial and
repair validation evidence. Controlled provider responses verified exact
numeric decoding, equivalent spellings, duplicate and missing decisions, and
a usable decision alongside a reference above the native integer range. The
CLI build and full offline suite passed.
## Stage 10 — Reduce validation context work
Audit #36.