Wiki Edge Audit
Audit wikilink coverage across all edges. Identifies source pages that have edges in _edges.jsonl but lack the corresponding [[dir/slug]] wikilink in their body text.
Tool
vault_edge_audit
Protocol
- Call
vault_edge_audit(zero parameters) - Review results:
total_edges,covered,missing_count,missing[] - If
missing_count == 0: report full coverage, done - If
missing_count > 0: for each missing entry, open the source page and insert[[dir/slug]](where dir/slug = target path minus.md) at a semantically relevant location in the body. If no suitable location, append a sentence containing the wikilink at end of body. - After all fixes applied, re-run
vault_edge_auditto confirm coverage
HARD-GATE
Yield
Returns: { total_edges: number, covered: number, fixed: number }