
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-memory-triage
Advanced tools
DeepSeek Harness 记忆分诊插件:自动判断记忆保留 / 归档,并自动路由到项目桶或总体桶。
规则优先 + LLM 兜底。自动动作只做可恢复的归档,永不直接删除。
插件文件放到 ~/.dsh/profiles/web/plugins/dsh-memory-triage,在
~/.dsh/profiles/web/cordis.patch.yml 挂载:
- insert:
- id: dsh-memory-triage
name: ./plugins/dsh-memory-triage/lib/index.js
config:
memoryDir: ~/.dsh/memory
enabled: true
debounceMs: 5000
triggerThresholdCount: 3
triggerThresholdChars: 3000
archiveLowImportance: true
llmFallback: true
llmBatchSize: 8
purgeDays: 30
purgeOnSchedule: false
重启宿主后生效。
/triage-run —— 立即全库分诊/triage-purge —— 彻底删除归档超过 purgeDays 天(默认 30)的条目(仅限已归档)| 键 | 默认 | 说明 |
|---|---|---|
memoryDir | ~/.dsh/memory | dsh-mneme 记忆目录(共用同一 SQLite) |
enabled | true | 总开关 |
debounceMs | 5000 | 回合结束防抖 |
triggerThresholdCount | 3 | 触发阈值(新增条数) |
triggerThresholdChars | 3000 | 触发阈值(新增字符) |
archiveLowImportance | true | 低价值偏好自动归档 |
minDice | 0.62 | 合并相似度阈值 |
exemptKeywords | 内置清单 | 全局豁免词(命中保留总体记忆) |
projectKeywords | 内置清单 | 项目词(命中迁入 project 桶) |
llmFallback | true | LLM 兜底开关 |
llmBatchSize | 8 | 兜底每批条数 |
purgeDays | 30 | 归档超期天数 |
purgeOnSchedule | false | 分诊时自动清理超期归档(默认关) |
/triage-purge 或 purgeOnSchedule: true,且只作用于已归档条目node --test test/triage.test.mjs
14 个单元测试覆盖分类规则、去重合并、LLM 决策解析。
GPL-3.0
FAQs
DeepSeek Harness 记忆分诊插件:自动判断记忆保留/归档,并自动路由到项目桶或总体桶(规则优先 + LLM 兜底)
The npm package dsh-memory-triage receives a total of 88 weekly downloads. As such, dsh-memory-triage popularity was classified as not popular.
We found that dsh-memory-triage demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.