Skip to content

Releases

v0.4.2

Choose a tag to compare

@theBeautifulIce theBeautifulIce released this 06 Nov 08:28

Fixed

  • Audit candidate approval/rejection no longer depends on window.prompt. In DSH desktop/webview builds where prompt is unavailable, the button previously did nothing; an empty optional audit note is now submitted directly.

Full changelog: https://github.com/theBeautifulIce/dsh-Immunity-memory/blob/main/CHANGELOG.md

v0.4.1

Choose a tag to compare

@theBeautifulIce theBeautifulIce released this 06 Nov 06:42

0.4.1

  • 变更卡片改用操作徽章内的小圆点标识类型,去掉左侧粗色条。
  • 重写自动记忆职责边界文案:插件只负责触发、排队与去重,事实/层级/TTL 由智能体判断;审计仍只覆盖 memory_write / memory_update 两个显式入口。
  • 同步包内 README 的 11 个工具、capture.js 与写入生命周期 Hook 说明。

完整变更见 CHANGELOG。

v0.4.0 — Automatic memory capture

Choose a tag to compare

@theBeautifulIce theBeautifulIce released this 06 Nov 06:27

v0.4.0 — Automatic memory capture

  • New memory_capture tool for facts and notebook entries chosen by the agent.
  • Immediate triggers: user correction, remember requests, satisfaction/dissatisfaction, and assistant self-correction.
  • Hourly and daily review reminders; the plugin queues signals, the agent decides what to write.
  • Notebook dedupe by NFKC normalization plus exact/Jaccard matching within the same notebook.
  • autoCapture.* settings, capture status in diagnostics and the maintenance panel.
  • capture.stats and capture.tick APIs.

v0.3.1 — Registerable write hooks

Choose a tag to compare

@theBeautifulIce theBeautifulIce released this 06 Nov 06:04

0.3.1

  • Expose write hooks through the Cordis service memoryWriteHooks.
  • Bootstrap now reports the service name alongside registered hooks.
  • Document that hooks intercept/rewrite writes but do not generate memory automatically.
  • README badges and CHANGELOG updated for 0.3.1.

v0.3.0 — Memory quality & observability

Choose a tag to compare

@theBeautifulIce theBeautifulIce released this 06 Nov 05:42

Memory-quality and observability release.

Highlights

  • Conflict resolution — conflicts.resolve can keep one side or merge title/content/tags into the winner. The loser is archived with supersededBy / validTo; cross-project and cross-layer pairs are rejected. The editor exposes “keep this entry” and “merge body”.
  • Forgetting curve — retrieval score decays exponentially from lastAccessAt with configurable half-life and floor. Importance is never silently rewritten.
  • Project spaces — entries carry an optional normalized workspace. Writes default to the current session cwd; searches see the current project plus global entries; workspace: "*" searches everything.
  • Diagnostics — health score, issue breakdown, maintenance history, slow queries, and injection hit rate via the diagnostics API and maintenance panel.
  • Write lifecycle hooks — register before/after handlers for create, update, import, and conflict resolution. Before hooks can rewrite or block; failures fail open. hooks.list and bootstrap expose the registry.

Fixed

  • maintenance.slowQueryMs = 0 now logs every search instead of clamping to 1 ms.
  • Same-key writes still renew TTL.
  • Conflict resolution no longer merges unrelated workspaces/layers.

Full self-check: 34 syntax modules; engine 57, audit 12, tools 14, search 10, sqlite 13, native 6, go-service 12, engine-go 8, api 23, render 21 — all passing.

Install

Download dsh-memory-plugin-0.3.0.zip, unpack it, then point plugin_manager action=install_bundle target=<path>/dsh-memory-plugin at the unpacked folder.

v0.2.0 — Write audit hook & token accounting

Choose a tag to compare

@theBeautifulIce theBeautifulIce released this 06 Nov 05:15

dsh-Immunity-memory 0.2.0

本版新增写入审计 Hook、待确认候选队列与审计 token 账本。

This release adds a write-audit gate for memory mutations, a reviewable candidate queue, and per-run audit token accounting, together with entity keys, provenance, and supersedes.

Highlights

  • Write-audit hook (hook.*, default off): every memory_write / memory_update is reviewed by a tool-less isolated subagent against the user's turn, with enforce vs shadow mode, a confidence threshold, and fail-open behavior on timeout, missing services, or audit-storage errors.
  • Candidate queue: low-confidence and needs_user decisions wait in the audit tab. Approving a pending candidate applies the exact reviewed payload; rejecting it leaves the existing memory untouched.
  • Token accounting: input, output, cache-read, cache-write, and total tokens are recorded per run and aggregated on the audit page, including the session-persistence fallback for real subagent activations.
  • Entity keys, provenance, and supersedes: same-key writes update in place, quote keeps the user's exact wording, turn records where it came from, and supersedes archives older versions without injecting them again.
  • Hardened approval path: concurrent decisions are serialized, a crash-recovered candidate is adopted instead of duplicated, long candidate content survives approval intact, and rejecting an update candidate no longer archives the untouched target.

Upgrade notes

  • Existing SQLite databases migrate automatically; no manual step is required.
  • The hook stays disabled by default. Enable it in Settings → Write audit, then choose enforce or shadow mode.
  • ttlDays is still mandatory for every mutable write and update; this release does not weaken the hard TTL rule.
  • The technical plugin id is still dsh-memory-plugin; existing installs and tool names are unchanged.

Verification

v0.1.0 — First public release

Choose a tag to compare

@theBeautifulIce theBeautifulIce released this 06 Nov 01:58

dsh-Immunity-memory 0.1.0

First public release of the local-first long-term memory plugin for DeepSeek Harness.

Highlights

  • Eight-layer memory (L0-L7), four notebooks, 10 agent tools.
  • Hybrid retrieval: SQLite FTS5 + 384-d vector cosine + graph BFS.
  • Go memory service with audit, backup, and integrity checks.
  • Optional Rust native core for batch cosine / importance / dedupe.
  • Template-based immutable L0/L1/L3 layers; L2/L4-L7 stay shared.
  • Hard TTL for mutable memories, consolidation audit, prompt-injection token stats.
  • Git-style red/green change diff and a full sidebar UI (Chinese/English).
  • Full self-check: engine, tools, search, SQLite, native, Go service, API, and render tests.

Install

Clone the repository, run
ode scripts/check.mjs, then ask DSH to install packages/memory-plugin. Windows x64 binaries are included. See the README for Linux/macOS build steps.

Full Changelog: https://github.com/theBeautifulIce/dsh-Immunity-memory/blob/main/CHANGELOG.md