merge
Consolidate duplicate concepts by merging aliases into a single canonical node, summing salience, and removing duplicates to clean up semantic memory.
Instructions
Merge duplicate or near-duplicate nodes. Moves all links from aliases into canonical, sums salience, then deletes the aliases. Use after find_candidates reveals near-duplicates (e.g. 'spring boot' / 'Spring Boot' / 'Spring Boot 3.2').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aliases | Yes | Keywords to absorb into canonical and then delete | |
| context | No | Context path. Defaults to active context. | |
| canonical | Yes | The keyword to keep as the single authoritative node |