argo-search 2.12.0 → 2.14.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.
Files changed (371) hide show
  1. package/AGENTS.md +93 -0
  2. package/README.en.md +35 -12
  3. package/README.es.md +35 -12
  4. package/README.ja.md +38 -13
  5. package/README.ko.md +35 -12
  6. package/README.md +69 -42
  7. package/SKILL.md +4 -4
  8. package/assets/readme/counts.json +1 -0
  9. package/assets/readme/hero.svg +1 -1
  10. package/backends/domain_profiles.json +78 -6
  11. package/backends/engine_registry.yaml +188 -22
  12. package/backends/env_passthrough.txt +75 -0
  13. package/backends/quota_profiles.json +132 -12
  14. package/bin/argo +3 -0
  15. package/config.yaml +34 -3524
  16. package/docs/ARGO_INTRO.md +4 -3
  17. package/docs/CHANGELOG.md +337 -0
  18. package/docs/COMMIT_STANDARD.md +98 -0
  19. package/docs/ENGINE_CATALOG.md +65 -48
  20. package/docs/QUALITY_OF_SLOW_SOURCES.md +115 -0
  21. package/docs/RELEASE_NOTES_v2.13.0.md +66 -0
  22. package/docs/RELEASE_NOTES_v2.14.0.md +77 -0
  23. package/docs/RELEASING.md +47 -0
  24. package/docs//344/270/272/344/273/200/344/271/210/351/200/211/346/213/251argo.md +7 -7
  25. package/engines/specs/anysearch.yaml +33 -0
  26. package/engines/specs/archive_org.yaml +31 -0
  27. package/engines/specs/arxiv.yaml +18 -0
  28. package/engines/specs/baidu_baike.yaml +16 -0
  29. package/engines/specs/baidu_hot.yaml +19 -0
  30. package/engines/specs/bilibili.yaml +33 -0
  31. package/engines/specs/bilibili_hot.yaml +19 -0
  32. package/engines/specs/bing_rss.yaml +17 -0
  33. package/engines/specs/biorxiv.yaml +2 -0
  34. package/engines/specs/bocha.yaml +26 -0
  35. package/engines/specs/bocha_ai.yaml +27 -0
  36. package/engines/specs/brave.yaml +20 -0
  37. package/engines/specs/byted.yaml +33 -0
  38. package/engines/specs/clinicaltrials.yaml +23 -0
  39. package/engines/specs/cls_telegraph.yaml +19 -0
  40. package/engines/specs/cnii.yaml +21 -0
  41. package/engines/specs/cninfo.yaml +14 -0
  42. package/engines/specs/coingecko.yaml +33 -0
  43. package/engines/specs/courtlistener.yaml +15 -0
  44. package/engines/specs/crates.yaml +30 -0
  45. package/engines/specs/crossref.yaml +27 -0
  46. package/engines/specs/csdn.yaml +18 -0
  47. package/engines/specs/dblp.yaml +29 -0
  48. package/engines/specs/dbpedia.yaml +32 -0
  49. package/engines/specs/devto.yaml +26 -0
  50. package/engines/specs/dnb.yaml +17 -0
  51. package/engines/specs/doaj.yaml +17 -0
  52. package/engines/specs/docker_hub.yaml +30 -0
  53. package/engines/specs/douban_book.yaml +14 -0
  54. package/engines/specs/douyin_hot.yaml +21 -0
  55. package/engines/specs/eastmoney.yaml +16 -0
  56. package/engines/specs/ecosia.yaml +18 -0
  57. package/engines/specs/electricity_maps.yaml +17 -0
  58. package/engines/specs/em_flow.yaml +14 -0
  59. package/engines/specs/em_global_news.yaml +17 -0
  60. package/engines/specs/em_miaoxiang.yaml +14 -0
  61. package/engines/specs/eu_opendata.yaml +16 -0
  62. package/engines/specs/europeana.yaml +19 -0
  63. package/engines/specs/europepmc.yaml +29 -0
  64. package/engines/specs/eurostat.yaml +14 -0
  65. package/engines/specs/exa.yaml +20 -0
  66. package/engines/specs/felo.yaml +25 -0
  67. package/engines/specs/figshare.yaml +17 -0
  68. package/engines/specs/finviz.yaml +15 -0
  69. package/engines/specs/fourget.yaml +23 -0
  70. package/engines/specs/fr_opendata.yaml +28 -0
  71. package/engines/specs/frankfurter.yaml +21 -0
  72. package/engines/specs/fred.yaml +15 -0
  73. package/engines/specs/free_dictionary.yaml +16 -0
  74. package/engines/specs/fx_rate.yaml +14 -0
  75. package/engines/specs/gbfs_nyc.yaml +3 -0
  76. package/engines/specs/gbif.yaml +15 -0
  77. package/engines/specs/github.yaml +25 -0
  78. package/engines/specs/google_patents.yaml +16 -0
  79. package/engines/specs/google_scholar.yaml +16 -0
  80. package/engines/specs/gov_policy.yaml +31 -0
  81. package/engines/specs/grep_app.yaml +19 -0
  82. package/engines/specs/gutenberg.yaml +15 -0
  83. package/engines/specs/hackernews.yaml +18 -0
  84. package/engines/specs/hal.yaml +16 -0
  85. package/engines/specs/hatena_bookmark.yaml +20 -0
  86. package/engines/specs/hf_papers.yaml +26 -0
  87. package/engines/specs/huggingface.yaml +31 -0
  88. package/engines/specs/imdb.yaml +18 -0
  89. package/engines/specs/itotii.yaml +17 -0
  90. package/engines/specs/itunes.yaml +19 -0
  91. package/engines/specs/jin10.yaml +15 -0
  92. package/engines/specs/juejin.yaml +16 -0
  93. package/engines/specs/kaggle.yaml +44 -0
  94. package/engines/specs/know_your_meme.yaml +18 -0
  95. package/engines/specs/kor_law.yaml +17 -0
  96. package/engines/specs/lieu.yaml +18 -0
  97. package/engines/specs/listenbrainz.yaml +4 -0
  98. package/engines/specs/local_arxiv.yaml +18 -0
  99. package/engines/specs/local_baidu.yaml +35 -0
  100. package/engines/specs/local_bing.yaml +16 -0
  101. package/engines/specs/local_bing_news.yaml +22 -0
  102. package/engines/specs/local_crossref.yaml +23 -0
  103. package/engines/specs/local_github.yaml +27 -0
  104. package/engines/specs/local_gitlab.yaml +23 -0
  105. package/engines/specs/local_goodreads.yaml +16 -0
  106. package/engines/specs/local_google_news.yaml +15 -0
  107. package/engines/specs/local_imdb.yaml +17 -0
  108. package/engines/specs/local_npm.yaml +25 -0
  109. package/engines/specs/local_openstreetmap.yaml +36 -0
  110. package/engines/specs/local_pubmed.yaml +21 -0
  111. package/engines/specs/local_search.yaml +22 -0
  112. package/engines/specs/local_seek.yaml +34 -0
  113. package/engines/specs/local_semantic_scholar.yaml +23 -0
  114. package/engines/specs/local_sogou.yaml +15 -0
  115. package/engines/specs/local_stackoverflow.yaml +26 -0
  116. package/engines/specs/local_wikipedia.yaml +26 -0
  117. package/engines/specs/local_wikiquote.yaml +26 -0
  118. package/engines/specs/local_wiktionary.yaml +26 -0
  119. package/engines/specs/local_yandex.yaml +37 -0
  120. package/engines/specs/marginalia.yaml +22 -0
  121. package/engines/specs/mdn.yaml +32 -0
  122. package/engines/specs/met_museum.yaml +4 -2
  123. package/engines/specs/metaso.yaml +19 -0
  124. package/engines/specs/models_dev.yaml +16 -0
  125. package/engines/specs/moegirl.yaml +19 -0
  126. package/engines/specs/mojeek.yaml +31 -0
  127. package/engines/specs/musicbrainz.yaml +31 -0
  128. package/engines/specs/mwmbl.yaml +39 -0
  129. package/engines/specs/nasa_cmr.yaml +15 -0
  130. package/engines/specs/nbs_stats.yaml +16 -0
  131. package/engines/specs/ndl.yaml +17 -0
  132. package/engines/specs/noaa_swpc.yaml +3 -0
  133. package/engines/specs/npm.yaml +62 -0
  134. package/engines/specs/octen.yaml +16 -0
  135. package/engines/specs/open_library.yaml +15 -0
  136. package/engines/specs/open_meteo.yaml +17 -0
  137. package/engines/specs/openaire.yaml +34 -0
  138. package/engines/specs/openalex.yaml +27 -0
  139. package/engines/specs/opencitations.yaml +4 -1
  140. package/engines/specs/opencorporates.yaml +19 -0
  141. package/engines/specs/openfda.yaml +15 -0
  142. package/engines/specs/opensky.yaml +17 -0
  143. package/engines/specs/openverse.yaml +42 -0
  144. package/engines/specs/parallel.yaml +22 -0
  145. package/engines/specs/parallel_free.yaml +20 -0
  146. package/engines/specs/polymarket.yaml +26 -0
  147. package/engines/specs/pubchem.yaml +15 -0
  148. package/engines/specs/pypi.yaml +16 -0
  149. package/engines/specs/qiita.yaml +28 -0
  150. package/engines/specs/qq_music.yaml +17 -0
  151. package/engines/specs/qwant.yaml +19 -0
  152. package/engines/specs/qweather.yaml +14 -0
  153. package/engines/specs/rcsb_pdb.yaml +15 -0
  154. package/engines/specs/reddit.yaml +28 -0
  155. package/engines/specs/redskill.yaml +24 -0
  156. package/engines/specs/repology.yaml +18 -0
  157. package/engines/specs/rfc_editor.yaml +15 -0
  158. package/engines/specs/satnogs.yaml +5 -1
  159. package/engines/specs/searchmysite.yaml +18 -0
  160. package/engines/specs/searxng.yaml +18 -0
  161. package/engines/specs/sec_companyfacts.yaml +22 -0
  162. package/engines/specs/seeking_alpha.yaml +15 -0
  163. package/engines/specs/seltz.yaml +39 -0
  164. package/engines/specs/semantic_scholar.yaml +18 -0
  165. package/engines/specs/shenma.yaml +13 -0
  166. package/engines/specs/sina_quote.yaml +15 -0
  167. package/engines/specs/so.yaml +13 -0
  168. package/engines/specs/stackoverflow.yaml +18 -0
  169. package/engines/specs/steam.yaml +30 -0
  170. package/engines/specs/tatoeba.yaml +17 -0
  171. package/engines/specs/tavily.yaml +26 -0
  172. package/engines/specs/tencent_kline.yaml +18 -0
  173. package/engines/specs/tencent_quote.yaml +14 -0
  174. package/engines/specs/thesportsdb.yaml +18 -0
  175. package/engines/specs/ths_hot.yaml +19 -0
  176. package/engines/specs/tinyfish.yaml +36 -0
  177. package/engines/specs/tinyfish_news.yaml +34 -0
  178. package/engines/specs/tinyfish_paper.yaml +34 -0
  179. package/engines/specs/toutiao_hot.yaml +19 -0
  180. package/engines/specs/twitter.yaml +36 -0
  181. package/engines/specs/uapi.yaml +18 -0
  182. package/engines/specs/uniprot.yaml +16 -0
  183. package/engines/specs/urban_dictionary.yaml +25 -0
  184. package/engines/specs/usda.yaml +17 -0
  185. package/engines/specs/usgs.yaml +15 -0
  186. package/engines/specs/v2ex.yaml +33 -0
  187. package/engines/specs/vam.yaml +34 -0
  188. package/engines/specs/wallhaven.yaml +51 -0
  189. package/engines/specs/wallstreetcn.yaml +31 -0
  190. package/engines/specs/wayback_cdx.yaml +15 -0
  191. package/engines/specs/weather_cn.yaml +33 -0
  192. package/engines/specs/wechat_sogou.yaml +13 -0
  193. package/engines/specs/weibo.yaml +21 -0
  194. package/engines/specs/weibo_hot.yaml +21 -0
  195. package/engines/specs/wenshu.yaml +14 -0
  196. package/engines/specs/weread.yaml +14 -0
  197. package/engines/specs/wiby.yaml +18 -0
  198. package/engines/specs/wikidata.yaml +33 -0
  199. package/engines/specs/wikipedia.yaml +36 -0
  200. package/engines/specs/wolframalpha.yaml +18 -0
  201. package/engines/specs/worldbank.yaml +15 -0
  202. package/engines/specs/xiaohongshu.yaml +25 -0
  203. package/engines/specs/yahoo_finance.yaml +22 -0
  204. package/engines/specs/you.yaml +22 -0
  205. package/engines/specs/zh_wikipedia.yaml +35 -0
  206. package/engines/specs/zhihu.yaml +33 -0
  207. package/engines/specs/zhihu_global.yaml +18 -0
  208. package/engines/specs/zhihu_hot.yaml +36 -0
  209. package/engines/specs/zhihu_user.yaml +14 -0
  210. package/package.json +25 -22
  211. package/packages/dsh-plugin/README.md +11 -6
  212. package/packages/dsh-plugin/cordis.patch.yml +6 -2
  213. package/packages/dsh-plugin/dsh/client.js +65 -116
  214. package/packages/dsh-plugin/dsh/index.js +2 -2
  215. package/packages/dsh-plugin/dsh/native-tools.mjs +24 -3
  216. package/packages/dsh-plugin/dsh/runner.js +35 -1
  217. package/packages/dsh-plugin/dsh/specs.js +3 -1
  218. package/packages/dsh-plugin/dsh/wide-research.js +4 -2
  219. package/packages/dsh-plugin/package.json +1 -1
  220. package/packages/dsh-plugin/scripts/sync-local.sh +13 -11
  221. package/packages/dsh-plugin/test/client.test.js +22 -5
  222. package/packages/dsh-plugin/test/config.test.js +5 -1
  223. package/packages/dsh-plugin/test/index.test.js +3 -1
  224. package/packages/dsh-plugin/test/size-gate.test.js +2 -2
  225. package/scripts/ab_eval_p0p1.py +10 -4
  226. package/scripts/archive_run.py +4 -2
  227. package/scripts/badcase_causes.py +81 -0
  228. package/scripts/badcase_ledger.py +290 -15
  229. package/scripts/batch_probe.py +10 -8
  230. package/scripts/build_release_assets.sh +17 -5
  231. package/scripts/cache.py +8 -8
  232. package/scripts/cache_guard.py +10 -5
  233. package/scripts/candidate_envelope.py +7 -3
  234. package/scripts/check_commit_report.py +168 -0
  235. package/scripts/circuit_breaker.py +220 -36
  236. package/scripts/config.py +9 -10
  237. package/scripts/daemon.py +11 -2
  238. package/scripts/engine_add.py +32 -0
  239. package/scripts/engine_admission.py +9 -5
  240. package/scripts/engine_dispatch.py +49 -46
  241. package/scripts/engine_failure.py +14 -18
  242. package/scripts/engine_families.py +13 -2
  243. package/scripts/engine_health.py +184 -0
  244. package/scripts/engine_policy.py +1 -1
  245. package/scripts/engine_states.py +989 -0
  246. package/scripts/engine_status.py +49 -11
  247. package/scripts/engine_validate.py +47 -39
  248. package/scripts/engines.py +8 -0
  249. package/scripts/engines_base.py +34 -88
  250. package/scripts/engines_builders.py +36 -19
  251. package/scripts/engines_builders_archive.py +303 -0
  252. package/scripts/engines_builders_batch11.py +63 -1
  253. package/scripts/engines_builders_batch12.py +168 -0
  254. package/scripts/engines_builders_batch16.py +186 -0
  255. package/scripts/engines_builders_batch9.py +9 -1
  256. package/scripts/engines_builders_data.py +69 -2090
  257. package/scripts/engines_builders_finance.py +354 -0
  258. package/scripts/engines_builders_intl.py +4 -1
  259. package/scripts/engines_builders_media.py +724 -0
  260. package/scripts/engines_builders_science.py +784 -0
  261. package/scripts/engines_parsers.py +399 -0
  262. package/scripts/fetch_browser.py +4 -2
  263. package/scripts/fetch_jsrun.py +2 -1
  264. package/scripts/fetch_v3.py +38 -38
  265. package/scripts/gen_engine_catalog.py +58 -153
  266. package/scripts/gen_native_tools.py +44 -17
  267. package/scripts/gen_routing_snapshot.py +8 -6
  268. package/scripts/health_check.py +37 -4
  269. package/scripts/health_probe.py +28 -8
  270. package/scripts/install.ps1 +31 -15
  271. package/scripts/install.sh +266 -142
  272. package/scripts/job.py +8 -70
  273. package/scripts/lint_spec_contracts.py +7 -12
  274. package/scripts/local_intent.py +139 -0
  275. package/scripts/local_seek.py +223 -91
  276. package/scripts/local_seek_adapter.py +87 -0
  277. package/scripts/mcp_launch.sh +9 -17
  278. package/scripts/mcp_transport.py +1 -1
  279. package/scripts/net_proxy.py +47 -0
  280. package/scripts/numeric_verify.py +20 -9
  281. package/scripts/output_transparency.py +21 -13
  282. package/scripts/plan.py +8 -5
  283. package/scripts/pre-commit +93 -23
  284. package/scripts/quota.py +11 -7
  285. package/scripts/recovery.py +14 -5
  286. package/scripts/recovery_l0.py +5 -3
  287. package/scripts/redskill/redskill_engine.py +3 -9
  288. package/scripts/release.py +60 -24
  289. package/scripts/release_check.py +20 -3
  290. package/scripts/research.py +1 -1
  291. package/scripts/research_dossier.py +10 -5
  292. package/scripts/research_gates.py +8 -4
  293. package/scripts/retry_policy.py +8 -7
  294. package/scripts/route.py +2 -24
  295. package/scripts/route_combo.py +11 -26
  296. package/scripts/route_lang.py +6 -1
  297. package/scripts/route_policy.py +21 -14
  298. package/scripts/search.py +36 -35
  299. package/scripts/search_attribution.py +34 -3
  300. package/scripts/search_cli.py +22 -12
  301. package/scripts/search_entry.py +15 -3
  302. package/scripts/search_output.py +87 -18
  303. package/scripts/search_pipeline.py +14 -10
  304. package/scripts/search_rank.py +23 -62
  305. package/scripts/search_types.py +5 -0
  306. package/scripts/social_engines/bilibili_engine.py +2 -30
  307. package/scripts/social_engines/hackernews_engine.py +4 -12
  308. package/scripts/social_engines/reddit_engine.py +4 -13
  309. package/scripts/social_engines/v2ex_engine.py +3 -12
  310. package/scripts/social_engines/weibo_engine.py +2 -30
  311. package/scripts/social_engines/zhihu_engine.py +4 -5
  312. package/scripts/source_audit.py +331 -0
  313. package/scripts/stats_cli.py +17 -1
  314. package/scripts/sync_backends.py +241 -8
  315. package/scripts/sync_requirements.py +159 -0
  316. package/scripts/tweet.py +3 -6
  317. package/scripts/usage_log.py +28 -9
  318. package/scripts/video_fetch.py +2 -5
  319. package/scripts/watch.py +11 -6
  320. package/scripts/wechat_article.py +11 -12
  321. package/scripts/wide_research.py +4 -1
  322. package/scripts/wx.py +6 -13
  323. package/scripts/x_article_fetch.py +2 -1
  324. package/sub-skills/local-search/SKILL.md +2 -2
  325. package/sub-skills/local-search/config.yaml +2 -1
  326. package/sub-skills/local-search/parsers.py +6 -1
  327. package/sub-skills/local-seek/scripts/seek.py +390 -24
  328. package/sub-skills/local-seek/scripts/seek_fts.py +20 -9
  329. package/sub-skills/local-seek/scripts/seek_rank.py +64 -1
  330. package/docs/DATA_SOURCE_GAPS.md +0 -81
  331. package/docs/DESIGN_LOCAL_DATA_FUSION.md +0 -90
  332. package/docs/PLATFORM_PATHS.md +0 -111
  333. package/docs/engines/bangumi.md +0 -27
  334. package/docs/engines/biorxiv.md +0 -27
  335. package/docs/engines/clawhub.md +0 -27
  336. package/docs/engines/crt_sh.md +0 -27
  337. package/docs/engines/datacite.md +0 -27
  338. package/docs/engines/deps_dev.md +0 -27
  339. package/docs/engines/douban_movie.md +0 -27
  340. package/docs/engines/endoflife.md +0 -27
  341. package/docs/engines/flk_law.md +0 -27
  342. package/docs/engines/fxtwitter.md +0 -27
  343. package/docs/engines/google_news.md +0 -27
  344. package/docs/engines/gov_regulations.md +0 -27
  345. package/docs/engines/guqian.md +0 -27
  346. package/docs/engines/hackernews.md +0 -27
  347. package/docs/engines/iplant.md +0 -27
  348. package/docs/engines/keenable.md +0 -27
  349. package/docs/engines/met_museum.md +0 -27
  350. package/docs/engines/nasa_images.md +0 -27
  351. package/docs/engines/netease_music.md +0 -27
  352. package/docs/engines/npm.md +0 -27
  353. package/docs/engines/nvd.md +0 -27
  354. package/docs/engines/openreview.md +0 -27
  355. package/docs/engines/openstd.md +0 -27
  356. package/docs/engines/parallel_free.md +0 -27
  357. package/docs/engines/people_daily.md +0 -27
  358. package/docs/engines/pixiv.md +0 -27
  359. package/docs/engines/realtime_index.md +0 -27
  360. package/docs/engines/sec_edgar.md +0 -27
  361. package/docs/engines/seltz.md +0 -27
  362. package/docs/engines/skillsmp.md +0 -27
  363. package/docs/engines/sspai.md +0 -27
  364. package/docs/engines/std_samr.md +0 -27
  365. package/docs/engines/train.md +0 -27
  366. package/docs/engines/un_comtrade.md +0 -27
  367. package/docs/engines/wikisource.md +0 -27
  368. package/docs/engines/zdic.md +0 -27
  369. package/docs/engines/zenodo.md +0 -27
  370. package/docs/engines/zhihu_hot_app.md +0 -27
  371. package/engines/specs/cinii.yaml +0 -44
package/AGENTS.md ADDED
@@ -0,0 +1,93 @@
1
+ # AGENTS.md — Argo Agent 路由表
2
+
3
+ > 本文件**只写路由,不写规则**。它告诉 agent「干什么活之前先翻哪份文档、
4
+ > 什么决定不能改」。规则本身在各份被引用的文档里,此处不复制第二份真源。
5
+ >
6
+ > 维护要求:新增一份 `references/` 文档或新增一类「不可回退的决定」时,
7
+ > 同一次改动更新本文件对应行。漏更新的后果是 agent 按旧路由走,而路由错了
8
+ > 比没有路由更坏。
9
+
10
+ ## 先读哪份
11
+
12
+ | 你要做的事 | 先读 | 然后跑什么 |
13
+ |-----------|------|-----------|
14
+ | 新增或改搜索源 | `engines/specs/*.yaml`(唯一真源)+ `docs/ADDING_NEW_ENGINE.md` | `python3 scripts/sync_backends.py && python3 scripts/sync_backends.py --check` → `python3 -m pytest tests/ -q` |
15
+ | 改路由(域/语言/引擎组合) | `references/engines.md` + `scripts/route_domains.py` 文件头 | `scripts/matrix_search_eval.py --offline` → `pytest tests/test_route_*.py` |
16
+ | 改排序或融合 | `references/architecture.md` 的量化公式节 | `scripts/replay_eval.py --check` → `pytest tests/test_ranking_*.py` |
17
+ | 改状态词表(25+ 台状态机) | `scripts/engine_states.py` 文件头 | `pytest tests/test_engine_states.py tests/test_state_registry.py tests/test_state_literal_drift.py` |
18
+ | 改 SKILL.md / 常驻文档 | `references/operations.md` 工程纪律节 | `pytest tests/test_context_budget.py tests/test_usage_doc_gates.py` |
19
+ | 改 MCP 工具面 | `scripts/mcp_tools.py`(单一真源)+ `references/operations.md` | `pytest tests/test_mcp_*.py` |
20
+ | 改抓取链 | `references/usage.md` 的降级链节 | `pytest tests/test_fetch_*.py` |
21
+ | 改发版或依赖 | `docs/RELEASING.md` + `pyproject.toml`(真源) | `pytest tests/test_release_*.py tests/test_dependency_source_gate.py` |
22
+ | 写提交 | `docs/COMMIT_STANDARD.md` | `scripts/check_commit_report.py --last` |
23
+ | 提交前自检 | — | `bash scripts/pre-commit`(14 个 pytest 文件 + 2 个 node 测试,~13s) |
24
+ | 全量回归 | — | `python3 -m pytest tests/ -q`(约 5 分钟,不放进 hook) |
25
+
26
+ ## 不可回退的决定
27
+
28
+ 这些是**拍过板的产品决定**,不是实现细节。PR 不得改它们的默认值;确需改动,
29
+ 先在 PR 描述里说明理由并等 owner 拍板。改动这些开关的默认值会让既有用户的
30
+ 行为静默变化,而这类变化在搜索工具里表现为「结果莫名其妙变了」。
31
+
32
+ **默认关闭的能力开关**(口径唯一真源:`references/usage.md` 的开关总表):
33
+
34
+ - `ARGO_CONCEPT_ROUTER`:概念语义路由。默认走纯词面 TF-IDF,开启后多一层向量
35
+ - `ARGO_LOCAL_IMAGE`:本地图片检索。需要 macOS + swiftc + numpy
36
+ - `ARGO_RRF_WEIGHTED`:加权 RRF 融合。标为**逃生开关**,正常路径不启用
37
+ - `ARGO_SEMANTIC_EVIDENCE`:可选语义证据层。需配置 key
38
+ - `ARGO_ADAPTIVE_TAIL`:尾宽分层。三轮 A/B 未证实收益,保留用于复现
39
+ - `ARGO_GENERAL_FALLBACK_STATIC` / `ARGO_GENERAL_FALLBACK_LEGACY`:静态兜底链。
40
+ 用于逐位复现历史行为或固定 A/B 臂
41
+ - `ARGO_DAEMON`:search 自动拉起 daemon。显式 opt-in
42
+ - `ARGO_NO_CACHE`:跳过缓存读取。仅改动调试用(与 `ARGO_ROUTE_CACHE` 不同:
43
+ 后者默认开,只在测试环境默认关,不是产品决定)
44
+ - `ARGO_ALLOW_PRIVATE_URLS`:SSRF 防护放行。**安全边界,非必要不动**
45
+ - `ARGO_ALLOW_RECOMPUTE`:调度器执行子进程。**安全边界,非必要不动**
46
+ - `ARGO_PIXIV_ALLOW_R18`:pixiv 放行 R-18 作品
47
+ - `ARGO_SAUCENAO_API_KEY` / `ARGO_SERPAPI_API_KEY`:反搜图引擎,仅显式反搜时需要
48
+
49
+ **已停用的引擎**:`docs/ENGINE_CATALOG.md` 的「已停用」清单(当前 15 个)。
50
+ 重新启用需走 `docs/ADDING_NEW_ENGINE.md` 的准入流程,不是把 `enabled` 改回 true。
51
+
52
+ **出口纪律**:SSRF 防护(`content_security` / `url_safety`)与 recompute
53
+ 执行器的默认值不得放宽。这两处是安全边界,放宽需要 owner 明确拍板。
54
+
55
+ ## 工程纪律(唯一来源)
56
+
57
+ 以下每条都在 `references/operations.md` 末尾有完整说明,此处只列结论:
58
+
59
+ 1. **代码看本仓库**,引擎声明看 `engines/specs/*.yaml`(外置 specs 优先覆盖
60
+ `config.yaml` 同名引擎)
61
+ 2. **宿主入口用 `scripts/link_source.py` 建 symlink 指回来源**,禁止 rsync 或
62
+ 多副本;禁止在产品代码里写死主机 skill 路径
63
+ 3. **新增搜索源只改 spec**,然后 `scripts/sync_backends.py` 派生,不手改 `backends/*`
64
+ 4. **状态值一律引用 `engine_states` 常量**,不写裸字面量(有机械门禁
65
+ `tests/test_state_literal_drift.py` 拦)
66
+ 5. **改完先跑秒级检查**,全量回归按需(`/hunt`、`/ui` 专项验收才跑)
67
+
68
+ ## 提交纪律
69
+
70
+ 高风险提交(新增引擎、改路由、改状态词表、动发版或依赖链)**必须**在提交信息
71
+ 里写清「跑了什么、在 commit 上跑的、没跑什么」。三段固定为 `跑了` / `在 commit` /
72
+ `未跑`;确实没漏写 `未跑: 无`,不能整段省略。
73
+
74
+ 口径与示例见 `docs/COMMIT_STANDARD.md`,机械检查是
75
+ `scripts/check_commit_report.py`。
76
+
77
+ **理由**:`f702ee2` 把 SKILL.md 压到 8049B、`4a71693` 让 deepseek_search 成死源,
78
+ 两笔都过了 pre-commit hook 却在全量回归里红——跑了的门禁全绿,没跑的那条门
79
+ 没人知道它该跑。省略不写是默认行为,而默认行为正是这类事故的成因。
80
+
81
+ ## 回退测试要求
82
+
83
+ 新增测试必须验证它真能抓到退步:把旧实现放回去,新测试要挂。「测试存在」
84
+ 不等于「测试有效」。做法与示例见 `docs/COMMIT_STANDARD.md` 的「回退测试要求」节。
85
+
86
+ ## 坏例复发处理
87
+
88
+ `scripts/badcase_ledger.py` 从本机使用日志归集坏例,并按根因聚合出 `seen_days`
89
+ (在多少个不同日期出现过)。同一根因跨 **3 个不同日期**出现即触发升级判定
90
+ (`check --promote-days 3`),此时它该从错题本挪进硬规则——通常是补一条测试或
91
+ 一条 lint。词表见 `scripts/engine_states.py` §27,导出格式见 `lessons` 子命令。
92
+
93
+ `external_ranking`(活网排名漂移)不参与升级判定:它不是 argo 的问题。
package/README.en.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="assets/readme/hero.svg" width="100%" alt="Argo: search and deep research for agents — 288 search sources, routing by domain and language, absorbable evidence output">
2
+ <img src="assets/readme/hero.svg" width="100%" alt="Argo: search and deep research for agents — hundreds of search sources, routing by domain and language, absorbable evidence output">
3
3
  </p>
4
4
 
5
5
  <p align="center">
@@ -25,8 +25,8 @@
25
25
  <a href="https://github.com/taxueseek/argo/stargazers"><img alt="stars" src="https://img.shields.io/github/stars/taxueseek/argo?style=social"></a>
26
26
  <img alt="license" src="https://img.shields.io/badge/license-Apache_2.0-blue">
27
27
  <img alt="python" src="https://img.shields.io/badge/python-3.9+-green">
28
- <img alt="version" src="https://img.shields.io/badge/version-2.12.0-informational">
29
- <img alt="engines" src="https://img.shields.io/badge/engines-288-orange">
28
+ <img alt="version" src="https://img.shields.io/badge/version-2.14.0-informational">
29
+ <img alt="engines" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Ftaxueseek%2Fargo%2Fmain%2Fassets%2Freadme%2Fcounts.json">
30
30
  <img alt="mcp" src="https://img.shields.io/badge/MCP-19%20tools-purple">
31
31
  </p>
32
32
 
@@ -38,7 +38,7 @@
38
38
 
39
39
  ## What it is
40
40
 
41
- **Argo is a search and deep-research tool that lives inside your agent, and can also pull information from the relevant web pages. It connects to 288 search sources across 99 business domains, and also covers basic local file search. Among open-source search projects, its search capability is exceptionally strong.**
41
+ **Argo is a search and deep-research tool that lives inside your agent, and can also pull information from the relevant web pages. It connects to hundreds of search sources across nearly 100 business domains, and also covers basic local file search. Among open-source search projects, its search capability is exceptionally strong.**
42
42
 
43
43
  API keys are optional and improve quality (keyed sources are usually better; unkeyed ones are skipped automatically), with free engines and local engines as an automatic fallback. It covers 18 languages including Chinese, English, Japanese and Korean, and supports vertical scenarios such as finance, academia, film, sports, code and macro data.
44
44
 
@@ -126,7 +126,7 @@ Saving takes effect immediately (all volatile config): the native tool set is re
126
126
 
127
127
  ## Core strengths
128
128
 
129
- **288 sources, 242 keyless and ready out of the box.** Runs without any API key; free and local engines fall back automatically. Keyed sources are usually better, and unkeyed ones are skipped automatically. One install covers every scenario.
129
+ **Most sources are keyless and ready out of the box.** Runs without any API key; free and local engines fall back automatically. Keyed sources are usually better, and unkeyed ones are skipped automatically. One install covers every scenario.
130
130
 
131
131
  **Local and web search in one.** This is a capability only Argo has. Local file search is built on the same tools developers use daily, rg and mdfind: code symbols, filenames, document text and file structure. Flip one switch and local hits join the same web search results, labelled with the local file as the source. When you remember writing something six months ago but forget where, this beats digging through folders.
132
132
 
@@ -148,7 +148,7 @@ Zero config works. Three ways to install, pick your habit:
148
148
  # Option 1: install script (recommended for long-term local use)
149
149
  curl -fsSL https://raw.githubusercontent.com/taxueseek/argo/main/scripts/install.sh | bash
150
150
 
151
- # Option 2: npm / npx (supported, currently 2.12.0; released per tag, version pinned)
151
+ # Option 2: npm / npx (supported, currently 2.14.0; released per tag, version pinned)
152
152
  npm install -g argo-search # install the CLI globally
153
153
  npx -y argo-search # or run it without installing
154
154
  npx -y github:taxueseek/argo # use this to follow the latest commit on main
@@ -210,10 +210,10 @@ All four forms run the same Python code underneath; CLI and MCP tools map one to
210
210
  1. **From links to evidence.** Agents need structured material they can rank, verify and fit in context — Argo returns credibility-decomposed JSON, not SERP lists.
211
211
  2. **Context is the first cost.** A single page scrape can burn 10k+ tokens; Argo's agent profile is ~3.7KB per call, with field sets and byte budgets pinned by gates.
212
212
  3. **Sites now prepare content for AI.** llms.txt and `.md` direct-out are spreading across major doc sites — Argo's fetch chain probes them at level 0, with an r.jina.ai reader fallback.
213
- 4. **The free/open ecosystem is enough.** Government, academic, standards and security open APIs plus keyless engines cover most domains (242 keyless sources).
213
+ 4. **The free/open ecosystem is enough.** Government, academic, standards and security open APIs plus keyless engines cover most domains (most sources need no key).
214
214
  5. **Quality is measurable.** Ranking golden floors, fusion-ablation gates and negative routing controls — "is this version better" is now a number, not a vibe.
215
215
 
216
- > All five are already shipped across the v2.9.x line: 288 sources, 99 domains, 242 keyless out of the box. Details in [docs/为什么选择argo.md](docs/为什么选择argo.md).
216
+ > All five are already shipped across the v2.9.x line. Details in [docs/为什么选择argo.md](docs/为什么选择argo.md).
217
217
 
218
218
  ---
219
219
 
@@ -283,7 +283,7 @@ Results include `selection`, `absorption`, `credibility_fast`, `evidence_flags`,
283
283
 
284
284
  ## Quick start
285
285
 
286
- Pick any path. **npm install is supported, current version 2.12.0**, published from this repo like GitHub. The npm route uses `npm install -g argo-search` or `npx -y argo-search`, is released per tag, with a pinned version and a smaller download. The GitHub route uses `install.sh` / `install.ps1` or `npx github:taxueseek/argo` and follows main. From now on every tag push makes CI publish both npm packages together with the GitHub Release; the older v1.0.1 on the registry is a historical version, do not pin to it.
286
+ Pick any path. **npm install is supported, current version 2.14.0**, published from this repo like GitHub. The npm route uses `npm install -g argo-search` or `npx -y argo-search`, is released per tag, with a pinned version and a smaller download. The GitHub route uses `install.sh` / `install.ps1` or `npx github:taxueseek/argo` and follows main. From now on every tag push makes CI publish both npm packages together with the GitHub Release; the older v1.0.1 on the registry is a historical version, do not pin to it.
287
287
 
288
288
  **Zero-config works**: without API keys, free engines + local `local_*` engines run; keyed engines are skipped when missing (and usually better when present).
289
289
 
@@ -426,15 +426,19 @@ python3 scripts/search.py --list-engines
426
426
  | `deep` | research, surveys | quality first; more engines allowed |
427
427
  | `budget` | tight quota | quota control; degrade when exhausted |
428
428
 
429
- ### Rough capability set (v2.12.0)
429
+ ### Rough capability set (v2.14.0)
430
430
 
431
- What Argo does, in one sentence: it sends each question to the right sources by domain and language, ranks what comes back by credibility, and hands the agent material it can sort and verify. Search, fetch, evidence checking and local file search share one pipeline, the 19 MCP tools map one-to-one onto CLI commands, so nothing is missing whichever form you install. A few standalone commands round it out: argo tweet packs an X post, argo auth handles login state, argo job aggregates job listings. The full catalog, with cost, key and status per source, sits in docs/ENGINE_CATALOG.md: **288 sources (242 usable with no key), 99 domains**.
431
+ What Argo does, in one sentence: it sends each question to the right sources by domain and language, ranks what comes back by credibility, and hands the agent material it can sort and verify. Search, fetch, evidence checking and local file search share one pipeline, the 19 MCP tools map one-to-one onto CLI commands, so nothing is missing whichever form you install. A few standalone commands round it out: argo tweet packs an X post, argo auth handles login state, argo job aggregates job listings. The full catalog, with cost, key and status per source, sits in docs/ENGINE_CATALOG.md: **Hundreds of sources, most usable with no key; exact counts in [docs/ENGINE_CATALOG.md](docs/ENGINE_CATALOG.md)**.
432
432
 
433
433
  Installed as a DSH plugin, these capabilities become native host tools: the hot-path search and fetch are on by default, the long-tail forensics tools toggle on in the settings page, and argo's own 28 behaviour switches (cache, rerank, dedup, guard, proxy, TTLs and the rest) moved out of environment variables and into the panel. Keys go into the host credential store, are never echoed, and every change takes effect on save.
434
434
 
435
435
  The last few releases each fixed one class of problems.
436
436
 
437
437
 
438
+ v2.14.0 focuses on parser layer consolidation, source expansion, and the badcase ledger loop. Adding a new source no longer requires writing a Python parser: a parser registry and a "self-reflective inference parser" infer the parsing rules from declared field paths — zero config, no `output_map`; `argo doctor` now audits parse paths so a broken parser surfaces as a real error instead of a mysterious "this source returned 0 results", which previously could not be distinguished from a genuine empty result. Sources grow 290 → 300 (Mwmbl, Kaggle, HuggingFace Papers, grep.app, OpenAIRE, Mojeek, Repology, DBpedia, 4get, plus three revived sources). Local retrieval gets four improvements: machine-specific path hardcoding removed, multi-environment adaptive asset discovery, FTS5 index slimming with lemmatization, and a cross-platform pure-stdlib fallback. The badcase ledger loop is the headline: the ledger gains an attribution layer (12 root causes; insufficient evidence yields "unattributed" rather than a guess) and a recurrence gate — the same root cause on 3 distinct days triggers "promote this to a hard rule", with live-web ranking drift excluded. The same release adds the `AGENTS.md` routing table and `docs/COMMIT_STANDARD.md`; high-risk commits must state what was run, on which commit, and what was not — the response to two real incidents where a change passed pre-commit yet failed the full regression suite.
439
+
440
+ v2.13.0 focuses on documentation consolidation and state layer consolidation. `docs/` slimmed from 87 to 26 files: deleted `docs/engines/` 60 files (duplicated with `engines/specs/*.yaml` SSOT), archived 18 process reports to `docs-local/archive/` (not in public repo, local traceability), added `docs/CHANGELOG.md` merging 23 RELEASE_NOTES, 27 dead links in README now point to CHANGELOG. State layer `scripts/engine_states.py` expanded from 12 to 22 state machines, 34 modules reference it, literal residuals 19→0; fixed silent degradation from 4 hand-copied rerank degraded sets, `health_check --category` crash, daemon state inferred from Chinese text. Dispatch layer: deep-mode full-parallel branch adds `tail_grace_s`, median 10,000ms → 2,324ms, count unchanged. 165 engine declarations migrated from `config.yaml` to `engines/specs/*.yaml`, `config.py` merge logic from dual-source override to one-way specs→config, 3523 lines deleted. Dependencies consolidated to uv (`uv.lock` pinned + `.python-version` + `pyproject.toml` SSOT).
441
+
438
442
  v2.12.0 ships the unified settings center: one entry point, `argo settings`, to inspect and edit the configuration shared by every client (masked keys, per-client onboarding snippets, live switch values), with a zero-service write-back channel — fulfilling issue #44. Community-contributed pixiv keyword image search (anonymous Web / OAuth App dual channel) and a built-in trace.moe scene-recognition engine bring the source count to 288; fetch stops leaving WeChat articles unhandled; and the scheduling/routing algorithms get internal refinements.
439
443
  v2.11.2 focuses on closing external feedback. It adds SauceNAO, AnimeTrace, and Google Lens as explicit-only reverse-image engines and removes the dead tineye; fixes four silent-failure classes — keyRefs credentials never reaching subprocesses (key-needing engines no longer return skipped-missing-env), quota not self-healing on key rotation and 402 wrongly locking 30 days, and social-engine subprocess env / credential forwarding; and routes lint_spec_contracts through the shared YAML loader, clearing main's unit/extras shard failures.
440
444
 
@@ -463,7 +467,7 @@ Per-version detail lives in "Recent updates"; release notes for each version are
463
467
 
464
468
  ## Engines & routing
465
469
 
466
- Config currently has **288** sources (**242** usable with no key) and **99** domains (see `config.yaml` and `--list-engines`).
470
+ Source, keyless and domain counts are maintained by the generator in [docs/ENGINE_CATALOG.md](docs/ENGINE_CATALOG.md) (see `config.yaml` and `--list-engines`).
467
471
 
468
472
  ### Direct & vertical (excerpt)
469
473
 
@@ -665,6 +669,23 @@ argo/
665
669
 
666
670
  Only the four most recent versions. Full history in the [changelog](#changelog); per-release detail on [Releases](https://github.com/taxueseek/argo/releases).
667
671
 
672
+ ### v2.14.0: Parser Layer Consolidation + 300 Sources + Badcase Ledger Loop
673
+
674
+ - **New engines no longer need a hand-written parser**: added a parser registry and a "self-reflective inference parser" — declare the field path and the parsing rules are inferred automatically, zero config, no `output_map`; `argo doctor` now audits every source's parse path, so a broken parser surfaces as a real error instead of a mysterious "this source returned 0 results"
675
+ - **Sources 290 → 300**: nine new declarations — Mwmbl, Kaggle, HuggingFace Papers, grep.app (official MCP code search), OpenAIRE, Mojeek, Repology, DBpedia, 4get — plus three revived sources (clinicaltrials / coingecko / fxtwitter). Eight are on by default; 4get stays off as an anonymous-search fallback
676
+ - **Four local-retrieval improvements**: removed machine-specific path hardcoding (multi-environment adaptive asset discovery — moving to another machine no longer needs a code change); FTS5 index slimming, lemmatization and abbreviation boost, proximity clustering; cross-platform pure-standard-library fallback and public/local search isolation; observable cost, configurable candidates, intent prediction, result cap
677
+ - **Local intent signals consolidated**: two-level signal driving and faceted channel isolation land; anomaly and private-identifier signals consolidated to a single source; fixed `cnii` double-registration silently disabling language-exclusive removal (English queries were running Japanese sources for nothing)
678
+ - **Badcase ledger loop**: the ledger gains an attribution layer (12 root causes; when evidence is insufficient it says "unattributed" rather than guessing) and a recurrence gate — the same root cause appearing on 3 distinct days triggers "promote this to a hard rule". Live-web ranking drift does not count (that is not argo's problem). Also adds `AGENTS.md` routing table and `docs/COMMIT_STANDARD.md`; high-risk commits must state what was run, on which commit, and what was not
679
+ - **State machines 22 → 27**: implicit state-machine census adds 3 (recovery level, conclusion cap, validation) plus badcase root cause (machine #27); new AST gate `test_state_literal_drift.py` turns red when a registered state value reverts to a bare literal
680
+
681
+ ### v2.13.0: Documentation Consolidation + 22-State-Machine SSOT + Dispatch Tail Grace
682
+
683
+ - **Documentation consolidation**: `docs/` slimmed from 87 to 26 files. Deleted `docs/engines/` 60 files (duplicated `engines/specs/*.yaml` SSOT); archived 18 process reports to `docs-local/archive/` (not in public repo, local traceability); added `docs/CHANGELOG.md` merging 23 RELEASE_NOTES; 27 dead links in README now point to CHANGELOG
684
+ - **22 state machines SSOT**: `scripts/engine_states.py` expanded from 12 to 22 state machines, 34 modules reference it, literal residuals 19→0; fixed silent degradation from 4 hand-copied rerank degraded sets, `health_check --category` crash, daemon state inferred from Chinese text
685
+ - **Dispatch tail grace**: deep-mode full-parallel branch adds `tail_grace_s`, median 10,000ms → 2,324ms, count unchanged
686
+ - **Engine declaration SSOT**: 165 engine declarations migrated from `config.yaml` to `engines/specs/*.yaml`, `config.py` merge logic from dual-source override to one-way specs→config, 3523 lines deleted
687
+ - **Dependencies consolidated to uv**: `uv.lock` pinned + `.python-version` + `pyproject.toml` SSOT, new `test_dependency_source_gate.py` mechanical drift check
688
+
668
689
  ### v2.12.0: Unified settings center + pixiv/trace.moe image engines + WeChat fetch branch
669
690
 
670
691
  - **Unified settings center** (#44, thanks @zooyoo): `argo settings` read-only overview page (keys masked to last 4 chars, onboarding snippets, live switch values); `--edit` form page + `apply` write-back; `set/unset/list` direct CLI edits (values read from stdin, never in argv or shell history); `argo ui` as an alias. Zero-service tradeoff: no port, no auth lifecycle, write-back unified in env_store (atomic write + 0600)
@@ -724,6 +745,8 @@ Only the four most recent versions. Full history in the [changelog](#changelog);
724
745
 
725
746
  | Version | Notes |
726
747
  |---------|-------|
748
+ | **v2.14.0** | **Parser Layer Consolidation + 300 Sources + Badcase Ledger Loop**: new engines no longer need a hand-written parser (registry + self-reflective inference parser, zero config, no `output_map`); `argo doctor` gains source audit; sources 290→300 (Mwmbl/Kaggle/HF Papers/grep.app/OpenAIRE/Mojeek/Repology/DBpedia/4get + three revived); four local-retrieval improvements (multi-environment adaptive asset discovery, FTS5 slimming and lemmatization, cross-platform pure-stdlib fallback, observable cost); local intent signals consolidated (fixed English queries running Japanese sources); badcase ledger gains attribution layer and Seen N× recurrence gate; new `AGENTS.md` routing table and `docs/COMMIT_STANDARD.md`; state machines 22→27. See [Release Notes](docs/RELEASE_NOTES_v2.14.0.md) |
749
+ | **v2.13.0** | **Documentation Consolidation + 22-State-Machine SSOT + Dispatch Tail Grace**: `docs/` 87→26 (deleted `docs/engines/` 60, archived 18 process reports, added CHANGELOG); `scripts/engine_states.py` 12→22 state machines, 34 modules, literal residuals 19→0; deep-mode tail grace 10s→2.2s; 165 engine declarations migrated to `engines/specs/`; dependencies consolidated to uv. See [Release Notes](docs/RELEASE_NOTES_v2.13.0.md) |
727
750
  | **v2.12.0** | **Unified settings center + pixiv/trace.moe image search + WeChat fetch**: zero-service settings page and write-back via `argo settings` (#44, @zooyoo); pixiv dual-channel keyword image search (PR#45, @OMSociety); trace.moe scene recognition; dedicated WeChat fetch branch; sources 286→288. See [release notes](docs/RELEASE_NOTES_v2.12.0.md). |
728
751
  | **v2.11.2** | **Reverse-image engines + four silent-failure classes closed + main-CI fix**: adds SauceNAO/AnimeTrace/Google Lens as explicit-only reverse-image engines and removes the dead tineye; keyRefs credentials forwarded through the dsh plugin providers into the MCP pool (#41); quota key-rotation self-heal + 402 30-day lock fixed + reset hint (#42); xhs/twitter subprocess env and credential forwarding (#36); lint_spec_contracts through the shared YAML loader clears main CI. See [release notes](docs/RELEASE_NOTES_v2.11.2.md). |
729
752
  | **v2.10.2** | **Semantic routing in three steps + labeled accuracy 76.9%→100% + circuit-breaker split fix**: relevance anchor weighting + static concept vector table (`ARGO_CONCEPT_ROUTER=1`, off by default) + route accuracy consolidation — 13-case labeled set at 100%, 61% of snapshot decisions moved to concept direct-match; circuit-breaker factory resolves at call time, killing module-alias splits; snippet tag hygiene and caliber dedup; ZCode panel three-tab layout; test env snapshot-restore hardening. See [release notes](docs/RELEASE_NOTES_v2.10.2.md). |
package/README.es.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="assets/readme/hero.svg" width="100%" alt="Argo: búsqueda e investigación profunda para agentes, 288 fuentes de búsqueda, enrutamiento por dominio e idioma y evidencia absorbible como salida">
2
+ <img src="assets/readme/hero.svg" width="100%" alt="Argo: búsqueda e investigación profunda para agentes, cientos de fuentes de búsqueda, enrutamiento por dominio e idioma y evidencia absorbible como salida">
3
3
  </p>
4
4
 
5
5
  <p align="center">
@@ -25,8 +25,8 @@
25
25
  <a href="https://github.com/taxueseek/argo/stargazers"><img alt="stars" src="https://img.shields.io/github/stars/taxueseek/argo?style=social"></a>
26
26
  <img alt="license" src="https://img.shields.io/badge/license-Apache_2.0-blue">
27
27
  <img alt="python" src="https://img.shields.io/badge/python-3.9+-green">
28
- <img alt="version" src="https://img.shields.io/badge/version-2.12.0-informational">
29
- <img alt="engines" src="https://img.shields.io/badge/engines-288-orange">
28
+ <img alt="version" src="https://img.shields.io/badge/version-2.14.0-informational">
29
+ <img alt="engines" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Ftaxueseek%2Fargo%2Fmain%2Fassets%2Freadme%2Fcounts.json">
30
30
  <img alt="mcp" src="https://img.shields.io/badge/MCP-19%20tools-purple">
31
31
  </p>
32
32
 
@@ -38,7 +38,7 @@
38
38
 
39
39
  ## Qué es
40
40
 
41
- **Argo es una herramienta de búsqueda e investigación profunda que vive dentro del agente, y también puede obtener información de las páginas web relevantes. Detrás tiene 288 fuentes de búsqueda que cubren 99 dominios de negocio, además de búsqueda básica sobre archivos locales. Entre los proyectos de búsqueda de código abierto, su capacidad de búsqueda es muy potente.**
41
+ **Argo es una herramienta de búsqueda e investigación profunda que vive dentro del agente, y también puede obtener información de las páginas web relevantes. Detrás tiene cientos de fuentes de búsqueda que cubren casi 100 dominios de negocio, además de búsqueda básica sobre archivos locales. Entre los proyectos de búsqueda de código abierto, su capacidad de búsqueda es muy potente.**
42
42
 
43
43
  Permite configurar claves API para mejorar la calidad de búsqueda (las fuentes con clave suelen dar mejores resultados; si falta la clave, se omiten automáticamente), y también cuenta con motores gratuitos y locales como red de seguridad automática. Cubre 18 idiomas, entre ellos chino, inglés, japonés y coreano, y da soporte a escenarios verticales como finanzas, academia, cine, deportes, código y macroeconomía.
44
44
 
@@ -126,7 +126,7 @@ Guardar surte efecto de inmediato (todo es configuración volátil): el conjunto
126
126
 
127
127
  ## Ventajas principales
128
128
 
129
- **288 fuentes, 242 disponibles sin clave desde el primer momento.** Funciona sin configurar ninguna clave API: los motores gratuitos y locales actúan como red de seguridad. Las fuentes con clave suelen ofrecer mejor calidad; si no hay clave, se omiten. Una instalación y cubres todos los escenarios.
129
+ **La mayoría de las fuentes funcionan sin clave desde el primer momento.** Funciona sin configurar ninguna clave API: los motores gratuitos y locales actúan como red de seguridad. Las fuentes con clave suelen ofrecer mejor calidad; si no hay clave, se omiten. Una instalación y cubres todos los escenarios.
130
130
 
131
131
  **Búsqueda local y búsqueda web en una sola pieza.** Es una capacidad que solo tiene Argo. La búsqueda de archivos locales se apoya en las herramientas que los desarrolladores usan a diario, como rg y mdfind, y busca símbolos de código, nombres de archivo, texto completo de documentos y estructura de archivos. Con un interruptor, los aciertos locales se integran en la misma búsqueda web, marcados como archivos de la máquina. Cuando escribes y recuerdas que hace medio año anotaste algo pero no dónde, esto es más rápido que navegar carpetas.
132
132
 
@@ -148,7 +148,7 @@ Funciona sin configuración. Tres formas de instalarlo, elige la que te acomode:
148
148
  # Opción 1: script de instalación (recomendado para uso local a largo plazo)
149
149
  curl -fsSL https://raw.githubusercontent.com/taxueseek/argo/main/scripts/install.sh | bash
150
150
 
151
- # Opción 2: npm / npx (soportado, versión actual 2.12.0; se publica por tag, versión fija)
151
+ # Opción 2: npm / npx (soportado, versión actual 2.14.0; se publica por tag, versión fija)
152
152
  npm install -g argo-search # instala la CLI globalmente
153
153
  npx -y argo-search # o úsalo sin instalar
154
154
  npx -y github:taxueseek/argo # para seguir el último commit de main
@@ -210,10 +210,10 @@ Las cuatro formas comparten el mismo código Python por debajo; la CLI y las her
210
210
  1. **De enlaces a evidencia.** Los agentes necesitan material estructurado, verificable y compacto — Argo devuelve JSON con desglose de credibilidad.
211
211
  2. **El contexto es el primer coste.** Argo perfil agente: ~3,7KB por llamada, con presupuestos de bytes fijados por gates.
212
212
  3. **Los sitios preparan contenido para IA.** llms.txt y `.md` se extienden — la cadena de fetch los sondea en el nivel 0, con lector r.jina.ai como respaldo.
213
- 4. **El ecosistema libre basta.** APIs abiertas de gobiernos/academia/estándares/seguridad + motores sin clave cubren la mayoría de dominios (240 sin clave).
213
+ 4. **El ecosistema libre basta.** APIs abiertas de gobiernos/academia/estándares/seguridad + motores sin clave cubren la mayoría de dominios (la mayoría sin clave).
214
214
  5. **Calidad medible.** Pisos golden de ranking, gates de ablación de fusión y controles negativos de enrutamiento.
215
215
 
216
- > Los cinco puntos ya están implementados en la serie v2.9.x: 288 fuentes, 99 dominios, 242 sin clave.
216
+ > Los cinco puntos ya están implementados en la serie v2.9.x.
217
217
 
218
218
  ---
219
219
 
@@ -283,7 +283,7 @@ Los resultados incluyen `selection`, `absorption`, `credibility_fast`, `evidence
283
283
 
284
284
  ## Inicio rápido
285
285
 
286
- Elige cualquier camino. **La instalación por npm está soportada y la versión actual es 2.12.0**, publicada desde este repo igual que GitHub. La ruta npm usa `npm install -g argo-search` o `npx -y argo-search`, se publica por tag, con versión fija y menos descarga. La ruta GitHub usa `install.sh` / `install.ps1` o `npx github:taxueseek/argo` y sigue main. A partir de ahora, cada tag hace que la CI publique los dos paquetes npm junto con el GitHub Release; el v1.0.1 antiguo del registro es una versión histórica, no fijes esa.
286
+ Elige cualquier camino. **La instalación por npm está soportada y la versión actual es 2.14.0**, publicada desde este repo igual que GitHub. La ruta npm usa `npm install -g argo-search` o `npx -y argo-search`, se publica por tag, con versión fija y menos descarga. La ruta GitHub usa `install.sh` / `install.ps1` o `npx github:taxueseek/argo` y sigue main. A partir de ahora, cada tag hace que la CI publique los dos paquetes npm junto con el GitHub Release; el v1.0.1 antiguo del registro es una versión histórica, no fijes esa.
287
287
 
288
288
  **Funciona sin configuración**: sin claves API corren motores gratis + `local_*` locales; los que requieren clave se omiten si faltan (y suelen mejorar cuando están).
289
289
 
@@ -468,15 +468,19 @@ python3 scripts/search.py --list-engines
468
468
  | `deep` | investigación, sondeos | calidad primero; más motores |
469
469
  | `budget` | cuota justa | control de cuota; degrada al agotarse |
470
470
 
471
- ### Conjunto aproximado de capacidades (v2.12.0)
471
+ ### Conjunto aproximado de capacidades (v2.14.0)
472
472
 
473
- Lo que hace Argo, en una frase: manda cada pregunta a las fuentes adecuadas según dominio e idioma, ordena lo que vuelve por credibilidad y devuelve al agente material que puede ordenar y verificar. Búsqueda, captura, verificación de evidencia y búsqueda de archivos locales comparten una sola tubería, 19 herramientas MCP se corresponden una a una con los comandos CLI, así que ninguna capacidad falta en la forma que instales. Algunos comandos sueltos completan el conjunto: argo tweet empaqueta un post de X, argo auth gestiona el estado de sesión y argo job agrega ofertas de empleo. El catálogo completo, con coste, clave y estado de cada fuente, está en docs/ENGINE_CATALOG.md: 288 fuentes, 242 sin clave, 99 dominios.
473
+ Lo que hace Argo, en una frase: manda cada pregunta a las fuentes adecuadas según dominio e idioma, ordena lo que vuelve por credibilidad y devuelve al agente material que puede ordenar y verificar. Búsqueda, captura, verificación de evidencia y búsqueda de archivos locales comparten una sola tubería, 19 herramientas MCP se corresponden una a una con los comandos CLI, así que ninguna capacidad falta en la forma que instales. Algunos comandos sueltos completan el conjunto: argo tweet empaqueta un post de X, argo auth gestiona el estado de sesión y argo job agrega ofertas de empleo. El catálogo completo, con coste, clave y estado de cada fuente, está en docs/ENGINE_CATALOG.md (cifras exactas, mantenidas por el generador).
474
474
 
475
475
  Instalado como plugin DSH, estas capacidades se convierten en herramientas nativas del host: la búsqueda y el fetch de la ruta caliente vienen activos por defecto, las herramientas de forense de cola larga se activan en la página de ajustes y los 28 interruptores de comportamiento del propio argo (caché, reordenación, deduplicación, guardia, proxy, TTL y demás) salieron de las variables de entorno para entrar en el panel. Las claves van al almacén de credenciales del host, nunca se muestran y todo cambio surte efecto al guardar.
476
476
 
477
477
  Las últimas versiones arreglaron cada una una clase de problemas.
478
478
 
479
479
 
480
+ v2.14.0 se enfoca en la consolidación de la capa de parsers, la expansión de fuentes y el bucle del libro de casos. Añadir una fuente nueva ya no requiere escribir un parser en Python: un registro de parsers y un "parser de inferencia autorreflexiva" infieren las reglas de parseo a partir de las rutas de campo declaradas — cero configuración, sin `output_map`; `argo doctor` ahora audita las rutas de parseo, así que un parser roto aparece como un error real en lugar de un misterioso "esta fuente devolvió 0 resultados", que antes era indistinguible de un vacío genuino. Las fuentes crecen de 290 a 300 (Mwmbl, Kaggle, HuggingFace Papers, grep.app, OpenAIRE, Mojeek, Repology, DBpedia, 4get, más tres reactivadas). La recuperación local recibe cuatro mejoras: hardcoding de rutas eliminado con descubrimiento adaptativo multi-entorno, adelgazamiento del índice FTS5 con lematización, y un respaldo puramente estándar multiplataforma. El bucle del libro de casos es lo destacado: el libro gana una capa de atribución (12 causas raíz; si la evidencia es insuficiente dice "sin atribuir" en vez de adivinar) y un gate de recurrencia — la misma causa raíz en 3 días distintos dispara "promover a regla dura", con la deriva de ranking de la web viva excluida. La misma versión añade la tabla de enrutamiento `AGENTS.md` y `docs/COMMIT_STANDARD.md`; los commits de riesgo alto deben declarar qué se ejecutó, en qué commit y qué no — la respuesta a dos incidentes reales donde un cambio pasó pre-commit pero falló la regresión completa.
481
+
482
+ v2.13.0 se enfoca en la consolidación de documentación y capa de estado. `docs/` reducido de 87 a 26: eliminados `docs/engines/` 60 (duplicados con `engines/specs/*.yaml` SSOT), 18 informes de proceso archivados en `docs-local/archive/` (no en repo público, rastreabilidad local), añadido `docs/CHANGELOG.md` fusionando 23 RELEASE_NOTES, 27 enlaces muertos en README ahora apuntan a CHANGELOG. Capa de estado `scripts/engine_states.py` expandido de 12 a 22 máquinas de estado, 34 módulos lo referencian, residuales literales 19→0; corregida degradación silenciosa por 4 conjuntos copiados manualmente, crash de `health_check --category`, estado del demonio inferido de texto chino. Capa de despacho: la rama paralela completa del modo deep añade `tail_grace_s`, mediana 10,000ms → 2,324ms, conteo sin cambios. 165 declaraciones migradas de `config.yaml` a `engines/specs/*.yaml`, lógica de fusión de `config.py` de override bidireccional a una vía specs→config, 3523 líneas eliminadas. Dependencias consolidadas en uv (`uv.lock` fijado + `.python-version` + `pyproject.toml` SSOT).
483
+
480
484
  v2.12.0 presenta el centro de configuración unificado: un solo punto de entrada, `argo settings`, para inspeccionar y editar la configuración compartida por todos los clientes (claves enmascaradas, fragmentos de conexión por cliente, valores vivos de los interruptores), con un canal de escritura sin servicio — cumpliendo la propuesta del issue #44. La búsqueda de imágenes por palabras clave de pixiv (aporte de la comunidad, canal doble Web anónima / OAuth App) y el motor integrado de reconocimiento de escenas trace.moe elevan las fuentes a 288; fetch deja de dejar los artículos de WeChat sin tratar; y los algoritmos de programación y enrutamiento reciben refinamientos internos.
481
485
  v2.11.2 se enfoca en cerrar el feedback externo. Añade SauceNAO, AnimeTrace y Google Lens como motores de búsqueda inversa explicit-only y elimina el tineye muerto; corrige cuatro fallos silenciosos — credenciales keyRefs que no llegan a los subprocesos (los motores con clave ya no devuelven skipped-missing-env), cuota que no se auto-recupera al rotar clave y 402 bloqueando 30 días por error, y env/reenvío de credenciales de subprocesos de motores sociales; y enruta lint_spec_contracts por el YAML loader compartido, despejando los fallos de los shards unit/extras de main.
482
486
 
@@ -505,7 +509,7 @@ El detalle por versión está en «Actualizaciones recientes»; las notas de cad
505
509
 
506
510
  ## Motores y enrutamiento
507
511
 
508
- La config tiene ahora **288** fuentes (**242** sin clave) y **99** dominios (ver `config.yaml` y `--list-engines`).
512
+ Las cifras de fuentes, fuentes sin clave y dominios están en [docs/ENGINE_CATALOG.md](docs/ENGINE_CATALOG.md) (ver `config.yaml` y `--list-engines`).
509
513
 
510
514
  ### Directos y verticales (extracto)
511
515
 
@@ -707,6 +711,23 @@ argo/
707
711
 
708
712
  Solo las cuatro versiones más recientes. El historial completo está en el [historial de cambios](#historial-de-cambios) y el detalle de cada versión en [Releases](https://github.com/taxueseek/argo/releases).
709
713
 
714
+ ### v2.14.0: Consolidación de la Capa de Parsers + 300 Fuentes + Bucle del Libro de Casos
715
+
716
+ - **Los motores nuevos ya no necesitan un parser escrito a mano**: se añade un registro de parsers y un "parser de inferencia autorreflexiva" — declara la ruta del campo y las reglas de parseo se infieren automáticamente, cero configuración, sin `output_map`; `argo doctor` ahora audita la ruta de parseo de cada fuente, así que un parser roto aparece como un error real en lugar de un misterioso "esta fuente devolvió 0 resultados"
717
+ - **Fuentes 290 → 300**: nueve declaraciones nuevas (Mwmbl, Kaggle, HuggingFace Papers, grep.app, OpenAIRE, Mojeek, Repology, DBpedia, 4get) más tres fuentes reactivadas (clinicaltrials / coingecko / fxtwitter). Ocho activas por defecto; 4get queda apagada como respaldo de búsqueda anónima
718
+ - **Cuatro mejoras en recuperación local**: eliminado el hardcoding de rutas específicas de máquina (descubrimiento adaptativo de activos multi-entorno — cambiar de máquina ya no requiere cambiar código); adelgazamiento del índice FTS5, lematización y potenciador de abreviaturas, agrupación por proximidad; respaldo puramente estándar multiplataforma y aislamiento de búsqueda pública/local; coste observable, candidatos configurables, predicción de intención, límite de resultados
719
+ - **Señales de intención local consolidadas**: conducción de señales de dos niveles y aislamiento de canales por facetas; señales de anomalía e identificadores privados consolidadas en una sola fuente; corregido el doble registro de `cnii` que desactivaba en silencio la eliminación exclusiva por idioma (las consultas en inglés ejecutaban fuentes japonesas en vano)
720
+ - **Bucle del libro de casos**: el libro gana una capa de atribución (12 causas raíz; cuando la evidencia es insuficiente dice "sin atribuir" en vez de adivinar) y un gate de recurrencia — la misma causa raíz apareciendo en 3 días distintos dispara "promover a regla dura". La deriva de ranking de la web viva no cuenta (no es un problema de argo). También añade la tabla de enrutamiento `AGENTS.md` y `docs/COMMIT_STANDARD.md`; los commits de riesgo alto deben declarar qué se ejecutó, en qué commit, y qué no
721
+ - **Máquinas de estado 22 → 27**: el censo de máquinas implícitas añade 3 (nivel de recuperación, tope de conclusión, validación) más la causa raíz de casos (máquina #27); el nuevo gate AST `test_state_literal_drift.py` se pone rojo cuando un valor de estado registrado vuelve a un literal desnudo
722
+
723
+ ### v2.13.0: Consolidación de Documentación + 22 Máquinas de Estado SSOT + Corrección de Cola de Despacho
724
+
725
+ - **Consolidación de documentación**: `docs/` reducido de 87 a 26 archivos. Eliminados `docs/engines/` 60 archivos (duplicados con `engines/specs/*.yaml` SSOT); 18 informes de proceso archivados en `docs-local/archive/` (no en repo público, rastreabilidad local); añadido `docs/CHANGELOG.md` fusionando 23 RELEASE_NOTES; 27 enlaces muertos en README ahora apuntan a CHANGELOG
726
+ - **22 máquinas de estado SSOT**: `scripts/engine_states.py` expandido de 12 a 22, 34 módulos lo referencian, residuales literales 19→0; corregida degradación silenciosa por 4 conjuntos copiados manualmente, crash de `health_check --category`, estado del demonio inferido de texto chino
727
+ - **Corrección de cola de despacho**: la rama paralela completa del modo deep añade `tail_grace_s`, mediana 10,000ms → 2,324ms, conteo sin cambios
728
+ - **Declaración de motor SSOT**: 165 declaraciones migradas de `config.yaml` a `engines/specs/*.yaml`, lógica de fusión de `config.py` de override bidireccional a una vía specs→config, 3523 líneas eliminadas
729
+ - **Dependencias consolidadas en uv**: `uv.lock` fijado + `.python-version` + `pyproject.toml` SSOT, nuevo `test_dependency_source_gate.py` verificación mecánica de deriva
730
+
710
731
  ### v2.12.0: Centro de configuración unificado + motores de imagen pixiv/trace.moe + rama de fetch para WeChat
711
732
 
712
733
  - **Centro de configuración unificado** (#44, gracias @zooyoo): página de vista `argo settings` de solo lectura (claves enmascaradas a los últimos 4 caracteres, fragmentos de conexión, valores vivos de interruptores); página de formulario `--edit` + escritura con `apply`; ediciones directas por CLI `set/unset/list` (valores leídos de stdin, nunca en argv ni en el historial del shell); `argo ui` como alias. Compromiso sin servicio: sin puerto, sin ciclo de vida de autenticación, escritura unificada vía env_store (escritura atómica + 0600)
@@ -766,6 +787,8 @@ Solo las cuatro versiones más recientes. El historial completo está en el [his
766
787
 
767
788
  | Versión | Notas |
768
789
  |---------|-------|
790
+ | **v2.14.0** | **Consolidación de la Capa de Parsers + 300 Fuentes + Bucle del Libro de Casos**: los motores nuevos ya no necesitan parser escrito a mano (registro + parser de inferencia autorreflexiva, cero configuración, sin `output_map`); `argo doctor` gana auditoría de fuentes; fuentes 290→300 (Mwmbl/Kaggle/HF Papers/grep.app/OpenAIRE/Mojeek/Repology/DBpedia/4get + tres reactivadas); cuatro mejoras en recuperación local (descubrimiento adaptativo multi-entorno, adelgazamiento FTS5 y lematización, respaldo puramente estándar, coste observable); señales de intención local consolidadas (arregladas las consultas en inglés que ejecutaban fuentes japonesas); el libro de casos gana capa de atribución y gate de recurrencia Seen N×; nueva tabla `AGENTS.md` y `docs/COMMIT_STANDARD.md`; máquinas de estado 22→27. Ver [Notas de Lanzamiento](docs/RELEASE_NOTES_v2.14.0.md) |
791
+ | **v2.13.0** | **Consolidación de Documentación + 22 Máquinas de Estado SSOT + Corrección de Cola de Despacho**: `docs/` 87→26 (eliminados `docs/engines/` 60, archivados 18 informes de proceso, añadido CHANGELOG); `scripts/engine_states.py` 12→22 máquinas de estado, 34 módulos, residuales literales 19→0; cola de despacho deep 10s→2.2s; 165 declaraciones migradas a `engines/specs/`; dependencias consolidadas en uv. Ver [Notas de Lanzamiento](docs/RELEASE_NOTES_v2.13.0.md) |
769
792
  | **v2.12.0** | **Centro de configuración unificado + búsqueda de imagen pixiv/trace.moe + fetch de WeChat**: página de configuración sin servicio y escritura vía `argo settings` (#44, @zooyoo); búsqueda de imagen pixiv de canal doble (PR#45, @OMSociety); reconocimiento de escenas trace.moe; rama previa de fetch para WeChat; fuentes 286→288. Ver [notas de la versión](docs/RELEASE_NOTES_v2.12.0.md). |
770
793
  | **v2.11.2** | **Motores de búsqueda inversa + cuatro fallos silenciosos cerrados + arreglo de CI en main**: añade SauceNAO/AnimeTrace/Google Lens como motores de búsqueda inversa explicit-only y elimina el tineye muerto; credenciales keyRefs reenviadas por los providers del plugin dsh al pool MCP (#41); auto-recuperación de clave de cuota + arreglo del bloqueo de 30 días por 402 + pista de reset (#42); env y reenvío de credenciales de subproceso xhs/twitter (#36); lint_spec_contracts por el YAML loader compartido despeja el CI de main. Ver [notas de la versión](docs/RELEASE_NOTES_v2.11.2.md). |
771
794
  | **v2.10.2** | **Enrutado semántico en tres pasos + precisión etiquetada 76.9%→100% + corrección de división del circuit-breaker**: ponderación por anclas de relevancia + tabla estática de vectores de conceptos (`ARGO_CONCEPT_ROUTER=1`, apagado por defecto) + consolidación de precisión — 13/13 en el conjunto etiquetado, 61% de las decisiones del snapshot pasan a coincidencia directa por concepto; la fábrica del circuit-breaker resuelve en tiempo de llamada y elimina divisiones por alias de módulo; higiene de etiquetas de snippet y dedupe de calibres; panel ZCode de tres pestañas; endurecimiento de restauración de entorno en tests. Ver [notas de la versión](docs/RELEASE_NOTES_v2.10.2.md). |
package/README.ja.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="assets/readme/hero.svg" width="100%" alt="Argo アルゴ:Agent のための検索と深掘り調査ツール、288 の検索ソース、ドメインと言語で経路を選び、吸収できる証拠を出力">
2
+ <img src="assets/readme/hero.svg" width="100%" alt="Argo アルゴ:Agent のための検索と深掘り調査ツール、数百の検索ソース、ドメインと言語で経路を選び、吸収できる証拠を出力">
3
3
  </p>
4
4
 
5
5
  <p align="center">
@@ -25,8 +25,8 @@
25
25
  <a href="https://github.com/taxueseek/argo/stargazers"><img alt="stars" src="https://img.shields.io/github/stars/taxueseek/argo?style=social"></a>
26
26
  <img alt="license" src="https://img.shields.io/badge/license-Apache_2.0-blue">
27
27
  <img alt="python" src="https://img.shields.io/badge/python-3.9+-green">
28
- <img alt="version" src="https://img.shields.io/badge/version-2.12.0-informational">
29
- <img alt="engines" src="https://img.shields.io/badge/engines-288-orange">
28
+ <img alt="version" src="https://img.shields.io/badge/version-2.14.0-informational">
29
+ <img alt="engines" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Ftaxueseek%2Fargo%2Fmain%2Fassets%2Freadme%2Fcounts.json">
30
30
  <img alt="mcp" src="https://img.shields.io/badge/MCP-19%20tools-purple">
31
31
  </p>
32
32
 
@@ -38,7 +38,7 @@
38
38
 
39
39
  ## これは何か
40
40
 
41
- **Argo は Agent に組み込んで使う検索・深掘り調査ツールで、関連するウェブページの情報も取得できます。背後には 288 の検索ソースがあり、99 の業務ドメインをカバーし、ローカルファイルの基本的な検索も備えています。オープンソースの検索プロジェクトの中では、非常に強力な検索能力を持っています。**
41
+ **Argo は Agent に組み込んで使う検索・深掘り調査ツールで、関連するウェブページの情報も取得できます。背後には数百の検索ソースがあり、100 近い業務ドメインをカバーし、ローカルファイルの基本的な検索も備えています。オープンソースの検索プロジェクトの中では、非常に強力な検索能力を持っています。**
42
42
 
43
43
  API Key を設定すれば検索品質を上げられます(Key を設定したソースは品質が良いことが多く、未設定なら自動でスキップ)。無料エンジンとローカルエンジンによる自動バックストップにも対応しています。中英日韓など 18 言語をカバーし、金融・学術・映像・スポーツ・コード・マクロなどの垂直シーンに対応します。
44
44
 
@@ -109,7 +109,7 @@ dsh plugin --profile web add "github:taxueseek/argo" # GitHub main
109
109
 
110
110
  **キーについての安全設計**:キーは DSH の凭证库(Models ページと同じ場所)に書き込まれ、プラグイン設定には書かれず、ログにも残らず、平文も表示しません。凭证の解決優先順位は**ストレージファイル層 > 起動環境 > プロジェクト .env > ホーム .env**で、パネル(または Models ページ)で保存すると起動環境の古い値を上書きし、argo サブプロセスは次の新規接続で新しい key を受け取ります。「クリア」は凭证库の値だけを削除するため、環境変数や `.env` が供給した key は再び現れます。設定ページは凭证ドメインの書き込み入口であり、読み取りはホストが毎回の呼び出しで行います。
111
111
 
112
- **DeepSeek 公式 key はネイティブに供給**:argo の `deepseek_search` エンジン(公式 `api.deepseek.com/v1/tools/search`、結果に authority 権威分級 / rerank_score / 公開時刻が付く)は DSH 公式検索バックエンドと**同じ key を共有**します。プラグインは DSH のネイティブ凭证 seam 経由で取得するため、手動設定は不要です。解決は `ctx.get('credentials').resolve('DEEPSEEK_API_KEY')` で、呼び出しごとに解決されます。web Models ページで key をローテーションすれば、次の新規接続で反映され、プラグインの再起動も不要です。プラグインは key ファイルを読まず、ディスクに書かず、ログにも残しません。key の値はメモリ経由でのみ argo サブプロセスの env に入り、出力やエラーメッセージに一切含まれません。credentials サービスを持たない旧ホストでは静かにスキップし、そのエンジンは key 不足で無効化されますが、他の 263 ソースは影響を受けません。
112
+ **DeepSeek 公式 key はネイティブに供給**:argo の `deepseek_search` エンジン(公式 `api.deepseek.com/v1/tools/search`、結果に authority 権威分級 / rerank_score / 公開時刻が付く)は DSH 公式検索バックエンドと**同じ key を共有**します。プラグインは DSH のネイティブ凭证 seam 経由で取得するため、手動設定は不要です。解決は `ctx.get('credentials').resolve('DEEPSEEK_API_KEY')` で、呼び出しごとに解決されます。web Models ページで key をローテーションすれば、次の新規接続で反映され、プラグインの再起動も不要です。プラグインは key ファイルを読まず、ディスクに書かず、ログにも残しません。key の値はメモリ経由でのみ argo サブプロセスの env に入り、出力やエラーメッセージに一切含まれません。credentials サービスを持たない旧ホストでは静かにスキップし、そのエンジンは key 不足で無効化されますが、他のソースは影響を受けません。
113
113
 
114
114
  **web seam の pin は必読です**(設定漏れは `web_fetch` を壊します):ホスト `dsh-web` のプロバイダ選択ルールは「設定 id が優先。未設定で利用可能がちょうど 1 つならそれを選ぶ。**複数ある場合は `WEB_PROVIDER_AMBIGUOUS` で失敗**」。web profile は既定で公式 http fetch プロバイダ(key 不要・常に利用可能)を保持し、このバンドルがもう 1 つ登録するため、pin が無いと利用可能が 2 つになり、**`web_fetch` がまるごと壊れます**(profile に別の検索プロバイダがある場合、`web_search` も同様)。したがって web seam を有効にする profile は、必ず web サービス行で明示的に指定してください:
115
115
 
@@ -126,7 +126,7 @@ dsh plugin --profile web add "github:taxueseek/argo" # GitHub main
126
126
 
127
127
  ## 主な強み
128
128
 
129
- **288 のソース、うち 242 はキー不要ですぐ使える。** API Key を一切設定しなくても動き、無料エンジンとローカルエンジンが自動でバックストップします。Key を設定したソースは品質が良いことが多く、未設定なら自動でスキップされます。一度インストールすれば、あらゆる場面で使えます。
129
+ **大半のソースはキー不要ですぐ使える。** API Key を一切設定しなくても動き、無料エンジンとローカルエンジンが自動でバックストップします。Key を設定したソースは品質が良いことが多く、未設定なら自動でスキップされます。一度インストールすれば、あらゆる場面で使えます。
130
130
 
131
131
  **ローカル検索とネット検索が一体。** これは Argo ならではの能力です。ローカルファイル検索の土台は rg や mdfind といった開発者が日常的に使うツールで、コードシンボル、ファイル名、ドキュメント全文、ファイル構造を検索します。スイッチひとつで、ローカルのヒットが同じネット検索結果に混ざり、結果には出所がローカルファイルであることが表示されます。半年ほど前に書いた一節を思い出したが場所がわからない、というときに、フォルダを巡回するより速く見つかります。
132
132
 
@@ -148,7 +148,7 @@ dsh plugin --profile web add "github:taxueseek/argo" # GitHub main
148
148
  # 方法 1:ワンコマンドスクリプト(本機で長期利用に推奨)
149
149
  curl -fsSL https://raw.githubusercontent.com/taxueseek/argo/main/scripts/install.sh | bash
150
150
 
151
- # 方法 2:npm / npx(対応済み、現在 2.12.0。tag ごとに公開、バージョン固定)
151
+ # 方法 2:npm / npx(対応済み、現在 2.14.0。tag ごとに公開、バージョン固定)
152
152
  npm install -g argo-search # CLI をグローバルインストール
153
153
  npx -y argo-search # またはインストールせず即時利用
154
154
  npx -y github:taxueseek/argo # main の最新コミットに追従したい場合
@@ -210,10 +210,10 @@ Argo は四つの接続方式をサポートします。場面に合わせて選
210
210
  1. **リンクから証拠へ。** エージェントには並べ替え可能・検証可能・コンテキストに収まる構造化データが必要 — Argo は信頼度内訳付き JSON を返す。
211
211
  2. **コンテキストが第一コスト。** エージェントプロファイルは 1 回約 3.7KB、フィールドとバイト予算はゲートで固定。
212
212
  3. **サイトは AI 向け資料を備え始めた。** llms.txt と `.md` 直出しが主要ドキュメントサイトに普及 — フェッチチェーンはレベル 0 で自動探知、r.jina.ai リーダーもfallback。
213
- 4. **無料オープン生態系で足りる。** 政府・学術・標準・セキュリティの公開 API とキーレス エンジンで大部分をカバー(242 ソースが無設定)。
213
+ 4. **無料オープン生態系で足りる。** 政府・学術・標準・セキュリティの公開 API とキーレス エンジンで大部分をカバー(大半のソースが無設定)。
214
214
  5. **品質は測定可能。** ランキング金標・融合利得アブレーション・負のルーティング制御。
215
215
 
216
- > 以上の 5 項目はすでに v2.9.x 系で全て実装済み:288 ソース / 99 ドメイン / 242 無設定。
216
+ > 以上の 5 項目はすでに v2.9.x 系で全て実装済み。
217
217
 
218
218
  ---
219
219
 
@@ -283,7 +283,7 @@ freshness ≈ 公開時刻(「2015 年以来」のような歴史比較年は
283
283
 
284
284
  ## クイックスタート
285
285
 
286
- どれか 1 つで十分です。**npm インストールに対応済みで、最新版は 2.12.0**。GitHub と同じく本リポジトリから公開しています。npm 経由は `npm install -g argo-search` または `npx -y argo-search`、tag ごとに公開され、バージョンが固定されダウンロードも小さい。GitHub 経由は `install.sh` / `install.ps1` または `npx github:taxueseek/argo` で main に追従。今後は tag を打つたびに CI が npm の 2 パッケージと GitHub Release をまとめて公開します。registry 上の古い v1.0.1 は履歴版なので、それに固定しないでください。
286
+ どれか 1 つで十分です。**npm インストールに対応済みで、最新版は 2.14.0**。GitHub と同じく本リポジトリから公開しています。npm 経由は `npm install -g argo-search` または `npx -y argo-search`、tag ごとに公開され、バージョンが固定されダウンロードも小さい。GitHub 経由は `install.sh` / `install.ps1` または `npx github:taxueseek/argo` で main に追従。今後は tag を打つたびに CI が npm の 2 パッケージと GitHub Release をまとめて公開します。registry 上の古い v1.0.1 は履歴版なので、それに固定しないでください。
287
287
 
288
288
  **ゼロ設定で動く**:API Key なしなら無料エンジン + ローカル `local_*`。Key があるソースは品質が上がりやすく、無いものは自動スキップ。
289
289
 
@@ -468,15 +468,19 @@ python3 scripts/search.py --list-engines
468
468
  | `deep` | 調査・総説 | 品質優先、エンジン増可 |
469
469
  | `budget` | 枠が厳しい | クォータ制御、使い切ると劣化 |
470
470
 
471
- ### 現時点の能力概要(v2.12.0)
471
+ ### 現時点の能力概要(v2.14.0)
472
472
 
473
- Argo のやることを一行で言うと、質問を領域と言語で適切なソースに振り分け、返ってきた結果を信頼度で並べ、エージェントには並べ替えられ検証できる素材を渡す。検索・取得・証拠確認・ローカルファイル検索は同じパイプラインを流れ、19 個の MCP ツールは CLI コマンドと一対一で対応するので、どの形态で入れても能力は欠けない。単独コマンドもいくつかある:argo tweet は X 投稿をまとめ、argo auth はログイン状态を管理し、argo job は採用情報を集約する。全ソースの費用・键・状态は docs/ENGINE_CATALOG.md に清单されている:288 ソース、242 無設定、99 ドメイン。
473
+ Argo のやることを一行で言うと、質問を領域と言語で適切なソースに振り分け、返ってきた結果を信頼度で並べ、エージェントには並べ替えられ検証できる素材を渡す。検索・取得・証拠確認・ローカルファイル検索は同じパイプラインを流れ、19 個の MCP ツールは CLI コマンドと一対一で対応するので、どの形态で入れても能力は欠けない。単独コマンドもいくつかある:argo tweet は X 投稿をまとめ、argo auth はログイン状态を管理し、argo job は採用情報を集約する。全ソースの費用・键・状态は docs/ENGINE_CATALOG.md に正確な数がある(生成器が維持)。
474
474
 
475
475
  DSH プラグインとして入れると、これらの能力は宿主のネイティブツールになる。高頻度の検索と取得は既定でオン、長尾フォレンジックは設定ページで必要に応じてチェック、argo 本体の 28 個の挙動スイッチ(キャッシュ、再順位、重複除去、ガード、プロキシ、TTL など)は環境変数からパネルへ移った。キーは宿主の凭证库に入り、平文は表示されず、変更は保存即有効。
476
476
 
477
477
  最近数版が、それぞれ一类の問題を直した。
478
478
 
479
479
 
480
+ v2.14.0 はパーサー層の収束、ソースの拡充、バッドケース台帳ループを行いました。新しいソースの追加に Python パーサーの手書きが不要になりました:パーサーレジストリと「自己内省推論パーサー」が宣言されたフィールドパスから解析ルールを自動推論します(ゼロ設定・`output_map` 不要)。`argo doctor` が解析パスを監査するようになり、パーサー破損は「このソースは 0 件を返しました」という謎の結果ではなく実際のエラーとして表面化します——以前は本当の空結果と区別がつきませんでした。ソースは 290 → 300 に(Mwmbl、Kaggle、HuggingFace Papers、grep.app、OpenAIRE、Mojeek、Repology、DBpedia、4get、さらに 3 ソース復活)。ローカル取得は 4 つの改善(マシン固有パスハードコードの撤去とマルチ環境適応アセット検出、FTS5 スリム化と語形正規化、クロスプラットフォーム純標準ライブラリ保証)。今回の目玉はバッドケース台帳ループです:台帳に帰属層(12 種類の根本原因。証拠が不十分な場合は推測せず「未帰属」)と再発判定(同一根本原因が 3 つの異なる日付で出現するとハードルール昇格。ライブウェブのランキングドリフトは対象外)を追加。同じリリースで `AGENTS.md` ルーティングテーブルと `docs/COMMIT_STANDARD.md` も追加され、高リスクなコミットは「何を実行したか・どのコミットで・何を実行しなかったか」を明記する必要があります——これは pre-commit を通過したのに全量回帰で赤くなった 2 件の事故への対応です。
481
+
482
+ v2.13.0 はドキュメント整理と状態層の収束を行いました。`docs/` を 87 から 26 に削減:`docs/engines/` 60 ファイル削除(`engines/specs/*.yaml` SSOT と重複)、18 件のプロセスレポートを `docs-local/archive/` に归档(公開リポジトリには含まれず、ローカルの追跡可能性を保持)、`docs/CHANGELOG.md` を追加して 23 件の RELEASE_NOTES を統合、README の 27 件のデッドリンクを CHANGELOG に変更。状態層 `scripts/engine_states.py` を 12 から 22 の状態機械に拡大、34 モジュールが参照、リテラル残存 19→0;4 か所の手抄ぎによるサイレント退化、`health_check --category` クラッシュ、中国語テキスト推定のデーモン状態を修正。ディスパッチ層:deep モード全量並列ブランチに `tail_grace_s` を追加、中央値 10,000ms → 2,324ms、件数不変。165 のエンジン宣言を `config.yaml` から `engines/specs/*.yaml` に移行、`config.py` のマージロジックを双方向オーバーライドから一方向 specs→config に、3523 行削除。依存関係を uv に集約(`uv.lock` ピン留め + `.python-version` + `pyproject.toml` SSOT)。
483
+
480
484
  v2.12.0 は統一設定センターをお届けします:`argo settings` の 1 つの入口で、全クライアント共有の設定(鍵は末尾 4 桁のみ表示、クライアント別接続スニペット、スイッチの現値)を透過・編集でき、書き戻しはゼロサービス経路——issue #44 の提言がここで実現しました。コミュニティ貢献の pixiv キーワード画像検索(匿名 Web と OAuth App のデュアルチャネル)と内蔵の trace.moe アニメシーン認識でソース数は 288 に;fetch は WeChat 公式アカウント記事をゼロ処理のままにしません;スケジューリングとルーティングのアルゴリズムも内部最適化しました。
481
485
  v2.11.2 は外部フィードバックの収束に注力しました。SauceNAO・AnimeTrace・Google Lens の明示専用逆画像エンジンを補完し失効した tineye を撤去;keyRefs 認証がサブプロセスに届かない(鍵必須エンジンが skipped-missing-env にならない)、クォータの鍵交換時自己回復不全と 402 の 30 日誤ロック、ソーシャルエンジンのサブプロセス env と認証転送という 4 種のサイレント障害を解消;lint_spec_contracts を共有 YAML loader 経由にして本体の unit/extras を緑化しました。
482
486
 
@@ -503,9 +507,28 @@ v2.9.4 が直したのは明示エンジン指定の経路。--engine X を指
503
507
  版ごとの详细は「最近更新」に、各版のリリースノートは docs/ にある。
504
508
  ---
505
509
 
510
+ ## 最近更新
511
+
512
+ ### v2.14.0:パーサー層の収束 + ソース 300 + バッドケース台帳ループ
513
+
514
+ - **新しいエンジンに手書きパーサーが不要に**:パーサーレジストリと「自己内省推論パーサー」を追加。フィールドパスを宣言するだけで解析ルールが自動推論され、ゼロ設定・`output_map` 不要。`argo doctor` が各ソースの解析パスを監査するようになり、パーサー破損は「このソースは 0 件を返しました」という謎の結果ではなく実際のエラーとして表面化します
515
+ - **ソース 290 → 300**:9 つの新しい宣言(Mwmbl、Kaggle、HuggingFace Papers、grep.app、OpenAIRE、Mojeek、Repology、DBpedia、4get)に加え、3 つのソース(clinicaltrials / coingecko / fxtwitter)が復活。8 つはデフォルト有効、4get は匿名検索の予備チャネルとして無効のまま
516
+ - **ローカル取得の 4 つの改善**:マシン固有のパスハードコードを撤去(マルチ環境適応アセット検出——別マシンに移ってもコード変更不要);FTS5 インデックスのスリム化、語形正規化と略称ブースト、近接クラスタリング;クロスプラットフォーム純標準ライブラリ保証と公網・ローカル検索の隔離;コスト可視化、候補設定、意図予測、件数上限
517
+ - **ローカル意図シグナルの収束**:2 レベルシグナル駆動とファセットチャネル隔離を実装、異常およびプライベート識別子シグナルを単一真源に収束。`cnii` の重複登録により言語排他除去が一度も有効になっていなかった問題を修正(英語クエリが日本語ソースを無駄に走っていた)
518
+ - **バッドケース台帳ループ**:台帳に帰属層(12 種類の根本原因。証拠が不十分な場合は推測せず「未帰属」と表示)と再発判定を追加——同一根本原因が 3 つの異なる日付で出現すると「ハードルールに昇格」のシグナル。ライブウェブのランキングドリフトは対象外(argo の問題ではないため)。あわせて `AGENTS.md` ルーティングテーブルと `docs/COMMIT_STANDARD.md` を追加。高リスクなコミットは「何を実行したか・どのコミットで実行したか・何を実行しなかったか」を明記する必要があります
519
+ - **状態機械 22 → 27**:暗黙の状態機械の普查で 3 台(復旧チェーン等级、結論上限、検証)とバッドケース根本原因(第 27 台)を追加。新しい AST ゲート `test_state_literal_drift.py` は、登録済みの状態値が裸のリテラルに戻ったら赤になります
520
+
521
+ ### v2.13.0:ドキュメント整理 + 22 状態機械 SSOT + ディスパッチ尾幅修正
522
+
523
+ - **ドキュメント整理**: `docs/` を 87 から 26 に削減。`docs/engines/` 60 ファイル削除(`engines/specs/*.yaml` SSOT と重複);18 件のプロセスレポートを `docs-local/archive/` に归档(公開リポジトリには含まれず、ローカルの追跡可能性を保持);`docs/CHANGELOG.md` を追加して 23 件の RELEASE_NOTES を統合;README の 27 件のデッドリンクを CHANGELOG に変更
524
+ - **22 状態機械 SSOT**: `scripts/engine_states.py` を 12 から 22 に拡大、34 モジュールが参照、リテラル残存 19→0;4 か所の手抄ぎによるサイレント退化、`health_check --category` クラッシュ、中国語テキスト推定のデーモン状態を修正
525
+ - **ディスパッチ尾幅修正**: deep モード全量並列ブランチに `tail_grace_s` を追加、中央値 10,000ms → 2,324ms、件数不変
526
+ - **エンジン宣言 SSOT**: 165 のエンジン宣言を `config.yaml` から `engines/specs/*.yaml` に移行、`config.py` のマージロジックを双方向オーバーライドから一方向 specs→config に、3523 行削除
527
+ - **依存関係を uv に集約**: `uv.lock` ピン留め + `.python-version` + `pyproject.toml` SSOT、新規 `test_dependency_source_gate.py` 機械的ドリフトチェック
528
+
506
529
  ## エンジンとルーティング
507
530
 
508
- 設定上は **288** ソース(うち **242** はキー不要)、**99** ドメイン(`config.yaml` と `--list-engines` が基準)。
531
+ ソース数・キー不要数・ドメイン数は [docs/ENGINE_CATALOG.md](docs/ENGINE_CATALOG.md) を基準とする(`config.yaml` と `--list-engines` が基準)。
509
532
 
510
533
  ### 直結・垂直(抜粋)
511
534
 
@@ -766,6 +789,8 @@ argo/
766
789
 
767
790
  | 版 | 内容 |
768
791
  |----|------|
792
+ | **v2.14.0** | **パーサー層の収束 + ソース 300 + バッドケース台帳ループ**:新しいエンジンに手書きパーサーが不要(レジストリ + 自己内省推論パーサー、ゼロ設定・`output_map` 不要);`argo doctor` がソース監査を追加;ソース 290→300(Mwmbl/Kaggle/HF Papers/grep.app/OpenAIRE/Mojeek/Repology/DBpedia/4get + 3 ソース復活);ローカル取得の 4 つの改善(マルチ環境適応アセット検出、FTS5 スリム化と語形正規化、クロスプラットフォーム純標準ライブラリ保証、コスト可視化);ローカル意図シグナルを収束(英語クエリが日本語ソースを無駄に走る問題を修正);バッドケース台帳に帰属層と Seen N× 再発ゲートを追加;`AGENTS.md` ルーティングテーブルと `docs/COMMIT_STANDARD.md` を追加;状態機械 22→27。詳細は [リリースノート](docs/RELEASE_NOTES_v2.14.0.md) |
793
+ | **v2.13.0** | **ドキュメント整理 + 22 状態機械 SSOT + ディスパッチ尾幅修正**: `docs/` 87→26(`docs/engines/` 60 削除、18 件のプロセスレポートを归档、CHANGELOG 追加);`scripts/engine_states.py` 12→22 状態機械、34 モジュール、リテラル残存 19→0;deep モード尾幅 10s→2.2s;165 のエンジン宣言を `engines/specs/` に移行;依存関係を uv に集約。詳細は [リリースノート](docs/RELEASE_NOTES_v2.13.0.md) |
769
794
  | **v2.12.0** | **統一設定センター + pixiv/trace.moe 画像検索 + WeChat fetch**:`argo settings` によるゼロサービス設定ページと書き戻し(#44、@zooyoo);pixiv デュアルチャネル画像検索(PR#45、@OMSociety);trace.moe シーン認識;WeChat 記事の前置分岐;ソース 286→288。詳細は [リリースノート](docs/RELEASE_NOTES_v2.12.0.md)。 |
770
795
  | **v2.11.2** | **逆画像検索の補完 + 4 種のサイレント障害の収束 + 本体 CI 修正**:SauceNAO/AnimeTrace/Google Lens の明示専用逆画像エンジンを追加し失効した tineye を撤去;keyRefs 認証を dsh プラグイン provider 経由で MCP プールへ転送(#41);クォータの鍵交換自己回復 + 402 の 30 日ロック修正 + reset 案内(#42);xhs/twitter サブプロセスの env と認証転送(#36);lint_spec_contracts を共有 YAML loader 経由にして本体 CI を解消。詳細は [リリースノート](docs/RELEASE_NOTES_v2.11.2.md)。 |
771
796
  | **v2.10.2** | **セマンティックルーティング三段階 + ラベル精度 76.9%→100% + サーキットブレーカ分裂修正**:関連性アンカー重み付け + 静的コンセプトベクトル表(`ARGO_CONCEPT_ROUTER=1`、既定オフ)+ ルーティング精度収口——13 件のラベル集合で 100%、スナップショットの 61% がコンセプト直判定へ;サーキットブレーカ工場を呼び出し時解決にし、モジュール別名分裂を解消;スニペットタグ衛生と口径重複排除;ZCode パネル 3 タブ版;テスト環境スナップショット復元の強化。詳細は [リリースノート](docs/RELEASE_NOTES_v2.10.2.md)。 |