consolidate
Merge duplicate memory entries and remove expired episodic items using deterministic rules, with a dry-run option to preview changes before applying.
Instructions
Phase A 机械整理记忆(无 LLM,确定性):去重(内容重复合并,保留 user/高 confidence/新)、过期清理(episodic 超保留期软删;user 明示永不清)。默认 dry_run=true 只报告计划不落库。LLM 蒸馏(Phase B)由宿主 agent 另行编排。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dedup | No | 是否去重,默认 true | |
| scope | No | 限定 scope;缺省处理全部 | |
| dry_run | No | 默认 true:只报告将做的变更,不落库 | |
| episodic_retention_days | No | episodic 保留天数,默认 90 |