sleep
Propose memory housekeeping: analyze the brain graph to identify near-duplicate merge candidates, stale memories to flag, and disconnected orphans, all with no data changes.
Instructions
The brain's "sleep": walk the graph and PROPOSE housekeeping (read-only).
Like consolidation during sleep: finds dense communities whose memories are near-duplicates (→ merge candidates), leaves never recalled and fading (→ decay candidates for flag_stale), and disconnected orphans. Nothing is changed — you (or your agent) act with merge_memories / flag_stale.
Args: project: Scope to a project (None = whole brain). min_similarity: Cosine threshold for merge candidates inside a community.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| min_similarity | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |