@kenz1117/dsh-engram 0.13.9 → 0.13.11
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 +30 -0
- package/README.en.md +2 -2
- package/README.md +4 -4
- package/i18n/ru.txt +3 -0
- package/lib/client.js +1 -1
- package/lib/client.js.map +1 -1
- package/lib/engine/node_modules/onnxruntime-common/index.mjs +3 -0
- package/lib/engine/node_modules/onnxruntime-common/package.json +10 -0
- package/lib/engine/node_modules/onnxruntime-web/package.json +11 -0
- package/lib/engine/node_modules/onnxruntime-web/webgpu.mjs +3 -0
- package/lib/engine/ort-wasm-simd-threaded.jsep.mjs +108 -0
- package/lib/engine/ort-wasm-simd-threaded.jsep.wasm +0 -0
- package/lib/engine/ort.bundle.min.mjs +2954 -0
- package/lib/engine/transformers.web.js +32562 -0
- package/lib/index.js +438 -100
- package/lib/local.js +1459 -0
- package/package.json +11 -10
- package/scripts/backfill-embeddings.mjs +14 -16
- package/scripts/copy-engine.mjs +102 -0
- package/scripts/engine-smoke.mjs +250 -0
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,36 @@
|
|
|
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.11] - 2026-11-15
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **治理页「闭馆此条」「改判为相关」不再必然失败(#56)**:`POST /api/engram/governance` 分支漏接 `adoptBodySelector`,面板写操作 body 里的 `project` 选择器被丢弃——凡选中具体工作区,治理写操作 100% 落到进程默认项目库,`resolveContradiction` 在错误的库里查不到目标 id,报「条目 xxx 不存在」。报告人 Nicanya 给出了完整根因链与行号定位。修复与其余写分支对齐:POST 分支补采纳 body 选择器。回归测试走真实 Loader 组合链路:选择器只放 body、不放 query,断言改判落在选中工作区库、user scope 对照组照常。
|
|
16
|
+
- **`engram_distill` 不再因输出上限整次失败(#55 缺陷一)**:取材从一次 30 条改为每批 10 条分批过辅助 LLM;单批输出超预算对半递归重试(与 reflect 的 #45 自愈同法),切到单片仍超限或解析失败只丢该批并计入新的 `failed` 计数(条目保持 active,下次蒸馏再取材),不再「一批失败 = 整次失败」。工具文本明说失败条数(zh/en/ru 齐备);`distill-request` 审计行每批一条。
|
|
17
|
+
- **0.88–0.92 模糊带免 LLM 兜底合并(#55 缺陷二)**:JEV 关闭/失败/低置信时模糊带不再永远 defer——同 kind + 余弦 ≥ 0.90 + 字符 bigram Jaccard ≥ 0.5 + 数字令牌一致 → 判为复述合并(强化既有条目);不满足则照旧 defer 落库建边。数字守卫专防「端口 8080→9090」这类字面像但内容异的修正被误并。两个调用方(`engram_save` / 自动摄取)改为始终携带 content 供兜底比对字面。
|
|
18
|
+
- **注入端近似重复折叠(#55 缺陷三)**:会话画像渲染前按存储向量做同 kind 余弦聚类(阈值 0.9),每簇只让 importance 最高的条目占注入槽位,簇头行尾标注「(另含 N 条相似条目)」,其余只从注入块移除、不删库。向量直接读库(新 store API `vectorsFor`,按稳定逻辑身份取),嵌入器不在注入关键路径上;无向量、跨 kind、混维(换过模型的存量库)条目一律保留不折叠。
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- **引擎出树(#50/#54 的根治):嵌入引擎从安装树整体移除,改用随包分发的纯 WASM 引擎**。此前本地语义检索依赖 `optionalDependencies` 里的 `@huggingface/transformers`(内部精确钉死 `onnxruntime-node` 1.30.0 原生件,解包约 300MB),桌面宿主的市场更新是「先删后装 + 限时」——弱网机器的 pnpm store 永远填不满这个百 MB 包,每次更新都被限时杀掉。现在:
|
|
23
|
+
- **安装树里没有任何引擎依赖**:`optionalDependencies` 清空(连带 onnxruntime-node/sharp 等原生件与「允许构建脚本」的诉求一起消失);发布包从 775KB 变为约 7.5MB(解包约 33MB,其中 28MB 是 ONNX Runtime 的 wasm 二进制),npm/pnpm 安装量级回到秒级,弱网更新不再有可被限时杀掉的大件。
|
|
24
|
+
- **技术路线**:transformers.js 的 **web 构建** + 预注入的 onnxruntime-web 纯 wasm 后端(`globalThis[Symbol.for('onnxruntime')]` 四步注入、wasm 二进制经 `wasmBinary` 本地注入不走红网络加载、模型缓存经自实现的 Web Cache API fs shim 落盘),全部经 spike 在 Node 下实跑验证后落进 `src/embedder/engine.ts` + `src/embedder/engine-cache.ts`。引擎文件由 `scripts/copy-engine.mjs` 从 devDependencies 拷进 `lib/engine/` 随包分发(`pnpm bundle` 与 `prepack` 都会执行,publish 不可能带不出引擎)。
|
|
25
|
+
- **性能代价(如实告知)**:WASM 单线程推理约 **90ms/条**(原生 onnxruntime-node 约 10-20ms/条);全量回填 3000 条记忆约 **7 分钟**。检索路径单条嵌入占比小,日常使用体感差异有限;批量回填建议挂后台跑。
|
|
26
|
+
- **存量向量完全有效**:模型、量化(q8)、池化(mean)与此前一致,向量逐位相同——**不需要 backfill**,升级后语义检索直接可用(模型文件缓存也沿用原目录)。
|
|
27
|
+
- **弱网行为变化**:引擎不再可能「装不上」(它就在包里);失败面只剩模型下载——首次使用需联网下载模型文件(q8 约 24MB,端点可配镜像),失败仍走既定的纯关键词降级链。引擎文件若真缺失(安装被安全软件截断等),报错从裸栈改为指明「引擎未随包,请重装插件」的人话(zh/en/ru 三语齐备)。
|
|
28
|
+
- **`lib/local.js` 新构建入口**:嵌入器装载器单独成包(`tsdown.config.ts` 的 companions 构建)——插件入口 `lib/index.js` 的导出面是宿主契约(name/apply/inject),嵌入器不能挂上去;`scripts/backfill-embeddings.mjs` 改经它装载引擎(原先直接 `import('@huggingface/transformers')` 的路径随出树一并移除)。
|
|
29
|
+
- **devDependencies 变化**:新增 `@huggingface/transformers@4.3.2` 与 `onnxruntime-web@1.31.0-dev.20260914-8d85527a0`(精确版本,后者与 transformers 4.3.2 内部钉死完全一致——工厂 mjs 与 wasm 二进制必须配套),`pnpm-lock.yaml` 已同步刷新。二者只在构建机存在,用户安装树无感。
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
|
|
33
|
+
- **引擎烟测门(`scripts/engine-smoke.mjs` + `.github/workflows/engine-smoke.yml`)**:真实走 build → npm pack → 临时目录安装 → 从安装形态的 `lib/local.js` 驱动随包引擎 embed 两条中文文本(断言 512 维、模长≈1);windows-latest(主)+ ubuntu-latest(对照),模型端点优先 hf-mirror.com、10s 探测失败回退默认端点,15 分钟 job 上限。paths 过滤只在嵌入器/引擎/构建配置变动时触发。本地复现:`pnpm bundle && node scripts/engine-smoke.mjs`(本地反复重跑可加 `--keep-cache` 复用模型缓存,不吃模型端点的网络抖动;CI 保持冷路径)。
|
|
34
|
+
|
|
35
|
+
## [0.13.10] - 2026-11-11
|
|
36
|
+
|
|
37
|
+
### Fixed
|
|
38
|
+
|
|
39
|
+
- **`topActive` 第二排序键从 `confidence` 换成 `created_at DESC, id ASC`(#53)**:蒸馏候选池(30 条)、反思池(300 条)、巩固合并与**会话画像注入**共用的候选查询此前按 `importance DESC, confidence DESC` 排序,但 0.12.0 把「检索曝光 → confidence 增量」拆掉之后,confidence 的写入端只剩两条缺省路径——`engram_save` 缺省 0.5、蒸馏产物继承簇均值(实测落 0.3~0.35);会真实改它的 `reinforce`/`reportOutcome` 只由主动反馈触发,无任何流程自动调用。同一个 importance 档位里,手写条目恒排在摄取/蒸馏产物前面,候选池与画像注入的实际次序等于「按谁写的排」。换成 `created_at DESC` 给同分并列一个 recency 次序,`id ASC` 让 LIMIT 截断点落在并列区时结果确定(SQLite 不保证无 tiebreak 的返回顺序稳定)。报告人 zhongcrazyx 完成静态分析、SQL 对拍与运行时验证(注入快照与新排序吻合);测试钉住三件事:旧排序霸榜的高 confidence 旧条目被截掉、同刻并列由 id ASC 决出且与 confidence 无关、重复调用结果一致。
|
|
40
|
+
|
|
11
41
|
## [0.13.9] - 2026-11-07
|
|
12
42
|
|
|
13
43
|
### Fixed
|
package/README.en.md
CHANGED
|
@@ -282,7 +282,7 @@ Session agent Host half (Node)
|
|
|
282
282
|
- **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
283
|
- **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
284
|
- **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.
|
|
285
|
-
- **Offline embeddings**: the model downloads once (q8, ~
|
|
285
|
+
- **Offline embeddings**: the model downloads once (q8, ~24MB; mirror endpoint configurable), then runs fully offline; on failure the plugin keeps working and retrieval degrades to keyword-only with an explicit marker. **The engine ships with the package as pure WASM** (since 0.13.11: transformers.js web build + the onnxruntime-web wasm backend, single-threaded) — the install tree carries no native dependencies, at the cost of slower inference than the native runtime: ~90ms per text (vs ~10-20ms native), a full 3000-memory backfill takes ~7 minutes. **The dimension is a hard constraint**: when the stored vectors and the current model disagree, writes and similarity comparisons are both refused with `EMBEDDER_DIMENSION_MISMATCH` (naming both dimensions) instead of being truncated into a plausible-looking similarity.
|
|
286
286
|
- **UI localization**: the client half registers zh/en dictionaries through the host locale service and follows the host language setting live; data-level enums (status/kind) are mapped only in the display layer and stay English in storage.
|
|
287
287
|
|
|
288
288
|
## Web Management Panel
|
|
@@ -326,7 +326,7 @@ The first two run on a bare checkout, and CI (`.github/workflows/checks.yml`) ru
|
|
|
326
326
|
Two notes on install and build scripts:
|
|
327
327
|
|
|
328
328
|
- **GitHub source quick-install** (`dsh plugin add github:kenz1117/dsh-engram`) fetches sources; `prepare` runs `pnpm bundle` on the spot when `lib/` is missing. If that build fails, read the bundle section of the prepare log — not the host's misleading "no entry point".
|
|
329
|
-
- **
|
|
329
|
+
- **Bundled engine (since 0.13.11)**: the embedding engine ships as pure WASM — at `pnpm bundle` time `scripts/copy-engine.mjs` copies the transformers.js web build and the onnxruntime-web wasm artifacts from devDependencies into `lib/engine/`. The user install tree carries no native dependencies, so the "allow build scripts" prompt of older versions is obsolete (the 0.13.10-and-earlier notes about onnxruntime-node build permissions no longer apply). `pnpm prepack` (runs automatically on npm pack/publish) re-verifies the engine files — a package without the engine cannot be published.
|
|
330
330
|
|
|
331
331
|
## Model Experience
|
|
332
332
|
|
package/README.md
CHANGED
|
@@ -67,9 +67,9 @@ dsh plugin --profile web add @kenz1117/dsh-engram
|
|
|
67
67
|
## 升级
|
|
68
68
|
|
|
69
69
|
- **用哪个入口装,就用哪个入口升**:市场里装的就一直在市场里更新;命令行 `dsh plugin add` 装的就继续用命令行。两边混用会碰到市场的跨来源保护——它提示「先卸载,再从市场安装」时照做即可,这是防止把不同来源的同名插件互相覆盖的设计,记忆数据在数据目录里,不受卸载影响。
|
|
70
|
-
-
|
|
70
|
+
- **「允许构建脚本并重试」提示可以不点**:0.13.11 起嵌入引擎是随包的纯 WASM(见下),安装树里不再有任何带构建脚本的原生依赖(旧版本的 onnxruntime-node 已随引擎出树移除)。
|
|
71
71
|
- **模型缓存跨升级持久**(`<dbDir>/models`),升级不重复下载模型;0.13.6 起数据目录默认跟随 `$DSH_HOME`,换盘搬家不再把库留在旧盘。
|
|
72
|
-
-
|
|
72
|
+
- **引擎随包,弱网更新不再卡死**(0.13.11 起):本地嵌入引擎从安装树(optionalDependencies,原生件解包约 300MB)整体移出,改为随包分发的纯 WASM(包体 775KB → 约 7.5MB)——市场更新的「先删后装 + 限时」里不再有会被弱网杀掉的百 MB 大件。**存量向量完全有效**(同模型同 q8 同池化,不需要 backfill);只有模型文件(q8 约 24MB,`<dbDir>/models`)仍是首次使用时联网下载,可配镜像。
|
|
73
73
|
- 升级后打开面板「系统 · 运行时」即可核对插件/面板版本是否一致(不一致会挂重启横幅)。
|
|
74
74
|
|
|
75
75
|
## 为什么是它
|
|
@@ -310,7 +310,7 @@ DeepSeek Harness 跨会话长期记忆插件 —— 把记忆宫殿的**信息
|
|
|
310
310
|
- **宫殿结构(目录即房间,路径即路线)**:**主厅** = 每轮注入的常驻核心画像(少而稳,每次都在场);**走廊** = 画像里附的房间目录 + `engram_search room` 参数(先定房间,再检索);**房间** = 按 kind 分房(事实厅 / 偏好阁 / 决策堂 / 往事廊 / 技法坊),容量 9,满员开「房名-2」;**门牌** = 每条记忆的 `placard` 铭牌,受唯一·差异化·带日期纪律评分。存量库首次打开时自动补排桩(幂等,开新房会告警提醒人工命名)。
|
|
311
311
|
- **自动摄取**(`ingest` 开启时):新一轮第一步从会话日志提取上一轮的候选事实;会话结束(session/disposed)补摄取最后一轮,5 秒超时,失败/超时把 pending 键写入操作日志,下次会话首步自动重放补做;已摄取的 (会话, 轮次) 幂等去重(键固定在私人库,实时与历史回填共用一份,跨路径不重复)。读取源是会话日志;辅助调用的请求审计走插件自身操作日志,不向会话日志 append 未知事件。候选以低 confidence 写入并按**目标分库内**的嵌入近邻去重。**作用域逐条判**:提炼输出带 `scope`,`project` 落当前会话 cwd 的项目库、`user` 落私人库;无 cwd 的会话只能进私人库(此类会话不做逐条判定,避免标记与实际分库不符)。历史回填沿用同一判定,默认按各会话自己的 cwd 落项目库。
|
|
312
312
|
- **来源链**:每条记忆记录来源会话、轮次与事件 seq,`engram_review` 可完整回查;操作日志表记录全部写入/修改/遗忘/蒸馏/衰减。
|
|
313
|
-
- **嵌入离线**:模型首次使用需联网下载(q8 约
|
|
313
|
+
- **嵌入离线**:模型首次使用需联网下载(q8 约 24MB,端点可配镜像),此后完全离线;失败时插件照常工作,检索降级纯关键词并显式标记。**引擎是随包的纯 WASM**(0.13.11 起,transformers.js web 构建 + onnxruntime-web wasm 后端,单线程):安装树里没有原生依赖,代价是推理慢于原生件——约 **90ms/条**(原生约 10-20ms/条),全量回填 3000 条约 7 分钟。**维度是硬约束**:库中向量与当前模型的维度不一致时,写入与相似度比较都直接拒绝并报 `EMBEDDER_DIMENSION_MISMATCH`(说清两边各是多少维),而不是逐维截断后给出一个像样的相似度。
|
|
314
314
|
- **界面本地化**:client 半经宿主 locale 服务注册 zh/en 词典,跟随宿主语言设置实时切换;状态/种类等数据枚举仅在显示层映射,存储值保持英文。
|
|
315
315
|
|
|
316
316
|
## Web 管理面板
|
|
@@ -351,7 +351,7 @@ pnpm test
|
|
|
351
351
|
安装与构建脚本的两点说明:
|
|
352
352
|
|
|
353
353
|
- **GitHub 源码快捷安装**(`dsh plugin add github:kenz1117/dsh-engram`)拿的是源码,`prepare` 会在 `lib/` 缺失时自动执行 `pnpm bundle` 现场构建——失败时看 prepare 日志的 bundle 段,而不是宿主报的 "no entry point"。
|
|
354
|
-
-
|
|
354
|
+
- **引擎随包(0.13.11 起)**:嵌入引擎是随包的纯 WASM——`pnpm bundle` 时 `scripts/copy-engine.mjs` 把 transformers.js web 构建与 onnxruntime-web 的 wasm 件从 devDependencies 拷进 `lib/engine/`,用户安装树里没有任何原生依赖,也就不再有「允许构建脚本」的诉求(0.13.10 及更早版本的 onnxruntime-node 构建脚本许可说明已随之作废)。`pnpm prepack`(npm pack/publish 时自动跑)会再次核对引擎文件,带不出引擎的包发不出去。
|
|
355
355
|
|
|
356
356
|
## Model Experience
|
|
357
357
|
|
package/i18n/ru.txt
CHANGED
|
@@ -12,6 +12,7 @@ Use engram_search to recall details (pass room to search inside one room); use e
|
|
|
12
12
|
Curated profile (user-maintained via engram_profile_edit; authoritative over derived facts): Курируемый профиль (ведётся пользователем через engram_profile_edit; главнее выведенных фактов):
|
|
13
13
|
Consolidated beliefs (distilled from multiple stored memories; verify against sources before high-stakes use): Устоявшиеся убеждения (выведены из множества сохранённых воспоминаний; перед важными решениями сверяйтесь с источниками):
|
|
14
14
|
- {belief} ({count} sources) - {belief} (источников: {count})
|
|
15
|
+
(+{count} folded) (+{count} свёрнуто)
|
|
15
16
|
\nPalace review due today: {count}{plus} memories. Use engram_review_queue for active recall (recall beats re-reading). \nСегодня пора вспомнить: {count}{plus} воспоминаний во дворце. Используйте engram_review_queue для активного припоминания (припоминание сильнее перечитывания).
|
|
16
17
|
Compress each memory entry into a shorter single-sentence wording (at most 40 characters per entry), keeping the key information that can be reused across sessions (facts, preferences, decisions, methods).\nOutput only one JSON array, each item shaped like {"id": "the id returned verbatim", "content": "the compressed wording"}; the number of items and the ids must correspond one-to-one with the input.\nDo not output anything other than JSON. Сожми каждую запись памяти в более короткую однострочную формулировку (не более 40 символов на запись), сохранив ключевую информацию, пригодную для повторного использования между сессиями (факты, предпочтения, решения, методы).\nВыведи только один JSON-массив, каждый элемент вида {"id": "id, возвращённый как есть", "content": "сжатая формулировка"}; число элементов и id должны взаимно однозначно соответствовать входу.\nНе выводи ничего, кроме JSON.
|
|
17
18
|
This profile holds {count} memories in total; they were picked for the following reasons: В этом профиле всего {count} воспоминаний; причины отбора:
|
|
@@ -164,6 +165,7 @@ before handling this manually, stop the affected hosts and back up every databas
|
|
|
164
165
|
[dsh-engram] the legacy database already has a migration record ({names}, claimed earlier by {cwd}): {pointer}; the database migrated earlier may hold memories of the current directory. {manual} [dsh-engram] У старой базы уже есть запись о переносе ({names}, раньше принадлежала {cwd}): {pointer}; в базе, перенесённой ранее, могут быть воспоминания текущего каталога. {manual}
|
|
165
166
|
write-disposition: merge target {id} does not exist write-disposition: цель слияния {id} не существует
|
|
166
167
|
embedding model download/load failed; retrieval has degraded to keyword-only mode — check the network and retry Не удалось скачать/загрузить модель эмбеддингов; поиск переведён в режим только по ключевым словам — проверьте сеть и повторите
|
|
168
|
+
the local embedding engine was not installed with the plugin (lib/engine is missing) — the package is incomplete or the update was cut short; reinstall the plugin; retrieval has degraded to keyword-only mode локальный движок эмбеддингов не установлен вместе с плагином (отсутствует lib/engine) — пакет неполный или обновление оборвалось на середине; переустановите плагин; поиск переведён в режим только по ключевым словам
|
|
167
169
|
embedding dimension mismatch: the store holds {expected}-dimensional vectors, the embedder returned {found}. Comparison and writes are refused instead of being silently truncated — switch the model back, or re-embed the store with the new one размерность векторов не совпадает: в базе {expected} измерений, эмбеддер вернул {found}. Сравнение и запись отвергаются, а не усекаются молча — верните прежнюю модель или пересчитайте векторы новой
|
|
168
170
|
could not resolve a local embedding model for this language; retrieval has degraded to keyword-only mode — check the model registry Не удалось определить локальную модель вложений для этого языка; поиск переведён в режим только по ключевым словам — проверьте реестр моделей
|
|
169
171
|
embedding endpoint unreachable ({baseUrl}, timeout {timeoutMs} ms) эндпоинт эмбеддингов недоступен ({baseUrl}, таймаут {timeoutMs} мс)
|
|
@@ -427,6 +429,7 @@ engram_distill: the auxiliary LLM is unavailable (the host provides no llm servi
|
|
|
427
429
|
engram_distill: cannot determine the model route (the session has no model request yet); configure provider/model in cordis.yml engram_distill: не удалось определить маршрут модели (в сессии ещё не было запроса к модели); настройте provider/model в cordis.yml
|
|
428
430
|
Distillation complete: drew on {input} memories, produced {distilled} higher-level rules and archived {superseded} old memories (the supersedes chain is in place and can be audited with engram_review). Дистилляция завершена: взято воспоминаний {input}, получено закономерностей более высокого уровня {distilled}, архивировано старых воспоминаний {superseded} (цепочка supersedes построена, проверить можно через engram_review).
|
|
429
431
|
{count} produced records were written without a vector: the embedder was unavailable at that moment, so they show up as “records without a vector” on the maintenance card and the Run button fills them in. {count} записанных правил остались без вектора: эмбеддер в этот момент был недоступен, поэтому они видны в карточке обслуживания как «записи без вектора», а кнопка «Выполнить» их дозаполнит.
|
|
432
|
+
engram_distill: {count} entries left undistilled this run (LLM output budget); they stay active and are retried next run. engram_distill: в этот раз не удалось перегнать {count} записей (лимит вывода LLM); они остались активными и снова пойдут в дело при следующем запуске.
|
|
430
433
|
Belief consolidation: use the auxiliary LLM to consolidate several raw memories into a higher-level belief carrying an evidence count (form / refine / still / refute), merging same-topic beliefs automatically; the raw memories are kept, not archived. Call it after recurring patterns appear or a new batch of memories is added. Закрепление убеждений: с помощью вспомогательной LLM свести несколько исходных воспоминаний в убеждение более высокого уровня с числом доказательств (form — создать / refine — уточнить / still — сохранить / refute — опровергнуть), автоматически объединяя убеждения одной темы; исходные воспоминания сохраняются и не архивируются. Вызывайте после появления повторяющихся закономерностей или новой партии воспоминаний.
|
|
431
434
|
engram_reflect: the auxiliary LLM is unavailable (the host provides no llm service), cannot consolidate engram_reflect: вспомогательная LLM недоступна (хост не предоставляет службу llm), закрепление невозможно
|
|
432
435
|
engram_reflect: cannot determine the model route (the session has no model request yet); configure provider/model in cordis.yml engram_reflect: не удалось определить маршрут модели (в сессии ещё не было запроса к модели); настройте provider/model в cordis.yml
|