tidy_vault
Perform vault health check with automatic fixes, deduplication rebuild, and cleanup preview. Logs each step and returns total duration.
Instructions
One-shot vault maintenance: doctor autofix + dedup rebuild + bases refresh + cleanup preview.
Each sub-step is non-fatal — failures logged but don't abort the others.
Use when: user says "tidy", "maintenance", "vault health check".
Returns {ok, steps, total_duration_sec, cleanup_preview_bytes}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply_cleanup | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||