Consolidate memory
zenbrain_consolidateRun a maintenance pass to consolidate memory: promote repeated episodes into semantic facts, decay stale working-memory slots, and prune data below retention threshold.
Instructions
Run one consolidation pass: promote repeated episodes into semantic facts, decay stale working-memory slots, prune what has fallen below the retention threshold. This is the sleep-like maintenance step — safe to run periodically, not per turn.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pruned | Yes | Items pruned below the retention threshold. | |
| decayed | Yes | Working-memory slots decayed. | |
| promoted | Yes | Episodes promoted to semantic facts. |