Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/idle-review-composition.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/openviking-verified-content.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/runtime-exact-entry-mutations.md

This file was deleted.

25 changes: 25 additions & 0 deletions .github/release-notes/v0.5.10.md
Original file line number Diff line number Diff line change
@@ -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).
1 change: 1 addition & 0 deletions docs/en/releases/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
44 changes: 44 additions & 0 deletions docs/en/releases/v0.5.10.md
Original file line number Diff line number Diff line change
@@ -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).
1 change: 1 addition & 0 deletions docs/zh-CN/releases/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
44 changes: 44 additions & 0 deletions docs/zh-CN/releases/v0.5.10.md
Original file line number Diff line number Diff line change
@@ -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)。
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions plugins/dsh-mnemon-provider-openviking/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion plugins/dsh-mnemon-provider-openviking/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions plugins/dsh-mnemon-source-memory-spaces/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions plugins/dsh-mnemon-source-runtime/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions scripts/fixtures/plugin-consumer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down