memory_consolidate
Run the dream cycle: merge near-duplicate memories, prune expired and low-quality entries, then update quality scores using access patterns. Preview changes with dry run.
Instructions
Run the "dream cycle": find and merge near-duplicate memories, prune expired/low-quality entries, and update quality scores based on access patterns. Use dry_run=true to preview changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Memory scope for isolation | |
| namespace | No | Namespace within scope (e.g., project name, team name) | |
| similarity_threshold | No | Cosine similarity threshold for duplicate detection (0.5-1.0) | |
| prune_expired | No | Remove memories past their expires_at date | |
| prune_low_quality | No | Remove memories with both low importance and low confidence | |
| dry_run | No | If true, report what would be done without making changes | |
| max_operations | No | Maximum number of merge/prune operations per run | |
| forgetting_floor | No | Opt-in spaced-repetition prune. When set (0-1), remove weakly-held memories whose retention e^(-Δt/stability) has decayed below this floor. Omit to disable. |