@optima-chat/optima-agent 0.9.59 → 0.9.60
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.
|
@@ -157,9 +157,14 @@
|
|
|
157
157
|
## 第三步:数据分析
|
|
158
158
|
|
|
159
159
|
=== GATE CHECK ===
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
160
|
+
运行以下两条命令对比:
|
|
161
|
+
```
|
|
162
|
+
cache_count=$(ls ~/.scout/cache/{project}/ | wc -l)
|
|
163
|
+
raw_count=$(ls ~/kb/product-research/raw/ | wc -l)
|
|
164
|
+
echo "cache: $cache_count, raw: $raw_count"
|
|
165
|
+
```
|
|
166
|
+
- 如果 raw_count < cache_count → **STOP。有缓存文件未 ingest。返回第二步执行 Ingest。**
|
|
167
|
+
- 如果 raw_count >= cache_count → 继续分析。
|
|
163
168
|
=== END GATE CHECK ===
|
|
164
169
|
|
|
165
170
|
**所有分析数据必须通过 `Skill("querying-the-wiki")` 从 KB 查询,禁止直接读 `~/.scout/cache/` 中的 JSON 文件。**
|