takt 0.2.1 → 0.2.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.
Files changed (57) hide show
  1. package/dist/cli.d.ts +1 -0
  2. package/dist/cli.d.ts.map +1 -1
  3. package/dist/cli.js +6 -1
  4. package/dist/cli.js.map +1 -1
  5. package/dist/commands/reviewTasks.d.ts +13 -2
  6. package/dist/commands/reviewTasks.d.ts.map +1 -1
  7. package/dist/commands/reviewTasks.js +145 -10
  8. package/dist/commands/reviewTasks.js.map +1 -1
  9. package/dist/commands/taskExecution.d.ts.map +1 -1
  10. package/dist/commands/taskExecution.js +5 -3
  11. package/dist/commands/taskExecution.js.map +1 -1
  12. package/dist/commands/workflowExecution.d.ts.map +1 -1
  13. package/dist/commands/workflowExecution.js +10 -9
  14. package/dist/commands/workflowExecution.js.map +1 -1
  15. package/dist/config/paths.d.ts +1 -1
  16. package/dist/config/paths.d.ts.map +1 -1
  17. package/dist/config/paths.js +3 -1
  18. package/dist/config/paths.js.map +1 -1
  19. package/dist/config/sessionStore.d.ts +10 -0
  20. package/dist/config/sessionStore.d.ts.map +1 -1
  21. package/dist/config/sessionStore.js +54 -0
  22. package/dist/config/sessionStore.js.map +1 -1
  23. package/dist/task/runner.d.ts +14 -0
  24. package/dist/task/runner.d.ts.map +1 -1
  25. package/dist/task/runner.js +30 -7
  26. package/dist/task/runner.js.map +1 -1
  27. package/dist/task/summarize.d.ts +20 -0
  28. package/dist/task/summarize.d.ts.map +1 -0
  29. package/dist/task/summarize.js +50 -0
  30. package/dist/task/summarize.js.map +1 -0
  31. package/dist/workflow/instruction-builder.d.ts +6 -5
  32. package/dist/workflow/instruction-builder.d.ts.map +1 -1
  33. package/dist/workflow/instruction-builder.js +35 -16
  34. package/dist/workflow/instruction-builder.js.map +1 -1
  35. package/package.json +1 -1
  36. package/resources/global/en/workflows/default.yaml +0 -50
  37. package/resources/global/en/workflows/{expert-review.yaml → expert-cqrs.yaml} +6 -48
  38. package/resources/global/en/workflows/expert.yaml +1099 -0
  39. package/resources/global/en/workflows/magi.yaml +0 -9
  40. package/resources/global/en/workflows/research.yaml +0 -9
  41. package/resources/global/en/workflows/simple.yaml +0 -25
  42. package/resources/global/ja/workflows/default.yaml +0 -50
  43. package/resources/global/ja/workflows/{expert-review.yaml → expert-cqrs.yaml} +6 -54
  44. package/resources/global/ja/workflows/expert.yaml +1099 -0
  45. package/resources/global/ja/workflows/magi.yaml +0 -9
  46. package/resources/global/ja/workflows/research.yaml +0 -9
  47. package/resources/global/ja/workflows/simple.yaml +0 -25
  48. /package/resources/global/en/agents/{expert-review → expert}/frontend-reviewer.md +0 -0
  49. /package/resources/global/en/agents/{expert-review → expert}/qa-reviewer.md +0 -0
  50. /package/resources/global/en/agents/{expert-review → expert}/security-reviewer.md +0 -0
  51. /package/resources/global/en/agents/{expert-review → expert}/supervisor.md +0 -0
  52. /package/resources/global/en/agents/{expert-review → expert-cqrs}/cqrs-es-reviewer.md +0 -0
  53. /package/resources/global/ja/agents/{expert-review → expert}/frontend-reviewer.md +0 -0
  54. /package/resources/global/ja/agents/{expert-review → expert}/qa-reviewer.md +0 -0
  55. /package/resources/global/ja/agents/{expert-review → expert}/security-reviewer.md +0 -0
  56. /package/resources/global/ja/agents/{expert-review → expert}/supervisor.md +0 -0
  57. /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
 
@@ -30,11 +30,6 @@ steps:
30
30
  - WebSearch
31
31
  - WebFetch
32
32
  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
33
  ## Judgment Criteria
39
34
 
40
35
  | Situation | Judgment |
@@ -150,11 +145,6 @@ steps:
150
145
  - WebFetch
151
146
  permission_mode: acceptEdits
152
147
  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
148
  ## Output Format
159
149
 
160
150
  | Situation | Tag |
@@ -250,11 +240,6 @@ steps:
250
240
  - WebSearch
251
241
  - WebFetch
252
242
  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
243
  ## Judgment Criteria
259
244
 
260
245
  | Situation | Judgment |
@@ -365,11 +350,6 @@ steps:
365
350
  - WebSearch
366
351
  - WebFetch
367
352
  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
353
  ## Judgment Criteria
374
354
 
375
355
  | Situation | Judgment |
@@ -475,11 +455,6 @@ steps:
475
455
  - WebSearch
476
456
  - WebFetch
477
457
  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
458
  ## Judgment Criteria
484
459
 
485
460
  | Situation | Judgment |
@@ -29,11 +29,6 @@ steps:
29
29
  - WebSearch
30
30
  - WebFetch
31
31
  status_rules_prompt: |
32
- # ⚠️ 必須: ステータス出力ルール ⚠️
33
-
34
- **このタグがないとワークフローが停止します。**
35
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
36
-
37
32
  ## 判定基準
38
33
 
39
34
  | 状況 | 判定 |
@@ -149,11 +144,6 @@ steps:
149
144
  - WebFetch
150
145
  permission_mode: acceptEdits
151
146
  status_rules_prompt: |
152
- # ⚠️ 必須: ステータス出力ルール ⚠️
153
-
154
- **このタグがないとワークフローが停止します。**
155
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
156
-
157
147
  ## 出力フォーマット
158
148
 
159
149
  | 状況 | タグ |
@@ -254,11 +244,6 @@ steps:
254
244
  - WebSearch
255
245
  - WebFetch
256
246
  status_rules_prompt: |
257
- # ⚠️ 必須: ステータス出力ルール ⚠️
258
-
259
- **このタグがないとワークフローが停止します。**
260
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
261
-
262
247
  ## 判定基準
263
248
 
264
249
  | 状況 | 判定 |
@@ -395,11 +380,6 @@ steps:
395
380
  - WebFetch
396
381
  permission_mode: acceptEdits
397
382
  status_rules_prompt: |
398
- # ⚠️ 必須: ステータス出力ルール ⚠️
399
-
400
- **このタグがないとワークフローが停止します。**
401
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
402
-
403
383
  ## 出力フォーマット
404
384
 
405
385
  | 状況 | タグ |
@@ -467,11 +447,6 @@ steps:
467
447
  - WebSearch
468
448
  - WebFetch
469
449
  status_rules_prompt: |
470
- # ⚠️ 必須: ステータス出力ルール ⚠️
471
-
472
- **このタグがないとワークフローが停止します。**
473
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
474
-
475
450
  ## 判定基準
476
451
 
477
452
  | 状況 | 判定 |
@@ -580,11 +555,6 @@ steps:
580
555
  - WebFetch
581
556
  permission_mode: acceptEdits
582
557
  status_rules_prompt: |
583
- # ⚠️ 必須: ステータス出力ルール ⚠️
584
-
585
- **このタグがないとワークフローが停止します。**
586
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
587
-
588
558
  ## 出力フォーマット
589
559
 
590
560
  | 状況 | タグ |
@@ -649,11 +619,6 @@ steps:
649
619
  - WebSearch
650
620
  - WebFetch
651
621
  status_rules_prompt: |
652
- # ⚠️ 必須: ステータス出力ルール ⚠️
653
-
654
- **このタグがないとワークフローが停止します。**
655
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
656
-
657
622
  ## 判定基準
658
623
 
659
624
  | 状況 | 判定 |
@@ -762,11 +727,6 @@ steps:
762
727
  - WebFetch
763
728
  permission_mode: acceptEdits
764
729
  status_rules_prompt: |
765
- # ⚠️ 必須: ステータス出力ルール ⚠️
766
-
767
- **このタグがないとワークフローが停止します。**
768
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
769
-
770
730
  ## 出力フォーマット
771
731
 
772
732
  | 状況 | タグ |
@@ -831,11 +791,6 @@ steps:
831
791
  - WebFetch
832
792
  permission_mode: acceptEdits
833
793
  status_rules_prompt: |
834
- # ⚠️ 必須: ステータス出力ルール ⚠️
835
-
836
- **このタグがないとワークフローが停止します。**
837
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
838
-
839
794
  ## 出力フォーマット
840
795
 
841
796
  | 状況 | タグ |
@@ -899,11 +854,6 @@ steps:
899
854
  - WebSearch
900
855
  - WebFetch
901
856
  status_rules_prompt: |
902
- # ⚠️ 必須: ステータス出力ルール ⚠️
903
-
904
- **このタグがないとワークフローが停止します。**
905
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
906
-
907
857
  ## 判定基準
908
858
 
909
859
  | 状況 | 判定 |
@@ -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
@@ -41,10 +41,7 @@ steps:
41
41
  - WebSearch
42
42
  - WebFetch
43
43
  status_rules_prompt: |
44
- # ⚠️ 必須: ステータス出力ルール ⚠️
45
44
 
46
- **このタグがないとワークフローが停止します。**
47
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
48
45
 
49
46
  ## 出力フォーマット
50
47
 
@@ -127,10 +124,7 @@ steps:
127
124
  - WebSearch
128
125
  - WebFetch
129
126
  status_rules_prompt: |
130
- # ⚠️ 必須: ステータス出力ルール ⚠️
131
127
 
132
- **このタグがないとワークフローが停止します。**
133
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
134
128
 
135
129
  ## 出力フォーマット
136
130
 
@@ -212,10 +206,7 @@ steps:
212
206
  - WebSearch
213
207
  - WebFetch
214
208
  status_rules_prompt: |
215
- # ⚠️ 必須: ステータス出力ルール ⚠️
216
209
 
217
- **このタグがないとワークフローが停止します。**
218
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
219
210
 
220
211
  ## 判定基準
221
212
 
@@ -317,10 +308,7 @@ steps:
317
308
  - WebFetch
318
309
  permission_mode: acceptEdits
319
310
  status_rules_prompt: |
320
- # ⚠️ 必須: ステータス出力ルール ⚠️
321
311
 
322
- **このタグがないとワークフローが停止します。**
323
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
324
312
 
325
313
  ## 出力フォーマット
326
314
 
@@ -361,7 +349,7 @@ steps:
361
349
  # Phase 3: CQRS+ES Review
362
350
  # ===========================================
363
351
  - name: cqrs_es_review
364
- agent: ~/.takt/agents/expert-review/cqrs-es-reviewer.md
352
+ agent: ~/.takt/agents/expert-cqrs/cqrs-es-reviewer.md
365
353
  allowed_tools:
366
354
  - Read
367
355
  - Glob
@@ -369,10 +357,7 @@ steps:
369
357
  - WebSearch
370
358
  - WebFetch
371
359
  status_rules_prompt: |
372
- # ⚠️ 必須: ステータス出力ルール ⚠️
373
360
 
374
- **このタグがないとワークフローが停止します。**
375
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
376
361
 
377
362
  ## 出力フォーマット
378
363
 
@@ -459,10 +444,7 @@ steps:
459
444
  - WebSearch
460
445
  - WebFetch
461
446
  status_rules_prompt: |
462
- # ⚠️ 必須: ステータス出力ルール ⚠️
463
447
 
464
- **このタグがないとワークフローが停止します。**
465
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
466
448
 
467
449
  ## 出力フォーマット
468
450
 
@@ -508,7 +490,7 @@ steps:
508
490
  # Phase 3: Frontend Review
509
491
  # ===========================================
510
492
  - name: frontend_review
511
- agent: ~/.takt/agents/expert-review/frontend-reviewer.md
493
+ agent: ~/.takt/agents/expert/frontend-reviewer.md
512
494
  allowed_tools:
513
495
  - Read
514
496
  - Glob
@@ -516,10 +498,7 @@ steps:
516
498
  - WebSearch
517
499
  - WebFetch
518
500
  status_rules_prompt: |
519
- # ⚠️ 必須: ステータス出力ルール ⚠️
520
501
 
521
- **このタグがないとワークフローが停止します。**
522
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
523
502
 
524
503
  ## 出力フォーマット
525
504
 
@@ -606,10 +585,7 @@ steps:
606
585
  - WebSearch
607
586
  - WebFetch
608
587
  status_rules_prompt: |
609
- # ⚠️ 必須: ステータス出力ルール ⚠️
610
588
 
611
- **このタグがないとワークフローが停止します。**
612
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
613
589
 
614
590
  ## 出力フォーマット
615
591
 
@@ -663,10 +639,7 @@ steps:
663
639
  - WebSearch
664
640
  - WebFetch
665
641
  status_rules_prompt: |
666
- # ⚠️ 必須: ステータス出力ルール ⚠️
667
642
 
668
- **このタグがないとワークフローが停止します。**
669
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
670
643
 
671
644
  ## 出力フォーマット
672
645
 
@@ -749,10 +722,7 @@ steps:
749
722
  - WebSearch
750
723
  - WebFetch
751
724
  status_rules_prompt: |
752
- # ⚠️ 必須: ステータス出力ルール ⚠️
753
725
 
754
- **このタグがないとワークフローが停止します。**
755
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
756
726
 
757
727
  ## 出力フォーマット
758
728
 
@@ -796,7 +766,7 @@ steps:
796
766
  # Phase 5: Security Review
797
767
  # ===========================================
798
768
  - name: security_review
799
- agent: ~/.takt/agents/expert-review/security-reviewer.md
769
+ agent: ~/.takt/agents/expert/security-reviewer.md
800
770
  allowed_tools:
801
771
  - Read
802
772
  - Glob
@@ -804,10 +774,7 @@ steps:
804
774
  - WebSearch
805
775
  - WebFetch
806
776
  status_rules_prompt: |
807
- # ⚠️ 必須: ステータス出力ルール ⚠️
808
777
 
809
- **このタグがないとワークフローが停止します。**
810
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
811
778
 
812
779
  ## 出力フォーマット
813
780
 
@@ -891,10 +858,7 @@ steps:
891
858
  - WebSearch
892
859
  - WebFetch
893
860
  status_rules_prompt: |
894
- # ⚠️ 必須: ステータス出力ルール ⚠️
895
861
 
896
- **このタグがないとワークフローが停止します。**
897
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
898
862
 
899
863
  ## 出力フォーマット
900
864
 
@@ -950,7 +914,7 @@ steps:
950
914
  # Phase 6: QA Review
951
915
  # ===========================================
952
916
  - name: qa_review
953
- agent: ~/.takt/agents/expert-review/qa-reviewer.md
917
+ agent: ~/.takt/agents/expert/qa-reviewer.md
954
918
  allowed_tools:
955
919
  - Read
956
920
  - Glob
@@ -958,10 +922,7 @@ steps:
958
922
  - WebSearch
959
923
  - WebFetch
960
924
  status_rules_prompt: |
961
- # ⚠️ 必須: ステータス出力ルール ⚠️
962
925
 
963
- **このタグがないとワークフローが停止します。**
964
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
965
926
 
966
927
  ## 出力フォーマット
967
928
 
@@ -1045,10 +1006,7 @@ steps:
1045
1006
  - WebSearch
1046
1007
  - WebFetch
1047
1008
  status_rules_prompt: |
1048
- # ⚠️ 必須: ステータス出力ルール ⚠️
1049
1009
 
1050
- **このタグがないとワークフローが停止します。**
1051
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
1052
1010
 
1053
1011
  ## 出力フォーマット
1054
1012
 
@@ -1109,7 +1067,7 @@ steps:
1109
1067
  # Phase 7: Supervision
1110
1068
  # ===========================================
1111
1069
  - name: supervise
1112
- agent: ~/.takt/agents/expert-review/supervisor.md
1070
+ agent: ~/.takt/agents/expert/supervisor.md
1113
1071
  allowed_tools:
1114
1072
  - Read
1115
1073
  - Glob
@@ -1117,10 +1075,7 @@ steps:
1117
1075
  - WebSearch
1118
1076
  - WebFetch
1119
1077
  status_rules_prompt: |
1120
- # ⚠️ 必須: ステータス出力ルール ⚠️
1121
1078
 
1122
- **このタグがないとワークフローが停止します。**
1123
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
1124
1079
 
1125
1080
  ## 出力フォーマット
1126
1081
 
@@ -1248,10 +1203,7 @@ steps:
1248
1203
  - WebSearch
1249
1204
  - WebFetch
1250
1205
  status_rules_prompt: |
1251
- # ⚠️ 必須: ステータス出力ルール ⚠️
1252
1206
 
1253
- **このタグがないとワークフローが停止します。**
1254
- 最終出力には必ず以下のルールに従ったステータスタグを含めてください。
1255
1207
 
1256
1208
  ## 出力フォーマット
1257
1209