clearai-dsh 0.5.7 → 0.5.9

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
@@ -2,6 +2,38 @@
2
2
 
3
3
  All notable changes to this project are recorded here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4
4
 
5
+ ## [0.5.9] — 2026-11-06
6
+
7
+ - Keep inline objects as historical text and the Research/Ontology panes as independent native tabs. Exclude unsupported cross-pane navigation rather than displaying fallback controls; render evidence actions only when the host provides them.
8
+ - Refine the research timeline and both panels with shared typography, restrained status accents, compact object links, and quieter expandable provenance.
9
+ - Defer view registration until the previous Session binding is released; confirm native message receipt before reporting a sent request, and reject stale-session actions.
10
+
11
+ - Add a separate, versioned UI projection of committed research events and official DSH Chat node rendering. Hypotheses, structural definitions, entity assertions, validation, review handoffs and outcomes retain their source sequence and evidence entry points.
12
+ - Deduplicate the kernel's tool-result and internal fact channels. Display records are absent from model prompts; replay runs without model calls. Native execution, controls, questions and subagent views remain host-owned.
13
+ - Explain consequential findings in existing replies and distinguish received requests from committed scope changes. Preserve historical records when hypotheses change.
14
+ - Validate one native end-to-end task with real DeepSeek execution and independent evaluation: 35 calls, verified usage, USD 0.056577348 new modeled cost. Retain the first invalid audit and retry; cumulative historical spending reservations remain charged.
15
+ - Add a deterministic example replay in an isolated real DSH profile, screenshots and video. This is example evidence, not a real research result or a completed release gate. See `docs/optimization/0.5.9/README.md` for remaining validation.
16
+
17
+ ## [0.5.8] — 2026-11-06
18
+
19
+ **DSH 0.2.2-rc.1 兼容性、可复核审计与完整性检测,以及研究 / 本体双面板和图谱升级。**
20
+
21
+ ### Changed
22
+
23
+ - 移除失效的 list-agents 子入口与旧派遣 API 分支,统一独立评估者预设和 startActivation。
24
+ - 审计材料统一工作区路径与完整内容摘要;不可读取的材料不缓存裁决。L3/L4 支持性裁决要求文件行引用及逐项判据结果。
25
+ - 宿主持久记录权威写入,检查知识与评估文件的未登记写入、修改、删除和链接替换;异常文件保留。此机制不是操作系统隔离,也不保证发现检查前恢复的修改或外部副作用。
26
+ - 复跑副本异步复制、递归过滤工具缓存,输出文件数、字节数和耗时,失败明确阻止依赖复跑的裁决。
27
+ - 研究面板突出问题、候选、下一步和异常;本体按地图、依据、知识展开。统一主题与排版,升级概念、实体、取值、边、搜索、列表、邻域与窄屏详情交互。
28
+
29
+ - 非法 ClearAI 工具 JSON 保留原文并进入工具拒绝反馈,允许模型重新提交;不推测或执行损坏参数,不吞掉取消和其他传输错误。
30
+
31
+ ### Validation
32
+
33
+ - Linux Node 22/24、Windows Node 24、安装生命周期、原生 DSH 中英文页面与图谱性能检查通过;首次挂载和无关投影更新不再重复布局。
34
+ - 快速闭环、305 秒慢评估、取消、断连与原目标恢复通过。按用户授权,以首场配对验收替代六场发布门槛;两次提前停止、续跑和全部费用保留。首场结果接近,ClearAI 费用和耗时更高,不宣称效率优势。
35
+ - 全批次费用上界 $2.124891428,包含未知标题调用的完整 $0.80 预留;每测试 $5、全批次 $30 上限不变。详见 [0.5.8 验收记录](docs/optimization/0.5.8-release/README.md)。
36
+
5
37
  ## [0.5.7] — 2026-10-24
6
38
 
7
39
  **暗色模式下本体图的缩放控件看得清了;会话在跑时图上的关系文字不再闪。**
package/README.md CHANGED
@@ -16,25 +16,27 @@
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 → 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.
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. L3/L4 supporting verdicts require independent evaluation with file references and criterion results. Vocabulary and structural edges are definitions, not independently verified claims.
20
20
 
21
- > Other knowledge graphs pile up edges by extraction and assertion; here every edge has to be earned through the loop.
21
+ > Keep structural definitions distinct from evidence-backed assertions; a valid citation alone does not establish truth.
22
+
23
+ > 0.5.9 uses official DSH research events and independent Research/Ontology tabs. [Release validation](docs/optimization/0.5.9-release/README.md) records the real end-to-end task, costs and limitations.
22
24
 
23
25
  ```bash
24
26
  # Install (npm package, prebuilt — no build step, no allowBuilds prompt)
25
- dsh plugin --profile web add clearai-dsh@0.5.7
26
- # or in the app: Plugins → Add plugin → clearai-dsh@0.5.7
27
+ dsh plugin --profile web add clearai-dsh@0.5.9
28
+ # or in the app: Plugins → Add plugin → clearai-dsh@0.5.9
27
29
  ```
28
30
 
29
31
  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)
30
32
 
31
33
 
32
34
  <picture>
33
- <source media="(prefers-color-scheme: dark)" srcset="docs/diagrams/ontology-hero-dark.png">
34
- <img src="docs/diagrams/ontology-hero.png" alt="The epistemic loop (left) growing a domain ontology (right)" width="1200">
35
+ <source media="(prefers-color-scheme: dark)" srcset="docs/shots/0.5.8/jepa-dark-ontology.png">
36
+ <img src="docs/shots/0.5.8/jepa-en-ontology.png" alt="ClearAI 0.5.8 ontology panel showing the archived JEPA research session" width="1200">
35
37
  </picture>
36
38
 
37
- *Left: the Epistemic Loop. Its emerald fact dot is also the first node of the domain ontology on the right. Right: the ontology graph — dark is a concept, light is a value form, emerald an instance; the instance carries two contradictory assertions — **the two readings are tinted amber**, marking that they do not agree. The system reports the conflict; retracting or keeping is a human decision.*
39
+ *0.5.8 production UI replaying the archived JEPA session. Historical research data, not a new 0.5.8 model result. Structural definitions are distinct from verified assertions. [Screenshot provenance](docs/shots/0.5.8/jepa-en-provenance.json).*
38
40
 
39
41
  ---
40
42
 
@@ -58,7 +60,7 @@ Most agent loops track one thing: whether the task is done. The Epistemic Loop a
58
60
  | Verdict | Whoever did it, says so | Separated — above a level, the doer cannot judge themselves |
59
61
  | Failure | Deleted, retried, forgotten | Kept: a refuted hypothesis is a result, not noise |
60
62
  | Stopping | The model feels it is done | Every candidate and anomaly that could change the answer is handled, or written into the open points |
61
- | What accumulates | A chat transcript | **An ontology**: every edge earned through the loop |
63
+ | What accumulates | A chat transcript | **An ontology**: definitions alongside evidence-linked assertions |
62
64
 
63
65
  <picture>
64
66
  <source media="(prefers-color-scheme: dark)" srcset="docs/diagrams/epistemic-loop-hero-dark.png">
@@ -70,11 +72,11 @@ Most agent loops track one thing: whether the task is done. The Epistemic Loop a
70
72
  In the loop the ontology comes first, not last:
71
73
 
72
74
  - **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.
75
+ - **The ontology yields the candidates.** Exploratory questions should compare alternatives, each naming the relation it comes from (two candidates are guidance, not a universal hard gate); 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
76
  - **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
77
  - **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
78
 
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.
79
+ Task state is derived from the session record; file-integrity receipts are persisted separately by the host; 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.
78
80
 
79
81
  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).
80
82
 
@@ -82,16 +84,16 @@ ClearAI does **not** claim recursive self-improvement. It provides the epistemic
82
84
 
83
85
  ## Install and use
84
86
 
85
- **Requirements:** DSH ≥ `0.2.0-rc.2` (the current `latest`). The preset is registered through a composition declaration line, which is the only way the host's preset registry finds presets. Verified against the host's `0.2.0-rc.2`, and also checked against `0.2.1-alpha.1`. Hosts older than `0.2.0` are no longer supported.
87
+ **Requirements:** DSH ≥ `0.2.2-rc.1`, the target host for 0.5.9. Evaluators use `startActivation` and the dedicated evaluator preset; older dispatch APIs are not supported.
86
88
 
87
89
  **Recommended — install it in the app, with the version pinned:**
88
90
 
89
- In the sidebar open **Plugins → Add plugin**, enter `clearai-dsh@0.5.7`, 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.)
91
+ In the sidebar open **Plugins → Add plugin**, enter `clearai-dsh@0.5.9`, 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
92
 
91
93
  **Or from a terminal — the same install:**
92
94
 
93
95
  ```bash
94
- dsh plugin --profile web add clearai-dsh@0.5.7
96
+ dsh plugin --profile web add clearai-dsh@0.5.9
95
97
  ```
96
98
 
97
99
  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.
@@ -160,29 +162,29 @@ Two panes in the middle: **Explore** and **Ontology**. Explore holds the process
160
162
 
161
163
  **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.
162
164
 
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.
165
+ **Ontology** — knowledge map first, followed by conclusions with their evidence and established knowledge. Switch between structural definitions and entity assertions; use search or the list to select an object, inspect its neighbors and evidence, and read its complete name in details. The map retains the chosen viewport and dragged positions.
164
166
 
165
167
  **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.
166
168
 
167
169
  **Language** — everything the system writes (tool results, the runtime card, questions to you, the files under `clear/`) follows the language you write in, Chinese or English. The panel follows the UI language.
168
170
 
169
171
  <picture>
170
- <img src="docs/shots/en/jepa-ontology-graph.png" alt="The ontology graph, full screen" width="820">
172
+ <img src="docs/shots/0.5.8/jepa-en-ontology.png" alt="ClearAI 0.5.8 ontology panel replaying the JEPA session" width="820">
171
173
  </picture>
172
174
 
173
- *The ontology graph, full screen. The ontology graph and the entity graph come from one deterministic projection of the files under `clear/ontology/`, so the same files always give the same picture.*
175
+ *The current ontology panel, replaying the archived JEPA session. The default zoom keeps labels readable; Overview shows the complete graph. Dense graphs retain all nodes.*
174
176
 
175
177
  <picture>
176
- <img src="docs/shots/en/ns-refuted.png" alt="A refuted judgment, expanded" width="820">
178
+ <img src="docs/shots/0.5.8/jepa-en-explore.png" alt="ClearAI 0.5.8 research panel, replaying the historical JEPA session" width="820">
177
179
  </picture>
178
180
 
179
- *A refuted judgment from the [Navier–Stokes](docs/cases/navier-stokes.md) session: it stopped at the test stage, and the record keeps why.*
181
+ *Research panel: archived JEPA session replayed with the current production build. See [dark](docs/shots/0.5.8/jepa-dark-explore.png), [narrow](docs/shots/0.5.8/jepa-mobile-explore.png) and [entity details](docs/shots/0.5.8/jepa-entity-ontology.png), and [narrow details](docs/shots/0.5.8/jepa-mobile-details-ontology.png).*
180
182
 
181
183
  ---
182
184
 
183
185
  ## Against the bare model
184
186
 
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.
187
+ 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 later 0.5.1 development comparison failed its stop-loss gate (see below).
186
188
 
187
189
  | Experiment | ClearAI | Bare model |
188
190
  |---|---|---|
@@ -196,6 +198,20 @@ What did not improve for either arm is exploration depth. Recipes landed just as
196
198
 
197
199
  ---
198
200
 
201
+ Fully expanded native DSH views: [ontology panorama](docs/shots/0.5.8/jepa-panorama-ontology.png) · [entity panorama](docs/shots/0.5.8/jepa-panorama-entity.png). Historical replay: 24 ontology nodes and 72 entity/value nodes.
202
+
203
+ ### 0.5.8 integrity and verification boundaries
204
+
205
+ The host records content digests and authoritative write origins for facts, lessons, negative entries, audit cards and goals. Workspace synchronization, knowledge reuse, delivery, closure and audit recovery check these receipts. Unexpected changes stop affected trust and progress; original files are preserved. Historical unregistered knowledge is visible but requires fresh verification before trusted reuse. Restore registered content or re-verify the material in a clean workspace; editing a receipt is not verification.
206
+
207
+ This is integrity detection at defined boundaries, not an operating-system sandbox. Shell commands can still write files, a change restored before inspection can escape detection, and effects outside the workspace are not covered. Evaluators rerun in a filtered copy; copy failure prevents criteria requiring a rerun from passing. Audit text limits, model generation budgets and runtime limits are separate controls.
208
+
209
+ Research puts questions and candidates in the main column, with next actions and anomalies beside them; narrow screens use one column. Ontology reads map → conclusions and evidence → established knowledge. Concepts use hollow diamonds, entities solid dots, and literals quiet labels. Search, list selection, neighborhood browsing, dragging, overview and keyboard controls share graph selection; Escape exits fullscreen and narrow details open below the graph.
210
+
211
+ 0.5.8 release evidence and current gate status: [acceptance record](docs/optimization/0.5.8-release/README.md). Engineering checks and small model samples do not prove general correctness or greater efficiency.
212
+
213
+ The later [0.5.1 development comparison](docs/optimization/sim-runs/2026-10-08-0.5.1-dev/README.md) did **not** pass its stop-loss gate: total processed tokens including evaluators were **4.8–7.2×** the bare model. The earlier 0.5.0 result above and this negative result describe different versions and samples. Main-model, evaluator and other model usage must all count; token totals are not dollar bills. For 0.5.8, the user reduced acceptance to the first paired case. The bare model scored 99.98/100 and ClearAI 99.99/100; ClearAI used 20× the processed tokens, 14.6× the estimated peak-rate cost and 12.7× the run time, including two retained stops and continuations. The other two ClearAI cases were deferred. This small result provides no efficiency advantage; see the [full record](docs/optimization/0.5.8-release/first-pair-results.json).
214
+
199
215
  ## Cases
200
216
 
201
217
  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.
package/README.zh-CN.md CHANGED
@@ -16,14 +16,16 @@
16
16
  ClearAI 是一个**本体发现与探索平台**,核心由两个概念支撑:
17
17
 
18
18
  - **领域本体**(你得到什么)——项目自己的词汇、经循环确立的知识条目、以及它们的图。研究结束时你拿到一个持续生长的知识结构,下一轮按概念检索。
19
- - **认识论循环**(你怎么得到它)——问题 → 本体(相关的量如何测量、如何相互影响)→ 候选假设与各自的预测 → 一次可能失败的检验 → 证据 → 带范围的结论 → 长进本体。每条边都要经过证据与独立评估的检验。
19
+ - **认识论循环**(你怎么得到它)——问题 → 本体(相关的量如何测量、如何相互影响)→ 候选假设与各自的预测 → 一次可能失败的检验 → 证据 → 带范围的结论 → 长进本体。L3/L4 支持性裁决需要独立评估、材料引用和逐项判据结果;词汇与结构边是定义,并不代表已验证的主张。
20
20
 
21
- > 别的知识图谱靠抽取与断言堆边;这里的每一条边都要通过循环挣得。
21
+ > 结构定义与有证据支持的断言分开呈现;引用存在不等于内容真实。
22
+
23
+ > 0.5.9 使用 DSH 官方行内研究事件,研究与本体保留独立页签。[发布验收](docs/optimization/0.5.9-release/README.md)记录真实端到端任务、费用与限制。
22
24
 
23
25
  ```bash
24
26
  # 安装(npm 包,预构建——无需构建步骤,不会触发 allowBuilds 授权)
25
- dsh plugin --profile web add clearai-dsh@0.5.7
26
- # 或在应用里:侧栏「插件」→ 添加插件 → clearai-dsh@0.5.7
27
+ dsh plugin --profile web add clearai-dsh@0.5.9
28
+ # 或在应用里:侧栏「插件」→ 添加插件 → clearai-dsh@0.5.9
27
29
  ```
28
30
 
29
31
  重启 `dsh web`,在新建会话顶部的模式选择器里选 **ClearAI** 即可。这就是全部步骤。[完整安装说明 ↓](#安装与使用)
@@ -34,7 +36,7 @@ dsh plugin --profile web add clearai-dsh@0.5.7
34
36
  <img src="docs/diagrams/ontology-hero.zh-CN.png" alt="认识论循环(左)长出领域本体(右)" width="1200">
35
37
  </picture>
36
38
 
37
- *左:认识论循环。绿点是它落定的事实,也是右侧领域本体的第一个节点。右:本体图——深墨是概念,浅墨是值形态,emerald 是实例;实例上挂着两条互相矛盾的断言——**那两个取值染成 amber**,就是「这两条读数对不上」。系统只报出冲突,撤回或维持由人决定。*
39
+ *0.5.8 生产界面回放已归档的 JEPA 真实会话。图中是历史研究数据,不是本版新增模型结果;结构定义与已核验断言分开呈现。[截图来源](docs/shots/0.5.8/jepa-provenance.json)。*
38
40
 
39
41
  ---
40
42
 
@@ -58,7 +60,7 @@ dsh plugin --profile web add clearai-dsh@0.5.7
58
60
  | 裁决 | 谁做的谁说了算 | 分离——超过一定等级,做的人不能判自己 |
59
61
  | 失败 | 删掉、重来、忘掉 | 留下:被推翻的命题是结果,不是噪声 |
60
62
  | 停止 | 模型觉得差不多了 | 会改变答案的候选与反常都已处理,或写进「尚未确定的事项」 |
61
- | 沉淀 | 一段聊天记录 | **一个本体**:本体中的每个关系都有来源和验证记录 |
63
+ | 沉淀 | 一段聊天记录 | **一个本体**:结构定义与有依据的断言并列呈现 |
62
64
 
63
65
  <picture>
64
66
  <source media="(prefers-color-scheme: dark)" srcset="docs/diagrams/epistemic-loop-hero-dark.zh-CN.png">
@@ -70,11 +72,11 @@ dsh plugin --profile web add clearai-dsh@0.5.7
70
72
  循环里本体在前,不在后:
71
73
 
72
74
  - **立题时写本体。** 答案涉及哪些量、各由什么测量、读数如何核对、量之间如何相互影响,随立题一次写入。缺测量方式的度量,不能立题。
73
- - **本体给出候选。** 每个问题列出至少两个候选假设,注明由哪条关系提出;每一步动手前按候选分别写预测,预测都一样的步骤会被指出无法区分它们。
75
+ - **本体给出候选。** 探索问题建议比较多个候选并注明来源关系;至少两个候选是指导原则,并非所有任务的硬门槛;每一步动手前按候选分别写预测,预测都一样的步骤会被指出无法区分它们。
74
76
  - **反常要有去处。** 和预测或本体对不上的读数记成未解释项:被解释、写明理由排除,或写进结论;指向已确立事实的未解释项会让那条事实回到「待核验」。
75
77
  - **结论按问题交付。** 每个问题四部分:结论 / 依据 / 尚未确定的事项 / 待您决策。仍在考察中的候选和开着的未解释项没写进结论,就不能以「达成」结案。
76
78
 
77
- 状态从会话记录派生,没有第二份存储;模型的工具里没有可以宣告某一步完成的字段,目标也只能在独立评估通过后完成。ClearAI 只做宿主做不了的那部分——认识论契约、领域本体、呈现;目标续跑、子代理、问人、交付卡片、文件历史都用 DSH 原生的。
79
+ 任务状态从会话记录派生,文件完整性凭据由宿主另外持久化;模型的工具里没有可以宣告某一步完成的字段,目标也只能在独立评估通过后完成。ClearAI 只做宿主做不了的那部分——认识论契约、领域本体、呈现;目标续跑、子代理、问人、交付卡片、文件历史都用 DSH 原生的。
78
80
 
79
81
  ClearAI **不**声称递归自我改进。它提供的是自我改进系统所需要的认识论底座。详见[定位](docs/positioning.zh-CN.md)与[OpenRSI 调研](docs/research-openrsi.md)。
80
82
 
@@ -82,16 +84,16 @@ ClearAI **不**声称递归自我改进。它提供的是自我改进系统所
82
84
 
83
85
  ## 安装与使用
84
86
 
85
- **要求:** DSH ≥ `0.2.0-rc.2`(当前的 `latest`)。预设靠组合里的声明行注册,宿主的预设名册只认这一种。已在宿主的 `0.2.0-rc.2` 上验过,`0.2.1-alpha.1` 也核过。`0.2.0` 以前的宿主不再支持。
87
+ **要求:** DSH ≥ `0.2.2-rc.1`,这是 0.5.8 的目标宿主。评估者仅使用 `startActivation` 和独立评估者预设,不保留旧派遣 API 分支。
86
88
 
87
89
  **推荐——在应用里装,并把版本钉住:**
88
90
 
89
- 侧栏打开**「插件」→ 添加插件**,填 `clearai-dsh@0.5.7`,安装。这就是 DSH 自己的插件管理器:它把你填的东西交给 pnpm,校验这个包声明了组合包、与当前宿主兼容,然后当场生效。(设置里的**插件列表**是**只读清单**;安装入口在侧栏那个「插件」页。)
91
+ 侧栏打开**「插件」→ 添加插件**,填 `clearai-dsh@0.5.9`,安装。这就是 DSH 自己的插件管理器:它把你填的东西交给 pnpm,校验这个包声明了组合包、与当前宿主兼容,然后当场生效。(设置里的**插件列表**是**只读清单**;安装入口在侧栏那个「插件」页。)
90
92
 
91
93
  **或者开终端——同一次安装:**
92
94
 
93
95
  ```bash
94
- dsh plugin --profile web add clearai-dsh@0.5.7
96
+ dsh plugin --profile web add clearai-dsh@0.5.9
95
97
  ```
96
98
 
97
99
  从 npm registry 装预构建产物。本机不跑任何编译,因此不需要批准 `allowBuilds` 授权——命令返回时插件就已经可用。
@@ -161,29 +163,29 @@ node docs/diagrams/build-hero.mjs # 重画产品主图(需 google-chrome)
161
163
 
162
164
  **探索**——当前在回答什么、还有哪些可能未被排除、下一步做什么。页眉是课题与阶段(广度调研 / 定向求解)、当前问题、计划进度;下面依次是待您处理的事项、调研板块(广度调研时)、每个问题的候选假设(考察中 / 已排除 / 已采纳 / 暂不考察,点开看提出依据、推翻条件、预测与关联记录)、下一步及各候选的预测(预测相同时说明此步骤无法区分它们)、未解释的现象。新发现的问题带「立为问题 / 暂缓」两个按钮,按下即替您向模型发一句话,由模型修订立题。最下面是默认折叠的**过程记录**:判断的计数与进度轨、全部判断、计划的步骤与门。
163
165
 
164
- **本体**——结论与长期知识。最上面是各问题的**结论卡**,四部分:结论 / 依据 / 尚未确定的事项 / 待您决策。中间是**图**:本体图(你的领域长什么样)与实体图(找到了哪些具体东西)一键切换,点节点即按它过滤。下面是**已确立的事实**与**经验**。互相矛盾的两条会亮出来,撤回或维持由您决定。
166
+ **本体**——先读知识地图,再看结论与依据,最后是已确立知识。结构定义与实体断言分层展示;用搜索或列表选择对象,查看邻域、完整名称和证据。图谱保留用户视口与拖动位置。
165
167
 
166
168
  **交付**——结案时,各步收下的产物以 DSH 原生交付卡片出现;每轮改了哪些文件,看 DSH 原生的改动卡片。
167
169
 
168
170
  **语言**——系统自己写的话(工具结果、运行态卡、问你的话、`clear/` 下的文件)都跟着你说话的语言走,中文或英文。面板跟着界面语言。
169
171
 
170
172
  <picture>
171
- <img src="docs/shots/zh/jepa-ontology-graph.png" alt="本体图全屏" width="820">
173
+ <img src="docs/shots/0.5.8/jepa-ontology.png" alt="0.5.8 本体面板回放 JEPA 历史会话" width="820">
172
174
  </picture>
173
175
 
174
- *本体图全屏。本体图与实体图来自 `clear/ontology/` 下文件的同一份确定性投影,同样的文件永远得到同一张图。*
176
+ *当前本体面板:默认保持可读缩放,概览按钮可查看全图;节点不因图谱密集而被截断。数据来自有来源记录的 JEPA 历史会话。*
175
177
 
176
178
  <picture>
177
- <img src="docs/shots/zh/ns-refuted.png" alt="展开一条被推翻的判断" width="820">
179
+ <img src="docs/shots/0.5.8/jepa-explore.png" alt="0.5.8 研究面板回放 JEPA 历史会话" width="820">
178
180
  </picture>
179
181
 
180
- *[Navier–Stokes](docs/cases/navier-stokes.zh-CN.md) 那场会话里一条被推翻的判断:它停在检验这一站,记录留着原因。*
182
+ *研究面板:JEPA 历史会话回放。另见[深色](docs/shots/0.5.8/jepa-dark-explore.png)、[窄屏](docs/shots/0.5.8/jepa-mobile-explore.png)与[实体详情](docs/shots/0.5.8/jepa-entity-ontology.png)、[窄屏详情](docs/shots/0.5.8/jepa-mobile-details-ontology.png)。*
181
183
 
182
184
  ---
183
185
 
184
186
  ## 和裸模型比
185
187
 
186
- 同一个模型、同样的工具和预算,一边开 ClearAI、一边不开,做同一批埋了陷阱的题,盲评。这是 0.5.0 在开发集上的初步结果(题目是开发方出的,样本小),不是正式的有效性结论;0.5.1 的对照尚未跑完。
188
+ 同一个模型、同样的工具和预算,一边开 ClearAI、一边不开,做同一批埋了陷阱的题,盲评。这是 0.5.0 在开发集上的初步结果(题目是开发方出的,样本小),不是正式的有效性结论;0.5.1 后续开发对照未通过止损线。
187
189
 
188
190
  | 实验 | ClearAI | 裸模型 |
189
191
  |---|---|---|
@@ -197,6 +199,20 @@ node docs/diagrams/build-hero.mjs # 重画产品主图(需 google-chrome)
197
199
 
198
200
  ---
199
201
 
202
+ 原生 DSH 全部展开全景:[本体图](docs/shots/0.5.8/jepa-panorama-ontology.png) · [实体图](docs/shots/0.5.8/jepa-panorama-entity.png)。历史回放包含 24 个本体节点、72 个实体与取值节点。
203
+
204
+ ### 0.5.8 完整性与验证边界
205
+
206
+ 宿主持久记录事实、经验、负向条目、评估卡和目标文件的内容摘要与权威写入来源,在工作区同步、知识沿用、交付、结案及审计恢复时核对。异常会停止相关信任和推进,原文件保留。未登记的历史知识可以查看,必须重新核验后才能可信沿用;可恢复已登记内容,或在干净工作区重新核验,修改凭据本身不算核验。
207
+
208
+ 这属于指定边界上的完整性检测,不是操作系统沙箱。任意 shell 仍可能写盘,检查前“修改后恢复”可能无法发现,工作区外部副作用不在保证范围内。评估者使用过滤后的副本复跑;副本失败不能让要求复跑的判据通过。落账字符限制、模型生成预算与运行时长限制是三项不同控制。
209
+
210
+ 研究面板以问题与候选为主栏,下一步与异常为侧栏,窄屏单列;本体面板按知识地图、结论与依据、已确立知识阅读。概念为空心菱形、实体为实心圆点,取值使用轻量标签。搜索、列表、邻域、拖动、概览和键盘操作共享选择状态;Escape 退出全屏,窄屏详情显示为底部抽屉。
211
+
212
+ 0.5.8 的真实验收与发布门槛状态见[验收记录](docs/optimization/0.5.8-release/README.md)。工程检查与小规模模型样本不能证明普遍正确性或效率优势。
213
+
214
+ 后续 [0.5.1 开发对照](docs/optimization/sim-runs/2026-10-08-0.5.1-dev/README.md)**未通过止损线**:计入独立评估者后,总处理 token 为裸模型的 **4.8–7.2 倍**。上面的 0.5.0 正面结果与这份负面结果属于不同版本和样本。主模型、评估者及其他模型调用都应计入成本;token 合计不是美元账单。0.5.8 按用户要求收缩为首场配对验收:裸模型评分 99.98/100、ClearAI 99.99/100;计入两次提前停止与续跑,ClearAI 的处理 token 为裸模型约 20 倍、按峰值价估算的费用约 14.6 倍、运行时间约 12.7 倍。其余两场 ClearAI 对照暂缓。这份小样本未显示效率优势;见[完整记录](docs/optimization/0.5.8-release/first-pair-results.json)。
215
+
200
216
  ## 案例
201
217
 
202
218
  前两个是真模型从头跑到尾、中途没问人的会话,截图是在真 DSH 里回放它们拍的;第三个是和裸模型的模拟对照。