misakanet 3.23.0 → 3.24.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.
- package/.codex-plugin/plugin.json +1 -1
- package/README.es.md +8 -5
- package/README.ja.md +8 -4
- package/README.md +56 -76
- package/README.zh-CN.md +8 -4
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "misakanet",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.24.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
|
@@ -18,15 +18,18 @@ mcp-name: io.github.Ikalus1988/misakanet
|
|
|
18
18
|
> Markdown en este repositorio — clasificada por evidencia, revisada como código, recuperada por un
|
|
19
19
|
> agente en lugar de adivinada. Tú fallas una vez; el siguiente agente no.
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
`llms.txt`, descubrimiento A2A mediante `.well-known/agent-card.json`. El servidor stdio **local**
|
|
23
|
-
(`pip install misakanet`) incluye **11** — el endpoint alojado es un subconjunto;
|
|
24
|
-
[docs/mcp.md](docs/mcp.md) tiene ambas filas.
|
|
21
|
+
Endpoint MCP alojado: **8 herramientas** en `https://misakanet.org/mcp`. El servidor stdio local incluye 11; la tabla de ambos está en [docs/mcp.md](docs/mcp.md).
|
|
25
22
|
|
|
26
23
|
<p align="center">
|
|
27
|
-
|
|
24
|
+
<picture>
|
|
25
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/hero-dark.svg">
|
|
26
|
+
<source media="(prefers-color-scheme: light)" srcset="docs/assets/hero-light.svg">
|
|
27
|
+
<img src="docs/assets/hero-light.svg" width="100%" alt="Un registro real: la consulta 'database is locked' devuelve una lección E1 (revisada). La cifra es un viaje de ida y vuelta de 3,1 s desde una máquina, red incluida.">
|
|
28
|
+
</picture>
|
|
28
29
|
</p>
|
|
29
30
|
|
|
31
|
+
<sub>Grabado a partir de una llamada real por `scripts/record_hero_snapshot.py` y verificado en CI. No es una afirmación de ahorro: aquí no se mide lo que habría costado sin consultarlo.</sub>
|
|
32
|
+
|
|
30
33
|
<p align="center">
|
|
31
34
|
<em>Núcleo</em>
|
|
32
35
|
|
package/README.ja.md
CHANGED
|
@@ -18,14 +18,18 @@ mcp-name: io.github.Ikalus1988/misakanet
|
|
|
18
18
|
> Markdown ファイルで、証拠で格付けされ、コードのようにレビューされ、推測ではなく検索で取り出されます。
|
|
19
19
|
> **一度失敗すれば、次のエージェントは失敗しません。**
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
`llms.txt`、A2A(`.well-known/agent-card.json`)。**ローカル**の stdio サーバー(`pip install misakanet`)
|
|
23
|
-
は **11** ツール——ホスト版はそのサブセットで、両方の行は [docs/mcp.md](docs/mcp.md) にあります。
|
|
21
|
+
[MCP サーバー](https://misakanet.org/mcp)(8 ツール)・WebMCP・`llms.txt`。ローカル stdio サーバーは 11 ツールで、両方の対応表は [docs/mcp.md](docs/mcp.md) にあります。
|
|
24
22
|
|
|
25
23
|
<p align="center">
|
|
26
|
-
|
|
24
|
+
<picture>
|
|
25
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/hero-dark.svg">
|
|
26
|
+
<source media="(prefers-color-scheme: light)" srcset="docs/assets/hero-light.svg">
|
|
27
|
+
<img src="docs/assets/hero-light.svg" width="100%" alt="実測記録 1 件:'database is locked' の検索が E1(レビュー済み)レッスンを返します。図の数値は 1 台のマシンからの往復 3.1 秒で、ネットワークを含みます。">
|
|
28
|
+
</picture>
|
|
27
29
|
</p>
|
|
28
30
|
|
|
31
|
+
<sub>`scripts/record_hero_snapshot.py` による実測 1 件をそのまま描画し、CI が一致を検証しています。削減時間の主張ではありません(「使わなかった場合のコスト」は計測していません)。</sub>
|
|
32
|
+
|
|
29
33
|
<p align="center">
|
|
30
34
|
<em>Core</em>
|
|
31
35
|
|
package/README.md
CHANGED
|
@@ -10,22 +10,26 @@ mcp-name: io.github.Ikalus1988/misakanet
|
|
|
10
10
|
|
|
11
11
|
> **The same failure, paid for twice.**
|
|
12
12
|
>
|
|
13
|
-
>
|
|
14
|
-
>
|
|
15
|
-
>
|
|
13
|
+
> Your agent hits `sqlite3.OperationalError: database is locked`, or a `gbk` codec error that only
|
|
14
|
+
> appears on a Chinese Windows console. It has no memory of the last time — so it guesses, and the
|
|
15
|
+
> guesses cost turns and context. Somewhere else, another agent already paid for that exact fix.
|
|
16
16
|
>
|
|
17
|
-
> MisakaNet is that
|
|
18
|
-
> repository — graded by evidence, reviewed like code, retrieved by an agent instead of
|
|
19
|
-
>
|
|
20
|
-
|
|
21
|
-
Agent-native interfaces: [MCP server](https://misakanet.org/mcp) (8 tools), WebMCP, `llms.txt`,
|
|
22
|
-
A2A discovery via `.well-known/agent-card.json`. The **local** stdio server (`pip install misakanet`)
|
|
23
|
-
ships **11** — the hosted endpoint is a subset; [docs/mcp.md](docs/mcp.md) has both rows.
|
|
17
|
+
> MisakaNet is where that payment is kept: a git-backed **failure memory**. Every lesson is a Markdown
|
|
18
|
+
> file in this repository — graded by evidence, reviewed like code, retrieved by an agent instead of
|
|
19
|
+
> guessed at.
|
|
24
20
|
|
|
25
21
|
<p align="center">
|
|
26
|
-
|
|
22
|
+
<picture>
|
|
23
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/hero-dark.svg">
|
|
24
|
+
<source media="(prefers-color-scheme: light)" srcset="docs/assets/hero-light.svg">
|
|
25
|
+
<img src="docs/assets/hero-light.svg" width="100%" alt="One recorded search: the query 'database is locked' returns an E1 reviewed lesson. The figure shown is a 3.1 s round trip from one machine, network included.">
|
|
26
|
+
</picture>
|
|
27
27
|
</p>
|
|
28
28
|
|
|
29
|
+
<sub>Recorded from one real call by `scripts/record_hero_snapshot.py` and verified in CI. Not a savings claim — nothing here measures what a session would have cost.</sub>
|
|
30
|
+
|
|
31
|
+
[MCP server](https://misakanet.org/mcp) (8 tools) · WebMCP · `llms.txt`; the local stdio server ships 11 — [docs/mcp.md](docs/mcp.md) has both rows.
|
|
32
|
+
|
|
29
33
|
<p align="center">
|
|
30
34
|
<em>Core</em>
|
|
31
35
|
|
|
@@ -56,6 +60,31 @@ ships **11** — the hosted endpoint is a subset; [docs/mcp.md](docs/mcp.md) has
|
|
|
56
60
|
|
|
57
61
|
---
|
|
58
62
|
|
|
63
|
+
## What is MisakaNet?
|
|
64
|
+
|
|
65
|
+
**Git-backed failure memory for AI coding agents.** An error shows up → the agent searches → it
|
|
66
|
+
applies a fix somebody already verified → if nothing matches, the miss becomes an intake, and the
|
|
67
|
+
intake becomes a lesson for the next agent.
|
|
68
|
+
|
|
69
|
+
Every lesson is a Markdown file: reviewed like code, graded by evidence, retrieved with BM25 over the
|
|
70
|
+
Python standard library. The hosted MCP endpoint adds an **optional semantic fallback** (bge-m3 +
|
|
71
|
+
Vectorize) only when BM25 returns no match; `MISAKANET_SEMANTIC=0` disables it. No vector database is
|
|
72
|
+
required locally, and no server unless you want one.
|
|
73
|
+
|
|
74
|
+
| | |
|
|
75
|
+
|---|---|
|
|
76
|
+
| **Lessons** | failure-recovery knowledge base, open and auditable under `lessons/` |
|
|
77
|
+
| **Domains** | rag · devops · fanuc · docker · feishu · mcp · network · ci · wsl · windows … |
|
|
78
|
+
| **Evidence** | E0 intake → E1 reviewed → E2 reproduced → E3 CI verified → **E4 observed reuse by two or more distinct clients** |
|
|
79
|
+
|
|
80
|
+
| It is not | It is |
|
|
81
|
+
|---|---|
|
|
82
|
+
| ❌ a general memory system | ✅ a failure-recovery knowledge layer |
|
|
83
|
+
| ❌ an agent runtime | ✅ a searchable lesson database |
|
|
84
|
+
| ❌ a mandatory vector database / RAG stack | ✅ BM25 first; optional, disable-able semantic fallback on the hosted endpoint |
|
|
85
|
+
| ❌ a skill marketplace | ✅ debugging knowledge from real sessions |
|
|
86
|
+
| ❌ a general-purpose benchmark platform | ✅ a corpus graded by evidence; a 267-query retrieval run is published, and the older recitation benchmark is paused |
|
|
87
|
+
|
|
59
88
|
## Install (30 seconds)
|
|
60
89
|
|
|
61
90
|
The point of an install is a first **successful search**, not the install. None of these needs an
|
|
@@ -97,31 +126,6 @@ intake: the corpus saying it does not know this one yet.
|
|
|
97
126
|
**3. Check the trust signal, not the tone.** `E0`–`E3` say how far a lesson was verified; `E4` is the
|
|
98
127
|
one nobody can write or vote into.
|
|
99
128
|
|
|
100
|
-
## What is MisakaNet?
|
|
101
|
-
|
|
102
|
-
**Git-backed failure memory for AI coding agents.** An error shows up → the agent searches → it
|
|
103
|
-
applies a fix somebody already verified → if nothing matches, the miss becomes an intake, and the
|
|
104
|
-
intake becomes a lesson for the next agent.
|
|
105
|
-
|
|
106
|
-
Every lesson is a Markdown file: reviewed like code, graded by evidence, retrieved with BM25 over the
|
|
107
|
-
Python standard library. The hosted MCP endpoint adds an **optional semantic fallback** (bge-m3 +
|
|
108
|
-
Vectorize) only when BM25 returns no match; `MISAKANET_SEMANTIC=0` disables it. No vector database is
|
|
109
|
-
required locally, and no server unless you want one.
|
|
110
|
-
|
|
111
|
-
| | |
|
|
112
|
-
|---|---|
|
|
113
|
-
| **Lessons** | failure-recovery knowledge base, open and auditable under `lessons/` |
|
|
114
|
-
| **Domains** | rag · devops · fanuc · docker · feishu · mcp · network · ci · wsl · windows … |
|
|
115
|
-
| **Evidence** | E0 intake → E1 reviewed → E2 reproduced → E3 CI verified → **E4 observed reuse by two or more distinct clients** |
|
|
116
|
-
|
|
117
|
-
| It is not | It is |
|
|
118
|
-
|---|---|
|
|
119
|
-
| ❌ a general memory system | ✅ a failure-recovery knowledge layer |
|
|
120
|
-
| ❌ an agent runtime | ✅ a searchable lesson database |
|
|
121
|
-
| ❌ a mandatory vector database / RAG stack | ✅ BM25 first; optional, disable-able semantic fallback on the hosted endpoint |
|
|
122
|
-
| ❌ a skill marketplace | ✅ debugging knowledge from real sessions |
|
|
123
|
-
| ❌ a general-purpose benchmark platform | ✅ a corpus graded by evidence; a 267-query retrieval run is published, and the older recitation benchmark is paused |
|
|
124
|
-
|
|
125
129
|
### What it answers — and what it does not
|
|
126
130
|
|
|
127
131
|

|
|
@@ -150,47 +154,18 @@ not to fail again. MisakaNet is only the second thing. → [FAQ](FAQ.md)
|
|
|
150
154
|
per-file SHA-256 and an explicit license per file ([DATASET.md](DATASET.md)). The counts
|
|
151
155
|
live in each version's `manifest.json`, not in prose.
|
|
152
156
|
|
|
153
|
-
##
|
|
154
|
-
|
|
155
|
-
On 2026-10-27 the hosted endpoint's retrieval path was evaluated on **267 queries, one per lesson**
|
|
156
|
-
generated by Workers AI 70B. Both arms used the same eval worker and corpus; only
|
|
157
|
-
`MISAKANET_SEMANTIC` changed.
|
|
158
|
-
|
|
159
|
-
| arm | R@1 | R@5 | no_match |
|
|
160
|
-
|---|---|---|---|
|
|
161
|
-
| BM25 | 0.210 | 0.225 | 0.712 |
|
|
162
|
-
| semantic fallback | **0.446** | **0.472** | **0.453** |
|
|
157
|
+
## Benchmarks (details, not headline)
|
|
163
158
|
|
|
164
|
-
|
|
165
|
-
meet the R@1 half of the target (`0.446 < 0.46`); `no_match` is within the target
|
|
166
|
-
(`0.453 ≤ 0.50`). A 113-query subset reaches 0.460/0.460, while 250 reaches 0.404/0.504: the sample is
|
|
167
|
-
large enough to show the fallback works, not large enough to call R@1 solved.
|
|
159
|
+
Two measurements, both published with their artifacts rather than as prose here:
|
|
168
160
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
path ran **only when BM25 returned nothing**, so a confident-but-wrong lexical hit suppressed it —
|
|
178
|
-
13 of the 20 recorded misses were exactly that. For queries containing CJK characters the two ranked
|
|
179
|
-
lists are now **fused** (reciprocal-rank) instead of one gating the other: on 64 Chinese queries,
|
|
180
|
-
`zh → en` moved 0.455 → **0.697** (n=33) and 0.214 → **0.500** on the low-overlap subset (n=14).
|
|
181
|
-
`bge-m3` pure cosine already reached 0.636 and a `gemini` embedding 0.727 — most of the gap was the
|
|
182
|
-
decision to consult the vector path, not the model. English queries are untouched (the fuse is gated
|
|
183
|
-
on CJK) and sit at 15/20 against a floor of 16, where they were before.
|
|
184
|
-
→ [full report](docs/benchmarks/cjk-fusion-2026-10-28.md)
|
|
185
|
-
|
|
186
|
-
## Recitation benchmark (paused)
|
|
187
|
-
|
|
188
|
-
One narrow question: **when you hand a model a lesson, how much of that lesson comes back?** The
|
|
189
|
-
metric is `lesson_hit_rate` — the share of the injected lesson's commands reproduced in the answer.
|
|
190
|
-
It measures the **recitation** half of RAG: necessary for MisakaNet to help, and it is **not evidence that search finds anything** (no retrieval runs; correctness is not checked).
|
|
191
|
-
|
|
192
|
-
The run is **paused**; the last snapshot is [`docs/benchmarks/latest.json`](docs/benchmarks/latest.json).
|
|
193
|
-
Setup, trend and per-run files: [recitation-trend.md](docs/benchmarks/recitation-trend.md).
|
|
161
|
+
- **Retrieval** — 267 queries over the hosted endpoint, BM25 vs the semantic fallback, run
|
|
162
|
+
2026-10-27. The R@1 half of the target was **missed** (`0.446 < 0.46`); `no_match` was within it.
|
|
163
|
+
→ [benchmarks/retrieval-2026-10-27.md](docs/benchmarks/retrieval-l1-267-2026-10-27.md)
|
|
164
|
+
- **Recitation** — `lesson_hit_rate` is the share of the injected lesson's commands reproduced in the answer.
|
|
165
|
+
It measures the **recitation** half of RAG: necessary for MisakaNet to help, and it is
|
|
166
|
+
**not evidence that search finds anything** (no retrieval runs; correctness is not checked). The
|
|
167
|
+
run is **paused**; the last snapshot is [`docs/benchmarks/latest.json`](docs/benchmarks/latest.json).
|
|
168
|
+
→ [recitation-trend.md](docs/benchmarks/recitation-trend.md)
|
|
194
169
|
|
|
195
170
|
## Take part
|
|
196
171
|
|
|
@@ -302,7 +277,12 @@ jobs:
|
|
|
302
277
|
|
|
303
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.
|
|
304
279
|
|
|
305
|
-
→ [CONTRIBUTING.md](CONTRIBUTING.md) · [good first issues](https://github.com/Ikalus1988/MisakaNet/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) · [code of conduct](CODE_OF_CONDUCT.md)
|
|
280
|
+
→ [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
|
+
|
|
282
|
+
> **Reading the issue list.** Most open issues are not to-do items: `intake` and `question` are
|
|
283
|
+
> anonymously reported failures waiting to become lessons, and `bounty` is generated from them. The
|
|
284
|
+
> ones that are work on this repository carry **`scope:repo`** — that filter is the complete list,
|
|
285
|
+
> by contract (`docs/maintainer/intake-triage.md` §2).
|
|
306
286
|
|
|
307
287
|
## Security
|
|
308
288
|
|
package/README.zh-CN.md
CHANGED
|
@@ -16,14 +16,18 @@ mcp-name: io.github.Ikalus1988/misakanet
|
|
|
16
16
|
> MisakaNet 就是那个地方:一个 git 托管的**失败记忆库**。每条 lesson 都是本仓库里的 Markdown 文件——
|
|
17
17
|
> 按证据分级、像代码一样审阅、被 Agent 检索而不是被猜。**你失败一次,下一个 Agent 不再失败。**
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
A2A(`.well-known/agent-card.json`)。**本地** stdio server(`pip install misakanet`)是 **11** 个——
|
|
21
|
-
托管端点是它的子集,两行都写在 [docs/mcp.md](docs/mcp.md)。
|
|
19
|
+
[MCP 服务器](https://misakanet.org/mcp)(8 个工具)·WebMCP·`llms.txt`。本地 stdio 服务器提供 11 个——两边的对照见 [docs/mcp.md](docs/mcp.md)。
|
|
22
20
|
|
|
23
21
|
<p align="center">
|
|
24
|
-
|
|
22
|
+
<picture>
|
|
23
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/hero-dark.svg">
|
|
24
|
+
<source media="(prefers-color-scheme: light)" srcset="docs/assets/hero-light.svg">
|
|
25
|
+
<img src="docs/assets/hero-light.svg" width="100%" alt="一次真实记录:查询 'database is locked' 命中一条 E1(已复核)课程。图中所标为从一台机器出发的 3.1 秒往返耗时,含网络。">
|
|
26
|
+
</picture>
|
|
25
27
|
</p>
|
|
26
28
|
|
|
29
|
+
<sub>由 `scripts/record_hero_snapshot.py` 从一次真实调用录制,CI 校验一致性。不是省时声明——本仓不测量「本来要花多少」。</sub>
|
|
30
|
+
|
|
27
31
|
<p align="center">
|
|
28
32
|
<em>Core</em>
|
|
29
33
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "misakanet",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.24.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",
|