Archive Old Tasks
task_archive:
Instructions
Move completed and deleted tasks older than N days to a quarterly archive segment, keeping the active set small and fast. Archived tasks are removed from the active database but can be loaded later with task_archive_load. This is a bulk maintenance operation — for removing individual tasks, use task_delete or task_purge instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| older_than_days | No | Archive tasks completed/deleted more than this many days ago. Default: 90. E.g. '30' for tasks older than a month. |