clearai-dsh 0.5.1 → 0.5.3

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 CHANGED
@@ -4,6 +4,54 @@ All notable changes to this project are recorded here. The format follows [Keep
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.5.3] — 2026-10-10
8
+
9
+ **及时构建本体、保存阶段事实,并接入原生 todo 进度。**
10
+
11
+ ### Fixed
12
+
13
+ - `Frame` 可在一次调用中提交概念、关系、实体与假设断言,先完成整体校验再写入文件。实际检验假设的计划必须引用存在的对象并包含有效的结构化断言,避免长期执行却没有图结构。
14
+ - 达到门槛且经过 L3 或更高独立评估的阶段事实可在目标结束前保存;中断后,新会话仍能恢复本体、实体和已验证事实。后续反证标记对应事实待复核,保留原范围及证据。
15
+ - 明确由 `AdvancePlan` 派发独立评估,避免主代理另外安排一轮重复审计。
16
+
17
+ ### Changed
18
+
19
+ - 删除输入框旁失效的计划跳转芯片。计划进度同步至 DSH 原生 todo,保留现有原生 goal;作废步骤不计为完成,新轮次后恢复真实计划状态。
20
+ - 假设来源保持开放,不强制假设数量。阶段升格必须有真实实体、有效断言、独立证据及无未决关键反证。
21
+
22
+ ### Migration and validation
23
+
24
+ - 沿用 STATE_VERSION 21 和已有账本事件,不改写历史账本。新增内核选项 `ontologyFeedback`、`nativeTodoProgress`,ClearAI 预设启用,独立直接挂载内核时默认关闭。
25
+ - 完整本机工程套件通过,真实宿主与客户端无跳过;安装包逐文件核对通过。隔离界面确认原生 goal 与 todo 展示,旧跳转芯片已移除。
26
+ - 合成 DeepSeek 工程探针验证了空图建模、独立核验、结案前事实保存和新会话读取。这是机制回归,不代表长任务收益或成本验收通过;对照长测结论仍待完成。
27
+ - 本版为正式功能更新;手动安装可指定 `clearai-dsh@0.5.3`。
28
+
29
+ ## [0.5.2] — 2026-10-10
30
+
31
+ **知识的适用范围、跨会话复检与可靠审计闭环。**
32
+
33
+ 知识继续以本体和实体图组织:事实、经验、已排除项、缺陷与未解项随发生回灌,取用时检查适用范围。假设来源开放,本体按需建立,简单任务可选择默认模式。
34
+
35
+ ### Fixed
36
+
37
+ - Windows 评估卡目录和文件名采用固定长度 SHA-256,保留原始逻辑 id,兼容历史 card_path。写卡失败保持未知,不能缓存为通过。
38
+ - 审计指纹绑定答案、引用、定义、输入、方法与产物内容;相同材料复用裁决,实质修订重审。审计后重新同步材料与异常,阻止旧裁决关闭已变化的目标。
39
+ - 通过原生日志持久保存派发与子会话关联,进程恢复后复用已完成评估;去掉审计自身记录造成的重复派发,拒绝以“目标已完成”为前置条件的循环判据。
40
+ - 核算复核原因跨会话保留,接受基准不会被重跑观测自动覆盖。仅按独立复检确认的原因恢复;关联负向条目在完整匹配范围内同步为已解释,保留原证据。
41
+ - 范围外变化不撤回原范围的历史事实;缺条件、范围未知及不可比较单位不自动判定适用。结构化范围在索引、预检与实体卡中一致展示。
42
+
43
+ ### Added
44
+
45
+ - 最终答案可用 uses 声明直接依据,立题引用与确认的实际复用分开记录。目标文档与评估者任务书展示已登记引用、适用性和复检对象。
46
+ - 真实 DSH 隔离 headless 驱动、模型和 preset 校验、主/子会话用量核对、读隔离探针、故障恢复测试、冻结的配对序列与盲评流程。
47
+
48
+ ### Migration and validation
49
+
50
+ - STATE_VERSION 21 从原账本重建投影,不改写历史账本。旧审计指纹不能直接用于新规则结案;不导入实验 RC.6 的不兼容事件日志。
51
+ - RC.15 已通过完整本机工程套件(含真实宿主/客户端、无跳过)、Windows Node24 审计回归、历史安装升级与卸载重装、真实界面、四会话持久复检,以及取消/断连/240秒审计超时/进程恢复检查。
52
+ - 本次按用户决定先发布工程修复。500万处理token上限的对照长测继续使用已冻结 RC.15;序列质量收益、实验节省及成本验收尚未完成,本版不宣称这些产品收益达标。历史失败记录保留,正式验证计划见 [预注册](docs/optimization/0.5.2-plan/pr23-preregistration.zh-CN.md)。
53
+
54
+
7
55
  ### Added
8
56
 
9
57
  - 案例[和裸模型对照](docs/cases/bare-model-ab.zh-CN.md)(中英两份),README 新增「和裸模型比」一节:开发集上的三组对照、两边都看到异常之后的差别,以及两边都没变好的地方。已知缺口里写明这份证据只来自开发集。
package/README.md CHANGED
@@ -22,8 +22,8 @@ ClearAI is an **ontology discovery and exploration platform**, built on two core
22
22
 
23
23
  ```bash
24
24
  # Install (npm package, prebuilt — no build step, no allowBuilds prompt)
25
- dsh plugin --profile web add clearai-dsh@0.5.1
26
- # or in the app: Plugins → Add plugin → clearai-dsh@0.5.1
25
+ dsh plugin --profile web add clearai-dsh@0.5.3
26
+ # or in the app: Plugins → Add plugin → clearai-dsh@0.5.3
27
27
  ```
28
28
 
29
29
  Restart `dsh web`, then pick **ClearAI** in the preset picker at the top of a new session. That is the whole setup. [Full install notes ↓](#install-and-use)
@@ -86,12 +86,12 @@ ClearAI does **not** claim recursive self-improvement. It provides the epistemic
86
86
 
87
87
  **Recommended — install it in the app, with the version pinned:**
88
88
 
89
- In the sidebar open **Plugins → Add plugin**, enter `clearai-dsh@0.5.1`, and install. That is DSH's own plugin manager: it hands what you type to pnpm, checks that the package declares a bundle and is compatible with this host, and applies it live. (The Settings page **插件列表 / Plugins** is the read-only inventory — installing happens on the sidebar's Plugins page.)
89
+ In the sidebar open **Plugins → Add plugin**, enter `clearai-dsh@0.5.3`, and install. That is DSH's own plugin manager: it hands what you type to pnpm, checks that the package declares a bundle and is compatible with this host, and applies it live. (The Settings page **插件列表 / Plugins** is the read-only inventory — installing happens on the sidebar's Plugins page.)
90
90
 
91
91
  **Or from a terminal — the same install:**
92
92
 
93
93
  ```bash
94
- dsh plugin --profile web add clearai-dsh@0.5.1
94
+ dsh plugin --profile web add clearai-dsh@0.5.3
95
95
  ```
96
96
 
97
97
  This installs the prebuilt package from the npm registry. Nothing is compiled on your machine, so there is no `allowBuilds` grant to approve — the plugin is ready the moment the command returns.
package/README.zh-CN.md CHANGED
@@ -22,8 +22,8 @@ ClearAI 是一个**本体发现与探索平台**,核心由两个概念支撑
22
22
 
23
23
  ```bash
24
24
  # 安装(npm 包,预构建——无需构建步骤,不会触发 allowBuilds 授权)
25
- dsh plugin --profile web add clearai-dsh@0.5.1
26
- # 或在应用里:侧栏「插件」→ 添加插件 → clearai-dsh@0.5.1
25
+ dsh plugin --profile web add clearai-dsh@0.5.3
26
+ # 或在应用里:侧栏「插件」→ 添加插件 → clearai-dsh@0.5.3
27
27
  ```
28
28
 
29
29
  重启 `dsh web`,在新建会话顶部的模式选择器里选 **ClearAI** 即可。这就是全部步骤。[完整安装说明 ↓](#安装与使用)
@@ -86,12 +86,12 @@ ClearAI **不**声称递归自我改进。它提供的是自我改进系统所
86
86
 
87
87
  **推荐——在应用里装,并把版本钉住:**
88
88
 
89
- 侧栏打开**「插件」→ 添加插件**,填 `clearai-dsh@0.5.1`,安装。这就是 DSH 自己的插件管理器:它把你填的东西交给 pnpm,校验这个包声明了组合包、与当前宿主兼容,然后当场生效。(设置里的**插件列表**是**只读清单**;安装入口在侧栏那个「插件」页。)
89
+ 侧栏打开**「插件」→ 添加插件**,填 `clearai-dsh@0.5.3`,安装。这就是 DSH 自己的插件管理器:它把你填的东西交给 pnpm,校验这个包声明了组合包、与当前宿主兼容,然后当场生效。(设置里的**插件列表**是**只读清单**;安装入口在侧栏那个「插件」页。)
90
90
 
91
91
  **或者开终端——同一次安装:**
92
92
 
93
93
  ```bash
94
- dsh plugin --profile web add clearai-dsh@0.5.1
94
+ dsh plugin --profile web add clearai-dsh@0.5.3
95
95
  ```
96
96
 
97
97
  从 npm registry 装预构建产物。本机不跑任何编译,因此不需要批准 `allowBuilds` 授权——命令返回时插件就已经可用。
package/brand/README.md CHANGED
@@ -20,11 +20,14 @@ Three meanings in one shape, nothing spare. That is why it was chosen.
20
20
  | `logo-512.png` · `logo-512-dark.png` | the mark, transparent, ink / inverted | README (light / dark) |
21
21
  | `logo-lockup.png` · `logo-lockup-dark.png` | the lockup, ink / inverted | README, npm page |
22
22
  | `build-icons.mjs` | **the generator**: master → the four bitmaps above | re-run it after any change to the master |
23
+ | `social-preview.svg` · `social-preview.png` | **the GitHub repository card image** (1280×640; GitHub requires < 1 MB) | uploaded by hand in *Settings → General → Social preview* |
24
+ | `build-social-preview.mjs` | **the generator**: lockup + claim + the ontology figure → the two files above | re-run it after any change to the brand, the claim or the figure |
23
25
 
24
26
  Bitmaps are never hand-edited: `build-icons.mjs` regenerates the whole set in one command, and a hand-exported file would be a second ledger for the brand.
25
27
 
26
28
  ```bash
27
29
  node brand/build-icons.mjs # needs google-chrome on PATH (headless rasteriser)
30
+ CHROME="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" node brand/build-social-preview.mjs # repo card image
28
31
  ```
29
32
 
30
33
  ## Rules
@@ -34,6 +37,7 @@ node brand/build-icons.mjs # needs google-chrome on PATH (headless rasteris
34
37
  - **The dot stays emerald `#10B981`.** It is a product-semantic colour (the world tree's "adopted / settled"), and does not follow the theme.
35
38
  - **Do not move the dot back to the centre.** A dot at the centre is © and CircleCI (ring plus centre dot — same structure); our dot sits **in the opening**.
36
39
  - **Do not straighten the opening.** An opening pointing due right is just a `c`; angled up-right (centred on −35°) is what makes it recognisable.
40
+ - **The repo card only reads the social preview.** GitHub's topic/search cards scale the image to the container width and clip it at `max-height:275px`, so lockup, title and the one-line claim all sit inside the top 43%; the lower half (ontology figure, loop stages) is decoration that survives being cropped away. README images never appear on a card.
37
41
  - Backgrounds: light `#FBFAF7` (warm paper) / dark `#1C1A18` (warm ink); brand teal `#3E8E7A`.
38
42
 
39
43
  ## What was removed