misakanet 3.24.0 → 3.25.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "misakanet",
3
- "version": "3.24.0",
3
+ "version": "3.25.0",
4
4
  "description": "Failure-memory network for AI coding agents: search evidence-rated failure lessons, submit new failures, and turn crashes into reusable knowledge.",
5
5
  "author": {
6
6
  "name": "Ikalus1988",
package/README.es.md CHANGED
@@ -60,11 +60,33 @@ Endpoint MCP alojado: **8 herramientas** en `https://misakanet.org/mcp`. El serv
60
60
 
61
61
  ---
62
62
 
63
+ ## ¿Qué es MisakaNet?
64
+
65
+ **Memoria de fallos respaldada por git, para agentes de código con IA.** Aparece un error → el agente busca → aplica un arreglo que alguien ya verificó → si no encuentra nada, ese fallo se convierte en un intake, y el intake se convierte en una lección para el siguiente agente.
66
+
67
+ Cada lección es un archivo Markdown: se revisa como código, se clasifica por evidencia y se recupera con BM25 sobre la biblioteca estándar de Python. El endpoint MCP alojado añade un **respaldo semántico opcional** (bge-m3 + Vectorize) solo cuando BM25 no devuelve nada; `MISAKANET_SEMANTIC=0` lo desactiva. No hace falta una base de datos vectorial en local, ni un servidor, salvo que lo quieras.
68
+
69
+ | | |
70
+ |---|---|
71
+ | **Lecciones** | base de conocimiento de recuperación de fallos, abierta y auditable en `lessons/` |
72
+ | **Dominios** | rag · devops · fanuc · docker · feishu · mcp · network · ci · wsl · windows … |
73
+ | **Evidencia** | E0 intake → E1 revisada → E2 reproducida → E3 verificada en CI → **E4 reutilización observada por dos o más clientes distintos** |
74
+
75
+ | No es | Es |
76
+ |---|---|
77
+ | ❌ un sistema de memoria genérico | ✅ una capa de conocimiento para recuperarse de fallos |
78
+ | ❌ un runtime de agentes | ✅ una base de lecciones consultable |
79
+ | ❌ una base vectorial / pila RAG obligatoria | ✅ BM25 primero; respaldo semántico opcional y desactivable |
80
+ | ❌ un mercado de skills | ✅ conocimiento de depuración salido de sesiones reales |
81
+ | ❌ una plataforma de benchmark genérica | ✅ un corpus clasificado por evidencia; hay una corrida de 267 consultas publicada |
82
+
63
83
  ## Instalación (30 segundos)
64
84
 
65
85
  El objetivo de una instalación es una primera **búsqueda exitosa**, no la instalación. Nada de esto
66
86
  requiere una cuenta ni un token.
67
87
 
88
+ **Un solo comando cubre todos los entornos gestionados por el instalador:** `npx @misaka-net/misakanet-setup`.
89
+
68
90
  | Tu entorno | Comando |
69
91
  |---|---|
70
92
  | **DeepSeek Harness** | `dsh plugin --profile web add misakanet` — o escribe `misakanet` en **Add plugin** |
@@ -74,7 +96,7 @@ requiere una cuenta ni un token.
74
96
  | **Cualquier otro cliente MCP** | apúntalo a `https://misakanet.org/mcp` — endpoint público, lecturas anónimas |
75
97
  | **Tu propio código** | `pip install misakanet-core` (biblioteca) · `pip install misakanet` (servidor stdio) |
76
98
 
77
- La fila «gestionado por el instalador» es lo que `npx @misaka-net/misakanet-setup` escribe en la
99
+ La fila «gestionado por el instalador» es lo que escribe `npx @misaka-net/misakanet-setup` en la
78
100
  configuración de cada entorno. En el caso de DeepSeek Harness es **solo la mitad de las reglas**
79
101
  (`$DSH_HOME/AGENTS.md`): sus herramientas vienen del plugin de la fila anterior, que el instalador
80
102
  muestra como el único paso manual.
@@ -184,6 +206,28 @@ Son 267 consultas del pool de 300 entradas, no de las 650 completas; 33 entradas
184
206
  produjeron consulta, 2 peticiones semánticas fallaron, y el corpus de evaluación no se refrescó.
185
207
  → [informe completo](docs/benchmarks/retrieval-l1-267-2026-10-27.md)
186
208
 
209
+ ### Repetición 2026-12-02: las mismas 267 consultas contra el despliegue de hoy
210
+
211
+ | brazo | qué es | R@1 | R@3 | R@5 | no_match |
212
+ |---|---|---|---|---|---|
213
+ | **Endpoint en vivo** | el `https://misakanet.org/mcp` actual: BM25 + fallback semántico + fusión CJK, corpus de 1200 filas | **0.667** | **0.734** | **0.749** | **0.041** |
214
+ | **Léxico local** | el mismo handler sobre el corpus local, solo BM25 (sin Vectorize offline) | 0.356 | 0.382 | 0.393 | 0.506 |
215
+
216
+ Contra el mismo objetivo (`R@1 ≥ 0.46` **o** `no_match ≤ 0.50`): el endpoint en vivo **cumple ambos**;
217
+ el léxico local **no cumple ninguno**.
218
+
219
+ **Ese 0.667 no se puede comparar con el 0.446 de arriba.** Cambiaron tres cosas a la vez: (1) el corpus
220
+ pasa de un pool de evaluación de 300 entradas a 1200 filas; (2) el informe anterior tenía dos brazos
221
+ (alternaba `MISAKANET_SEMANTIC` porque controlaba un worker `misakanet-eval` que **nunca se commiteó**,
222
+ y en el worker en vivo esos dos interruptores son **de despliegue**, sin conmutador por petición, así
223
+ que solo se puede medir un brazo); (3) el ranking cambió tres veces (de `b` 0.75 a 0.5, las lecciones
224
+ sustituidas ya no superan a las vigentes, y llegó la fusión CJK).
225
+
226
+ Lo que sí dice: **el 2026-12-02, el endpoint desplegado acertó la lección correcta en el puesto 1 para
227
+ 0.667 de estas 267 consultas, y no devolvió nada para el 4.1%.**
228
+ Lo que no dice: cuánto mejoró la búsqueda desde octubre. Para eso hay que reconstruir primero la forma
229
+ «dos brazos + un corpus + un interruptor». → [informe de la repetición](docs/benchmarks/retrieval-l1-267-2026-12-02.md)
230
+
187
231
  ### Qué cambió desde entonces: la compuerta, no el modelo
188
232
 
189
233
  La tabla anterior mide una configuración que producción ya no usa. Hasta el 2026-10-28 la ruta
@@ -263,10 +307,15 @@ convierte en un issue rastreado.
263
307
  `E3`, no como prueba. La prueba es más silenciosa: tu recuperación cuenta, de forma anónima, como un
264
308
  cliente distinto más.
265
309
 
266
- **3. Traduce esta página.** El README se publica en tres idiomas; un cuarto está a un PR mergeado de
267
- distancia — las [tareas i18n](https://github.com/Ikalus1988/MisakaNet/issues?q=is%3Aissue+is%3Aopen+label%3Ai18n)
310
+ **3. Traduce esta página.** El README se publica en cuatro idiomas (English, 日本語, 简体中文, Español);
311
+ un quinto está a un PR mergeado de distancia — las [tareas i18n](https://github.com/Ikalus1988/MisakaNet/issues?q=is%3Aissue+is%3Aopen+label%3Ai18n)
268
312
  abiertas llevan los criterios de aceptación exactos.
269
313
 
314
+ **4. Cuéntanos dónde te dolió la última versión.** [El issue de prueba fijado](https://github.com/Ikalus1988/MisakaNet/issues/6077)
315
+ no tiene recompensa y siempre está al día: una pasada por cualquiera de las tres vías de arriba, el paso
316
+ en que se volvió lento o incorrecto, y la salida en bruto. El listón es una sola frase — *un
317
+ mantenedor puede reproducirlo* — y todo reporte que cumpla recibe un recibo que dice qué le pasó.
318
+
270
319
  **Lo que recibes a cambio: atribución.** Una lección cita el intake que la produjo (`source:`,
271
320
  `provenance.issue:`), y el pipeline puede emitir un recibo que nombra la lección y su nivel de
272
321
  evidencia.
@@ -373,7 +422,7 @@ honrado alguna vez es un PR mergeado.
373
422
  2. Busca antes de escribir: `python3 search_knowledge.py "your error here"`
374
423
  3. ¿No encontraste nada? [Comparte tu lección de fallo](https://github.com/Ikalus1988/MisakaNet/issues/new?template=lesson-feedback.yml) — cinco líneas bastan
375
424
 
376
- **El good first issue de este mes (26 oct – 26 nov):** [Trae un fallo real](https://github.com/Ikalus1988/MisakaNet/issues/3901) — sin código; el intake por MCP no necesita cuenta; te ayudamos con el formato.
425
+ **Un good first issue:** [la lista abierta ahora mismo](https://github.com/Ikalus1988/MisakaNet/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) — cambia cada semana, así que coge el que esté abierto cuando llegues; sin código, el intake por MCP no necesita cuenta y te ayudamos con el formato.
377
426
 
378
427
  → [CONTRIBUTING.md](CONTRIBUTING.md) · [good first issues](https://github.com/Ikalus1988/MisakaNet/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) · [código de conducta](CODE_OF_CONDUCT.md)
379
428
 
package/README.ja.md CHANGED
@@ -60,10 +60,32 @@ mcp-name: io.github.Ikalus1988/misakanet
60
60
 
61
61
  ---
62
62
 
63
+ ## MisakaNet とは
64
+
65
+ **AI コーディングエージェントのための、git で管理された失敗の記憶。** エラーが出る → エージェントが検索する → 誰かがすでに検証した修正を適用する → 何も見つからなければ、その取りこぼしが intake になり、intake が次のエージェントのためのレッスンになる。
66
+
67
+ レッスンはすべて Markdown ファイルです。コードと同じようにレビューされ、証拠の強さで格付けされ、Python 標準ライブラリだけで動く BM25 で検索されます。ホスト版の MCP エンドポイントは、BM25 が何も返さなかったときにだけ**任意のセマンティック・フォールバック**(bge-m3 + Vectorize)を足します。`MISAKANET_SEMANTIC=0` で切れます。ローカルにベクトルDBは要りませんし、サーバーも、望まない限り不要です。
68
+
69
+ | | |
70
+ |---|---|
71
+ | **レッスン** | 障害復旧の知識ベース。`lessons/` 以下で公開・監査可能 |
72
+ | **ドメイン** | rag · devops · fanuc · docker · feishu · mcp · network · ci · wsl · windows … |
73
+ | **証拠** | E0 intake → E1 レビュー済み → E2 再現済み → E3 CI 検証済み → **E4 二つ以上の異なるクライアントによる再利用が観測された** |
74
+
75
+ | これは違う | これはこれ |
76
+ |---|---|
77
+ | ❌ 汎用のメモリシステム | ✅ 障害復旧に特化した知識レイヤー |
78
+ | ❌ エージェントのランタイム | ✅ 検索できるレッスンのデータベース |
79
+ | ❌ 必須のベクトルDB / RAG スタック | ✅ BM25 が先。セマンティックはホスト版で任意・無効化可能 |
80
+ | ❌ スキルのマーケットプレイス | ✅ 実際のセッションから出たデバッグ知識 |
81
+ | ❌ 汎用ベンチマーク基盤 | ✅ 証拠で格付けされたコーパス。267 クエリの検索結果を公開中 |
82
+
63
83
  ## インストール(30 秒)
64
84
 
65
85
  ゴールは「入れること」ではなく**最初の検索が成功すること**です。どれもアカウントもトークンも不要です。
66
86
 
87
+ **インストーラーが管理するホストはすべて 1 コマンドで入ります:** `npx @misaka-net/misakanet-setup`。
88
+
67
89
  | ホスト | コマンド |
68
90
  |---|---|
69
91
  | **DeepSeek Harness** | `dsh plugin --profile web add misakanet`、または **Add plugin** で `misakanet` |
@@ -74,6 +96,8 @@ mcp-name: io.github.Ikalus1988/misakanet
74
96
  | **自分のコードから** | `pip install misakanet-core`(ライブラリ)· `pip install misakanet`(stdio サーバー) |
75
97
 
76
98
  更新:`dsh plugin --profile web update misakanet@latest` · `npx @misaka-net/misakanet-setup@latest`。
99
+ DeepSeek Harness に対してインストーラーが書くのは**ルール側だけ**(`$DSH_HOME/AGENTS.md`)です:
100
+ ツールは上の行のプラグインから来ます。インストーラーはそれを唯一の手動ステップとして表示します。
77
101
  前提条件と「2 つのパッケージ」の罠:[使い方](#使い方)。
78
102
 
79
103
  ## 最初の 5 分
@@ -163,6 +187,25 @@ R@1 が解決したと宣言できるサンプルではありません。
163
187
  これは 300 レッスン中の 267 クエリで、650 全量ではありません。33 レッスンはクエリを生成できず、
164
188
  semantic 側は 2 件エラー、eval corpus も未更新です。→ [全文レポート](docs/benchmarks/retrieval-l1-267-2026-10-27.md)
165
189
 
190
+ ### 2026-12-02 の再実行:同じ 267 クエリを今日のデプロイで
191
+
192
+ | arm | 内容 | R@1 | R@3 | R@5 | no_match |
193
+ |---|---|---|---|---|---|
194
+ | **ライブエンドポイント** | 現在の `https://misakanet.org/mcp`:BM25 + semantic fallback + CJK fusion、1200 行 | **0.667** | **0.734** | **0.749** | **0.041** |
195
+ | **ローカル純詞法** | 同じ handler をローカルコーパスで、BM25 のみ(オフラインで Vectorize なし) | 0.356 | 0.382 | 0.393 | 0.506 |
196
+
197
+ 同じ目標(`R@1 ≥ 0.46` **または** `no_match ≤ 0.50`)に対して:ライブは**両方達成**、ローカル純詞法は**両方未達**。
198
+
199
+ **この 0.667 を上の 0.446 と比べてはいけません。** 三つが同時に変わっています:① コーパスが 300 レッスンの
200
+ eval プールから 1200 行へ;② 旧レポートは 2 アーム(`MISAKANET_SEMANTIC` を切り替えられたのは手元の
201
+ eval worker があったからで、その worker は**リポジトリに入っていない**。ライブではこの二つのスイッチは
202
+ **デプロイ単位**で、per-request の切替は無い。だから 1 アームしか測れない);③ ランキング実装が 3 回変わった
203
+ (`b` 0.75 → 0.5、superseded のレッスンが現行を上回らない、CJK fusion の導入)。
204
+
205
+ 言えること:**2026-12-02 時点で、ライブはこの 267 クエリのうち 0.667 を 1 位で正答し、4.1% は何も返さなかった。**
206
+ 言えないこと:10 月から検索がどれだけ良くなったか。それには「2 アーム + 同一コーパス + 1 つのスイッチ」の
207
+ 形をまず作り直す必要があります。→ [再実行レポート](docs/benchmarks/retrieval-l1-267-2026-12-02.md)
208
+
166
209
  ## 復唱ベンチマーク:何を測り、なぜ停止したか
167
210
 
168
211
  測ったのは 1 つの狭い問いだけです:**レッスンをモデルに渡したとき、そのレッスンのどれだけが返ってくるか。**
@@ -217,10 +260,16 @@ with_lesson hit rate (per run date)
217
260
  しません。本当の証明はもっと静かです:あなたの検索は「もう 1 つの別クライアントが使った」として匿名で
218
261
  数えられます。
219
262
 
220
- **3. このページを翻訳する。** README は 3 言語で出ています。4 つ目はマージされる PR 一つ分です——
221
- 公開中の [i18n タスク](https://github.com/Ikalus1988/MisakaNet/issues?q=is%3Aissue+is%3Aopen+label%3Ai18n)
263
+ **3. このページを翻訳する。** README は 4 言語(English、日本語、简体中文、Español)で出ています。
264
+ 5 つ目はマージされる PR 一つ分です——公開中の
265
+ [i18n タスク](https://github.com/Ikalus1988/MisakaNet/issues?q=is%3Aissue+is%3Aopen+label%3Ai18n)
222
266
  に受け入れ条件がそのまま書いてあります。
223
267
 
268
+ **4. 最新ビルドのどこで困ったかを教えてください。** [固定の試用 issue](https://github.com/Ikalus1988/MisakaNet/issues/6077)
269
+ は賞金なしで常に最新です:上の 3 つの入口のどれかを一度通し、遅かった/間違っていたステップと生の出力を
270
+ 書いてください。受け入れ基準は一文だけ——*メンテナが再現できること*——で、要件を満たした報告には
271
+ すべて、その後どうなったかを書いた受領証が届きます。
272
+
224
273
  **見返りは帰属**です:レッスンは生んだ intake を frontmatter に記します(`source:`、`provenance.issue:`)。
225
274
  パイプラインはレッスン名と証拠レベルを書いた受領証を出せます。
226
275
 
package/README.md CHANGED
@@ -90,6 +90,8 @@ required locally, and no server unless you want one.
90
90
  The point of an install is a first **successful search**, not the install. None of these needs an
91
91
  account or a token.
92
92
 
93
+ **One command covers every installer-managed host:** `npx @misaka-net/misakanet-setup`.
94
+
93
95
  | Your host | Command |
94
96
  |---|---|
95
97
  | **DeepSeek Harness** | `dsh plugin --profile web add misakanet` — or type `misakanet` in **Add plugin** |
@@ -99,9 +101,8 @@ account or a token.
99
101
  | **Any other MCP client** | point it at `https://misakanet.org/mcp` — public endpoint, anonymous reads |
100
102
  | **Your own code** | `pip install misakanet-core` (library) · `pip install misakanet` (stdio server) |
101
103
 
102
- The installer-managed row is what `npx @misaka-net/misakanet-setup` writes into each host's config.
103
- For DeepSeek Harness that is the **rules half only** (`$DSH_HOME/AGENTS.md`): its tools come from the
104
- plugin in the row above, which the installer prints as the one manual step.
104
+ For DeepSeek Harness the installer writes the **rules half only** (`$DSH_HOME/AGENTS.md`): its tools
105
+ come from the plugin in the row above, which the installer prints as the one manual step.
105
106
 
106
107
  Updates: `dsh plugin --profile web update misakanet@latest`.
107
108
  Installer updates: `npx @misaka-net/misakanet-setup@latest`.
@@ -156,11 +157,16 @@ not to fail again. MisakaNet is only the second thing. → [FAQ](FAQ.md)
156
157
 
157
158
  ## Benchmarks (details, not headline)
158
159
 
159
- Two measurements, both published with their artifacts rather than as prose here:
160
+ Measurements, each published with its artifact rather than as prose here:
160
161
 
161
162
  - **Retrieval** — 267 queries over the hosted endpoint, BM25 vs the semantic fallback, run
162
163
  2026-10-27. The R@1 half of the target was **missed** (`0.446 < 0.46`); `no_match` was within it.
163
164
  → [benchmarks/retrieval-2026-10-27.md](docs/benchmarks/retrieval-l1-267-2026-10-27.md)
165
+ - **Retrieval, replayed 2026-12-02** — the same 267 queries against today's deployment: **R@1 0.667,
166
+ `no_match` 0.041** (target met). **Not comparable to the 0.446 above**: that run had two arms over a
167
+ 300-lesson eval corpus, this is one arm over 1200 rows, and the ranking changed three times in
168
+ between. The BM25-only arm measured locally scores R@1 0.356 / `no_match` 0.506 — the gap is the
169
+ vector paths. → [benchmarks/retrieval-2026-12-02.md](docs/benchmarks/retrieval-l1-267-2026-12-02.md)
164
170
  - **Recitation** — `lesson_hit_rate` is the share of the injected lesson's commands reproduced in the answer.
165
171
  It measures the **recitation** half of RAG: necessary for MisakaNet to help, and it is
166
172
  **not evidence that search finds anything** (no retrieval runs; correctness is not checked). The
@@ -175,10 +181,16 @@ no account, no email, no token, five lines is enough. It becomes a tracked issue
175
181
  **2. Reuse a lesson and leave the trace.** A "this helped" vote is an `E3` hint, not proof. The proof
176
182
  is quieter: your retrieval is counted, anonymously, as one more distinct client.
177
183
 
178
- **3. Translate this page.** A fourth language is one merged PR away — the open
184
+ **3. Translate this page.** The README ships in four languages (English, 日本語, 简体中文, Español);
185
+ a fifth is one merged PR away — the open
179
186
  [i18n tasks](https://github.com/Ikalus1988/MisakaNet/issues?q=is%3Aissue+is%3Aopen+label%3Ai18n)
180
187
  carry the acceptance criteria.
181
188
 
189
+ **4. Tell us where the latest build hurt.** [The pinned trial issue](https://github.com/Ikalus1988/MisakaNet/issues/6077) is zero-bounty and
190
+ always current: one run through any of the three entry points above, the step where it got slow or
191
+ wrong, and the raw output. The acceptance bar is one sentence — *a maintainer can reproduce it* —
192
+ and every eligible report gets a receipt naming what happened to it.
193
+
182
194
  **What you get back: attribution.** A lesson cites the intake that produced it (`source:`,
183
195
  `provenance.issue:`), and the pipeline can emit a receipt naming the lesson and its evidence level.
184
196
 
@@ -275,7 +287,7 @@ jobs:
275
287
  2. Search before writing: `python3 search_knowledge.py "your error here"`
276
288
  3. Found nothing? [Share your failure lesson](https://github.com/Ikalus1988/MisakaNet/issues/new?template=lesson-feedback.yml) — five lines is enough
277
289
 
278
- **This month's good first issue (Oct 26 – Nov 26):** [Bring one real failure](https://github.com/Ikalus1988/MisakaNet/issues/3901) — no code; the MCP intake needs no account; we help with the format.
290
+ **A good first issue:** [the open list right now](https://github.com/Ikalus1988/MisakaNet/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) — it changes weekly, so take whatever is open when you arrive; no code needed, the MCP intake takes no account and we help with the format.
279
291
 
280
292
  → [CONTRIBUTING.md](CONTRIBUTING.md) · [good first issues](https://github.com/Ikalus1988/MisakaNet/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) · [work on this repo](https://github.com/Ikalus1988/MisakaNet/issues?q=is%3Aissue+is%3Aopen+label%3A%22scope%3Arepo%22) · [code of conduct](CODE_OF_CONDUCT.md)
281
293
 
package/README.zh-CN.md CHANGED
@@ -58,10 +58,32 @@ mcp-name: io.github.Ikalus1988/misakanet
58
58
 
59
59
  ---
60
60
 
61
+ ## 什么是 MisakaNet?
62
+
63
+ **给 AI 编码 agent 用的、由 git 托管的失败记忆。** 报错出现 → agent 检索 → 套用别人已经验证过的修法 → 如果没有命中,这次落空就变成一条 intake,而 intake 会变成下一位 agent 的 lesson。
64
+
65
+ 每条 lesson 都是一个 Markdown 文件:像代码一样被评审,按证据强度分级,用只依赖 Python 标准库的 BM25 检索。托管版 MCP 端点只在 BM25 完全没有命中时才加一层**可选的语义兜底**(bge-m3 + Vectorize),`MISAKANET_SEMANTIC=0` 可关。本地不需要向量库,也不需要跑服务端——除非你想要。
66
+
67
+ | | |
68
+ |---|---|
69
+ | **课程** | 故障恢复知识库,在 `lessons/` 下公开、可审计 |
70
+ | **领域** | rag · devops · fanuc · docker · feishu · mcp · network · ci · wsl · windows …… |
71
+ | **证据** | E0 intake → E1 已评审 → E2 已复现 → E3 CI 已验证 → **E4 观测到两个以上不同客户端复用** |
72
+
73
+ | 它不是 | 它是 |
74
+ |---|---|
75
+ | ❌ 通用记忆系统 | ✅ 故障恢复的知识层 |
76
+ | ❌ agent 运行时 | ✅ 可检索的 lesson 数据库 |
77
+ | ❌ 强制的向量库 / RAG 栈 | ✅ 先 BM25;语义兜底在托管端,可关 |
78
+ | ❌ 技能市场 | ✅ 来自真实会话的排错知识 |
79
+ | ❌ 通用评测平台 | ✅ 按证据分级的语料,已发布一次 267 查询检索结果 |
80
+
61
81
  ## 安装(30 秒)
62
82
 
63
83
  安装的目标是**一次成功的检索**,不是"装完"。下面每一种都不需要账号或 token。
64
84
 
85
+ **一个命令覆盖所有由安装器管理的宿主:** `npx @misaka-net/misakanet-setup`。
86
+
65
87
  | 你的宿主 | 命令 |
66
88
  |---|---|
67
89
  | **DeepSeek Harness** | `dsh plugin --profile web add misakanet`,或在 **Add plugin** 里输入 `misakanet` |
@@ -72,6 +94,8 @@ mcp-name: io.github.Ikalus1988/misakanet
72
94
  | **自己的代码** | `pip install misakanet-core`(库)· `pip install misakanet`(stdio server) |
73
95
 
74
96
  更新:`dsh plugin --profile web update misakanet@latest` · `npx @misaka-net/misakanet-setup@latest`。
97
+ DeepSeek Harness 安装器只写**规则的那一半**(`$DSH_HOME/AGENTS.md`):它的工具来自上表里的插件,
98
+ 安装器会把它印成唯一的手动步骤。
75
99
  前置条件与"两个包"的坑:[怎么用](#怎么用)。
76
100
 
77
101
  ## 头五分钟
@@ -155,6 +179,24 @@ semantic fallback 把 R@1 提高 **23.6 个百分点**,把 `no_match` 降低 *
155
179
  这是 300 篇里的 267 条,不是完整 650;33 篇没有生成出 query,2 个 semantic 请求报错,eval corpus
156
180
  也没有刷新。→ [完整报告](docs/benchmarks/retrieval-l1-267-2026-10-27.md)
157
181
 
182
+ ### 2026-12-02 重跑:同一批 267 条,今天的部署
183
+
184
+ | arm | 是什么 | R@1 | R@3 | R@5 | no_match |
185
+ |---|---|---|---|---|---|
186
+ | **线上端点** | 当前的 `https://misakanet.org/mcp`:BM25 + semantic fallback + CJK fusion,1200 行语料 | **0.667** | **0.734** | **0.749** | **0.041** |
187
+ | **本地纯词法** | 同一个 handler 跑本地语料,只有 BM25(离线无 Vectorize) | 0.356 | 0.382 | 0.393 | 0.506 |
188
+
189
+ 对着同一个目标(`R@1 ≥ 0.46` **或** `no_match ≤ 0.50`):线上**两项都过了**;本地纯词法**两项都没过**。
190
+
191
+ **这一行 0.667 不能和上面那个 0.446 比大小。** 三件事同时变了:① 语料从 300 条的 eval 池子换成 1200 行;
192
+ ② 旧的报告有两条臂(能切 `MISAKANET_SEMANTIC`,因为手上有个 eval worker),那个 worker **从来没进过仓库**,
193
+ 线上这两个开关是**部署级**的、没有 per-request 开关,所以只能测一条臂;③ 排序实现改过三次
194
+ (`b` 0.75 → 0.5、被取代的 lesson 不再压过在讲的、CJK fusion 上线)。
195
+
196
+ 它能说的是:**2026-12-02 这天,线上把 267 条里的 0.667 条在第一名就答对了,4.1% 什么都没返回。**
197
+ 它不能说的是:检索比十月提高了多少。要回答那个,得先把“两条臂 + 同一份语料 + 一个开关”的形状重建出来。
198
+ → [重跑报告](docs/benchmarks/retrieval-l1-267-2026-12-02.md)
199
+
158
200
  ## 复述基准:它测了什么,为什么暂停了
159
201
 
160
202
  只测了一个很窄的问题:**把一条 lesson 塞给模型,它会复述回多少?** 指标是 `lesson_hit_rate`——被注入
@@ -205,10 +247,14 @@ with_lesson hit rate (per run date)
205
247
  **2. 复用一条 lesson,留下痕迹。** "这有用"这一票记为 `E3` 提示,不冒充证明。真正的证明更安静:
206
248
  你的检索会被匿名计为"又一个不同客户端用过这篇"。
207
249
 
208
- **3. 翻译这一页。** README 现在有三种语言;第四种只差一个合并的 PR——公开的
250
+ **3. 翻译这一页。** README 现在有四种语言(English、日本語、简体中文、Español);第五种只差一个合并的 PR——公开的
209
251
  [i18n 任务](https://github.com/Ikalus1988/MisakaNet/issues?q=is%3Aissue+is%3Aopen+label%3Ai18n)
210
252
  里写好了验收标准。
211
253
 
254
+ **4. 告诉我们最新这一版在哪里翩到了你。** [长期置顶的试用招募](https://github.com/Ikalus1988/MisakaNet/issues/6077)
255
+ 是零赏金、长期有效的:走一遍上面任意一条入口,记下变慢或出错的那一步,再贴上原始输出。
256
+ 验收标准只要一句话——**维护者能复现**——每一份合格的报告都会收到一张回执,写明它后来怎样了。
257
+
212
258
  **你得到的回报是署名**:lesson 在 frontmatter 里引用产生它的 intake(`source:`、`provenance.issue:`),
213
259
  管线可以出一张写明 lesson 与证据等级的回执。
214
260
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "misakanet",
3
- "version": "3.24.0",
3
+ "version": "3.25.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "MisakaNet failure-memory skill — evidence-rated failure lessons for AI agents. DSH bundle: registers the MCP tools as mcp__misakanet__* (misakanet_search/get_lesson/…), served by the public Streamable HTTP endpoint https://misakanet.org/mcp — live tools from an npm install, in any profile, with no local python. A profile that prefers the repo's own stdio server can override the bundle row.",
6
6
  "icon": "icon.svg",
@@ -80,11 +80,12 @@
80
80
  "preview": "wrangler dev"
81
81
  },
82
82
  "devDependencies": {
83
- "wrangler": "^4.165.0"
83
+ "wrangler": "^4.168.0"
84
84
  },
85
85
  "overrides": {
86
86
  "sharp": "0.35.5",
87
- "undici": "7.30.1"
87
+ "undici": "7.30.1",
88
+ "ws": "8.23.1"
88
89
  },
89
90
  "main": "index.js",
90
91
  "exports": {