凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:skill-quality-gate(外部公开评测门禁文档)
English
When to use
- The user reports memory loss, lost context or confusion.
- Cross-session memory needs governance: duplicates, contradictions, stale entries.
- Designing a long-term memory system; memory audit and LGD three-law compliance checks.
Usage
- Run
python memory_audit.pyto start the memory auditor. --convergemerges into a single source of truth;--backupruns the pre-change backup gate.- Activate via trigger words; no need to touch
__pycache__.
Flow
- Identify the user's memory-management intent (forgetting / conflict / cleanup) and confirm permissions.
- Run the four-dimension audit: duplicates, orphans, stale, no-provenance entries.
- Tag memory-asset state per LGD; build a converged single-source index.
- Backup gate before modifying the knowledge base (keep history).
- Deduplicate and remove contradictory/outdated info.
- Output the audit report plus the updated memory snapshot for user review.
Evidence & safety
- Evidence: TBD. Version: 1.1.1. Security: no independent scan (TBD).
中文
何时用
- 当用户反馈 AI 出现记忆遗忘、上下文丢失或逻辑混乱时。
- 需要治理 Agent 的跨会话记忆,处理重复、矛盾或陈旧的知识资产时。
- 涉及长期记忆系统设计,需执行记忆审计与 LGD 三律(有籍·有证·有门禁)合规检查时。
用法
- 直接运行 Python 脚本
python memory_audit.py启动内存审计器。 - 添加参数
--converge开启收敛模式,合并单一真源;添加参数--backup执行门禁改前备份。 - 技能文档已内化,用户需通过触发词唤醒技能,无需直接访问 Python 缓存文件。
流程
- 识别用户的记忆管理意图(遗忘/冲突/清洗)并确认调用权限。
- 执行四维度审计:扫描重复、孤儿、陈旧及无溯源记忆条目。
- 依据 LGD 三律标记记忆资产状态,建立可收敛的真实源索引。
- 在修改知识库前自动触门禁备份(Backup Gate),保留历史版本。
- 对识别出的矛盾或过时信息执行去重与剔除操作。
- 输出审计报告与更新后的记忆库快照,供用户审核确认。
证据与安全声明
- 证据:TBD(暂无评测/徽章链接;产生后在此更新实际链接)
- 版本:1.1.1
- 安全:未做独立安全扫描(TBD),结论待补;补全前不作推荐背书。
