dsh-mnemos
Cross-session memory with governance, self-evolution and an approval-gated write path for DeepSeek Harness. Heat-ranked recall, negative memory, 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 — re-attached after each context compaction |
gitRemoteUrl / gitBackend / syncEnabled | cross-machine sync: remote / backend / auto-sync |
distillAuto / distillEveryNTurns | auto-distill on/off and interval (user turns) |
sessionLogDirs / backfillEnabled | backfill historical session logs at startup |
negativeMemoryEnabled / negativeMemoryTtlMs | failed-command interception and expiry |
The full 31-field table, YAML snippets, usage scenarios, and troubleshooting: docs/HANDOVER.md.