takt 0.2.1 → 0.2.3

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 (121) hide show
  1. package/README.md +67 -38
  2. package/dist/cli.d.ts +4 -2
  3. package/dist/cli.d.ts.map +1 -1
  4. package/dist/cli.js +27 -17
  5. package/dist/cli.js.map +1 -1
  6. package/dist/commands/addTask.d.ts.map +1 -1
  7. package/dist/commands/addTask.js +6 -5
  8. package/dist/commands/addTask.js.map +1 -1
  9. package/dist/commands/help.js +3 -3
  10. package/dist/commands/index.d.ts +1 -1
  11. package/dist/commands/index.d.ts.map +1 -1
  12. package/dist/commands/index.js +1 -1
  13. package/dist/commands/index.js.map +1 -1
  14. package/dist/commands/listTasks.d.ts +45 -0
  15. package/dist/commands/listTasks.d.ts.map +1 -0
  16. package/dist/commands/listTasks.js +353 -0
  17. package/dist/commands/listTasks.js.map +1 -0
  18. package/dist/commands/taskExecution.d.ts +7 -5
  19. package/dist/commands/taskExecution.d.ts.map +1 -1
  20. package/dist/commands/taskExecution.js +26 -17
  21. package/dist/commands/taskExecution.js.map +1 -1
  22. package/dist/commands/workflowExecution.d.ts.map +1 -1
  23. package/dist/commands/workflowExecution.js +11 -10
  24. package/dist/commands/workflowExecution.js.map +1 -1
  25. package/dist/config/globalConfig.d.ts.map +1 -1
  26. package/dist/config/globalConfig.js +4 -0
  27. package/dist/config/globalConfig.js.map +1 -1
  28. package/dist/config/paths.d.ts +1 -1
  29. package/dist/config/paths.d.ts.map +1 -1
  30. package/dist/config/paths.js +3 -1
  31. package/dist/config/paths.js.map +1 -1
  32. package/dist/config/sessionStore.d.ts +10 -0
  33. package/dist/config/sessionStore.d.ts.map +1 -1
  34. package/dist/config/sessionStore.js +54 -0
  35. package/dist/config/sessionStore.js.map +1 -1
  36. package/dist/models/schemas.d.ts +1 -0
  37. package/dist/models/schemas.d.ts.map +1 -1
  38. package/dist/models/schemas.js +2 -0
  39. package/dist/models/schemas.js.map +1 -1
  40. package/dist/models/types.d.ts +2 -0
  41. package/dist/models/types.d.ts.map +1 -1
  42. package/dist/resources/index.d.ts.map +1 -1
  43. package/dist/resources/index.js +6 -3
  44. package/dist/resources/index.js.map +1 -1
  45. package/dist/task/autoCommit.d.ts +9 -6
  46. package/dist/task/autoCommit.d.ts.map +1 -1
  47. package/dist/task/autoCommit.js +21 -12
  48. package/dist/task/autoCommit.js.map +1 -1
  49. package/dist/task/branchList.d.ts +55 -0
  50. package/dist/task/branchList.d.ts.map +1 -0
  51. package/dist/task/branchList.js +131 -0
  52. package/dist/task/branchList.js.map +1 -0
  53. package/dist/task/clone.d.ts +53 -0
  54. package/dist/task/clone.d.ts.map +1 -0
  55. package/dist/task/clone.js +181 -0
  56. package/dist/task/clone.js.map +1 -0
  57. package/dist/task/index.d.ts +3 -2
  58. package/dist/task/index.d.ts.map +1 -1
  59. package/dist/task/index.js +3 -2
  60. package/dist/task/index.js.map +1 -1
  61. package/dist/task/runner.d.ts +14 -0
  62. package/dist/task/runner.d.ts.map +1 -1
  63. package/dist/task/runner.js +30 -7
  64. package/dist/task/runner.js.map +1 -1
  65. package/dist/task/schema.d.ts +4 -4
  66. package/dist/task/schema.js +4 -4
  67. package/dist/task/summarize.d.ts +22 -0
  68. package/dist/task/summarize.d.ts.map +1 -0
  69. package/dist/task/summarize.js +83 -0
  70. package/dist/task/summarize.js.map +1 -0
  71. package/dist/utils/updateNotifier.d.ts +6 -0
  72. package/dist/utils/updateNotifier.d.ts.map +1 -0
  73. package/dist/utils/updateNotifier.js +17 -0
  74. package/dist/utils/updateNotifier.js.map +1 -0
  75. package/dist/workflow/engine.d.ts +1 -1
  76. package/dist/workflow/engine.d.ts.map +1 -1
  77. package/dist/workflow/engine.js +10 -2
  78. package/dist/workflow/engine.js.map +1 -1
  79. package/dist/workflow/instruction-builder.d.ts +8 -7
  80. package/dist/workflow/instruction-builder.d.ts.map +1 -1
  81. package/dist/workflow/instruction-builder.js +39 -24
  82. package/dist/workflow/instruction-builder.js.map +1 -1
  83. package/package.json +4 -1
  84. package/resources/global/en/agents/default/{ai-reviewer.md → ai-antipattern-reviewer.md} +22 -1
  85. package/resources/global/en/agents/default/coder.md +3 -3
  86. package/resources/global/en/agents/default/planner.md +14 -1
  87. package/resources/global/en/workflows/default.yaml +6 -51
  88. package/resources/global/en/workflows/{expert-review.yaml → expert-cqrs.yaml} +14 -49
  89. package/resources/global/en/workflows/expert.yaml +1106 -0
  90. package/resources/global/en/workflows/magi.yaml +0 -9
  91. package/resources/global/en/workflows/research.yaml +0 -9
  92. package/resources/global/en/workflows/simple.yaml +5 -26
  93. package/resources/global/ja/agents/default/{ai-reviewer.md → ai-antipattern-reviewer.md} +22 -1
  94. package/resources/global/ja/agents/default/coder.md +3 -3
  95. package/resources/global/ja/agents/default/planner.md +14 -1
  96. package/resources/global/ja/workflows/default.yaml +6 -51
  97. package/resources/global/ja/workflows/{expert-review.yaml → expert-cqrs.yaml} +15 -55
  98. package/resources/global/ja/workflows/expert.yaml +1106 -0
  99. package/resources/global/ja/workflows/magi.yaml +0 -9
  100. package/resources/global/ja/workflows/research.yaml +0 -9
  101. package/resources/global/ja/workflows/simple.yaml +5 -26
  102. package/resources/project/dotgitignore +10 -0
  103. package/resources/project/tasks/TASK-FORMAT +37 -0
  104. package/dist/commands/reviewTasks.d.ts +0 -32
  105. package/dist/commands/reviewTasks.d.ts.map +0 -1
  106. package/dist/commands/reviewTasks.js +0 -198
  107. package/dist/commands/reviewTasks.js.map +0 -1
  108. package/dist/task/worktree.d.ts +0 -70
  109. package/dist/task/worktree.d.ts.map +0 -1
  110. package/dist/task/worktree.js +0 -221
  111. package/dist/task/worktree.js.map +0 -1
  112. /package/resources/global/en/agents/{expert-review → expert}/frontend-reviewer.md +0 -0
  113. /package/resources/global/en/agents/{expert-review → expert}/qa-reviewer.md +0 -0
  114. /package/resources/global/en/agents/{expert-review → expert}/security-reviewer.md +0 -0
  115. /package/resources/global/en/agents/{expert-review → expert}/supervisor.md +0 -0
  116. /package/resources/global/en/agents/{expert-review → expert-cqrs}/cqrs-es-reviewer.md +0 -0
  117. /package/resources/global/ja/agents/{expert-review → expert}/frontend-reviewer.md +0 -0
  118. /package/resources/global/ja/agents/{expert-review → expert}/qa-reviewer.md +0 -0
  119. /package/resources/global/ja/agents/{expert-review → expert}/security-reviewer.md +0 -0
  120. /package/resources/global/ja/agents/{expert-review → expert}/supervisor.md +0 -0
  121. /package/resources/global/ja/agents/{expert-review → expert-cqrs}/cqrs-es-reviewer.md +0 -0
@@ -27,10 +27,7 @@ steps:
27
27
  - WebSearch
28
28
  - WebFetch
29
29
  status_rules_prompt: |
30
- # ⚠️ REQUIRED: Status Output Rules ⚠️
31
30
 
32
- **Without this tag, the workflow will stop.**
33
- Your final output MUST include a status tag following the rules below.
34
31
 
35
32
  ## Output Format
36
33
 
@@ -69,10 +66,7 @@ steps:
69
66
  - WebSearch
70
67
  - WebFetch
71
68
  status_rules_prompt: |
72
- # ⚠️ REQUIRED: Status Output Rules ⚠️
73
69
 
74
- **Without this tag, the workflow will stop.**
75
- Your final output MUST include a status tag following the rules below.
76
70
 
77
71
  ## Output Format
78
72
 
@@ -116,10 +110,7 @@ steps:
116
110
  - WebSearch
117
111
  - WebFetch
118
112
  status_rules_prompt: |
119
- # ⚠️ REQUIRED: Status Output Rules ⚠️
120
113
 
121
- **Without this tag, the workflow will stop.**
122
- Your final output MUST include a status tag following the rules below.
123
114
 
124
115
  ## Output Format
125
116
 
@@ -31,10 +31,7 @@ steps:
31
31
  - WebSearch
32
32
  - WebFetch
33
33
  status_rules_prompt: |
34
- # ⚠️ REQUIRED: Status Output Rules ⚠️
35
34
 
36
- **Without this tag, the workflow will stop.**
37
- Your final output MUST include a status tag following the rules below.
38
35
 
39
36
  ## Output Format
40
37
 
@@ -95,10 +92,7 @@ steps:
95
92
  - WebSearch
96
93
  - WebFetch
97
94
  status_rules_prompt: |
98
- # ⚠️ REQUIRED: Status Output Rules ⚠️
99
95
 
100
- **Without this tag, the workflow will stop.**
101
- Your final output MUST include a status tag following the rules below.
102
96
 
103
97
  ## Output Format
104
98
 
@@ -163,10 +157,7 @@ steps:
163
157
  - WebSearch
164
158
  - WebFetch
165
159
  status_rules_prompt: |
166
- # ⚠️ REQUIRED: Status Output Rules ⚠️
167
160
 
168
- **Without this tag, the workflow will stop.**
169
- Your final output MUST include a status tag following the rules below.
170
161
 
171
162
  ## Judgment Criteria
172
163
 
@@ -26,15 +26,11 @@ steps:
26
26
  - Read
27
27
  - Glob
28
28
  - Grep
29
+ - Write
29
30
  - Bash
30
31
  - WebSearch
31
32
  - WebFetch
32
33
  status_rules_prompt: |
33
- # ⚠️ REQUIRED: Status Output Rules ⚠️
34
-
35
- **Without this tag, the workflow will stop.**
36
- Your final output MUST include a status tag following the rules below.
37
-
38
34
  ## Judgment Criteria
39
35
 
40
36
  | Situation | Judgment |
@@ -150,11 +146,6 @@ steps:
150
146
  - WebFetch
151
147
  permission_mode: acceptEdits
152
148
  status_rules_prompt: |
153
- # ⚠️ REQUIRED: Status Output Rules ⚠️
154
-
155
- **Without this tag, the workflow will stop.**
156
- Your final output MUST include a status tag following the rules below.
157
-
158
149
  ## Output Format
159
150
 
160
151
  | Situation | Tag |
@@ -247,14 +238,10 @@ steps:
247
238
  - Read
248
239
  - Glob
249
240
  - Grep
241
+ - Write
250
242
  - WebSearch
251
243
  - WebFetch
252
244
  status_rules_prompt: |
253
- # ⚠️ REQUIRED: Status Output Rules ⚠️
254
-
255
- **Without this tag, the workflow will stop.**
256
- Your final output MUST include a status tag following the rules below.
257
-
258
245
  ## Judgment Criteria
259
246
 
260
247
  | Situation | Judgment |
@@ -357,19 +344,15 @@ steps:
357
344
  next_step: plan
358
345
 
359
346
  - name: ai_review
360
- agent: ~/.takt/agents/default/ai-reviewer.md
347
+ agent: ~/.takt/agents/default/ai-antipattern-reviewer.md
361
348
  allowed_tools:
362
349
  - Read
363
350
  - Glob
364
351
  - Grep
352
+ - Write
365
353
  - WebSearch
366
354
  - WebFetch
367
355
  status_rules_prompt: |
368
- # ⚠️ REQUIRED: Status Output Rules ⚠️
369
-
370
- **Without this tag, the workflow will stop.**
371
- Your final output MUST include a status tag following the rules below.
372
-
373
356
  ## Judgment Criteria
374
357
 
375
358
  | Situation | Judgment |
@@ -471,15 +454,11 @@ steps:
471
454
  - Read
472
455
  - Glob
473
456
  - Grep
457
+ - Write
474
458
  - Bash
475
459
  - WebSearch
476
460
  - WebFetch
477
461
  status_rules_prompt: |
478
- # ⚠️ REQUIRED: Status Output Rules ⚠️
479
-
480
- **Without this tag, the workflow will stop.**
481
- Your final output MUST include a status tag following the rules below.
482
-
483
462
  ## Judgment Criteria
484
463
 
485
464
  | Situation | Judgment |
@@ -119,7 +119,28 @@ AI生成コードには特有の特徴があります:
119
119
  2. 公開モジュール(index ファイル等)のエクスポート一覧と実体が一致しているか確認
120
120
  3. 新規追加されたコードに対応する古いコードが残っていないか確認
121
121
 
122
- ### 7. 決定トレーサビリティレビュー
122
+ ### 7. フォールバック禁止レビュー(REJECT基準)
123
+
124
+ **AIは不確実性を隠すためにフォールバックを多用する。これは原則REJECT。**
125
+
126
+ | パターン | 例 | 判定 |
127
+ |---------|-----|------|
128
+ | デフォルト値で握りつぶし | `?? 'unknown'`、`\|\| 'default'`、`?? []` | REJECT |
129
+ | try-catch で空値返却 | `catch { return ''; }` `catch { return 0; }` | REJECT |
130
+ | 条件分岐でサイレント無視 | `if (!x) return;` で本来エラーの状況をスキップ | REJECT |
131
+ | 多段フォールバック | `a ?? b ?? c ?? d` | REJECT |
132
+
133
+ **例外(REJECTしない):**
134
+ - 外部入力(ユーザー入力、API応答)のバリデーション時のデフォルト値
135
+ - 明示的にコメントで理由が記載されているフォールバック
136
+ - 設定ファイルのオプショナル値に対するデフォルト
137
+
138
+ **検証アプローチ:**
139
+ 1. 変更差分で `??`、`||`、`catch` を grep
140
+ 2. 各フォールバックに正当な理由があるか確認
141
+ 3. 理由なしのフォールバックが1つでもあれば REJECT
142
+
143
+ ### 8. 決定トレーサビリティレビュー
123
144
 
124
145
  **Coderの決定ログが妥当か検証する。**
125
146
 
@@ -32,6 +32,7 @@
32
32
  - 何を作るのか(機能・振る舞い)
33
33
  - どこに作るのか(ファイル・モジュール)
34
34
  - 既存コードとの関係(依存・影響範囲)
35
+ - ドキュメント・設定を更新する場合: 記述する内容のソース・オブ・トゥルース(実際のファイル名、設定値、コマンド名は推測せず実コードで確認)
35
36
 
36
37
  **不明点があれば `[BLOCKED]` で報告。** 推測で進めない。
37
38
 
@@ -91,6 +92,7 @@
91
92
  | テスト | テスト実行 |
92
93
  | 要求充足 | 元のタスク要求と照合 |
93
94
  | デッドコード | 変更・削除した機能を参照する未使用コードが残っていないか確認(未使用の関数、変数、インポート、エクスポート、型定義、到達不能コード) |
95
+ | 事実の正確性 | ドキュメントや設定に書いた名前・値・振る舞いが、実際のコードベースと一致しているか確認 |
94
96
 
95
97
  **すべて確認してから `[DONE]` を出力。**
96
98
 
@@ -106,8 +108,6 @@
106
108
  | ボーイスカウト | 触った箇所は少し改善して去る |
107
109
  | Fail Fast | エラーは早期に検出。握りつぶさない |
108
110
 
109
- **迷ったら**: Simple を選ぶ。
110
-
111
111
  ## 抽象化の原則
112
112
 
113
113
  **条件分岐を追加する前に考える:**
@@ -290,7 +290,7 @@ test('ユーザーが存在しない場合、NotFoundエラーを返す', async
290
290
 
291
291
  ## 禁止事項
292
292
 
293
- - **フォールバック値の乱用** - `?? 'unknown'`、`|| 'default'` で問題を隠さない
293
+ - **フォールバックは原則禁止** - `?? 'unknown'`、`|| 'default'`、`try-catch` で握りつぶすフォールバックを書かない。エラーは上位に伝播させる。どうしても必要な場合はコメントで理由を明記する
294
294
  - **説明コメント** - コードで意図を表現する
295
295
  - **未使用コード** - 「念のため」のコードは書かない
296
296
  - **any型** - 型安全を破壊しない
@@ -33,7 +33,20 @@
33
33
  - 依存関係
34
34
  - テストへの影響
35
35
 
36
- ### 3. 実装アプローチ
36
+ ### 3. 情報の裏取り(ファクトチェック)
37
+
38
+ 分析で使用する情報は必ずソース・オブ・トゥルースで裏取りする:
39
+
40
+ | 情報の種類 | ソース・オブ・トゥルース |
41
+ |-----------|----------------------|
42
+ | コードの振る舞い | 実際のソースコード |
43
+ | 設定値・名前 | 実際の設定ファイル・定義ファイル |
44
+ | API・コマンド | 実際の実装コード |
45
+ | ドキュメント記述 | 実際のコードベースと突合 |
46
+
47
+ **推測で書かない。** 名前・値・振る舞いは必ずコードで確認する。
48
+
49
+ ### 4. 実装アプローチ
37
50
 
38
51
  実装の方向性を決める:
39
52
 
@@ -25,15 +25,11 @@ steps:
25
25
  - Read
26
26
  - Glob
27
27
  - Grep
28
+ - Write
28
29
  - Bash
29
30
  - WebSearch
30
31
  - WebFetch
31
32
  status_rules_prompt: |
32
- # ⚠️ 必須: ステータス出力ルール ⚠️
33
-
34
- **このタグがないとワークフローが停止します。**
35
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
36
-
37
33
  ## 判定基準
38
34
 
39
35
  | 状況 | 判定 |
@@ -149,11 +145,6 @@ steps:
149
145
  - WebFetch
150
146
  permission_mode: acceptEdits
151
147
  status_rules_prompt: |
152
- # ⚠️ 必須: ステータス出力ルール ⚠️
153
-
154
- **このタグがないとワークフローが停止します。**
155
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
156
-
157
148
  ## 出力フォーマット
158
149
 
159
150
  | 状況 | タグ |
@@ -251,14 +242,10 @@ steps:
251
242
  - Read
252
243
  - Glob
253
244
  - Grep
245
+ - Write
254
246
  - WebSearch
255
247
  - WebFetch
256
248
  status_rules_prompt: |
257
- # ⚠️ 必須: ステータス出力ルール ⚠️
258
-
259
- **このタグがないとワークフローが停止します。**
260
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
261
-
262
249
  ## 判定基準
263
250
 
264
251
  | 状況 | 判定 |
@@ -395,11 +382,6 @@ steps:
395
382
  - WebFetch
396
383
  permission_mode: acceptEdits
397
384
  status_rules_prompt: |
398
- # ⚠️ 必須: ステータス出力ルール ⚠️
399
-
400
- **このタグがないとワークフローが停止します。**
401
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
402
-
403
385
  ## 出力フォーマット
404
386
 
405
387
  | 状況 | タグ |
@@ -459,19 +441,15 @@ steps:
459
441
  next_step: plan
460
442
 
461
443
  - name: ai_review
462
- agent: ~/.takt/agents/default/ai-reviewer.md
444
+ agent: ~/.takt/agents/default/ai-antipattern-reviewer.md
463
445
  allowed_tools:
464
446
  - Read
465
447
  - Glob
466
448
  - Grep
449
+ - Write
467
450
  - WebSearch
468
451
  - WebFetch
469
452
  status_rules_prompt: |
470
- # ⚠️ 必須: ステータス出力ルール ⚠️
471
-
472
- **このタグがないとワークフローが停止します。**
473
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
474
-
475
453
  ## 判定基準
476
454
 
477
455
  | 状況 | 判定 |
@@ -580,11 +558,6 @@ steps:
580
558
  - WebFetch
581
559
  permission_mode: acceptEdits
582
560
  status_rules_prompt: |
583
- # ⚠️ 必須: ステータス出力ルール ⚠️
584
-
585
- **このタグがないとワークフローが停止します。**
586
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
587
-
588
561
  ## 出力フォーマット
589
562
 
590
563
  | 状況 | タグ |
@@ -646,14 +619,10 @@ steps:
646
619
  - Read
647
620
  - Glob
648
621
  - Grep
622
+ - Write
649
623
  - WebSearch
650
624
  - WebFetch
651
625
  status_rules_prompt: |
652
- # ⚠️ 必須: ステータス出力ルール ⚠️
653
-
654
- **このタグがないとワークフローが停止します。**
655
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
656
-
657
626
  ## 判定基準
658
627
 
659
628
  | 状況 | 判定 |
@@ -762,11 +731,6 @@ steps:
762
731
  - WebFetch
763
732
  permission_mode: acceptEdits
764
733
  status_rules_prompt: |
765
- # ⚠️ 必須: ステータス出力ルール ⚠️
766
-
767
- **このタグがないとワークフローが停止します。**
768
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
769
-
770
734
  ## 出力フォーマット
771
735
 
772
736
  | 状況 | タグ |
@@ -831,11 +795,6 @@ steps:
831
795
  - WebFetch
832
796
  permission_mode: acceptEdits
833
797
  status_rules_prompt: |
834
- # ⚠️ 必須: ステータス出力ルール ⚠️
835
-
836
- **このタグがないとワークフローが停止します。**
837
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
838
-
839
798
  ## 出力フォーマット
840
799
 
841
800
  | 状況 | タグ |
@@ -895,15 +854,11 @@ steps:
895
854
  - Read
896
855
  - Glob
897
856
  - Grep
857
+ - Write
898
858
  - Bash
899
859
  - WebSearch
900
860
  - WebFetch
901
861
  status_rules_prompt: |
902
- # ⚠️ 必須: ステータス出力ルール ⚠️
903
-
904
- **このタグがないとワークフローが停止します。**
905
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
906
-
907
862
  ## 判定基準
908
863
 
909
864
  | 状況 | 判定 |
@@ -20,7 +20,7 @@
20
20
  # {user_inputs} - ワークフロー中に蓄積されたユーザー入力
21
21
  # {report_dir} - レポートディレクトリ名(例: "20250126-143052-task-summary")
22
22
 
23
- name: expert-review
23
+ name: expert-cqrs
24
24
  description: CQRS+ES・フロントエンド・セキュリティ・QA専門家レビュー
25
25
 
26
26
  max_iterations: 20
@@ -37,14 +37,12 @@ steps:
37
37
  - Read
38
38
  - Glob
39
39
  - Grep
40
+ - Write
40
41
  - Bash
41
42
  - WebSearch
42
43
  - WebFetch
43
44
  status_rules_prompt: |
44
- # ⚠️ 必須: ステータス出力ルール ⚠️
45
45
 
46
- **このタグがないとワークフローが停止します。**
47
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
48
46
 
49
47
  ## 出力フォーマット
50
48
 
@@ -127,10 +125,7 @@ steps:
127
125
  - WebSearch
128
126
  - WebFetch
129
127
  status_rules_prompt: |
130
- # ⚠️ 必須: ステータス出力ルール ⚠️
131
128
 
132
- **このタグがないとワークフローが停止します。**
133
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
134
129
 
135
130
  ## 出力フォーマット
136
131
 
@@ -209,13 +204,11 @@ steps:
209
204
  - Read
210
205
  - Glob
211
206
  - Grep
207
+ - Write
212
208
  - WebSearch
213
209
  - WebFetch
214
210
  status_rules_prompt: |
215
- # ⚠️ 必須: ステータス出力ルール ⚠️
216
211
 
217
- **このタグがないとワークフローが停止します。**
218
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
219
212
 
220
213
  ## 判定基準
221
214
 
@@ -317,10 +310,7 @@ steps:
317
310
  - WebFetch
318
311
  permission_mode: acceptEdits
319
312
  status_rules_prompt: |
320
- # ⚠️ 必須: ステータス出力ルール ⚠️
321
313
 
322
- **このタグがないとワークフローが停止します。**
323
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
324
314
 
325
315
  ## 出力フォーマット
326
316
 
@@ -361,18 +351,16 @@ steps:
361
351
  # Phase 3: CQRS+ES Review
362
352
  # ===========================================
363
353
  - name: cqrs_es_review
364
- agent: ~/.takt/agents/expert-review/cqrs-es-reviewer.md
354
+ agent: ~/.takt/agents/expert-cqrs/cqrs-es-reviewer.md
365
355
  allowed_tools:
366
356
  - Read
367
357
  - Glob
368
358
  - Grep
359
+ - Write
369
360
  - WebSearch
370
361
  - WebFetch
371
362
  status_rules_prompt: |
372
- # ⚠️ 必須: ステータス出力ルール ⚠️
373
363
 
374
- **このタグがないとワークフローが停止します。**
375
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
376
364
 
377
365
  ## 出力フォーマット
378
366
 
@@ -459,10 +447,7 @@ steps:
459
447
  - WebSearch
460
448
  - WebFetch
461
449
  status_rules_prompt: |
462
- # ⚠️ 必須: ステータス出力ルール ⚠️
463
450
 
464
- **このタグがないとワークフローが停止します。**
465
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
466
451
 
467
452
  ## 出力フォーマット
468
453
 
@@ -508,18 +493,16 @@ steps:
508
493
  # Phase 3: Frontend Review
509
494
  # ===========================================
510
495
  - name: frontend_review
511
- agent: ~/.takt/agents/expert-review/frontend-reviewer.md
496
+ agent: ~/.takt/agents/expert/frontend-reviewer.md
512
497
  allowed_tools:
513
498
  - Read
514
499
  - Glob
515
500
  - Grep
501
+ - Write
516
502
  - WebSearch
517
503
  - WebFetch
518
504
  status_rules_prompt: |
519
- # ⚠️ 必須: ステータス出力ルール ⚠️
520
505
 
521
- **このタグがないとワークフローが停止します。**
522
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
523
506
 
524
507
  ## 出力フォーマット
525
508
 
@@ -606,10 +589,7 @@ steps:
606
589
  - WebSearch
607
590
  - WebFetch
608
591
  status_rules_prompt: |
609
- # ⚠️ 必須: ステータス出力ルール ⚠️
610
592
 
611
- **このタグがないとワークフローが停止します。**
612
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
613
593
 
614
594
  ## 出力フォーマット
615
595
 
@@ -655,18 +635,16 @@ steps:
655
635
  # Phase 4: AI Review
656
636
  # ===========================================
657
637
  - name: ai_review
658
- agent: ~/.takt/agents/default/ai-reviewer.md
638
+ agent: ~/.takt/agents/default/ai-antipattern-reviewer.md
659
639
  allowed_tools:
660
640
  - Read
661
641
  - Glob
662
642
  - Grep
643
+ - Write
663
644
  - WebSearch
664
645
  - WebFetch
665
646
  status_rules_prompt: |
666
- # ⚠️ 必須: ステータス出力ルール ⚠️
667
647
 
668
- **このタグがないとワークフローが停止します。**
669
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
670
648
 
671
649
  ## 出力フォーマット
672
650
 
@@ -749,10 +727,7 @@ steps:
749
727
  - WebSearch
750
728
  - WebFetch
751
729
  status_rules_prompt: |
752
- # ⚠️ 必須: ステータス出力ルール ⚠️
753
730
 
754
- **このタグがないとワークフローが停止します。**
755
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
756
731
 
757
732
  ## 出力フォーマット
758
733
 
@@ -796,18 +771,16 @@ steps:
796
771
  # Phase 5: Security Review
797
772
  # ===========================================
798
773
  - name: security_review
799
- agent: ~/.takt/agents/expert-review/security-reviewer.md
774
+ agent: ~/.takt/agents/expert/security-reviewer.md
800
775
  allowed_tools:
801
776
  - Read
802
777
  - Glob
803
778
  - Grep
779
+ - Write
804
780
  - WebSearch
805
781
  - WebFetch
806
782
  status_rules_prompt: |
807
- # ⚠️ 必須: ステータス出力ルール ⚠️
808
783
 
809
- **このタグがないとワークフローが停止します。**
810
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
811
784
 
812
785
  ## 出力フォーマット
813
786
 
@@ -891,10 +864,7 @@ steps:
891
864
  - WebSearch
892
865
  - WebFetch
893
866
  status_rules_prompt: |
894
- # ⚠️ 必須: ステータス出力ルール ⚠️
895
867
 
896
- **このタグがないとワークフローが停止します。**
897
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
898
868
 
899
869
  ## 出力フォーマット
900
870
 
@@ -950,18 +920,16 @@ steps:
950
920
  # Phase 6: QA Review
951
921
  # ===========================================
952
922
  - name: qa_review
953
- agent: ~/.takt/agents/expert-review/qa-reviewer.md
923
+ agent: ~/.takt/agents/expert/qa-reviewer.md
954
924
  allowed_tools:
955
925
  - Read
956
926
  - Glob
957
927
  - Grep
928
+ - Write
958
929
  - WebSearch
959
930
  - WebFetch
960
931
  status_rules_prompt: |
961
- # ⚠️ 必須: ステータス出力ルール ⚠️
962
932
 
963
- **このタグがないとワークフローが停止します。**
964
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
965
933
 
966
934
  ## 出力フォーマット
967
935
 
@@ -1045,10 +1013,7 @@ steps:
1045
1013
  - WebSearch
1046
1014
  - WebFetch
1047
1015
  status_rules_prompt: |
1048
- # ⚠️ 必須: ステータス出力ルール ⚠️
1049
1016
 
1050
- **このタグがないとワークフローが停止します。**
1051
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
1052
1017
 
1053
1018
  ## 出力フォーマット
1054
1019
 
@@ -1109,18 +1074,16 @@ steps:
1109
1074
  # Phase 7: Supervision
1110
1075
  # ===========================================
1111
1076
  - name: supervise
1112
- agent: ~/.takt/agents/expert-review/supervisor.md
1077
+ agent: ~/.takt/agents/expert/supervisor.md
1113
1078
  allowed_tools:
1114
1079
  - Read
1115
1080
  - Glob
1116
1081
  - Grep
1082
+ - Write
1117
1083
  - WebSearch
1118
1084
  - WebFetch
1119
1085
  status_rules_prompt: |
1120
- # ⚠️ 必須: ステータス出力ルール ⚠️
1121
1086
 
1122
- **このタグがないとワークフローが停止します。**
1123
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
1124
1087
 
1125
1088
  ## 出力フォーマット
1126
1089
 
@@ -1248,10 +1211,7 @@ steps:
1248
1211
  - WebSearch
1249
1212
  - WebFetch
1250
1213
  status_rules_prompt: |
1251
- # ⚠️ 必須: ステータス出力ルール ⚠️
1252
1214
 
1253
- **このタグがないとワークフローが停止します。**
1254
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
1255
1215
 
1256
1216
  ## 出力フォーマット
1257
1217