Skip to content

Commit 0d612cb

Browse files
authored
Merge pull request #577 from slow-stack/release-prep/0.10.2
chore(release): v0.11.0 发布准备
2 parents a8a9acf + f9583e0 commit 0d612cb

8 files changed

Lines changed: 26 additions & 28 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-3E63DD?style=flat-square" alt="license"></a>
1111
<a href="https://github.com/slow-stack/mneme/actions"><img src="https://img.shields.io/github/actions/workflow/status/slow-stack/mneme/ci.yml?style=flat-square&label=CI" alt="CI"></a>
1212
<a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-22%2B-3E63DD?style=flat-square&logo=nodedotjs&logoColor=white" alt="node"></a>
13-
<a href="https://github.com/slow-stack/mneme"><img src="https://img.shields.io/badge/tests-2698%20passed-3E63DD?style=flat-square" alt="tests"></a>
13+
<a href="https://github.com/slow-stack/mneme"><img src="https://img.shields.io/badge/tests-2808%20passed-3E63DD?style=flat-square" alt="tests"></a>
1414
<a href="https://codecov.io/gh/slow-stack/mneme"><img src="https://img.shields.io/codecov/c/github/slow-stack/mneme/main?style=flat-square" alt="coverage"></a>
1515
<a href="https://github.com/awesome-dsh-plugin/awesome-dsh-plugin"><img src="https://awesome-dsh-plugin.com/badge.svg" alt="Awesome"></a>
1616
</p>
@@ -31,6 +31,7 @@
3131

3232
| 日期 | 版本 | 头条 |
3333
|------|------|------|
34+
| 2026-11-05 | **v0.11.0** | **记忆开始读得懂一个仓库** — 这一版把仓库地志(chorography)从零推到能看能查:读一个 JS/TS 仓库的文件树与 import 图,划分模块、在 `<repo>/.chorography/` 下写出 Markdown 地志页(T0 骨架零模型零网络,`plan.yaml` 做正面控制,`CHORO:HUMAN` 保留区跨重生成逐字节存活),再由 T1 逐模块跑一次 headless 会话补上架构/约定/技术栈/构建四段语义正文与可核验的 claims——生成吃的是宿主已有的模型额度,不要求额外模型商密钥。消费面三张脸同时接上:面板第二座位、三个只读工具、`/choro/*` 读路由,以及每轮开局那一小块标题级提纲注入与只读 `/choro` 命令(**只提示过期、绝不自动重跑**)。`chorographyEnabled` 默认关,wiki 行与记忆行物理隔离、永不进巩固与质量过滤的任何行池。另修 [#573](https://github.com/slow-stack/mneme/issues/573):宽态侧栏的记忆入口落在「更多」行下面,点开更多时被菜单盖住。 |
3435
| 2026-11-03 | **v0.10.1** | **打开记忆详情不再崩掉整个宿主** — 0.10.0 里点开侧边栏任意一条记忆的详情抽屉,渲染进程立刻抛 `ReferenceError: provenance is not defined`,整个宿主跟着重启、进行中的会话被打断,100% 复现([#553](https://github.com/slow-stack/mneme/issues/553))。根因是两个隔了三千多行的组件:`MemoryDrawer` 的归因 effect 与渲染块在读 `provenance` / `setProvenance`,而那句 `useState` 落在了同文件**上一个**组件 `EntityPanel` 里——`EntityPanel` 里那份是纯死代码,整个函数体除声明外对 `provenance` 零引用。这个形状躲得过眼睛(隔三千行、同名 state 看着完全正常)、语法检查(`provenance` 是合法标识符,只是不在作用域里)和原有用例(只读源码字符串,从不执行组件),所以补的不是「锁一个名字」的用例,而是按组件扫「调了 `setXxx(` 却没有声明」。同版带上 v0.10.0 之后合入的图谱锚定层收尾([#24](https://github.com/slow-stack/mneme/issues/24)):Tag 与向量两路起点接线、被动确认补上复核出口 |
3536
| 2026-11-02 | **v0.10.0** | **记忆开始按「哪一轮」算账,而不只是「哪一段」** — 这一版补的都是同一件事:给已经发生的事补上它自己的身份。① **蒸馏有了运行身份**([#512](https://github.com/slow-stack/mneme/issues/512)):此前归因只到「会话区间」——那是**输入**的坐标,不是**运行**的身份,于是「这段原文被重蒸过几次、哪一轮失败了」库里一个字都没存。现在窗口级记 `distill_runs`(含 `ok`/`degraded`/`noop`/`failed`/`aborted` 与 `audit_id`),行级另开 `memory_mints` 记「这条记忆出生自哪一轮巩固」;历史行一律留空**不猜**,模型流失败与解析失败也真记一行。② **溯源补上反方向**([#524](https://github.com/slow-stack/mneme/issues/524)):`GET /memory/provenance?sessionId=<sid>` 让「这个会话蒸出了哪几个窗口」可直接查,此前只能从一条记忆往回找;两个主键互斥,`limit` 越界直接 400 而不静默截断,撞上限带 `truncated: true`。③ **闸门落到单个会话**([#539](https://github.com/slow-stack/mneme/issues/539)):`sessionGateEnabled` 让指定会话与子代理「不进不出」(不注入、不蒸馏,`memory_*` 与 `set_scope_state` 调用一律被拒),其余会话照常——此前能关的只有全局,关插件会连带打死别的会话。子代理判据只认宿主自己的委派标记,`parentSession` **不是**判据:本机 641 个真实会话头逐条核过,用它会把 3 个 fork 出来的主会话判成子代理。④ **防谄媚补到写入面**([#530](https://github.com/slow-stack/mneme/issues/530)):蒸馏与总览的提示词此前对谄媚一字未提,而这两处写出的内容完全不过写入准入——现在补上「立场纪律」四条(不记对用户性格能力的评价、助手推断不写成事实、冲突如实记录、`importance` 只看事实对后续工作的影响面而不因用户满意或情绪抬高)与「叙述纪律」,且排在与时间换算的指令之前。另修 `differentiate` 的正反馈闭环(同一段注记追加到两侧正文 → 向量靠拢 → 下一轮再判重复,实测单条堆 19 段、正文膨胀到 2200+ 字,现在只落账本不改正文,#533)、sleep 冲突相位的输入侧预算与续排(单请求曾打满 163,054 / 163,840 token,分批后隔夜才轮到,现在一轮跑完接着追,#529)、面板「最近巩固」不再把一次整理的回执冒充巩固([#495](https://github.com/slow-stack/mneme/issues/495)),以及面板在 320–519px 上原本根本没有断点([#542](https://github.com/slow-stack/mneme/issues/542))。 |
3637
| 2026-10-30 | **v0.9.5** | **记忆能安全地递出去,也能整包收回来** — 「分享记忆」从一个文件变成有协议的动作([#386](https://github.com/slow-stack/mneme/issues/386)):包只含活跃行,scope 与 home 前缀不进包,命中密钥 / PII 的行整条不进;出包先给报告再给文件,超水位回 413、按类型或标签分批;收包一条不合格整包拒、干跑为默认、按 `share_external_id` 幂等,`undo-share` 整包物删,所以收回后还能再导。来源也第一次可查:`GET /memory/provenance`([#421](https://github.com/slow-stack/mneme/issues/421),@z2Ace0107 实现),409 与 503 分开答「用户关了」与「装配坏了」。另修同标题重复入库(#505)、扫描谎报「没东西可扫」(#515)与未围栏的巩固 prompt(#501)。 |
@@ -273,7 +274,7 @@ dsh-mneme-serve # 默认 ~/.dsh/memory + 127.0.0.1:8790
273274

274275
```bash
275276
cd dsh-mneme && npm install
276-
npm test # 2698 个测试
277+
npm test # 2808 个测试
277278
npm run stress # 三轴线压测
278279
npm run sync # src → lib 同步
279280
```
@@ -314,6 +315,7 @@ dsh-mneme 的机制设计与下列公开研究相互印证(以下引用均逐
314315

315316
| Date | Version | Headline |
316317
|------|---------|----------|
318+
| 2026-11-05 | **v0.11.0** | **Memory learns to read a repository** — this release pushes the repository chorography subsystem from zero to something you can browse and query: it reads a JS/TS repo's file tree and import graph, partitions it into modules, and writes Markdown chorography pages under `<repo>/.chorography/` (the T0 skeleton uses no model and no network, `plan.yaml` is the positive control, and the `CHORO:HUMAN` preserved region survives regeneration byte for byte). A T1 pass then runs one headless session per module to add the four semantic sections — architecture, conventions, stack, build — plus verifiable claims, spending the host's existing model quota rather than asking for another vendor key. Three consumer faces land at once: a second panel seat, three read-only tools, and `/choro/*` read routes, together with a small title-level outline injected each turn and a read-only `/choro` command that **reports staleness and never re-runs by itself**. `chorographyEnabled` is off by default, and wiki rows stay physically separate from memory rows — they never enter any consolidation or quality-filter pool. Also fixes [#573](https://github.com/slow-stack/mneme/issues/573): in the wide sidebar the memory entry landed below the "More" row and was covered when the menu opened. |
317319
| 2026-11-03 | **v0.10.1** | **Opening a memory no longer takes the whole host down** — in 0.10.0, opening the detail drawer of any memory in the sidebar made the renderer throw `ReferenceError: provenance is not defined` immediately, restarting the whole host and cutting off the session in progress, reproducible 100% of the time ([#553](https://github.com/slow-stack/mneme/issues/553)). The cause was two components thousands of lines apart: `MemoryDrawer`'s provenance effect and render block read `provenance` / `setProvenance`, while that `useState` had landed in the **previous** component in the same file, `EntityPanel` — where it was pure dead code, with zero references to `provenance` anywhere else in the function body. That shape slips past the eye (thousands of lines apart, and a same-named state looks perfectly normal), past syntax checks (`provenance` is a valid identifier, just not in scope) and past the existing tests (which read source strings and never run a component), so the regression test does not pin a name — it scans every component for "calls `setXxx(` without declaring it". This release also carries the graph anchoring follow-up merged after 0.10.0 ([#24](https://github.com/slow-stack/mneme/issues/24)): the Tag and vector seed paths are wired up, and passive confirmation gained a review surface |
318320
| 2026-11-02 | **v0.10.0** | **Memory now keeps accounts per run, not only per span** — everything in this release adds one missing thing: an identity for what already happened. ① **Distillation gets a run identity** ([#512](https://github.com/slow-stack/mneme/issues/512)): provenance only reached "which session span", a coordinate of the **input**, never of the **run** — so "how many times was this text re-distilled, and which rounds failed" was nowhere in the store. Window level now records `distill_runs` (`ok` / `degraded` / `noop` / `failed` / `aborted`, plus `audit_id`), row level gets its own `memory_mints` table for "which consolidation run minted this memory"; historical rows stay NULL rather than guessed, and failed rounds are recorded too. ② **Provenance gains the other direction** ([#524](https://github.com/slow-stack/mneme/issues/524)): `GET /memory/provenance?sessionId=<sid>` answers "which windows did this session produce", where before you could only walk back from one memory. The two keys are mutually exclusive, an out-of-range `limit` is a 400 rather than a silent truncation, and hitting the cap sets `truncated: true`. ③ **The gate reaches individual sessions** ([#539](https://github.com/slow-stack/mneme/issues/539)): `sessionGateEnabled` makes chosen sessions and subagents receive nothing and record nothing — no injection, no distillation, and any `memory_*` or `set_scope_state` call is refused — while every other session carries on; previously the only switch was global, and turning the plugin off took other sessions down with it. Subagent detection uses only the host's own delegation markers, never `parentSession`: verified against 641 real session headers on one machine, where it misclassified 3 forked main sessions. ④ **Anti-sycophancy reaches the write side** ([#530](https://github.com/slow-stack/mneme/issues/530)): the distillation and overview prompts said nothing about flattery, and what they write never passes write admission — now they carry a stance discipline (no judging the user's character or ability, assistant inference is not written as fact, conflicts recorded rather than adjudicated, and `importance` driven only by how much a fact affects later work — never raised by user satisfaction or mood) and a narration discipline, placed ahead of the timestamp-conversion instruction. Also fixed: the `differentiate` positive-feedback loop (the same note appended to both sides → vectors converge → judged duplicate again; one row carried 19 notes and grew from 150 to 2200+ characters — the note now lives in a ledger, not in the text, #533), the sleep conflict phase's missing input budget and catch-up (one request filled 163,054 of 163,840 tokens and the rest waited overnight; a clean round now continues immediately, #529), the panel's "last consolidation" card no longer passing an organize receipt off as consolidation ([#495](https://github.com/slow-stack/mneme/issues/495)), and the panel gaining its first breakpoints for 320–519px ([#542](https://github.com/slow-stack/mneme/issues/542)). |
319321
| 2026-10-30 | **v0.9.5** | **Memory can be handed over safely — and taken back** — sharing memory stops being a file and becomes a protocolled action ([#386](https://github.com/slow-stack/mneme/issues/386)): the pack carries active rows only, with no scopes, no home prefixes and no secret/PII rows; shipping returns a report before the file, answers 413 over the watermark and batches by type or tag; receiving rejects the whole pack on one bad row, dry-runs by default, stays idempotent on `share_external_id`, and `undo-share` deletes outright, so a withdrawn pack can be re-imported. Provenance becomes readable too: `GET /memory/provenance` ([#421](https://github.com/slow-stack/mneme/issues/421), by @z2Ace0107), where 409 and 503 answer "the user switched it off" and "the wiring is missing" apart. Plus #505, #515 and the unfenced consolidation prompts (#501). |
@@ -556,7 +558,7 @@ Community projects that wire mneme into more platforms — not part of this repo
556558

557559
```bash
558560
cd dsh-mneme && npm install
559-
npm test # 2698 tests
561+
npm test # 2808 tests
560562
npm run stress # three-axis stress test
561563
npm run sync # src → lib sync
562564
```

‎SECURITY.md‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ We actively maintain the latest minor version. Security fixes are backported to
1010

1111
| Version | Supported | Status |
1212
|---|---|---|
13-
| 0.10.x | ✅ Yes | Active development |
14-
| 0.9.x | ⚠️ Best-effort | Critical fixes only |
15-
| < 0.9.0 | ❌ No | Please upgrade to 0.10.x |
13+
| 0.11.x | ✅ Yes | Active development |
14+
| 0.10.x | ⚠️ Best-effort | Critical fixes only |
15+
| < 0.10.0 | ❌ No | Please upgrade to 0.11.x |
1616

17-
**End-of-life notice**: 0.9.x is in best-effort maintenance (critical fixes only). Its end-of-life date will be announced in advance; after that date no security fixes will be provided for 0.9.x. Security support for 0.8.x and below is no longer provided — please upgrade to 0.10.x.
17+
**End-of-life notice**: 0.10.x is in best-effort maintenance (critical fixes only). Its end-of-life date will be announced in advance; after that date no security fixes will be provided for 0.10.x. Security support for 0.9.x and below has ended — please upgrade to 0.11.x.
1818

1919
---
2020

@@ -86,7 +86,7 @@ The plugin can optionally start its own HTTP server (`externalApiEnabled`, defau
8686
**Out of scope** — we will not act on:
8787
- Social engineering or phishing against maintainers or users
8888
- DoS claims that require unrealistic local resource exhaustion with no product defect
89-
- Vulnerabilities present only in unsupported versions (`< 0.9.0`)
89+
- Vulnerabilities present only in unsupported versions (`< 0.10.0`)
9090
- Best-practice hardening suggestions with no demonstrable security impact
9191

9292
Not sure whether your finding is in scope? Report it anyway via the private channel — we will triage and respond.
@@ -396,11 +396,11 @@ This project is licensed under the **MIT License**. See [LICENSE](https://github
396396

397397
| 版本 | 支持状态 | 说明 |
398398
|---|---|---|
399-
| 0.10.x | ✅ 支持 | 活跃开发中 |
400-
| 0.9.x | ⚠️ 尽力维护 | 仅关键修复 |
401-
| < 0.9.0 | ❌ 不支持 | 请升级至 0.10.x |
399+
| 0.11.x | ✅ 支持 | 活跃开发中 |
400+
| 0.10.x | ⚠️ 尽力维护 | 仅关键修复 |
401+
| < 0.10.0 | ❌ 不支持 | 请升级至 0.11.x |
402402

403-
**停止维护通知**:0.9.x 处于尽力维护阶段(仅关键修复)。停止维护的具体日期将提前公布;该日期之后将不再提供 0.9.x 的安全修复。0.8.x 及更早版本的安全支持已终止——请升级至 0.10.x。
403+
**停止维护通知**:0.10.x 处于尽力维护阶段(仅关键修复)。停止维护的具体日期将提前公布;该日期之后将不再提供 0.10.x 的安全修复。0.9.x 及更早版本的安全支持已终止——请升级至 0.11.x。
404404

405405
---
406406

@@ -472,7 +472,7 @@ This project is licensed under the **MIT License**. See [LICENSE](https://github
472472
**不受理范围**——以下问题我们不予处理:
473473
- 针对维护者或用户的社工 / 钓鱼类问题
474474
- 仅通过不现实的本地资源耗尽触发、且无产品缺陷支撑的 DoS 声明
475-
- 仅存在于不支持版本(`< 0.9.0`)的问题
475+
- 仅存在于不支持版本(`< 0.10.0`)的问题
476476
- 无可证明安全影响的"最佳实践建议"类问题
477477

478478
不确定你的发现是否在受理范围内?仍请通过私有渠道提交——我们会评估并回复。

0 commit comments

Comments
 (0)