dsh-retraction-watch 0.1.2 → 0.1.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
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [Unreleased]
4
+
5
+ ## [0.1.3] - 2026-11-22
6
+
7
+ - Compatibility: declare DeepSeek Harness 0.2.3-alpha.1 support (>=0.2.3-0 <0.3.0-0 in engines.dsh and every @deepseek-ai/dsh-* peer range) and refresh README verification stamps.
8
+
3
9
  All notable changes to this project are documented here. The format follows
4
10
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
5
11
  adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
package/README-zh.md CHANGED
@@ -1,13 +1,22 @@
1
+ <div align="center">
2
+
3
+ <picture>
4
+ <source media="(prefers-color-scheme: dark)" srcset="docs/assets/dsh-retraction-watch-hero-zh-dark.webp">
5
+ <img src="docs/assets/dsh-retraction-watch-hero-zh-light.webp" width="100%" alt="dsh-retraction-watch 配图:一个 DOI 在 Crossref 上逐项检查——doi-exists pass、撤稿通知 fail、更新查询失败记 skipped 且状态保持 unknown;右侧是六种状态与追加式时间线">
6
+ </picture>
7
+
1
8
  # dsh-retraction-watch
2
9
 
3
10
  **你引用的论文,后来有没有被撤稿或更正?**
4
11
 
5
12
  *Crossref 工作记录 + 已实测的 `filter=updates:<doi>` 查询、逐 DOI 状态、可见变化的追加式时间线,以及可复读的 REP 证据。`clear` 只表示没有登记在册的通知,绝不是“这篇论文没问题”。*
6
13
 
14
+ [English](README.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
15
+
7
16
  [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
8
17
  [![Node](https://img.shields.io/badge/node-%5E22.19%20%7C%7C%20%3E%3D24.9-brightgreen.svg)]()
9
18
 
10
- [English](README.md) · 简体中文
19
+ </div>
11
20
 
12
21
  ---
13
22
 
@@ -17,6 +26,13 @@
17
26
  - `retraction_watch(dois)` → 对一份参考文献列表做同样的检查,并**检测变化**:时间线记录每一次观察到的状态,因此“clear → retracted”会作为变化报出。
18
27
  - `retraction_report(items)` → Markdown 表格 + SARIF 2.1.0(撤稿/关注 = error,更正 = warning)。
19
28
 
29
+ <picture>
30
+ <source media="(prefers-color-scheme: dark)" srcset="docs/assets/dsh-retraction-watch-flow-v5-dark.svg">
31
+ <img src="docs/assets/dsh-retraction-watch-flow-v5-light.svg" width="100%" alt="dsh-retraction-watch 结构图:一个 DOI 经 Crossref 工作记录与已实测的 filter=updates 查询解析,把 update-to 类型按撤稿优先归并为单一状态,每次观察都追加到时间线、存成不可变 REP 快照,并渲染为 Markdown 或 SARIF;图内是真实的工具名、查询与字段名,五语共用同一张图">
32
+ </picture>
33
+
34
+ *结构:查询 → 推导 → 记录;`status` 与 `changed` 是两条输出,更新查询失败记为 `skipped` 检查、状态保持 `unknown`,绝不会变成 `clear`。图内只有工具名、查询与字段名,五语共用同一张结构图。*
35
+
20
36
  ## 已验证的数据源能力(不是猜的)
21
37
 
22
38
  | 查询 | 结果 |
@@ -52,7 +68,7 @@
52
68
 
53
69
  | | |
54
70
  |---|---|
55
- | DeepSeek Harness | **`dsh-v0.2.2-rc.4`**(2026-11-18 实测);peer `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0` |
71
+ | DeepSeek Harness | **`dsh-v0.2.3-alpha.1`**(2026-11-22 实测);peer `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0` |
56
72
  | Node | `^22.19.0 \|\| >=24.9.0`(实测 `24.22.1`),仅 ESM |
57
73
  | Peer 依赖 | `@perrylink/dsh-research-core ^0.1.0`、`@deepseek-ai/cordis ^4.0.5-alpha.1`、`@deepseek-ai/dsh-tools`、`@deepseek-ai/schemastery ^3.18.5-alpha.1` |
58
74
  | 运行时依赖 | **零** |
@@ -85,7 +101,11 @@ dsh --profile <name> --dump-config | grep dsh-retraction-watch
85
101
 
86
102
  ## 评测
87
103
 
88
- **23 个测试**,分布在三个文件:更新类型映射、通知过滤、聚合状态优先级、检查构造(clear / retracted / unknown / 网络失败)、运行时(撤稿、带保留说明的 clear、404 → unknown、更新查询失败 → unknown、更正、非法 DOI、重复核查不产生证据冲突、瞬时 5xx 不写入缓存、polite pool 联系方式不写入已存证据)、跨三次运行的时间线变化检测(首次观察不算变化)、批量逐项隔离、批量上限、工具 schema/渲染器、包契约。
104
+ ![dsh-retraction-watch 评测:本 checkout 里真实跑通的测试套件 —— 4 个文件 24 条测试全过,覆盖通知类型映射、状态推导、运行时/时间线、工具与挂载契约](docs/assets/dsh-retraction-watch-demo.gif)
105
+
106
+ *动图是真实的 `pnpm exec vitest run --reporter=verbose` 输出与包门禁(2026-11-21 复跑;当前套件共 24 条测试)。套件里每个 Crossref 回答都用脚本替身,整次运行不联网。*
107
+
108
+ **24 个测试**,分布在四个文件:更新类型映射、通知过滤、聚合状态优先级、检查构造(clear / retracted / unknown / 网络失败)、运行时(撤稿、带保留说明的 clear、404 → unknown、更新查询失败 → unknown、更正、非法 DOI、重复核查不产生证据冲突、瞬时 5xx 不写入缓存、polite pool 联系方式不写入已存证据)、跨三次运行的时间线变化检测(首次观察不算变化)、批量逐项隔离、批量上限、工具 schema/渲染器、包契约。
89
109
 
90
110
  人工样例集(本插件不声称基准测试结果;其正确性来自 Crossref 契约,而不是学习得到的判定):
91
111
 
package/README.md CHANGED
@@ -1,13 +1,22 @@
1
+ <div align="center">
2
+
3
+ <picture>
4
+ <source media="(prefers-color-scheme: dark)" srcset="docs/assets/dsh-retraction-watch-hero-en-dark.webp">
5
+ <img src="docs/assets/dsh-retraction-watch-hero-en-light.webp" width="100%" alt="dsh-retraction-watch: a DOI checked against Crossref — doi-exists pass, a retraction notice fail, and a failed update query reported as skipped with the status left unknown — with the six statuses and the append-only timeline on the right">
6
+ </picture>
7
+
1
8
  # dsh-retraction-watch
2
9
 
3
10
  **Has anything been published against the papers you cite?**
4
11
 
5
12
  *Crossref work records + the verified `filter=updates:<doi>` query, a per-DOI status, an append-only timeline that shows changes, and REP evidence you can re-read. `clear` means no registered notice — never "this paper is valid".*
6
13
 
14
+ [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
15
+
7
16
  [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
8
17
  [![Node](https://img.shields.io/badge/node-%5E22.19%20%7C%7C%20%3E%3D24.9-brightgreen.svg)]()
9
18
 
10
- English · [简体中文](README-zh.md)
19
+ </div>
11
20
 
12
21
  ---
13
22
 
@@ -17,6 +26,13 @@ English · [简体中文](README-zh.md)
17
26
  - `retraction_watch(dois)` → the same for a bibliography, with **change detection**: the timeline records every observed status, so "clear → retracted" is reported as a change.
18
27
  - `retraction_report(items)` → Markdown table + SARIF 2.1.0 (retractions/concerns = errors, corrections = warnings).
19
28
 
29
+ <picture>
30
+ <source media="(prefers-color-scheme: dark)" srcset="docs/assets/dsh-retraction-watch-flow-v5-dark.svg">
31
+ <img src="docs/assets/dsh-retraction-watch-flow-v5-light.svg" width="100%" alt="dsh-retraction-watch structure: a DOI is looked up through the Crossref work record and the verified filter=updates query, the update-to types are reduced to one status with retraction precedence, and every observation is appended to a timeline, stored as an immutable REP snapshot and rendered as Markdown or SARIF; the tokens in the diagram are the real tool, query and field names, so all five languages use the same picture">
32
+ </picture>
33
+
34
+ *Structure: lookup → derive → record; `status` and `changed` are the two outputs, and a failed notice query is a `skipped` check that leaves the status `unknown` — never `clear`. The token labels inside the diagram are the real tool, query and field names, so the same picture serves all five languages.*
35
+
20
36
  ## Verified provider capability (not guessed)
21
37
 
22
38
  | Query | Result |
@@ -52,7 +68,7 @@ The plugin only uses the two working queries. When the update query fails it rep
52
68
 
53
69
  | | |
54
70
  |---|---|
55
- | DeepSeek Harness | **`dsh-v0.2.2-rc.4`** (verified 2026-11-18); peer `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0` |
71
+ | DeepSeek Harness | **`dsh-v0.2.3-alpha.1`** (verified 2026-11-22); peer `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0` |
56
72
  | Node | `^22.19.0 \|\| >=24.9.0` (tested `24.22.1`), ESM only |
57
73
  | Peers | `@perrylink/dsh-research-core ^0.1.0`, `@deepseek-ai/cordis ^4.0.5-alpha.1`, `@deepseek-ai/dsh-tools`, `@deepseek-ai/schemastery ^3.18.5-alpha.1` |
58
74
  | Runtime dependencies | **zero** |
@@ -85,7 +101,11 @@ dsh --profile <name> --dump-config | grep dsh-retraction-watch
85
101
 
86
102
  ## Evaluation
87
103
 
88
- **23 tests** across three files: update-type mapping, notice filtering, aggregate status precedence, check construction (clear / retracted / unknown / network failure), runtime (retraction, clear with caveat, 404 → unknown, failed update query → unknown, correction, invalid DOI, re-check without an evidence conflict, no caching of a transient 5xx, polite-pool contact kept out of stored evidence), timeline change detection across three runs (the first observation is not a change), per-item batch isolation, batch cap, tool schemas/renderers, package contract.
104
+ ![dsh-retraction-watch evaluation: the real test suite in this checkout — 24 tests in 4 files pass across notice mapping, status derivation, runtime/timeline, tools and the mount contract](docs/assets/dsh-retraction-watch-demo.gif)
105
+
106
+ *Animated: the real `pnpm exec vitest run --reporter=verbose` output and the package gate (re-run 2026-11-21; the suite has 24 tests today). Every Crossref answer in the suite is scripted, so the run makes no network call.*
107
+
108
+ **24 tests** across four files: update-type mapping, notice filtering, aggregate status precedence, check construction (clear / retracted / unknown / network failure), runtime (retraction, clear with caveat, 404 → unknown, failed update query → unknown, correction, invalid DOI, re-check without an evidence conflict, no caching of a transient 5xx, polite-pool contact kept out of stored evidence), timeline change detection across three runs (the first observation is not a change), per-item batch isolation, batch cap, tool schemas/renderers, package contract.
89
109
 
90
110
  Manual sample set (no benchmark is claimed for this plugin; its correctness is the Crossref contract, not a learned decision):
91
111
 
@@ -0,0 +1,74 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1100" height="660" viewBox="0 0 1100 660" role="img" aria-label="dsh-retraction-watch structure diagram">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="0.3" y2="1"><stop offset="0" stop-color="#131a2a"/><stop offset="1" stop-color="#0c1016"/></linearGradient>
4
+ <filter id="soft" x="-30%" y="-30%" width="160%" height="170%"><feDropShadow dx="0" dy="7" stdDeviation="9" flood-color="#16122c" flood-opacity="0.45"/></filter>
5
+ <marker id="arr" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6.4" markerHeight="6.4" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#8496f5"/></marker>
6
+ </defs>
7
+ <rect width="1100" height="660" fill="url(#bg)"/>
8
+ <text x="44" y="58" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="28" font-weight="700">dsh-retraction-watch</text>
9
+ <text x="44" y="88" fill="#a8b1c4" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="15">doi → work + filter=updates → notices[] → status → timeline + REP evidence + SARIF</text>
10
+ <rect x="925.875" y="36" width="130.125" height="26" rx="13.0" fill="#202839"/>
11
+ <text x="937.875" y="53.08" fill="#8496f5" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="12" font-weight="700">1 allowlisted host</text>
12
+ <rect x="44" y="120" width="214" height="250" rx="18" fill="#1b2231" stroke="#2e374b" stroke-width="1.5" filter="url(#soft)"/>
13
+ <text x="62" y="146" fill="#737b8d" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="12" font-weight="700">01</text>
14
+ <text x="62" y="172" fill="#f0f3f9" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="16.5" font-weight="700">Lookup</text>
15
+ <text x="62" y="196" fill="#a8b1c4" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11.5">two verified queries</text>
16
+ <rect x="62" y="209" width="178" height="26" rx="8" fill="#202839"/>
17
+ <text x="72" y="227" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">works/{doi}</text>
18
+ <rect x="62" y="241" width="178" height="26" rx="8" fill="#202839"/>
19
+ <text x="72" y="259" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">filter=updates:{doi}</text>
20
+ <rect x="62" y="273" width="178" height="26" rx="8" fill="#202839"/>
21
+ <text x="72" y="291" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">work + updates 200</text>
22
+ <line x1="260" y1="245.0" x2="276" y2="245.0" stroke="#8496f5" stroke-width="1.8" marker-end="url(#arr)"/>
23
+ <rect x="278" y="120" width="214" height="250" rx="18" fill="#1b2231" stroke="#2e374b" stroke-width="1.5" filter="url(#soft)"/>
24
+ <text x="296" y="146" fill="#737b8d" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="12" font-weight="700">02</text>
25
+ <text x="296" y="172" fill="#f0f3f9" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="16.5" font-weight="700">Derive</text>
26
+ <text x="296" y="196" fill="#a8b1c4" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11.5">update-to.type → status</text>
27
+ <rect x="296" y="209" width="178" height="26" rx="8" fill="#202839"/>
28
+ <text x="306" y="227" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">retracted · concern</text>
29
+ <rect x="296" y="241" width="178" height="26" rx="8" fill="#202839"/>
30
+ <text x="306" y="259" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">corrected · notice</text>
31
+ <rect x="296" y="273" width="178" height="26" rx="8" fill="#202839"/>
32
+ <text x="306" y="291" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">clear · unknown</text>
33
+ <line x1="494" y1="245.0" x2="510" y2="245.0" stroke="#8496f5" stroke-width="1.8" marker-end="url(#arr)"/>
34
+ <rect x="512" y="120" width="214" height="250" rx="18" fill="#1b2231" stroke="#2e374b" stroke-width="1.5" filter="url(#soft)"/>
35
+ <text x="530" y="146" fill="#737b8d" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="12" font-weight="700">03</text>
36
+ <text x="530" y="172" fill="#f0f3f9" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="16.5" font-weight="700">Record</text>
37
+ <text x="530" y="196" fill="#a8b1c4" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11.5">timeline + REP + SARIF</text>
38
+ <rect x="530" y="209" width="178" height="26" rx="8" fill="#202839"/>
39
+ <text x="540" y="227" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">timeline.jsonl</text>
40
+ <rect x="530" y="241" width="178" height="26" rx="8" fill="#202839"/>
41
+ <text x="540" y="259" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">immutable snapshot</text>
42
+ <rect x="530" y="273" width="178" height="26" rx="8" fill="#202839"/>
43
+ <text x="540" y="291" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">SARIF 2.1.0</text>
44
+ <rect x="752" y="120" width="304" height="148" rx="18" fill="#1b2231" stroke="#2e374b" stroke-width="1.5" filter="url(#soft)"/>
45
+ <text x="772" y="148" fill="#8496f5" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="14.5" font-weight="700">status</text>
46
+ <rect x="965.53125" y="130" width="76.09375" height="18" rx="9.0" fill="#202839"/>
47
+ <text x="974.53125" y="142.57" fill="#8496f5" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="10.5">precedence</text>
48
+ <text x="772" y="176" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">retracted &gt; concern</text>
49
+ <text x="772" y="198" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">&gt; corrected &gt; notice</text>
50
+ <text x="772" y="220" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">&gt; clear | unknown</text>
51
+ <rect x="752" y="288" width="304" height="122" rx="18" fill="#1b2231" stroke="#2e374b" stroke-width="1.5" filter="url(#soft)"/>
52
+ <text x="772" y="316" fill="#a8b1c4" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="14.5" font-weight="700">changed</text>
53
+ <rect x="983.0" y="298" width="58.515625" height="18" rx="9.0" fill="#202839"/>
54
+ <text x="992.0" y="310.57" fill="#a8b1c4" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="10.5">timeline</text>
55
+ <text x="772" y="344" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">clear → retracted</text>
56
+ <text x="772" y="366" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">previousStatus: clear</text>
57
+ <text x="772" y="388" fill="#f0f3f9" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">first run: no change</text>
58
+ <rect x="752" y="430" width="304" height="82" rx="18" fill="#1b2231" stroke="#8496f5" stroke-width="1.6" filter="url(#soft)"/>
59
+ <text x="772" y="458" fill="#f0f3f9" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="13.5" font-weight="700">author</text>
60
+ <text x="772" y="482" fill="#a8b1c4" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11.5">clear is absence of evidence</text>
61
+ <text x="772" y="502" fill="#737b8d" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="10.5">unknown never becomes clear</text>
62
+ <path d="M730 245.0 H742" fill="none" stroke="#8496f5" stroke-width="1.6" stroke-linecap="round"/>
63
+ <path d="M742 210 V471" fill="none" stroke="#8496f5" stroke-width="1.6" stroke-linecap="round"/>
64
+ <line x1="742" y1="194" x2="750" y2="194" stroke="#8496f5" stroke-width="1.6" marker-end="url(#arr)"/>
65
+ <line x1="742" y1="349" x2="750" y2="349" stroke="#8496f5" stroke-width="1.6" marker-end="url(#arr)"/>
66
+ <line x1="742" y1="471" x2="750" y2="471" stroke="#8496f5" stroke-width="1.6" marker-end="url(#arr)"/>
67
+ <line x1="44" y1="420" x2="714" y2="420" stroke="#2b3348" stroke-width="1"/>
68
+ <text x="44" y="444" fill="#737b8d" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11">retraction → fail; expression of concern → fail; correction → warn; clear → pass + absence caveat.</text>
69
+ <text x="44" y="464" fill="#737b8d" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11">a failed notice query is skipped — the status stays unknown, never reported as clear.</text>
70
+ <text x="44" y="484" fill="#737b8d" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11">two verified queries only: /works/{doi} and /works?filter=updates:{doi}; update-to returns HTTP 400.</text>
71
+ <line x1="44" y1="564" x2="1056" y2="564" stroke="#2b3348" stroke-width="1"/>
72
+ <text x="44" y="588" fill="#a8b1c4" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11.5">config: root · timeoutMs · minIntervalMs · retries · maxRedirects · cacheTtlMs · maxBatch · batchConcurrency</text>
73
+ <text x="44" y="610" fill="#737b8d" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11.5">HTTPS only · exact-host allowlist api.crossref.org · manual redirect re-validation · no model call · REP v1 evidence</text>
74
+ </svg>
@@ -0,0 +1,74 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1100" height="660" viewBox="0 0 1100 660" role="img" aria-label="dsh-retraction-watch structure diagram">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="0.3" y2="1"><stop offset="0" stop-color="#f9f6fd"/><stop offset="1" stop-color="#e4eaf8"/></linearGradient>
4
+ <filter id="soft" x="-30%" y="-30%" width="160%" height="170%"><feDropShadow dx="0" dy="7" stdDeviation="9" flood-color="#16122c" flood-opacity="0.10"/></filter>
5
+ <marker id="arr" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6.4" markerHeight="6.4" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#4B67B4"/></marker>
6
+ </defs>
7
+ <rect width="1100" height="660" fill="url(#bg)"/>
8
+ <text x="44" y="58" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="28" font-weight="700">dsh-retraction-watch</text>
9
+ <text x="44" y="88" fill="#4d5261" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="15">doi → work + filter=updates → notices[] → status → timeline + REP evidence + SARIF</text>
10
+ <rect x="925.875" y="36" width="130.125" height="26" rx="13.0" fill="#f5f2fb"/>
11
+ <text x="937.875" y="53.08" fill="#4B67B4" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="12" font-weight="700">1 allowlisted host</text>
12
+ <rect x="44" y="120" width="214" height="250" rx="18" fill="#ffffff" stroke="#e6e2ef" stroke-width="1.5" filter="url(#soft)"/>
13
+ <text x="62" y="146" fill="#8f94a4" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="12" font-weight="700">01</text>
14
+ <text x="62" y="172" fill="#141419" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="16.5" font-weight="700">Lookup</text>
15
+ <text x="62" y="196" fill="#4d5261" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11.5">two verified queries</text>
16
+ <rect x="62" y="209" width="178" height="26" rx="8" fill="#f5f2fb"/>
17
+ <text x="72" y="227" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">works/{doi}</text>
18
+ <rect x="62" y="241" width="178" height="26" rx="8" fill="#f5f2fb"/>
19
+ <text x="72" y="259" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">filter=updates:{doi}</text>
20
+ <rect x="62" y="273" width="178" height="26" rx="8" fill="#f5f2fb"/>
21
+ <text x="72" y="291" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">work + updates 200</text>
22
+ <line x1="260" y1="245.0" x2="276" y2="245.0" stroke="#4B67B4" stroke-width="1.8" marker-end="url(#arr)"/>
23
+ <rect x="278" y="120" width="214" height="250" rx="18" fill="#ffffff" stroke="#e6e2ef" stroke-width="1.5" filter="url(#soft)"/>
24
+ <text x="296" y="146" fill="#8f94a4" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="12" font-weight="700">02</text>
25
+ <text x="296" y="172" fill="#141419" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="16.5" font-weight="700">Derive</text>
26
+ <text x="296" y="196" fill="#4d5261" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11.5">update-to.type → status</text>
27
+ <rect x="296" y="209" width="178" height="26" rx="8" fill="#f5f2fb"/>
28
+ <text x="306" y="227" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">retracted · concern</text>
29
+ <rect x="296" y="241" width="178" height="26" rx="8" fill="#f5f2fb"/>
30
+ <text x="306" y="259" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">corrected · notice</text>
31
+ <rect x="296" y="273" width="178" height="26" rx="8" fill="#f5f2fb"/>
32
+ <text x="306" y="291" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">clear · unknown</text>
33
+ <line x1="494" y1="245.0" x2="510" y2="245.0" stroke="#4B67B4" stroke-width="1.8" marker-end="url(#arr)"/>
34
+ <rect x="512" y="120" width="214" height="250" rx="18" fill="#ffffff" stroke="#e6e2ef" stroke-width="1.5" filter="url(#soft)"/>
35
+ <text x="530" y="146" fill="#8f94a4" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="12" font-weight="700">03</text>
36
+ <text x="530" y="172" fill="#141419" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="16.5" font-weight="700">Record</text>
37
+ <text x="530" y="196" fill="#4d5261" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11.5">timeline + REP + SARIF</text>
38
+ <rect x="530" y="209" width="178" height="26" rx="8" fill="#f5f2fb"/>
39
+ <text x="540" y="227" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">timeline.jsonl</text>
40
+ <rect x="530" y="241" width="178" height="26" rx="8" fill="#f5f2fb"/>
41
+ <text x="540" y="259" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">immutable snapshot</text>
42
+ <rect x="530" y="273" width="178" height="26" rx="8" fill="#f5f2fb"/>
43
+ <text x="540" y="291" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">SARIF 2.1.0</text>
44
+ <rect x="752" y="120" width="304" height="148" rx="18" fill="#ffffff" stroke="#e6e2ef" stroke-width="1.5" filter="url(#soft)"/>
45
+ <text x="772" y="148" fill="#4B67B4" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="14.5" font-weight="700">status</text>
46
+ <rect x="965.53125" y="130" width="76.09375" height="18" rx="9.0" fill="#f5f2fb"/>
47
+ <text x="974.53125" y="142.57" fill="#4B67B4" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="10.5">precedence</text>
48
+ <text x="772" y="176" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">retracted &gt; concern</text>
49
+ <text x="772" y="198" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">&gt; corrected &gt; notice</text>
50
+ <text x="772" y="220" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">&gt; clear | unknown</text>
51
+ <rect x="752" y="288" width="304" height="122" rx="18" fill="#ffffff" stroke="#e6e2ef" stroke-width="1.5" filter="url(#soft)"/>
52
+ <text x="772" y="316" fill="#4d5261" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="14.5" font-weight="700">changed</text>
53
+ <rect x="983.0" y="298" width="58.515625" height="18" rx="9.0" fill="#f5f2fb"/>
54
+ <text x="992.0" y="310.57" fill="#4d5261" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="10.5">timeline</text>
55
+ <text x="772" y="344" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">clear → retracted</text>
56
+ <text x="772" y="366" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">previousStatus: clear</text>
57
+ <text x="772" y="388" fill="#141419" font-family="'Consolas','SFMono-Regular','Menlo',ui-monospace,monospace" font-size="11.5">first run: no change</text>
58
+ <rect x="752" y="430" width="304" height="82" rx="18" fill="#ffffff" stroke="#4B67B4" stroke-width="1.6" filter="url(#soft)"/>
59
+ <text x="772" y="458" fill="#141419" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="13.5" font-weight="700">author</text>
60
+ <text x="772" y="482" fill="#4d5261" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11.5">clear is absence of evidence</text>
61
+ <text x="772" y="502" fill="#8f94a4" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="10.5">unknown never becomes clear</text>
62
+ <path d="M730 245.0 H742" fill="none" stroke="#4B67B4" stroke-width="1.6" stroke-linecap="round"/>
63
+ <path d="M742 210 V471" fill="none" stroke="#4B67B4" stroke-width="1.6" stroke-linecap="round"/>
64
+ <line x1="742" y1="194" x2="750" y2="194" stroke="#4B67B4" stroke-width="1.6" marker-end="url(#arr)"/>
65
+ <line x1="742" y1="349" x2="750" y2="349" stroke="#4B67B4" stroke-width="1.6" marker-end="url(#arr)"/>
66
+ <line x1="742" y1="471" x2="750" y2="471" stroke="#4B67B4" stroke-width="1.6" marker-end="url(#arr)"/>
67
+ <line x1="44" y1="420" x2="714" y2="420" stroke="#dcd8ea" stroke-width="1"/>
68
+ <text x="44" y="444" fill="#8f94a4" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11">retraction → fail; expression of concern → fail; correction → warn; clear → pass + absence caveat.</text>
69
+ <text x="44" y="464" fill="#8f94a4" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11">a failed notice query is skipped — the status stays unknown, never reported as clear.</text>
70
+ <text x="44" y="484" fill="#8f94a4" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11">two verified queries only: /works/{doi} and /works?filter=updates:{doi}; update-to returns HTTP 400.</text>
71
+ <line x1="44" y1="564" x2="1056" y2="564" stroke="#dcd8ea" stroke-width="1"/>
72
+ <text x="44" y="588" fill="#4d5261" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11.5">config: root · timeoutMs · minIntervalMs · retries · maxRedirects · cacheTtlMs · maxBatch · batchConcurrency</text>
73
+ <text x="44" y="610" fill="#8f94a4" font-family="'Microsoft YaHei','PingFang SC','Noto Sans CJK SC','Source Han Sans SC',sans-serif" font-size="11.5">HTTPS only · exact-host allowlist api.crossref.org · manual redirect re-validation · no model call · REP v1 evidence</text>
74
+ </svg>
package/lib/version.d.ts CHANGED
@@ -3,5 +3,5 @@
3
3
  * @module dsh-retraction-watch/version
4
4
  */
5
5
  /** The package version. */
6
- export declare const VERSION = "0.1.2";
6
+ export declare const VERSION = "0.1.3";
7
7
  //# sourceMappingURL=version.d.ts.map
package/lib/version.js CHANGED
@@ -3,5 +3,5 @@
3
3
  * @module dsh-retraction-watch/version
4
4
  */
5
5
  /** The package version. */
6
- export const VERSION = '0.1.2';
6
+ export const VERSION = '0.1.3';
7
7
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-retraction-watch",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Retraction and correction monitoring for DeepSeek Harness: Crossref work records plus the verified filter=updates query, per-DOI status (retracted/concern/corrected/notice/clear/unknown), an append-only timeline with change detection, REP v1 evidence snapshots and SARIF output. clear means no registered notice, never proof of validity.",
5
5
  "author": "PerryLink contributors",
6
6
  "repository": {
@@ -31,6 +31,7 @@
31
31
  "README-zh.md",
32
32
  "LICENSE",
33
33
  "SECURITY.md",
34
+ "docs/assets/*",
34
35
  "THIRD_PARTY_NOTICES.md"
35
36
  ],
36
37
  "sideEffects": false,
@@ -53,12 +54,12 @@
53
54
  ],
54
55
  "engines": {
55
56
  "node": "^22.19.0 || >=24.9.0",
56
- "dsh": ">=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0"
57
+ "dsh": ">=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0"
57
58
  },
58
59
  "packageManager": "pnpm@12.16.1",
59
60
  "peerDependencies": {
60
61
  "@deepseek-ai/cordis": "^4.0.5-alpha.1",
61
- "@deepseek-ai/dsh-tools": ">=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
62
+ "@deepseek-ai/dsh-tools": ">=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0",
62
63
  "@deepseek-ai/schemastery": "^3.18.5-alpha.1",
63
64
  "@perrylink/dsh-research-core": "^0.1.0"
64
65
  },
package/src/version.ts CHANGED
@@ -4,4 +4,4 @@
4
4
  */
5
5
 
6
6
  /** The package version. */
7
- export const VERSION = '0.1.2'
7
+ export const VERSION = '0.1.3'