takt 0.1.3 → 0.1.5
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/dist/agents/runner.d.ts +2 -0
- package/dist/agents/runner.d.ts.map +1 -1
- package/dist/agents/runner.js +10 -2
- package/dist/agents/runner.js.map +1 -1
- package/dist/claude/client.d.ts.map +1 -1
- package/dist/claude/client.js +4 -1
- package/dist/claude/client.js.map +1 -1
- package/dist/claude/executor.d.ts.map +1 -1
- package/dist/claude/executor.js +1 -0
- package/dist/claude/executor.js.map +1 -1
- package/dist/claude/types.d.ts +2 -0
- package/dist/claude/types.d.ts.map +1 -1
- package/dist/commands/workflowExecution.d.ts.map +1 -1
- package/dist/commands/workflowExecution.js +25 -2
- package/dist/commands/workflowExecution.js.map +1 -1
- package/dist/config/workflowLoader.d.ts.map +1 -1
- package/dist/config/workflowLoader.js +1 -0
- package/dist/config/workflowLoader.js.map +1 -1
- package/dist/models/schemas.d.ts +2 -0
- package/dist/models/schemas.d.ts.map +1 -1
- package/dist/models/schemas.js +1 -0
- package/dist/models/schemas.js.map +1 -1
- package/dist/models/types.d.ts +4 -0
- package/dist/models/types.d.ts.map +1 -1
- package/dist/workflow/engine.d.ts.map +1 -1
- package/dist/workflow/engine.js +7 -3
- package/dist/workflow/engine.js.map +1 -1
- package/dist/workflow/instruction-builder.d.ts +5 -2
- package/dist/workflow/instruction-builder.d.ts.map +1 -1
- package/dist/workflow/instruction-builder.js +8 -2
- package/dist/workflow/instruction-builder.js.map +1 -1
- package/dist/workflow/state-manager.d.ts +4 -0
- package/dist/workflow/state-manager.d.ts.map +1 -1
- package/dist/workflow/state-manager.js +10 -0
- package/dist/workflow/state-manager.js.map +1 -1
- package/package.json +1 -1
- package/resources/global/en/agents/default/ai-reviewer.md +0 -20
- package/resources/global/en/agents/default/architect.md +5 -73
- package/resources/global/en/agents/default/coder.md +0 -39
- package/resources/global/en/agents/default/planner.md +0 -23
- package/resources/global/en/agents/default/security.md +0 -16
- package/resources/global/en/agents/default/supervisor.md +0 -19
- package/resources/global/en/agents/expert-review/cqrs-es-reviewer.md +0 -35
- package/resources/global/en/agents/expert-review/frontend-reviewer.md +0 -35
- package/resources/global/en/agents/expert-review/qa-reviewer.md +0 -36
- package/resources/global/en/agents/expert-review/security-reviewer.md +0 -37
- package/resources/global/en/agents/expert-review/supervisor.md +0 -62
- package/resources/global/en/agents/magi/balthasar.md +0 -20
- package/resources/global/en/agents/magi/casper.md +0 -42
- package/resources/global/en/agents/magi/melchior.md +0 -20
- package/resources/global/en/agents/research/digger.md +0 -41
- package/resources/global/en/agents/research/planner.md +0 -34
- package/resources/global/en/agents/research/supervisor.md +0 -36
- package/resources/global/en/workflows/default.yaml +419 -46
- package/resources/global/en/workflows/expert-review.yaml +217 -22
- package/resources/global/en/workflows/magi.yaml +78 -26
- package/resources/global/en/workflows/research.yaml +105 -11
- package/resources/global/ja/agents/default/ai-reviewer.md +0 -20
- package/resources/global/ja/agents/default/architect.md +5 -73
- package/resources/global/ja/agents/default/coder.md +1 -41
- package/resources/global/ja/agents/default/planner.md +0 -23
- package/resources/global/ja/agents/default/security.md +0 -16
- package/resources/global/ja/agents/default/supervisor.md +0 -19
- package/resources/global/ja/agents/expert-review/cqrs-es-reviewer.md +0 -35
- package/resources/global/ja/agents/expert-review/frontend-reviewer.md +0 -35
- package/resources/global/ja/agents/expert-review/qa-reviewer.md +0 -36
- package/resources/global/ja/agents/expert-review/security-reviewer.md +0 -37
- package/resources/global/ja/agents/expert-review/supervisor.md +0 -62
- package/resources/global/ja/agents/magi/balthasar.md +0 -20
- package/resources/global/ja/agents/magi/casper.md +0 -42
- package/resources/global/ja/agents/magi/melchior.md +0 -20
- package/resources/global/ja/agents/research/digger.md +0 -41
- package/resources/global/ja/agents/research/planner.md +0 -34
- package/resources/global/ja/agents/research/supervisor.md +0 -36
- package/resources/global/ja/workflows/default.yaml +419 -50
- package/resources/global/ja/workflows/expert-review.yaml +217 -22
- package/resources/global/ja/workflows/magi.yaml +78 -26
- package/resources/global/ja/workflows/research.yaml +105 -11
|
@@ -5,6 +5,16 @@
|
|
|
5
5
|
# フロー:
|
|
6
6
|
# plan -> dig -> supervise -> COMPLETE (approved)
|
|
7
7
|
# -> plan (rejected: 計画からやり直し)
|
|
8
|
+
#
|
|
9
|
+
# テンプレート変数:
|
|
10
|
+
# {iteration} - ワークフロー全体のターン数(全エージェントで実行されたステップの合計)
|
|
11
|
+
# {max_iterations} - ワークフローの最大イテレーション数
|
|
12
|
+
# {step_iteration} - ステップごとのイテレーション数(このステップが何回実行されたか)
|
|
13
|
+
# {task} - 元のユーザー要求
|
|
14
|
+
# {previous_response} - 前のステップの出力
|
|
15
|
+
# {git_diff} - 現在のコミットされていない変更(git diff)
|
|
16
|
+
# {user_inputs} - ワークフロー中に蓄積されたユーザー入力
|
|
17
|
+
# {report_dir} - レポートディレクトリ名(例: "20250126-143052-task-summary")
|
|
8
18
|
|
|
9
19
|
name: research
|
|
10
20
|
description: 調査ワークフロー - 質問せずに自律的に調査を実行
|
|
@@ -20,9 +30,37 @@ steps:
|
|
|
20
30
|
- Grep
|
|
21
31
|
- WebSearch
|
|
22
32
|
- WebFetch
|
|
33
|
+
status_rules_prompt: |
|
|
34
|
+
# ⚠️ 必須: ステータス出力ルール ⚠️
|
|
35
|
+
|
|
36
|
+
**このタグがないとワークフローが停止します。**
|
|
37
|
+
最終出力には必ず以下のルールに従ったステータスタグを含めてください。
|
|
38
|
+
|
|
39
|
+
## 出力フォーマット
|
|
40
|
+
|
|
41
|
+
| 状況 | タグ |
|
|
42
|
+
|------|------|
|
|
43
|
+
| 計画完了 | `[PLANNER:DONE]` |
|
|
44
|
+
| 情報不足 | `[PLANNER:BLOCKED]` |
|
|
45
|
+
|
|
46
|
+
### 出力例
|
|
47
|
+
|
|
48
|
+
**DONE の場合:**
|
|
49
|
+
```
|
|
50
|
+
[PLANNER:DONE]
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
**BLOCKED の場合:**
|
|
54
|
+
```
|
|
55
|
+
[PLANNER:BLOCKED]
|
|
56
|
+
|
|
57
|
+
確認事項:
|
|
58
|
+
- {質問1}
|
|
59
|
+
```
|
|
23
60
|
instruction_template: |
|
|
24
61
|
## ワークフロー状況
|
|
25
|
-
- イテレーション: {iteration}/{max_iterations}
|
|
62
|
+
- イテレーション: {iteration}/{max_iterations}(ワークフロー全体)
|
|
63
|
+
- ステップ実行回数: {step_iteration}(このステップの実行回数)
|
|
26
64
|
- ステップ: plan
|
|
27
65
|
|
|
28
66
|
## 調査依頼
|
|
@@ -41,8 +79,6 @@ steps:
|
|
|
41
79
|
- 不明点は仮定を置いて進める
|
|
42
80
|
- 複数の解釈がある場合は、すべてを調査対象に含める
|
|
43
81
|
- Supervisorからフィードバックがある場合は、指摘を反映した計画を作成
|
|
44
|
-
|
|
45
|
-
計画が完了したら [PLANNER:DONE] を出力してください。
|
|
46
82
|
pass_previous_response: true
|
|
47
83
|
transitions:
|
|
48
84
|
- condition: done
|
|
@@ -58,9 +94,36 @@ steps:
|
|
|
58
94
|
- Grep
|
|
59
95
|
- WebSearch
|
|
60
96
|
- WebFetch
|
|
97
|
+
status_rules_prompt: |
|
|
98
|
+
# ⚠️ 必須: ステータス出力ルール ⚠️
|
|
99
|
+
|
|
100
|
+
**このタグがないとワークフローが停止します。**
|
|
101
|
+
最終出力には必ず以下のルールに従ったステータスタグを含めてください。
|
|
102
|
+
|
|
103
|
+
## 出力フォーマット
|
|
104
|
+
|
|
105
|
+
| 状況 | タグ |
|
|
106
|
+
|------|------|
|
|
107
|
+
| 調査完了 | `[DIGGER:DONE]` |
|
|
108
|
+
| 調査不可 | `[DIGGER:BLOCKED]` |
|
|
109
|
+
|
|
110
|
+
### 出力例
|
|
111
|
+
|
|
112
|
+
**DONE の場合:**
|
|
113
|
+
```
|
|
114
|
+
[DIGGER:DONE]
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
**BLOCKED の場合:**
|
|
118
|
+
```
|
|
119
|
+
[DIGGER:BLOCKED]
|
|
120
|
+
|
|
121
|
+
理由: {調査できなかった理由}
|
|
122
|
+
```
|
|
61
123
|
instruction_template: |
|
|
62
124
|
## ワークフロー状況
|
|
63
|
-
- イテレーション: {iteration}/{max_iterations}
|
|
125
|
+
- イテレーション: {iteration}/{max_iterations}(ワークフロー全体)
|
|
126
|
+
- ステップ実行回数: {step_iteration}(このステップの実行回数)
|
|
64
127
|
- ステップ: dig
|
|
65
128
|
|
|
66
129
|
## 元の調査依頼
|
|
@@ -84,8 +147,6 @@ steps:
|
|
|
84
147
|
- GitHub検索(gh コマンド)
|
|
85
148
|
- コードベース検索
|
|
86
149
|
- ファイル読み取り
|
|
87
|
-
|
|
88
|
-
調査が完了したら [DIGGER:DONE] を出力してください。
|
|
89
150
|
pass_previous_response: true
|
|
90
151
|
transitions:
|
|
91
152
|
- condition: done
|
|
@@ -101,9 +162,46 @@ steps:
|
|
|
101
162
|
- Grep
|
|
102
163
|
- WebSearch
|
|
103
164
|
- WebFetch
|
|
165
|
+
status_rules_prompt: |
|
|
166
|
+
# ⚠️ 必須: ステータス出力ルール ⚠️
|
|
167
|
+
|
|
168
|
+
**このタグがないとワークフローが停止します。**
|
|
169
|
+
最終出力には必ず以下のルールに従ったステータスタグを含めてください。
|
|
170
|
+
|
|
171
|
+
## 判定基準
|
|
172
|
+
|
|
173
|
+
| 状況 | 判定 |
|
|
174
|
+
|------|------|
|
|
175
|
+
| 調査結果が十分 | APPROVE |
|
|
176
|
+
| 調査結果が不十分 | REJECT |
|
|
177
|
+
|
|
178
|
+
## 出力フォーマット
|
|
179
|
+
|
|
180
|
+
| 状況 | タグ |
|
|
181
|
+
|------|------|
|
|
182
|
+
| 調査完了、結果は十分 | `[SUPERVISOR:APPROVE]` |
|
|
183
|
+
| 不十分、計画からやり直し | `[SUPERVISOR:REJECT]` |
|
|
184
|
+
|
|
185
|
+
### 出力例
|
|
186
|
+
|
|
187
|
+
**APPROVE の場合:**
|
|
188
|
+
```
|
|
189
|
+
[SUPERVISOR:APPROVE]
|
|
190
|
+
|
|
191
|
+
調査結果は元の依頼に対して十分です。
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
**REJECT の場合:**
|
|
195
|
+
```
|
|
196
|
+
[SUPERVISOR:REJECT]
|
|
197
|
+
|
|
198
|
+
不足点:
|
|
199
|
+
- {具体的な不足点}
|
|
200
|
+
```
|
|
104
201
|
instruction_template: |
|
|
105
202
|
## ワークフロー状況
|
|
106
|
-
- イテレーション: {iteration}/{max_iterations}
|
|
203
|
+
- イテレーション: {iteration}/{max_iterations}(ワークフロー全体)
|
|
204
|
+
- ステップ実行回数: {step_iteration}(このステップの実行回数)
|
|
107
205
|
- ステップ: supervise (調査品質評価)
|
|
108
206
|
|
|
109
207
|
## 元の調査依頼
|
|
@@ -115,10 +213,6 @@ steps:
|
|
|
115
213
|
## 指示
|
|
116
214
|
調査結果を評価し、元の依頼に対して十分な回答になっているか判断してください。
|
|
117
215
|
|
|
118
|
-
**評価結果の出力**:
|
|
119
|
-
- [SUPERVISOR:APPROVE] - 調査完了、結果は十分
|
|
120
|
-
- [SUPERVISOR:REJECT] - 不十分、計画からやり直し(具体的な不足点を指摘)
|
|
121
|
-
|
|
122
216
|
**重要**: 問題がある場合は、Plannerへの具体的な指示を含めてください。
|
|
123
217
|
pass_previous_response: true
|
|
124
218
|
transitions:
|