check_vault_integrity
Detect wikilinks that point to non-existent notes, ranked by how many notes reference each missing target to identify load-bearing gaps.
Instructions
Find wikilinks that point at notes which do not exist. Git proves two machines agree on what is COMMITTED; it is silent about a note written outside the vault folder or written on another machine and never committed, and both fail the same silent way, as a link that resolves to nothing. Results are ranked by how many DISTINCT notes reference each missing target, because one note pointing at an unwritten note is an ordinary forward reference while six pointing at the same target means the vault treats it as real and it is either a concept that never got a home note or a note this machine cannot see. Run at session start alongside check_search_health.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min_references | No | How many distinct referencing notes before a missing target counts as load-bearing. Default 3. |