memory_consolidation_candidates
Identify near-duplicate memories grouped into clusters for consolidation. Anchor by topic query or episode to spot redundant entries and synthesize one canonical note.
Instructions
Find clusters of near-duplicate memories ripe for consolidation —
the same thing phrased five ways across five sessions. Anchor with a
query (topic-driven) or an episode id (session-driven); read
the clusters, synthesise one canonical note, then commit it via
memory_consolidate.
Args: min_cohesion: Minimum intra-cluster cosine (default 0.6) — raise to flag only near-duplicates.
Returns: {count, clusters: [{cohesion, size, members}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| query | No | ||
| top_k | No | ||
| episode | No | ||
| sources | No | ||
| max_clusters | No | ||
| min_cohesion | No | ||
| min_cluster_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||