margins_doctor
Diagnose vault health by detecting orphan source pages, tracker drift, malformed frontmatter, and large raw files. Returns a structured report.
Instructions
Diagnose the vault's health. Returns a structured report of issues: orphan source pages (raw_file points to a missing file), tracker drift (source pages without tracker rows, or tracker rows for missing sources), files with malformed frontmatter, and large raw files. Read-only — never modifies the vault. Use when the user asks 'is anything broken?', 'check my vault', or before major operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||