takt 0.2.2 → 0.3.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.
Files changed (210) hide show
  1. package/README.md +223 -166
  2. package/dist/agents/runner.d.ts +2 -4
  3. package/dist/agents/runner.d.ts.map +1 -1
  4. package/dist/agents/runner.js +6 -35
  5. package/dist/agents/runner.js.map +1 -1
  6. package/dist/claude/client.d.ts +31 -6
  7. package/dist/claude/client.d.ts.map +1 -1
  8. package/dist/claude/client.js +78 -30
  9. package/dist/claude/client.js.map +1 -1
  10. package/dist/claude/index.d.ts +1 -1
  11. package/dist/claude/index.d.ts.map +1 -1
  12. package/dist/claude/index.js +1 -1
  13. package/dist/claude/index.js.map +1 -1
  14. package/dist/cli.d.ts +4 -3
  15. package/dist/cli.d.ts.map +1 -1
  16. package/dist/cli.js +41 -20
  17. package/dist/cli.js.map +1 -1
  18. package/dist/codex/client.d.ts +0 -1
  19. package/dist/codex/client.d.ts.map +1 -1
  20. package/dist/codex/client.js +3 -6
  21. package/dist/codex/client.js.map +1 -1
  22. package/dist/commands/addTask.d.ts.map +1 -1
  23. package/dist/commands/addTask.js +23 -7
  24. package/dist/commands/addTask.js.map +1 -1
  25. package/dist/commands/eject.d.ts +13 -0
  26. package/dist/commands/eject.d.ts.map +1 -0
  27. package/dist/commands/eject.js +105 -0
  28. package/dist/commands/eject.js.map +1 -0
  29. package/dist/commands/help.d.ts.map +1 -1
  30. package/dist/commands/help.js +12 -5
  31. package/dist/commands/help.js.map +1 -1
  32. package/dist/commands/index.d.ts +2 -1
  33. package/dist/commands/index.d.ts.map +1 -1
  34. package/dist/commands/index.js +2 -1
  35. package/dist/commands/index.js.map +1 -1
  36. package/dist/commands/listTasks.d.ts +45 -0
  37. package/dist/commands/listTasks.d.ts.map +1 -0
  38. package/dist/commands/{reviewTasks.js → listTasks.js} +93 -73
  39. package/dist/commands/listTasks.js.map +1 -0
  40. package/dist/commands/refreshBuiltin.d.ts +4 -4
  41. package/dist/commands/refreshBuiltin.d.ts.map +1 -1
  42. package/dist/commands/refreshBuiltin.js +13 -29
  43. package/dist/commands/refreshBuiltin.js.map +1 -1
  44. package/dist/commands/taskExecution.d.ts +7 -5
  45. package/dist/commands/taskExecution.d.ts.map +1 -1
  46. package/dist/commands/taskExecution.js +21 -14
  47. package/dist/commands/taskExecution.js.map +1 -1
  48. package/dist/commands/workflowExecution.d.ts.map +1 -1
  49. package/dist/commands/workflowExecution.js +88 -21
  50. package/dist/commands/workflowExecution.js.map +1 -1
  51. package/dist/config/agentLoader.d.ts +3 -1
  52. package/dist/config/agentLoader.d.ts.map +1 -1
  53. package/dist/config/agentLoader.js +17 -24
  54. package/dist/config/agentLoader.js.map +1 -1
  55. package/dist/config/globalConfig.d.ts +2 -0
  56. package/dist/config/globalConfig.d.ts.map +1 -1
  57. package/dist/config/globalConfig.js +18 -0
  58. package/dist/config/globalConfig.js.map +1 -1
  59. package/dist/config/initialization.d.ts +7 -5
  60. package/dist/config/initialization.d.ts.map +1 -1
  61. package/dist/config/initialization.js +23 -21
  62. package/dist/config/initialization.js.map +1 -1
  63. package/dist/config/paths.d.ts +5 -0
  64. package/dist/config/paths.d.ts.map +1 -1
  65. package/dist/config/paths.js +9 -0
  66. package/dist/config/paths.js.map +1 -1
  67. package/dist/config/workflowLoader.d.ts +6 -4
  68. package/dist/config/workflowLoader.d.ts.map +1 -1
  69. package/dist/config/workflowLoader.js +190 -35
  70. package/dist/config/workflowLoader.js.map +1 -1
  71. package/dist/github/issue.d.ts +72 -0
  72. package/dist/github/issue.d.ts.map +1 -0
  73. package/dist/github/issue.js +143 -0
  74. package/dist/github/issue.js.map +1 -0
  75. package/dist/models/index.d.ts +1 -1
  76. package/dist/models/index.d.ts.map +1 -1
  77. package/dist/models/index.js.map +1 -1
  78. package/dist/models/schemas.d.ts +165 -90
  79. package/dist/models/schemas.d.ts.map +1 -1
  80. package/dist/models/schemas.js +79 -51
  81. package/dist/models/schemas.js.map +1 -1
  82. package/dist/models/types.d.ts +53 -20
  83. package/dist/models/types.d.ts.map +1 -1
  84. package/dist/providers/claude.js +2 -2
  85. package/dist/providers/claude.js.map +1 -1
  86. package/dist/providers/codex.d.ts.map +1 -1
  87. package/dist/providers/codex.js +0 -2
  88. package/dist/providers/codex.js.map +1 -1
  89. package/dist/providers/index.d.ts +2 -1
  90. package/dist/providers/index.d.ts.map +1 -1
  91. package/dist/providers/index.js.map +1 -1
  92. package/dist/resources/index.d.ts +3 -22
  93. package/dist/resources/index.d.ts.map +1 -1
  94. package/dist/resources/index.js +9 -76
  95. package/dist/resources/index.js.map +1 -1
  96. package/dist/task/autoCommit.d.ts +9 -6
  97. package/dist/task/autoCommit.d.ts.map +1 -1
  98. package/dist/task/autoCommit.js +21 -12
  99. package/dist/task/autoCommit.js.map +1 -1
  100. package/dist/task/branchList.d.ts +55 -0
  101. package/dist/task/branchList.d.ts.map +1 -0
  102. package/dist/task/branchList.js +131 -0
  103. package/dist/task/branchList.js.map +1 -0
  104. package/dist/task/clone.d.ts +53 -0
  105. package/dist/task/clone.d.ts.map +1 -0
  106. package/dist/task/clone.js +181 -0
  107. package/dist/task/clone.js.map +1 -0
  108. package/dist/task/index.d.ts +3 -2
  109. package/dist/task/index.d.ts.map +1 -1
  110. package/dist/task/index.js +3 -2
  111. package/dist/task/index.js.map +1 -1
  112. package/dist/task/schema.d.ts +4 -4
  113. package/dist/task/schema.js +4 -4
  114. package/dist/task/summarize.d.ts +7 -5
  115. package/dist/task/summarize.d.ts.map +1 -1
  116. package/dist/task/summarize.js +62 -29
  117. package/dist/task/summarize.js.map +1 -1
  118. package/dist/utils/session.d.ts +74 -10
  119. package/dist/utils/session.d.ts.map +1 -1
  120. package/dist/utils/session.js +101 -51
  121. package/dist/utils/session.js.map +1 -1
  122. package/dist/utils/updateNotifier.d.ts +6 -0
  123. package/dist/utils/updateNotifier.d.ts.map +1 -0
  124. package/dist/utils/updateNotifier.js +17 -0
  125. package/dist/utils/updateNotifier.js.map +1 -0
  126. package/dist/workflow/engine.d.ts +35 -2
  127. package/dist/workflow/engine.d.ts.map +1 -1
  128. package/dist/workflow/engine.js +238 -38
  129. package/dist/workflow/engine.js.map +1 -1
  130. package/dist/workflow/index.d.ts +1 -1
  131. package/dist/workflow/index.d.ts.map +1 -1
  132. package/dist/workflow/index.js +1 -1
  133. package/dist/workflow/index.js.map +1 -1
  134. package/dist/workflow/instruction-builder.d.ts +89 -20
  135. package/dist/workflow/instruction-builder.d.ts.map +1 -1
  136. package/dist/workflow/instruction-builder.js +404 -61
  137. package/dist/workflow/instruction-builder.js.map +1 -1
  138. package/dist/workflow/parallel-logger.d.ts +76 -0
  139. package/dist/workflow/parallel-logger.d.ts.map +1 -0
  140. package/dist/workflow/parallel-logger.js +173 -0
  141. package/dist/workflow/parallel-logger.js.map +1 -0
  142. package/dist/workflow/phase-runner.d.ts +40 -0
  143. package/dist/workflow/phase-runner.d.ts.map +1 -0
  144. package/dist/workflow/phase-runner.js +69 -0
  145. package/dist/workflow/phase-runner.js.map +1 -0
  146. package/dist/workflow/rule-evaluator.d.ts +64 -0
  147. package/dist/workflow/rule-evaluator.d.ts.map +1 -0
  148. package/dist/workflow/rule-evaluator.js +178 -0
  149. package/dist/workflow/rule-evaluator.js.map +1 -0
  150. package/dist/workflow/rule-utils.d.ts +13 -0
  151. package/dist/workflow/rule-utils.d.ts.map +1 -0
  152. package/dist/workflow/rule-utils.js +17 -0
  153. package/dist/workflow/rule-utils.js.map +1 -0
  154. package/dist/workflow/transitions.d.ts +5 -13
  155. package/dist/workflow/transitions.d.ts.map +1 -1
  156. package/dist/workflow/transitions.js +8 -78
  157. package/dist/workflow/transitions.js.map +1 -1
  158. package/dist/workflow/types.d.ts +2 -1
  159. package/dist/workflow/types.d.ts.map +1 -1
  160. package/package.json +4 -1
  161. package/resources/global/en/agents/default/ai-antipattern-reviewer.md +193 -0
  162. package/resources/global/en/agents/default/{architect.md → architecture-reviewer.md} +144 -44
  163. package/resources/global/en/agents/default/coder.md +7 -7
  164. package/resources/global/en/agents/default/planner.md +29 -9
  165. package/resources/global/en/agents/default/{security.md → security-reviewer.md} +23 -5
  166. package/resources/global/en/agents/default/supervisor.md +13 -2
  167. package/resources/global/en/agents/expert/frontend-reviewer.md +0 -17
  168. package/resources/global/en/agents/expert/qa-reviewer.md +0 -16
  169. package/resources/global/en/agents/expert/security-reviewer.md +0 -16
  170. package/resources/global/en/agents/expert-cqrs/cqrs-es-reviewer.md +0 -17
  171. package/resources/global/en/agents/templates/coder.md +128 -0
  172. package/resources/global/en/agents/templates/planner.md +44 -0
  173. package/resources/global/en/agents/templates/reviewer.md +57 -0
  174. package/resources/global/en/agents/templates/supervisor.md +64 -0
  175. package/resources/global/en/workflows/default.yaml +235 -770
  176. package/resources/global/en/workflows/expert-cqrs.yaml +325 -697
  177. package/resources/global/en/workflows/expert.yaml +354 -722
  178. package/resources/global/en/workflows/magi.yaml +45 -52
  179. package/resources/global/en/workflows/research.yaml +18 -99
  180. package/resources/global/en/workflows/simple.yaml +156 -421
  181. package/resources/global/ja/agents/default/{ai-reviewer.md → ai-antipattern-reviewer.md} +92 -15
  182. package/resources/global/ja/agents/default/{architect.md → architecture-reviewer.md} +148 -48
  183. package/resources/global/ja/agents/default/coder.md +7 -7
  184. package/resources/global/ja/agents/default/planner.md +29 -9
  185. package/resources/global/ja/agents/default/{security.md → security-reviewer.md} +23 -5
  186. package/resources/global/ja/agents/default/supervisor.md +13 -2
  187. package/resources/global/ja/agents/expert/frontend-reviewer.md +0 -18
  188. package/resources/global/ja/agents/expert/qa-reviewer.md +0 -16
  189. package/resources/global/ja/agents/expert/security-reviewer.md +0 -16
  190. package/resources/global/ja/agents/expert-cqrs/cqrs-es-reviewer.md +0 -18
  191. package/resources/global/ja/agents/templates/coder.md +128 -0
  192. package/resources/global/ja/agents/templates/planner.md +44 -0
  193. package/resources/global/ja/agents/templates/reviewer.md +57 -0
  194. package/resources/global/ja/agents/templates/supervisor.md +64 -0
  195. package/resources/global/ja/workflows/default.yaml +230 -771
  196. package/resources/global/ja/workflows/expert-cqrs.yaml +316 -832
  197. package/resources/global/ja/workflows/expert.yaml +331 -711
  198. package/resources/global/ja/workflows/magi.yaml +45 -52
  199. package/resources/global/ja/workflows/research.yaml +18 -99
  200. package/resources/global/ja/workflows/simple.yaml +149 -415
  201. package/resources/project/dotgitignore +10 -0
  202. package/resources/project/tasks/TASK-FORMAT +37 -0
  203. package/dist/commands/reviewTasks.d.ts +0 -43
  204. package/dist/commands/reviewTasks.d.ts.map +0 -1
  205. package/dist/commands/reviewTasks.js.map +0 -1
  206. package/dist/task/worktree.d.ts +0 -70
  207. package/dist/task/worktree.d.ts.map +0 -1
  208. package/dist/task/worktree.js +0 -221
  209. package/dist/task/worktree.js.map +0 -1
  210. package/resources/global/en/agents/default/ai-reviewer.md +0 -116
@@ -1,94 +1,84 @@
1
1
  # Default TAKT Workflow
2
- # Plan -> Coder -> Architect Review -> AI Review -> Security Review -> Supervisor Approval
2
+ # Plan -> Coder -> AI Review -> Reviewers (parallel: Architect + Security) -> Supervisor Approval
3
3
  #
4
- # Template Variables:
5
- # {iteration} - Workflow-wide turn count (total steps executed across all agents)
6
- # {max_iterations} - Maximum iterations allowed for the workflow
7
- # {step_iteration} - Per-step iteration count (how many times THIS step has been executed)
8
- # {task} - Original user request
9
- # {previous_response} - Output from the previous step
10
- # {git_diff} - Current uncommitted changes (git diff)
11
- # {user_inputs} - Accumulated user inputs during workflow
12
- # {report_dir} - Report directory name (e.g., "20250126-143052-task-summary")
4
+ # Boilerplate sections (Workflow Context, User Request, Previous Response,
5
+ # Additional User Inputs, Instructions heading) are auto-injected by buildInstruction().
6
+ # Only step-specific content belongs in instruction_template.
7
+ #
8
+ # Template Variables (available in instruction_template):
9
+ # {iteration} - Workflow-wide turn count (total steps executed across all agents)
10
+ # {max_iterations} - Maximum iterations allowed for the workflow
11
+ # {step_iteration} - Per-step iteration count (how many times THIS step has been executed)
12
+ # {previous_response} - Output from the previous step (only when pass_previous_response: true)
13
+ # {report_dir} - Report directory name (e.g., "20250126-143052-task-summary")
14
+ #
15
+ # Step-level Fields:
16
+ # report: - Report file(s) for the step (auto-injected as Report File/Files in Workflow Context)
17
+ # Single: report: 00-plan.md
18
+ # Multiple: report:
19
+ # - Scope: 01-coder-scope.md
20
+ # - Decisions: 02-coder-decisions.md
13
21
 
14
22
  name: default
15
23
  description: Standard development workflow with planning and specialized reviews
16
24
 
17
- max_iterations: 20
25
+ max_iterations: 30
18
26
 
19
27
  initial_step: plan
20
28
 
21
29
  steps:
22
30
  - name: plan
23
- agent: ~/.takt/agents/default/planner.md
31
+ edit: false
32
+ agent: ../agents/default/planner.md
33
+ report:
34
+ name: 00-plan.md
35
+ format: |
36
+ ```markdown
37
+ # Task Plan
38
+
39
+ ## Original Request
40
+ {User's request as-is}
41
+
42
+ ## Analysis Results
43
+
44
+ ### Objective
45
+ {What needs to be achieved}
46
+
47
+ ### Scope
48
+ {Impact scope}
49
+
50
+ ### Implementation Approach
51
+ {How to proceed}
52
+
53
+ ## Clarifications Needed (if any)
54
+ - {Unclear points or items requiring confirmation}
55
+ ```
24
56
  allowed_tools:
25
57
  - Read
26
58
  - Glob
27
59
  - Grep
60
+ - Write
28
61
  - Bash
29
62
  - WebSearch
30
63
  - WebFetch
31
- status_rules_prompt: |
32
- ## Judgment Criteria
33
-
34
- | Situation | Judgment |
35
- |-----------|----------|
36
- | Requirements clear and implementable | DONE |
37
- | User is asking a question (not an implementation task) | ANSWER |
38
- | Requirements unclear, insufficient info | BLOCKED |
39
-
40
- ## Output Format
41
-
42
- | Situation | Tag |
43
- |-----------|-----|
44
- | Analysis complete | `[PLANNER:DONE]` |
45
- | Question answered | `[PLANNER:ANSWER]` |
46
- | Insufficient info | `[PLANNER:BLOCKED]` |
47
-
48
- ### Output Examples
49
-
50
- **DONE case:**
51
- ```
52
- [PLANNER:DONE]
53
- ```
54
-
55
- **ANSWER case:**
56
- ```
57
- {Answer to the question}
58
-
59
- [PLANNER:ANSWER]
60
- ```
61
-
62
- **BLOCKED case:**
63
- ```
64
- [PLANNER:BLOCKED]
65
-
66
- Clarifications needed:
67
- - {Question 1}
68
- - {Question 2}
69
- ```
64
+ rules:
65
+ - condition: Requirements are clear and implementable
66
+ next: implement
67
+ - condition: User is asking a question (not an implementation task)
68
+ next: COMPLETE
69
+ - condition: Requirements unclear, insufficient info
70
+ next: ABORT
71
+ appendix: |
72
+ Clarifications needed:
73
+ - {Question 1}
74
+ - {Question 2}
75
+ pass_previous_response: true
70
76
  instruction_template: |
71
- ## Workflow Context
72
- - Iteration: {iteration}/{max_iterations} (workflow-wide)
73
- - Step Iteration: {step_iteration} (times this step has run)
74
- - Step: plan (Task Analysis)
75
- - Report Directory: .takt/reports/{report_dir}/
76
- - Report File: .takt/reports/{report_dir}/00-plan.md
77
-
78
- ## User Request
79
- {task}
80
-
81
77
  ## Previous Response (when returned from implement)
82
78
  {previous_response}
83
79
 
84
- ## Instructions
85
80
  Analyze the task and create an implementation plan.
86
81
 
87
- **Judgment criteria:**
88
- - If the user input is an implementation task → create a plan and output `[PLANNER:DONE]`
89
- - If the user input is a question → research, answer, and output `[PLANNER:ANSWER]`
90
- - If there is insufficient information → output `[PLANNER:BLOCKED]`
91
-
92
82
  **Note:** If returned from implement step (Previous Response exists),
93
83
  review and revise the plan based on that feedback (replan).
94
84
 
@@ -97,42 +87,12 @@ steps:
97
87
  2. Identify impact scope
98
88
  3. Decide implementation approach
99
89
 
100
- **Report output:** Output to the `Report File` specified above.
101
- - If file does not exist: Create new file
102
- - If file exists: Append with `## Iteration {step_iteration}` section
103
-
104
- **Report format:**
105
- ```markdown
106
- # Task Plan
107
-
108
- ## Original Request
109
- {User's request as-is}
110
-
111
- ## Analysis Results
112
-
113
- ### Objective
114
- {What needs to be achieved}
115
-
116
- ### Scope
117
- {Impact scope}
118
-
119
- ### Implementation Approach
120
- {How to proceed}
121
-
122
- ## Clarifications Needed (if any)
123
- - {Unclear points or items requiring confirmation}
124
- ```
125
- pass_previous_response: true
126
- transitions:
127
- - condition: done
128
- next_step: implement
129
- - condition: answer
130
- next_step: COMPLETE
131
- - condition: blocked
132
- next_step: ABORT
133
-
134
90
  - name: implement
135
- agent: ~/.takt/agents/default/coder.md
91
+ edit: true
92
+ agent: ../agents/default/coder.md
93
+ report:
94
+ - Scope: 01-coder-scope.md
95
+ - Decisions: 02-coder-decisions.md
136
96
  allowed_tools:
137
97
  - Read
138
98
  - Glob
@@ -143,58 +103,15 @@ steps:
143
103
  - WebSearch
144
104
  - WebFetch
145
105
  permission_mode: acceptEdits
146
- status_rules_prompt: |
147
- ## Output Format
148
-
149
- | Situation | Tag |
150
- |-----------|-----|
151
- | Implementation complete | `[CODER:DONE]` |
152
- | Cannot decide/insufficient info | `[CODER:BLOCKED]` |
153
-
154
- **Important**: When in doubt, `[BLOCKED]`. Don't decide on your own.
155
-
156
- ### Output Examples
157
-
158
- **DONE case:**
159
- ```
160
- Implementation complete.
161
- - Created: `src/auth/service.ts`, `tests/auth.test.ts`
162
- - Modified: `src/routes.ts`
163
-
164
- [CODER:DONE]
165
- ```
166
-
167
- **BLOCKED case:**
168
- ```
169
- [CODER:BLOCKED]
170
-
171
- Reason: DB schema is undefined, cannot implement
172
- Required info: users table structure
173
- ```
106
+ rules:
107
+ - condition: Implementation complete
108
+ next: ai_review
109
+ - condition: Cannot proceed, insufficient info
110
+ next: plan
174
111
  instruction_template: |
175
- ## Workflow Context
176
- - Iteration: {iteration}/{max_iterations} (workflow-wide)
177
- - Step Iteration: {step_iteration} (times this step has run)
178
- - Step: implement
179
- - Report Directory: .takt/reports/{report_dir}/
180
- - Report Files:
181
- - Scope: .takt/reports/{report_dir}/01-coder-scope.md
182
- - Decisions: .takt/reports/{report_dir}/02-coder-decisions.md
183
-
184
- ## User Request
185
- {task}
186
-
187
- ## Additional User Inputs
188
- {user_inputs}
189
-
190
- ## Instructions
191
112
  Follow the plan from the plan step and implement.
192
113
  Refer to the plan report (00-plan.md) and proceed with implementation.
193
114
 
194
- **Report output:** Output to the `Report Files` specified above.
195
- - If file does not exist: Create new file
196
- - If file exists: Append with `## Iteration {step_iteration}` section
197
-
198
115
  **Scope report format (create at implementation start):**
199
116
  ```markdown
200
117
  # Change Scope Declaration
@@ -224,311 +141,60 @@ steps:
224
141
  - **Options Considered**: {List of options}
225
142
  - **Reason**: {Why this option was chosen}
226
143
  ```
227
- transitions:
228
- - condition: done
229
- next_step: review
230
- - condition: blocked
231
- next_step: plan
232
-
233
- - name: review
234
- agent: ~/.takt/agents/default/architect.md
235
- allowed_tools:
236
- - Read
237
- - Glob
238
- - Grep
239
- - WebSearch
240
- - WebFetch
241
- status_rules_prompt: |
242
- ## Judgment Criteria
243
-
244
- | Situation | Judgment |
245
- |-----------|----------|
246
- | Structural issues | REJECT |
247
- | Design principle violations | REJECT |
248
- | Security issues | REJECT |
249
- | Insufficient tests | REJECT |
250
- | Minor improvements needed | IMPROVE |
251
- | No issues | APPROVE |
252
-
253
- **How to use IMPROVE:**
254
- - Design is acceptable but there are points that could be better
255
- - Examples: naming improvements, small refactoring, adding comments
256
-
257
- ## Output Format
258
144
 
259
- | Situation | Tag |
260
- |-----------|-----|
261
- | No issues | `[ARCHITECT:APPROVE]` |
262
- | Minor improvements needed | `[ARCHITECT:IMPROVE]` |
263
- | Structural changes required | `[ARCHITECT:REJECT]` |
264
-
265
- ### Output Examples
266
-
267
- **APPROVE case:**
268
- ```
269
- [ARCHITECT:APPROVE]
270
-
271
- Positive points:
272
- - Appropriate module organization
273
- - Single responsibility maintained
274
- ```
275
-
276
- **IMPROVE case:**
277
- ```
278
- [ARCHITECT:IMPROVE]
279
-
280
- Improvements:
281
- - Improve naming: `data` → `userData`
282
- - Add comments
283
- ```
284
-
285
- **REJECT case:**
286
- ```
287
- [ARCHITECT:REJECT]
288
-
289
- Issues:
290
- 1. File size exceeded
291
- - Location: `src/services/user.ts` (523 lines)
292
- - Fix: Split into 3 files
293
- ```
294
- instruction_template: |
295
- ## Workflow Context
296
- - Iteration: {iteration}/{max_iterations} (workflow-wide)
297
- - Step Iteration: {step_iteration} (times this step has run)
298
- - Step: review (Architecture Review)
299
- - Report Directory: .takt/reports/{report_dir}/
300
- - Report File: .takt/reports/{report_dir}/03-architect-review.md
301
-
302
- ## Original User Request (Initial request from workflow start)
303
- {task}
304
-
305
- ## Git Diff
306
- ```diff
307
- {git_diff}
308
- ```
309
-
310
- ## Instructions
311
- Focus on **architecture and design** review. Do NOT review AI-specific issues (that's the next step).
312
-
313
- Review the changes and provide feedback.
314
-
315
- **Report output:** Output to the `Report File` specified above.
316
- - If file does not exist: Create new file
317
- - If file exists: Append with `## Iteration {step_iteration}` section
318
-
319
- **Report format:**
320
- ```markdown
321
- # Architecture Review
322
-
323
- ## Result: APPROVE / IMPROVE / REJECT
324
-
325
- ## Summary
326
- {1-2 sentences summarizing result}
327
-
328
- ## Reviewed Perspectives
329
- - [x] Structure & Design
330
- - [x] Code Quality
331
- - [x] Change Scope
332
-
333
- ## Issues (if REJECT)
334
- | # | Location | Issue | Fix |
335
- |---|----------|-------|-----|
336
- | 1 | `src/file.ts:42` | Issue description | Fix method |
337
-
338
- ## Improvement Suggestions (optional, non-blocking)
339
- - {Future improvement suggestions}
340
- ```
341
-
342
- **Cognitive load reduction rules:**
343
- - APPROVE + no issues → Summary only (5 lines or less)
344
- - APPROVE + minor suggestions → Summary + suggestions (15 lines or less)
345
- - REJECT → Issues in table format (30 lines or less)
346
- transitions:
347
- - condition: approved
348
- next_step: ai_review
349
- - condition: improve
350
- next_step: improve
351
- - condition: rejected
352
- next_step: fix
353
-
354
- - name: improve
355
- agent: ~/.takt/agents/default/coder.md
145
+ - name: ai_review
146
+ edit: false
147
+ agent: ../agents/default/ai-antipattern-reviewer.md
148
+ report:
149
+ name: 03-ai-review.md
150
+ format: |
151
+ ```markdown
152
+ # AI-Generated Code Review
153
+
154
+ ## Result: APPROVE / REJECT
155
+
156
+ ## Summary
157
+ {One sentence summarizing result}
158
+
159
+ ## Verified Items
160
+ | Aspect | Result | Notes |
161
+ |--------|--------|-------|
162
+ | Assumption validity | ✅ | - |
163
+ | API/Library existence | ✅ | - |
164
+ | Context fit | ✅ | - |
165
+ | Scope | ✅ | - |
166
+
167
+ ## Issues (if REJECT)
168
+ | # | Category | Location | Issue |
169
+ |---|----------|----------|-------|
170
+ | 1 | Hallucinated API | `src/file.ts:23` | Non-existent method |
171
+ ```
172
+
173
+ **Cognitive load reduction rules:**
174
+ - No issues -> Summary 1 line + check table only (10 lines or less)
175
+ - Issues found -> + Issues in table format (25 lines or less)
356
176
  allowed_tools:
357
177
  - Read
358
178
  - Glob
359
179
  - Grep
360
- - Edit
361
180
  - Write
362
- - Bash
363
181
  - WebSearch
364
182
  - WebFetch
365
- permission_mode: acceptEdits
366
- status_rules_prompt: |
367
- ## Output Format
368
-
369
- | Situation | Tag |
370
- |-----------|-----|
371
- | Improvements complete | `[CODER:DONE]` |
372
- | Cannot decide/insufficient info | `[CODER:BLOCKED]` |
373
-
374
- **Important**: When in doubt, `[BLOCKED]`. Don't decide on your own.
375
-
376
- ### Output Examples
377
-
378
- **DONE case:**
379
- ```
380
- Improvements complete.
381
- - Improved naming: `data` → `userData`
382
- - Added comments
383
-
384
- [CODER:DONE]
385
- ```
386
-
387
- **BLOCKED case:**
388
- ```
389
- [CODER:BLOCKED]
390
-
391
- Reason: Improvement intent unclear
392
- Required info: Specific improvement details
393
- ```
183
+ rules:
184
+ - condition: No AI-specific issues
185
+ next: reviewers
186
+ - condition: AI-specific issues found
187
+ next: ai_fix
394
188
  instruction_template: |
395
- ## Workflow Context
396
- - Iteration: {iteration}/{max_iterations} (workflow-wide)
397
- - Step Iteration: {step_iteration} (times this step has run)
398
- - Step: improve
399
-
400
- ## Architect Feedback (This is the latest instruction - prioritize this)
401
- {previous_response}
402
-
403
- ## Original User Request (Initial request from workflow start - for reference)
404
- {task}
405
-
406
- ## Additional User Inputs
407
- {user_inputs}
408
-
409
- ## Instructions
410
- **Important**: Address the Architect's improvement suggestions.
411
- These are minor improvements, not major design issues.
412
-
413
- Make improvements such as:
414
- - Naming improvements
415
- - Small refactoring
416
- - Adding/fixing comments
417
- - Code organization
418
-
419
- pass_previous_response: true
420
- transitions:
421
- - condition: done
422
- next_step: review
423
- - condition: blocked
424
- next_step: plan
425
-
426
- - name: ai_review
427
- agent: ~/.takt/agents/default/ai-reviewer.md
428
- allowed_tools:
429
- - Read
430
- - Glob
431
- - Grep
432
- - WebSearch
433
- - WebFetch
434
- status_rules_prompt: |
435
- ## Judgment Criteria
436
-
437
- | Situation | Judgment |
438
- |-----------|----------|
439
- | Incorrect assumptions (affecting behavior) | REJECT |
440
- | Plausible-but-wrong code | REJECT |
441
- | Significant context mismatch with codebase | REJECT |
442
- | Scope creep | APPROVE (with warning noted) |
443
- | Minor style deviations only | APPROVE |
444
- | Code fits context and works | APPROVE |
445
-
446
- **Note:** Scope creep is noted as a warning but doesn't warrant REJECT alone.
447
-
448
- ## Output Format
449
-
450
- | Situation | Tag |
451
- |-----------|-----|
452
- | No AI-specific issues | `[AI_REVIEW:APPROVE]` |
453
- | Issues found | `[AI_REVIEW:REJECT]` |
454
-
455
- ### Output Examples
456
-
457
- **APPROVE case:**
458
- ```
459
- [AI_REVIEW:APPROVE]
460
-
461
- Verification result: No issues
462
- ```
463
-
464
- **REJECT case:**
465
- ```
466
- [AI_REVIEW:REJECT]
467
-
468
- Issues:
469
- 1. Non-existent API used: `fetch.json()` → `response.json()`
470
- ```
471
- instruction_template: |
472
- ## Workflow Context
473
- - Iteration: {iteration}/{max_iterations} (workflow-wide)
474
- - Step Iteration: {step_iteration} (times this step has run)
475
- - Step: ai_review (AI-Generated Code Review)
476
- - Report Directory: .takt/reports/{report_dir}/
477
- - Report File: .takt/reports/{report_dir}/04-ai-review.md
478
-
479
- ## Original User Request (Initial request from workflow start)
480
- {task}
481
-
482
- ## Git Diff
483
- ```diff
484
- {git_diff}
485
- ```
486
-
487
- ## Instructions
488
189
  Review the code for AI-specific issues:
489
190
  - Assumption validation
490
191
  - Plausible but wrong patterns
491
192
  - Context fit with existing codebase
492
193
  - Scope creep detection
493
194
 
494
- **Report output:** Output to the `Report File` specified above.
495
- - If file does not exist: Create new file
496
- - If file exists: Append with `## Iteration {step_iteration}` section
497
-
498
- **Report format:**
499
- ```markdown
500
- # AI-Generated Code Review
501
-
502
- ## Result: APPROVE / REJECT
503
-
504
- ## Summary
505
- {One sentence summarizing result}
506
-
507
- ## Verified Items
508
- | Aspect | Result | Notes |
509
- |--------|--------|-------|
510
- | Assumption validity | ✅ | - |
511
- | API/Library existence | ✅ | - |
512
- | Context fit | ✅ | - |
513
- | Scope | ✅ | - |
514
-
515
- ## Issues (if REJECT)
516
- | # | Category | Location | Issue |
517
- |---|----------|----------|-------|
518
- | 1 | Hallucinated API | `src/file.ts:23` | Non-existent method |
519
- ```
520
-
521
- **Cognitive load reduction rules:**
522
- - No issues → Summary 1 line + check table only (10 lines or less)
523
- - Issues found → + Issues in table format (25 lines or less)
524
- transitions:
525
- - condition: approved
526
- next_step: security_review
527
- - condition: rejected
528
- next_step: ai_fix
529
-
530
195
  - name: ai_fix
531
- agent: ~/.takt/agents/default/coder.md
196
+ edit: true
197
+ agent: ../agents/default/coder.md
532
198
  allowed_tools:
533
199
  - Read
534
200
  - Glob
@@ -539,234 +205,131 @@ steps:
539
205
  - WebSearch
540
206
  - WebFetch
541
207
  permission_mode: acceptEdits
542
- status_rules_prompt: |
543
- ## Output Format
544
-
545
- | Situation | Tag |
546
- |-----------|-----|
547
- | AI issue fixes complete | `[CODER:DONE]` |
548
- | Cannot decide/insufficient info | `[CODER:BLOCKED]` |
549
-
550
- **Important**: When in doubt, `[BLOCKED]`. Don't decide on your own.
551
-
552
- ### Output Examples
553
-
554
- **DONE case:**
555
- ```
556
- Fixed AI Reviewer's issues.
557
- - Fixed non-existent API: `fetch.json()` → `response.json()`
558
-
559
- [CODER:DONE]
560
- ```
561
-
562
- **BLOCKED case:**
563
- ```
564
- [CODER:BLOCKED]
565
-
566
- Reason: Fix method unclear
567
- Required info: Alternative API specification
568
- ```
208
+ rules:
209
+ - condition: AI issues fixed
210
+ next: reviewers
211
+ - condition: Cannot proceed, insufficient info
212
+ next: plan
569
213
  instruction_template: |
570
- ## Workflow Context
571
- - Iteration: {iteration}/{max_iterations} (workflow-wide)
572
- - Step Iteration: {step_iteration} (times this step has run)
573
- - Step: ai_fix
574
-
575
214
  ## AI Review Feedback (This is the latest instruction - prioritize this)
576
215
  {previous_response}
577
216
 
578
- ## Original User Request (Initial request from workflow start - for reference)
579
- {task}
580
-
581
- ## Additional User Inputs
582
- {user_inputs}
583
-
584
- ## Instructions
585
217
  **Important**: Address the AI Reviewer's feedback.
586
218
  Focus on:
587
219
  - Correcting incorrect assumptions
588
220
  - Fixing plausible-but-wrong implementations
589
221
  - Aligning with existing codebase patterns
590
222
  - Removing scope creep
591
-
592
223
  pass_previous_response: true
593
- transitions:
594
- - condition: done
595
- next_step: review
596
- - condition: blocked
597
- next_step: plan
598
-
599
- - name: security_review
600
- agent: ~/.takt/agents/default/security.md
601
- allowed_tools:
602
- - Read
603
- - Glob
604
- - Grep
605
- - WebSearch
606
- - WebFetch
607
- status_rules_prompt: |
608
- ## Judgment Criteria
609
-
610
- | Situation | Judgment |
611
- |-----------|----------|
612
- | Critical vulnerability | REJECT |
613
- | Medium severity vulnerability | REJECT |
614
- | Minor issues/warnings only | APPROVE (note warnings) |
615
- | No security issues | APPROVE |
616
-
617
- ## Output Format
618
-
619
- | Situation | Tag |
620
- |-----------|-----|
621
- | No security issues | `[SECURITY:APPROVE]` |
622
- | Vulnerabilities require fixes | `[SECURITY:REJECT]` |
623
-
624
- ### Output Examples
625
-
626
- **APPROVE case:**
627
- ```
628
- [SECURITY:APPROVE]
629
-
630
- No security issues detected.
631
- ```
632
-
633
- **REJECT case:**
634
- ```
635
- [SECURITY:REJECT]
636
-
637
- Vulnerabilities:
638
- 1. SQL Injection: `src/db.ts:42`
639
- Fix: Use parameterized query
640
- ```
641
- instruction_template: |
642
- ## Workflow Context
643
- - Iteration: {iteration}/{max_iterations} (workflow-wide)
644
- - Step Iteration: {step_iteration} (times this step has run)
645
- - Step: security_review
646
- - Report Directory: .takt/reports/{report_dir}/
647
- - Report File: .takt/reports/{report_dir}/05-security-review.md
648
-
649
- ## Original User Request (Initial request from workflow start)
650
- {task}
651
-
652
- ## Git Diff
653
- ```diff
654
- {git_diff}
655
- ```
656
-
657
- ## Instructions
658
- Perform security review on the changes. Check for vulnerabilities including:
659
- - Injection attacks (SQL, Command, XSS)
660
- - Authentication/Authorization issues
661
- - Data exposure risks
662
- - Cryptographic weaknesses
663
-
664
- **Report output:** Output to the `Report File` specified above.
665
- - If file does not exist: Create new file
666
- - If file exists: Append with `## Iteration {step_iteration}` section
667
-
668
- **Report format:**
669
- ```markdown
670
- # Security Review
671
-
672
- ## Result: APPROVE / REJECT
673
-
674
- ## Severity: None / Low / Medium / High / Critical
675
-
676
- ## Check Results
677
- | Category | Result | Notes |
678
- |----------|--------|-------|
679
- | Injection | ✅ | - |
680
- | Auth/Authz | ✅ | - |
681
- | Data Protection | ✅ | - |
682
- | Dependencies | ✅ | - |
683
-
684
- ## Vulnerabilities (if REJECT)
685
- | # | Severity | Type | Location | Fix |
686
- |---|----------|------|----------|-----|
687
- | 1 | High | SQLi | `src/db.ts:42` | Use parameterized query |
688
-
689
- ## Warnings (non-blocking)
690
- - {Security recommendations}
691
- ```
692
-
693
- **Cognitive load reduction rules:**
694
- - No issues → Check table only (10 lines or less)
695
- - Warnings → + Warnings 1-2 lines (15 lines or less)
696
- - Vulnerabilities → + Table format (30 lines or less)
697
- transitions:
698
- - condition: approved
699
- next_step: supervise
700
- - condition: rejected
701
- next_step: security_fix
702
-
703
- - name: security_fix
704
- agent: ~/.takt/agents/default/coder.md
705
- allowed_tools:
706
- - Read
707
- - Glob
708
- - Grep
709
- - Edit
710
- - Write
711
- - Bash
712
- - WebSearch
713
- - WebFetch
714
- permission_mode: acceptEdits
715
- status_rules_prompt: |
716
- ## Output Format
717
224
 
718
- | Situation | Tag |
719
- |-----------|-----|
720
- | Security fixes complete | `[CODER:DONE]` |
721
- | Cannot decide/insufficient info | `[CODER:BLOCKED]` |
722
-
723
- **Important**: Security issues require highest priority.
724
-
725
- ### Output Examples
726
-
727
- **DONE case:**
728
- ```
729
- Fixed security issues.
730
- - SQL injection fix: Changed to parameterized query
731
-
732
- [CODER:DONE]
733
- ```
734
-
735
- **BLOCKED case:**
736
- ```
737
- [CODER:BLOCKED]
738
-
739
- Reason: Fix method unclear
740
- Required info: Auth library specification
741
- ```
742
- instruction_template: |
743
- ## Workflow Context
744
- - Iteration: {iteration}/{max_iterations} (workflow-wide)
745
- - Step Iteration: {step_iteration} (times this step has run)
746
- - Step: security_fix
747
-
748
- ## Security Review Feedback (This is the latest instruction - prioritize this)
749
- {previous_response}
750
-
751
- ## Original User Request (Initial request from workflow start - for reference)
752
- {task}
753
-
754
- ## Additional User Inputs
755
- {user_inputs}
756
-
757
- ## Instructions
758
- **Important**: Fix the vulnerabilities identified in the security review.
759
- Security issues require highest priority.
760
-
761
- pass_previous_response: true
762
- transitions:
763
- - condition: done
764
- next_step: security_review
765
- - condition: blocked
766
- next_step: plan
225
+ - name: reviewers
226
+ parallel:
227
+ - name: arch-review
228
+ edit: false
229
+ agent: ../agents/default/architecture-reviewer.md
230
+ report:
231
+ name: 04-architect-review.md
232
+ format: |
233
+ ```markdown
234
+ # Architecture Review
235
+
236
+ ## Result: APPROVE / IMPROVE / REJECT
237
+
238
+ ## Summary
239
+ {1-2 sentences summarizing result}
240
+
241
+ ## Reviewed Perspectives
242
+ - [x] Structure & Design
243
+ - [x] Code Quality
244
+ - [x] Change Scope
245
+
246
+ ## Issues (if REJECT)
247
+ | # | Location | Issue | Fix |
248
+ |---|----------|-------|-----|
249
+ | 1 | `src/file.ts:42` | Issue description | Fix method |
250
+
251
+ ## Improvement Suggestions (optional, non-blocking)
252
+ - {Future improvement suggestions}
253
+ ```
254
+
255
+ **Cognitive load reduction rules:**
256
+ - APPROVE + no issues -> Summary only (5 lines or less)
257
+ - APPROVE + minor suggestions -> Summary + suggestions (15 lines or less)
258
+ - REJECT -> Issues in table format (30 lines or less)
259
+ allowed_tools:
260
+ - Read
261
+ - Glob
262
+ - Grep
263
+ - Write
264
+ - WebSearch
265
+ - WebFetch
266
+ rules:
267
+ - condition: approved
268
+ - condition: needs_fix
269
+ instruction_template: |
270
+ Focus on **architecture and design** review. Do NOT review AI-specific issues (that's the ai_review step).
271
+
272
+ Review the changes and provide feedback.
273
+
274
+ - name: security-review
275
+ edit: false
276
+ agent: ../agents/default/security-reviewer.md
277
+ report:
278
+ name: 05-security-review.md
279
+ format: |
280
+ ```markdown
281
+ # Security Review
282
+
283
+ ## Result: APPROVE / REJECT
284
+
285
+ ## Severity: None / Low / Medium / High / Critical
286
+
287
+ ## Check Results
288
+ | Category | Result | Notes |
289
+ |----------|--------|-------|
290
+ | Injection | ✅ | - |
291
+ | Auth/Authz | ✅ | - |
292
+ | Data Protection | ✅ | - |
293
+ | Dependencies | ✅ | - |
294
+
295
+ ## Vulnerabilities (if REJECT)
296
+ | # | Severity | Type | Location | Fix |
297
+ |---|----------|------|----------|-----|
298
+ | 1 | High | SQLi | `src/db.ts:42` | Use parameterized query |
299
+
300
+ ## Warnings (non-blocking)
301
+ - {Security recommendations}
302
+ ```
303
+
304
+ **Cognitive load reduction rules:**
305
+ - No issues -> Check table only (10 lines or less)
306
+ - Warnings -> + Warnings 1-2 lines (15 lines or less)
307
+ - Vulnerabilities -> + Table format (30 lines or less)
308
+ allowed_tools:
309
+ - Read
310
+ - Glob
311
+ - Grep
312
+ - Write
313
+ - WebSearch
314
+ - WebFetch
315
+ rules:
316
+ - condition: approved
317
+ - condition: needs_fix
318
+ instruction_template: |
319
+ Perform security review on the changes. Check for vulnerabilities including:
320
+ - Injection attacks (SQL, Command, XSS)
321
+ - Authentication/Authorization issues
322
+ - Data exposure risks
323
+ - Cryptographic weaknesses
324
+ rules:
325
+ - condition: all("approved")
326
+ next: supervise
327
+ - condition: any("needs_fix")
328
+ next: fix
767
329
 
768
330
  - name: fix
769
- agent: ~/.takt/agents/default/coder.md
331
+ edit: true
332
+ agent: ../agents/default/coder.md
770
333
  allowed_tools:
771
334
  - Read
772
335
  - Glob
@@ -777,129 +340,40 @@ steps:
777
340
  - WebSearch
778
341
  - WebFetch
779
342
  permission_mode: acceptEdits
780
- status_rules_prompt: |
781
- ## Output Format
782
-
783
- | Situation | Tag |
784
- |-----------|-----|
785
- | Architect's issues fixed | `[CODER:DONE]` |
786
- | Cannot decide/insufficient info | `[CODER:BLOCKED]` |
787
-
788
- **Important**: When in doubt, `[BLOCKED]`. Don't decide on your own.
789
-
790
- ### Output Examples
791
-
792
- **DONE case:**
793
- ```
794
- Fixed Architect's issues.
795
- - File split: Split into 3 files
796
- - Added type definitions
797
-
798
- [CODER:DONE]
799
- ```
800
-
801
- **BLOCKED case:**
802
- ```
803
- [CODER:BLOCKED]
804
-
805
- Reason: Fix approach unclear
806
- Required info: Specific split method
807
- ```
343
+ rules:
344
+ - condition: Fix complete
345
+ next: reviewers
346
+ - condition: Cannot proceed, insufficient info
347
+ next: plan
808
348
  instruction_template: |
809
- ## Workflow Context
810
- - Iteration: {iteration}/{max_iterations} (workflow-wide)
811
- - Step Iteration: {step_iteration} (times this step has run)
812
- - Step: fix
813
-
814
- ## Architect Feedback (This is the latest instruction - prioritize this)
349
+ ## Review Feedback (This is the latest instruction - prioritize this)
815
350
  {previous_response}
816
351
 
817
- ## Original User Request (Initial request from workflow start - for reference)
818
- {task}
819
-
820
- ## Additional User Inputs
821
- {user_inputs}
822
-
823
- ## Instructions
824
- **Important**: Address the Architect's feedback.
352
+ **Important**: Address the feedback from the reviewers.
825
353
  The "Original User Request" is reference information, not the latest instruction.
826
- Review the session conversation history and fix the issues raised by the Architect.
827
-
354
+ Review the session conversation history and fix the issues raised by the reviewers.
828
355
  pass_previous_response: true
829
- transitions:
830
- - condition: done
831
- next_step: review
832
- - condition: blocked
833
- next_step: plan
834
356
 
835
357
  - name: supervise
836
- agent: ~/.takt/agents/default/supervisor.md
358
+ edit: false
359
+ agent: ../agents/default/supervisor.md
360
+ report:
361
+ - Validation: 06-supervisor-validation.md
362
+ - Summary: summary.md
837
363
  allowed_tools:
838
364
  - Read
839
365
  - Glob
840
366
  - Grep
367
+ - Write
841
368
  - Bash
842
369
  - WebSearch
843
370
  - WebFetch
844
- status_rules_prompt: |
845
- ## Judgment Criteria
846
-
847
- | Situation | Judgment |
848
- |-----------|----------|
849
- | Requirements not met | REJECT |
850
- | Tests failing | REJECT |
851
- | Build fails | REJECT |
852
- | Workarounds remaining | REJECT |
853
- | All OK | APPROVE |
854
-
855
- **Principle**: When in doubt, REJECT. Don't give ambiguous approval.
856
-
857
- ## Output Format
858
-
859
- | Situation | Tag |
860
- |-----------|-----|
861
- | Final approval | `[SUPERVISOR:APPROVE]` |
862
- | Return for fixes | `[SUPERVISOR:REJECT]` |
863
-
864
- ### Output Examples
865
-
866
- **APPROVE case:**
867
- ```
868
- [SUPERVISOR:APPROVE]
869
-
870
- Verification results:
871
- - Tests: ✅ All passed
872
- - Build: ✅ Succeeded
873
- - Requirements met: ✅
874
- ```
875
-
876
- **REJECT case:**
877
- ```
878
- [SUPERVISOR:REJECT]
879
-
880
- Issues:
881
- 1. Tests failing: `npm test` - 2 failures
882
- 2. Requirements not met: Login feature not implemented
883
- ```
371
+ rules:
372
+ - condition: All checks passed
373
+ next: COMPLETE
374
+ - condition: Requirements unmet, tests failing, build errors
375
+ next: plan
884
376
  instruction_template: |
885
- ## Workflow Context
886
- - Iteration: {iteration}/{max_iterations} (workflow-wide)
887
- - Step Iteration: {step_iteration} (times this step has run)
888
- - Step: supervise (final verification)
889
- - Report Directory: .takt/reports/{report_dir}/
890
- - Report Files:
891
- - Validation: .takt/reports/{report_dir}/06-supervisor-validation.md
892
- - Summary: .takt/reports/{report_dir}/summary.md
893
-
894
- ## Original User Request
895
- {task}
896
-
897
- ## Git Diff
898
- ```diff
899
- {git_diff}
900
- ```
901
-
902
- ## Instructions
903
377
  Run tests, verify the build, and perform final approval.
904
378
 
905
379
  **Workflow Overall Review:**
@@ -910,10 +384,6 @@ steps:
910
384
  **Review Reports:** Read all reports in Report Directory and
911
385
  check for any unaddressed improvement suggestions.
912
386
 
913
- **Report output:** Output to the `Report Files` specified above.
914
- - If file does not exist: Create new file
915
- - If file exists: Append with `## Iteration {step_iteration}` section
916
-
917
387
  **Validation report format:**
918
388
  ```markdown
919
389
  # Final Validation Results
@@ -967,8 +437,3 @@ steps:
967
437
  npm run build
968
438
  ```
969
439
  ```
970
- transitions:
971
- - condition: approved
972
- next_step: COMPLETE
973
- - condition: rejected
974
- next_step: plan