Migrate combat semantics validation to native execution and unavailable assessments

This commit is contained in:
2026-11-22 00:42:20 +00:00
parent 52a1c96327
commit 5d3696d4a0
13 changed files with 571 additions and 493 deletions

View File

@@ -764,6 +764,29 @@ units, full-source fallback, final-turn acceptance, and cancellation.
## Stage 17: Migrate The Combat-Semantics LLM Validator
**Status:** Complete. The validator now makes one native request on the shared
engine, preserving the validator profile/default, session, execution overrides,
transient-retry override, observer, and preparation callback. Static prompt
dependencies replace asset/schema registration and manifest/fingerprint metadata.
Native errors and failed validation status are checked before decoding; execution
and interpretation failures produce an unavailable assessment with inspectable
causes, not semantic rejection or invented correction guidance. Cancellation
does not deliver a judgment. Successful classification retains the original
combat policy, scene-local transcript boundary, explanation checks, and actionable
producer guidance. Interpretation and its existing cases are independently
testable; evaluation fixtures and schema/policy assets are unchanged.
Added native provider tests for judgments, override/input isolation, nil-error
failed validation, unavailable provider/capacity, interpretation failure,
cancellation, and nested same-backend admission. A runnable framework contract
proves complete ordered native assessment on a backend limited to one active call,
without holding producer admission or repeating the final chain.
Asset tests/vet/race, independent interpretation/evaluation tests/vet/race,
focused pipeline tests/vet/race, and `git diff --check` pass. The concrete
validator package remains blocked at setup by shared legacy asset helpers
importing old ConfigKit's removed YAML `plugin/limit`; its native runtime tests
are not claimed passing. Scheduled dependency cleanup and final verification
must execute them. No validator-owned semantic continuation loop was added.
**Goal:** validators use native execution without another semantic retry loop.
**Inspect/change:** `internal/modules/dnd/validate/scenedescriptions/combat_semantics`,