Ontology Export
Generate a readable summary of the current ontology state for review or external consumption.
Tool
vault_graph_stats + vault_query_graph + CC file write
Protocol
- Call vault_graph_stats for global metrics
- Query top-level concepts (depth 2) to build hierarchy overview
- Generate summary document with:
- Total concepts, edges, coverage metrics
- Top-level taxonomy tree
- Edge type distribution
- Orphan list
- Confidence distribution
- Write to
topics/ontology-summary.mdor return as structured data
HARD-GATE
Yield
Returns: { total_concepts: number, total_edges: number, hierarchy_depth: number, export_path: string }