mimir_compact
Keep your database focused on active memories by archiving entities whose decay score falls below a threshold. Preview with dry-run mode.
Instructions
Archive entities whose decay score has fallen below a threshold. Supports dry-run mode to preview without making changes. Run periodically or threshold-triggered to keep the database focused on active, high-value memories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, report what would be archived without making changes | |
| min_decay | No | Decay threshold — entities with decay score below this are archived |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Whether this was a dry run | |
| entities_archived | No | Number of entities actually archived (0 in dry-run mode) | |
| entities_examined | No | Number of entities checked | |
| completed_at_unix_ms | No | Completion timestamp |