Self-Care
Per-vault automated maintenance routines that keep your knowledge base healthy, deduplicated, and current — on your schedule.
What Self-Care does
Vaults accumulate stale indexes, duplicate scraped pages, and unprocessed files. Self-Care handles all of this automatically. Each vault has its own independent set of routines — one can rebuild daily while another never does.
Configure in Settings → Self-Care.
Routines
| Routine | What it does |
|---|---|
| Process Pending Files | Scans vault/ for files not yet in index.md, moves them to INGEST/ for AI processing. |
| Rebuild Wiki | Regenerates index.md and SCHEMA.md from scratch. |
| Duplicate Detection | Finds web-scraped files sharing the same URL and content hash, keeps the newest, deletes the rest. |
| Re-run Web Crawler | Re-executes a saved crawler profile to discover fresh URLs and feeds them into the scraping pipeline. |
Setup
Settings → Self-Care → select routine type → Add. For Re-run Web Crawler, also pick a crawler profile.
Days between runs (minimum 1). Routines only run when the app is open.
Toggle on or off. Disabled routines are removed from the schedule immediately.
Trigger any routine immediately from the Self-Care page, regardless of schedule.
Recommended starter setup: Rebuild Wiki daily · Process Pending Files daily · Duplicate Detection weekly · Re-run Crawler every 7–30 days per profile.
Behavior
- Per-vault isolation: Each vault's routines run independently and never block another vault.
- Serialized: Only one routine runs at a time within a vault.
- No duplicate runs: Manually triggering a queued routine replaces it.
- Persisted: Schedules survive app restarts.
- Maintenance log: Last 5 executions per vault logged with status and outcome.
Duplicate Detection in detail
Compares web-scraped files by source_url + SHA-256 body hash. Only files with a source_url field are candidates — manually dropped files are never touched. The newest file per group (by modification time) is kept; older copies are deleted. The wiki is automatically rebuilt afterward.