Where most memory tools help your agent remember more, mnemoa helps it forget what no longer belongs
说明与用途
mnemoa 通过删除过时和冗余的指令文件,提升编码代理的上下文效率,并将规则迁移为自动化检查,保持仓库内存简洁准确。
问题
Coding agents accumulate stale, redundant, and contradictory instructions in files like AGENTS.md and CLAUDE.md, leading to bloated context and drift from the codebase.
结果
mnemoa reduces context bloat by pruning stale instructions and promotes redundant rules to automated checks, keeping agent guidance concise and up-to-date.
工作流
- Scan repository with mnemoa to identify issues
- Review the prune plan and token cost estimates
- Apply the prune plan using mnemoa forget --apply --yes
- Optionally promote redundant rules to automated checks and record in ledger
- Integrate mnemoa scans into CI via GitHub Action
证据
mnemoa scans a repository’s agent instruction files and plans. It checks for issues such as: Instructions that are too long or consume too much always-loaded context, Broken paths, symbols, and commands, Plans that have drifted from the code, Rules that a formatter, linter, or other tool could enforce instead
It can also create a prune plan showing what it would remove or move, along with the estimated token cost before and after. You can review the diff before applying it.
mnemoa is written in Rust and runs deterministic checks locally. The optional LLM feature can help draft rules, but it is disabled by default.
- 记录日期: 2026-10-23T02:26:24.661Z