marm_compaction
Compact related memories into a single summary to reduce context bloat. Check for candidates, stage summaries, review, and apply or discard.
Instructions
Compact related memories into a single summary to reduce context bloat.
Workflow: status/candidates → stage → review → apply/discard
action="status" — check if compaction candidates exist (run first) action="candidates" — get pending candidates with source previews; each includes a ready-to-use prompt action="stage" — submit your summary: {candidate_id, suggested_summary}; source_memory_ids optional action="review" — inspect staged summaries before committing action="apply" — commit a staged summary; source memories are marked compacted action="discard" — reject a staged summary without touching source memories
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| summaries | No | ||
| candidate_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||