@optima-chat/optima-agent 0.9.58 → 0.9.59
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.
|
@@ -104,14 +104,16 @@
|
|
|
104
104
|
|
|
105
105
|
---
|
|
106
106
|
|
|
107
|
-
##
|
|
107
|
+
## === CRITICAL: 第二步 Ingest — 不完成不得分析 ===
|
|
108
108
|
|
|
109
|
-
|
|
109
|
+
数据采集完成后,**必须先 ingest 再分析**。跳过 ingest 直接分析是错误的——分析结果将无法追溯、无法被其他阶段复用。
|
|
110
|
+
|
|
111
|
+
### Ingest 步骤
|
|
110
112
|
|
|
111
113
|
1. `cp ~/.scout/cache/{project}/*.json ~/kb/product-research/raw/`
|
|
112
114
|
2. 执行 `Skill("ingesting-sources")` 对每个 raw/ 文件创建 source 页
|
|
113
115
|
3. 执行 `Skill("updating-related-pages")` 更新 entity/overview 页
|
|
114
|
-
4. `ls ~/kb/product-research/wiki/sources/`
|
|
116
|
+
4. **验证**:运行 `ls ~/kb/product-research/wiki/sources/` — 如果输出为空,说明 ingest 失败,必须排查原因,不得继续
|
|
115
117
|
|
|
116
118
|
### 数据完整性检查
|
|
117
119
|
|
|
@@ -154,7 +156,11 @@
|
|
|
154
156
|
|
|
155
157
|
## 第三步:数据分析
|
|
156
158
|
|
|
157
|
-
|
|
159
|
+
=== GATE CHECK ===
|
|
160
|
+
运行 `ls ~/kb/product-research/wiki/sources/ | wc -l`。
|
|
161
|
+
- 如果结果为 0 → **STOP。Ingest 未完成。返回第二步执行 Ingest。**
|
|
162
|
+
- 如果结果 > 0 → 继续分析。
|
|
163
|
+
=== END GATE CHECK ===
|
|
158
164
|
|
|
159
165
|
**所有分析数据必须通过 `Skill("querying-the-wiki")` 从 KB 查询,禁止直接读 `~/.scout/cache/` 中的 JSON 文件。**
|
|
160
166
|
|