@nahisaho/musubix-core 3.8.0 → 3.8.1

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 (3) hide show
  1. package/.github/AGENTS.md +99 -46
  2. package/AGENTS.md +321 -212
  3. package/package.json +1 -1
package/.github/AGENTS.md CHANGED
@@ -8,14 +8,14 @@
8
8
 
9
9
  | 項目 | 詳細 |
10
10
  |------|------|
11
- | **バージョン** | 3.2.0 (Expert Delegation System) |
11
+ | **バージョン** | 3.8.1 |
12
12
  | **言語** | TypeScript |
13
13
  | **ランタイム** | Node.js >= 20.0.0 |
14
14
  | **パッケージマネージャ** | npm >= 10.0.0 |
15
15
  | **ビルドシステム** | モノレポ(npm workspaces) |
16
16
  | **テストフレームワーク** | Vitest |
17
- | **テスト数** | 4500+ (全合格) |
18
- | **パッケージ数** | 26 |
17
+ | **テスト数** | 5,738+ (全合格) |
18
+ | **パッケージ数** | 25 |
19
19
  | **MCPツール数** | 107 |
20
20
  | **Agent Skills** | 13 (Claude Code対応) |
21
21
 
@@ -44,16 +44,20 @@ packages/
44
44
  ├── workflow-engine/ # @nahisaho/musubix-workflow-engine
45
45
  ├── skill-manager/ # @nahisaho/musubix-skill-manager
46
46
  ├── codegraph/ # @nahisaho/musubix-codegraph
47
- ├── expert-delegation/ # @nahisaho/musubix-expert-delegation (v3.2.0 NEW!)
48
- ├── knowledge/ # @musubix/knowledge (v3.0.0 NEW!)
49
- ├── policy/ # @musubix/policy (v3.0.0 NEW!)
50
- └── decisions/ # @musubix/decisions (v3.0.0 NEW!)
47
+ ├── expert-delegation/ # @nahisaho/musubix-expert-delegation
48
+ ├── deep-research/ # @nahisaho/musubix-deep-research
49
+ ├── assistant-axis/ # @nahisaho/musubix-assistant-axis
50
+ ├── musubi/ # @nahisaho/musubi
51
+ ├── musubix/ # musubix (CLIエントリポイント)
52
+ ├── knowledge/ # @musubix/knowledge
53
+ ├── policy/ # @musubix/policy
54
+ └── decisions/ # @musubix/decisions
51
55
  ```
52
56
 
53
57
  | パッケージ | npm | 役割 |
54
58
  |-----------|-----|------|
55
59
  | `packages/core/` | `@nahisaho/musubix-core` | コアライブラリ - CLI、EARS検証、コード生成、設計パターン |
56
- | `packages/mcp-server/` | `@nahisaho/musubix-mcp-server` | MCPサーバー - 61ツール、5プロンプト |
60
+ | `packages/mcp-server/` | `@nahisaho/musubix-mcp-server` | MCPサーバー - 107ツール、5プロンプト |
57
61
  | `packages/security/` | `@nahisaho/musubix-security` | セキュリティ分析 - 脆弱性検出、シークレット検出、テイント解析 |
58
62
  | `packages/formal-verify/` | `@nahisaho/musubix-formal-verify` | 形式検証 - Z3統合、Hoare検証、EARS→SMT変換 |
59
63
  | `packages/pattern-mcp/` | `@nahisaho/musubix-pattern-mcp` | パターン学習 - 抽出・圧縮・ライブラリ |
@@ -72,21 +76,11 @@ packages/
72
76
  | `packages/workflow-engine/` | `@nahisaho/musubix-workflow-engine` | **ワークフロー制御** - 5フェーズ制御・品質ゲート |
73
77
  | `packages/skill-manager/` | `@nahisaho/musubix-skill-manager` | **スキル管理** - スキル登録・実行・検証 |
74
78
  | `packages/codegraph/` | `@nahisaho/musubix-codegraph` | **コードグラフ** - コード構造解析・依存関係追跡 |
75
- | `packages/expert-delegation/` | `@nahisaho/musubix-expert-delegation` | **エキスパート委譲 (v3.2.0 NEW!)** - 7種AI専門家・VS Code LM API統合 |
76
-
77
- ### 非推奨パッケージ(Deprecated) ⚠️
78
-
79
- 以下のYATA関連パッケージはv3.0.0で非推奨となりました。`@musubix/knowledge`へ移行してください。
80
-
81
- | パッケージ | 状態 | 移行先 |
82
- |-----------|------|--------|
83
- | `packages/yata-client/` | ⚠️ Deprecated | `@musubix/knowledge` |
84
- | `packages/yata-global/` | ⚠️ Deprecated | `@musubix/knowledge` |
85
- | `packages/yata-local/` | ⚠️ Deprecated | `@musubix/knowledge` |
86
- | `packages/yata-scale/` | ⚠️ Deprecated | `@musubix/knowledge` |
87
- | `packages/yata-ui/` | ⚠️ Deprecated | `@musubix/knowledge` |
88
-
89
- **移行ガイド**: [docs/MIGRATION-v3.0.md](docs/MIGRATION-v3.0.md)
79
+ | `packages/expert-delegation/` | `@nahisaho/musubix-expert-delegation` | **エキスパート委譲** - 7種AI専門家・VS Code LM API統合 |
80
+ | `packages/deep-research/` | `@nahisaho/musubix-deep-research` | **Deep Research** - AI駆動型深層リサーチ・6統合機能 |
81
+ | `packages/assistant-axis/` | `@nahisaho/musubix-assistant-axis` | **マルチモーダル統合** - アシスタント軸 |
82
+ | `packages/musubi/` | `@nahisaho/musubi` | **AI要約** |
83
+ | `packages/musubix/` | `musubix` | **CLIエントリポイント** |
90
84
 
91
85
  ### Core パッケージモジュール
92
86
 
@@ -120,6 +114,7 @@ npx musubix requirements analyze <file> # 自然言語 → EARS変換
120
114
  npx musubix requirements validate <file> # EARS構文検証
121
115
  npx musubix requirements map <file> # オントロジーマッピング
122
116
  npx musubix requirements search <query> # 関連要件検索
117
+ npx musubix requirements new <feature> # 対話的要件作成
123
118
 
124
119
  # 設計生成
125
120
  npx musubix design generate <file> # 要件から設計生成
@@ -127,14 +122,16 @@ npx musubix design patterns <context> # パターン検出
127
122
  npx musubix design validate <file> # SOLID準拠検証
128
123
  npx musubix design c4 <file> # C4ダイアグラム生成
129
124
  npx musubix design adr <decision> # ADR生成
130
- npx musubix design traceability # REQ↔DESトレーサビリティ検証 (v3.1.0 NEW!)
125
+ npx musubix design traceability # REQ↔DESトレーサビリティ検証
131
126
  npx musubix design traceability --min-coverage 80 # カバレッジ閾値指定
132
127
 
133
128
  # コード生成
134
129
  npx musubix codegen generate <file> # 設計からコード生成
130
+ npx musubix codegen generate <file> --full-skeleton # 4ファイル生成
131
+ npx musubix codegen generate <file> --with-tests # テストファイル付き
135
132
  npx musubix codegen analyze <file> # 静的解析
136
133
  npx musubix codegen security <path> # セキュリティスキャン
137
- npx musubix codegen status <spec> # ステータス遷移コード生成 (v3.1.0 NEW!)
134
+ npx musubix codegen status <spec> # ステータス遷移コード生成
138
135
  npx musubix codegen status <spec> --enum # enum型で生成
139
136
 
140
137
  # テスト
@@ -146,7 +143,7 @@ npx musubix trace matrix # トレーサビリティマトリ
146
143
  npx musubix trace matrix -p <project> # 指定プロジェクトのマトリクス
147
144
  npx musubix trace impact <id> # 影響分析
148
145
  npx musubix trace validate # リンク検証
149
- npx musubix trace sync # トレースマトリクス自動更新 (v1.6.7 NEW!)
146
+ npx musubix trace sync # トレースマトリクス自動更新
150
147
  npx musubix trace sync --dry-run # プレビューのみ
151
148
 
152
149
  # 説明生成
@@ -155,49 +152,105 @@ npx musubix explain graph <id> # 推論グラフ生成
155
152
 
156
153
  # 自己学習システム
157
154
  npx musubix learn status # 学習状態ダッシュボード
155
+ npx musubix learn dashboard # インタラクティブダッシュボード
158
156
  npx musubix learn feedback <id> # フィードバック記録
159
157
  npx musubix learn patterns # パターン一覧表示
158
+ npx musubix learn best-practices # ベストプラクティス表示
159
+ npx musubix learn bp-list # ベストプラクティスID一覧
160
+ npx musubix learn bp-show <id> # ベストプラクティス詳細
160
161
  npx musubix learn add-pattern <name> # パターン手動登録
161
162
  npx musubix learn remove-pattern <id> # パターン削除
162
- npx musubix learn recommend # コンテキストベースの推奨
163
+ npx musubix learn recommend -a <type> # 推奨(-a 必須: code|design|test)
163
164
  npx musubix learn decay # 未使用パターンの減衰
165
+ npx musubix learn wake # Wakeフェーズ実行
166
+ npx musubix learn sleep # Sleepフェーズ実行
167
+ npx musubix learn cycle # Wake-Sleep完全サイクル
168
+ npx musubix learn compress # パターン圧縮・最適化
164
169
  npx musubix learn export # 学習データエクスポート
165
170
  # オプション: --output <file>, --privacy-filter, --patterns-only, --feedback-only, --min-confidence <n>
166
171
  npx musubix learn import <file> # 学習データインポート
167
172
  # オプション: --merge-strategy <skip|overwrite|merge>, --dry-run, --patterns-only, --feedback-only
168
173
 
169
- # オントロジー操作 (v1.4.1 NEW!)
170
- npx musubix ontology validate -f <file> # 知識グラフ整合性検証
171
- npx musubix ontology check-circular -f <file> # 循環依存チェック
172
- npx musubix ontology stats -f <file> # 統計表示
173
-
174
- # Interactive REPL (v1.5.0 NEW!)
174
+ # 知識グラフ (Knowledge)
175
+ npx musubix knowledge add <type> <id> <name> # エンティティ追加
176
+ npx musubix knowledge get <id> # エンティティ取得
177
+ npx musubix knowledge delete <id> # エンティティ削除
178
+ npx musubix knowledge link <source> <type> <target> # リレーション追加
179
+ npx musubix knowledge query [--type <type>] # クエリ検索
180
+ npx musubix knowledge traverse <id> # グラフ走査
181
+ npx musubix knowledge stats # 統計表示
182
+
183
+ # ADR (Architecture Decision Records)
184
+ npx musubix decision create <title> # ADR作成
185
+ npx musubix decision list # ADR一覧
186
+ npx musubix decision get <id> # ADR詳細
187
+ npx musubix decision accept <id> # ADR承認
188
+ npx musubix decision deprecate <id> # ADR廃止
189
+ npx musubix decision search <query> # ADR検索
190
+ npx musubix decision index # ADRインデックス生成
191
+
192
+ # ポリシー検証
193
+ npx musubix policy validate [path] # プロジェクト検証
194
+ npx musubix policy list # ポリシー一覧
195
+ npx musubix policy info <id> # ポリシー詳細
196
+ npx musubix policy check <file> # 単一ファイル検証
197
+
198
+ # コードグラフ (16言語対応)
199
+ npx musubix cg index <path> # インデックス作成
200
+ npx musubix cg query [name] # エンティティ検索
201
+ npx musubix cg search <query> # セマンティック検索
202
+ npx musubix cg deps <name> # 依存関係
203
+ npx musubix cg callers <name> # 呼び出し元
204
+ npx musubix cg callees <name> # 呼び出し先
205
+ npx musubix cg languages # 対応言語一覧
206
+ npx musubix cg stats # 統計
207
+
208
+ # オントロジー操作
209
+ npx musubix ontology validate # 知識グラフ整合性検証
210
+ npx musubix ontology check-circular # 循環依存チェック
211
+ npx musubix ontology stats # 統計表示
212
+
213
+ # Interactive REPL
175
214
  npx musubix repl # 対話的シェルを起動
176
- npx musubix repl --history <file> # カスタム履歴ファイル
177
- npx musubix repl --no-color # 色なしモード
178
215
 
179
- # KGPR - Knowledge Graph Pull Request (v1.6.4 - DEPRECATED)
180
- # KGPRは廃止されました。通常のGit PRワークフローを使用してください。
181
-
182
- # SDDプロジェクトスキャフォールド (v1.6.7 NEW!, v3.1.0 Enhanced!)
216
+ # SDDプロジェクトスキャフォールド
183
217
  npx musubix scaffold domain-model <name> # DDDプロジェクト生成
184
218
  npx musubix scaffold domain-model <name> -e "Entity1,Entity2" # エンティティ指定
185
219
  npx musubix scaffold domain-model <name> -d DOMAIN # ドメイン接頭辞指定
186
- npx musubix scaffold domain-model <name> -v "Price,Email" # Value Object生成 (v3.1.0 NEW!)
187
- npx musubix scaffold domain-model <name> -s "Order,Task" # ステータス遷移生成 (v3.1.0 NEW!)
220
+ npx musubix scaffold domain-model <name> -v "Price,Email" # Value Object生成
221
+ npx musubix scaffold domain-model <name> -s "Order,Task" # ステータス遷移生成
222
+ npx musubix scaffold domain-model <name> -s "Order=pending,Task=open" # 初期状態指定
188
223
  npx musubix scaffold minimal <name> # 最小構成プロジェクト
224
+ npx musubix scaffold api-service <name> # APIサービスプロジェクト
189
225
 
190
- # プログラム合成 (v2.2.0 NEW!)
226
+ # プログラム合成
191
227
  npx musubix synthesize <examples.json> # 例からプログラム合成
192
228
  npx musubix synthesize pbe <examples.json> # PBE特化合成
193
229
  npx musubix syn <examples.json> # エイリアス
194
230
 
195
- # パターンライブラリ管理 (v2.2.0 NEW!)
231
+ # パターンライブラリ管理
196
232
  npx musubix library learn <file> # コードからパターン学習
197
233
  npx musubix library query <query> # パターン検索
198
234
  npx musubix library stats # 統計表示
199
235
  npx musubix lib stats # エイリアス
200
236
 
237
+ # パフォーマンス
238
+ npx musubix perf benchmark # ベンチマーク
239
+ npx musubix perf startup # 起動時間計測
240
+ npx musubix perf memory # メモリ使用量
241
+
242
+ # Deep Research
243
+ npx musubix deep-research <query> [-i <iterations>] [-o <file>]
244
+
245
+ # スキル・タスク管理
246
+ npx musubix skills list # スキル一覧
247
+ npx musubix skills validate [skill-name] # スキル検証
248
+ npx musubix tasks list # タスク一覧
249
+ npx musubix tasks stats # タスク統計
250
+
251
+ # ファイルウォッチャー
252
+ npx musubix watch [paths...] [--lint] [--test] [--security] [--ears]
253
+
201
254
  # ヘルプ
202
255
  npx musubix --help
203
256
  npx musubix help <command>
@@ -214,7 +267,7 @@ npx @nahisaho/musubix-mcp-server
214
267
  npx musubix-mcp --transport stdio
215
268
  ```
216
269
 
217
- ### ツール一覧(61ツール)
270
+ ### ツール一覧(107ツール)
218
271
 
219
272
  #### SDD基本ツール(7ツール)
220
273
 
@@ -945,5 +998,5 @@ npx musubix learn best-practices --format markdown
945
998
  ---
946
999
 
947
1000
  **Agent**: GitHub Copilot / Claude
948
- **Last Updated**: 2026-01-11
949
- **Version**: 3.0.0
1001
+ **Last Updated**: 2026-02-08
1002
+ **Version**: 3.8.1
package/AGENTS.md CHANGED
@@ -1,260 +1,387 @@
1
- # AGENTS.md — MUSUBIX v3.7.2
1
+ # AGENTS.md — MUSUBIX v3.8.1
2
2
 
3
- > **AI Agent向け最適化ナレッジ** — WHEN/DO構文で明確なトリガーとアクションを定義
3
+ > **AI Agent向け最適化ナレッジ** — 実際のCLIコマンド・MCP APIに基づく正確なリファレンス
4
4
 
5
- ## 🎯 クイックリファレンス
5
+ ## クイックリファレンス
6
6
 
7
7
  | 項目 | 値 |
8
8
  |------|-----|
9
- | バージョン | 3.7.2 |
10
- | テストカバレッジ | 92%+ |
11
- | パッケージ数 | 28 |
12
- | MCP ツール | 114 |
13
- | Agent Skills | 15 |
9
+ | バージョン | 3.8.1 |
10
+ | パッケージ数 | 25 |
11
+ | テスト数 | 5,738+ |
12
+ | MCP ツール | 107 |
13
+ | Agent Skills | 13 |
14
+ | パッケージマネージャ | npm (workspaces) |
14
15
 
15
16
  ---
16
17
 
17
- ## 📦 パッケージ構成
18
+ ## パッケージ構成
18
19
 
19
20
  | カテゴリ | パッケージ | 用途 |
20
21
  |----------|------------|------|
21
- | **Core** | `@musubix/core` | エンティティ・値オブジェクト |
22
- | | `@musubix/knowledge` | ナレッジグラフ CRUD |
23
- | | `@musubix/musubi` | AI要約(300字以内) |
24
- | | `@musubix/codegraph` | コード解析・依存関係抽出 |
25
- | **SDD** | `@musubix/sdd-ontology` | オントロジー管理 |
26
- | | `@musubix/decisions` | ADR管理・トレーサビリティ |
27
- | | `@musubix/synthesis` | 情報統合 |
28
- | **Verification** | `@musubix/formal-verify` | Lean4形式検証 |
29
- | | `@musubix/lean` | Lean4連携 |
30
- | | `@musubix/policy` | ルール駆動検証 |
31
- | **Agent** | `@musubix/assistant-axis` | マルチモーダル統合 |
32
- | | `@musubix/expert-delegation` | 専門家委譲 |
33
- | | `@musubix/skill-manager` | スキル動的ロード |
34
- | | `@musubix/agent-orchestrator` | 階層的オーケストレーション |
35
- | **Learning** | `@musubix/wake-sleep` | 自律学習 |
36
- | | `@musubix/deep-research` | 深層調査 |
37
- | | `@musubix/library-learner` | ライブラリ学習 |
38
- | **Search** | `@musubix/neural-search` | ベクトル・ハイブリッド検索 |
39
- | **Workflow** | `@musubix/workflow-engine` | DAGワークフロー |
40
- | | `@musubix/dfg` | データフローグラフ |
41
- | **MCP** | `@musubix/mcp-server` | MCP統合サーバー |
42
- | | `@musubix/ontology-mcp` | オントロジーMCP |
43
- | | `@musubix/pattern-mcp` | パターンMCP |
22
+ | **Core** | `@nahisaho/musubix-core` | CLI・EARS検証・コード生成・設計パターン |
23
+ | | `@musubix/knowledge` | Git-friendly JSON知識グラフ (ゼロ依存) |
24
+ | | `@nahisaho/musubix-codegraph` | コード解析・依存関係追跡 (16言語) |
25
+ | | `@nahisaho/musubi` | AI要約 |
26
+ | **SDD** | `@nahisaho/musubix-sdd-ontology` | SDD方法論オントロジー |
27
+ | | `@musubix/decisions` | ADR管理 (ゼロ依存) |
28
+ | | `@nahisaho/musubix-synthesis` | プログラム合成 |
29
+ | | `@musubix/policy` | 9憲法条項検証 |
30
+ | **Verification** | `@nahisaho/musubix-formal-verify` | Z3/Hoare形式検証 |
31
+ | | `@nahisaho/musubix-lean` | Lean4連携 |
32
+ | **Agent** | `@nahisaho/musubix-assistant-axis` | マルチモーダル統合 |
33
+ | | `@nahisaho/musubix-expert-delegation` | 7種AI専門家委譲 |
34
+ | | `@nahisaho/musubix-skill-manager` | スキル動的ロード |
35
+ | | `@nahisaho/musubix-agent-orchestrator` | 階層的オーケストレーション |
36
+ | **Learning** | `@nahisaho/musubix-wake-sleep` | Wake-Sleep自律学習 |
37
+ | | `@nahisaho/musubix-deep-research` | AI深層調査 |
38
+ | | `@nahisaho/musubix-library-learner` | ライブラリ学習 |
39
+ | **Search** | `@nahisaho/musubix-neural-search` | ベクトル・ハイブリッド検索 |
40
+ | **Workflow** | `@nahisaho/musubix-workflow-engine` | DAGワークフロー |
41
+ | | `@nahisaho/musubix-dfg` | データフローグラフ |
42
+ | **Security** | `@nahisaho/musubix-security` | 脆弱性・シークレット検出 |
43
+ | **MCP** | `@nahisaho/musubix-mcp-server` | MCP統合サーバー (107ツール) |
44
+ | | `@nahisaho/musubix-ontology-mcp` | オントロジーMCP |
45
+ | | `@nahisaho/musubix-pattern-mcp` | パターンMCP |
46
+ | **CLI** | `musubix` | CLIエントリポイント |
44
47
 
45
48
  ---
46
49
 
47
- ## 🛠️ CLI コマンド
50
+ ## CLI コマンド(実際の `--help` 出力に基づく)
48
51
 
49
- ### 基本操作
52
+ ### プロジェクト初期化・スキャフォールド
50
53
 
51
54
  ```bash
52
- # プロジェクト全体
53
- pnpm i && pnpm build && pnpm test
54
-
55
- # 個別パッケージ
56
- pnpm --filter @musubix/core test
57
- pnpm --filter @musubix/knowledge test
55
+ npx musubix init [path] [--name <name>] [--force]
56
+ npx musubix scaffold domain-model <name> -e "Entity1,Entity2" [-d PREFIX] [-v "VO1"] [-s "Entity=status"]
57
+ npx musubix scaffold minimal <name>
58
+ npx musubix scaffold api-service <name>
58
59
  ```
59
60
 
60
- ### ナレッジ操作
61
+ ### 要件分析(EARS形式)
61
62
 
62
63
  ```bash
63
- # 追加・検索
64
- musubix knowledge add --source ./src --output ./knowledge.json
65
- musubix knowledge search "認証" --semantic --top-k 5
66
-
67
- # コードグラフ
68
- musubix codegraph analyze ./src --include-dependencies
69
- musubix codegraph query "関数 -> 依存関係"
64
+ npx musubix requirements analyze <file> # 自然言語 → EARS変換
65
+ npx musubix requirements validate <file> # EARS構文検証
66
+ npx musubix requirements map <file> # オントロジーマッピング
67
+ npx musubix requirements search <query> # 関連要件検索
68
+ npx musubix requirements new <feature> # 対話的要件作成
70
69
  ```
71
70
 
72
- ### SDD ワークフロー
71
+ ### 設計生成・検証
73
72
 
74
73
  ```bash
75
- # 仕様駆動開発
76
- musubix sdd init --domain "Eコマース" --output ./specs
77
- musubix sdd validate ./specs --strict
78
- musubix sdd generate ./specs --output ./src
74
+ npx musubix design generate <requirements> # 要件→設計生成
75
+ npx musubix design validate <file> # SOLID準拠検証
76
+ npx musubix design c4 <file> # C4ダイアグラム生成
77
+ npx musubix design adr <decision> # ADR生成
78
+ npx musubix design patterns <context> # パターン検出
79
+ npx musubix design traceability [--min-coverage 80] # REQ↔DES検証
79
80
  ```
80
81
 
81
- ### MCP サーバー
82
+ ### コード生成・解析
82
83
 
83
84
  ```bash
84
- # 起動
85
- musubix-mcp serve
86
- musubix-mcp serve --port 3000 --skills-dir ./skills
85
+ npx musubix codegen generate <design> # 設計→コード生成
86
+ npx musubix codegen generate <design> --full-skeleton # 4ファイル生成
87
+ npx musubix codegen generate <design> --with-tests # テスト付き
88
+ npx musubix codegen analyze <path> # 静的解析
89
+ npx musubix codegen security <path> # セキュリティスキャン
90
+ npx musubix codegen status <spec> [--enum] # ステータス遷移コード生成
87
91
  ```
88
92
 
89
- ---
90
-
91
- ## 🔌 MCP ツール(主要)
93
+ ### テスト・トレーサビリティ
92
94
 
93
- | カテゴリ | ツール | 用途 |
94
- |----------|--------|------|
95
- | **Knowledge** | `knowledge_add`, `knowledge_search`, `knowledge_import`, `knowledge_export` | ナレッジ CRUD |
96
- | **CodeGraph** | `codegraph_analyze`, `codegraph_query`, `codegraph_visualize` | コード解析 |
97
- | **SDD** | `sdd_init`, `sdd_validate`, `sdd_generate`, `sdd_trace` | 仕様駆動開発 |
98
- | **Wake-Sleep** | `wake_observe`, `wake_optimize`, `sleep_consolidate`, `sleep_generate` | 自律学習 |
99
- | **Formal** | `formal_translate`, `formal_verify`, `formal_prove` | 形式検証 |
100
- | **Search** | `neural_search`, `hybrid_search`, `graph_search` | 検索 |
95
+ ```bash
96
+ npx musubix test generate <path> # テスト生成
97
+ npx musubix test coverage <dir> # カバレッジ測定
98
+ npx musubix trace matrix [-p <project>] # トレーサビリティマトリクス
99
+ npx musubix trace impact <id> # 影響分析
100
+ npx musubix trace validate # リンク検証
101
+ npx musubix trace sync [--dry-run] # 自動更新
102
+ ```
101
103
 
102
- **全114ツール**: `musubix-mcp list-tools` で確認
104
+ ### 自己学習システム
103
105
 
104
- ---
106
+ ```bash
107
+ npx musubix learn status # 学習ダッシュボード
108
+ npx musubix learn dashboard # インタラクティブダッシュボード
109
+ npx musubix learn patterns # パターン一覧
110
+ npx musubix learn best-practices [--category code|design|test] [--high-confidence]
111
+ npx musubix learn bp-list # ベストプラクティスID一覧
112
+ npx musubix learn bp-show <id> # ベストプラクティス詳細
113
+ npx musubix learn recommend -a <type> # 推奨(-a 必須: code|design|test)
114
+ npx musubix learn feedback <artifactId> # フィードバック記録
115
+ npx musubix learn add-pattern <name> # パターン手動登録
116
+ npx musubix learn remove-pattern <id> # パターン削除
117
+ npx musubix learn decay # 未使用パターン減衰
118
+ npx musubix learn wake # Wakeフェーズ実行
119
+ npx musubix learn sleep # Sleepフェーズ実行
120
+ npx musubix learn cycle # Wake-Sleep完全サイクル
121
+ npx musubix learn compress # パターン圧縮・最適化
122
+ npx musubix learn export [--output <file>] [--privacy-filter]
123
+ npx musubix learn import <file> [--merge-strategy skip|overwrite|merge]
124
+ ```
105
125
 
106
- ## 📜 10憲法条項
126
+ ### 知識グラフ (Knowledge)
107
127
 
108
- | # | 条項 | ルール |
109
- |---|------|--------|
110
- | 1 | コンテキスト最優先 | Steering/product.ja.md, structure.ja.md を必ず参照 |
111
- | 2 | ナレッジ駆動 | 既存知識を検索・活用してから回答 |
112
- | 3 | 仕様駆動 (SDD) | 要件→設計→実装→検証の順序厳守 |
113
- | 4 | トレーサビリティ | 決定事項は ADR として記録 |
114
- | 5 | 段階的詳細化 | 抽象から具体へ、一度に1レベル |
115
- | 6 | 自律学習 | Wake-Sleepサイクルで継続的改善 |
116
- | 7 | 形式検証 | 重要ロジックはLean4で証明 |
117
- | 8 | パターン適用 | 学習済みベストプラクティスを活用 |
118
- | 9 | 明示的コミュニケーション | 不明点は確認、仮定を明示 |
119
- | 10 | 品質最優先 | テスト・レビュー・検証を省略しない |
120
-
121
- ---
128
+ ```bash
129
+ npx musubix knowledge add <type> <id> <name> # エンティティ追加
130
+ npx musubix knowledge get <id> # エンティティ取得
131
+ npx musubix knowledge delete <id> # エンティティ削除
132
+ npx musubix knowledge link <source> <type> <target> # リレーション追加
133
+ npx musubix knowledge query [--type <type>] # クエリ検索
134
+ npx musubix knowledge traverse <id> # グラフ走査
135
+ npx musubix knowledge stats # 統計表示
136
+ ```
122
137
 
123
- ## 🧭 Project Memory(Steering)
138
+ ### ADR (Architecture Decision Records)
124
139
 
125
- | ファイル | 用途 | 参照タイミング |
126
- |----------|------|----------------|
127
- | `steering/product.ja.md` | 製品ビジョン・ゴール | プロジェクト理解時 |
128
- | `steering/structure.ja.md` | アーキテクチャ構造 | 設計・実装時 |
129
- | `steering/tech.ja.md` | 技術スタック・制約 | 技術選定時 |
130
- | `steering/project.yml` | プロジェクトメタデータ | CI/CD設定時 |
131
- | `steering/rules/*.md` | ドメイン固有ルール | コード生成時 |
140
+ ```bash
141
+ npx musubix decision create <title> # ADR作成
142
+ npx musubix decision list # ADR一覧
143
+ npx musubix decision get <id> # ADR詳細
144
+ npx musubix decision accept <id> # ADR承認
145
+ npx musubix decision deprecate <id> # ADR廃止
146
+ npx musubix decision search <query> # ADRキーワード検索
147
+ npx musubix decision index # ADRインデックス生成
148
+ ```
132
149
 
133
- ---
150
+ ### ポリシー検証
134
151
 
135
- ## 🔬 主要機能
152
+ ```bash
153
+ npx musubix policy validate [path] # プロジェクト検証
154
+ npx musubix policy list # ポリシー一覧
155
+ npx musubix policy info <id> # ポリシー詳細
156
+ npx musubix policy check <file> # 単一ファイル検証
157
+ ```
136
158
 
137
- ### 1. Wake-Sleep 自律学習
159
+ ### コードグラフ (16言語対応)
138
160
 
139
- ```typescript
140
- // WHEN: パターン学習が必要
141
- // DO: Wake-Sleepサイクルを実行
142
- const result = await wakeSleep.observe("./src/**/*.ts");
143
- const patterns = await wakeSleep.consolidate(result);
144
- await wakeSleep.apply(patterns);
161
+ ```bash
162
+ npx musubix cg index <path> # インデックス作成
163
+ npx musubix cg query [name] # エンティティ検索
164
+ npx musubix cg search <query> # セマンティック検索
165
+ npx musubix cg deps <name> # 依存関係
166
+ npx musubix cg callers <name> # 呼び出し元
167
+ npx musubix cg callees <name> # 呼び出し先
168
+ npx musubix cg languages # 対応言語一覧
169
+ npx musubix cg stats # 統計
145
170
  ```
146
171
 
147
- ### 2. Knowledge Graph
172
+ ### オントロジー・説明生成
148
173
 
149
- ```typescript
150
- // WHEN: 情報の関連付けが必要
151
- // DO: エンティティとリレーションを追加
152
- await knowledge.addEntity({ type: "Function", name: "auth" });
153
- await knowledge.addRelation("auth", "uses", "jwt-library");
154
- const related = await knowledge.search("認証", { semantic: true });
174
+ ```bash
175
+ npx musubix ontology validate # 知識グラフ整合性検証
176
+ npx musubix ontology check-circular # 循環依存チェック
177
+ npx musubix ontology stats # 統計表示
178
+ npx musubix explain why <id> # 決定理由の説明
179
+ npx musubix explain graph <id> # 推論グラフ生成
155
180
  ```
156
181
 
157
- ### 3. CodeGraph 解析
182
+ ### その他
158
183
 
159
- ```typescript
160
- // WHEN: コード依存関係の把握が必要
161
- // DO: 解析してクエリ実行
162
- const graph = await codegraph.analyze("./src");
163
- const deps = await codegraph.query("Function -> Dependency");
184
+ ```bash
185
+ npx musubix library learn <file> # コードからパターン学習
186
+ npx musubix library query <query> # パターン検索
187
+ npx musubix library stats # パターン統計
188
+ npx musubix synthesize <examples.json> # プログラム合成
189
+ npx musubix synthesize pbe <examples.json> # PBE特化合成
190
+ npx musubix deep-research <query> [-i <iterations>] [-o <file>]
191
+ npx musubix perf benchmark # パフォーマンスベンチマーク
192
+ npx musubix perf startup # 起動時間計測
193
+ npx musubix perf memory # メモリ使用量
194
+ npx musubix skills list # スキル一覧
195
+ npx musubix skills validate [skill-name] # スキル検証
196
+ npx musubix tasks list # タスク一覧
197
+ npx musubix tasks stats # タスク統計
198
+ npx musubix watch [paths...] [--lint] [--test] [--security]
199
+ npx musubix repl # 対話的REPL
164
200
  ```
165
201
 
166
- ### 4. SDD ワークフロー
202
+ ---
167
203
 
168
- ```typescript
169
- // WHEN: 新機能の仕様策定
170
- // DO: init → validate → generate
171
- await sdd.init({ domain: "Payment", output: "./specs" });
172
- await sdd.validate("./specs", { strict: true });
173
- await sdd.generate("./specs", { output: "./src" });
174
- ```
204
+ ## MCP Server
175
205
 
176
- ### 5. Formal Verification
206
+ ### 起動
177
207
 
178
- ```typescript
179
- // WHEN: 重要ロジックの証明が必要
180
- // DO: Lean4に変換して検証
181
- const leanCode = await formal.translate(tsCode);
182
- const proof = await formal.verify(leanCode);
208
+ ```bash
209
+ npx @nahisaho/musubix-mcp-server
210
+ npx musubix-mcp --transport stdio
183
211
  ```
184
212
 
213
+ ### 主要MCPツール
214
+
215
+ | カテゴリ | ツール名 | 説明 |
216
+ |----------|---------|------|
217
+ | **SDD** | `sdd_create_requirements` | EARS形式要件作成 |
218
+ | | `sdd_validate_requirements` | EARS検証・憲法準拠チェック |
219
+ | | `sdd_create_design` | C4モデル設計作成 |
220
+ | | `sdd_validate_design` | 設計トレーサビリティ検証 |
221
+ | | `sdd_create_tasks` | 設計→タスク生成 |
222
+ | | `sdd_validate_constitution` | 9憲法条項検証 |
223
+ | | `sdd_validate_traceability` | 全体トレーサビリティ検証 |
224
+ | **Pattern** | `pattern_extract` | パターン抽出 |
225
+ | | `pattern_compress` | パターン圧縮 |
226
+ | | `pattern_store` | パターン保存 |
227
+ | | `pattern_query` | パターン検索 |
228
+ | | `pattern_consolidate` | パターン統合 |
229
+ | | `ontology_query` | オントロジークエリ |
230
+ | | `ontology_infer` | オントロジー推論 |
231
+ | **Validation** | `consistency_validate` | 整合性検証 |
232
+ | | `validate_triple` | トリプル検証 |
233
+ | | `check_circular` | 循環依存検出 |
234
+ | **Knowledge** | `knowledge_put_entity` | エンティティ作成・更新 |
235
+ | | `knowledge_get_entity` | エンティティ取得 |
236
+ | | `knowledge_delete_entity` | エンティティ削除 |
237
+ | | `knowledge_add_relation` | リレーション追加 |
238
+ | | `knowledge_query` | グラフクエリ |
239
+ | | `knowledge_traverse` | グラフ走査 |
240
+ | **Policy** | `policy_validate` | ポリシー検証 |
241
+ | | `policy_list` | ポリシー一覧 |
242
+ | | `policy_get` | ポリシー詳細 |
243
+ | | `policy_check_file` | ファイル検証 |
244
+ | **Decision** | `decision_create` | ADR作成 |
245
+ | | `decision_list` | ADR一覧 |
246
+ | | `decision_get` | ADR詳細 |
247
+ | | `decision_accept` | ADR承認 |
248
+ | | `decision_deprecate` | ADR廃止 |
249
+ | | `decision_search` | ADR検索 |
250
+ | | `decision_find_by_requirement` | 要件→ADR検索 |
251
+ | | `decision_generate_index` | インデックス生成 |
252
+ | **Synthesis** | `synthesis_from_examples` | プログラム合成 |
253
+ | | `synthesis_analyze_examples` | 例題分析 |
254
+ | | `synthesis_learn_patterns` | パターン学習 |
255
+ | | `synthesis_query_patterns` | パターン検索 |
256
+ | | `synthesis_get_stats` | 統計取得 |
257
+ | **Orchestrator** | `agent_analyze_complexity` | タスク複雑度分析 |
258
+ | | `agent_dispatch` | サブエージェントディスパッチ |
259
+ | | `agent_collect_results` | 結果収集・統合 |
260
+ | | `agent_get_status` | 実行状態取得 |
261
+ | **Workflow** | `workflow_create` | ワークフロー作成 |
262
+ | | `workflow_advance_phase` | フェーズ遷移 |
263
+ | | `workflow_set_approval` | 承認設定 |
264
+ | | `workflow_get_status` | 状態取得 |
265
+ | | `workflow_validate_transition` | 遷移事前検証 |
266
+ | **Skill** | `skill_register` | スキル登録 |
267
+ | | `skill_execute` | スキル実行 |
268
+ | | `skill_list` | スキル一覧 |
269
+ | | `skill_get_info` | スキル詳細 |
270
+ | | `skill_validate` | スキル検証 |
271
+
185
272
  ---
186
273
 
187
- ## 📚 学習済みベストプラクティス
188
-
189
- | パターン | 適用条件 | 効果 |
190
- |----------|----------|------|
191
- | Result型 | エラーハンドリング | 型安全なエラー処理 |
192
- | Repository | データアクセス | 永続化層の抽象化 |
193
- | ValueObject | 不変データ | 値の整合性保証 |
194
- | AggregateRoot | 整合性境界 | トランザクション境界の明確化 |
195
- | CQRS | 読み書き分離 | パフォーマンス最適化 |
196
- | EventSourcing | 状態追跡 | 完全な監査証跡 |
197
- | DomainEvent | 疎結合通知 | モジュール間の依存削減 |
198
- | Specification | 条件カプセル化 | 再利用可能なビジネスルール |
199
- | Factory | 生成ロジック | 複雑なオブジェクト生成の隠蔽 |
200
- | Strategy | アルゴリズム切替 | 実行時の振る舞い変更 |
274
+ ## 9憲法条項
275
+
276
+ | # | 条項 | ルール |
277
+ |---|------|--------|
278
+ | I | Library-First | 機能は独立ライブラリとして開始 |
279
+ | II | CLI Interface | すべてのライブラリはCLI公開必須 |
280
+ | III | Test-First | Red-Green-Blueサイクルでテスト先行 |
281
+ | IV | EARS Format | 要件はEARS形式で記述 |
282
+ | V | Traceability | REQ↔DES↔CODE↔TESTの100%追跡 |
283
+ | VI | Project Memory | steering/ を参照してから決定 |
284
+ | VII | Design Patterns | 設計パターン適用の文書化 |
285
+ | VIII | Decision Records | すべての決定をADRで記録 |
286
+ | IX | Quality Gates | フェーズ移行前の品質検証 |
201
287
 
202
288
  ---
203
289
 
204
- ## 🤖 Agent Skills15スキル)
290
+ ## Project MemorySteering)
205
291
 
206
- ### Core Skills
292
+ | ファイル | 用途 | 参照タイミング |
293
+ |----------|------|----------------|
294
+ | `steering/product.ja.md` | 製品ビジョン・ゴール | プロジェクト理解時 |
295
+ | `steering/structure.ja.md` | アーキテクチャ構造 | 設計・実装時 |
296
+ | `steering/tech.ja.md` | 技術スタック・制約 | 技術選定時 |
297
+ | `steering/project.yml` | プロジェクトメタデータ | CI/CD設定時 |
298
+ | `steering/rules/*.md` | ドメイン固有ルール | コード生成時 |
207
299
 
208
- | スキル | トリガー | 機能 |
209
- |--------|----------|------|
210
- | `knowledge-capture` | 新情報入力時 | エンティティ抽出・関係構築 |
211
- | `knowledge-integration` | 統合要求時 | 複数ソースの知識統合 |
212
- | `structured-summary` | 要約要求時 | 構造化300字要約 |
213
- | `deep-research` | 調査要求時 | 多段階深層調査 |
214
- | `learning-extraction` | パターン発見時 | ベストプラクティス抽出 |
300
+ ---
215
301
 
216
- ### SDD Skills
302
+ ## Agent Skills(13スキル)
217
303
 
218
304
  | スキル | トリガー | 機能 |
219
305
  |--------|----------|------|
220
- | `musubix-domain-inference` | 要件分析時 | ドメインモデル推論 |
221
306
  | `musubix-sdd-workflow` | SDD開始時 | 仕様駆動開発ガイド |
307
+ | `musubix-domain-inference` | 要件分析時 | ドメインモデル推論 |
308
+ | `musubix-ears-validation` | 要件検証時 | EARS構文検証 |
309
+ | `musubix-c4-design` | 設計図作成時 | C4モデル生成 |
222
310
  | `musubix-code-generation` | コード生成時 | SDD準拠コード生成 |
223
311
  | `musubix-test-generation` | テスト生成時 | 仕様ベーステスト生成 |
224
- | `musubix-traceability` | 追跡確認時 | 要件-実装追跡 |
225
-
226
- ### Documentation Skills
227
-
228
- | スキル | トリガー | 機能 |
229
- |--------|----------|------|
312
+ | `musubix-traceability` | 追跡確認時 | 要件→実装追跡 |
230
313
  | `musubix-adr-generation` | 決定記録時 | ADR自動生成 |
231
- | `musubix-c4-design` | 設計図作成時 | C4モデル生成 |
232
- | `musubix-technical-writing` | 文書作成時 | 技術文書生成 |
314
+ | `musubix-decision-records` | ADR管理時 | ADRライフサイクル管理 |
315
+ | `musubix-knowledge-graph` | 知識管理時 | 知識グラフ操作 |
316
+ | `musubix-policy-engine` | ポリシー確認時 | 憲法条項検証 |
233
317
  | `musubix-best-practices` | ノウハウ整理時 | ベストプラクティス文書化 |
234
- | `musubix-ears-validation` | 要件検証時 | EARS構文検証 |
318
+ | `musubix-technical-writing` | 文書作成時 | 技術文書生成 |
235
319
 
236
320
  ---
237
321
 
238
- ## 📋 AI Agent ガイドライン
322
+ ## 学習済みベストプラクティス
323
+
324
+ | ID | 名称 | 概要 | 信頼度 |
325
+ |----|------|------|--------|
326
+ | BP-CODE-001 | Entity Input DTO | エンティティ作成にInput DTOを使用 | 95% |
327
+ | BP-CODE-002 | Date-based ID | PREFIX-YYYYMMDD-NNN形式ID | 90% |
328
+ | BP-CODE-003 | Value Objects | ドメイン概念にVOを使用 | 90% |
329
+ | BP-CODE-004 | Function-based VO | interface+factory関数でVO実装 | 95% |
330
+ | BP-CODE-005 | Result Type | 失敗可能操作にResult<T,E>を使用 | 95% |
331
+ | BP-DESIGN-001 | Status Transition Map | 有効遷移をMapで定義 | 95% |
332
+ | BP-DESIGN-002 | Repository Async | async化でDB移行対応 | 85% |
333
+ | BP-DESIGN-003 | Service Layer + DI | リポジトリDIしたService層 | 90% |
334
+ | BP-DESIGN-004 | Optimistic Locking | version管理で同時編集検出 | 90% |
335
+ | BP-DESIGN-005 | AuditService | 変更の監査ログ | 85% |
336
+ | BP-DESIGN-006 | Counter Reset | テスト用resetXxxCounter() | 95% |
337
+ | BP-DESIGN-007 | Expiry Time | expiresAtフィールドで有効期限管理 | 90% |
338
+ | BP-TEST-001 | Test Counter Reset | beforeEachでIDリセット | 95% |
339
+ | BP-TEST-002 | Verify API First | テスト前にAPIシグネチャ確認 | 80% |
340
+ | BP-TEST-003 | Vitest ESM | Vitest+TypeScript ESM構成 | 85% |
341
+ | BP-TEST-004 | Result Type Test | isOk()/isErr()で両方テスト | 95% |
342
+ | BP-TEST-005 | Transition Testing | 有効・無効遷移を網羅テスト | 90% |
343
+
344
+ ---
345
+
346
+ ## 開発コマンド
347
+
348
+ ```bash
349
+ npm install # 依存関係インストール
350
+ npm run build # 全パッケージビルド (tsc -b)
351
+ npm run test # 全テスト
352
+ npm run test:unit # ユニットテスト
353
+ npm run test:integration # 統合テスト
354
+ npm run test:coverage # カバレッジ計測
355
+ npm run lint # ESLint
356
+ npm run lint:fix # ESLint自動修正
357
+ npm run typecheck # TypeScript型チェック
358
+ npm run format # Prettier
359
+ npm run format:check # Prettierチェック
360
+ npm run clean # クリーンアップ
361
+ ```
362
+
363
+ ---
364
+
365
+ ## AI Agent ガイドライン
239
366
 
240
367
  ### WHEN: 新規タスク開始
241
368
 
242
369
  ```
243
370
  DO:
244
371
  1. steering/ を読んでコンテキスト把握
245
- 2. knowledge search で既存知識確認
246
- 3. 関連 ADR を確認
247
- 4. 必要なスキルを特定
372
+ 2. musubix knowledge query で既存知識確認
373
+ 3. musubix decision list で関連ADR確認
374
+ 4. 必要なAgent Skillを特定
248
375
  ```
249
376
 
250
377
  ### WHEN: コード生成
251
378
 
252
379
  ```
253
380
  DO:
254
- 1. SDD ワークフローに従う
255
- 2. 学習済みパターンを適用
256
- 3. テストを同時生成
257
- 4. トレーサビリティを維持
381
+ 1. SDD ワークフローに従う (要件→設計→タスク→実装)
382
+ 2. musubix learn best-practices で学習済みパターンを確認
383
+ 3. テストを同時生成 (codegen --with-tests)
384
+ 4. musubix trace matrix でトレーサビリティ維持
258
385
  ```
259
386
 
260
387
  ### WHEN: エラー発生
@@ -264,70 +391,52 @@ DO:
264
391
  1. Result型でエラーをラップ
265
392
  2. コンテキスト情報を付加
266
393
  3. リカバリー戦略を検討
267
- 4. 学習データとして記録
268
- ```
269
-
270
- ### WHEN: 不明点がある
271
-
272
- ```
273
- DO:
274
- 1. 仮定を明示して確認を求める
275
- 2. 複数の選択肢を提示
276
- 3. 決定事項は ADR に記録
394
+ 4. musubix learn feedback で学習データとして記録
277
395
  ```
278
396
 
279
397
  ---
280
398
 
281
- ## 🔄 推奨ワークフロー
399
+ ## 推奨ワークフロー
400
+
401
+ > **重要**: Phase 2(設計)から直接Phase 4(実装)に進むことは禁止。必ずPhase 3(タスク分解)を経ること。
282
402
 
283
403
  ```
284
- Phase 1: Context │ steering/ 読込 knowledge searchADR確認
285
-
286
- Phase 2: Planスキル選定タスク分解依存関係整理
287
-
288
- Phase 3: Execute SDD準拠実装パターン適用テスト生成
289
-
290
- Phase 4: Verify 形式検証トレーサビリティ確認レビュー
291
-
292
- Phase 5: Learn Wake-Sleepパターン抽出ナレッジ更新
404
+ Phase 1: 要件定義 │ steering/読込requirements analyzeレビュー → 承認
405
+
406
+ Phase 2: 設計design generate design validate レビュー → 承認
407
+
408
+ Phase 3: タスク分解 タスク定義依存関係整理レビュー → 承認
409
+
410
+ Phase 4: 実装 test generate(Red) 実装(Green)リファクタ(Blue)
411
+
412
+ Phase 5: 完了 trace validate CHANGELOG更新コミット
293
413
  ```
294
414
 
295
415
  ---
296
416
 
297
- ## 📁 ストレージ構造
417
+ ## ストレージ構造
298
418
 
299
419
  | ディレクトリ | 用途 |
300
420
  |--------------|------|
301
- | `storage/learning/` | 学習データ |
302
- | `storage/specs/` | SDD仕様 |
303
- | `storage/design/` | 設計文書 |
304
- | `storage/changes/` | 変更履歴 |
421
+ | `storage/specs/` | 要件(REQ-*)・設計(DES-*)・タスク(TSK-*) |
422
+ | `storage/design/` | 設計文書・C4ダイアグラム |
423
+ | `storage/traceability/` | トレーサビリティマトリクス |
305
424
  | `storage/reviews/` | レビュー記録 |
306
- | `storage/dashboard/` | メトリクス |
425
+ | `storage/changes/` | 変更履歴 |
426
+ | `storage/learning/` | 学習データ |
307
427
 
308
428
  ---
309
429
 
310
- ## 🚨 重要な制約
430
+ ## 重要な制約
311
431
 
312
432
  | 制約 | 理由 |
313
433
  |------|------|
314
434
  | Node.js 20+ | ESM・最新API |
315
435
  | TypeScript strict | 型安全性 |
316
- | pnpm workspace | モノレポ管理 |
436
+ | npm workspaces | モノレポ管理 |
317
437
  | Vitest | 高速テスト |
318
- | ESLint flat config | 統一リント |
319
-
320
- ---
321
-
322
- ## 📞 トラブルシューティング
323
-
324
- | 症状 | 対処 |
325
- |------|------|
326
- | 依存解決エラー | `pnpm i --force` |
327
- | 型エラー | `pnpm build` で再ビルド |
328
- | テスト失敗 | `pnpm --filter <pkg> test` で個別実行 |
329
- | MCP接続失敗 | ポート確認、`--debug` オプション |
438
+ | Prettier | コードフォーマット統一 |
330
439
 
331
440
  ---
332
441
 
333
- **最終更新**: 2025-01-29 | **バージョン**: 3.7.2
442
+ **最終更新**: 2026-02-08 | **バージョン**: 3.8.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nahisaho/musubix-core",
3
- "version": "3.8.0",
3
+ "version": "3.8.1",
4
4
  "description": "MUSUBIX Core Library - Neuro-Symbolic Integration Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",