memory_update
Replace the content of existing Markdown files, archiving the old version and logging the change for audit.
Instructions
Replace the content of an existing .md file. The previous version is archived under .archive/ and the change is recorded in the audit log. Refuses MEMORY.md. / 替换已有 .md 文件内容;旧版本归档到 .archive/,变更记入审计日志。禁止更新 MEMORY.md。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | relative path e.g. notes/x.md / 相对路径 | |
| agent | No | agent | |
| content | Yes | new full file content / 新的完整文件内容 | |
| summary | No | change summary / 变更摘要 |