aethis_validate_sections
Compare discovered sections against an expected specification to identify missing and extra sections, verifying coverage before enforcing guidance.
Instructions
Compare discovered sections against an expected specification. Returns missing sections (expected but not found) and extra sections (found but not expected). Call after aethis_discover_sections to check whether the LLM found all sections the SME expects. If sections are missing, call aethis_add_domain_guidance with adherence='exact' to enforce them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain identifier, e.g. 'uk_citizenship' | |
| expected_sections | Yes | Section names/IDs the SME expects (snake_case, e.g. ['english_language', 'residence', 'good_character']) | |
| discovered_sections | Yes | Section names/IDs returned by aethis_discover_sections |