@itradingai/aiwiki 0.2.19 → 0.2.20

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.
Files changed (55) hide show
  1. package/README.md +9 -0
  2. package/docs/AGENT_HANDOFF.md +1 -0
  3. package/docs/FAQ.md +4 -0
  4. package/docs/README.md +5 -0
  5. package/docs/RELEASE.md +9 -14
  6. package/docs/ROADMAP.md +1 -0
  7. package/docs/SHOWCASE.md +19 -9
  8. package/docs/USAGE.md +8 -10
  9. package/examples/demo-run/README.md +28 -0
  10. package/examples/demo-run/context-output.json +341 -0
  11. package/examples/demo-run/ingest-agent-output.txt +25 -0
  12. package/examples/demo-run/ingest-file-output.txt +23 -0
  13. package/examples/demo-run/input/agent-enriched-payload.json +88 -0
  14. package/examples/demo-run/input/local-article.md +5 -0
  15. package/examples/demo-run/lint-output.json +46 -0
  16. package/examples/demo-run/query-output.txt +54 -0
  17. package/examples/demo-run/setup-output.txt +9 -0
  18. package/examples/demo-run/status-output.txt +20 -0
  19. package/examples/obsidian-vault-sample/02-raw/articles/llm-wiki-notes.md +32 -0
  20. package/examples/obsidian-vault-sample/02-raw/articles/local-article.md +33 -0
  21. package/examples/obsidian-vault-sample/03-sources/article-cards/llm-wiki-notes.md +62 -0
  22. package/examples/obsidian-vault-sample/03-sources/article-cards/local-article.md +58 -0
  23. package/examples/obsidian-vault-sample/04-claims/_suggestions/llm-wiki-notes-claims.md +58 -0
  24. package/examples/obsidian-vault-sample/05-wiki/source-knowledge/llm-wiki-notes.md +103 -0
  25. package/examples/obsidian-vault-sample/05-wiki/source-knowledge/local-article.md +72 -0
  26. package/examples/obsidian-vault-sample/06-assets/_suggestions/llm-wiki-notes-assets.md +29 -0
  27. package/examples/obsidian-vault-sample/07-topics/ready/llm-wiki-notes-topics.md +29 -0
  28. package/examples/obsidian-vault-sample/08-outputs/outlines/llm-wiki-notes-outline.md +43 -0
  29. package/examples/obsidian-vault-sample/09-runs/20260608-160603905-085f05/payload.json +24 -0
  30. package/examples/obsidian-vault-sample/09-runs/20260608-160603905-085f05/processing-summary.md +56 -0
  31. package/examples/obsidian-vault-sample/09-runs/20260608-160603905-085f05/raw.md +33 -0
  32. package/examples/obsidian-vault-sample/09-runs/20260608-160603905-085f05/source-card.md +58 -0
  33. package/examples/obsidian-vault-sample/09-runs/20260608-160603905-085f05/wiki-entry.md +72 -0
  34. package/examples/obsidian-vault-sample/09-runs/20260608-160603980-89f570/creative-assets.md +29 -0
  35. package/examples/obsidian-vault-sample/09-runs/20260608-160603980-89f570/draft-outline.md +43 -0
  36. package/examples/obsidian-vault-sample/09-runs/20260608-160603980-89f570/payload.json +91 -0
  37. package/examples/obsidian-vault-sample/09-runs/20260608-160603980-89f570/processing-summary.md +67 -0
  38. package/examples/obsidian-vault-sample/09-runs/20260608-160603980-89f570/raw.md +32 -0
  39. package/examples/obsidian-vault-sample/09-runs/20260608-160603980-89f570/source-card.md +62 -0
  40. package/examples/obsidian-vault-sample/09-runs/20260608-160603980-89f570/topics.md +29 -0
  41. package/examples/obsidian-vault-sample/09-runs/20260608-160603980-89f570/wiki-entry.md +103 -0
  42. package/examples/obsidian-vault-sample/_system/index.md +37 -0
  43. package/examples/obsidian-vault-sample/_system/log.md +8 -0
  44. package/examples/obsidian-vault-sample/_system/purpose.md +31 -0
  45. package/examples/obsidian-vault-sample/_system/schemas/aiwiki-frontmatter.md +21 -0
  46. package/examples/obsidian-vault-sample/_system/templates/review-note.md +16 -0
  47. package/examples/obsidian-vault-sample/_system/templates/source-card.md +34 -0
  48. package/examples/obsidian-vault-sample/aiwiki.yaml +18 -0
  49. package/examples/obsidian-vault-sample/dashboards/AIWiki Home.md +31 -0
  50. package/examples/obsidian-vault-sample/dashboards/Recent Runs.md +10 -0
  51. package/examples/obsidian-vault-sample/dashboards/Review Queue.md +12 -0
  52. package/examples/obsidian-vault-sample/dashboards/Source Cards.md +10 -0
  53. package/examples/obsidian-vault-sample/dashboards/Topic Pipeline.md +10 -0
  54. package/examples/obsidian-vault-sample/dashboards/Wiki Entries.md +10 -0
  55. package/package.json +2 -1
package/README.md CHANGED
@@ -43,6 +43,15 @@ aiwiki lint
43
43
 
44
44
  `lint` 会检查缺失链接、重复来源、fallback Wiki 条目、enriched 条目缺字段等问题,并写入 `dashboards/Lint Report.md`。
45
45
 
46
+ ## 示例
47
+
48
+ 仓库内置了一个由当前 CLI 重新生成的样例:
49
+
50
+ - `examples/demo-run/`:输入材料、执行命令和关键 CLI 输出。
51
+ - `examples/obsidian-vault-sample/`:可直接查看的样例知识库。
52
+
53
+ 样例展示了核心产物优先的约定:Raw、Source Card、Wiki Entry、Run Summary、Processing Summary 总是最先检查;Claim、Asset、Topic、Outline 只在 payload 有对应内容或明确请求时出现。
54
+
46
55
  ## 快速开始
47
56
 
48
57
  ### 第一步:安装 AIWiki CLI
@@ -45,6 +45,7 @@ aiwiki ingest-agent --payload <utf8-json-file>
45
45
  ```
46
46
 
47
47
  9. 读取 CLI 输出,向用户回复入库状态、摘要、Wiki 条目、质量模式、资料卡和处理记录。
48
+ 10. 汇报产物时先说核心产物:Raw、Source Card、Wiki Entry、Run Summary、Processing Summary。Claim、Asset、Topic、Outline 只在本次 CLI 输出或文件中真实存在时再提。
48
49
 
49
50
  ## 编码要求
50
51
 
package/docs/FAQ.md CHANGED
@@ -63,6 +63,10 @@ aiwiki agent check --json
63
63
  - [SHOWCASE.md](SHOWCASE.md)
64
64
  - [AGENT_HANDOFF.md](AGENT_HANDOFF.md)
65
65
 
66
+ ## 有没有可以直接看的样例?
67
+
68
+ 有。`examples/demo-run/` 记录输入、命令和 CLI 输出;`examples/obsidian-vault-sample/` 是已经生成好的样例知识库。它展示了核心产物优先,以及可选增强目录只在有内容时出现。
69
+
66
70
  ## 怎么从知识库里查询?
67
71
 
68
72
  让宿主 Agent 调用:
package/docs/README.md CHANGED
@@ -11,6 +11,11 @@ AIWiki 是一个 Agent-first 的本地知识库工具,用来把宿主 Agent
11
11
  - 路线图:[ROADMAP.md](ROADMAP.md)
12
12
  - 开发记录:[development-log.md](development-log.md)
13
13
 
14
+ ## Examples
15
+
16
+ - `../examples/demo-run/` records the input files, commands, and CLI outputs from a regenerated demo.
17
+ - `../examples/obsidian-vault-sample/` is a sample vault showing the current core-first artifact contract.
18
+
14
19
  ## Quick Start
15
20
 
16
21
  ```bash
package/docs/RELEASE.md CHANGED
@@ -21,28 +21,21 @@ npm version patch --no-git-tag-version
21
21
 
22
22
  ## npm 发布
23
23
 
24
- 发布前确认 npm 登录账号:
24
+ 发布前必须先让同一个本地 tarball 在测试服务器通过 smoke test。顺序是:本地验证、版本号、提交、本地 `npm pack`、测试服务器安装 tarball 并跑 CLI smoke,然后才能 `git push` 和 `npm publish`。
25
25
 
26
- ```bash
27
- npm whoami
28
- ```
26
+ AIWiki 使用 npm Trusted Publishing。npm 发布应由 GitHub Actions 的 `.github/workflows/publish.yml` 完成,不依赖本机 `npm login`、OTP 或长期 `NPM_TOKEN`。
29
27
 
30
- 正式发布:
28
+ 远程测试和 GitHub push 都通过后,触发发布 workflow:
31
29
 
32
30
  ```bash
33
- npm publish --access public
31
+ gh workflow run publish.yml --repo iTradingAI/aiwiki
32
+ gh run watch --repo iTradingAI/aiwiki
34
33
  ```
35
34
 
36
- 如果账号开启了 publish 2FA,普通 token 可能只能 `whoami`,但发布时仍会要求 OTP。此时有两种方式:
35
+ 如需查看最近一次发布任务:
37
36
 
38
37
  ```bash
39
- npm publish --access public --otp <OTP>
40
- ```
41
-
42
- 或使用 npm Automation token 写入用户级 `.npmrc`:
43
-
44
- ```bash
45
- npm config set //registry.npmjs.org/:_authToken "<NPM_AUTOMATION_TOKEN>"
38
+ gh run list --workflow publish.yml --repo iTradingAI/aiwiki --limit 5
46
39
  ```
47
40
 
48
41
  发布后验证:
@@ -52,6 +45,8 @@ npm view @itradingai/aiwiki version
52
45
  npm view @itradingai/aiwiki versions --json
53
46
  ```
54
47
 
48
+ 如果 workflow 提示 Trusted Publishing / OIDC 权限问题,检查 npm 包设置里的 Trusted Publisher 是否指向 `iTradingAI/aiwiki` 和 workflow 文件名 `publish.yml`,并确认 workflow 顶层包含 `permissions: id-token: write`。
49
+
55
50
  ## 包体积
56
51
 
57
52
  npm 包只应包含 CLI 运行和用户文档所需文件。README 中的图片使用 GitHub raw 链接展示,`docs/assets/` 不进入 npm 包。
package/docs/ROADMAP.md CHANGED
@@ -13,6 +13,7 @@ AIWiki 对外只有一个项目,所以这里写的是能力路线,不是版
13
13
  - 更稳定的 Agent handoff
14
14
  - 更完整的 Obsidian 审阅入口
15
15
  - 更容易追查失败原因
16
+ - 更稳定的公开样例,让新用户先看到真实生成的核心产物
16
17
 
17
18
  ## 2. 更完整的内容处理能力
18
19
 
package/docs/SHOWCASE.md CHANGED
@@ -19,35 +19,38 @@
19
19
 
20
20
  ### AIWiki 会写什么
21
21
 
22
+ 核心产物优先看这些:
23
+
22
24
  ```text
23
25
  09-runs/<run-id>/payload.json
24
26
  09-runs/<run-id>/raw.md
25
27
  09-runs/<run-id>/source-card.md
26
28
  09-runs/<run-id>/wiki-entry.md
27
- 09-runs/<run-id>/creative-assets.md
28
- 09-runs/<run-id>/topics.md
29
- 09-runs/<run-id>/draft-outline.md
30
29
  09-runs/<run-id>/processing-summary.md
30
+ 02-raw/articles/<slug>.md
31
+ 03-sources/article-cards/<slug>.md
32
+ 05-wiki/source-knowledge/<slug>.md
31
33
  ```
32
34
 
33
- ### 长期目录会出现什么
35
+ 只有在宿主 Agent 提供了对应内容,或 payload 明确请求时,才会出现可选增强产物:
34
36
 
35
37
  ```text
36
- 02-raw/articles/
37
- 03-sources/article-cards/
38
+ 09-runs/<run-id>/creative-assets.md
39
+ 09-runs/<run-id>/topics.md
40
+ 09-runs/<run-id>/draft-outline.md
38
41
  04-claims/_suggestions/
39
- 05-wiki/source-knowledge/
40
42
  06-assets/_suggestions/
41
43
  07-topics/ready/
42
44
  08-outputs/outlines/
43
- dashboards/
44
45
  ```
45
46
 
47
+ 仓库里的 `examples/obsidian-vault-sample/` 同时包含一个普通本地文件入库和一个 enriched Agent payload 入库。前者只生成核心产物,后者因为包含 claims、topic candidates、creative assets 和 outline 请求,所以生成可选增强目录。
48
+
46
49
  ### 用户在 Obsidian 里怎么看
47
50
 
48
51
  - 打开 `dashboards/AIWiki Home.md`
49
52
  - 查看 `05-wiki/source-knowledge/<slug>.md`
50
- - 从 Wiki 条目回到资料卡、原文、选题、大纲和处理记录
53
+ - 从 Wiki 条目回到资料卡、原文和处理记录;如果这次入库生成了选题、大纲或 Claim,再继续查看对应可选产物
51
54
  - 需要结构检查时运行 `aiwiki lint`
52
55
 
53
56
  ## 示例 2:网页没读到正文
@@ -81,3 +84,10 @@ dashboards/
81
84
  - AIWiki 负责稳定写入本地知识库
82
85
  - AIWiki 会创建 Wiki Entry;没有 Agent 分析字段时只生成可追溯脚手架
83
86
  - 结果始终可追踪、可复盘、可继续写作
87
+
88
+ ## 本仓库样例
89
+
90
+ - `examples/demo-run/`:输入、命令和 CLI 输出。
91
+ - `examples/obsidian-vault-sample/`:已经生成好的样例知识库。
92
+
93
+ 这个样例不依赖爬虫、向量库、RAG 或 Pro 自动化;它只展示基础 CLI 的真实落盘结果。
package/docs/USAGE.md CHANGED
@@ -186,29 +186,25 @@ Obsidian 入口:dashboards/AIWiki Home.md
186
186
 
187
187
  ## 5. 成功后会生成什么
188
188
 
189
- 每次 run 会写入:
189
+ 每次成功 run 先看核心产物:
190
190
 
191
191
  ```text
192
192
  09-runs/<run-id>/payload.json
193
193
  09-runs/<run-id>/raw.md
194
194
  09-runs/<run-id>/source-card.md
195
- 09-runs/<run-id>/creative-assets.md
196
- 09-runs/<run-id>/topics.md
197
- 09-runs/<run-id>/draft-outline.md
195
+ 09-runs/<run-id>/wiki-entry.md
198
196
  09-runs/<run-id>/processing-summary.md
199
- ```
200
-
201
- 同时写入长期目录:
202
-
203
- ```text
204
197
  02-raw/articles/
205
198
  03-sources/article-cards/
206
199
  05-wiki/source-knowledge/
207
200
  ```
208
201
 
209
- 可选增强目录只在有对应内容或 `request.outputs` 明确请求时生成:
202
+ 只有 payload 有对应内容或 `request.outputs` 明确请求时,才会出现可选增强产物:
210
203
 
211
204
  ```text
205
+ 09-runs/<run-id>/creative-assets.md
206
+ 09-runs/<run-id>/topics.md
207
+ 09-runs/<run-id>/draft-outline.md
212
208
  04-claims/_suggestions/
213
209
  06-assets/_suggestions/
214
210
  07-topics/ready/
@@ -217,6 +213,8 @@ Obsidian 入口:dashboards/AIWiki Home.md
217
213
 
218
214
  `05-wiki/source-knowledge` 是默认知识层;`09-runs` 用于追溯每次处理。
219
215
 
216
+ 可以直接查看仓库里的 `examples/demo-run/` 和 `examples/obsidian-vault-sample/`,它们由当前 CLI 生成,展示普通本地文件只生成核心产物、enriched Agent payload 才生成可选增强产物。
217
+
220
218
  Wiki Entry 有两种质量模式:
221
219
 
222
220
  - `agent_enriched` / `enriched`:宿主 Agent 提供了 `analysis` 或 `wiki_entry`。
@@ -0,0 +1,28 @@
1
+ # AIWiki Demo Run
2
+
3
+ This folder records one generated run from the current CLI contract.
4
+
5
+ ## Inputs
6
+
7
+ - `input/local-article.md`: local Markdown input for `aiwiki ingest-file`.
8
+ - `input/agent-enriched-payload.json`: host-Agent payload with `analysis`, claims, topics, assets, and outline requests.
9
+
10
+ ## Commands
11
+
12
+ ```bash
13
+ aiwiki setup --path ../obsidian-vault-sample --yes
14
+ aiwiki ingest-file --file input/local-article.md --path ../obsidian-vault-sample
15
+ aiwiki ingest-agent --payload input/agent-enriched-payload.json --path ../obsidian-vault-sample
16
+ aiwiki status --path ../obsidian-vault-sample
17
+ aiwiki query "LLM Wiki" --path ../obsidian-vault-sample
18
+ aiwiki context "LLM Wiki" --path ../obsidian-vault-sample
19
+ aiwiki lint --json --path ../obsidian-vault-sample
20
+ ```
21
+
22
+ The captured `*-output.*` files replace machine-specific paths with `<sample-vault>` and `<aiwiki-home>`.
23
+
24
+ ## What To Inspect
25
+
26
+ - Core artifacts appear for both examples: Raw, Source Card, Wiki Entry, Run Summary, and Processing Summary.
27
+ - Optional directories are absent for the plain local-file ingest.
28
+ - Optional claims, assets, topics, and outline appear only for the enriched Agent payload that requested or supplied them.
@@ -0,0 +1,341 @@
1
+ {
2
+ "schema_version": "aiwiki.context.v1",
3
+ "query": "LLM Wiki",
4
+ "generated_at": "2026-06-08T16:06:04.172Z",
5
+ "query_scope": {
6
+ "filters": {},
7
+ "limit": 10,
8
+ "searched_groups": [
9
+ "wiki_entries",
10
+ "topics",
11
+ "source_cards",
12
+ "claims",
13
+ "outlines"
14
+ ]
15
+ },
16
+ "result_quality": {
17
+ "total_matches": 7,
18
+ "best_score": 6,
19
+ "has_wiki_entry": true,
20
+ "warnings": []
21
+ },
22
+ "recommended_next_action": "review_grounding_or_enrich_entry",
23
+ "matches": {
24
+ "wiki_entries": [
25
+ {
26
+ "title": "LLM Wiki Notes",
27
+ "path": "05-wiki/source-knowledge/llm-wiki-notes.md",
28
+ "summary": "LLM Wiki 把资料整理成可持续维护的本地知识层。",
29
+ "score": 6,
30
+ "type": "wiki_entry",
31
+ "topics": [
32
+ "LLM Wiki",
33
+ "Agent-first",
34
+ "content fingerprint",
35
+ "evidence boundary"
36
+ ],
37
+ "tags": [
38
+ "aiwiki/wiki-entry"
39
+ ],
40
+ "source_url": "https://example.com/llm-wiki",
41
+ "status": "active",
42
+ "source_role": "input",
43
+ "wiki_type": "source_knowledge",
44
+ "match_reasons": [
45
+ "title",
46
+ "topics",
47
+ "body",
48
+ "path",
49
+ "source_url",
50
+ "relationships",
51
+ "tags"
52
+ ],
53
+ "quality_signals": [
54
+ "quality:enriched",
55
+ "status:active",
56
+ "generation_mode:agent_enriched",
57
+ "grounding:no_evidence_flag",
58
+ "grounding:needs_review",
59
+ "relationships:present"
60
+ ],
61
+ "related_refs": [
62
+ "03-sources/article-cards/llm-wiki-notes.md",
63
+ "02-raw/articles/llm-wiki-notes.md",
64
+ "03-sources/article-cards/llm-wiki-notes",
65
+ "02-raw/articles/llm-wiki-notes",
66
+ "09-runs/20260608-160603980-89f570/processing-summary"
67
+ ],
68
+ "generation_mode": "agent_enriched",
69
+ "quality": "enriched",
70
+ "grounding_evidence_available": false,
71
+ "grounding_needs_review": true,
72
+ "grounding_markers": [
73
+ "unsupported_claims"
74
+ ],
75
+ "warnings": [
76
+ "Grounding needs review: unsupported_claims."
77
+ ]
78
+ },
79
+ {
80
+ "title": "local-article",
81
+ "path": "05-wiki/source-knowledge/local-article.md",
82
+ "summary": "Only a scaffold preview is available; enrich before relying on it as a final answer.",
83
+ "score": 2,
84
+ "type": "wiki_entry",
85
+ "topics": [],
86
+ "tags": [
87
+ "aiwiki/wiki-entry"
88
+ ],
89
+ "source_url": "",
90
+ "status": "active",
91
+ "source_role": "input",
92
+ "wiki_type": "source_knowledge",
93
+ "match_reasons": [
94
+ "path",
95
+ "tags",
96
+ "body"
97
+ ],
98
+ "quality_signals": [
99
+ "quality:scaffold",
100
+ "status:active",
101
+ "generation_mode:deterministic_fallback",
102
+ "grounding:no_evidence_flag",
103
+ "relationships:present"
104
+ ],
105
+ "related_refs": [
106
+ "03-sources/article-cards/local-article.md",
107
+ "02-raw/articles/local-article.md",
108
+ "03-sources/article-cards/local-article",
109
+ "02-raw/articles/local-article",
110
+ "09-runs/20260608-160603905-085f05/processing-summary"
111
+ ],
112
+ "generation_mode": "deterministic_fallback",
113
+ "quality": "scaffold",
114
+ "grounding_evidence_available": false,
115
+ "grounding_needs_review": false,
116
+ "grounding_markers": [],
117
+ "warnings": [
118
+ "This Wiki Entry is a deterministic fallback; it may need host-agent enrichment."
119
+ ]
120
+ }
121
+ ],
122
+ "source_cards": [
123
+ {
124
+ "title": "LLM Wiki Notes",
125
+ "path": "03-sources/article-cards/llm-wiki-notes.md",
126
+ "summary": "# LLM Wiki Notes ## Obsidian 链接 - Wiki 条目:[[05-wiki/source-knowledge/llm-wiki-notes|Wiki 条目]] - 原文:[[02-raw/articles/llm-wiki-notes|原文]] - Claim 建议:[[04-claims/_suggestions/llm-wik...",
127
+ "score": 4,
128
+ "type": "source_card",
129
+ "topics": [],
130
+ "tags": [
131
+ "aiwiki/source-card"
132
+ ],
133
+ "source_url": "https://example.com/llm-wiki",
134
+ "status": "to-review",
135
+ "match_reasons": [
136
+ "title",
137
+ "body",
138
+ "path",
139
+ "source_url",
140
+ "relationships",
141
+ "tags"
142
+ ],
143
+ "quality_signals": [
144
+ "status:to-review",
145
+ "grounding:no_evidence_flag",
146
+ "grounding:needs_review",
147
+ "relationships:present"
148
+ ],
149
+ "related_refs": [
150
+ "[[03-sources/article-cards/llm-wiki-notes|资料卡]]",
151
+ "[[04-claims/_suggestions/llm-wiki-notes-claims|Claim 建议]]",
152
+ "[[06-assets/_suggestions/llm-wiki-notes-assets|素材建议]]",
153
+ "[[07-topics/ready/llm-wiki-notes-topics|选题]]",
154
+ "[[08-outputs/outlines/llm-wiki-notes-outline|大纲]]",
155
+ "05-wiki/source-knowledge/llm-wiki-notes",
156
+ "02-raw/articles/llm-wiki-notes",
157
+ "04-claims/_suggestions/llm-wiki-notes-claims",
158
+ "06-assets/_suggestions/llm-wiki-notes-assets",
159
+ "07-topics/ready/llm-wiki-notes-topics",
160
+ "08-outputs/outlines/llm-wiki-notes-outline",
161
+ "09-runs/20260608-160603980-89f570/processing-summary"
162
+ ],
163
+ "grounding_evidence_available": false,
164
+ "grounding_needs_review": true,
165
+ "grounding_markers": [
166
+ "unsupported_claims"
167
+ ],
168
+ "warnings": [
169
+ "Grounding needs review: unsupported_claims."
170
+ ]
171
+ },
172
+ {
173
+ "title": "local-article",
174
+ "path": "03-sources/article-cards/local-article.md",
175
+ "summary": "# local-article ## Obsidian 链接 - Wiki 条目:[[05-wiki/source-knowledge/local-article|Wiki 条目]] - 原文:[[02-raw/articles/local-article|原文]] - 处理记录:[[09-runs/20260608-160603905-085f05/pro...",
176
+ "score": 1.33,
177
+ "type": "source_card",
178
+ "topics": [],
179
+ "tags": [
180
+ "aiwiki/source-card"
181
+ ],
182
+ "source_url": "",
183
+ "status": "to-review",
184
+ "match_reasons": [
185
+ "tags",
186
+ "relationships",
187
+ "body"
188
+ ],
189
+ "quality_signals": [
190
+ "status:to-review",
191
+ "grounding:no_evidence_flag",
192
+ "relationships:present"
193
+ ],
194
+ "related_refs": [
195
+ "[[03-sources/article-cards/local-article|资料卡]]",
196
+ "05-wiki/source-knowledge/local-article",
197
+ "02-raw/articles/local-article",
198
+ "09-runs/20260608-160603905-085f05/processing-summary"
199
+ ],
200
+ "grounding_evidence_available": false,
201
+ "grounding_needs_review": false,
202
+ "grounding_markers": [],
203
+ "warnings": []
204
+ }
205
+ ],
206
+ "claims": [
207
+ {
208
+ "title": "LLM Wiki Notes Claims",
209
+ "path": "04-claims/_suggestions/llm-wiki-notes-claims.md",
210
+ "summary": "# Claim 建议 - Wiki 条目:[[05-wiki/source-knowledge/llm-wiki-notes|Wiki 条目]] - 资料卡:[[03-sources/article-cards/llm-wiki-notes|资料卡]] - 原文:[[02-raw/articles/llm-wiki-notes|原文]] - 待人工审阅:LL...",
211
+ "score": 3,
212
+ "type": "claim_suggestions",
213
+ "topics": [],
214
+ "tags": [
215
+ "aiwiki/claims"
216
+ ],
217
+ "source_url": "https://example.com/llm-wiki",
218
+ "status": "to-review",
219
+ "match_reasons": [
220
+ "title",
221
+ "body",
222
+ "path",
223
+ "source_url",
224
+ "relationships",
225
+ "tags"
226
+ ],
227
+ "quality_signals": [
228
+ "status:to-review",
229
+ "grounding:no_evidence_flag",
230
+ "grounding:needs_review",
231
+ "relationships:present"
232
+ ],
233
+ "related_refs": [
234
+ "[[03-sources/article-cards/llm-wiki-notes|资料卡]]",
235
+ "[[04-claims/_suggestions/llm-wiki-notes-claims|Claim 建议]]",
236
+ "[[06-assets/_suggestions/llm-wiki-notes-assets|素材建议]]",
237
+ "[[07-topics/ready/llm-wiki-notes-topics|选题]]",
238
+ "[[08-outputs/outlines/llm-wiki-notes-outline|大纲]]",
239
+ "05-wiki/source-knowledge/llm-wiki-notes",
240
+ "03-sources/article-cards/llm-wiki-notes",
241
+ "02-raw/articles/llm-wiki-notes"
242
+ ],
243
+ "grounding_evidence_available": false,
244
+ "grounding_needs_review": true,
245
+ "grounding_markers": [
246
+ "unsupported_claims"
247
+ ],
248
+ "warnings": [
249
+ "Grounding needs review: unsupported_claims."
250
+ ]
251
+ }
252
+ ],
253
+ "topics": [
254
+ {
255
+ "title": "LLM Wiki Notes Topics",
256
+ "path": "07-topics/ready/llm-wiki-notes-topics.md",
257
+ "summary": "# 选题候选 - Wiki 条目:[[05-wiki/source-knowledge/llm-wiki-notes|Wiki 条目]] - 资料卡:[[03-sources/article-cards/llm-wiki-notes|资料卡]] - 大纲:[[08-outputs/outlines/llm-wiki-notes-outline|大纲]] - ...",
258
+ "score": 5,
259
+ "type": "topic_candidates",
260
+ "topics": [],
261
+ "tags": [
262
+ "aiwiki/topics"
263
+ ],
264
+ "source_url": "https://example.com/llm-wiki",
265
+ "status": "ready",
266
+ "match_reasons": [
267
+ "title",
268
+ "body",
269
+ "path",
270
+ "source_url",
271
+ "relationships",
272
+ "tags"
273
+ ],
274
+ "quality_signals": [
275
+ "status:ready",
276
+ "relationships:present"
277
+ ],
278
+ "related_refs": [
279
+ "[[03-sources/article-cards/llm-wiki-notes|资料卡]]",
280
+ "[[04-claims/_suggestions/llm-wiki-notes-claims|Claim 建议]]",
281
+ "[[06-assets/_suggestions/llm-wiki-notes-assets|素材建议]]",
282
+ "[[07-topics/ready/llm-wiki-notes-topics|选题]]",
283
+ "[[08-outputs/outlines/llm-wiki-notes-outline|大纲]]",
284
+ "05-wiki/source-knowledge/llm-wiki-notes",
285
+ "03-sources/article-cards/llm-wiki-notes",
286
+ "08-outputs/outlines/llm-wiki-notes-outline"
287
+ ],
288
+ "grounding_markers": [],
289
+ "warnings": []
290
+ }
291
+ ],
292
+ "outlines": [
293
+ {
294
+ "title": "LLM Wiki Notes Outline",
295
+ "path": "08-outputs/outlines/llm-wiki-notes-outline.md",
296
+ "summary": "# 草稿大纲 Wiki 条目:[[05-wiki/source-knowledge/llm-wiki-notes|Wiki 条目]] 资料卡:[[03-sources/article-cards/llm-wiki-notes|资料卡]] 原文:[[02-raw/articles/llm-wiki-notes|原文]] 1. 背景 2. 关键观点 3. 证据与...",
297
+ "score": 2,
298
+ "type": "draft_outline",
299
+ "topics": [],
300
+ "tags": [
301
+ "aiwiki/outline"
302
+ ],
303
+ "source_url": "https://example.com/llm-wiki",
304
+ "status": "draft",
305
+ "match_reasons": [
306
+ "title",
307
+ "body",
308
+ "path",
309
+ "source_url",
310
+ "relationships",
311
+ "tags"
312
+ ],
313
+ "quality_signals": [
314
+ "status:draft",
315
+ "relationships:present"
316
+ ],
317
+ "related_refs": [
318
+ "[[03-sources/article-cards/llm-wiki-notes|资料卡]]",
319
+ "[[04-claims/_suggestions/llm-wiki-notes-claims|Claim 建议]]",
320
+ "[[06-assets/_suggestions/llm-wiki-notes-assets|素材建议]]",
321
+ "[[07-topics/ready/llm-wiki-notes-topics|选题]]",
322
+ "[[08-outputs/outlines/llm-wiki-notes-outline|大纲]]",
323
+ "05-wiki/source-knowledge/llm-wiki-notes",
324
+ "03-sources/article-cards/llm-wiki-notes",
325
+ "02-raw/articles/llm-wiki-notes"
326
+ ],
327
+ "grounding_markers": [],
328
+ "warnings": []
329
+ }
330
+ ],
331
+ "raw_refs": []
332
+ },
333
+ "suggested_answer_structure": [
334
+ "topic overview",
335
+ "core claims",
336
+ "available evidence",
337
+ "reuse judgment",
338
+ "next action"
339
+ ],
340
+ "warnings": []
341
+ }
@@ -0,0 +1,25 @@
1
+ ingested: yes
2
+ recorded: yes
3
+ fetch_status: ok
4
+ fit_score: 70
5
+ fit_level: medium
6
+ source_title: LLM Wiki Notes
7
+ source_url: https://example.com/llm-wiki
8
+ summary: 这是一篇关于 LLM Wiki 的文章,讨论了 Agent-first 本地知识库、结构化条目和持续整理。
9
+ run_id: 20260608-160603980-89f570
10
+ run_dir: <sample-vault>\09-runs\20260608-160603980-89f570
11
+ files: 15
12
+ processing_summary: 09-runs/20260608-160603980-89f570/processing-summary.md
13
+ wiki_entry: 05-wiki/source-knowledge/llm-wiki-notes.md
14
+ wiki_entry_generation_mode: agent_enriched
15
+ wiki_entry_quality: enriched
16
+ grounding_evidence_available: no
17
+ grounding_evidence_channel: none
18
+ grounding_needs_review: yes
19
+ grounding_markers: unsupported_claims
20
+ grounding_claims_with_quotes: 0/1
21
+ source_card: 03-sources/article-cards/llm-wiki-notes.md
22
+ draft_outline: 09-runs/20260608-160603980-89f570/draft-outline.md
23
+ dashboard: dashboards/AIWiki Home.md
24
+ review_queue: dashboards/Review Queue.md
25
+ warnings: 1
@@ -0,0 +1,23 @@
1
+ ingested: yes
2
+ recorded: yes
3
+ fetch_status: ok
4
+ fit_score: 65
5
+ fit_level: medium
6
+ source_title: local-article
7
+ summary: # 示例文章 这是一篇用于 `aiwiki ingest-file` 的中文测试文章。 它应该被保存为 raw,并生成资料卡、建议素材和 processing-summary。
8
+ run_id: 20260608-160603905-085f05
9
+ run_dir: <sample-vault>\09-runs\20260608-160603905-085f05
10
+ files: 8
11
+ processing_summary: 09-runs/20260608-160603905-085f05/processing-summary.md
12
+ wiki_entry: 05-wiki/source-knowledge/local-article.md
13
+ wiki_entry_generation_mode: deterministic_fallback
14
+ wiki_entry_quality: scaffold
15
+ grounding_evidence_available: no
16
+ grounding_evidence_channel: none
17
+ grounding_needs_review: no
18
+ grounding_markers: none
19
+ grounding_claims_with_quotes: 0/0
20
+ source_card: 03-sources/article-cards/local-article.md
21
+ dashboard: dashboards/AIWiki Home.md
22
+ review_queue: dashboards/Review Queue.md
23
+ warnings: 0