clearai-dsh 0.5.8 → 0.6.0
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 +62 -0
- package/README.md +35 -11
- package/README.zh-CN.md +34 -10
- package/lib/client.js +128 -16
- package/lib/domain-language.js +4 -4
- package/lib/fold.js +37 -3
- package/lib/host.js +13 -0
- package/lib/research-events.d.ts +46 -0
- package/lib/research-events.js +143 -0
- package/package.json +4 -2
- package/presets/clearai/agent.cordis.yml +8 -2
- package/presets/clearai/clearai.patch.yml +51 -2
- package/presets/clearai/evaluator.cordis.yml +4 -0
- package/presets/clearai/explorer.cordis.yml +31 -0
- package/presets/clearai/plugins/audit-material.js +16 -3
- package/presets/clearai/plugins/audit-schema.js +19 -1
- package/presets/clearai/plugins/clearai-evaluator-face.js +1 -1
- package/presets/clearai/plugins/clearai-kernel.js +273 -45
- package/presets/clearai/plugins/prompts.js +28 -24
- package/presets/clearai/plugins/read-evidence.js +80 -0
- package/presets/clearai/plugins/research-contract.d.ts +43 -0
- package/presets/clearai/plugins/research-contract.js +103 -0
- package/presets/clearai/skills/clearai-loop/SKILL.md +20 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,69 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.0] — 2026-11-08
|
|
4
|
+
|
|
5
|
+
**Agent-native research with bounded independent review.**
|
|
6
|
+
|
|
7
|
+
- Complete all six final real-model paired tasks on official DSH 0.2.2-rc.1. Preserve failed rounds and same-session infrastructure recovery; no speed, cost or accuracy superiority claim. [Final acceptance](docs/optimization/0.6.0-release/README.md).
|
|
8
|
+
- Verify a fresh official DSH installation, native contract, lifecycle and production browser compatibility without changing host code.
|
|
9
|
+
|
|
10
|
+
- Preserve explicit same-goal anomaly identity across independent reviews, including author-registered findings; maintain requires independent impact evidence, while changed/unsupported dispositions reopen. Keep review history (projection v29).
|
|
11
|
+
- Serialize unspecified accepted-lesson scope as null so a supported conclusion remains lossless JSON in DSH. Real same-session recovery completed after retaining the failed attempts.
|
|
12
|
+
- Clarify raw-source versus effective graph views. The original MAT017 edge is valid in the raw view; a separate effective exporter includes the approved correction join, cutoff and both source citations. Preserve the original comparison and avoid claiming speed or accuracy superiority.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
- Add a preregistered complex supply-chain acceptance case against native DSH, preserving transport and structured-output failures, role-level usage, independent reproduction and official DSH recorded-session screenshots. The original failures remain available alongside the successful repair.
|
|
16
|
+
- 增加供应链复杂案例的过程、产物与费用记录;完整导出图、平台内部结构和独立事实分别计量,保留首次失败及补充恢复,不据单个案例宣称普遍提速。
|
|
17
|
+
|
|
18
|
+
- Conclude uses the same ontology grounding gate as ReviewClaims. Rejected final delivery retains independently bounded, fully covered structured claims and counterevidence while keeping the goal open; unavailable or changed-material reviews cannot promote facts.
|
|
19
|
+
- Native goal failures report saved claims and direct repair through Conclude instead of suggesting a legacy plan. Goal registration records an immutable workspace baseline for version handoff and replay (projection v27); this baseline is not proof of semantic validity or a session-start snapshot.
|
|
20
|
+
- 结案与按需核验共用主张准入;整体未通过时保留与缺口独立的合格事实,修复后直接结案。立题基线与历史审计版本分开,不再诱导转入旧计划流程。
|
|
21
|
+
|
|
22
|
+
- Main agents can batch-read evidence; opt-in conditional reads omit only fully delivered, unchanged ranges within that session. Ordinary reads always restore text, changes always return text, and reviewers have separate receipts. Reviewers are instructed to read originals and rerun in copies; tool restrictions are not OS filesystem write protection.
|
|
23
|
+
- Frame returns exact claim IDs and advisory review grounding checks before dispatch. Knowledge overview separates current/loaded facts, pending facts, fact assertions and entity records (projection v26); counts do not certify source records.
|
|
24
|
+
- Source-faithful definitions and observed reuse are explicit instructions; no new semantic verification authority or automatic fine-grained verdict reuse is introduced.
|
|
25
|
+
|
|
26
|
+
- New goals explore without mandatory step contracts; legacy goals retain their workflow.
|
|
27
|
+
- Add ReviewClaims, explicit final-answer claim coverage, native explorer preset and public evidence handoffs.
|
|
28
|
+
- Bind review reuse to material/scope/configuration; retain pending candidates without certifying them.
|
|
29
|
+
- Add bounded ReadEvidence batches, audit-card v3 coverage and state projection v25.
|
|
30
|
+
- 新目标按需探索,关键主张独立核验;旧会话兼容、候选保持待验证,评估与探索用量分别记录。
|
|
31
|
+
- Review policy v2 records dispatcher-owned stage/final obligations, keeps independent counterevidence alongside author observations, and requires support to cover the registered claim and scope.
|
|
32
|
+
- Preserve the original policy when recovering old audit cards; bind legacy cache reuse to reviewer trust and policy changes too.
|
|
33
|
+
- Return ontology format problems together before any write, clarify slug lengths and assertion references, and show valid hypothesis IDs after an invalid ReviewClaims request.
|
|
34
|
+
- 核验范围由内核派发记录确定,旧裁决恢复保留原策略;本体错误批量反馈,未知影响与最终交付守卫不变。
|
|
35
|
+
- Review policy v3 requires explicit full claim/scope/assertion coverage; narrower or unknown coverage remains inconclusive. Final promotion requires current support and independently bounded impact.
|
|
36
|
+
- Retain qualified partial facts and contrary evidence from rejected claim-review bundles; recheck supported but unsaved claims in the existing final audit without certifying unrelated leads.
|
|
37
|
+
- Freeze claim IDs in native review schemas and enforce exact counts at settlement and validate against the dispatched request even when the host projection lags. Preserve step-review receipts under the existing material/trust checks.
|
|
38
|
+
- 整包拒绝不丢独立局部成果;异常修复不自动晋升,待沉淀主张并入已有结案评估。范围不足和新证据不足不能被旧支持覆盖。
|
|
39
|
+
- Adapt array-count constraints to DSH's supported output-schema subset; retain exact coverage enforcement in the kernel and check every test dispatch with the installed official schema validator.
|
|
40
|
+
- Preserve the original expanded-budget complex failure (native 3/3, ClearAI 2/3), then verify the anomaly-identity and JSON serialization repairs with real completion. Distinguish raw-source edges from corrected effective views; neither implies full source-graph certification.
|
|
41
|
+
|
|
3
42
|
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
43
|
|
|
44
|
+
### Initial engineering pass — 2026-11-06
|
|
45
|
+
|
|
46
|
+
Small fixes on 0.5.9; the research workflow and host integration remain unchanged.
|
|
47
|
+
|
|
48
|
+
- Bind independent evaluator output to the registered criterion IDs. Reject invented subcriteria in the native structured output tool before settlement; keep evidence and completeness checks intact.
|
|
49
|
+
- Avoid scanning the entire historical deduplication index for duplicate UI events. Ignore malformed mutation entries and empty evidence references during replay.
|
|
50
|
+
- Show review handoff only after a child session exists. Keep pending audit ownership across goal changes so late results remain attached to the original task.
|
|
51
|
+
- Label hypothesis refutation conditions, retain structured audit shortfalls, translate completed/reused statuses, and make the research layout respond to the pane width.
|
|
52
|
+
- Clean up locale listeners when the plugin is disposed; coalesce seat updates without continually postponing them during event bursts.
|
|
53
|
+
- See [0.6.0 review and acceptance](docs/optimization/0.6.0-release/README.md) for measured scope, retained failures and limitations. No additional model calls are used for display.
|
|
54
|
+
|
|
55
|
+
## [0.5.9] — 2026-11-06
|
|
56
|
+
|
|
57
|
+
- 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.
|
|
58
|
+
- Refine the research timeline and both panels with shared typography, restrained status accents, compact object links, and quieter expandable provenance.
|
|
59
|
+
- Defer view registration until the previous Session binding is released; confirm native message receipt before reporting a sent request, and reject stale-session actions.
|
|
60
|
+
|
|
61
|
+
- 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.
|
|
62
|
+
- 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.
|
|
63
|
+
- Explain consequential findings in existing replies and distinguish received requests from committed scope changes. Preserve historical records when hypotheses change.
|
|
64
|
+
- 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.
|
|
65
|
+
- 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.
|
|
66
|
+
|
|
5
67
|
## [0.5.8] — 2026-11-06
|
|
6
68
|
|
|
7
69
|
**DSH 0.2.2-rc.1 兼容性、可复核审计与完整性检测,以及研究 / 本体双面板和图谱升级。**
|
package/README.md
CHANGED
|
@@ -5,6 +5,16 @@
|
|
|
5
5
|
</picture>
|
|
6
6
|
</p>
|
|
7
7
|
|
|
8
|
+
### 0.6: on-demand exploration
|
|
9
|
+
|
|
10
|
+
Explore with ordinary tools and native workers; review the claims that matter. `ReviewClaims` and `Conclude` share the same ontology grounding gate. Independent checks retain evidence, scope and counterevidence; rejected delivery can still preserve independently supported claims. [Workflow and limits](docs/optimization/0.6.0-agent-native/README.md).
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
**0.6.0 acceptance:** All six final real-model paired tasks completed; fresh official DSH 0.2.2-rc.1 compatibility passed. The observations do not show a speed or token advantage. Independent review retains evidence, scope, counterevidence and reusable ontology. Failed rounds and same-session recovery remain recorded. [Final results and limitations](docs/optimization/0.6.0-release/README.md).
|
|
14
|
+
**Original complex-case comparison, before remediation.** In the same three-stage supply-chain task, native DSH completed 3/3 stages in 20.30 cumulative minutes; ClearAI completed 2/3 in 109.91 minutes. Known processed tokens were 11.36M vs 78.64M (lower bounds, mostly cache reads). Both calculated the current exposure correctly, but ClearAI repeated final review for the same anomaly and left one stale graph edge. It retained 15 concepts, 63 entity records and 49 historical assertions; this is not full source-graph certification. [Case, screenshots and video](docs/cases/supply-chain-0.6.md) · [Results and costs](docs/optimization/0.6.0-agent-native/release-case-results.md) · [Original review](docs/optimization/0.6.0-agent-native/release-candidate.md).
|
|
15
|
+
|
|
16
|
+
**Post-repair verification:** the targeted real task now closes successfully. Same-goal anomalies retain identity under independent review, and undeclared lesson scope serializes as null. Raw-source graphs remain distinct from corrected effective graphs. Failed attempts and unknown usage reserves are retained. [Repair evidence and limitations](docs/cases/supply-chain-remediation/README.md).
|
|
17
|
+
|
|
8
18
|
<p align="center"><b>English</b> · <a href="README.zh-CN.md">中文</a></p>
|
|
9
19
|
|
|
10
20
|
<p align="center">
|
|
@@ -20,21 +30,23 @@ ClearAI is an **ontology discovery and exploration platform**, built on two core
|
|
|
20
30
|
|
|
21
31
|
> Keep structural definitions distinct from evidence-backed assertions; a valid citation alone does not establish truth.
|
|
22
32
|
|
|
33
|
+
> 0.6.0 uses official DSH research events and independent Research/Ontology tabs. [Release validation](docs/optimization/0.6.0-release/README.md) records the real end-to-end task, costs and limitations.
|
|
34
|
+
|
|
23
35
|
```bash
|
|
24
36
|
# Install (npm package, prebuilt — no build step, no allowBuilds prompt)
|
|
25
|
-
dsh plugin --profile web add clearai-dsh@0.
|
|
26
|
-
# or in the app: Plugins → Add plugin → clearai-dsh@0.
|
|
37
|
+
dsh plugin --profile web add clearai-dsh@0.6.0
|
|
38
|
+
# or in the app: Plugins → Add plugin → clearai-dsh@0.6.0
|
|
27
39
|
```
|
|
28
40
|
|
|
29
41
|
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
42
|
|
|
31
43
|
|
|
32
44
|
<picture>
|
|
33
|
-
<source media="(prefers-color-scheme: dark)" srcset="docs/shots/0.
|
|
34
|
-
<img src="docs/shots/0.
|
|
45
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/shots/0.6.0-supply-chain/phase-2/entity-detail-dark-1440.png">
|
|
46
|
+
<img src="docs/shots/0.6.0-supply-chain/phase-2/entity-detail-1440.png" alt="ClearAI supply-chain ontology in official DSH — recorded task replay" width="1200">
|
|
35
47
|
</picture>
|
|
36
48
|
|
|
37
|
-
*
|
|
49
|
+
*Production UI replaying this real three-stage supply-chain run in official DSH. The platform graph shows persisted objects and scoped assertions; the complete exported source graph is counted separately. [Case and limitations](docs/cases/supply-chain-0.6.md) · [Screenshot provenance](docs/shots/0.6.0-supply-chain/phase-2/provenance.json).*
|
|
38
50
|
|
|
39
51
|
---
|
|
40
52
|
|
|
@@ -67,10 +79,10 @@ Most agent loops track one thing: whether the task is done. The Epistemic Loop a
|
|
|
67
79
|
|
|
68
80
|
*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.*
|
|
69
81
|
|
|
70
|
-
|
|
82
|
+
The ontology grows with the research; structure and evidence are checked before trusted knowledge is committed:
|
|
71
83
|
|
|
72
|
-
- **
|
|
73
|
-
- **
|
|
84
|
+
- **Set the goal, then model what matters.** Register the goal and checkable completion criteria first; hypotheses and ontology can grow incrementally. Before selected claims enter independent review, supply their concepts, relations, entities, units and assertions. `ReviewClaims` and `Conclude` share the same grounding gate.
|
|
85
|
+
- **Give candidates explicit boundaries.** Register useful claims with refutation conditions and scope, preserving alternatives and counterevidence. Ordinary reads, calculations and exploration do not require per-step review or a custom plan; historical plans retain their contracts.
|
|
74
86
|
- **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
87
|
- **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
88
|
|
|
@@ -82,16 +94,16 @@ ClearAI does **not** claim recursive self-improvement. It provides the epistemic
|
|
|
82
94
|
|
|
83
95
|
## Install and use
|
|
84
96
|
|
|
85
|
-
**Requirements:** DSH ≥ `0.2.2-rc.1`, the target host for 0.
|
|
97
|
+
**Requirements:** DSH ≥ `0.2.2-rc.1`, the target host for 0.6.0. Evaluators use `startActivation` and the dedicated evaluator preset; older dispatch APIs are not supported.
|
|
86
98
|
|
|
87
99
|
**Recommended — install it in the app, with the version pinned:**
|
|
88
100
|
|
|
89
|
-
In the sidebar open **Plugins → Add plugin**, enter `clearai-dsh@0.
|
|
101
|
+
In the sidebar open **Plugins → Add plugin**, enter `clearai-dsh@0.6.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.)
|
|
90
102
|
|
|
91
103
|
**Or from a terminal — the same install:**
|
|
92
104
|
|
|
93
105
|
```bash
|
|
94
|
-
dsh plugin --profile web add clearai-dsh@0.
|
|
106
|
+
dsh plugin --profile web add clearai-dsh@0.6.0
|
|
95
107
|
```
|
|
96
108
|
|
|
97
109
|
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.
|
|
@@ -247,3 +259,15 @@ Apache-2.0, see [LICENSE](LICENSE).
|
|
|
247
259
|
## Status
|
|
248
260
|
|
|
249
261
|
A local-first ontology discovery and exploration platform delivered as a DSH plugin. What is not yet implemented, and what has not been verified in a real browser, is written in [Known gaps](docs/known-gaps.md).
|
|
262
|
+
|
|
263
|
+
### Evidence access and knowledge counts
|
|
264
|
+
|
|
265
|
+
The main agent can read and edit working materials through native tools. `ReadEvidence` batches bounded source reads; ordinary reads always return text. Set `ifUnchanged:true` only to check a range already read in the same session; changed bytes or new ranges return text. After compaction, read normally to restore the excerpt. A matching hash proves neither truth nor reuse applicability. Independent reviewers have their own read receipts and are instructed to treat originals as read-only, using isolated copies for writable reruns. They report findings and proposed repairs to the main agent; copy edits are not promoted into the main workspace. External file changes are not assumed to be present in the main agent’s context.
|
|
266
|
+
|
|
267
|
+
The knowledge overview separates facts from this goal, loaded facts, pending review, assertions within facts, and entity-file records. Definitions and entity records are not independently certified merely because they exist. These counters do not add model calls. Reuse claims must distinguish pre-existing artifacts actually inspected from snapshots created during the current task.
|
|
268
|
+
|
|
269
|
+
Read results also report `sourceOrigin`: observed before the session first used tools, created later, or unknown (including resumed sessions without a complete baseline). This is an observed file origin, not proof that its content was reused correctly.
|
|
270
|
+
|
|
271
|
+
Reviewer restrictions are a tool/authority boundary, not a filesystem sandbox: direct write tools are disabled, and changed referenced materials detected during settlement prevent acceptance. OS-level read-only enforcement depends on the host sandbox. Isolated rerun edits are never copied back as main-agent repairs.
|
|
272
|
+
|
|
273
|
+
Conclude and ReviewClaims share claim grounding checks. When final delivery fails, fully covered structured claims can still be saved only when the reviewer explicitly establishes independence from unresolved gaps; the goal stays open. Fix those gaps and call Conclude directly. Goal registration preserves a file baseline across revisions and replay, distinct from prior audit versions; unknown baselines remain unknown. Exported graphs are not automatically imported or certified.
|
package/README.zh-CN.md
CHANGED
|
@@ -5,6 +5,16 @@
|
|
|
5
5
|
</picture>
|
|
6
6
|
</p>
|
|
7
7
|
|
|
8
|
+
### 0.6:按需探索与协作核验
|
|
9
|
+
|
|
10
|
+
使用普通工具和原生子任务探索,按需核验影响答案的主张。`ReviewClaims` 与 `Conclude` 共用本体准入检查;独立核验保留证据、范围与反证,整体交付未通过也可保留与缺口独立的合格事实。见[流程与限制](docs/optimization/0.6.0-agent-native/README.md)。
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
**0.6.0 验收:**六场最终真实模型配对任务全部完成,DSH 0.2.2-rc.1 全新安装兼容性通过。结果不支持提速或省 token 的声明;独立核验的价值在于证据、范围、反证和可复用本体。保留失败轮次及最后一场的同会话恢复记录。[最终结果与限制](docs/optimization/0.6.0-release/README.md)。
|
|
14
|
+
**修复前的复杂案例对照记录。** 同一供应链三阶段任务,原生 DSH 完成3/3阶段、累计20.30分钟;ClearAI 完成2/3阶段、累计109.91分钟。已知处理token分别为1136万与7864万(下界,多数为缓存读取)。两组当前暴露量均算对,但 ClearAI 因同一异常重复派评未能结案,导出图还有一条旧关系。沉淀15个概念、63条实体记录、跨历史范围49条断言,不等于整个源图已获认证。[案例、截图与录屏](docs/cases/supply-chain-0.6.md) · [结果与成本](docs/optimization/0.6.0-agent-native/release-case-results.md) · [原始复盘](docs/optimization/0.6.0-agent-native/release-candidate.md)。
|
|
15
|
+
|
|
16
|
+
**修复后复验:**定向真实任务现已成功结案。同一目标的异常由独立评估关联原身份,未声明的经验范围以 null 返回;原始图与更正后的有效图分开。失败尝试和未知用量预留全部保留,不据此宣称普遍提速。[修复证据与限制](docs/cases/supply-chain-remediation/README.md)。
|
|
17
|
+
|
|
8
18
|
<p align="center"><a href="README.md">English</a> · <b>中文</b></p>
|
|
9
19
|
|
|
10
20
|
<p align="center">
|
|
@@ -20,21 +30,23 @@ ClearAI 是一个**本体发现与探索平台**,核心由两个概念支撑
|
|
|
20
30
|
|
|
21
31
|
> 结构定义与有证据支持的断言分开呈现;引用存在不等于内容真实。
|
|
22
32
|
|
|
33
|
+
> 0.6.0 使用 DSH 官方行内研究事件,研究与本体保留独立页签。[发布验收](docs/optimization/0.6.0-release/README.md)记录真实端到端任务、费用与限制。
|
|
34
|
+
|
|
23
35
|
```bash
|
|
24
36
|
# 安装(npm 包,预构建——无需构建步骤,不会触发 allowBuilds 授权)
|
|
25
|
-
dsh plugin --profile web add clearai-dsh@0.
|
|
26
|
-
# 或在应用里:侧栏「插件」→ 添加插件 → clearai-dsh@0.
|
|
37
|
+
dsh plugin --profile web add clearai-dsh@0.6.0
|
|
38
|
+
# 或在应用里:侧栏「插件」→ 添加插件 → clearai-dsh@0.6.0
|
|
27
39
|
```
|
|
28
40
|
|
|
29
41
|
重启 `dsh web`,在新建会话顶部的模式选择器里选 **ClearAI** 即可。这就是全部步骤。[完整安装说明 ↓](#安装与使用)
|
|
30
42
|
|
|
31
43
|
|
|
32
44
|
<picture>
|
|
33
|
-
<source media="(prefers-color-scheme: dark)" srcset="docs/
|
|
34
|
-
<img src="docs/
|
|
45
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/shots/0.6.0-supply-chain/phase-2/entity-detail-dark-1440.png">
|
|
46
|
+
<img src="docs/shots/0.6.0-supply-chain/phase-2/entity-detail-1440.png" alt="ClearAI supply-chain ontology in official DSH — recorded task replay" width="1200">
|
|
35
47
|
</picture>
|
|
36
48
|
|
|
37
|
-
|
|
49
|
+
*生产界面在官方 DSH 中回放本轮真实供应链任务。平台图展示已沉淀对象与带范围的断言,完整源数据导出图另行计量。[案例与限制](docs/cases/supply-chain-0.6.md) · [截图来源](docs/shots/0.6.0-supply-chain/phase-2/provenance.json)。*
|
|
38
50
|
|
|
39
51
|
---
|
|
40
52
|
|
|
@@ -67,10 +79,10 @@ dsh plugin --profile web add clearai-dsh@0.5.8
|
|
|
67
79
|
|
|
68
80
|
*环内是这台仪器的读数面:横轴是 L0–L4 七个等级,那条虚线是**事先登记进判据**的阈值;五个观测各带误差棒——被支持的填实、无法判定的画虚圈、被推翻的留在原位打一道斜杠(什么都不删)。开口处那颗 emerald 是唯一越过判据、落定成事实的读数。*
|
|
69
81
|
|
|
70
|
-
|
|
82
|
+
本体随着研究逐步形成,进入可信知识前检查结构与证据:
|
|
71
83
|
|
|
72
|
-
-
|
|
73
|
-
-
|
|
84
|
+
- **先定目标,再按需建模。** 先登记目标与可检查的完成标准,假设和本体可以逐步补充。选中主张进入独立核验前,补齐它实际使用的概念、关系、实体、单位和断言;`ReviewClaims` 与 `Conclude` 使用相同准入。
|
|
85
|
+
- **候选有明确边界。** 为有价值的主张登记命题、推翻条件和适用范围,保留替代解释与反例。普通读取、计算和探索无需逐步派评,也不必先创建自定义计划;旧计划保留原契约。
|
|
74
86
|
- **反常要有去处。** 和预测或本体对不上的读数记成未解释项:被解释、写明理由排除,或写进结论;指向已确立事实的未解释项会让那条事实回到「待核验」。
|
|
75
87
|
- **结论按问题交付。** 每个问题四部分:结论 / 依据 / 尚未确定的事项 / 待您决策。仍在考察中的候选和开着的未解释项没写进结论,就不能以「达成」结案。
|
|
76
88
|
|
|
@@ -86,12 +98,12 @@ ClearAI **不**声称递归自我改进。它提供的是自我改进系统所
|
|
|
86
98
|
|
|
87
99
|
**推荐——在应用里装,并把版本钉住:**
|
|
88
100
|
|
|
89
|
-
侧栏打开**「插件」→ 添加插件**,填 `clearai-dsh@0.
|
|
101
|
+
侧栏打开**「插件」→ 添加插件**,填 `clearai-dsh@0.6.0`,安装。这就是 DSH 自己的插件管理器:它把你填的东西交给 pnpm,校验这个包声明了组合包、与当前宿主兼容,然后当场生效。(设置里的**插件列表**是**只读清单**;安装入口在侧栏那个「插件」页。)
|
|
90
102
|
|
|
91
103
|
**或者开终端——同一次安装:**
|
|
92
104
|
|
|
93
105
|
```bash
|
|
94
|
-
dsh plugin --profile web add clearai-dsh@0.
|
|
106
|
+
dsh plugin --profile web add clearai-dsh@0.6.0
|
|
95
107
|
```
|
|
96
108
|
|
|
97
109
|
从 npm registry 装预构建产物。本机不跑任何编译,因此不需要批准 `allowBuilds` 授权——命令返回时插件就已经可用。
|
|
@@ -248,3 +260,15 @@ Apache-2.0,见 [LICENSE](LICENSE)。
|
|
|
248
260
|
## 状态
|
|
249
261
|
|
|
250
262
|
一个通过 DSH 交付的本地优先本体发现与探索平台。哪些还没实现、哪些还没在真浏览器里验过,都写在[已知缺口](docs/known-gaps.zh-CN.md)里。
|
|
263
|
+
|
|
264
|
+
### 证据读取与知识计数
|
|
265
|
+
|
|
266
|
+
主代理通过原生工具读取和修改工作材料。`ReadEvidence` 批量读取有界原文;普通读取始终返回文本。仅检查本会话已读范围有无变化时设 `ifUnchanged:true`;字节或范围变化仍返回原文,上下文压缩后可普通读取恢复。指纹一致不证明结论成立或当前适用。独立评估者有独立读取记录,须将原工作区视为只读,在隔离副本中修改和复跑。评估者向主代理返回问题和修复建议,副本修改不回写主工作区;外部文件变化不视为主代理上下文已经包含的信息。
|
|
267
|
+
|
|
268
|
+
知识概览分别显示本目标事实、已加载事实、待复核事实、事实内断言及实体文件记录。定义和实体记录的存在不代表独立认证;计数展示不新增模型调用。复用声明须区分此前实际读取/执行的既有产物与本阶段新建快照。
|
|
269
|
+
|
|
270
|
+
读取结果的 `sourceOrigin` 还区分会话首次用工具前已观察到的文件、记录基线之后新建的文件和无法确定的来源(包括没有完整基线的恢复会话)。这只记录文件来源,不证明内容被正确复用。
|
|
271
|
+
|
|
272
|
+
评估者限制属于工具与裁决权限边界,不等于文件系统沙箱:直接写工具禁用,结算校验发现引用材料变化时拒绝落账。操作系统层面的只读强制约束取决于宿主沙箱;复跑副本的改动不会回写成主代理已完成的修复。
|
|
273
|
+
|
|
274
|
+
Conclude 与 ReviewClaims 使用相同的主张本体准入。最终交付未通过时,只有覆盖完整、结构有效且评估者明确确认不受缺口影响的主张才能保存,目标仍开放;修复缺口后直接 Conclude。立题时的文件基线跨修订和重放保留,与旧审计版本分开;没有基线就保持未知。导出图谱不会被自动导入或认证。
|