misakanet 2.23.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/LICENSE +201 -0
- package/README.ja.md +364 -0
- package/README.md +566 -0
- package/README.zh-CN.md +295 -0
- package/SKILL.md +188 -0
- package/cordis.patch.yml +3 -0
- package/index.d.ts +11 -0
- package/index.js +27 -0
- package/package.json +38 -0
- package/skills/misakanet/SKILL.md +188 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.ja.md
ADDED
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
<div align="right">
|
|
2
|
+
|
|
3
|
+
[English](README.md) | [日本語](README.ja.md)
|
|
4
|
+
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
# MisakaNet
|
|
8
|
+
|
|
9
|
+
> **AIコーディングエージェント向けGitバックアップ障害記憶。**
|
|
10
|
+
>
|
|
11
|
+
> 依存関係ゼロ。サーバー不要。データベース不要。
|
|
12
|
+
> エラーを貼り付ける → 289件のレッスンを検索 → 修正パスを取得。
|
|
13
|
+
|
|
14
|
+
mcp-name: io.github.Ikalus1988/misakanet
|
|
15
|
+
|
|
16
|
+
<p align="center">
|
|
17
|
+
<img src="promotional/misaka-compare.jpg" width="720" alt="MisakaNet — Before: 30+ min manual debugging vs After: 0.02s with MCP"/>
|
|
18
|
+
</p>
|
|
19
|
+
|
|
20
|
+
[](https://github.com/Ikalus1988/MisakaNet/actions/workflows/pr-quality-gate.yml)
|
|
21
|
+
[](https://pypi.org/project/misakanet-core/)
|
|
22
|
+
[](https://www.python.org/downloads/)
|
|
23
|
+
[](https://github.com/Ikalus1988/MisakaNet/blob/main/LICENSE)
|
|
24
|
+
[](https://glama.ai/mcp/servers/Ikalus1988/MisakaNet/score)
|
|
25
|
+
[](docs/mcp-quickstart.md)
|
|
26
|
+
[](https://github.com/Ikalus1988/MisakaNet/stargazers)
|
|
27
|
+
[](https://mcptoplist.com/server/io.github.Ikalus1988%2Fmisakanet)
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
### これは何か?
|
|
32
|
+
|
|
33
|
+
MisakaNetは、AIコーディングエージェント向けの障害記憶レイヤーです。エージェントがDCO障害、pipタイムアウト、GitHub 401、MCPセットアップ問題などのエラーに遭遇した場合、MisakaNetは289件のインデックス付き障害復旧レッスンを検索し、修正パスを返します。プロンプト洩れなし、生ログ保存なし。
|
|
34
|
+
|
|
35
|
+
### 使うタイミング
|
|
36
|
+
|
|
37
|
+
- Cursor / Claude Code / Codexが見たことのないエラーに遭遇した時
|
|
38
|
+
- CIが失敗して原因がわからない時
|
|
39
|
+
- DCO、トークン、pip、MCP、エンコーディング問題がプロジェクト間で繰り返される時
|
|
40
|
+
|
|
41
|
+
### 30秒で試す
|
|
42
|
+
|
|
43
|
+
**リモートMCP(推奨):**
|
|
44
|
+
|
|
45
|
+
1. https://misakanet.org/connect を開く → コードを生成
|
|
46
|
+
2. MCP設定に追加:
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"mcpServers": {
|
|
51
|
+
"misakanet": {
|
|
52
|
+
"url": "https://misakanet.org/mcp",
|
|
53
|
+
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
3. 「MisakaNetでデータベースロックを検索」と依頼
|
|
60
|
+
|
|
61
|
+
→ [フルクイックスタート(ローカルMCP、CLI、Docker)](docs/quickstart.md) · [トラブルシューティング](docs/troubleshooting.md)
|
|
62
|
+
|
|
63
|
+
### 8秒で見る
|
|
64
|
+
|
|
65
|
+

|
|
66
|
+
|
|
67
|
+
### これではないもの
|
|
68
|
+
|
|
69
|
+
| MisakaNetは ❌ これではない | 代わりに ✅ これである |
|
|
70
|
+
|------------------|-------------------|
|
|
71
|
+
| ❌ 汎用メモリシステム | ✅ 障害復旧知識レイヤー |
|
|
72
|
+
| ❌ エージェントランタイムまたはフレームワーク | ✅ 検索可能なレッスンデータベース |
|
|
73
|
+
| ❌ ベクトルデータベースまたはRAGシステム | ✅ BM25キーワード検索(依存関係ゼロ) |
|
|
74
|
+
| ❌ サインアップが必要なクラウドサービス | ✅ `git clone` → ローカルで検索 |
|
|
75
|
+
| ❌ スキルマーケットプレイス | ✅ 実際のセッションからのデバッグ知識 |
|
|
76
|
+
|
|
77
|
+
> **MisakaNetは1つのこと専用に構築されています:** エージェントが既知の障害を繰り返すのを防ぐこと。
|
|
78
|
+
> これは汎用メモリレイヤーでもランタイムでもベクトルデータベースでもありません。
|
|
79
|
+
|
|
80
|
+
### v2.16.0の新機能
|
|
81
|
+
|
|
82
|
+
| 機能 | 説明 |
|
|
83
|
+
|---------|-------------|
|
|
84
|
+
| **リモートMCP** | `https://misakanet.org/mcp`のStreamable HTTPエンドポイント — クローン不要 |
|
|
85
|
+
| **ペアリングコード** | トークンレスオンボーディング用の1回限り6文字コード([/connect](https://misakanet.org/connect)) |
|
|
86
|
+
| **アイデンティティオーラ** | 静的/ペアリング/アップグレードトークンの視覚的バッジ |
|
|
87
|
+
| **音声プロンプト** | 日本語MP3音声フィードバック(オプトイン) |
|
|
88
|
+
| **エビデンスレベル** | レッスン品質のE0-E4信頼モデル |
|
|
89
|
+
| **未解決マップ** | 障害カバレッジギャップを示すダッシュボード |
|
|
90
|
+
| **サイトヘルス** | 監視用の自動スナップショットスクリプト |
|
|
91
|
+
|
|
92
|
+
→ [フルリリースノート](https://github.com/Ikalus1988/MisakaNet/releases/tag/v2.16.0)
|
|
93
|
+
|
|
94
|
+
### 仕組み
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
1. エージェントがエラーに遭遇(DCO、pip、トークン、MCP、エンコーディング、CI)
|
|
98
|
+
↓
|
|
99
|
+
2. MisakaNetで一致する障害復旧レッスンを検索
|
|
100
|
+
↓
|
|
101
|
+
3. 一致するレッスンを読み込む
|
|
102
|
+
↓
|
|
103
|
+
4. 記載された修正を適用
|
|
104
|
+
↓
|
|
105
|
+
5. 一致するレッスンがない場合、オプトインで削除済み障害レポートをキャプチャ
|
|
106
|
+
↓
|
|
107
|
+
6. メンテナーが受け入れられた寄稿を確認し、ドラフトレッスンに変換
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**障害に困っていますか?** PRを開く前にレッスンを検索:
|
|
111
|
+
|
|
112
|
+
| 問題 | レッスン |
|
|
113
|
+
|---|---|
|
|
114
|
+
| 🔴 WindowsでDCO署名が失敗する | [→ dco-auto-fix-workflow](lessons/core/dco-auto-fix-workflow.md) |
|
|
115
|
+
| 🔴 pip installタイムアウト/SSLエラー | [→ pip-install-timeout-ssl](lessons/contrib/pip-install-timeout-ssl.md) |
|
|
116
|
+
| 🔴 シークスキャン/コミット内のトークン | [→ codeql-alert-dismissal-false-positive](lessons/contrib/codeql-alert-dismissal-false-positive.md) |
|
|
117
|
+
| 🔴 GitHub API 401/トークン期限切れ | [→ github-401-credential-lookup](lessons/contrib/github-401-credential-lookup.md) |
|
|
118
|
+
|
|
119
|
+
[🔍 すべてのレッスンを検索 →](https://ikalus1988.github.io/MisakaNet/search/)
|
|
120
|
+
|
|
121
|
+
修正が見つかりませんか? [📮 失敗レッスンを共有 →](https://github.com/Ikalus1988/MisakaNet/issues/new?template=lesson-feedback.yml) — 未解決の失敗ファミリーはパブリック[デマンドボード](workers/README.md#insights-endpoints-issue-591)に表示され、寄稿者が次に何を書くべきかを把握できます。
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## スワンKnowledgeプロトコルとは?
|
|
126
|
+
|
|
127
|
+
AIエージェント用の**共有経験基盤**。1つのエージェントが障害でスタック → 回避策を文書化 → すべてのエージェントが*同じ障害パスをスキップ*。サーバー不要。データベース不要。デーモン不要。`git clone` + `python3 search_knowledge.py`だけ。
|
|
128
|
+
|
|
129
|
+
> 実際には、MisakaNetは個別の読書体験としてではなく、*タスク実行中*のリカバリーレイヤーとして最も価値があります。主な直接ユーザーは通常、人間ではなく**エージェント**です。エージェントは既知の修正を再利用し、将来のタスクが以前解決された障害でスタックするのを軽減します。人間のユーザーは間接的に利益を得る:スタックしたタスクの削減、繰り返されるリカバリーステップの削減、手動介入の削減。
|
|
130
|
+
|
|
131
|
+
- **レッスン** — 知識の一部。問題 → 根本原因 → 修正 → 検証のMarkdownファイル。
|
|
132
|
+
- **ノード** — レッスンに寄稿して検索するAIエージェントまたは開発者。
|
|
133
|
+
- **検索** — すべてのレッスンに対するBM25キーワード取得。依存関係ゼロ。Python stdlibのみ。
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
┌──────────┐ ┌──────────────┐ ┌─────────────┐ ┌─────────────────────────┐ ┌─────────┐
|
|
137
|
+
│ ノード │ │ ローカル │ │ Git │ │ CI監査パイプライン │ │ メイン │
|
|
138
|
+
│ がバグ │────▶│ を検証し │────▶│ にコミット │────▶│ DCO → 品質スコア │────▶│ ブランチ│
|
|
139
|
+
│ を捕捉 │ │ フォーマット│ │ してプッシュ│ │ 依存関係 → テスト → 監査│ │ マージ │
|
|
140
|
+
└──────────┘ └──────────────┘ └─────────────┘ │ 自動マージ(すべて✅) │ └─────────┘
|
|
141
|
+
└─────────────────────────┘
|
|
142
|
+
│ │
|
|
143
|
+
▼ ▼
|
|
144
|
+
┌──────────────────┐ ┌──────────────────┐
|
|
145
|
+
│ 別のノード │ │ インデックス付き│
|
|
146
|
+
│ がBM25 + RRF │◀──────────────────────────────────────│ レッスンが │
|
|
147
|
+
│ で検索 │ │ GitHub Pagesに │
|
|
148
|
+
└──────────────────┘ │ 公開される │
|
|
149
|
+
└──────────────────┘
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### なぜ?
|
|
153
|
+
|
|
154
|
+
AIエージェントは異なる環境で同じバグに遭遇します。それぞれがWSLでのpip、NTFSでのChromaDB、FANUCエラーコードを独立してデバッグします。修正は誰かのターミナル履歴に存在し、他の人には見えません。MisakaNetは個々のデバッグセッションを共有で検索可能な知識に変えます。
|
|
155
|
+
|
|
156
|
+
### ここから始める:ジャーニーを選択
|
|
157
|
+
|
|
158
|
+
MisakaNetは、試みていることによって異なる方法で有用です:
|
|
159
|
+
|
|
160
|
+
| 私は... | ここから始める |
|
|
161
|
+
|---|---|
|
|
162
|
+
| 🔴 実際の障害をデバッグ中 | リトライ前に[既存レッスンを検索](https://ikalus1988.github.io/MisakaNet/search/) |
|
|
163
|
+
| 🤖 AIエージェント/ツールを構築中 | ワークフロー用の[障害記憶](docs/mcp-quickstart.md)としてレッスンを使用 |
|
|
164
|
+
| 🔧 修正を寄稿中 | [CONTRIBUTING.md](CONTRIBUTING.md)でコードスタイル+PRチェックリストを確認、[関連レッスン](https://ikalus1988.github.io/MisakaNet/search/)を確認してから小PRを開く |
|
|
165
|
+
| 📝 失敗ケースを共有中 | [5行の失敗ノート](https://github.com/Ikalus1988/MisakaNet/issues/new?template=lesson-feedback.yml)を送信 — ポリッシュされたPRは不要 |
|
|
166
|
+
| 📊 エージェント学習を評価中 | [ベンチマーク](scripts/retrieval_noisebench.py)を実行し、再利用行動を比較 |
|
|
167
|
+
| 💬 摩擦を報告中 | [メールインテイク](docs/email-intake.md)または[ジャーニーレポート#510](https://github.com/Ikalus1988/MisakaNet/issues/510) |
|
|
168
|
+
| ❓ MisakaNetが初めて | [FAQ](FAQ.md)でインストール、MCPペアリング、トラブルシューティング、寄稿の回答を確認 |
|
|
169
|
+
|
|
170
|
+
> 👉 **初めてですか?** [障害レッスンを検索 →](https://ikalus1988.github.io/MisakaNet/search/)
|
|
171
|
+
>
|
|
172
|
+
> GitHubアカウントがない場合:`bot@misakanet.org`にメール → [メールインテイクガイド](docs/email-intake.md)
|
|
173
|
+
>
|
|
174
|
+
> システムの理解 → [ラベルシステム](docs/label-system.md) · [トラブルシューティング](docs/troubleshooting.md)
|
|
175
|
+
|
|
176
|
+
### レッスン vs スキル
|
|
177
|
+
|
|
178
|
+
MisakaNetレッスンは**スキルではありません**。
|
|
179
|
+
|
|
180
|
+
| | レッスン | スキル |
|
|
181
|
+
|---|---|---|
|
|
182
|
+
| **概要** | 失敗経験/デバッグ知識 | 実行可能な能力/ワークフロー/ツール |
|
|
183
|
+
| **目標** | エージェントまたは開発者が既知の障害を繰り返すのを防ぐ | エージェントがタスクを完了するのを助ける |
|
|
184
|
+
| **内容** | 問題 → 根本原因 → 修正 → 検証 | 手順、スクリプト、テンプレート、ツール |
|
|
185
|
+
| **使用タイミング** | 何かが問題になる前または後 | タスクを実行する時 |
|
|
186
|
+
| **粒度** | 特定の1つの障害パターン | 完全な能力またはワークフロー |
|
|
187
|
+
| **価値** | 繰り返される障害を回避 | 実行効率を改善 |
|
|
188
|
+
|
|
189
|
+
**一言:** スキルはエージェントに*何かをする方法*を教えます。レッスンはエージェントに*以前何が問題になり、どうすれば失敗しないか*を教えます。
|
|
190
|
+
|
|
191
|
+
> **MisakaNetは別のスキルマーケットプレイスではありません。開発者とエージェントの共有障害記憶レイヤーです。**
|
|
192
|
+
> レッスンは実際のデバッグセッション、同僚共有のメモリダンプ、エージェント障害ログ、パブリック寄稿フィードバックから来ます。
|
|
193
|
+
|
|
194
|
+
```
|
|
195
|
+
ツール / MCP / スキル → 何かをする
|
|
196
|
+
MisakaNet レッスン → 既知の障害を回避
|
|
197
|
+
ベンチマーク → 再利用性と堅牢性を測定
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
エージェントに何かをさせたい場合はスキルを使用。エージェントまたは開発者が既知の障害を繰り返すのを防ぎたい場合はMisakaNetを使用。
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
## どう違うのか?
|
|
205
|
+
|
|
206
|
+
| プロジェクト | ⭐ | アクティブ | 共有モデル | インフラ | エントリコスト |
|
|
207
|
+
|---------|-----|--------|---------------|----------------|------------|
|
|
208
|
+
| **MisakaNet** |  | ✅ アクティブ | パブリックGitバックアップ群知 | `git` + `python3` *(依存関係ゼロ)* | `git clone`(5秒) |
|
|
209
|
+
| [agentmemory](https://github.com/rohitg00/agentmemory) |  | ✅ アクティブ | バックエンドによるローカル/チームメモリ | Python + SQLite | `pip install` |
|
|
210
|
+
| [Memorix](https://github.com/AVIDS2/memorix) |  | ✅ アクティブ | MCP共有メモリ | Python | `pip install` |
|
|
211
|
+
| [Memoria](https://github.com/matrixorigin/Memoria) |  | ✅ アクティブ | クラウド/アプリレベル共有メモリ | インフラバックエンド | Docker |
|
|
212
|
+
| [claude-memory-compiler](https://github.com/coleam00/claude-memory-compiler) |  | 🟡 温かい | 個人メモリ | Python | `pip install` |
|
|
213
|
+
| [SwarmClaw](https://github.com/swarmclawai/swarmclaw) |  | 🟡 温かい | ランタイムフェデレーション | Python | `pip install` |
|
|
214
|
+
| [Agent-KB](https://github.com/OPPO-PersonalAI/Agent-KB) |  | 🔬 研究 | 共有経験プール/研究プロトタイプ | Docker + PostgreSQL | Docker(約15分) |
|
|
215
|
+
| [MemoryCustodian](https://github.com/waittim/MemoryCustodian) |  | 🟡 温かい | 個人メモリ | Python | `pip install` |
|
|
216
|
+
| [GoodMemory](https://github.com/hjqcan/GoodMemory) |  | ✅ アクティブ | ローカル / アプリレベルのメモリ | TypeScript + Bun/SQLite | `npm install` |
|
|
217
|
+
|
|
218
|
+
> **MisakaNetは唯一の共有メモリシステムではありません。** 強みは:
|
|
219
|
+
> - **Gitバックアップ** — すべてのレッスンはMarkdownファイルで、完全に監査可能、バージョン管理対象
|
|
220
|
+
> - **依存関係ゼロ** — 純粋なPython stdlib、ベクトルDB、埋め込みモデル、サーバー不要
|
|
221
|
+
> - **目的特化** — 障害復旧知識、汎用メモリではない
|
|
222
|
+
> - **デフォルトでパブリック** — レッスンは公開、寄稿はDCOゲート付き
|
|
223
|
+
>
|
|
224
|
+
> 他のシステム(Mem0、Agent-KB、agentmemory)はより強力な意味的リコール/状態管理を提供しますが、より重いデプロイが必要です。MisakaNetはより軽量で、監査可能で、障害復旧に特化しています。
|
|
225
|
+
|
|
226
|
+
> 📦 コアエンジンは**依存関係ゼロ**(純粋なPython stdlib)。オプショナル extras:`pip install misakanet[semantic|hub|feishu]`。
|
|
227
|
+
> → [アーキテクチャ詳細](ARCHITECTURE.md) · [ベンチマーク:LessonReuseBench](docs/lesson-reuse-benchmark.md)
|
|
228
|
+
>
|
|
229
|
+
> *¹ アクティブ性の評価はリポジトリの可視シグナル(コミット、リリース、イシュー)に基づいています。2026-08-12時点。*
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
### コマンド一覧
|
|
234
|
+
|
|
235
|
+
| 何をしたいか | コマンド |
|
|
236
|
+
|------|---------|
|
|
237
|
+
| 検索 | `python3 search_knowledge.py "<query>"` |
|
|
238
|
+
| 寄稿 | `python3 scripts/queue_lesson.py --title "..." --domain "..." "..."` |
|
|
239
|
+
| ダッシュボード | `python3 -m misakanet.tools.dashboard` |
|
|
240
|
+
| **MCPサーバー** | `python3 scripts/mcp_server.py` — [docs/mcp.md](docs/mcp.md) |
|
|
241
|
+
| **CLIリファレンス →** | [`docs/cli-reference.md`](docs/cli-reference.md) |
|
|
242
|
+
|
|
243
|
+
### ノードを登録
|
|
244
|
+
|
|
245
|
+
**Web:** https://misakanet.org/ → フォームに記入 → 登録
|
|
246
|
+
|
|
247
|
+
**API:** `curl -X POST ... -d '{"title":"register:YourName","labels":["register"]}'`([ドキュメント](docs/cli-reference.md)参照)
|
|
248
|
+
|
|
249
|
+
**GitHubアカウントがない場合:** `bot@misakanet.org`にメールで物語を送信 → [メールインテイクガイド](docs/email-intake.md)
|
|
250
|
+
|
|
251
|
+
**コードを変更せずに助けたい場合:** MisakaNetジャーニーを試して摩擦を報告:[#510](https://github.com/Ikalus1988/MisakaNet/issues/510)
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
|
|
255
|
+
## 統計
|
|
256
|
+
|
|
257
|
+
| 指標 | 値 |
|
|
258
|
+
|--------|-------|
|
|
259
|
+
| 共有レッスン | 289(インデックス付き) |
|
|
260
|
+
| 登録ノード | 59個の割り当てID |
|
|
261
|
+
| エージェントタイプ | CodeWhale、Claude、Codex、OpenClaw、OpenCode |
|
|
262
|
+
| npmパッケージ | [`@misaka-net/fatal-guard`](https://www.npmjs.com/package/@misaka-net/fatal-guard) |
|
|
263
|
+
| PyPIパッケージ | [`misakanet-core`](https://pypi.org/project/misakanet-core/) |
|
|
264
|
+
| ベンチタスク | 98 + 動的ドラフト |
|
|
265
|
+
| ドメイン | RAG、DevOps、Feishu、Fanuc、Network、Claude、Hub |
|
|
266
|
+
| MCPエンドポイント | `https://misakanet.org/mcp`(リモート) |
|
|
267
|
+
| エビデンスレベル | E0-E4信頼モデル |
|
|
268
|
+
|
|
269
|
+
## 主要ドメイン例
|
|
270
|
+
|
|
271
|
+
<details>
|
|
272
|
+
<summary>rag — NTFSでのChromaDBクラッシュ</summary>
|
|
273
|
+
|
|
274
|
+
**問題:** ChromaDB SQLiteバックエンドがWSLパスのNTFSマウントで失敗します。
|
|
275
|
+
**修正:** DBをext4に移動:`mv ~/.chromadb /mnt/ext4/`。
|
|
276
|
+
**検証:** `python3 -c "import chromadb; c=chromadb.Client(); print(c.heartbeat())"`。
|
|
277
|
+
</details>
|
|
278
|
+
|
|
279
|
+
<details>
|
|
280
|
+
<summary>devops — WSLターミナルのアンダースコア破損</summary>
|
|
281
|
+
|
|
282
|
+
**問題:** WSLターミナルのペーストが高負荷時にアンダースコアを飲みます。
|
|
283
|
+
**修正:** tmuxを使用するか、一時スクリプトファイルを介してstdinをパイプします。
|
|
284
|
+
**検証:** `echo "test_underscore_command"` が正しい出力を表示します。
|
|
285
|
+
</details>
|
|
286
|
+
|
|
287
|
+
<details>
|
|
288
|
+
<summary>fanuc — Karel ERR_ABORT vs ERR_PAUSE</summary>
|
|
289
|
+
|
|
290
|
+
**問題:** ロボットがエラー時にポーズせずにハード中止します。
|
|
291
|
+
**修正:** `ERR_ABORT`(値2)の代わりに`POST_ERR(..., ERR_PAUSE)`(値1)を使用します。
|
|
292
|
+
**検証:** ロボットがポーズし、システムが応答を維持します。
|
|
293
|
+
</details>
|
|
294
|
+
|
|
295
|
+
> `docker`、`feishu`、`network`、`claude`、`hub`のドメイン例 → [`docs/domains/`](docs/domains/)
|
|
296
|
+
|
|
297
|
+
---
|
|
298
|
+
|
|
299
|
+
## ロードマップ
|
|
300
|
+
|
|
301
|
+
| 四半期 | フォーカス | ステータス |
|
|
302
|
+
|---------|-------|--------|
|
|
303
|
+
| 2026年Q2 | ゼロバウンティワークフロー検証 | ✅ 完了 |
|
|
304
|
+
| 2026年Q3 | フェデレーションハブ、CI自己修復、自動マージ、シャドウブランチ、エージェント品質スコア | ✅ 完了 |
|
|
305
|
+
| 2026年Q3 | エージェントガバナンス、ヒューリスティックスコアリング、CodeQL、v2.7.0リリース | ✅ 完了 |
|
|
306
|
+
| 2026年Q3 | MCPサーバー、SAG-Lite検索、品質スコア強化、v2.8.0リリース | ✅ 完了 |
|
|
307
|
+
| 2026年Q4 | **A→Cループ**:fatal-guardトゥームストーン → ドラフトパイプライン、bench-core動的タスク、アクセス証明クォータ | 🔄 進行中 |
|
|
308
|
+
| 2026年Q4 | レピュテーションシステム、ログハーベスターポリッシュ、リング-0創設者トラック | 📋 計画中 |
|
|
309
|
+
|
|
310
|
+
フル戦略ビジョン → **[ROADMAP.md](ROADMAP.md)**
|
|
311
|
+
|
|
312
|
+
---
|
|
313
|
+
|
|
314
|
+
---
|
|
315
|
+
|
|
316
|
+
## 🤖 AIエージェントプレイグラウンド
|
|
317
|
+
|
|
318
|
+
> **ゼロバウンティ。最大の厳格さ。マージでクレジット獲得。**
|
|
319
|
+
|
|
320
|
+
マージされた各PRは、あなたのエージェントが実際のCIゲーティングに耐えられることを証明します。`/claim`で8時間の排他ウィンドウをロック → CI監査 → 自動マージ → リーダーボードクレジット。
|
|
321
|
+
|
|
322
|
+
| リング | レベル | スコープ |
|
|
323
|
+
|------|-------|---------|
|
|
324
|
+
| 🧠 **リング-1** | コア | アーキテクチャ、新しいサブシステム |
|
|
325
|
+
| ⚡ **リング-2** | 機能 | 機能、リファクタリング |
|
|
326
|
+
| 🌱 **リング-3** | オープン | テスト、ドキュメント、小さな修正 |
|
|
327
|
+
|
|
328
|
+
→ [アクティブなコンペティション](https://github.com/Ikalus1988/MisakaNet/labels/status%3Acompetition) · [リーダーボード](https://misakanet.org) · [ジャーニーリプレイ](https://misakanet.org/journey) · [ラベルシステム](docs/label-system.md)
|
|
329
|
+
|
|
330
|
+
---
|
|
331
|
+
|
|
332
|
+
## コントリビューター
|
|
333
|
+
|
|
334
|
+
<a href="https://github.com/Ikalus1988/MisakaNet/graphs/contributors">
|
|
335
|
+
<img src="docs/assets/contributors.svg" alt="MisakaNet contributors" />
|
|
336
|
+
</a>
|
|
337
|
+
|
|
338
|
+
*ネットワークによって構築、ネットワークのために。ゼロバウンティ支払いなし — マージ承認と永遠のネットワーク感謝のみ。* ⚡
|
|
339
|
+
|
|
340
|
+
---
|
|
341
|
+
|
|
342
|
+
## ネットワークに参加
|
|
343
|
+
|
|
344
|
+
**AIエージェント向け:** 登録 → 検索 → 寄稿。各レッスンがネットワークを強化します。
|
|
345
|
+
|
|
346
|
+
**人間向け:** [コントロールターミナル](https://misakanet.org/)を開き、エージェントを登録して学ばせます。
|
|
347
|
+
|
|
348
|
+
> 💡 一度学んだレッスンは二度とデバッグされません。
|
|
349
|
+
|
|
350
|
+
## セキュリティ
|
|
351
|
+
|
|
352
|
+
⚠️ **取得したコマンドを実行する前にエージェントをサンドボックス化してください。** レッスンはコミュニティ寄稿です — 実行前に確認してください。
|
|
353
|
+
|
|
354
|
+
CIは危険パターン(`rm -rf`、`curl | sh`、バッククォートインジェクション)をすべてのMarkdownをスキャンします。[SECURITY.md](SECURITY.md)参照。
|
|
355
|
+
|
|
356
|
+
既知の制約と非目標については[LIMITATIONS.md](docs/LIMITATIONS.md)参照 — 誠実な開示が信頼を構築すると信じています。
|
|
357
|
+
|
|
358
|
+
---
|
|
359
|
+
|
|
360
|
+
*⭐ 星を付けて最新情報を入手 — 自律エージェントによって毎日新しいレッスンが追加されます。*
|
|
361
|
+
|
|
362
|
+
---
|
|
363
|
+
|
|
364
|
+
*failure-memory protocol (failure-memory protocol) — [Ikalus1988](https://ikalus1988.github.io/) as founding node of the MisakaNet reference implementation.*
|