musubix 1.0.15 → 1.0.19

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/README.ja.md CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  > MUSUBI × YATA 統合による次世代AIコーディングシステム
12
12
  >
13
- > **v1.0.12** - 自己学習システム、C4コード生成、日本語EARSサポート
13
+ > **v1.0.18** - 60ドメイン対応、約390個のドメイン固有コンポーネント、設計生成強化
14
14
 
15
15
  ## 概要
16
16
 
package/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  > Next-generation AI Coding System powered by MUSUBI × YATA Integration
13
13
  >
14
- > **v1.0.12** - Self-learning system, C4 code generation, Japanese EARS support
14
+ > **v1.0.18** - 60 domains, ~390 domain-specific components, enhanced design generation
15
15
 
16
16
  **[日本語版 README](README.ja.md)**
17
17
 
@@ -7,7 +7,7 @@ tags:
7
7
  - LLM
8
8
  - ニューロシンボリック
9
9
  private: false
10
- updated_at: '2026-01-03'
10
+ updated_at: '2026-01-04'
11
11
  id: null
12
12
  organization_url_name: null
13
13
  slide: false
@@ -21,13 +21,17 @@ AIコーディング支援ツールは急速に進化しています。本記事
21
21
 
22
22
  # TL;DR
23
23
 
24
+ > **最新バージョン**: v1.0.19 | **60ドメイン対応** | **~390コンポーネント**
25
+
24
26
  | 項目 | MUSUBI | MUSUBIX |
25
- |------|--------|---------|
27
+ |------|--------|---------||
26
28
  | **コンセプト** | 仕様駆動開発(SDD) | ニューロシンボリックAI |
27
29
  | **推論方式** | ニューラル(LLM)のみ | ニューラル + シンボリック |
28
30
  | **知識基盤** | プロジェクトメモリ | 知識グラフ(YATA) |
29
31
  | **信頼性** | LLMの確率的出力 | 形式的検証による確実性 |
30
32
  | **統合対象** | 7つのAIエージェント | MUSUBI + YATA + 7エージェント |
33
+ | **ドメイン** | 汎用 | 60専門ドメイン対応 |
34
+ | **自己学習** | なし | フィードバックベースの適応学習 |
31
35
 
32
36
  # 1. MUSUBIとは?
33
37
 
@@ -273,10 +277,10 @@ flowchart TB
273
277
 
274
278
  ```mermaid
275
279
  flowchart TB
276
- subgraph MUSUBIX["MUSUBIX System"]
280
+ subgraph MUSUBIX["MUSUBIX System v1.0.19"]
277
281
  subgraph Packages["パッケージ構成"]
278
- Core["@nahisaho/musubix-core<br/>56モジュール"]
279
- MCP["@nahisaho/musubix-mcp-server<br/>9ツール, 6プロンプト"]
282
+ Core["@nahisaho/musubix-core<br/>56モジュール | 60ドメイン | ~390コンポーネント"]
283
+ MCP["@nahisaho/musubix-mcp-server<br/>9ツール, 3プロンプト"]
280
284
  YATA_Client["@nahisaho/musubix-yata-client"]
281
285
  end
282
286
 
@@ -284,6 +288,7 @@ flowchart TB
284
288
  NSI["NeuroSymbolicIntegrator"]
285
289
  CE["ConfidenceEvaluator"]
286
290
  CD["ContradictionDetector"]
291
+ LS["LearningSystem"]
287
292
  end
288
293
 
289
294
  Core --> Integration
@@ -436,7 +441,128 @@ flowchart LR
436
441
  | **技術オントロジー** | 設計パターン、フレームワーク | 設計の自動提案 |
437
442
  | **SDDオントロジー** | EARS、C4、ADRの形式知識 | 成果物の検証 |
438
443
 
439
- ### 4.2.4 オントロジーマッピングの実例
444
+ ### 4.2.4 60ドメイン対応(v1.0.19)
445
+
446
+ MUSUBIXは**60の専門ドメイン**に対応し、各ドメインに最適化されたコンポーネント推論を提供します。
447
+
448
+ ```mermaid
449
+ flowchart TB
450
+ subgraph Domains["60ドメイン対応"]
451
+ subgraph Business["ビジネス系"]
452
+ B1[ecommerce]
453
+ B2[finance]
454
+ B3[crm]
455
+ B4[hr]
456
+ B5[marketing]
457
+ end
458
+
459
+ subgraph Industry["産業系"]
460
+ I1[manufacturing]
461
+ I2[logistics]
462
+ I3[healthcare]
463
+ I4[agriculture]
464
+ I5[energy]
465
+ end
466
+
467
+ subgraph Tech["技術系"]
468
+ T1[iot]
469
+ T2[security]
470
+ T3[ai]
471
+ T4[analytics]
472
+ T5[telecom]
473
+ end
474
+
475
+ subgraph Service["サービス系"]
476
+ S1[education]
477
+ S2[travel]
478
+ S3[restaurant]
479
+ S4[beauty]
480
+ S5[entertainment]
481
+ end
482
+ end
483
+
484
+ Domains --> Components["~390コンポーネント定義"]
485
+ ```
486
+
487
+ | カテゴリ | ドメイン例 | コンポーネント例 |
488
+ |---------|-----------|-----------------|
489
+ | **ビジネス** | ecommerce, finance, crm | CartService, PaymentGateway, CustomerRepository |
490
+ | **産業** | manufacturing, logistics | ProductionLine, InventoryTracker, QualityControl |
491
+ | **ヘルスケア** | healthcare, pharmacy | PatientRecord, PrescriptionManager, DiagnosticService |
492
+ | **サービス** | restaurant, hotel, travel | ReservationService, MenuManager, BookingEngine |
493
+ | **技術** | iot, security, ai | DeviceManager, ThreatDetector, ModelInference |
494
+
495
+ **対応ドメイン一覧**(60ドメイン):
496
+
497
+ <details>
498
+ <summary>クリックして全ドメインを表示</summary>
499
+
500
+ | # | ドメイン | 説明 |
501
+ |---|---------|------|
502
+ | 1 | general | 汎用 |
503
+ | 2 | ecommerce | EC・通販 |
504
+ | 3 | healthcare | ヘルスケア |
505
+ | 4 | finance | 金融 |
506
+ | 5 | education | 教育 |
507
+ | 6 | manufacturing | 製造 |
508
+ | 7 | logistics | 物流 |
509
+ | 8 | crm | 顧客管理 |
510
+ | 9 | hr | 人事 |
511
+ | 10 | iot | IoT |
512
+ | 11 | travel | 旅行 |
513
+ | 12 | restaurant | 飲食店 |
514
+ | 13 | realestate | 不動産 |
515
+ | 14 | insurance | 保険 |
516
+ | 15 | media | メディア |
517
+ | 16 | gaming | ゲーム |
518
+ | 17 | social | SNS |
519
+ | 18 | analytics | 分析 |
520
+ | 19 | booking | 予約 |
521
+ | 20 | inventory | 在庫管理 |
522
+ | 21 | auction | オークション |
523
+ | 22 | subscription | サブスク |
524
+ | 23 | marketplace | マーケットプレイス |
525
+ | 24 | delivery | 配送 |
526
+ | 25 | payment | 決済 |
527
+ | 26 | chat | チャット |
528
+ | 27 | document | 文書管理 |
529
+ | 28 | workflow | ワークフロー |
530
+ | 29 | notification | 通知 |
531
+ | 30 | search | 検索 |
532
+ | 31 | calendar | カレンダー |
533
+ | 32 | project | プロジェクト管理 |
534
+ | 33 | survey | アンケート |
535
+ | 34 | voting | 投票 |
536
+ | 35 | ticketing | チケット |
537
+ | 36 | hotel | ホテル |
538
+ | 37 | pharmacy | 薬局 |
539
+ | 38 | veterinary | 動物病院 |
540
+ | 39 | gym | フィットネス |
541
+ | 40 | library | 図書館 |
542
+ | 41 | museum | 美術館・博物館 |
543
+ | 42 | parking | 駐車場 |
544
+ | 43 | laundry | クリーニング |
545
+ | 44 | rental | レンタル |
546
+ | 45 | repair | 修理 |
547
+ | 46 | cleaning | 清掃 |
548
+ | 47 | catering | ケータリング |
549
+ | 48 | wedding | ブライダル |
550
+ | 49 | funeral | 葬儀 |
551
+ | 50 | agriculture | 農業 |
552
+ | 51 | energy | エネルギー |
553
+ | 52 | waste | 廃棄物 |
554
+ | 53 | recycling | リサイクル |
555
+ | 54 | warehouse | 倉庫 |
556
+ | 55 | vehicle | 車両管理 |
557
+ | 56 | sports | スポーツ |
558
+ | 57 | marketing | マーケティング |
559
+ | 58 | aviation | 航空 |
560
+ | 59 | shipping | 海運 |
561
+ | 60 | telecom | 通信 |
562
+
563
+ </details>
564
+
565
+ ### 4.2.5 オントロジーマッピングの実例
440
566
 
441
567
  ```typescript
442
568
  // MUSUBIXでのオントロジーマッピング例
@@ -478,14 +604,20 @@ MUSUBIXは以下の新規モジュールを追加:
478
604
  | | SOLIDValidator | SOLID検証 |
479
605
  | | C4ModelGenerator | C4モデル生成 |
480
606
  | | ADRGenerator | ADR生成 |
607
+ | | DomainDetector | ドメイン自動検出(60ドメイン) |
608
+ | | ComponentInference | コンポーネント推論(~390定義) |
481
609
  | **コード** | StaticAnalyzer | 静的解析 |
482
610
  | | SecurityScanner | セキュリティスキャン |
483
611
  | | QualityMetricsCalculator | 品質メトリクス |
484
612
  | **説明** | ReasoningChainRecorder | 推論チェーン記録 |
485
613
  | | ExplanationGenerator | 説明生成 |
486
614
  | | VisualExplanationGenerator | 視覚的説明生成 |
615
+ | **学習** | FeedbackCollector | フィードバック収集 |
616
+ | | PatternExtractor | パターン抽出 |
617
+ | | AdaptiveReasoner | 適応的推論 |
618
+ | | PrivacyFilter | プライバシー保護フィルター |
487
619
 
488
- ## 4.4 MCPサーバー(9ツール、6プロンプト)
620
+ ## 4.4 MCPサーバー(9ツール、3プロンプト)
489
621
 
490
622
  ```mermaid
491
623
  flowchart TB
@@ -498,13 +630,10 @@ flowchart TB
498
630
  T5[説明系ツール]
499
631
  end
500
632
 
501
- subgraph Prompts["6 Prompts"]
502
- P1[sdd-steering]
503
- P2[sdd-requirements]
504
- P3[sdd-design]
505
- P4[sdd-tasks]
506
- P5[sdd-implement]
507
- P6[sdd-validate]
633
+ subgraph Prompts["3 Prompts"]
634
+ P1[sdd_requirements_analysis]
635
+ P2[sdd_requirements_review]
636
+ P3[sdd_design_generation]
508
637
  end
509
638
  end
510
639
 
@@ -517,6 +646,42 @@ flowchart TB
517
646
  MCPServer --> Platforms
518
647
  ```
519
648
 
649
+ ## 4.5 自己学習システム(v1.0.12〜)
650
+
651
+ MUSUBIXは**自己学習システム**を搭載し、フィードバックに基づいて推論を継続的に改善します。
652
+
653
+ ```mermaid
654
+ flowchart LR
655
+ subgraph Learning["自己学習システム"]
656
+ F[フィードバック収集] --> P[パターン抽出]
657
+ P --> T{閾値判定}
658
+ T -->|超過| R[パターン登録]
659
+ T -->|未満| W[待機]
660
+ R --> A[適応的推論]
661
+ end
662
+
663
+ subgraph Privacy["プライバシー保護"]
664
+ PF[PrivacyFilter]
665
+ LS[ローカルストレージのみ]
666
+ end
667
+
668
+ Learning --> Privacy
669
+ ```
670
+
671
+ | 機能 | 説明 | CLIコマンド |
672
+ |------|------|------------|
673
+ | **状態確認** | 学習状態ダッシュボード表示 | `npx musubix learn status` |
674
+ | **フィードバック** | accept/reject/modifyの記録 | `npx musubix learn feedback <id>` |
675
+ | **パターン一覧** | 学習済みパターン表示 | `npx musubix learn patterns` |
676
+ | **パターン追加** | 手動パターン登録 | `npx musubix learn add-pattern <name>` |
677
+ | **推奨取得** | コンテキストベースの推奨 | `npx musubix learn recommend` |
678
+ | **データ移行** | エクスポート/インポート | `npx musubix learn export/import` |
679
+
680
+ **プライバシー保護**:
681
+ - すべての学習データはローカルストレージのみに保存
682
+ - 機密情報の自動フィルタリング
683
+ - 外部サーバーへのデータ送信なし
684
+
520
685
  # 5. 9つの憲法条項
521
686
 
522
687
  MUSUBIXは、MUSUBIから継承した **9つの憲法条項(Constitutional Articles)** を遵守します。これらは開発プロセス全体を統治する不変の原則であり、AIコーディングエージェントが従うべきガバナンスフレームワークです。
@@ -761,4 +926,5 @@ claude mcp list
761
926
 
762
927
  **著者**: nahisaho
763
928
  **公開日**: 2026-01-02
764
- **更新日**: 2026-01-03
929
+ **更新日**: 2026-01-04
930
+ **バージョン**: v1.0.19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musubix",
3
- "version": "1.0.15",
3
+ "version": "1.0.19",
4
4
  "description": "Neuro-Symbolic AI Coding System - MUSUBI × YATA Integration",
5
5
  "type": "module",
6
6
  "workspaces": [
@@ -63,6 +63,6 @@
63
63
  "@nahisaho/musubix-core": "^1.0.8",
64
64
  "@nahisaho/musubix-mcp-server": "^1.0.2",
65
65
  "@nahisaho/musubix-yata-client": "^1.0.2",
66
- "musubix": "^1.0.14"
66
+ "musubix": "^1.0.15"
67
67
  }
68
68
  }
@@ -1,15 +1,43 @@
1
- # MUSUBI Project Configuration
1
+ # MUSUBIX Project Configuration
2
2
  name: MUSUBIX
3
- description: A software project using MUSUBI SDD
3
+ description: Neuro-Symbolic AI Integration System - Neural (LLM) + Symbolic (YATA Knowledge Graph)
4
4
  locale: ja
5
- version: "0.1.0"
5
+ version: "1.0.18"
6
6
  created: 2026-01-01
7
+ updated: 2026-01-04
7
8
 
8
9
  # Technology Stack
9
10
  tech_stack:
10
- approach: undecided
11
+ approach: monorepo
11
12
  languages:
12
- - undecided # To be determined
13
+ - TypeScript
14
+ runtime: Node.js >= 20.0.0
15
+ package_manager: npm >= 10.0.0
16
+ test_framework: Vitest
17
+ build_system: npm workspaces
18
+
19
+ # Packages
20
+ packages:
21
+ - name: "@nahisaho/musubix-core"
22
+ path: packages/core
23
+ description: Core library - CLI, EARS validation, code generation, design patterns
24
+ - name: "@nahisaho/musubix-mcp-server"
25
+ path: packages/mcp-server
26
+ description: MCP Server - 9 tools, 3 prompts
27
+ - name: "@nahisaho/musubix-yata-client"
28
+ path: packages/yata-client
29
+ description: YATA Client - Knowledge graph integration
30
+
31
+ # Domain Support
32
+ domains:
33
+ count: 60
34
+ components: ~390
35
+ categories:
36
+ - general (13 components)
37
+ - manufacturing, logistics, education (8 each)
38
+ - travel, telecom, sports, shipping, security, realestate, property, marketing, hotel, healthcare, game, environment, childcare, caregiving, beauty, banking, aviation, archive, agritech, agriculture (7 each)
39
+ - warehouse, vehicle, restaurant, recruitment, pharmacy, petcare, music, insurance, hr, fitness, event, ecommerce, accounting (6 each)
40
+ - wedding, veterinary, ticketing, survey, subscription, streaming, social, rental, railway, podcast, parking, news, museum, media, library, legal, laundry, iot, government, funeral, energy, election, elearning, crowdfunding, crm, construction, cinema, charity, auction (5 each)
13
41
 
14
42
 
15
43
  # Review Gate Settings (v6.2.0)
@@ -1,8 +1,8 @@
1
1
  # Technology Stack
2
2
 
3
3
  **Project**: MUSUBIX
4
- **Last Updated**: 2026-01-03
5
- **Version**: 1.0.10
4
+ **Last Updated**: 2026-01-04
5
+ **Version**: 1.0.18
6
6
  **Status**: Production Ready
7
7
 
8
8
  ---
@@ -28,9 +28,9 @@ MUSUBIXはニューロシンボリックAIコーディングシステムであ
28
28
 
29
29
  ```
30
30
  packages/
31
- ├── core/ # @nahisaho/musubix-core (v1.0.9)
32
- ├── mcp-server/ # @nahisaho/musubix-mcp-server (v1.0.3)
33
- └── yata-client/ # @nahisaho/musubix-yata-client (v1.0.3)
31
+ ├── core/ # @nahisaho/musubix-core (v1.0.18)
32
+ ├── mcp-server/ # @nahisaho/musubix-mcp-server (v1.0.18)
33
+ └── yata-client/ # @nahisaho/musubix-yata-client (v1.0.18)
34
34
  ```
35
35
 
36
36
  ### Core Package モジュール
@@ -43,10 +43,30 @@ packages/
43
43
  | `design/` | 設計 | パターン検出、C4モデル、ADR生成 |
44
44
  | `error/` | エラーハンドリング | 構造化エラー、リカバリー |
45
45
  | `explanation/` | 説明生成 | 推論グラフ、可視化 |
46
+ | `learning/` | 自己学習 | フィードバック収集、パターン抽出 |
46
47
  | `requirements/` | 要件分析 | EARS検証、オントロジーマッピング |
47
48
  | `traceability/` | トレーサビリティ | アーティファクト追跡、カバレッジ分析 |
48
49
  | `validators/` | 検証 | EARS検証器 |
49
50
 
51
+ ## Domain Support
52
+
53
+ | カテゴリ | ドメイン数 | コンポーネント数 |
54
+ |---------|-----------|-----------------|
55
+ | 合計 | 60 | ~390 |
56
+
57
+ ### 対応ドメイン一覧
58
+
59
+ - **汎用**: general
60
+ - **業種特化**: healthcare, banking, insurance, realestate, hotel, restaurant, retail, ecommerce, logistics, manufacturing, construction, agriculture, agritech
61
+ - **専門サービス**: legal, accounting, hr, recruitment, marketing, crm
62
+ - **教育・学習**: education, elearning, library
63
+ - **エンターテイメント**: game, music, media, cinema, museum, streaming, podcast, news
64
+ - **交通・物流**: travel, aviation, railway, shipping, vehicle, parking
65
+ - **通信・IT**: telecom, iot, security
66
+ - **医療・福祉**: pharmacy, veterinary, caregiving, childcare
67
+ - **イベント・冠婚葬祭**: event, ticketing, wedding, funeral
68
+ - **その他**: fitness, sports, beauty, petcare, rental, laundry, subscription, crowdfunding, auction, charity, government, election, survey, energy, environment, archive, social, property, warehouse
69
+
50
70
  ## Key Features
51
71
 
52
72
  ### 1. EARS検証器(Symbolic Reasoning)