argo-search 2.13.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 (89) hide show
  1. package/AGENTS.md +93 -0
  2. package/README.en.md +16 -4
  3. package/README.es.md +16 -4
  4. package/README.ja.md +16 -4
  5. package/README.ko.md +16 -4
  6. package/README.md +16 -4
  7. package/SKILL.md +1 -1
  8. package/assets/readme/counts.json +1 -1
  9. package/backends/domain_profiles.json +66 -6
  10. package/backends/engine_registry.yaml +154 -15
  11. package/backends/env_passthrough.txt +2 -0
  12. package/backends/quota_profiles.json +111 -11
  13. package/bin/argo +3 -0
  14. package/config.yaml +27 -1
  15. package/docs/CHANGELOG.md +23 -0
  16. package/docs/COMMIT_STANDARD.md +98 -0
  17. package/docs/ENGINE_CATALOG.md +94 -79
  18. package/docs/RELEASE_NOTES_v2.14.0.md +77 -0
  19. package/engines/specs/clinicaltrials.yaml +8 -0
  20. package/engines/specs/cnii.yaml +5 -0
  21. package/engines/specs/coingecko.yaml +10 -2
  22. package/engines/specs/dbpedia.yaml +32 -0
  23. package/engines/specs/fourget.yaml +23 -0
  24. package/engines/specs/grep_app.yaml +19 -0
  25. package/engines/specs/hackernews.yaml +1 -0
  26. package/engines/specs/hf_papers.yaml +26 -0
  27. package/engines/specs/kaggle.yaml +44 -0
  28. package/engines/specs/local_baidu.yaml +5 -0
  29. package/engines/specs/local_seek.yaml +34 -0
  30. package/engines/specs/local_yandex.yaml +37 -0
  31. package/engines/specs/mojeek.yaml +31 -0
  32. package/engines/specs/mwmbl.yaml +39 -0
  33. package/engines/specs/openaire.yaml +34 -0
  34. package/engines/specs/repology.yaml +18 -0
  35. package/package.json +13 -10
  36. package/packages/dsh-plugin/dsh/client.js +1 -0
  37. package/packages/dsh-plugin/dsh/native-tools.mjs +24 -3
  38. package/packages/dsh-plugin/dsh/runner.js +35 -1
  39. package/packages/dsh-plugin/dsh/specs.js +3 -1
  40. package/packages/dsh-plugin/dsh/wide-research.js +4 -2
  41. package/packages/dsh-plugin/package.json +1 -1
  42. package/packages/dsh-plugin/test/client.test.js +6 -0
  43. package/packages/dsh-plugin/test/config.test.js +5 -1
  44. package/packages/dsh-plugin/test/index.test.js +3 -1
  45. package/packages/dsh-plugin/test/size-gate.test.js +2 -2
  46. package/scripts/badcase_causes.py +81 -0
  47. package/scripts/badcase_ledger.py +287 -14
  48. package/scripts/cache.py +3 -3
  49. package/scripts/check_commit_report.py +168 -0
  50. package/scripts/engine_admission.py +9 -5
  51. package/scripts/engine_families.py +13 -2
  52. package/scripts/engine_policy.py +1 -1
  53. package/scripts/engine_states.py +393 -8
  54. package/scripts/engine_status.py +31 -0
  55. package/scripts/engine_validate.py +47 -39
  56. package/scripts/engines.py +6 -0
  57. package/scripts/engines_base.py +26 -80
  58. package/scripts/engines_builders.py +5 -0
  59. package/scripts/engines_builders_batch12.py +168 -0
  60. package/scripts/engines_builders_batch16.py +186 -0
  61. package/scripts/engines_parsers.py +399 -0
  62. package/scripts/fetch_browser.py +4 -2
  63. package/scripts/fetch_jsrun.py +2 -1
  64. package/scripts/fetch_v3.py +22 -22
  65. package/scripts/gen_native_tools.py +44 -17
  66. package/scripts/local_intent.py +139 -0
  67. package/scripts/local_seek.py +223 -91
  68. package/scripts/local_seek_adapter.py +87 -0
  69. package/scripts/mcp_transport.py +1 -1
  70. package/scripts/pre-commit +44 -1
  71. package/scripts/recovery.py +14 -5
  72. package/scripts/recovery_l0.py +5 -3
  73. package/scripts/research.py +1 -1
  74. package/scripts/research_gates.py +3 -3
  75. package/scripts/route_lang.py +6 -1
  76. package/scripts/route_policy.py +21 -14
  77. package/scripts/search.py +33 -25
  78. package/scripts/search_cli.py +10 -1
  79. package/scripts/search_output.py +83 -16
  80. package/scripts/source_audit.py +331 -0
  81. package/scripts/sync_backends.py +31 -1
  82. package/scripts/wechat_article.py +5 -3
  83. package/scripts/wide_research.py +4 -1
  84. package/scripts/x_article_fetch.py +2 -1
  85. package/sub-skills/local-search/parsers.py +6 -1
  86. package/sub-skills/local-seek/scripts/seek.py +390 -24
  87. package/sub-skills/local-seek/scripts/seek_fts.py +20 -9
  88. package/sub-skills/local-seek/scripts/seek_rank.py +64 -1
  89. 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
@@ -25,7 +25,7 @@
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.13.0-informational">
28
+ <img alt="version" src="https://img.shields.io/badge/version-2.14.0-informational">
29
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>
@@ -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.13.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
@@ -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.13.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,7 +426,7 @@ 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.13.0)
429
+ ### Rough capability set (v2.14.0)
430
430
 
431
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
 
@@ -435,6 +435,8 @@ Installed as a DSH plugin, these capabilities become native host tools: the hot-
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
+
438
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).
439
441
 
440
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.
@@ -667,6 +669,15 @@ argo/
667
669
 
668
670
  Only the four most recent versions. Full history in the [changelog](#changelog); per-release detail on [Releases](https://github.com/taxueseek/argo/releases).
669
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
+
670
681
  ### v2.13.0: Documentation Consolidation + 22-State-Machine SSOT + Dispatch Tail Grace
671
682
 
672
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
@@ -734,6 +745,7 @@ Only the four most recent versions. Full history in the [changelog](#changelog);
734
745
 
735
746
  | Version | Notes |
736
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) |
737
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) |
738
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). |
739
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). |
package/README.es.md CHANGED
@@ -25,7 +25,7 @@
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.13.0-informational">
28
+ <img alt="version" src="https://img.shields.io/badge/version-2.14.0-informational">
29
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>
@@ -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.13.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
@@ -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.13.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,7 +468,7 @@ 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.13.0)
471
+ ### Conjunto aproximado de capacidades (v2.14.0)
472
472
 
473
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
 
@@ -477,6 +477,8 @@ Instalado como plugin DSH, estas capacidades se convierten en herramientas nativ
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
+
480
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).
481
483
 
482
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.
@@ -709,6 +711,15 @@ argo/
709
711
 
710
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).
711
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
+
712
723
  ### v2.13.0: Consolidación de Documentación + 22 Máquinas de Estado SSOT + Corrección de Cola de Despacho
713
724
 
714
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
@@ -776,6 +787,7 @@ Solo las cuatro versiones más recientes. El historial completo está en el [his
776
787
 
777
788
  | Versión | Notas |
778
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) |
779
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) |
780
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). |
781
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). |
package/README.ja.md CHANGED
@@ -25,7 +25,7 @@
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.13.0-informational">
28
+ <img alt="version" src="https://img.shields.io/badge/version-2.14.0-informational">
29
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>
@@ -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.13.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 の最新コミットに追従したい場合
@@ -283,7 +283,7 @@ freshness ≈ 公開時刻(「2015 年以来」のような歴史比較年は
283
283
 
284
284
  ## クイックスタート
285
285
 
286
- どれか 1 つで十分です。**npm インストールに対応済みで、最新版は 2.13.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,7 +468,7 @@ python3 scripts/search.py --list-engines
468
468
  | `deep` | 調査・総説 | 品質優先、エンジン増可 |
469
469
  | `budget` | 枠が厳しい | クォータ制御、使い切ると劣化 |
470
470
 
471
- ### 現時点の能力概要(v2.13.0)
471
+ ### 現時点の能力概要(v2.14.0)
472
472
 
473
473
  Argo のやることを一行で言うと、質問を領域と言語で適切なソースに振り分け、返ってきた結果を信頼度で並べ、エージェントには並べ替えられ検証できる素材を渡す。検索・取得・証拠確認・ローカルファイル検索は同じパイプラインを流れ、19 個の MCP ツールは CLI コマンドと一対一で対応するので、どの形态で入れても能力は欠けない。単独コマンドもいくつかある:argo tweet は X 投稿をまとめ、argo auth はログイン状态を管理し、argo job は採用情報を集約する。全ソースの費用・键・状态は docs/ENGINE_CATALOG.md に正確な数がある(生成器が維持)。
474
474
 
@@ -477,6 +477,8 @@ DSH プラグインとして入れると、これらの能力は宿主のネイ
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
+
480
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)。
481
483
 
482
484
  v2.12.0 は統一設定センターをお届けします:`argo settings` の 1 つの入口で、全クライアント共有の設定(鍵は末尾 4 桁のみ表示、クライアント別接続スニペット、スイッチの現値)を透過・編集でき、書き戻しはゼロサービス経路——issue #44 の提言がここで実現しました。コミュニティ貢献の pixiv キーワード画像検索(匿名 Web と OAuth App のデュアルチャネル)と内蔵の trace.moe アニメシーン認識でソース数は 288 に;fetch は WeChat 公式アカウント記事をゼロ処理のままにしません;スケジューリングとルーティングのアルゴリズムも内部最適化しました。
@@ -507,6 +509,15 @@ v2.9.4 が直したのは明示エンジン指定の経路。--engine X を指
507
509
 
508
510
  ## 最近更新
509
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
+
510
521
  ### v2.13.0:ドキュメント整理 + 22 状態機械 SSOT + ディスパッチ尾幅修正
511
522
 
512
523
  - **ドキュメント整理**: `docs/` を 87 から 26 に削減。`docs/engines/` 60 ファイル削除(`engines/specs/*.yaml` SSOT と重複);18 件のプロセスレポートを `docs-local/archive/` に归档(公開リポジトリには含まれず、ローカルの追跡可能性を保持);`docs/CHANGELOG.md` を追加して 23 件の RELEASE_NOTES を統合;README の 27 件のデッドリンクを CHANGELOG に変更
@@ -778,6 +789,7 @@ argo/
778
789
 
779
790
  | 版 | 内容 |
780
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) |
781
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) |
782
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)。 |
783
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)。 |
package/README.ko.md CHANGED
@@ -25,7 +25,7 @@
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.13.0-informational">
28
+ <img alt="version" src="https://img.shields.io/badge/version-2.14.0-informational">
29
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>
@@ -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.13.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 최신 커밋을 따라가려면 이 명령
@@ -283,7 +283,7 @@ composite ≈ 0.40·selection + 0.35·absorption + 0.15·freshness + 0.10·engi
283
283
 
284
284
  ## 빠른 시작
285
285
 
286
- 경로를 고르면 됩니다. **npm 설치를 지원하며 최신 버전은 2.13.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 두 패키지와 GitHub Release를 함께 배포합니다. registry의 낡은 v1.0.1은 역사 버전이니 고정하지 마세요.
286
+ 경로를 고르면 됩니다. **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 두 패키지와 GitHub Release를 함께 배포합니다. registry의 낡은 v1.0.1은 역사 버전이니 고정하지 마세요.
287
287
 
288
288
  **제로 설정으로 동작**: API 키 없이도 무료 엔진 + 로컬 `local_*` 엔진이 돌고, 키 없는 엔진은 스킵됩니다(키가 있으면 보통 더 좋습니다).
289
289
 
@@ -468,7 +468,7 @@ python3 scripts/search.py --list-engines
468
468
  | `deep` | 연구, 조사 | 품질 우선, 엔진 더 허용 |
469
469
  | `budget` | 할당량 타이트 | 쿼터 제어, 소진 시 저하 |
470
470
 
471
- ### 대략적인 능力 세트 (v2.13.0)
471
+ ### 대략적인 능력 세트 (v2.14.0)
472
472
 
473
473
  Argo가 하는 일을 한 줄로 말하면, 질문을 도메인과 언어로 알맞은 소스에 보내고, 돌아온 결과를 신뢰도로 줄세워, 에이전트에는 줄세우고 검증할 수 있는 재료를 넘긴다. 검색·긁기·증거 확인·로컬 파일 검색은 같은 파이프라인을 흐르고, 19개 MCP 도구는 CLI 명령과 일대일로 대응하므로 어떤 형태로 설치해도 능력이 빠지지 않는다. 단독 명령도 몇 개 있다: argo tweet은 X 게시물을 묶고, argo auth는 로그인 상태를 관리하며, argo job은 채용 정보를 모은다. 전체 소스의 비용·키·상태는 docs/ENGINE_CATALOG.md에 정확한 수가 있다(생성기가 유지).
474
474
 
@@ -477,6 +477,8 @@ DSH 플러그인으로 설치하면 이 능력들이 호스트의 네이티브
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
+
480
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).
481
483
 
482
484
  v2.12.0는 통합 설정 센터를 선보입니다: `argo settings` 한 입구로 모든 클라이언트가 공유하는 설정(키는 끝 4자리만 표시, 클라이언트별 연동 스니펫, 스위치 현값)을 투시·편집하고, 쓰기 되돌림은 제로 서비스 경로 — issue #44 제안이 여기서 실현됩니다. 커뮤니티 기여 pixiv 키워드 이미지 검색(익명 Web·OAuth App 이중 채널)과 내장 trace.moe 애니메이션 장면 인식으로 소스는 288개에; fetch가 WeChat 공식계정 글을 더 이상 무처리로 두지 않으며; 스케줄링과 라우팅 알고리즘도 내부 최적화했습니다.
@@ -709,6 +711,15 @@ argo/
709
711
 
710
712
  최근 네 버전만 싣습니다. 전체 이력은 [변경 이력](#변경-이력), 각 버전의 상세는 [Releases](https://github.com/taxueseek/argo/releases)에서 볼 수 있습니다.
711
713
 
714
+ ### v2.14.0: 파서 계층 수렴 + 소스 300 + 배드케이스 장부 루프
715
+
716
+ - **새 엔진에 직접 짠 파서가 필요 없어집니다**: 파서 레지스트리와 「자기 성찰 추론 파서」를 추가. 필드 경로를 선언하면 파싱 규칙이 자동 추론되어 제로 설정·`output_map` 불필요. `argo doctor`가 각 소스의 파서 경로를 감사하도록 바뀌어, 파서 파손은 「이 소스가 0건을 반환했습니다」라는 수수께끼 결과가 아니라 실제 오류로 표면화됩니다
717
+ - **소스 290 → 300**: 9개의 새 선언(Mwmbl, Kaggle, HuggingFace Papers, grep.app, OpenAIRE, Mojeek, Repology, DBpedia, 4get)과 3개 소스(clinicaltrials / coingecko / fxtwitter) 부활. 8개는 기본 활성, 4get은 익명 검색 예비 채널로 비활성 유지
718
+ - **로컬 검색 4가지 개선**: 기기 종속 경로 하드코딩 제거(다중 환경 적응 에셋 발견 — 다른 기기로 옮겨도 코드 변경 불필요); FTS5 인덱스 슬리밍, 어형 정규화와 약어 부스트, 근접 클러스터링; 크로스 플랫폼 순수 표준 라이브러리 보증과 공개망·로컬 검색 격리; 비용 가시화, 후보 설정, 의도 예측, 건수 상한
719
+ - **로컬 의도 신호 수렴**: 2단계 신호 구동과 패싯 채널 격리 구현, 이상 및 비공개 식별자 신호를 단일 진실 공급원으로 수렴. `cnii` 중복 등록으로 언어 배타 제거가 한 번도 효과를 발휘하지 못하던 문제 수정(영어 쿼리가 일본어 소스를 헛돌았음)
720
+ - **배드케이스 장부 루프**: 장부에 귀속 계층(12종 근본 원인. 증거가 불충분하면 추측하지 않고 「미귀속」으로 표시)과 재발 판정을 추가 — 같은 근본 원인이 서로 다른 3일에 나타나면 「하드 규칙으로 승격」 신호. 실시간 웹 순위 드리프트는 제외(argo의 문제가 아니므로). 함께 `AGENTS.md` 라우팅 표와 `docs/COMMIT_STANDARD.md`를 추가. 고위험 커밋은 「무엇을 실행했는지·어느 커밋에서 실행했는지·무엇을 실행하지 않았는지」를 명기해야 합니다
721
+ - **상태 머신 22 → 27**: 암묵 상태 머신 조사로 3대(복구 체인 등급, 결론 상한, 검증)와 배드케이스 근본 원인(제 27대)을 추가. 새 AST 게이트 `test_state_literal_drift.py`는 등록된 상태 값이 원시 리터럴로 돌아가면 빨간색이 됩니다
722
+
712
723
  ### v2.13.0: 문서 정리 + 22 상태 머신 SSOT + 디스패치 테일 그레이스
713
724
 
714
725
  - **문서 정리**: `docs/` 87→26으로 축소. `docs/engines/` 60개 삭제 (`engines/specs/*.yaml` SSOT와 중복); 18개 프로세스 리포트를 `docs-local/archive/`로 아카이브 (공개 저장소 미포함, 로컬 추적성 유지); `docs/CHANGELOG.md` 추가하여 23개 RELEASE_NOTES 통합; README 27개 데드링크를 CHANGELOG로 변경
@@ -776,6 +787,7 @@ argo/
776
787
 
777
788
  | 버전 | 비고 |
778
789
  |---------|-------|
790
+ | **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) |
779
791
  | **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) |
780
792
  | **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). |
781
793
  | **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). |
package/README.md CHANGED
@@ -25,7 +25,7 @@
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.13.0-informational">
28
+ <img alt="version" src="https://img.shields.io/badge/version-2.14.0-informational">
29
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>
@@ -150,7 +150,7 @@ dsh plugin --profile web add "github:taxueseek/argo" # GitHub main
150
150
  # 方式一:一键脚本(推荐本机长期用)
151
151
  curl -fsSL https://raw.githubusercontent.com/taxueseek/argo/main/scripts/install.sh | bash
152
152
 
153
- # 方式二:npm / npx(已支持,当前 2.13.0;按 tag 发布,版本固定)
153
+ # 方式二:npm / npx(已支持,当前 2.14.0;按 tag 发布,版本固定)
154
154
  npm install -g argo-search # 全局安装 CLI
155
155
  npx -y argo-search # 或即用即走,不装
156
156
  npx -y github:taxueseek/argo # 要跟 main 最新提交时用这条
@@ -287,7 +287,7 @@ freshness ≈ 发布时间(会忽略「2015 年以来」这类历史对比年
287
287
 
288
288
  ## 快速开始
289
289
 
290
- 任选一种即可。**npm 安装已支持,当前版本 2.13.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 包和 GitHub Release 一起发出;registry 上更早的 v1.0.1 是历史版本,不要锁定到它。
290
+ 任选一种即可。**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 包和 GitHub Release 一起发出;registry 上更早的 v1.0.1 是历史版本,不要锁定到它。
291
291
 
292
292
  **零配置就能跑**:不配 API Key 时走免费引擎 + 本地 `local_*` 引擎;配了 Key 的源质量通常更好,没配则自动跳过。
293
293
 
@@ -507,7 +507,7 @@ python3 -m pytest tests/test_unit.py -q # 单测(可选)
507
507
  | `deep` | 调研、综述 | 质量优先,可多用引擎 |
508
508
  | `budget` | 额度紧 | 配额控制,用完降级 |
509
509
 
510
- ### 当前大致能力(v2.13.0)
510
+ ### 当前大致能力(v2.14.0)
511
511
 
512
512
  Argo 干的事,一句话能说完:把一个问题按领域和语言分给合适的源,取回结果后按可信度排个序,交回给 Agent 的是能排序、能复核的材料。搜索、抓取、核验、本机文件检索走同一条管线,19 个 MCP 工具和 CLI 命令一一对应,装哪种形态都不缺能力。另有几个单点命令随用随取:argo tweet 打包 X 帖子,argo auth 管登录态,argo job 聚合招聘信息。
513
513
 
@@ -516,6 +516,8 @@ Argo 干的事,一句话能说完:把一个问题按领域和语言分给合
516
516
  最近几个版本各修了一类问题。
517
517
 
518
518
 
519
+ v2.14.0 做的是解析器层收口、引擎扩容与错题本机制落地。接新源不再必须手写 Python 解析器:新增解析器注册表与「智能自省推断解析器」,声明字段路径即可自动推断解析规则,零配置、不需要 `output_map`;`argo doctor` 补源审计,解析层失效能主动报出来,而不是等用户遇到「这个源返回 0 条」——这类失败此前分不清是没结果还是解析坏了。源从 290 增到 300(Mwmbl、Kaggle、HuggingFace Papers、grep.app、OpenAIRE、Mojeek、Repology、DBpedia、4get,另有 clinicaltrials / coingecko / fxtwitter 三源复活)。本机检索四项改进:消除特定机器路径硬编码、多环境自适应资产发现、FTS5 索引瘦身与词形归一、跨平台纯标库保底。错题本机制是本版最该说清的一件:坏例账本补了归因层(12 类根因,判不出标「未归因」不硬猜)与复发判定——同一根因跨 3 个不同日期出现即触发「该挪进硬规则」,活网排名漂移不算。同版新增 `AGENTS.md` 路由表与 `docs/COMMIT_STANDARD.md` 提交规范,高风险提交须写「跑了什么 / 在哪个 commit 上跑的 / 没跑什么」——这是两起「过了 pre-commit 却在全量回归里红」事故的应对。
520
+
519
521
  v2.13.0 做的是文档分层收口与状态层收口。`docs/` 从 87 份精简到 26 份:删除 `docs/engines/` 60 份(与 `engines/specs/*.yaml` 真源重复),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` 必崩、daemon 状态靠文案反推。调度层 deep 档全量并行分支补 `tail_grace_s`,中位 10,000ms → 2,324ms,条数不变(公开版同查询同样 10s 空等)。165 个引擎声明从 `config.yaml` 迁到 `engines/specs/*.yaml`,`config.py` 合并逻辑从双源覆盖变单向 specs→config,删 3523 行。依赖收口到 uv(`uv.lock` 钉版 + `.python-version` + `pyproject.toml` 真源)。
520
522
 
521
523
  v2.12.0 带来统一设置中心:`argo settings` 一个入口透视与编辑全客户端共享的配置(密钥掩码、各客户端接入片段、常用开关现值),写回走零服务通道——issue #44 的提议就此兑现。社区贡献的 pixiv 正向搜图(匿名 Web 与 OAuth App 双通道)与内置 trace.moe 动画场景识别把源带到 288 个;fetch 对微信公众号文章不再零处理;调度与路由算法内部优化。
@@ -796,6 +798,15 @@ argo/
796
798
 
797
799
  只列最近四个版本。完整历史见[版本记录](#版本记录),逐版详情见 [Releases](https://github.com/taxueseek/argo/releases)。
798
800
 
801
+ ### v2.14.0:解析器层收口 + 源到 300 + 错题本机制落地
802
+
803
+ - **新引擎接入不再手写解析器**:新增解析器注册表与「智能自省推断解析器」,声明字段路径即可自动推断解析规则,零配置、不需要 `output_map`;`argo doctor` 补源审计,解析层失效能主动报出来,而不是等用户遇到「这个源返回 0 条」
804
+ - **源从 290 增到 300**:新增 Mwmbl、Kaggle、HuggingFace Papers、grep.app(官方 MCP 代码检索)、OpenAIRE、Mojeek、Repology、DBpedia、4get 九条声明,另有 clinicaltrials / coingecko / fxtwitter 三源复活。其中 8 个默认可用,4get 默认关(匿名搜索备用通道)
805
+ - **本机检索四项改进**:消除特定机器路径硬编码,落地多环境自适应资产发现(换机器不用再改代码);FTS5 索引瘦身门禁、词形归一与缩写增强、邻近行聚簇;跨平台纯标库保底与公网/本机搜索隔离;成本可观测、候选可配、意图预判、条数上限
806
+ - **本地意图信号收口**:两级信号驱动与分面通道隔离落地,异常与私有标识符信号收口到单一真源;修掉 `cnii` 重复注册导致语言独占摘除从未生效(英文查询白跑日文源)
807
+ - **错题本机制**:坏例账本补归因层(12 类根因,判不出标「未归因」不硬猜)与复发判定——同一根因跨 3 个不同日期出现即触发「该挪进硬规则」,活网排名漂移不算(那不是 argo 的问题)。新增 `AGENTS.md` agent 路由表与 `docs/COMMIT_STANDARD.md` 提交规范,高风险提交须写「跑了什么 / 在哪个 commit 上跑的 / 没跑什么」
808
+ - **状态机 22 → 27 台**:隐式状态机普查补齐 3 台(恢复链等级、结论上限、验证结论)与坏例根因(第 27 台);新增 AST 门禁 `test_state_literal_drift.py`,已登记状态值退回裸字面量即红
809
+
799
810
  ### v2.13.0:文档分层收口 + 22 台状态机单点真源 + 调度尾宽修复
800
811
 
801
812
  - **文档分层收口**:`docs/` 从 87 份精简到 26 份。删除 `docs/engines/` 60 份(与 `engines/specs/*.yaml` 真源重复);18 份过程报告归档 `docs-local/archive/`(不进公开仓,保留本机可追溯性);新增 `docs/CHANGELOG.md` 合并 23 份 RELEASE_NOTES;README 27 处死链改为指向 CHANGELOG
@@ -843,6 +854,7 @@ argo/
843
854
 
844
855
  | 版本 | 说明 |
845
856
  |------|------|
857
+ | **v2.14.0** | **解析器层收口 + 源到 300 + 错题本机制落地**:新引擎接入不再手写解析器(注册表 + 智能自省推断解析器,零配置免 `output_map`);`argo doctor` 补源审计;源 290→300(Mwmbl/Kaggle/HF Papers/grep.app/OpenAIRE/Mojeek/Repology/DBpedia/4get + 三源复活);本机检索四项改进(多环境自适应资产发现、FTS5 瘦身与词形归一、跨平台纯标库保底、成本可观测);本地意图信号收口(修掉英文查询白跑日文源);坏例账本补归因层与 Seen N× 复发门;新增 `AGENTS.md` 路由表与 `docs/COMMIT_STANDARD.md` 提交规范;状态机 22→27 台。详见 [发布说明](docs/RELEASE_NOTES_v2.14.0.md) |
846
858
  | **v2.13.0** | **文档分层收口 + 22 台状态机单点真源 + 调度尾宽修复**:`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) |
847
859
  | **v2.12.0** | **统一设置中心 + pixiv/trace.moe 搜图 + 公众号 fetch**:`argo settings` 零服务设置页与写回(#44,@zooyoo);pixiv 双通道正向搜图(PR#45,@OMSociety);trace.moe 场景识别;fetch 公众号前置分流;源 286→288。详见 [CHANGELOG](docs/CHANGELOG.md) |
848
860
  | **v2.11.2** | **以图搜图补齐 + 四类静默失效收口 + 主干常红修复**:接入 SauceNAO/AnimeTrace/Google Lens 三条显式专用反搜图引擎并摘除失效的 tineye;keyRefs 凭证经 dsh 插件 provider 透传到 MCP 池(#41);quota 换 Key 自愈 + 402 误锁 30 天修复 + reset 指引(#42);xhs/twitter 子进程 env 与凭据透传(#36);lint_spec_contracts 走共享 YAML loader 解除主干常红。详见 [CHANGELOG](docs/CHANGELOG.md) |
package/SKILL.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: argo
3
3
  description: Argo 阿尔戈 — 统一搜索、网页抓取与证据核验。当需要搜索/查一下/核实/抓取网页/爬取/深度研究/论文检索/新闻/舆情/公众号文章/招聘聚合时使用;支持影视/体育/金融/宏观/学术等垂直域与多语言查询。
4
- version: 2.13.0
4
+ version: 2.14.0
5
5
  triggers:
6
6
  - 搜索
7
7
  - 查一下
@@ -1 +1 @@
1
- {"schemaVersion": 1, "label": "engines", "message": "290", "color": "orange"}
1
+ {"schemaVersion": 1, "label": "engines", "message": "300", "color": "orange"}
@@ -2459,12 +2459,6 @@
2459
2459
  "boost_keywords": {},
2460
2460
  "boost_combos": {}
2461
2461
  },
2462
- "cinii": {
2463
- "label": "cinii",
2464
- "documents": [],
2465
- "boost_keywords": {},
2466
- "boost_combos": {}
2467
- },
2468
2462
  "datagov_uk": {
2469
2463
  "label": "datagov_uk",
2470
2464
  "documents": [],
@@ -2732,5 +2726,71 @@
2732
2726
  "documents": [],
2733
2727
  "boost_keywords": {},
2734
2728
  "boost_combos": {}
2729
+ },
2730
+ "dbpedia": {
2731
+ "label": "DBpedia 知识库",
2732
+ "documents": [],
2733
+ "boost_keywords": {},
2734
+ "boost_combos": {}
2735
+ },
2736
+ "mojeek": {
2737
+ "label": "Mojeek 独立索引",
2738
+ "documents": [],
2739
+ "boost_keywords": {},
2740
+ "boost_combos": {}
2741
+ },
2742
+ "repology": {
2743
+ "label": "Repology",
2744
+ "documents": [],
2745
+ "boost_keywords": {},
2746
+ "boost_combos": {}
2747
+ },
2748
+ "openaire": {
2749
+ "label": "openaire",
2750
+ "documents": [],
2751
+ "boost_keywords": {},
2752
+ "boost_combos": {}
2753
+ },
2754
+ "grep_app": {
2755
+ "label": "Grep.app",
2756
+ "documents": [],
2757
+ "boost_keywords": {},
2758
+ "boost_combos": {}
2759
+ },
2760
+ "fourget": {
2761
+ "label": "4get 极简元搜索",
2762
+ "documents": [],
2763
+ "boost_keywords": {},
2764
+ "boost_combos": {}
2765
+ },
2766
+ "local_seek": {
2767
+ "label": "本机技能与文件搜索",
2768
+ "documents": [],
2769
+ "boost_keywords": {},
2770
+ "boost_combos": {}
2771
+ },
2772
+ "local_yandex": {
2773
+ "label": "Yandex 本地(local-search 通道)",
2774
+ "documents": [],
2775
+ "boost_keywords": {},
2776
+ "boost_combos": {}
2777
+ },
2778
+ "hf_papers": {
2779
+ "label": "Hugging Face Papers",
2780
+ "documents": [],
2781
+ "boost_keywords": {},
2782
+ "boost_combos": {}
2783
+ },
2784
+ "kaggle": {
2785
+ "label": "Kaggle Datasets",
2786
+ "documents": [],
2787
+ "boost_keywords": {},
2788
+ "boost_combos": {}
2789
+ },
2790
+ "mwmbl": {
2791
+ "label": "Mwmbl 独立索引",
2792
+ "documents": [],
2793
+ "boost_keywords": {},
2794
+ "boost_combos": {}
2735
2795
  }
2736
2796
  }