Expand description
CH-14 conformance harness.
Validates that a compiled agent descriptor’s declared v2 sections
(model_requirements, prompt_dialect, context_strategy) are
satisfiable at load time and honored at run time — by driving the exact
runtime functions a real request uses (ModelRouter::route,
PromptDialect::detect, apply_strategy), not a re-implementation of
them. This is genuinely new test infrastructure (per assessment.md,
there was no “conformance” concept anywhere in the repo before this).
rag_configuration and api_harness have no complete effective-binding
path here. The report therefore preserves optional values and rejects a
required value until private binding identifies an enforcing component.
Authored presence comes from the lossless source record, so an omitted section remains distinct from an explicitly authored default.
Structs§
- Conformance
Report - Full conformance report for one compiled descriptor’s IR payload.
Enums§
- Check
Result - Outcome of one section’s conformance check.
Functions§
- check_
conformance - Run the full conformance check against a compiled descriptor’s IR.