@nahisaho/shikigami 1.50.0 → 1.51.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.
@@ -13,8 +13,9 @@ WebResearcherパラダイム(Think→Report→Action)に基づいて、反
13
13
  ## 手順
14
14
 
15
15
  1. **Think**: 現在の知識状態を評価し、仮説を生成
16
- 2. **Report**: 進化するレポートを更新
17
- 3. **Action**: 次のアクションを決定・実行
16
+ 2. **Multi-Pop** (v1.51.0): 対立仮説や分岐点を検出したら `branch_detect` で分岐探索を開始
17
+ 3. **Report**: 進化するレポートを更新
18
+ 4. **Action**: 次のアクションを決定・実行
18
19
  - SEARCH: Web検索
19
20
  - VISIT: URL訪問
20
21
  - VERIFY: 交差検証
@@ -27,6 +28,23 @@ WebResearcherパラダイム(Think→Report→Action)に基づいて、反
27
28
  - 不確実な情報は明示的にマーク
28
29
  - ハルシネーションを防止
29
30
 
31
+ ## 🔀 マルチポップ(多段階分岐探索)v1.51.0 🆕
32
+
33
+ Thinkフェーズで対立仮説や複数パスを検出したら、分岐探索を実行:
34
+
35
+ 1. `branch_detect` で分岐点を検出
36
+ 2. 各ブランチで独立にThink→Actionを実行(最大3ラウンド)
37
+ 3. `branch_evaluate` で全ブランチを評価
38
+ 4. `branch_select` で最有望ブランチを選択・マージ
39
+ 5. 選択されたブランチのコンテキストでReportを更新
40
+
41
+ **分岐シグナル**:
42
+ - 「一方で」「しかし」→ 対立仮説
43
+ - 「可能性としては」「別の解釈」→ 複数解釈
44
+ - 「技術的には/ビジネス的には」→ 探索パス分岐
45
+
46
+ **⚠️ 分岐は必須ではありません**: 分岐シグナルがない場合は通常フローを継続
47
+
30
48
  ## ⭐ 検索結果の永続化(v1.26.0 必須)🆕
31
49
 
32
50
  **search/visit実行後、必ず `save_research` を呼び出す:**
@@ -61,12 +61,77 @@ license: MIT
61
61
 
62
62
  **未解決の疑問**: [リスト]
63
63
  **ギャップ**: 目標[X] vs 現状[Y]
64
- **次アクション**: SEARCH / VISIT / VERIFY / COMPLETE
65
- **選択理由**: [なぜこのアクションを選んだか] 🆕
64
+ **次アクション**: SEARCH / VISIT / VERIFY / COMPLETE / **BRANCH** 🆕
65
+ **選択理由**: [なぜこのアクションを選んだか]
66
66
  ```
67
67
 
68
68
  ---
69
69
 
70
+ ## Phase 1.5: Multi-Pop(分岐探索)🆕 v1.51.0
71
+
72
+ **起動条件**: Thinkフェーズで対立仮説・複数解釈・探索パス分岐を検出した場合
73
+
74
+ ### Step 1: 分岐検出
75
+
76
+ Thinkの出力で以下のシグナルを検知したら `branch_detect` を呼び出す:
77
+ - 対立する仮説が存在(「一方で」「しかし」「vs」)
78
+ - 複数の解釈が可能(「可能性としては」「別の解釈」)
79
+ - 深掘り方向が複数(「技術的には/ビジネス的には」)
80
+ - 情報ギャップが多面的
81
+
82
+ ```json
83
+ {"tool":"branch_detect","arguments":{"thinkOutput":"[Thinkの出力テキスト]","currentRound":N}}
84
+ ```
85
+
86
+ **⚠️ 分岐しない場合**: 結果が `detected: false` なら通常フローを継続
87
+
88
+ ### Step 2: ブランチ探索
89
+
90
+ 分岐検出されたら、各ブランチについて独立にThink→Actionを実行:
91
+
92
+ ```markdown
93
+ ## 🔀 ブランチ探索 - [ブランチID]
94
+ **仮説**: [ブランチの仮説]
95
+ **探索ラウンド**: [割当数]ラウンド
96
+
97
+ ### Think (Branch [label], Round 1)
98
+ ...
99
+ ### Action: SEARCH
100
+ {"tool":"search","arguments":{"query":["...", "..."]}}
101
+ {"tool":"save_research","arguments":{"content":"...","query":"...","source":"search","metadata":{"branchId":"[ID]"}}}
102
+ ```
103
+
104
+ - 各ブランチのsave_researchには `metadata.branchId` を指定
105
+ - ブランチ間では情報を共有しない(独立探索)
106
+
107
+ ### Step 3: ブランチ評価
108
+
109
+ 全ブランチの探索完了後、評価を実行:
110
+ ```json
111
+ {"tool":"branch_evaluate","arguments":{
112
+ "branches": [各ブランチのデータ(findings含む)],
113
+ "parentContext": {"confirmedFacts":[],"sources":[],"evolvingReport":"..."}
114
+ }}
115
+ ```
116
+
117
+ ### Step 4: ブランチ選択・マージ
118
+
119
+ ```json
120
+ {"tool":"branch_select","arguments":{
121
+ "evaluations": [branch_evaluateの結果],
122
+ "branches": [全ブランチデータ]
123
+ }}
124
+ ```
125
+
126
+ **結果の活用**:
127
+ - `selected`: このブランチのコンテキストでPhase 2へ進行
128
+ - `mergeCandidates`: 有用な発見事項が自動マージ済み
129
+ - `pruned`: 打ち切られたブランチ(情報不足/低品質)
130
+
131
+ → 選択されたブランチのコンテキストで **Phase 2 (Report)** へ進行
132
+
133
+ ---
134
+
70
135
  ## Phase 2: Report(進化するレポート)
71
136
 
72
137
  **目的**: 最新知見を反映した暫定レポート維持
@@ -135,6 +200,15 @@ manifest.yaml `personas[].domain_knowledge.level` で調整:
135
200
  ### 並列エンティティリサーチ(v1.8.0)
136
201
  複数企業/技術を独立調査→比較マトリクス生成
137
202
 
203
+ ### マルチポップ(v1.51.0)🆕
204
+ 多段階分岐探索。Thinkで分岐点を検出し、複数パスを並行探索→評価→最有望パスを選択
205
+
206
+ | MCPツール | 用途 |
207
+ |-----------|------|
208
+ | `branch_detect` | 分岐点検出(Thinkの出力を分析) |
209
+ | `branch_evaluate` | ブランチ評価(5基準加重スコアリング) |
210
+ | `branch_select` | ブランチ選択・マージ(有用情報の統合) |
211
+
138
212
  ### ソース批評自動呼び出し(v1.16.0)
139
213
  完了時に `@source-critique` 自動実行(ソース数≥5)
140
214
 
package/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ All notable changes to SHIKIGAMI will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.51.0] - 2026-02-19
9
+
10
+ ### Added
11
+
12
+ - **Deep Research: マルチポップ機能(Multi-Pop)**
13
+ - リサーチ中の分岐点を自動検出し、複数パスを同時探索
14
+ - 分岐シグナル検出(BranchDetector): 対立見解・複数手法・未解決論争を認識
15
+ - 並列探索エンジン(ParallelExplorer): 各分岐候補を独立に深掘り
16
+ - パス評価・選択(PathEvaluator): エビデンス品質・関連性・新規性でスコアリング
17
+ - 統合レポート生成: 探索全パスの比較分析と推奨パス提示
18
+ - MCPツール追加: `multi_pop_detect`, `multi_pop_explore`, `multi_pop_evaluate`, `multi_pop_full`
19
+ - 設定型拡張: `MultiPopConfig` で最大分岐数・並列度・評価閾値をカスタマイズ可能
20
+ - SDD準拠: REQ-SHIKIGAMI-017 / DES-SHIKIGAMI-017 / TSK-SHIKIGAMI-017
21
+
8
22
  ## [1.50.0] - 2026-02-10
9
23
 
10
24
  ### Added