/maintain
/maintain — Vault Cleanup and Connection Pass
Weekly vault cleanup pass. Fixes links, syncs tasks, flags drift, never rewrites content.
What it does
One command handles the full maintenance loop: connection pass (add missing wikilinks and tags on recent edits), task sync (frontmatter vs reality), hub page check (nothing orphaned), frontmatter standardization, CLAUDE.md drift check, and a stale content flag for files rotting in `active` or `in-progress`.
Use it weekly or whenever the vault feels messy. Also run it before a big reflect or after a burst of captures. It edits metadata and adds links but never rewrites your words, and it never touches the human-authored sections of daily notes.
Outputs a summary of what was fixed plus a commit, and a flag list for anything that needs a human decision (stale files, CLAUDE.md drift). Pairs with `tldr` (end-of-session cleanup at a smaller scale) and `changelog` (the audit trail for system-level changes this pass surfaces).
