Memory/skill entropy: project-specific tactical data silently degrades agent quality over time
说明与用途
在 Hermes Agent 中添加轻量级内存审计,标记项目特定数据,防止其降低代理决策质量。
问题
After weeks of daily use, the agent’s decisions degrade because project‑specific tactics accumulate in memory and are applied to unrelated projects, creating "experience debt."
结果
Adding a simple audit function reduces memory noise, preventing project‑specific tactics from leaking into unrelated contexts and improving agent performance.
工作流
- 1. Define
STALE_PATTERNSregex list for project‑specific data. - 2. Implement
memory_audit(entry)to return warnings if patterns match. - 3. Hook
memory_auditinto the memory write path; if warnings are returned, add a warning to the tool response. - 4. Optionally flag entries older than N writes for review during read.
- 5. Run the audit regularly to keep memory clean.
证据
Add a lightweight memory_audit function that runs on write and flags entries containing project-specific patterns
This issue is the automation of that exact cleanup.
- 记录日期: 2026-09-06T12:22:02.822Z