Collect optional validation context only when it can fit

This commit is contained in:
2026-11-17 04:25:35 +00:00
parent 44c767f285
commit d26991f0bf
9 changed files with 128 additions and 56 deletions

View File

@@ -331,6 +331,11 @@ form. Retain existing handling for a mismatched repair reference.
### R10 — Fit Required Validation Data Before Collecting Optional Context (P3)
**Complete.** Fitting checks required data before loading glossary and
neighbor context. Context selection reuses source matches within a validator
request and matches each revision independently. Tests verify skipped loading,
candidate-specific context, and equivalence with the serialized budget oracle.
**Affected plan:** Stages 8 and 10.
**Evidence:** [Item construction](../../internal/framework/validators/llm_validators.go#L251)