dsh-mnemos
Cross-session memory with governance, self-evolution and an approval-gated write path for DeepSeek Harness. Heat-ranked recall, environment conventions, forgetting lifecycle, supersession chains, poisoning defense, auto-distillation, and an open measurement ABI. 适合需要跨会话长期记忆、自动提炼和安全写入控制的复杂任务。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Rottenwooood/dsh-mnemosドキュメント
README 全文を読む ↗Configuration
All settings live in Settings → dsh-mnemos and mostly apply live. Highlights:
| Key | Purpose |
|---|---|
enabled | master switch |
autoApprove / autoApproveConfidence | auto-approve high-confidence model writes / threshold |
injectionEnabled / injectLimit / injectMaxBytes | injection on/off, count and byte budgets |
protocolInjectEnabled | inject environment/tool-convention (protocol) memories — once at the session's first step, re-attached after each context compaction; not part of the memory index |
gitRemoteUrl / gitBackend / syncEnabled | cross-machine sync: remote / backend / auto-sync |
distillAuto / distillEveryNTurns | auto-distill on/off and interval (user turns) |
cleanupDays | archive-candidate age: how many days without any injection/hit or update before a memory becomes a cleanup candidate |
sessionLogDirs / backfillEnabled | backfill historical session logs at startup |
The full 34-field table, YAML snippets, usage scenarios, and troubleshooting: docs/HANDOVER.md.