rlm_memory_compact
Compact memory by deduplicating similar entries, promoting frequent learnings to critical tier, and archiving outdated memories.
Instructions
Compact and optimize memories. Deduplicates similar memories, promotes frequent learnings to CRITICAL tier, and archives old entries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Memory scope to compact | project |
| deduplicate | No | Merge similar memories | |
| promote_threshold | No | If learning accessed N times, promote to CRITICAL | |
| archive_older_than_days | No | Archive memories older than N days | |
| dry_run | No | Preview changes without applying |