octave_validate
Validates OCTAVE content against schema definitions, providing canonical form and optional repair suggestions for Mirror Constraint and Schema Sovereignty issues.
Instructions
Schema check + repair suggestions for OCTAVE content. Validates content against schema, returns canonical form with optional repairs. Focus on I3 (Mirror Constraint) and I5 (Schema Sovereignty).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | OCTAVE content to validate (mutually exclusive with file_path) | |
| file_path | No | Path to OCTAVE file to validate (mutually exclusive with content) | |
| schema | Yes | Schema name to validate against (e.g., 'META', 'SESSION_LOG') | |
| fix | No | If True, apply repairs to canonical output. If False (default), suggest repairs only. | |
| debug_grammar | No | If True, include compiled regex/grammar in output for debugging constraint evaluation. | |
| grammar_hint | No | If True and validation returns INVALID, include compiled GBNF grammar in response to guide correction. | |
| diff_only | No | If True, return diff instead of canonical content. Saves tokens when validating. | |
| compact | No | If True, return warning/error counts instead of full lists. Saves tokens. | |
| profile | No | Validation strictness profile: STRICT (full compliance, reject unknown), STANDARD (default), LENIENT (warnings not errors, auto-repairs), ULTRA (minimal validation). |