From 7ee7d36b453220344836d75157fa390f0cdf1570 Mon Sep 17 00:00:00 2001
From: modusensus
Date: Sat, 26 Sep 2026 20:08:06 +0800
Subject: [PATCH 1/2] =?UTF-8?q?docs:=20=E5=8F=8C=20README=20=E9=87=8D?=
=?UTF-8?q?=E5=A4=8D=E5=BE=BD=E7=AB=A0=E8=A1=8C=E5=8E=BB=E9=87=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
9-24 合并提交 37e77f1 解冲突时把 tests 徽章行与中英 npm test
命令注释各复制了一份(根 README 三处、包内 README 两处重复)。
badge:sync 的全文正则替换只会把重复行一起刷新、永不自愈,
此番手工去重各留一行;CHANGELOG [Unreleased] 登记。
---
README.md | 3 ---
dsh-mneme/CHANGELOG.md | 4 ++++
dsh-mneme/README.md | 2 --
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 24e269aa..26e2ea57 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,6 @@
-
@@ -184,7 +183,6 @@ dsh web
```bash
cd dsh-mneme && npm install
npm test # 1389 个测试
-npm test # 1389 个测试
npm run stress # 三轴线压测
npm run sync # src → lib 同步
```
@@ -367,7 +365,6 @@ The plugin ships a zero-dependency stdio MCP server (standalone npm package **`m
```bash
cd dsh-mneme && npm install
npm test # 1389 tests
-npm test # 1389 tests
npm run stress # three-axis stress test
npm run sync # src → lib sync
```
diff --git a/dsh-mneme/CHANGELOG.md b/dsh-mneme/CHANGELOG.md
index c2d1b95a..3b960dee 100644
--- a/dsh-mneme/CHANGELOG.md
+++ b/dsh-mneme/CHANGELOG.md
@@ -77,6 +77,10 @@
## [Unreleased]
+## 🧹 清理
+
+- **双 README 重复徽章行去重**:9-24 合并提交(37e77f1,解 #275 车道与 main 的冲突)把 tests 徽章行与中英 `npm test` 命令注释各复制了一份,根 README 三处、包内 README 两处重复;`badge:sync` 的全文正则替换只会把重复行一起刷新、永不自愈,此番手工去重(各留一行)。
+
## 🆕 新增
- **蒸馏思考强度设置项(issue #315)**:蒸馏(会话总结提炼)LLM 新增 `summarizeReasoningEffort`(`off`/`low`/`medium`/`high`/`none`,默认 `none` = 不发送字段、服务商默认生效,行为与此前一致)。思考型模型蒸馏时推理会烧光输出预算、总结为空或截断(#9 同款失败面,此前仅巩固/睡眠/实体抽取三链路有档位控制),配 `off`/`low` 可封顶推理。档位被模型拒收时自动去掉字段重试一次(与巩固/睡眠同一降级策略,`withEffortFallback` 共享、拒收判别式 `EFFORT_REJECT_RE` 提为单一来源);面板「功能开关 → 自动总结」下新增档位下拉(opt-in 语义与实体抽取 `entityExtractionReasoning` 对齐,settings 白名单注册)。新增回归 5 条(`test/summarize-reasoning-effort.test.js`)。
diff --git a/dsh-mneme/README.md b/dsh-mneme/README.md
index cb54a6aa..0f0f42ee 100644
--- a/dsh-mneme/README.md
+++ b/dsh-mneme/README.md
@@ -6,7 +6,6 @@
[](LICENSE)
[](https://github.com/awesome-dsh-plugin/awesome-dsh-plugin)
[](https://github.com/slow-stack/mneme)
-[](https://github.com/slow-stack/mneme)
[](https://github.com/slow-stack/mneme/actions)
[](https://nodejs.org)
[](https://www.npmjs.com/package/@modusensus/dsh-mneme)
@@ -593,7 +592,6 @@ scripts/ # e2e-dsh.js 端到端演示 · stress-dsh.js 三轴线压
cd dsh-mneme
npm install # 安装 peer 依赖(以 devDependencies 形式,用于本地测试)
npm test # 运行 1389 个测试
-npm test # 运行 1389 个测试
npm run stress # 三轴线压测:长会话检索 / 冲突仲裁 / 多 Agent 并发(离线 mock LLM)
npm run sync # 把 src/ 同步到 lib/(发布时由 prepack 钩子自动执行)
```
From 77f5a702f69733a317ee8255b2418317966e341e Mon Sep 17 00:00:00 2001
From: modusensus
Date: Sat, 26 Sep 2026 23:50:41 +0800
Subject: [PATCH 2/2] =?UTF-8?q?chore(templates):=20GitHub=20issue=20?=
=?UTF-8?q?=E6=A8=A1=E6=9D=BF=E4=B8=89=E4=BB=B6=E5=A5=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
bug.yml / feature.yml(YAML forms,双语,环境字段对齐历史高质量
报告)+ config.yml(空白 issue 关闭,使用问题引导 Discussions,
安全漏洞引导私密通告)。feature 模板内置实现口径自查项,
把 AGENTS.md 的闸门前置到提案阶段。
---
.github/ISSUE_TEMPLATE/bug.yml | 66 ++++++++++++++++++++++++++++++
.github/ISSUE_TEMPLATE/config.yml | 8 ++++
.github/ISSUE_TEMPLATE/feature.yml | 49 ++++++++++++++++++++++
3 files changed, 123 insertions(+)
create mode 100644 .github/ISSUE_TEMPLATE/bug.yml
create mode 100644 .github/ISSUE_TEMPLATE/config.yml
create mode 100644 .github/ISSUE_TEMPLATE/feature.yml
diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml
new file mode 100644
index 00000000..ff56c0d7
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug.yml
@@ -0,0 +1,66 @@
+name: 🐛 Bug 报告 / Bug Report
+description: 功能异常、崩溃、数据错误 — Create a bug report
+labels: ["bug"]
+body:
+ - type: markdown
+ attributes:
+ value: |
+ 感谢反馈!写之前先搜一下 [已有 issue](https://github.com/slow-stack/mneme/issues?q=is%3Aissue),避免重复。
+ 请尽量填写完整——环境信息不全的 bug 大概率要多花一个来回才能定位。
+ / Thanks for reporting! Please search existing issues first. Complete env info makes debugging much faster.
+
+ - type: textarea
+ id: observed
+ attributes:
+ label: 现象 / What happened
+ description: 具体表现是什么?与预期不符在哪?/ What did you see vs. what did you expect?
+ validations:
+ required: true
+
+ - type: textarea
+ id: repro
+ attributes:
+ label: 复现步骤 / Steps to reproduce
+ description: |
+ 最小复现路径,例如:开了什么开关 → 做了什么操作 → 看到什么。
+ 若涉及 LLM 行为(巩固/蒸馏/实体抽取失败),附 `llm_audit_logs` 对应行的 error_message 更好。
+ / Minimal repro path. For LLM-pipeline failures, the error_message from llm_audit_logs helps a lot.
+ validations:
+ required: true
+
+ - type: textarea
+ id: expected
+ attributes:
+ label: 期望行为 / Expected behavior
+ validations:
+ required: false
+
+ - type: textarea
+ id: env
+ attributes:
+ label: 环境 / Environment
+ value: |
+ - dsh-mneme 版本 / plugin version:
+ - DSH 桌面端版本与通道(stable / Beta / NEXT)/ DSH version & channel:
+ - 操作系统 / OS:
+ - Node 版本 / Node version:
+ - 安装方式 / install method (npm / dsh-market):
+ - 相关路由模型(巩固/蒸馏/实体抽取用的是什么模型)/ relevant model routes:
+ validations:
+ required: true
+
+ - type: textarea
+ id: logs
+ attributes:
+ label: 日志 / Logs
+ description: 控制台报错、dream_runs / llm_audit_logs 记录片段。注意脱敏,不要贴 token 与记忆正文。
+ validations:
+ required: false
+
+ - type: checkboxes
+ id: disclosure
+ attributes:
+ label: 披露 / Disclosure
+ options:
+ - label: 本报告由 AI 辅助整理(人工审核后提交)/ Drafted with AI assistance, reviewed by a human
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 00000000..220431c8
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,8 @@
+blank_issues_enabled: false
+contact_links:
+ - name: 💬 Questions & Ideas(问答与方向讨论)
+ url: https://github.com/slow-stack/mneme/discussions
+ about: 使用问题(如「如何临时关闭记忆」)、配置咨询、方向性想法请发 Discussions 的 Q&A / Ideas 分类 — usage questions and direction-level ideas go to Discussions
+ - name: 🔒 Security vulnerabilities(安全漏洞)
+ url: https://github.com/slow-stack/mneme/security/advisories/new
+ about: 请勿公开发布安全漏洞,走 GitHub 私密安全通告 — do not open public issues for security reports
diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml
new file mode 100644
index 00000000..d4035fd2
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature.yml
@@ -0,0 +1,49 @@
+name: ✨ Feature 提案 / Feature Request
+description: 新功能或行为改进 — Propose a new feature or behavior change
+labels: ["feature"]
+body:
+ - type: markdown
+ attributes:
+ value: |
+ 写之前先搜 [已有 issue](https://github.com/slow-stack/mneme/issues?q=is%3Aissue) 与 [Discussions](https://github.com/slow-stack/mneme/discussions)——方向征询类的话题更适合先发 Discussion 聊出共识再立项。
+ / Search existing issues & Discussions first. Direction-level ideas fit a Discussion better.
+
+ - type: textarea
+ id: problem
+ attributes:
+ label: 要解决的问题 / Problem
+ description: 先说场景与痛点,再提方案——问题定义比方案更重要。
+ / Describe the scenario and pain point first; the problem matters more than the solution.
+ validations:
+ required: true
+
+ - type: textarea
+ id: proposal
+ attributes:
+ label: 期望的方案 / Proposed solution
+ validations:
+ required: true
+
+ - type: textarea
+ id: alternatives
+ attributes:
+ label: 考虑过的替代方案 / Alternatives considered
+ validations:
+ required: false
+
+ - type: checkboxes
+ id: gates
+ attributes:
+ label: 实现口径确认 / Implementation gates (维护者会逐项核对)
+ options:
+ - label: 新行为开关应 opt-in 默认关,注册进 settings 白名单 / new toggles opt-in by default + settings whitelist
+ - label: 涉及 schema 变更时需配幂等迁移 / idempotent migration for schema changes
+ - label: 接受带回归测试的验收线 / acceptance includes regression tests
+
+ - type: checkboxes
+ id: disclosure
+ attributes:
+ label: 披露 / Disclosure
+ options:
+ - label: 本提案由 AI 辅助整理(人工审核后提交)/ Drafted with AI assistance, reviewed by a human
+ required: false