Task Cleanup
Completed tasks are removed from markdown files after a retention period. The sidecar retains the record for the Activity view.
Three levels
Section titled “Three levels”Global default
Section titled “Global default”Settings > Task cleanup. Default: 7 days after completion.
Per-note-type
Section titled “Per-note-type”| Type | Default | Why |
|---|---|---|
| Inbox | 3 days | Temporary staging area |
| Project files | 7 days | Useful context for about a week |
| Meeting notes | Never | Durable records |
| Daily notes | Never | Part of the day’s record |
Per-note frontmatter
Section titled “Per-note frontmatter”---task_cleanup: 14---Values: a number (days), never, or 0 (remove immediately).
Per-task override
Section titled “Per-task override”Add #keep to prevent cleanup on any task:
- [x] Important milestone #keep