memory_gc_tool
Purge terminal-state memories older than a retention window. Eligible items are superseded, invalidated, or resolved, untouched for the retention period and unreferenced; defaults to dry-run.
Instructions
Purge terminal-state memories older than a retention window.
Only superseded/invalidated/resolved items untouched for retention_days
and not referenced by any relation are eligible. Defaults to dry-run.
Args: retention_days: Age threshold in days (default 90) dry_run: Report candidates without deleting (default True) project: Optional project root path. Auto-detected from git root if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | No | ||
| dry_run | No | ||
| project | No | ||
| retention_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |