clearai-dsh 0.5.0 → 0.5.2

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,60 @@ All notable changes to this project are recorded here. The format follows [Keep
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.5.2] — 2026-10-10
8
+
9
+ **知识的适用范围、跨会话复检与可靠审计闭环。**
10
+
11
+ 知识继续以本体和实体图组织:事实、经验、已排除项、缺陷与未解项随发生回灌,取用时检查适用范围。假设来源开放,本体按需建立,简单任务可选择默认模式。
12
+
13
+ ### Fixed
14
+
15
+ - Windows 评估卡目录和文件名采用固定长度 SHA-256,保留原始逻辑 id,兼容历史 card_path。写卡失败保持未知,不能缓存为通过。
16
+ - 审计指纹绑定答案、引用、定义、输入、方法与产物内容;相同材料复用裁决,实质修订重审。审计后重新同步材料与异常,阻止旧裁决关闭已变化的目标。
17
+ - 通过原生日志持久保存派发与子会话关联,进程恢复后复用已完成评估;去掉审计自身记录造成的重复派发,拒绝以“目标已完成”为前置条件的循环判据。
18
+ - 核算复核原因跨会话保留,接受基准不会被重跑观测自动覆盖。仅按独立复检确认的原因恢复;关联负向条目在完整匹配范围内同步为已解释,保留原证据。
19
+ - 范围外变化不撤回原范围的历史事实;缺条件、范围未知及不可比较单位不自动判定适用。结构化范围在索引、预检与实体卡中一致展示。
20
+
21
+ ### Added
22
+
23
+ - 最终答案可用 uses 声明直接依据,立题引用与确认的实际复用分开记录。目标文档与评估者任务书展示已登记引用、适用性和复检对象。
24
+ - 真实 DSH 隔离 headless 驱动、模型和 preset 校验、主/子会话用量核对、读隔离探针、故障恢复测试、冻结的配对序列与盲评流程。
25
+
26
+ ### Migration and validation
27
+
28
+ - STATE_VERSION 21 从原账本重建投影,不改写历史账本。旧审计指纹不能直接用于新规则结案;不导入实验 RC.6 的不兼容事件日志。
29
+ - RC.15 已通过完整本机工程套件(含真实宿主/客户端、无跳过)、Windows Node24 审计回归、历史安装升级与卸载重装、真实界面、四会话持久复检,以及取消/断连/240秒审计超时/进程恢复检查。
30
+ - 本次按用户决定先发布工程修复。500万处理token上限的对照长测继续使用已冻结 RC.15;序列质量收益、实验节省及成本验收尚未完成,本版不宣称这些产品收益达标。历史失败记录保留,正式验证计划见 [预注册](docs/optimization/0.5.2-plan/pr23-preregistration.zh-CN.md)。
31
+
32
+
33
+ ### Added
34
+
35
+ - 案例[和裸模型对照](docs/cases/bare-model-ab.zh-CN.md)(中英两份),README 新增「和裸模型比」一节:开发集上的三组对照、两边都看到异常之后的差别,以及两边都没变好的地方。已知缺口里写明这份证据只来自开发集。
36
+
37
+ ### Fixed
38
+
39
+ - GitHub Release 说明里的相对链接点不开:`tools/changelog-section.mjs` 把正文里的相对链接改写成指向本版 tag 的绝对地址。
40
+
41
+ ## [0.5.1] — 2026-10-08
42
+
43
+ 这一版让本体与认识论在每一次决策中起作用:立题时写本体,本体给出候选假设与预测,未解释项影响结论,会改变答案的事项都处理了才能结案。界面新增「探索」一格,「本体」一格只放结果。设计与计划见 [docs/optimization/0.5.1-plan/](docs/optimization/0.5.1-plan/upgrade-plan.zh-CN.md);起因见[真宿主第一对复盘](docs/optimization/0.5.1-plan/pair1-review.zh-CN.md)。开发集长测没有通过止损线:测量门与停止检查从未触发,漂移纠正 2/4、耦合结构 1/8,成本为裸模型的 4.8–7.2 倍,见[记录](docs/optimization/sim-runs/2026-10-08-0.5.1-dev/README.md)与[已知缺口](docs/known-gaps.zh-CN.md)。
44
+
45
+ ### Added
46
+
47
+ - **立题时写本体**:`Frame` 接收 `ontology.concepts` 与 `ontology.relations`,由内核按现有格式校验后写入 `clear/ontology/`,模型不必另行写文件。新增配置 `requireMeasures`(内核默认关,ClearAI 预设打开):第一次立题时本体须至少有一个度量,每个度量都须是某条带核对方式(`check`)的测量关系的值域,缺了就拒并列出缺项。
48
+ - **问题、调研板块与工作方式**:`Frame` 新增 `mode`(广度调研 / 定向求解 / 先调研后求解)、`questions`、`areas`;判断新增 `question`(属于哪个问题)与 `from`(由本体中哪条关系提出,或直觉)。不写问题时,整个目标就是唯一的问题。
49
+ - **按候选写预测**:步骤新增 `serves`(服务哪个问题或板块)与 `predictions`(按候选假设分别写);`RevisePlan(action="expect")` 可只给 `predictions`。卡上的下一步列出各候选的预测,预测相同时说明此步骤无法区分它们;本体中已有、却没有候选覆盖的影响关系列在卡上。
50
+ - **未解释项的 `touches`**:登记时写明涉及哪些量、候选或事实。指向某条已确立事实的未解释项,使该事实显示为「待核验」,直到该项被解释或排除。
51
+ - **结论四部分与停止检查**:`Conclude` 新增按问题填写的 `answers`(结论 / 依据 / 尚未确定的事项 / 待您决策,或写明未回答的原因)。新增配置 `requireAnswers`(内核默认关,ClearAI 预设打开):以达成结案前,每个问题须有结论或未回答的原因,仍在考察中的候选、开着的未解释项、新发现或暂缓的问题须写进「尚未确定的事项」,否则拒并列出缺项。只检查是否写了,不判断写得对不对。
52
+ - **「探索」一格**:课题与标签、待您处理、调研板块、各问题的候选假设(考察中 / 已排除 / 已采纳 / 暂不考察)、下一步与各候选的预测、未解释的现象,以及默认折叠的过程记录(判断、计划的步骤与门)。新发现的问题带「立为问题 / 暂缓」按钮,只替人向模型发一句话,不写状态。`STATE_VERSION` 19(派生多了 `exploration`)。
53
+
54
+ ### Changed
55
+
56
+ - **「本体」一格只放结果**:各问题的结论卡、本体图与实体图、已确立的事实、经验。判断的计数、进度轨与全部判断移到探索的过程记录。
57
+ - **右栏「世界树」撤销**,计划并入探索的过程记录;计划芯片显示「问题 i/n · 待检验假设 k 个」或「板块 x/y」,点一下打开探索。
58
+ - **提示词**:循环改为「问题 → 本体 → 候选假设与预测 → 检验 → 证据 → 结论」,本体从末尾移到开头;删去「`clear/` 归系统」与写本体要求之间的矛盾;最后答复按结论四部分写。独立评估只用于答案所依赖的证据、升格与结案。
59
+ - **用语**:界面、运行态卡、工具说明、报错与审批选项统一为客观、完整的书面中文(如「预期」改为「预测」,「人放行」改为「人工批准」,「自己检验」改为「自行检验」)。旧选项文字作答仍然有效。卡上不再重复「先在 clear/ontology/ 下写概念」的提醒。
60
+
7
61
  ## [0.5.0] — 2026-10-08
8
62
 
9
63
  这一版是 0.5 升级的阶段一与阶段二:预期与未解释项、评估者查数据可信、不可逆命令拦在执行前、三档等级、经验与本体分类,宿主下界提到 DSH 0.2。
package/README.md CHANGED
@@ -16,14 +16,14 @@
16
16
  ClearAI is an **ontology discovery and exploration platform**, built on two core concepts:
17
17
 
18
18
  - **Domain ontology** (what you get) — your project's own vocabulary, the knowledge entries established through the loop, and their graphs. At the end of a research session you hold a continuously growing knowledge structure, retrievable next round by concept.
19
- - **Epistemic loop** (how you get it) — question → judgement (state what would prove it wrong) → a test that could fail → evidence → bounded conclusion → grows into the ontology. Every edge is tested by evidence and independent evaluation.
19
+ - **Epistemic loop** (how you get it) — question → ontology (how the relevant quantities are measured and how they affect each other) → candidate hypotheses with their predictions → a test that could fail → evidence → bounded conclusion → grows into the ontology. Every edge is tested by evidence and independent evaluation.
20
20
 
21
21
  > Other knowledge graphs pile up edges by extraction and assertion; here every edge has to be earned through the loop.
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.0
26
- # or in the app: Plugins → Add plugin → clearai-dsh@0.5.0
25
+ dsh plugin --profile web add clearai-dsh@0.5.2
26
+ # or in the app: Plugins → Add plugin → clearai-dsh@0.5.2
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)
@@ -57,6 +57,7 @@ Most agent loops track one thing: whether the task is done. The Epistemic Loop a
57
57
  | Completion | The model declares it | The system computes it from delivered evidence |
58
58
  | Verdict | Whoever did it, says so | Separated — above a level, the doer cannot judge themselves |
59
59
  | Failure | Deleted, retried, forgotten | Kept: a refuted hypothesis is a result, not noise |
60
+ | Stopping | The model feels it is done | Every candidate and anomaly that could change the answer is handled, or written into the open points |
60
61
  | What accumulates | A chat transcript | **An ontology**: every edge earned through the loop |
61
62
 
62
63
  <picture>
@@ -66,6 +67,13 @@ Most agent loops track one thing: whether the task is done. The Epistemic Loop a
66
67
 
67
68
  *Inside the ring is the instrument's read-out: the L0–L4 axis, the **pre-registered** threshold as a dashed line, and five observations with error bars — the supported one filled, the inconclusive drawn as a dashed circle, the refuted left in place with a slash through it (nothing is deleted). The emerald dot at the opening is the one reading that crossed the threshold and settled as a fact.*
68
69
 
70
+ In the loop the ontology comes first, not last:
71
+
72
+ - **The ontology is written at framing.** Which quantities the answer involves, what measures each one, how the reading is checked, and how the quantities affect each other are written in one go with the framing. A measure with no measuring method cannot be framed.
73
+ - **The ontology yields the candidates.** Each question lists at least two candidate hypotheses, each naming the relation it comes from; before each step the model writes a prediction per candidate, and a step that predicts the same for all of them is flagged as unable to tell them apart.
74
+ - **Anomalies need a destination.** A reading that does not fit the prediction or the ontology becomes an unexplained item: explained, ruled out with a reason, or written into the answer. One that touches an established fact sends that fact back to awaiting check.
75
+ - **Answers are delivered per question.** Each in four parts: conclusion / basis / open points / for you to decide. While a candidate still under examination or an open unexplained item is missing from the answer, the goal cannot close as achieved.
76
+
69
77
  State is derived from the session record with no second store; the tools the model holds contain no field in which it could declare a step complete, and a goal completes only after independent evaluation. ClearAI does only what the host cannot — the epistemic contract, the domain ontology, presentation; goal continuation, subagents, asking you, deliverable cards and file history all come from DSH itself.
70
78
 
71
79
  ClearAI does **not** claim recursive self-improvement. It provides the epistemic substrate a self-improving system would need. See [Positioning](docs/positioning.md) and the [OpenRSI survey](docs/research-openrsi.md).
@@ -78,12 +86,12 @@ ClearAI does **not** claim recursive self-improvement. It provides the epistemic
78
86
 
79
87
  **Recommended — install it in the app, with the version pinned:**
80
88
 
81
- In the sidebar open **Plugins → Add plugin**, enter `clearai-dsh@0.5.0`, 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.2`, 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.)
82
90
 
83
91
  **Or from a terminal — the same install:**
84
92
 
85
93
  ```bash
86
- dsh plugin --profile web add clearai-dsh@0.5.0
94
+ dsh plugin --profile web add clearai-dsh@0.5.2
87
95
  ```
88
96
 
89
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.
@@ -123,13 +131,13 @@ Restart `dsh web` afterwards (`npx @deepseek-ai/dsh web`), then **create a sessi
123
131
  1. Open `dsh web` and click "New session";
124
132
  2. Click the current mode name at the top (default: **Standard mode**) to open the preset list;
125
133
  3. Pick **ClearAI** — its card reads "利用认识论循环构建可信本体。Build a trustworthy ontology through the epistemic loop.";
126
- 4. Just ask your question. Ordinary Q&A runs as usual; once a goal is set and judgements are registered, the system enters knowledge mode by itself: what is already known comes to you, and conclusions earn their place through evidence. Only decisions only you can make are put to you.
134
+ 4. Just ask your question. Ordinary Q&A runs as usual; once a goal is set, the system enters knowledge mode by itself: what is already known comes to you, the ontology is written with the framing, and conclusions earn their place through evidence. The process is in the Explore pane, the conclusions in the Ontology pane. Only decisions only you can make are put to you.
127
135
 
128
136
  <picture>
129
137
  <img src="docs/shots/en/jepa-ontology.png" alt="The Ontology pane in ClearAI mode" width="820">
130
138
  </picture>
131
139
 
132
- *The Ontology pane after the [JEPA world model](docs/cases/jepa-world-model.md) session: the question, the progress rail, the graph, and the conclusions grouped by status.*
140
+ *The Ontology pane after the [JEPA world model](docs/cases/jepa-world-model.md) session (0.5.0 layout; from 0.5.1 the progress rail and the full judgment list move to the process record in the Explore pane, and the Ontology pane holds answer cards, graphs, established facts and lessons).*
133
141
 
134
142
  If pnpm is not on PATH: `npm install -g pnpm` (do not `corepack enable` — it installs a version forwarder that may download a pnpm it cannot launch).
135
143
 
@@ -148,11 +156,11 @@ node docs/diagrams/build-hero.mjs # redraw the product hero (needs google-chro
148
156
 
149
157
  ## What it looks like
150
158
 
151
- One pane in the middle: **Ontology**. One pane on the right: **World Tree**. Next to the input box: "to handle N".
159
+ Two panes in the middle: **Explore** and **Ontology**. Explore holds the process; Ontology holds only results. The plan chip next to the input box shows exploration progress ("Question 1/2 · hypotheses to test: 2" or "Areas 3/6 · 1 question(s) awaiting your decision"); click it to open Explore.
152
160
 
153
- **Ontology** — one page for your four questions. At the top: the question, one line of counts, anything you need to handle ("to handle"), and a small progress rail: judgment → test → verified → in ontology. In the middle, the **graph**: the ontology graph (what your domain looks like) and the entity graph (the concrete things found) toggle with one click, and clicking a node filters by it. Below, the **conclusion list**, one line each, grouped by status: verified, awaiting check, testing, uncertain, refuted, replaced; open one to see which station it reached, how its trust changed, and its basis and scope. Two contradictory conclusions light up; retracting or keeping is your call.
161
+ **Explore** — what is being answered, which possibilities are still open, and what comes next. The header gives the topic and mode (survey / solve), the current question and plan progress. Below come the items awaiting you, the survey areas (in survey mode), each question's candidate hypotheses (being examined / excluded / adopted / set aside; open one for its source, refutation condition, prediction and related records), the next step with each candidate's prediction (with a note when the predictions are identical and the step cannot tell them apart), and unexplained observations. A newly found question carries two buttons, "Make it a question" and "Park"; pressing one sends a sentence to the model on your behalf, and the model revises the framing. At the bottom, a collapsed **process record**: judgment counts and the progress rail, every judgment, and the plan's steps and gates.
154
162
 
155
- **World Tree** — the plan's steps and gates, one line per step; open one to see which judgments it tested and what came out.
163
+ **Ontology** — conclusions and long-term knowledge. At the top, an **answer card** per question in four parts: conclusion / basis / open points / for you to decide. In the middle, the **graph**: the ontology graph (what your domain looks like) and the entity graph (the concrete things found) toggle with one click, and clicking a node filters by it. Below, the **established facts** and **lessons**. Two contradictory conclusions light up; retracting or keeping is your call.
156
164
 
157
165
  **Deliverables** — at close, the artefacts accepted for each step appear as DSH's native deliverable cards; what changed each turn is in DSH's native change cards.
158
166
 
@@ -172,12 +180,29 @@ One pane in the middle: **Ontology**. One pane on the right: **World Tree**. Nex
172
180
 
173
181
  ---
174
182
 
183
+ ## Against the bare model
184
+
185
+ Same model, same tools and budget: one arm runs with ClearAI, one without it, on the same tasks with planted traps, graded blind. These are early dev-set results for 0.5.0 (the developers wrote the tasks, and the samples are small), not a formal validity result; the 0.5.1 comparison is not finished yet.
186
+
187
+ | Experiment | ClearAI | Bare model |
188
+ |---|---|---|
189
+ | Reactor task: the control thermocouple drifts 8 °C mid-run, 4 runs each | 3/4 found it and corrected for the actual temperature | 1/4 |
190
+ | One rig, 3 lines in a row: the drift changes direction and onset each time, 3 series each | 5/6 corrected in the later tasks; task-3 mean 1.5 / 4 | 1/6; 1.17 / 4 |
191
+ | Electrolyte task: no data trap, 4 runs each | 2.25 / 5 | 2.25 / 5 |
192
+
193
+ Both arms **saw** the reference reading disagree. The difference is what came next. With ClearAI, the model writes a prediction before acting. A missed prediction cannot be explained away: it must be explained, ruled out with a reason, or handed to a person. An independent evaluator then checks the raw data again. Lessons left by an earlier task, once an evaluator has checked them, get cited when the next task writes its predictions.
194
+
195
+ What did not improve for either arm is exploration depth. Recipes landed just as far from the true optimum, and nobody found the coupling between temperature and a second factor. The cost is about 2.2× the tokens. The candidate hypotheses, per-candidate predictions and stop check in 0.5.1 target exactly this. The walkthrough and the graders' words are in [Case: against the bare model](docs/cases/bare-model-ab.md); every record is in [docs/optimization/sim-runs/](docs/optimization/sim-runs/).
196
+
197
+ ---
198
+
175
199
  ## Cases
176
200
 
177
- Both are real-model sessions run end to end without asking anything; the screenshots replay them in real DSH.
201
+ The first two are real-model sessions run end to end without asking anything; the screenshots replay them in real DSH. The third is a simulated A/B against the bare model.
178
202
 
179
203
  - [JEPA world models](docs/cases/jepa-world-model.md): a literature review, a toy experiment judged by an independent evaluator, and an ontology of 21 concepts, 8 relations and 27 entities
180
204
  - [Was Navier–Stokes solved?](docs/cases/navier-stokes.md): two popular claims refuted and kept, an intake rejection handled honestly, and an ontology of 24 concepts, 13 relations and 59 entities
205
+ - [Against the bare model](docs/cases/bare-model-ab.md): on the same drifting bench rig, how ClearAI and the bare model each handle a reference reading that disagrees (dev set, blind graded)
181
206
 
182
207
  ---
183
208
 
package/README.zh-CN.md CHANGED
@@ -16,14 +16,14 @@
16
16
  ClearAI 是一个**本体发现与探索平台**,核心由两个概念支撑:
17
17
 
18
18
  - **领域本体**(你得到什么)——项目自己的词汇、经循环确立的知识条目、以及它们的图。研究结束时你拿到一个持续生长的知识结构,下一轮按概念检索。
19
- - **认识论循环**(你怎么得到它)——问题 → 判断(写明怎样算错)→ 一次可能失败的检验 → 证据 → 带范围的结论 → 长进本体。每条边都要经过证据与独立评估的检验。
19
+ - **认识论循环**(你怎么得到它)——问题 → 本体(相关的量如何测量、如何相互影响)→ 候选假设与各自的预测 → 一次可能失败的检验 → 证据 → 带范围的结论 → 长进本体。每条边都要经过证据与独立评估的检验。
20
20
 
21
21
  > 别的知识图谱靠抽取与断言堆边;这里的每一条边都要通过循环挣得。
22
22
 
23
23
  ```bash
24
24
  # 安装(npm 包,预构建——无需构建步骤,不会触发 allowBuilds 授权)
25
- dsh plugin --profile web add clearai-dsh@0.5.0
26
- # 或在应用里:侧栏「插件」→ 添加插件 → clearai-dsh@0.5.0
25
+ dsh plugin --profile web add clearai-dsh@0.5.2
26
+ # 或在应用里:侧栏「插件」→ 添加插件 → clearai-dsh@0.5.2
27
27
  ```
28
28
 
29
29
  重启 `dsh web`,在新建会话顶部的模式选择器里选 **ClearAI** 即可。这就是全部步骤。[完整安装说明 ↓](#安装与使用)
@@ -57,6 +57,7 @@ dsh plugin --profile web add clearai-dsh@0.5.0
57
57
  | 完成 | 模型宣布完成 | 系统按交付的证据算出来 |
58
58
  | 裁决 | 谁做的谁说了算 | 分离——超过一定等级,做的人不能判自己 |
59
59
  | 失败 | 删掉、重来、忘掉 | 留下:被推翻的命题是结果,不是噪声 |
60
+ | 停止 | 模型觉得差不多了 | 会改变答案的候选与反常都已处理,或写进「尚未确定的事项」 |
60
61
  | 沉淀 | 一段聊天记录 | **一个本体**:本体中的每个关系都有来源和验证记录 |
61
62
 
62
63
  <picture>
@@ -66,6 +67,13 @@ dsh plugin --profile web add clearai-dsh@0.5.0
66
67
 
67
68
  *环内是这台仪器的读数面:横轴是 L0–L4 七个等级,那条虚线是**事先登记进判据**的阈值;五个观测各带误差棒——被支持的填实、无法判定的画虚圈、被推翻的留在原位打一道斜杠(什么都不删)。开口处那颗 emerald 是唯一越过判据、落定成事实的读数。*
68
69
 
70
+ 循环里本体在前,不在后:
71
+
72
+ - **立题时写本体。** 答案涉及哪些量、各由什么测量、读数如何核对、量之间如何相互影响,随立题一次写入。缺测量方式的度量,不能立题。
73
+ - **本体给出候选。** 每个问题列出至少两个候选假设,注明由哪条关系提出;每一步动手前按候选分别写预测,预测都一样的步骤会被指出无法区分它们。
74
+ - **反常要有去处。** 和预测或本体对不上的读数记成未解释项:被解释、写明理由排除,或写进结论;指向已确立事实的未解释项会让那条事实回到「待核验」。
75
+ - **结论按问题交付。** 每个问题四部分:结论 / 依据 / 尚未确定的事项 / 待您决策。仍在考察中的候选和开着的未解释项没写进结论,就不能以「达成」结案。
76
+
69
77
  状态从会话记录派生,没有第二份存储;模型的工具里没有可以宣告某一步完成的字段,目标也只能在独立评估通过后完成。ClearAI 只做宿主做不了的那部分——认识论契约、领域本体、呈现;目标续跑、子代理、问人、交付卡片、文件历史都用 DSH 原生的。
70
78
 
71
79
  ClearAI **不**声称递归自我改进。它提供的是自我改进系统所需要的认识论底座。详见[定位](docs/positioning.zh-CN.md)与[OpenRSI 调研](docs/research-openrsi.md)。
@@ -78,12 +86,12 @@ ClearAI **不**声称递归自我改进。它提供的是自我改进系统所
78
86
 
79
87
  **推荐——在应用里装,并把版本钉住:**
80
88
 
81
- 侧栏打开**「插件」→ 添加插件**,填 `clearai-dsh@0.5.0`,安装。这就是 DSH 自己的插件管理器:它把你填的东西交给 pnpm,校验这个包声明了组合包、与当前宿主兼容,然后当场生效。(设置里的**插件列表**是**只读清单**;安装入口在侧栏那个「插件」页。)
89
+ 侧栏打开**「插件」→ 添加插件**,填 `clearai-dsh@0.5.2`,安装。这就是 DSH 自己的插件管理器:它把你填的东西交给 pnpm,校验这个包声明了组合包、与当前宿主兼容,然后当场生效。(设置里的**插件列表**是**只读清单**;安装入口在侧栏那个「插件」页。)
82
90
 
83
91
  **或者开终端——同一次安装:**
84
92
 
85
93
  ```bash
86
- dsh plugin --profile web add clearai-dsh@0.5.0
94
+ dsh plugin --profile web add clearai-dsh@0.5.2
87
95
  ```
88
96
 
89
97
  从 npm registry 装预构建产物。本机不跑任何编译,因此不需要批准 `allowBuilds` 授权——命令返回时插件就已经可用。
@@ -124,13 +132,13 @@ Git 拉的是源码而不是构建产物,所以 pnpm ≥10 会拒绝运行 `pr
124
132
  1. 打开 `dsh web`,点「新建会话」;
125
133
  2. 点顶部当前的模式名(默认是「标准模式」),展开预设列表;
126
134
  3. 选 **ClearAI**——卡片描述就一句:「利用认识论循环构建可信本体。Build a trustworthy ontology through the epistemic loop.」;
127
- 4. 像平常一样提问。普通问答照常走;一旦立了目标、登记了判断,系统自动进入知识模式:已知送上来,结论过证据才准入。只有你能做的决定才会来问你。
135
+ 4. 像平常一样提问。普通问答照常走;一旦立了目标,系统自动进入知识模式:已知送上来,本体随立题写下,结论过证据才准入。过程在「探索」一格看,结论在「本体」一格看。只有你能做的决定才会来问你。
128
136
 
129
137
  <picture>
130
138
  <img src="docs/shots/zh/jepa-ontology.png" alt="ClearAI 模式下的「本体」一格" width="820">
131
139
  </picture>
132
140
 
133
- *[JEPA 世界模型](docs/cases/jepa-world-model.zh-CN.md)那场会话之后的「本体」一格:问题、进度轨、图,以及按状态分组的结论。*
141
+ *[JEPA 世界模型](docs/cases/jepa-world-model.zh-CN.md)那场会话之后的「本体」一格(0.5.0 布局;0.5.1 起,进度轨与全部判断移到「探索」一格的过程记录,「本体」一格改为结论卡、图、已确立的事实与经验)。*
134
142
 
135
143
  如果 PATH 上没有 pnpm:`npm install -g pnpm`(别用 `corepack enable`——它装的是版本转发器,可能下载一个自己启动不了的 pnpm)。
136
144
 
@@ -149,11 +157,11 @@ node docs/diagrams/build-hero.mjs # 重画产品主图(需 google-chrome)
149
157
 
150
158
  ## 它长什么样
151
159
 
152
- 中栏一格:**本体**。右栏一格:**世界树**。输入框旁边是「待处理 N」。
160
+ 中栏两格:**探索**与**本体**。探索记录过程,本体只放结果。输入框旁边的计划芯片显示探索进度(「问题 1/2 · 待检验假设 2 个」或「板块 3/6 · 1 个问题待您决定」),点一下打开探索。
153
161
 
154
- **本体**——一页回答你的四个问题。最上面一行问题、一行计数、要你处理的事(「待处理」),和一条小进度轨:判断 → 检验 → 已验证 → 入本体。中间是**图**:本体图(你的领域长什么样)与实体图(找到了哪些具体东西)一键切换,点节点即按它过滤。下面是**结论清单**,一条一行,按状态分组:已验证、待核验、验证中、不确定、已推翻、已替换;点开一条看它走到了哪一站、可信度怎么变过来的、依据与范围。互相矛盾的两条会亮出来,撤回或维持由你决定。
162
+ **探索**——当前在回答什么、还有哪些可能未被排除、下一步做什么。页眉是课题与阶段(广度调研 / 定向求解)、当前问题、计划进度;下面依次是待您处理的事项、调研板块(广度调研时)、每个问题的候选假设(考察中 / 已排除 / 已采纳 / 暂不考察,点开看提出依据、推翻条件、预测与关联记录)、下一步及各候选的预测(预测相同时说明此步骤无法区分它们)、未解释的现象。新发现的问题带「立为问题 / 暂缓」两个按钮,按下即替您向模型发一句话,由模型修订立题。最下面是默认折叠的**过程记录**:判断的计数与进度轨、全部判断、计划的步骤与门。
155
163
 
156
- **世界树**——计划的步骤与门,每步一行,点开看它检验了哪条判断、结果是什么。
164
+ **本体**——结论与长期知识。最上面是各问题的**结论卡**,四部分:结论 / 依据 / 尚未确定的事项 / 待您决策。中间是**图**:本体图(你的领域长什么样)与实体图(找到了哪些具体东西)一键切换,点节点即按它过滤。下面是**已确立的事实**与**经验**。互相矛盾的两条会亮出来,撤回或维持由您决定。
157
165
 
158
166
  **交付**——结案时,各步收下的产物以 DSH 原生交付卡片出现;每轮改了哪些文件,看 DSH 原生的改动卡片。
159
167
 
@@ -173,12 +181,29 @@ node docs/diagrams/build-hero.mjs # 重画产品主图(需 google-chrome)
173
181
 
174
182
  ---
175
183
 
184
+ ## 和裸模型比
185
+
186
+ 同一个模型、同样的工具和预算,一边开 ClearAI、一边不开,做同一批埋了陷阱的题,盲评。这是 0.5.0 在开发集上的初步结果(题目是开发方出的,样本小),不是正式的有效性结论;0.5.1 的对照尚未跑完。
187
+
188
+ | 实验 | ClearAI | 裸模型 |
189
+ |---|---|---|
190
+ | 反应器题:控温热电偶中途漂移 8 °C,各 4 组 | 3/4 发现并按实际温度纠正 | 1/4 |
191
+ | 同一装置连做 3 条线:漂移每条都换方向和起点,各 3 个序列 | 后两题纠正 5/6,第 3 题均分 1.5 / 4 | 1/6,1.17 / 4 |
192
+ | 电解液题:没有数据陷阱,各 4 组 | 2.25 / 5 | 2.25 / 5 |
193
+
194
+ 两边都**看到**了参考读数对不上,差别在看到之后:ClearAI 动手前写下预测,落空的地方不能被解释过去,只能被解释、写明理由排除或交给人;独立评估者再查一遍原始数据。前一题留下、经评估者核过的经验,下一题写预测时会被点名用上。
195
+
196
+ 两边都没变好的是探索深度:配方离真最优一样远,都没找到温度与另一个因素的耦合。代价是约 2.2 倍 token。0.5.1 的候选假设、按候选预测与结案前的停止检查,针对的正是这一项。过程与原话见[案例:和裸模型对照](docs/cases/bare-model-ab.zh-CN.md),全部记录在 [docs/optimization/sim-runs/](docs/optimization/sim-runs/)。
197
+
198
+ ---
199
+
176
200
  ## 案例
177
201
 
178
- 两个都是真模型从头跑到尾、中途没问人的会话;截图是在真 DSH 里回放它们拍的。
202
+ 前两个是真模型从头跑到尾、中途没问人的会话,截图是在真 DSH 里回放它们拍的;第三个是和裸模型的模拟对照。
179
203
 
180
204
  - [JEPA 世界模型](docs/cases/jepa-world-model.zh-CN.md):文献综述、交给独立评估者判的玩具实验,以及 21 个概念、8 种关系、27 个实体的本体
181
205
  - [Navier–Stokes 被解决了吗?](docs/cases/navier-stokes.zh-CN.md):两条流行说法被推翻并保留,一次准入被拦后如实处理,以及 24 个概念、13 种关系、59 个实体的本体
206
+ - [和裸模型对照](docs/cases/bare-model-ab.zh-CN.md):同一台会漂的小试装置上,ClearAI 与裸模型各自怎么对待一个对不上的参考读数(开发集,盲评)
182
207
 
183
208
  ---
184
209
 
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