mimir_cohere
Run an autonomous grooming pass to organize memory: promote frequent entities, link related ones, and archive stale data. Use dry_run to preview changes.
Instructions
Run an autonomous coherence grooming pass over the memory. Promotes buffer entities to working layer, applies decay, auto-links related entities, and archives stale ones below the decay threshold. Use dry_run=true to preview without making changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, count what would be done without making changes | |
| max_links | No | Maximum auto-links to create (default 20, max 100) | |
| archive_threshold | No | Decay score below which entities are auto-archived (default 0.05) | |
| promote_threshold | No | Retrieval count threshold for buffer to working promotion (default 3) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| linked | No | Number of auto-links created | |
| decayed | No | Number of entities whose decay score was reduced | |
| dry_run | No | ||
| archived | No | Number of entities archived due to low decay | |
| promoted | No | Number of entities promoted from buffer to working | |
| entities_examined | No | Total non-archived entities examined | |
| completed_at_unix_ms | No |