WikoriDocsSelf-Care

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 SettingsSelf-Care.

Routines

RoutineWhat it does
Process Pending FilesScans vault/ for files not yet in index.md, moves them to INGEST/ for AI processing.
Rebuild WikiRegenerates index.md and SCHEMA.md from scratch.
Duplicate DetectionFinds web-scraped files sharing the same URL and content hash, keeps the newest, deletes the rest.
Re-run Web CrawlerRe-executes a saved crawler profile to discover fresh URLs and feeds them into the scraping pipeline.

Setup

1
Add a routine

Settings → Self-Care → select routine type → Add. For Re-run Web Crawler, also pick a crawler profile.

2
Set interval

Days between runs (minimum 1). Routines only run when the app is open.

3
Enable/disable

Toggle on or off. Disabled routines are removed from the schedule immediately.

4
Run Now

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.