What problem does it solve?
It prevents incomplete domain-taxonomy knowledge base entries from progressing by enforcing the required KB extension sections and verifying that cross-tree constraint references are valid and non-dangling.
Core Features & Use Cases
- Section completeness validation: Ensures every feature contains all five required H3 subsections (Inclusion, Success Criteria, Failure Scenarios, Cross-Tree Refs, Experiential) and that they are populated.
- Rule contract enforcement: Checks that Inclusion, Success Criteria, Failure Scenarios, Cross-Tree Refs, and Experiential content meets the KB extension conventions defined in the contract rules file.
- Constraint integrity verification: Validates that
_cross-tree-constraints.yaml parses cleanly and that every referenced feature ID exists in the scanned domain-taxonomy files, halting the pipeline on any dangling refs.
Quick Start
Ask the calling agent to run validate-kb-extension with the paths to the domain-taxonomy markdown directory, the _cross-tree-constraints.yaml file, and the kb-extension conventions contract so it returns a structured validation report.