@kenz1117/dsh-engram 0.13.11 → 0.13.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/README.en.md +7 -4
- package/README.md +9 -6
- package/lib/client.js +1 -1
- package/lib/client.js.map +1 -1
- package/lib/index.js +27 -14
- package/lib/local.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,16 @@
|
|
|
8
8
|
|
|
9
9
|
> **v0.x 阶段的版本约定**:`0.MINOR.PATCH` 里的 `MINOR` 是**功能批次**而不是稳定性刻度——0.7.x 整批是「记忆宫殿信息架构」,0.8.x 整批是「面板重构」,0.9.x 整批是「稳定性与可审计」,0.10.x 整批是「多语言与数据驱动」。同一批次内的 `PATCH` 位通常是修复与加固。
|
|
10
10
|
|
|
11
|
+
## [0.13.12] - 2026-11-16
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **共享 scope 说明落文档(#58)**:README 特性列表与架构段补「共享 scope(shared.db)」定位(手动挑出、准备借出给别人的记忆暂存区,只显式进出),工具表后补 scope 枚举释义;`package.json` description「dual-scope」改「three-scope」。
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **面板与工具口径对齐三库(#58)**:面板 search-test(召回实验台)/ activity(日志)/ health(诊脉默认合并)的 all 从硬编码 ['user','project'] 扩为三库;health 合并时 shared 有内容才计入(空库计入会把没用 shared 的用户健康分无故拖低)。面板与工具文案「两库」表述改「三库」。
|
|
20
|
+
|
|
11
21
|
## [0.13.11] - 2026-11-15
|
|
12
22
|
|
|
13
23
|
### Fixed
|
package/README.en.md
CHANGED
|
@@ -89,7 +89,7 @@ In one line: **we make memory a local library you install once, not a service yo
|
|
|
89
89
|
+--> capture / save --> four dispositions: accept · merge · defer · drop
|
|
90
90
|
agent call+
|
|
91
91
|
|
|
|
92
|
-
SQLite
|
|
92
|
+
SQLite three stores: user.db (follows you) + project-<hash>.db (follows the repo) + shared.db (lending shelf)
|
|
93
93
|
|
|
|
94
94
|
+----------------------+----------------------+----------------------+
|
|
95
95
|
v v v
|
|
@@ -150,7 +150,8 @@ Sensory and emotional dimensions (smell, temperature, emotional weight) are deli
|
|
|
150
150
|
## Features
|
|
151
151
|
|
|
152
152
|
- **Cross-session memory**: a user memory profile is injected at session start (entry cap plus token budget, both configurable; a curated profile maintained via `engram_profile_edit` takes precedence over derived facts), so the agent naturally knows who you are and what you are building; tools recall facts across sessions.
|
|
153
|
-
- **
|
|
153
|
+
- **Three-scope stores**: `user.db` is the private palace, global across projects (unrelated to the shared scope); `project-<hash>.db` isolated per git origin identity (falls back to a working-directory encoding without git; legacy stores migrate automatically) — personal preferences follow the person, project conventions follow the repo.
|
|
154
|
+
- **Shared scope (`shared.db`)**: a staging area for memories you hand-pick to lend out — by design "explicit in, explicit out": automatic capture only routes project/user (the preference-follows-person / convention-follows-repo dichotomy has no slot for shared), and profile injection and review scheduling never touch it; explicit channels only: `engram_save` / `engram_import` to write, `engram_search scope=shared` to retrieve, and `engram_mirror` export appends the `share-manifest.json` loan manifest (`firstLentAt` / `lastAccessedAt` / `accessCount`) recording responsibility and access traces of what went public.
|
|
154
155
|
- **Hybrid retrieval**: FTS5 (unicode61 + Chinese 2-gram pre-tokenization) fused with local vectors (by default `Xenova/paraphrase-multilingual-MiniLM-L12-v2`, 384-dim, q8; model and pooling are configurable — see below) via RRF, plus one-hop expansion over relation edges and a multiplicative recency/proof ranking boost; the embedding model runs offline, and a failed download degrades to keyword-only retrieval with an explicit marker.
|
|
155
156
|
- **Memory-palace information architecture** (v0.7.2+): all four principles live on the core path, not in display-layer paint — **location as index** (writes sort by kind into rooms and pin a `room#slot` coordinate; room capacity 9, overflow opens a new room, slots are never recycled); **fixed route as order** (`tour_routes` is append-only; `engram_tour mode=fixed` walks the whole palace in slot order); **skeleton reused long-term** (a topic always lands in the same room and the same index, so recall is sequential extraction rather than fresh search); **every marker unique** (placard rule scored 0-1: globally unique +0.4 / date anchor +0.3 / no 6-char prefix clash within the room +0.3; low scores enter the refurb list; a palace with fewer than 8 active memories is left unscanned to avoid small-store noise).
|
|
156
157
|
- **Corridor-routed retrieval**: the profile carries a room directory, and `engram_search` accepts a `room` parameter — decide the room first, then search inside it, instead of always running whole-store RRF. The top 5 hits carry neighbouring slot ids from the same room as encoding-specificity cues.
|
|
@@ -198,6 +199,8 @@ Sensory and emotional dimensions (smell, temperature, emotional weight) are deli
|
|
|
198
199
|
| `engram_profile_edit` | Edit the curated profile block: `view` shows the current content and version history; `edit` writes a new version (optimistic lock via `expectedVersion`, conflicts fail loud); `rollback` restores a historical version (appended as a new version; history is never rewritten). The curated profile is injected ahead of the derived profile; every edit lands in the operation log, and the profile card on the panel's Today view shows version diffs |
|
|
199
200
|
| `engram_language_guide` | Output the plugin language guide (the body of `<package-root>/docs/agent-language-guide.ru.md`). The first-run window promises a human whose language is not built in that the agent will print an instruction; this tool keeps that promise. The source text is written in Russian as a draft — the agent translates it into the asker's language itself |
|
|
200
201
|
|
|
202
|
+
> Scope enum: `user` = private palace (global, follows the person); `project` = the current repo's project palace; `shared` = the shared staging area (memories hand-picked to lend out, see "Shared scope" in the feature list); `all` = retrieval tools merge all three stores.
|
|
203
|
+
|
|
201
204
|
## Configuration
|
|
202
205
|
|
|
203
206
|
Optional configuration (cordis.yml):
|
|
@@ -270,7 +273,7 @@ The plugin has a host half (Node) and a browser half (React):
|
|
|
270
273
|
Session agent Host half (Node)
|
|
271
274
|
│ │
|
|
272
275
|
├─ every turn, first step ◀─────────────── ├─ user memory profile injection (plugin-source user snapshot)
|
|
273
|
-
├─ engram_save / search / review … ──────▶ ├─ SQLite
|
|
276
|
+
├─ engram_save / search / review … ──────▶ ├─ SQLite three stores (user.db / project-<origin hash>.db / shared.db)
|
|
274
277
|
│ ├─ FTS5 keyword track + local vector track, RRF fusion + ranking boost
|
|
275
278
|
├─ engram_distill ───────────────────────▶ ├─ aux-LLM distillation (cluster merge → supersedes chain)
|
|
276
279
|
├─ session end (reflect enabled) ────────▶ ├─ belief consolidation (unconsolidated evidence → observations: near-neighbor merge / stale review)
|
|
@@ -278,7 +281,7 @@ Session agent Host half (Node)
|
|
|
278
281
|
└─ Settings "Memory Library" tab ◀──────── ─── loopback API /api/engram/* (writes verify loopback Origin)
|
|
279
282
|
```
|
|
280
283
|
|
|
281
|
-
- **
|
|
284
|
+
- **Three-scope stores**: `user.db` shared globally; `project-<hash>.db` named by the normalized git origin URL hash (`git@github.com:a/b.git` and `https://github.com/a/b` share one store; worktrees resolve through the pointer to the main repo's origin); without git or an origin it falls back to a working-directory encoding, and legacy cwd-named stores are renamed in place at startup (if both exist, nothing moves and a warning is logged). The third store `shared.db` is the shared staging area (see "Shared scope" in the feature list).
|
|
282
285
|
- **Palace structure (the directory is the room, the path is the route)**: the **grand hall** is the standing core profile injected every turn (few and stable, always present); the **corridor** is the room directory in the profile plus the `engram_search room` parameter (pick the room, then search); **rooms** sort by kind (Fact Hall / Preference Pavilion / Decision Chamber / Episode Gallery / Skill Workshop) with capacity 9, overflowing into `<name>-2`; **placards** are each memory's `placard` marker, scored on the unique · distinctive · dated rule. Existing stores are slotted on first open (idempotent; opening a new room logs a warning so a human can name it).
|
|
283
286
|
- **Automatic capture** (when `ingest` is on): each new turn's first step extracts candidate facts from the previous turn out of the session log; session end (`session/disposed`) captures the final turn with a 5-second timeout, and on failure/timeout a pending key lands in the operation log for the next session's first step to replay; captured (session, turn) pairs are idempotent. The read source is the session log; aux-call request auditing goes to the plugin's own operation log — unknown events are never appended to the session log. Candidates are written with low confidence and deduplicated by embedding.
|
|
284
287
|
- **Provenance chain**: every memory records its source session, turn, and event seq, fully traceable via `engram_review`; the operation log table records every write/edit/forget/distill/decay.
|
package/README.md
CHANGED
|
@@ -97,7 +97,7 @@ dsh plugin --profile web add @kenz1117/dsh-engram
|
|
|
97
97
|
+--> 摄取 / 保存 --> 写入四态: accept · merge · defer · drop
|
|
98
98
|
agent 调用+
|
|
99
99
|
|
|
|
100
|
-
SQLite
|
|
100
|
+
SQLite 三库: user.db(跟人走)+ project-<hash>.db(跟仓库走)+ shared.db(借阅架)
|
|
101
101
|
|
|
|
102
102
|
+----------------------+----------------------+----------------------+
|
|
103
103
|
v v v
|
|
@@ -159,7 +159,8 @@ DeepSeek Harness 跨会话长期记忆插件 —— 把记忆宫殿的**信息
|
|
|
159
159
|
## 特性
|
|
160
160
|
|
|
161
161
|
- **跨会话记忆**:会话开始注入用户画像摘要(条数 + token 预算双重上限,可配;`engram_profile_edit` 维护的 curated 画像优先于派生事实),Agent 天然"记得"你是谁、在做什么;工具检索跨会话召回历史事实。
|
|
162
|
-
-
|
|
162
|
+
- **三层分库**:`user.db` 跨项目全局(私人宫殿,与「共享 scope」无关);`project-<hash>.db` 按 git origin 标识隔离(无 git 时回退 cwd 全量哈希,旧命名库自动迁移)——个人偏好跟人走,项目约定跟仓库走。**项目宫殿随工作区切换**:管理面板「项目」scope 默认跟随 GUI 当前选中的工作区(Header 显示工作区标题与路径),也可在下拉里固定到某个工作区;`engram_save/search` 等工具的 project 读写同样按当前会话 cwd 归属,与面板同一口径。
|
|
163
|
+
- **共享 scope(`shared.db`)**:手动挑出、准备借出给别人的记忆暂存区——设计上「只显式进出」:自动摄取只判 project/user(「偏好跟人走、约定跟仓库走」二分里没有 shared 的位置),画像注入与复习调度也不碰它;显式通道:`engram_save` / `engram_import` 写入、`engram_search scope=shared` 检索、`engram_mirror` 导出时附 `share-manifest.json` 借阅归还清单(`firstLentAt` / `lastAccessedAt` / `accessCount`),记录公开出去的责任与访问痕迹。
|
|
163
164
|
- **混合检索**:FTS5(unicode61 + 中文 2-gram 预切词)与本地向量(默认 `Xenova/paraphrase-multilingual-MiniLM-L12-v2`,384 维,q8;模型与池化可配,见下)RRF 融合 + 关系边一跳扩展 + 新鲜度/命中次数乘性排序 boost;嵌入模型离线运行,下载失败自动降级纯关键词并显式标记。
|
|
164
165
|
- **记忆宫殿信息架构**(v0.7.2+):四原则全部落进核心路径,而非展示层皮肤——**位置当索引**(写入按 kind 分房并钉「房间#桩位」坐标,房间容量 9,满员开新房,桩位只增不回收);**固定路线定顺序**(`tour_routes` append-only,`engram_tour mode=fixed` 按桩位顺序走全宫);**骨架长期复用**(同一 topic 永远落在同一房间同一序号,顺序提取而非重新检索);**标记独一无二**(门牌规则 0-1 评分:全库唯一 +0.4 / 带日期锚点 +0.3 / 同房前 6 字不重复 +0.3,低分进翻新清单;库内 active 记忆少于 8 条时不扫描,避免小库噪声)。
|
|
165
166
|
- **走廊路由检索**:画像里附房间目录,`engram_search` 支持 `room` 参数——先决定进哪个房间,再在房内检索,而非一上来全库 RRF。检索命中 top5 附同房间相邻桩位 id 作为编码特异性线索。
|
|
@@ -171,7 +172,7 @@ DeepSeek Harness 跨会话长期记忆插件 —— 把记忆宫殿的**信息
|
|
|
171
172
|
- **实体词典**(v0.7.10+):自动摄取与 `engram_save` 的辅助 LLM 输出同时抽取实体提及(人物/项目/工具/概念,可带别名),按归一化名与既有实体的 name/aliases 精确匹配消解——命中复用并刷新「最近提及」,未命中新建;记忆与实体多对多关联,随来源记忆所在 scope 分库。`engram_search` 命中行附关联实体标签;实体消解故障只静默跳过关联,不影响记忆落库。面板「实体」视图按类别筛选、按名称/别名搜索,点开单实体看它牵出的所有记忆。
|
|
172
173
|
- **自动摄取**(`ingest` 配置开启时):新一轮第一步从会话日志提取上一轮的候选事实,会话结束时补摄取最后一轮(失败留 pending 键,下次会话自动补做,幂等不重复),低 confidence 写入,嵌入可用时按四态处置近邻(复述并入强化 / 疑似矛盾建边待裁决 / 全新写入)——不说"记住"也能攒记忆。**逐条判宫殿**:提炼时同步判定作用域,只跟当前项目/仓库有关的(技术选型、项目约定、架构决策)进当前会话 cwd 对应的项目库,跨项目通用的(个人偏好、习惯、本人经历)进私人库——偏好跟人走、约定跟仓库走。
|
|
173
174
|
- **来源审计**:每条记忆记录来源会话、轮次与事件 seq,`engram_review` 完整回查来源链、取代链、矛盾与操作日志;全部写入/修改/遗忘/蒸馏/衰减入操作日志表。
|
|
174
|
-
- **Web 管理面板**(v0.7.0+):v0.8.0 起从「设置 → 记忆库 tab」升级为**顶层侧栏入口**(`sidebar.panellist` + `main` 双槽位,与「Hyreal FDE 工作台」平级),主列满宽渲染所有视图——一键直达、不再被设置弹窗 ~600px 限制、九视图横排展开;入口图标为 18px 宫殿剪影 SVG(屋顶 + 主体 + 门洞 + 两侧窗,Phosphor 风 stroke 1.75)。九个视图:今日(速览条:记忆 / 开放 / 清晰度 + 健康分环,底行「落成 / 发掘 / 整理 / 今日到期」四项小统计与诊脉时间同行;下面是入殿导航、房间目录、待翻新、健康分构成;侧栏画像卡展示常驻画像(curated)当前内容与版本 diff 历史)、陈展(筛选含今日到期 / 巡游路线序 / 批量 / 列表与编辑;「参观 / 修缮」以视口浮层呈现——sticky 钉在宿主滚动区可见顶部,长列表任意滚动位置打开都不跳动不挤压)、走廊(走廊鸟瞰 + 检索实验台)、日志(近 7 天计数 +
|
|
175
|
+
- **Web 管理面板**(v0.7.0+):v0.8.0 起从「设置 → 记忆库 tab」升级为**顶层侧栏入口**(`sidebar.panellist` + `main` 双槽位,与「Hyreal FDE 工作台」平级),主列满宽渲染所有视图——一键直达、不再被设置弹窗 ~600px 限制、九视图横排展开;入口图标为 18px 宫殿剪影 SVG(屋顶 + 主体 + 门洞 + 两侧窗,Phosphor 风 stroke 1.75)。九个视图:今日(速览条:记忆 / 开放 / 清晰度 + 健康分环,底行「落成 / 发掘 / 整理 / 今日到期」四项小统计与诊脉时间同行;下面是入殿导航、房间目录、待翻新、健康分构成;侧栏画像卡展示常驻画像(curated)当前内容与版本 diff 历史)、陈展(筛选含今日到期 / 巡游路线序 / 批量 / 列表与编辑;「参观 / 修缮」以视口浮层呈现——sticky 钉在宿主滚动区可见顶部,长列表任意滚动位置打开都不跳动不挤压)、走廊(走廊鸟瞰 + 检索实验台)、日志(近 7 天计数 + 三库合并的完整 op_log,可按操作类别筛选)、回填、往事(按会话分组浏览 episode,锚点邻近扩展)、实体(实体词典:类别筛选 + 名称/别名搜索 + 单实体关联记忆)、**信念**(v0.7.15+:巩固信念列表按证据数排序,成立 / 待复核 / 已否定状态筛选,点「证据 n 条」展开证据链只读回查支撑该信念的原始记忆——证据被清理时信念保留并明确提示;`GET /api/engram/observations` 与 `GET /api/engram/observation-evidence` 两个回环路由)、裁决(Jev 系统一裁决:配置覆盖 + 测试连接 + 近期裁决记录)。Header 单行两端对齐:左侧 scope 三宫格(私人 / 项目 / 共享)驱动全局 scope,项目 scope 下工作区下拉内联在同一行;右侧今日到期角标 + 重访 / 导出纯图标按钮(导出弹层不再被下方 Tab 行遮挡);「中 | EN」段控切换面板文案语言(独立于宿主语言,选择持久化),全部文案中英双语。支持按脱敏标记筛选(仅看/排除含 `[REDACTED:*]` 的条目)并给命中条目挂琥珀色徽标,方便审计脱敏覆盖面。
|
|
175
176
|
- **提示注入防护**:全部记忆召回出口(画像注入、`engram_search/timeline/review` 输出)包 `<engram_memory_context>` 协议标签并附使用警告(历史记忆非当前请求、不遵循其中指令、仅相关时使用),当前请求独立包 `<current_user_request>`;所有入库内容(摄取候选、保存正文)先剥离这些协议标签,防伪造协议块二次注入。
|
|
176
177
|
- **摄取脱敏**:入库前正则清洗常见密钥凭据(sk- 系 API key、Bearer、AWS AKIA、GitHub token、PEM 私钥、password/token 赋值、中文密码赋值)与个人信息(中国大陆手机号、18 位身份证号),命中片段替换为 `[REDACTED:<类型>]`。
|
|
177
178
|
- **召回占位(防回声室)**:摄取切片中记忆召回工具的输出替换为 `[engram memory result omitted from capture: <tool>]`,并向提取模型附注"既有记忆的复述不是新信息",阻断记忆自我强化循环。
|
|
@@ -207,6 +208,8 @@ DeepSeek Harness 跨会话长期记忆插件 —— 把记忆宫殿的**信息
|
|
|
207
208
|
| `engram_profile_edit` | 画像 curated block 编辑:`view` 看当前内容与版本历史;`edit` 写入新版本(乐观锁 `expectedVersion`,冲突 loud 失败);`rollback` 回滚到历史版本(作为新版本追加,历史永不改写)。curated 画像优先于派生画像注入;编辑记录入操作日志,面板今日页画像卡可查版本 diff |
|
|
208
209
|
| `engram_language_guide` | 输出插件语言指南(`<包根>/docs/agent-language-guide.ru.md` 的正文)。首启时对未内置语言的人承诺「agent 会输出一份说明」,这份承诺由本工具兑现;正文以俄文写成草稿,由 agent 按提问者的语言自行翻译 |
|
|
209
210
|
|
|
211
|
+
> scope 枚举释义:`user` = 私人宫殿(跨项目跟人走);`project` = 当前仓库的项目宫殿;`shared` = 共享暂存区(手动挑出、准备借出给别人的记忆,见特性列表「共享 scope」);`all` = 检索类工具合并三库。
|
|
212
|
+
|
|
210
213
|
## 配置
|
|
211
214
|
|
|
212
215
|
可选配置(cordis.yml):
|
|
@@ -297,7 +300,7 @@ DeepSeek Harness 跨会话长期记忆插件 —— 把记忆宫殿的**信息
|
|
|
297
300
|
会话 Agent 宿主半(Node)
|
|
298
301
|
│ │
|
|
299
302
|
├─ 每轮第一步 ◀─────────────────────────── ├─ 用户画像快照注入(plugin 来源 user 快照)
|
|
300
|
-
├─ engram_save / search / review … ──────▶ ├─ SQLite
|
|
303
|
+
├─ engram_save / search / review … ──────▶ ├─ SQLite 三库(user.db / project-<origin hash>.db / shared.db)
|
|
301
304
|
│ ├─ FTS5 关键词道 + 本地向量道 RRF 融合 + 排序 boost
|
|
302
305
|
├─ engram_distill ───────────────────────▶ ├─ 辅助 LLM 蒸馏(簇合并 → supersedes 链)
|
|
303
306
|
├─ 会话结束(reflect 开启)──────────────▶ ├─ 信念巩固(未巩固证据 → observations:近邻归并 / stale 复核)
|
|
@@ -305,7 +308,7 @@ DeepSeek Harness 跨会话长期记忆插件 —— 把记忆宫殿的**信息
|
|
|
305
308
|
└─ 设置页「记忆库」tab ◀────────────────── ─── 回环 API /api/engram/*(写操作校验回环 Origin)
|
|
306
309
|
```
|
|
307
310
|
|
|
308
|
-
-
|
|
311
|
+
- **三层分库**:`user.db` 跨项目全局(私人宫殿);`project-<hash>.db` 按 git origin URL 归一化哈希命名(`git@github.com:a/b.git` 与 `https://github.com/a/b` 同库;worktree 沿指针解析到主仓库 origin);无 git 或无 origin 时按 **cwd 全量 sha256** 命名(v0.7.6 起;旧的「cwd 前 12 字符」截断命名会同前缀撞库,启动时自动 rename 迁移,新旧并存则不动并告警)。第三库 `shared.db` 是共享暂存区(定位见特性列表「共享 scope」条)。
|
|
309
312
|
- **项目宫殿路由**:`GET /api/engram/workspaces` 给出可选项目宫殿清单(来源 = 宿主 `workspaceRegistry` 工作区 → 会话 header 里出现过的 cwd → 插件进程目录兜底,按分库名去重;同仓库的多个 worktree 共用一个宫殿);所有项目 scope 的接口与工具读写接受选择器(HTTP `?project=<dbName>` / POST body `project`,工具用当前会话 `session.header.cwd`),未知选择器 HTTP 回 404、工具回退进程目录。面板「项目」scope 默认跟随 GUI 当前工作区并可固定到某个工作区。
|
|
310
313
|
- **宫殿结构(目录即房间,路径即路线)**:**主厅** = 每轮注入的常驻核心画像(少而稳,每次都在场);**走廊** = 画像里附的房间目录 + `engram_search room` 参数(先定房间,再检索);**房间** = 按 kind 分房(事实厅 / 偏好阁 / 决策堂 / 往事廊 / 技法坊),容量 9,满员开「房名-2」;**门牌** = 每条记忆的 `placard` 铭牌,受唯一·差异化·带日期纪律评分。存量库首次打开时自动补排桩(幂等,开新房会告警提醒人工命名)。
|
|
311
314
|
- **自动摄取**(`ingest` 开启时):新一轮第一步从会话日志提取上一轮的候选事实;会话结束(session/disposed)补摄取最后一轮,5 秒超时,失败/超时把 pending 键写入操作日志,下次会话首步自动重放补做;已摄取的 (会话, 轮次) 幂等去重(键固定在私人库,实时与历史回填共用一份,跨路径不重复)。读取源是会话日志;辅助调用的请求审计走插件自身操作日志,不向会话日志 append 未知事件。候选以低 confidence 写入并按**目标分库内**的嵌入近邻去重。**作用域逐条判**:提炼输出带 `scope`,`project` 落当前会话 cwd 的项目库、`user` 落私人库;无 cwd 的会话只能进私人库(此类会话不做逐条判定,避免标记与实际分库不符)。历史回填沿用同一判定,默认按各会话自己的 cwd 落项目库。
|
|
@@ -324,7 +327,7 @@ DeepSeek Harness 跨会话长期记忆插件 —— 把记忆宫殿的**信息
|
|
|
324
327
|
| **记忆** | 记录 / 时间线 / 实体 / 图谱 | 记录=全量记忆库(房间 / 状态 / 内容过滤、双排序、批量遗忘 / 恢复、行内「身份与修订」抽屉);时间线=episode 情景时间线与邻近扩展;实体=人物 / 项目 / 工具 / 概念词典;图谱=平面图 / 力导向关系图 / 回忆螺旋 |
|
|
325
328
|
| **治理** | 矛盾 / 信念 | 矛盾队列(双侧记忆与稳定 id,处置前说清后果);信念证据链与成立 / 待复核 / 已否定治理 |
|
|
326
329
|
| **回放** | — | 注入快照 head / detail:逐字 packet、完整哈希、入选记忆 id、curated 与压缩元数据,只展示事实源不重建 |
|
|
327
|
-
| **系统** | 运行时 / 存储 / 模型与词典 / 历史回填 / Jev / 日志 | 版本握手与持久作业队列;三个分库的规模与日志占用;宫殿语言、面板语言与词典编辑器;历史回填(估算 → 执行 → 续跑);Jev
|
|
330
|
+
| **系统** | 运行时 / 存储 / 模型与词典 / 历史回填 / Jev / 日志 | 版本握手与持久作业队列;三个分库的规模与日志占用;宫殿语言、面板语言与词典编辑器;历史回填(估算 → 执行 → 续跑);Jev 裁决配置与观测;三库合并的 op_log 审计流水 |
|
|
328
331
|
|
|
329
332
|
界面语言随面板切换(中文 / English / Русский),服务端理由文案跟随面板语言。数据经回环 API `/api/engram/*`(写操作校验回环 Origin + 环绕三重防线);面板与后端进程版本不一致时顶部出现重启提醒横幅。headless 等无 webServer 的组合不挂载面板,其余能力不受影响。v0.7 时代逐版本的面板演进记录见 [docs/panel-history-v0.7.md](docs/panel-history-v0.7.md)。
|
|
330
333
|
|