memory_invalidate
Mark a direction-layer memory as invalid without deleting it. Locate by memory ID or a unique content substring, preserving an auditable trail after invalidation.
Instructions
Invalidate a direction-layer memory — mark it invalid without deleting.
方向层偏好过时/被推翻时显式失效(Zep 失效语义:置 invalid_at 不删除, 保留可审计轨迹)。失效后不再进注入,也默认不出现在 memory_list。
两种定位方式,二选一:memory_id 精确定位,或 content_match 子串定位 (手里只有原文时免去先查一次 id——被配额顶回来的那一刻正是这种处境)。 子串必须唯一命中当前上下文的有效条目:命中 0 条或多条一律不动数据,多条时 返回候选让你给出更精确的子串。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory_id | No | 要失效的方向层记忆 id(与 content_match 二选一) | |
| content_match | No | 唯一定位子串,在有效条目正文中精确匹配(与 memory_id 二选一) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||