From cef8592314cd9b54bd14704aff06ad43fbd93511 Mon Sep 17 00:00:00 2001 From: Grivn Date: Wed, 16 Sep 2026 15:30:17 +0800 Subject: [PATCH] chore(release): publish v0.5.10 --- .changeset/idle-review-composition.md | 5 --- .changeset/openviking-verified-content.md | 7 --- .changeset/runtime-exact-entry-mutations.md | 6 --- .github/release-notes/v0.5.10.md | 25 +++++++++++ docs/en/releases/README.md | 1 + docs/en/releases/v0.5.10.md | 44 +++++++++++++++++++ docs/zh-CN/releases/README.md | 1 + docs/zh-CN/releases/v0.5.10.md | 44 +++++++++++++++++++ package.json | 8 ++-- .../package.json | 4 +- .../src/index.ts | 2 +- .../package.json | 6 +-- .../dsh-mnemon-source-runtime/package.json | 4 +- pnpm-lock.yaml | 14 +++--- scripts/fixtures/plugin-consumer/package.json | 6 +-- 15 files changed, 137 insertions(+), 40 deletions(-) delete mode 100644 .changeset/idle-review-composition.md delete mode 100644 .changeset/openviking-verified-content.md delete mode 100644 .changeset/runtime-exact-entry-mutations.md create mode 100644 .github/release-notes/v0.5.10.md create mode 100644 docs/en/releases/v0.5.10.md create mode 100644 docs/zh-CN/releases/v0.5.10.md diff --git a/.changeset/idle-review-composition.md b/.changeset/idle-review-composition.md deleted file mode 100644 index f23474ab..00000000 --- a/.changeset/idle-review-composition.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"dsh-mnemon": patch ---- - -Bound idle-review frequency and context, allow independent review configuration and safe pre-start provider fallback, and pause automatic review with incompatible Agent Teams tools. Preserve committed receipt metadata after a failed review without replaying writes or presenting an incomplete run as successful. diff --git a/.changeset/openviking-verified-content.md b/.changeset/openviking-verified-content.md deleted file mode 100644 index 05458dbb..00000000 --- a/.changeset/openviking-verified-content.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"dsh-mnemon-provider-openviking": patch -"dsh-mnemon-source-memory-spaces": patch -"dsh-mnemon": patch ---- - -Store OpenViking memories through unique content API creates, verify indexing and exact readback, and return scoped file IDs for Host archive compensation. Resolve legacy user roots without migrating settings, reject unsafe paths and incomplete receipts, and synchronize capability descriptions. diff --git a/.changeset/runtime-exact-entry-mutations.md b/.changeset/runtime-exact-entry-mutations.md deleted file mode 100644 index b41c9bba..00000000 --- a/.changeset/runtime-exact-entry-mutations.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"dsh-mnemon": patch -"dsh-mnemon-source-runtime": patch ---- - -Prefer a unique full-content match for Runtime replace and remove before falling back to a unique substring. This lets short entries such as X be edited or removed alongside EGO_LINUX_CHROME, while duplicate exact matches remain rejected. Clarify the matching contract in the Runtime Source action and Host tool descriptions. diff --git a/.github/release-notes/v0.5.10.md b/.github/release-notes/v0.5.10.md new file mode 100644 index 00000000..becded53 --- /dev/null +++ b/.github/release-notes/v0.5.10.md @@ -0,0 +1,25 @@ +## v0.5.10 · Exact Memory Writes and Bounded Automatic Review + +- [#256](https://github.com/omdsh-dev/dsh-mnemon/pull/256): prefer a unique exact Runtime entry for replace/remove before substring matching. Short entries such as `X` can be changed alongside `EGO_LINUX_CHROME`. +- [#234](https://github.com/omdsh-dev/dsh-mnemon/pull/234): create the original OpenViking content, verify indexing and exact readback, and return scoped file receipts for archive compensation. Original contributor commits remain in the merged history. +- [#257](https://github.com/omdsh-dev/dsh-mnemon/pull/257): add an independent automatic-review switch, cadence and attempt limits, bounded default spawn context, and committed-write receipts after failure. Pause automatic review before child creation with the incompatible Agent Teams composition. + +### Packages and upgrade + +New publications: **dsh-mnemon 0.5.10**, **OpenViking Provider 0.5.5**, **Memory Spaces Source 0.5.8**, and **Runtime Source 0.5.7**. The remaining thirteen plugins keep their existing versions. + +```sh +dsh plugin --profile web add dsh-mnemon@0.5.10 +``` + +Restart DSH and reload the browser; use `headless` for that Profile. The review budget resets when the parent Agent unloads or the Host restarts. The Agent Teams guard pauses automatic review; upstream Team policy and manual delegation are not repaired. + +### 中文说明 + +本版修复 Runtime 短条目编辑与删除、OpenViking 原文写入和回执验证,并限制自动审阅的频率、次数和默认上下文。自动审阅增加独立开关;遇到不兼容的 Agent Teams 组合时,在创建子 Agent 前暂停。审阅失败后保留已提交写入的回执,方便核对。 + +主包发布 0.5.10,OpenViking Provider 发布 0.5.5,Memory Spaces Source 发布 0.5.8,Runtime Source 发布 0.5.7。升级后重启 DSH。审阅预算随父 Agent 卸载或 Host 重启而重置;Team 兼容处理不代表上游策略或手动委派已修复。 + +The combined implementation passed 1,162 root tests plus plugin suites, real CLI/WebUI checks, real OpenViking storage checks and independent plugin composition. Before/after screenshots remain in the linked reports. Model responses and embeddings were deterministic local fixtures. The release workflow verifies versioned artifacts, Registry composition and a real upgrade before creating this Release. + +See the [English release notes](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.10/docs/en/releases/v0.5.10.md) and [中文发布说明](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.10/docs/zh-CN/releases/v0.5.10.md). diff --git a/docs/en/releases/README.md b/docs/en/releases/README.md index d48faa05..909dc239 100644 --- a/docs/en/releases/README.md +++ b/docs/en/releases/README.md @@ -6,6 +6,7 @@ For an existing installation, start with [Compatibility and upgrades](../referen ## v0.5 +- [v0.5.10: Exact Memory Writes and Bounded Automatic Review](./v0.5.10.md) - [v0.5.9: Runtime Archive Destinations and Legacy Session Recovery](./v0.5.9.md) - [v0.5.8: Runtime Archive Safety and Review Reliability](./v0.5.8.md) - [v0.5.7: DSH 0.1.5 Compatibility and Document Archival](./v0.5.7.md) diff --git a/docs/en/releases/v0.5.10.md b/docs/en/releases/v0.5.10.md new file mode 100644 index 00000000..160c5682 --- /dev/null +++ b/docs/en/releases/v0.5.10.md @@ -0,0 +1,44 @@ +# v0.5.10: Exact Memory Writes and Bounded Automatic Review + +[简体中文](../../zh-CN/releases/v0.5.10.md) | **English** + +v0.5.10 includes Runtime matching in [#256](https://github.com/omdsh-dev/dsh-mnemon/pull/256), verified OpenViking writes in [#234](https://github.com/omdsh-dev/dsh-mnemon/pull/234), and automatic-review limits and Agent Teams compatibility in [#257](https://github.com/omdsh-dev/dsh-mnemon/pull/257). + +## Runtime and OpenViking writes + +Runtime replace and remove prefer a unique exact content match before trying a unique substring. An entry containing only `X` can therefore be edited or removed alongside `EGO_LINUX_CHROME`. Duplicate exact matches still require disambiguation, and refusal leaves existing data intact. + +OpenViking creates a unique file containing the original text, verifies indexing and exact content readback, then returns the scoped file identity used by Host receipts and archive compensation. It no longer treats an extraction response as proof that the requested text was stored. Search and browse return full content. Account isolation, legacy owner-root resolution and deletion scope are validated; incomplete or uncertain writes return an error with the candidate URI. The original contributor's commit is preserved in the merged history. Servers lacking the required content write/read contract fail explicitly; no settings or stored content are migrated. + +## Automatic review + +Automatic review has an independent switch, a default five-minute minimum interval and a limit of 20 attempts per loaded parent Agent. The default spawn path bounds its context; fork remains explicit, with fallback or skip available before child startup. The per-response token limit is not a total usage cap. Attempt budgets reset when the Agent unloads or the Host restarts; existing session history is retained. + +With the affected published Agent Teams service and tools enabled together, automatic review pauses before creating a child and explains the incompatible composition. This contains the automatic-review failure; it does not repair upstream Team policy or manual delegation. A failed review can expose receipts for writes it already committed so users can reconcile them without replaying the run. + +## Packages and upgrade + +| Package | Version | +| --- | --- | +| `dsh-mnemon` | **0.5.10** | +| `dsh-mnemon-provider-openviking` | **0.5.5** | +| `dsh-mnemon-source-memory-spaces` | **0.5.8** | +| `dsh-mnemon-source-runtime` | **0.5.7** | + +The Starter pins the complete sixteen-plugin composition. The other thirteen plugins retain their versions. Mnemon CLI remains independently maintained. + +```sh +dsh plugin --profile web add dsh-mnemon@0.5.10 +``` + +Restart DSH and reload the browser. Substitute `headless` for that Profile. The full DSH profile requires Node `^22.19.0 || >=24.0.0`. + +## Verification + +The combined implementation passed 1,162 root tests with five opt-in skips, plugin suites, actual Mnemon 0.2.8 CLI checks, Headless activation/restart, deterministic builds and public package checks. Sixteen independent plugins and seventeen artifacts passed installation and composition verification, including all three optional Strategy extensions together. Real OpenViking 0.4.20 passed create/read/search/delete checks; the published DSH 0.1.5-rc.2 and Agent Teams 0.1.5-alpha.2 matrix verified the compatibility pause. + +Real WebUI before/after screenshots and exact tested revisions are retained in the [Runtime report](../../pr-assets/issue-217-exact-runtime-match/README.md), [OpenViking report](../../pr-assets/issue-233-openviking-20260916/README.md) and [automatic-review report](../../pr-assets/idle-review-agent-team/README.md). Model replies and embeddings use deterministic local fixtures; these checks do not measure live model judgment or semantic recall quality. + +The release workflow verifies the versioned workspace and independent artifacts, publishes the three changed plugins before the Starter, checks the complete Registry composition and a real upgrade from v0.4.7, then creates the GitHub Release. + +Previous release: [v0.5.9](./v0.5.9.md). diff --git a/docs/zh-CN/releases/README.md b/docs/zh-CN/releases/README.md index 303dd11b..bb19d653 100644 --- a/docs/zh-CN/releases/README.md +++ b/docs/zh-CN/releases/README.md @@ -6,6 +6,7 @@ ## v0.5 +- [v0.5.10:精确记忆写入与自动审阅限制](./v0.5.10.md) - [v0.5.9:运行时归档目标与旧会话恢复](./v0.5.9.md) - [v0.5.8:运行时归档安全与审查可靠性](./v0.5.8.md) - [v0.5.7:DSH 0.1.5 兼容与文档归档](./v0.5.7.md) diff --git a/docs/zh-CN/releases/v0.5.10.md b/docs/zh-CN/releases/v0.5.10.md new file mode 100644 index 00000000..015a0e89 --- /dev/null +++ b/docs/zh-CN/releases/v0.5.10.md @@ -0,0 +1,44 @@ +# v0.5.10:精确记忆写入与自动审阅限制 + +**简体中文** | [English](../../en/releases/v0.5.10.md) + +v0.5.10 包含 [#256](https://github.com/omdsh-dev/dsh-mnemon/pull/256) 的 Runtime 匹配修复、[#234](https://github.com/omdsh-dev/dsh-mnemon/pull/234) 的 OpenViking 写入验证,以及 [#257](https://github.com/omdsh-dev/dsh-mnemon/pull/257) 的自动审阅限制与 Agent Teams 兼容处理。 + +## Runtime 与 OpenViking 写入 + +Runtime 替换和删除优先匹配唯一的完整内容,再尝试唯一的子串匹配。因此,仅含 `X` 的条目可以与 `EGO_LINUX_CHROME` 共存并正常编辑或删除。重复的完整匹配仍要求消除歧义,拒绝操作时保留已有数据。 + +OpenViking 将原文写入唯一的新文件,验证索引状态和内容逐字回读后,再返回用于 Host 回执与归档补偿的作用域内文件身份,不再把提取响应当作原文已存储的证明。搜索和浏览返回完整内容。账户隔离、旧 owner-root 解析和删除范围均经过验证;未完成或结果不确定的写入会返回包含候选 URI 的错误。合并历史保留原贡献者的提交。缺少所需内容写入与读取契约的服务器会明确报错,不迁移设置或既有内容。 + +## 自动审阅 + +自动审阅具有独立开关,默认最小间隔为五分钟,每个已加载的父 Agent 最多尝试 20 次。默认 spawn 路径限制上下文大小;fork 需要显式选择,可在子 Agent 启动前回退或跳过。单次模型响应的 token 上限不等于整个任务的用量上限。Agent 卸载或 Host 重启后,尝试预算重新计算;既有会话历史保留。 + +同时启用受影响的已发布 Agent Teams 服务和工具时,自动审阅会在创建子 Agent 前暂停,并说明组合不兼容的原因。这一处理避免自动审阅触发故障,并未修复上游 Team 策略或手动委派。失败的审阅可以展示已经提交的写入回执,便于核对,不会重放整个任务。 + +## 发布包与升级 + +| 包 | 版本 | +| --- | --- | +| `dsh-mnemon` | **0.5.10** | +| `dsh-mnemon-provider-openviking` | **0.5.5** | +| `dsh-mnemon-source-memory-spaces` | **0.5.8** | +| `dsh-mnemon-source-runtime` | **0.5.7** | + +Starter 精确固定完整的十六插件组合,其余十三个插件保持原版本。Mnemon CLI 继续独立维护。 + +```sh +dsh plugin --profile web add dsh-mnemon@0.5.10 +``` + +重启 DSH 并刷新浏览器;Headless Profile 将命令中的 `web` 替换为 `headless`。完整 DSH Profile 需要 Node `^22.19.0 || >=24.0.0`。 + +## 验证 + +整合实现通过 1,162 项根包测试,5 项 opt-in 跳过,并通过插件测试、真实 Mnemon 0.2.8 CLI、Headless 激活与重启、确定性构建和公共包检查。十六个独立插件、十七个制品通过安装与组合验证,包含同时启用三个可选 Strategy 扩展。真实 OpenViking 0.4.20 通过创建、读取、搜索和删除检查;已发布 DSH 0.1.5-rc.2 与 Agent Teams 0.1.5-alpha.2 的组合矩阵验证了兼容性暂停。 + +真实 WebUI 前后对比截图和实际验证的版本保留在 [Runtime 报告](../../pr-assets/issue-217-exact-runtime-match/README.zh-CN.md)、[OpenViking 报告](../../pr-assets/issue-233-openviking-20260916/README.zh-CN.md)及[自动审阅报告](../../pr-assets/idle-review-agent-team/README.zh-CN.md)。模型回复和 embedding 使用确定性本地夹具,不代表真实模型判断或语义召回质量。 + +发布流程验证版本化工作区与独立制品,先发布三个变化的插件,再发布 Starter;完整 Registry 组合和从 v0.4.7 开始的真实升级检查通过后,才创建 GitHub Release。 + +上一版:[v0.5.9](./v0.5.9.md)。 diff --git a/package.json b/package.json index 731c7bb5..afe9e3b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dsh-mnemon", - "version": "0.5.9", + "version": "0.5.10", "description": "Composable three-tier memory control plane for DeepSeek Harness: persistent runtime context, searchable project documents, pluggable long-term memory, guarded strategies, WebUI, and headless tools.", "keywords": [ "deepseek-harness", @@ -145,12 +145,12 @@ "dsh-mnemon-provider-honcho": "0.5.4", "dsh-mnemon-provider-mem0": "0.5.4", "dsh-mnemon-provider-mnemon-native": "0.5.5", - "dsh-mnemon-provider-openviking": "0.5.4", + "dsh-mnemon-provider-openviking": "0.5.5", "dsh-mnemon-provider-retaindb": "0.5.4", "dsh-mnemon-provider-supermemory": "0.5.4", "dsh-mnemon-source-documents": "0.5.6", - "dsh-mnemon-source-memory-spaces": "0.5.7", - "dsh-mnemon-source-runtime": "0.5.6", + "dsh-mnemon-source-memory-spaces": "0.5.8", + "dsh-mnemon-source-runtime": "0.5.7", "dsh-mnemon-strategy-auto-capture": "0.5.4", "dsh-mnemon-strategy-default-three-tier": "0.5.5", "dsh-mnemon-strategy-light-context": "0.5.4", diff --git a/plugins/dsh-mnemon-provider-openviking/package.json b/plugins/dsh-mnemon-provider-openviking/package.json index 1cc9d079..d64e9801 100644 --- a/plugins/dsh-mnemon-provider-openviking/package.json +++ b/plugins/dsh-mnemon-provider-openviking/package.json @@ -1,6 +1,6 @@ { "name": "dsh-mnemon-provider-openviking", - "version": "0.5.4", + "version": "0.5.5", "description": "OpenViking Provider child for the Memory Spaces Source.", "license": "MIT", "type": "module", @@ -34,7 +34,7 @@ }, "devDependencies": { "@types/node": "^22.0.0", - "dsh-mnemon-source-memory-spaces": "^0.5.4", + "dsh-mnemon-source-memory-spaces": "^0.5.8", "tsdown": "^0.22.0", "typescript": "^5.9.0", "vitest": "^3.2.0" diff --git a/plugins/dsh-mnemon-provider-openviking/src/index.ts b/plugins/dsh-mnemon-provider-openviking/src/index.ts index 2538a14c..571f56ca 100644 --- a/plugins/dsh-mnemon-provider-openviking/src/index.ts +++ b/plugins/dsh-mnemon-provider-openviking/src/index.ts @@ -7,7 +7,7 @@ export { OpenVikingProvider, descriptor } export const definition = defineMemorySpaceProviderDefinition({ manifest: { apiVersion: MEMORY_SPACE_PROVIDER_API_VERSION, kind: 'provider', - typeId: descriptor.id, packageName: 'dsh-mnemon-provider-openviking', version: '0.5.4', + typeId: descriptor.id, packageName: 'dsh-mnemon-provider-openviking', version: '0.5.5', label: descriptor.label, icon: descriptor.icon, summary: descriptor.summary, ...(descriptor.summaryI18nKey === undefined ? {} : { summaryI18nKey: descriptor.summaryI18nKey }), origin: descriptor.origin, locality: descriptor.kind, workspaceBinding: descriptor.workspaceBinding, diff --git a/plugins/dsh-mnemon-source-memory-spaces/package.json b/plugins/dsh-mnemon-source-memory-spaces/package.json index 6d9bff5f..e4300f75 100644 --- a/plugins/dsh-mnemon-source-memory-spaces/package.json +++ b/plugins/dsh-mnemon-source-memory-spaces/package.json @@ -1,6 +1,6 @@ { "name": "dsh-mnemon-source-memory-spaces", - "version": "0.5.7", + "version": "0.5.8", "description": "Memory Spaces Source and its private Provider SDK.", "license": "MIT", "type": "module", @@ -62,14 +62,14 @@ "@types/node": "^22.0.0", "@types/react": "^18.3.0", "@types/react-dom": "^18.3.0", - "dsh-mnemon": "^0.5.9", + "dsh-mnemon": "^0.5.10", "dsh-mnemon-provider-byterover": "^0.5.4", "dsh-mnemon-provider-hindsight": "^0.5.4", "dsh-mnemon-provider-holographic": "^0.5.4", "dsh-mnemon-provider-honcho": "^0.5.4", "dsh-mnemon-provider-mem0": "^0.5.4", "dsh-mnemon-provider-mnemon-native": "^0.5.5", - "dsh-mnemon-provider-openviking": "^0.5.4", + "dsh-mnemon-provider-openviking": "^0.5.5", "dsh-mnemon-provider-retaindb": "^0.5.4", "dsh-mnemon-provider-supermemory": "^0.5.4", "jsdom": "^26.0.0", diff --git a/plugins/dsh-mnemon-source-runtime/package.json b/plugins/dsh-mnemon-source-runtime/package.json index f9ad34da..041c0957 100644 --- a/plugins/dsh-mnemon-source-runtime/package.json +++ b/plugins/dsh-mnemon-source-runtime/package.json @@ -1,6 +1,6 @@ { "name": "dsh-mnemon-source-runtime", - "version": "0.5.6", + "version": "0.5.7", "description": "Self-contained runtime Source for Composable View Memory.", "license": "MIT", "type": "module", @@ -61,7 +61,7 @@ "@types/node": "^22.0.0", "@types/react": "^18.3.0", "@types/react-dom": "^18.3.0", - "dsh-mnemon": "^0.5.7", + "dsh-mnemon": "^0.5.10", "jsdom": "^26.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0924d10a..b1dcda5e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,7 +27,7 @@ importers: specifier: 0.5.5 version: link:plugins/dsh-mnemon-provider-mnemon-native dsh-mnemon-provider-openviking: - specifier: 0.5.4 + specifier: 0.5.5 version: link:plugins/dsh-mnemon-provider-openviking dsh-mnemon-provider-retaindb: specifier: 0.5.4 @@ -39,10 +39,10 @@ importers: specifier: 0.5.6 version: link:plugins/dsh-mnemon-source-documents dsh-mnemon-source-memory-spaces: - specifier: 0.5.7 + specifier: 0.5.8 version: link:plugins/dsh-mnemon-source-memory-spaces dsh-mnemon-source-runtime: - specifier: 0.5.6 + specifier: 0.5.7 version: link:plugins/dsh-mnemon-source-runtime dsh-mnemon-strategy-auto-capture: specifier: 0.5.4 @@ -389,7 +389,7 @@ importers: specifier: ^22.0.0 version: 22.20.1 dsh-mnemon-source-memory-spaces: - specifier: ^0.5.4 + specifier: ^0.5.8 version: link:../dsh-mnemon-source-memory-spaces tsdown: specifier: ^0.22.0 @@ -579,7 +579,7 @@ importers: specifier: ^2.1.1 version: 2.1.1 dsh-mnemon: - specifier: ^0.5.9 + specifier: ^0.5.10 version: link:../.. dsh-mnemon-provider-byterover: specifier: ^0.5.4 @@ -600,7 +600,7 @@ importers: specifier: ^0.5.5 version: link:../dsh-mnemon-provider-mnemon-native dsh-mnemon-provider-openviking: - specifier: ^0.5.4 + specifier: ^0.5.5 version: link:../dsh-mnemon-provider-openviking dsh-mnemon-provider-retaindb: specifier: ^0.5.4 @@ -703,7 +703,7 @@ importers: specifier: ^2.1.1 version: 2.1.1 dsh-mnemon: - specifier: ^0.5.7 + specifier: ^0.5.10 version: link:../.. jsdom: specifier: ^26.0.0 diff --git a/scripts/fixtures/plugin-consumer/package.json b/scripts/fixtures/plugin-consumer/package.json index a0439f68..bfec6ae5 100644 --- a/scripts/fixtures/plugin-consumer/package.json +++ b/scripts/fixtures/plugin-consumer/package.json @@ -18,10 +18,10 @@ "@types/node": "^22.0.0", "@types/react": "^18.3.0", "@types/react-dom": "^18.3.0", - "dsh-mnemon": "0.5.9", + "dsh-mnemon": "0.5.10", "dsh-mnemon-source-documents": "0.5.6", - "dsh-mnemon-source-memory-spaces": "0.5.7", - "dsh-mnemon-source-runtime": "0.5.6", + "dsh-mnemon-source-memory-spaces": "0.5.8", + "dsh-mnemon-source-runtime": "0.5.7", "jsdom": "^26.1.0", "react": "^18.2.0", "react-dom": "^18.2.0",