musubix 1.4.1 → 1.4.2

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/AGENTS.md CHANGED
@@ -14,7 +14,7 @@
14
14
  | **パッケージマネージャ** | npm >= 10.0.0 |
15
15
  | **ビルドシステム** | モノレポ(npm workspaces) |
16
16
  | **テストフレームワーク** | Vitest |
17
- | **テスト数** | 775 (全合格) |
17
+ | **テスト数** | 800 (全合格) |
18
18
  | **コンポーネント数** | 243 (62ドメイン対応) |
19
19
  | **Agent Skills** | 12 (Claude Code対応) |
20
20
 
@@ -38,7 +38,7 @@ packages/
38
38
  | パッケージ | npm | 役割 |
39
39
  |-----------|-----|------|
40
40
  | `packages/core/` | `@nahisaho/musubix-core` | コアライブラリ - CLI、EARS検証、コード生成、設計パターン |
41
- | `packages/mcp-server/` | `@nahisaho/musubix-mcp-server` | MCPサーバー - 16ツール、3プロンプト |
41
+ | `packages/mcp-server/` | `@nahisaho/musubix-mcp-server` | MCPサーバー - 19ツール、3プロンプト |
42
42
  | `packages/yata-client/` | `@nahisaho/musubix-yata-client` | YATAクライアント - 知識グラフ連携 |
43
43
  | `packages/pattern-mcp/` | `@nahisaho/musubix-pattern-mcp` | パターン学習 - 抽出・圧縮・ライブラリ |
44
44
  | `packages/ontology-mcp/` | `@nahisaho/musubix-ontology-mcp` | オントロジー - N3Store・推論エンジン |
@@ -116,6 +116,11 @@ npx musubix learn export # 学習データエクスポート
116
116
  npx musubix learn import <file> # 学習データインポート
117
117
  # オプション: --merge-strategy <skip|overwrite|merge>, --dry-run, --patterns-only, --feedback-only
118
118
 
119
+ # オントロジー操作 (v1.4.1 NEW!)
120
+ npx musubix ontology validate -f <file> # 知識グラフ整合性検証
121
+ npx musubix ontology check-circular -f <file> # 循環依存チェック
122
+ npx musubix ontology stats -f <file> # 統計表示
123
+
119
124
  # ヘルプ
120
125
  npx musubix --help
121
126
  npx musubix help <command>
@@ -132,7 +137,7 @@ npx @nahisaho/musubix-mcp-server
132
137
  npx musubix-mcp --transport stdio
133
138
  ```
134
139
 
135
- ### ツール一覧(16ツール)
140
+ ### ツール一覧(19ツール)
136
141
 
137
142
  #### SDD基本ツール(9ツール)
138
143
 
@@ -160,6 +165,14 @@ npx musubix-mcp --transport stdio
160
165
  | `ontology_query` | オントロジーグラフへのクエリ |
161
166
  | `ontology_infer` | オントロジーによる推論実行 |
162
167
 
168
+ #### オントロジー検証ツール(3ツール)- v1.4.1 NEW!
169
+
170
+ | ツール名 | 説明 |
171
+ |---------|------|
172
+ | `consistency_validate` | 知識グラフの整合性検証 |
173
+ | `validate_triple` | 単一トリプルの事前検証 |
174
+ | `check_circular` | 循環依存の検出 |
175
+
163
176
  ### プロンプト一覧(3プロンプト)
164
177
 
165
178
  | プロンプト名 | 説明 |
@@ -0,0 +1,112 @@
1
+ # MUSUBIX v1.5.0 Roadmap
2
+
3
+ ## Release Target: 2026-Q1
4
+
5
+ ## 🎯 Major Features
6
+
7
+ ### 1. Real-time Pattern Learning (REQ-LEARN-010)
8
+ **Priority: P0**
9
+
10
+ 現在のバッチ学習からリアルタイム学習への進化。
11
+
12
+ | 機能 | 説明 |
13
+ |------|------|
14
+ | Stream Processing | コード変更のストリーム処理 |
15
+ | Incremental Learning | 差分学習による効率化 |
16
+ | Online Feedback | リアルタイムフィードバック反映 |
17
+
18
+ ### 2. Pattern Sharing (REQ-SHARE-001)
19
+ **Priority: P1**
20
+
21
+ チーム間でパターンを共有する機能。
22
+
23
+ | 機能 | 説明 |
24
+ |------|------|
25
+ | Pattern Export/Import | 標準フォーマットでのエクスポート |
26
+ | Pattern Repository | 共有リポジトリ連携 |
27
+ | Conflict Resolution | パターン競合の解決 |
28
+
29
+ ### 3. Advanced Inference (REQ-ONTO-010)
30
+ **Priority: P1**
31
+
32
+ オントロジー推論の高度化。
33
+
34
+ | 機能 | 説明 |
35
+ |------|------|
36
+ | OWL 2 RL Support | OWL 2 RLプロファイル対応 |
37
+ | Datalog Integration | Datalogルールエンジン統合 |
38
+ | Explanation Generation | 推論過程の説明生成 |
39
+
40
+ ### 4. Interactive CLI Mode (REQ-CLI-010)
41
+ **Priority: P2**
42
+
43
+ 対話的なCLI操作モード。
44
+
45
+ | 機能 | 説明 |
46
+ |------|------|
47
+ | REPL Mode | 対話的シェル |
48
+ | Auto-completion | コマンド補完 |
49
+ | History | コマンド履歴 |
50
+
51
+ ### 5. Performance Optimization (REQ-PERF-001)
52
+ **Priority: P2**
53
+
54
+ 大規模プロジェクトでのパフォーマンス改善。
55
+
56
+ | 機能 | 説明 |
57
+ |------|------|
58
+ | Lazy Loading | 遅延読み込み |
59
+ | Cache Layer | キャッシュ層追加 |
60
+ | Parallel Processing | 並列処理強化 |
61
+
62
+ ---
63
+
64
+ ## 📊 Current Status (v1.4.1)
65
+
66
+ | メトリクス | 値 |
67
+ |-----------|-----|
68
+ | テスト数 | 815 |
69
+ | パッケージ数 | 8 |
70
+ | MCPツール | 19 |
71
+ | カバレッジ (lines) | 25% |
72
+
73
+ ---
74
+
75
+ ## 📅 Implementation Schedule
76
+
77
+ ### Phase 1: Foundation (Week 1-2)
78
+ - [ ] Real-time Learning基盤設計
79
+ - [ ] Pattern Sharing API設計
80
+ - [ ] テストカバレッジ向上 (25% → 40%)
81
+
82
+ ### Phase 2: Core Features (Week 3-4)
83
+ - [ ] Real-time Pattern Learning実装
84
+ - [ ] Pattern Export/Import拡張
85
+ - [ ] OWL 2 RL基本サポート
86
+
87
+ ### Phase 3: Integration (Week 5-6)
88
+ - [ ] Pattern Repository連携
89
+ - [ ] Interactive CLI Mode
90
+ - [ ] Performance Optimization
91
+
92
+ ### Phase 4: Stabilization (Week 7-8)
93
+ - [ ] E2Eテスト追加
94
+ - [ ] ドキュメント更新
95
+ - [ ] リリース準備
96
+
97
+ ---
98
+
99
+ ## 🔗 Dependencies
100
+
101
+ - Node.js >= 20.0.0
102
+ - TypeScript 5.x
103
+ - N3.js (RDF handling)
104
+ - tree-sitter (AST parsing)
105
+
106
+ ---
107
+
108
+ ## 📝 Notes
109
+
110
+ - v1.4.xはバグ修正のみ
111
+ - 破壊的変更なし (後方互換性維持)
112
+ - 新機能はオプトイン形式
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "musubix",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Neuro-Symbolic AI Coding System - MUSUBI × YATA Integration",
5
5
  "type": "module",
6
6
  "workspaces": [
7
7
  "packages/*"
8
8
  ],
9
9
  "bin": {
10
- "musubix": "./bin/musubix.js",
11
- "musubix-mcp": "./bin/musubix-mcp.js"
10
+ "musubix": "bin/musubix.js",
11
+ "musubix-mcp": "bin/musubix-mcp.js"
12
12
  },
13
13
  "files": [
14
14
  "bin/",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "repository": {
39
39
  "type": "git",
40
- "url": "https://github.com/nahisaho/MUSUBIX.git"
40
+ "url": "git+https://github.com/nahisaho/MUSUBIX.git"
41
41
  },
42
42
  "keywords": [
43
43
  "ai",
@@ -56,6 +56,7 @@
56
56
  "@types/node": "^20.10.0",
57
57
  "@typescript-eslint/eslint-plugin": "^6.13.0",
58
58
  "@typescript-eslint/parser": "^6.13.0",
59
+ "@vitest/coverage-v8": "^4.0.16",
59
60
  "eslint": "^8.55.0",
60
61
  "typescript": "^5.3.0",
61
62
  "vitest": "^4.0.16"
@@ -65,10 +66,10 @@
65
66
  "@nahisaho/musubi": "^1.3.0",
66
67
  "@nahisaho/musubix-core": "^1.3.0",
67
68
  "@nahisaho/musubix-mcp-server": "^1.3.0",
68
- "@nahisaho/musubix-yata-client": "^1.3.0",
69
- "@nahisaho/musubix-pattern-mcp": "^1.0.0",
70
69
  "@nahisaho/musubix-ontology-mcp": "^1.0.0",
70
+ "@nahisaho/musubix-pattern-mcp": "^1.0.0",
71
+ "@nahisaho/musubix-sdd-ontology": "^1.0.0",
71
72
  "@nahisaho/musubix-wake-sleep": "^1.0.0",
72
- "@nahisaho/musubix-sdd-ontology": "^1.0.0"
73
+ "@nahisaho/musubix-yata-client": "^1.3.0"
73
74
  }
74
75
  }