takt 0.28.1 → 0.29.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 (360) hide show
  1. package/README.md +3 -1
  2. package/builtins/en/facets/instructions/review-arch.md +2 -0
  3. package/builtins/en/piece-categories.yaml +12 -0
  4. package/builtins/en/pieces/backend-cqrs-review-fix.yaml +220 -0
  5. package/builtins/en/pieces/backend-cqrs-review.yaml +148 -0
  6. package/builtins/en/pieces/backend-review-fix.yaml +196 -0
  7. package/builtins/en/pieces/backend-review.yaml +126 -0
  8. package/builtins/en/pieces/dual-cqrs-review-fix.yaml +243 -0
  9. package/builtins/en/pieces/dual-cqrs-review.yaml +169 -0
  10. package/builtins/en/pieces/dual-review-fix.yaml +219 -0
  11. package/builtins/en/pieces/dual-review.yaml +147 -0
  12. package/builtins/en/pieces/frontend-review-fix.yaml +216 -0
  13. package/builtins/en/pieces/frontend-review.yaml +146 -0
  14. package/builtins/en/pieces/review-fix.yaml +241 -0
  15. package/builtins/en/pieces/takt-default-review-fix.yaml +219 -0
  16. package/builtins/ja/facets/instructions/review-arch.md +2 -0
  17. package/builtins/ja/piece-categories.yaml +12 -0
  18. package/builtins/ja/pieces/backend-cqrs-review-fix.yaml +220 -0
  19. package/builtins/ja/pieces/backend-cqrs-review.yaml +148 -0
  20. package/builtins/ja/pieces/backend-review-fix.yaml +196 -0
  21. package/builtins/ja/pieces/backend-review.yaml +126 -0
  22. package/builtins/ja/pieces/dual-cqrs-review-fix.yaml +243 -0
  23. package/builtins/ja/pieces/dual-cqrs-review.yaml +169 -0
  24. package/builtins/ja/pieces/dual-review-fix.yaml +219 -0
  25. package/builtins/ja/pieces/dual-review.yaml +147 -0
  26. package/builtins/ja/pieces/frontend-review-fix.yaml +216 -0
  27. package/builtins/ja/pieces/frontend-review.yaml +146 -0
  28. package/builtins/ja/pieces/review-fix.yaml +241 -0
  29. package/builtins/ja/pieces/takt-default-review-fix.yaml +219 -0
  30. package/builtins/skill/SKILL.md +2 -2
  31. package/builtins/skill/references/engine.md +3 -3
  32. package/dist/{core/piece → agents}/agent-usecases.d.ts +4 -2
  33. package/dist/agents/agent-usecases.d.ts.map +1 -0
  34. package/dist/{core/piece → agents}/agent-usecases.js +13 -10
  35. package/dist/agents/agent-usecases.js.map +1 -0
  36. package/dist/agents/ai-judge.js +1 -1
  37. package/dist/agents/ai-judge.js.map +1 -1
  38. package/dist/agents/runner.d.ts +1 -0
  39. package/dist/agents/runner.d.ts.map +1 -1
  40. package/dist/agents/runner.js +27 -9
  41. package/dist/agents/runner.js.map +1 -1
  42. package/dist/agents/types.d.ts +6 -1
  43. package/dist/agents/types.d.ts.map +1 -1
  44. package/dist/app/cli/helpers.d.ts +0 -6
  45. package/dist/app/cli/helpers.d.ts.map +1 -1
  46. package/dist/app/cli/helpers.js +0 -20
  47. package/dist/app/cli/helpers.js.map +1 -1
  48. package/dist/app/cli/program.d.ts.map +1 -1
  49. package/dist/app/cli/program.js +0 -1
  50. package/dist/app/cli/program.js.map +1 -1
  51. package/dist/app/cli/routing-inputs.d.ts +9 -0
  52. package/dist/app/cli/routing-inputs.d.ts.map +1 -0
  53. package/dist/app/cli/routing-inputs.js +41 -0
  54. package/dist/app/cli/routing-inputs.js.map +1 -0
  55. package/dist/app/cli/routing.d.ts +0 -10
  56. package/dist/app/cli/routing.d.ts.map +1 -1
  57. package/dist/app/cli/routing.js +28 -86
  58. package/dist/app/cli/routing.js.map +1 -1
  59. package/dist/core/models/persisted-global-config.d.ts +19 -0
  60. package/dist/core/models/persisted-global-config.d.ts.map +1 -1
  61. package/dist/core/models/piece-types.d.ts +5 -5
  62. package/dist/core/models/piece-types.d.ts.map +1 -1
  63. package/dist/core/models/schemas.d.ts +299 -16
  64. package/dist/core/models/schemas.d.ts.map +1 -1
  65. package/dist/core/models/schemas.js +85 -14
  66. package/dist/core/models/schemas.js.map +1 -1
  67. package/dist/core/piece/arpeggio/merge.d.ts +2 -5
  68. package/dist/core/piece/arpeggio/merge.d.ts.map +1 -1
  69. package/dist/core/piece/arpeggio/merge.js +39 -45
  70. package/dist/core/piece/arpeggio/merge.js.map +1 -1
  71. package/dist/core/piece/engine/ArpeggioRunner.js +2 -2
  72. package/dist/core/piece/engine/ArpeggioRunner.js.map +1 -1
  73. package/dist/core/piece/engine/MovementExecutor.js +1 -1
  74. package/dist/core/piece/engine/MovementExecutor.js.map +1 -1
  75. package/dist/core/piece/engine/OptionsBuilder.d.ts.map +1 -1
  76. package/dist/core/piece/engine/OptionsBuilder.js +5 -10
  77. package/dist/core/piece/engine/OptionsBuilder.js.map +1 -1
  78. package/dist/core/piece/engine/ParallelRunner.js +1 -1
  79. package/dist/core/piece/engine/ParallelRunner.js.map +1 -1
  80. package/dist/core/piece/engine/TeamLeaderRunner.d.ts.map +1 -1
  81. package/dist/core/piece/engine/TeamLeaderRunner.js +3 -1
  82. package/dist/core/piece/engine/TeamLeaderRunner.js.map +1 -1
  83. package/dist/core/piece/engine/state-manager.js +1 -1
  84. package/dist/core/piece/engine/state-manager.js.map +1 -1
  85. package/dist/core/piece/engine/stream-buffer.d.ts.map +1 -1
  86. package/dist/core/piece/engine/stream-buffer.js +12 -6
  87. package/dist/core/piece/engine/stream-buffer.js.map +1 -1
  88. package/dist/core/piece/engine/team-leader-execution.d.ts +1 -1
  89. package/dist/core/piece/engine/team-leader-execution.d.ts.map +1 -1
  90. package/dist/core/piece/index.d.ts +0 -1
  91. package/dist/core/piece/index.d.ts.map +1 -1
  92. package/dist/core/piece/index.js +0 -2
  93. package/dist/core/piece/index.js.map +1 -1
  94. package/dist/core/piece/instruction/InstructionBuilder.js +3 -3
  95. package/dist/core/piece/instruction/InstructionBuilder.js.map +1 -1
  96. package/dist/core/piece/phase-runner.d.ts +2 -0
  97. package/dist/core/piece/phase-runner.d.ts.map +1 -1
  98. package/dist/core/piece/phase-runner.js +1 -1
  99. package/dist/core/piece/phase-runner.js.map +1 -1
  100. package/dist/core/piece/status-judgment-phase.d.ts.map +1 -1
  101. package/dist/core/piece/status-judgment-phase.js +2 -1
  102. package/dist/core/piece/status-judgment-phase.js.map +1 -1
  103. package/dist/core/piece/types.d.ts +4 -60
  104. package/dist/core/piece/types.d.ts.map +1 -1
  105. package/dist/features/config/deploySkill.d.ts.map +1 -1
  106. package/dist/features/config/deploySkill.js +13 -11
  107. package/dist/features/config/deploySkill.js.map +1 -1
  108. package/dist/features/interactive/index.d.ts +1 -1
  109. package/dist/features/interactive/index.d.ts.map +1 -1
  110. package/dist/features/interactive/index.js.map +1 -1
  111. package/dist/features/interactive/interactive-summary-types.d.ts +64 -0
  112. package/dist/features/interactive/interactive-summary-types.d.ts.map +1 -0
  113. package/dist/features/interactive/interactive-summary-types.js +9 -0
  114. package/dist/features/interactive/interactive-summary-types.js.map +1 -0
  115. package/dist/features/interactive/interactive-summary.d.ts +3 -60
  116. package/dist/features/interactive/interactive-summary.d.ts.map +1 -1
  117. package/dist/features/interactive/interactive-summary.js +4 -7
  118. package/dist/features/interactive/interactive-summary.js.map +1 -1
  119. package/dist/features/interactive/interactive.d.ts +6 -2
  120. package/dist/features/interactive/interactive.d.ts.map +1 -1
  121. package/dist/features/interactive/interactive.js +12 -11
  122. package/dist/features/interactive/interactive.js.map +1 -1
  123. package/dist/features/interactive/retryMode.d.ts.map +1 -1
  124. package/dist/features/interactive/retryMode.js +10 -9
  125. package/dist/features/interactive/retryMode.js.map +1 -1
  126. package/dist/features/pipeline/execute.d.ts +0 -17
  127. package/dist/features/pipeline/execute.d.ts.map +1 -1
  128. package/dist/features/pipeline/execute.js +1 -26
  129. package/dist/features/pipeline/execute.js.map +1 -1
  130. package/dist/features/pipeline/steps.d.ts +13 -12
  131. package/dist/features/pipeline/steps.d.ts.map +1 -1
  132. package/dist/features/pipeline/steps.js +50 -30
  133. package/dist/features/pipeline/steps.js.map +1 -1
  134. package/dist/features/repertoire/constants.d.ts +1 -2
  135. package/dist/features/repertoire/constants.d.ts.map +1 -1
  136. package/dist/features/repertoire/constants.js +3 -2
  137. package/dist/features/repertoire/constants.js.map +1 -1
  138. package/dist/features/tasks/add/index.d.ts +4 -0
  139. package/dist/features/tasks/add/index.d.ts.map +1 -1
  140. package/dist/features/tasks/add/index.js +7 -30
  141. package/dist/features/tasks/add/index.js.map +1 -1
  142. package/dist/features/tasks/add/worktree-settings.d.ts +13 -0
  143. package/dist/features/tasks/add/worktree-settings.d.ts.map +1 -0
  144. package/dist/features/tasks/add/worktree-settings.js +61 -0
  145. package/dist/features/tasks/add/worktree-settings.js.map +1 -0
  146. package/dist/features/tasks/execute/abortHandler.d.ts +34 -0
  147. package/dist/features/tasks/execute/abortHandler.d.ts.map +1 -0
  148. package/dist/features/tasks/execute/abortHandler.js +77 -0
  149. package/dist/features/tasks/execute/abortHandler.js.map +1 -0
  150. package/dist/features/tasks/execute/analyticsEmitter.d.ts +21 -0
  151. package/dist/features/tasks/execute/analyticsEmitter.d.ts.map +1 -0
  152. package/dist/features/tasks/execute/analyticsEmitter.js +75 -0
  153. package/dist/features/tasks/execute/analyticsEmitter.js.map +1 -0
  154. package/dist/features/tasks/execute/iterationLimitHandler.d.ts +19 -0
  155. package/dist/features/tasks/execute/iterationLimitHandler.d.ts.map +1 -0
  156. package/dist/features/tasks/execute/iterationLimitHandler.js +67 -0
  157. package/dist/features/tasks/execute/iterationLimitHandler.js.map +1 -0
  158. package/dist/features/tasks/execute/outputFns.d.ts +24 -0
  159. package/dist/features/tasks/execute/outputFns.d.ts.map +1 -0
  160. package/dist/features/tasks/execute/outputFns.js +59 -0
  161. package/dist/features/tasks/execute/outputFns.js.map +1 -0
  162. package/dist/features/tasks/execute/pieceExecution.d.ts.map +1 -1
  163. package/dist/features/tasks/execute/pieceExecution.js +90 -501
  164. package/dist/features/tasks/execute/pieceExecution.js.map +1 -1
  165. package/dist/features/tasks/execute/postExecution.d.ts +2 -11
  166. package/dist/features/tasks/execute/postExecution.d.ts.map +1 -1
  167. package/dist/features/tasks/execute/postExecution.js +2 -30
  168. package/dist/features/tasks/execute/postExecution.js.map +1 -1
  169. package/dist/features/tasks/execute/resolveTask.d.ts +2 -12
  170. package/dist/features/tasks/execute/resolveTask.d.ts.map +1 -1
  171. package/dist/features/tasks/execute/resolveTask.js +17 -25
  172. package/dist/features/tasks/execute/resolveTask.js.map +1 -1
  173. package/dist/features/tasks/execute/runMeta.d.ts +16 -0
  174. package/dist/features/tasks/execute/runMeta.d.ts.map +1 -0
  175. package/dist/features/tasks/execute/runMeta.js +41 -0
  176. package/dist/features/tasks/execute/runMeta.js.map +1 -0
  177. package/dist/features/tasks/execute/selectAndExecute.d.ts +1 -12
  178. package/dist/features/tasks/execute/selectAndExecute.d.ts.map +1 -1
  179. package/dist/features/tasks/execute/selectAndExecute.js +9 -56
  180. package/dist/features/tasks/execute/selectAndExecute.js.map +1 -1
  181. package/dist/features/tasks/execute/sessionLogger.d.ts +28 -0
  182. package/dist/features/tasks/execute/sessionLogger.d.ts.map +1 -0
  183. package/dist/features/tasks/execute/sessionLogger.js +132 -0
  184. package/dist/features/tasks/execute/sessionLogger.js.map +1 -0
  185. package/dist/features/tasks/execute/taskExecution.d.ts.map +1 -1
  186. package/dist/features/tasks/execute/taskExecution.js +11 -3
  187. package/dist/features/tasks/execute/taskExecution.js.map +1 -1
  188. package/dist/features/tasks/execute/taskResultHandler.d.ts +2 -1
  189. package/dist/features/tasks/execute/taskResultHandler.d.ts.map +1 -1
  190. package/dist/features/tasks/execute/taskResultHandler.js +9 -1
  191. package/dist/features/tasks/execute/taskResultHandler.js.map +1 -1
  192. package/dist/features/tasks/execute/types.d.ts +17 -9
  193. package/dist/features/tasks/execute/types.d.ts.map +1 -1
  194. package/dist/features/tasks/index.d.ts +1 -1
  195. package/dist/features/tasks/index.d.ts.map +1 -1
  196. package/dist/features/tasks/index.js +1 -1
  197. package/dist/features/tasks/index.js.map +1 -1
  198. package/dist/features/tasks/list/index.d.ts.map +1 -1
  199. package/dist/features/tasks/list/index.js +32 -5
  200. package/dist/features/tasks/list/index.js.map +1 -1
  201. package/dist/features/tasks/list/listNonInteractive.js +2 -2
  202. package/dist/features/tasks/list/listNonInteractive.js.map +1 -1
  203. package/dist/features/tasks/list/requeueHelpers.d.ts +2 -0
  204. package/dist/features/tasks/list/requeueHelpers.d.ts.map +1 -1
  205. package/dist/features/tasks/list/requeueHelpers.js +83 -0
  206. package/dist/features/tasks/list/requeueHelpers.js.map +1 -1
  207. package/dist/features/tasks/list/taskDeleteActions.d.ts +1 -3
  208. package/dist/features/tasks/list/taskDeleteActions.d.ts.map +1 -1
  209. package/dist/features/tasks/list/taskDeleteActions.js +12 -59
  210. package/dist/features/tasks/list/taskDeleteActions.js.map +1 -1
  211. package/dist/features/tasks/list/taskInstructionActions.d.ts.map +1 -1
  212. package/dist/features/tasks/list/taskInstructionActions.js +5 -2
  213. package/dist/features/tasks/list/taskInstructionActions.js.map +1 -1
  214. package/dist/features/tasks/list/taskRetryActions.d.ts.map +1 -1
  215. package/dist/features/tasks/list/taskRetryActions.js +5 -2
  216. package/dist/features/tasks/list/taskRetryActions.js.map +1 -1
  217. package/dist/features/tasks/list/taskStatusLabel.d.ts.map +1 -1
  218. package/dist/features/tasks/list/taskStatusLabel.js +1 -0
  219. package/dist/features/tasks/list/taskStatusLabel.js.map +1 -1
  220. package/dist/features/tasks/watch/index.js +1 -1
  221. package/dist/features/tasks/watch/index.js.map +1 -1
  222. package/dist/index.d.ts +4 -2
  223. package/dist/index.d.ts.map +1 -1
  224. package/dist/index.js +3 -1
  225. package/dist/index.js.map +1 -1
  226. package/dist/infra/config/configNormalizers.d.ts +30 -0
  227. package/dist/infra/config/configNormalizers.d.ts.map +1 -0
  228. package/dist/infra/config/configNormalizers.js +63 -0
  229. package/dist/infra/config/configNormalizers.js.map +1 -0
  230. package/dist/infra/config/constants.d.ts +10 -0
  231. package/dist/infra/config/constants.d.ts.map +1 -0
  232. package/dist/infra/config/constants.js +10 -0
  233. package/dist/infra/config/constants.js.map +1 -0
  234. package/dist/infra/config/global/globalConfig.d.ts.map +1 -1
  235. package/dist/infra/config/global/globalConfig.js +25 -27
  236. package/dist/infra/config/global/globalConfig.js.map +1 -1
  237. package/dist/infra/config/loaders/pieceParser.d.ts +2 -13
  238. package/dist/infra/config/loaders/pieceParser.d.ts.map +1 -1
  239. package/dist/infra/config/loaders/pieceParser.js +28 -59
  240. package/dist/infra/config/loaders/pieceParser.js.map +1 -1
  241. package/dist/infra/config/loaders/qualityGateOverrides.d.ts +32 -0
  242. package/dist/infra/config/loaders/qualityGateOverrides.d.ts.map +1 -0
  243. package/dist/infra/config/loaders/qualityGateOverrides.js +69 -0
  244. package/dist/infra/config/loaders/qualityGateOverrides.js.map +1 -0
  245. package/dist/infra/config/paths.js +1 -1
  246. package/dist/infra/config/paths.js.map +1 -1
  247. package/dist/infra/config/project/projectConfig.d.ts.map +1 -1
  248. package/dist/infra/config/project/projectConfig.js +19 -30
  249. package/dist/infra/config/project/projectConfig.js.map +1 -1
  250. package/dist/infra/config/project/sessionStore.d.ts.map +1 -1
  251. package/dist/infra/config/project/sessionStore.js +54 -80
  252. package/dist/infra/config/project/sessionStore.js.map +1 -1
  253. package/dist/infra/config/providerBlockOptions.d.ts +14 -0
  254. package/dist/infra/config/providerBlockOptions.d.ts.map +1 -0
  255. package/dist/infra/config/providerBlockOptions.js +24 -0
  256. package/dist/infra/config/providerBlockOptions.js.map +1 -0
  257. package/dist/infra/config/providerOptions.d.ts +21 -0
  258. package/dist/infra/config/providerOptions.d.ts.map +1 -0
  259. package/dist/infra/config/providerOptions.js +48 -0
  260. package/dist/infra/config/providerOptions.js.map +1 -0
  261. package/dist/infra/config/providerReference.d.ts +24 -0
  262. package/dist/infra/config/providerReference.d.ts.map +1 -0
  263. package/dist/infra/config/providerReference.js +27 -0
  264. package/dist/infra/config/providerReference.js.map +1 -0
  265. package/dist/infra/config/resolveConfigValue.d.ts.map +1 -1
  266. package/dist/infra/config/resolveConfigValue.js +1 -0
  267. package/dist/infra/config/resolveConfigValue.js.map +1 -1
  268. package/dist/infra/config/types.d.ts +3 -1
  269. package/dist/infra/config/types.d.ts.map +1 -1
  270. package/dist/infra/copilot/client.d.ts.map +1 -1
  271. package/dist/infra/copilot/client.js +16 -11
  272. package/dist/infra/copilot/client.js.map +1 -1
  273. package/dist/infra/fs/session.d.ts +1 -1
  274. package/dist/infra/fs/session.d.ts.map +1 -1
  275. package/dist/infra/fs/session.js +2 -9
  276. package/dist/infra/fs/session.js.map +1 -1
  277. package/dist/infra/git/types.d.ts +1 -31
  278. package/dist/infra/git/types.d.ts.map +1 -1
  279. package/dist/infra/git/types.js +0 -6
  280. package/dist/infra/git/types.js.map +1 -1
  281. package/dist/infra/github/pr.d.ts.map +1 -1
  282. package/dist/infra/github/pr.js +2 -1
  283. package/dist/infra/github/pr.js.map +1 -1
  284. package/dist/infra/resources/schema-loader.d.ts.map +1 -0
  285. package/dist/{core/piece → infra/resources}/schema-loader.js +1 -1
  286. package/dist/infra/resources/schema-loader.js.map +1 -0
  287. package/dist/infra/task/clone-base-branch.d.ts +6 -0
  288. package/dist/infra/task/clone-base-branch.d.ts.map +1 -0
  289. package/dist/infra/task/clone-base-branch.js +73 -0
  290. package/dist/infra/task/clone-base-branch.js.map +1 -0
  291. package/dist/infra/task/clone-exec.d.ts +7 -0
  292. package/dist/infra/task/clone-exec.d.ts.map +1 -0
  293. package/dist/infra/task/clone-exec.js +111 -0
  294. package/dist/infra/task/clone-exec.js.map +1 -0
  295. package/dist/infra/task/clone-meta.d.ts +7 -0
  296. package/dist/infra/task/clone-meta.d.ts.map +1 -0
  297. package/dist/infra/task/clone-meta.js +40 -0
  298. package/dist/infra/task/clone-meta.js.map +1 -0
  299. package/dist/infra/task/clone.d.ts +3 -60
  300. package/dist/infra/task/clone.d.ts.map +1 -1
  301. package/dist/infra/task/clone.js +35 -251
  302. package/dist/infra/task/clone.js.map +1 -1
  303. package/dist/infra/task/display.d.ts.map +1 -1
  304. package/dist/infra/task/display.js +2 -3
  305. package/dist/infra/task/display.js.map +1 -1
  306. package/dist/infra/task/git.d.ts +4 -0
  307. package/dist/infra/task/git.d.ts.map +1 -1
  308. package/dist/infra/task/git.js +8 -0
  309. package/dist/infra/task/git.js.map +1 -1
  310. package/dist/infra/task/index.d.ts +3 -2
  311. package/dist/infra/task/index.d.ts.map +1 -1
  312. package/dist/infra/task/index.js +3 -2
  313. package/dist/infra/task/index.js.map +1 -1
  314. package/dist/infra/task/instruction.d.ts +2 -0
  315. package/dist/infra/task/instruction.d.ts.map +1 -0
  316. package/dist/infra/task/instruction.js +9 -0
  317. package/dist/infra/task/instruction.js.map +1 -0
  318. package/dist/infra/task/mapper.d.ts +1 -0
  319. package/dist/infra/task/mapper.d.ts.map +1 -1
  320. package/dist/infra/task/mapper.js +21 -24
  321. package/dist/infra/task/mapper.js.map +1 -1
  322. package/dist/infra/task/runner.d.ts +7 -4
  323. package/dist/infra/task/runner.d.ts.map +1 -1
  324. package/dist/infra/task/runner.js +13 -7
  325. package/dist/infra/task/runner.js.map +1 -1
  326. package/dist/infra/task/schema.d.ts +15 -0
  327. package/dist/infra/task/schema.d.ts.map +1 -1
  328. package/dist/infra/task/schema.js +43 -1
  329. package/dist/infra/task/schema.js.map +1 -1
  330. package/dist/infra/task/taskDeletionService.d.ts +1 -4
  331. package/dist/infra/task/taskDeletionService.d.ts.map +1 -1
  332. package/dist/infra/task/taskDeletionService.js +0 -9
  333. package/dist/infra/task/taskDeletionService.js.map +1 -1
  334. package/dist/infra/task/taskExceedService.d.ts +13 -0
  335. package/dist/infra/task/taskExceedService.d.ts.map +1 -0
  336. package/dist/infra/task/taskExceedService.js +50 -0
  337. package/dist/infra/task/taskExceedService.js.map +1 -0
  338. package/dist/infra/task/taskQueryService.d.ts +1 -0
  339. package/dist/infra/task/taskQueryService.d.ts.map +1 -1
  340. package/dist/infra/task/taskQueryService.js +7 -1
  341. package/dist/infra/task/taskQueryService.js.map +1 -1
  342. package/dist/infra/task/types.d.ts +4 -19
  343. package/dist/infra/task/types.d.ts.map +1 -1
  344. package/dist/infra/task/types.js +0 -3
  345. package/dist/infra/task/types.js.map +1 -1
  346. package/dist/shared/types/provider.d.ts +70 -0
  347. package/dist/shared/types/provider.d.ts.map +1 -0
  348. package/dist/shared/types/provider.js +11 -0
  349. package/dist/shared/types/provider.js.map +1 -0
  350. package/dist/shared/ui/StreamDisplay.d.ts +1 -1
  351. package/dist/shared/ui/StreamDisplay.d.ts.map +1 -1
  352. package/dist/shared/ui/StreamDisplay.js.map +1 -1
  353. package/dist/shared/utils/providerEventLogger.d.ts +1 -1
  354. package/dist/shared/utils/providerEventLogger.d.ts.map +1 -1
  355. package/package.json +7 -7
  356. package/dist/core/piece/agent-usecases.d.ts.map +0 -1
  357. package/dist/core/piece/agent-usecases.js.map +0 -1
  358. package/dist/core/piece/schema-loader.d.ts.map +0 -1
  359. package/dist/core/piece/schema-loader.js.map +0 -1
  360. /package/dist/{core/piece → infra/resources}/schema-loader.d.ts +0 -0
package/README.md CHANGED
@@ -22,13 +22,15 @@ TAKT is built with TAKT itself (dogfooding).
22
22
 
23
23
  Choose one:
24
24
 
25
- - **Provider CLIs**: [Claude Code](https://docs.anthropic.com/en/docs/claude-code), [Codex](https://github.com/openai/codex), [OpenCode](https://opencode.ai), [Cursor Agent](https://docs.cursor.com/), or [GitHub Copilot CLI](https://docs.github.com/en/copilot/github-copilot-in-the-cli) installed
25
+ - **Provider CLIs**: [Codex](https://github.com/openai/codex), [OpenCode](https://opencode.ai), [Cursor Agent](https://docs.cursor.com/), or [GitHub Copilot CLI](https://docs.github.com/en/copilot/github-copilot-in-the-cli) installed
26
26
  - **Direct API**: Anthropic / OpenAI / OpenCode API Key (no CLI required)
27
27
 
28
28
  Optional:
29
29
 
30
30
  - [GitHub CLI](https://cli.github.com/) (`gh`) — for `takt #N` (GitHub Issue tasks)
31
31
 
32
+ > **OAuth and API key usage:** Whether OAuth or API key access is permitted varies by provider and use case. Check each provider's terms of service before using TAKT.
33
+
32
34
  ## Quick Start
33
35
 
34
36
  ### Install
@@ -3,6 +3,8 @@ Do not review AI-specific issues (already covered by the ai_review movement).
3
3
 
4
4
  **Review criteria:**
5
5
  - Structural and design validity
6
+ - Modularization (high cohesion, low coupling, no circular dependencies)
7
+ - Functionalization (single responsibility per function, operation discoverability, consistent abstraction level)
6
8
  - Code quality
7
9
  - Appropriateness of change scope
8
10
  - Test coverage
@@ -34,6 +34,17 @@ piece_categories:
34
34
  🔍 Review:
35
35
  pieces:
36
36
  - review
37
+ - review-fix
38
+ - frontend-review
39
+ - frontend-review-fix
40
+ - backend-review
41
+ - backend-review-fix
42
+ - dual-review
43
+ - dual-review-fix
44
+ - dual-cqrs-review
45
+ - dual-cqrs-review-fix
46
+ - backend-cqrs-review
47
+ - backend-cqrs-review-fix
37
48
  🧪 Testing:
38
49
  pieces:
39
50
  - unit-test
@@ -42,6 +53,7 @@ piece_categories:
42
53
  pieces:
43
54
  - takt-default
44
55
  - takt-default-team-leader
56
+ - takt-default-review-fix
45
57
  Others:
46
58
  pieces:
47
59
  - research
@@ -0,0 +1,220 @@
1
+ name: backend-cqrs-review-fix
2
+ description: CQRS+ES focused review + fix loop (structure, modularization, domain model, security, QA)
3
+ piece_config:
4
+ provider_options:
5
+ codex:
6
+ network_access: true
7
+ opencode:
8
+ network_access: true
9
+ max_movements: 30
10
+ initial_movement: gather
11
+ loop_monitors:
12
+ - cycle:
13
+ - reviewers
14
+ - fix
15
+ threshold: 3
16
+ judge:
17
+ persona: supervisor
18
+ instruction_template: loop-monitor-ai-fix
19
+ rules:
20
+ - condition: Healthy (progress being made)
21
+ next: reviewers
22
+ - condition: Unproductive (repeated findings, fixes not applied)
23
+ next: supervise
24
+
25
+ movements:
26
+ - name: gather
27
+ edit: false
28
+ persona: planner
29
+ allowed_tools:
30
+ - Read
31
+ - Glob
32
+ - Grep
33
+ - Bash
34
+ - WebSearch
35
+ - WebFetch
36
+ instruction: gather-review
37
+ output_contracts:
38
+ report:
39
+ - name: review-target.md
40
+ format: review-gather
41
+ rules:
42
+ - condition: Review target information gathered
43
+ next: reviewers
44
+ - condition: Unable to identify review target, insufficient information
45
+ next: ABORT
46
+
47
+ - name: reviewers
48
+ parallel:
49
+ - name: arch-review
50
+ edit: false
51
+ persona: architecture-reviewer
52
+ policy: review
53
+ knowledge:
54
+ - architecture
55
+ - backend
56
+ allowed_tools:
57
+ - Read
58
+ - Glob
59
+ - Grep
60
+ - WebSearch
61
+ - WebFetch
62
+ instruction: review-arch
63
+ output_contracts:
64
+ report:
65
+ - name: architect-review.md
66
+ format: architecture-review
67
+ rules:
68
+ - condition: approved
69
+ - condition: needs_fix
70
+
71
+ - name: cqrs-es-review
72
+ edit: false
73
+ persona: cqrs-es-reviewer
74
+ policy: review
75
+ knowledge:
76
+ - cqrs-es
77
+ - backend
78
+ allowed_tools:
79
+ - Read
80
+ - Glob
81
+ - Grep
82
+ - WebSearch
83
+ - WebFetch
84
+ instruction: review-cqrs-es
85
+ output_contracts:
86
+ report:
87
+ - name: cqrs-es-review.md
88
+ format: cqrs-es-review
89
+ rules:
90
+ - condition: approved
91
+ - condition: needs_fix
92
+
93
+ - name: security-review
94
+ edit: false
95
+ persona: security-reviewer
96
+ policy: review
97
+ knowledge: security
98
+ allowed_tools:
99
+ - Read
100
+ - Glob
101
+ - Grep
102
+ - WebSearch
103
+ - WebFetch
104
+ instruction: review-security
105
+ output_contracts:
106
+ report:
107
+ - name: security-review.md
108
+ format: security-review
109
+ rules:
110
+ - condition: approved
111
+ - condition: needs_fix
112
+
113
+ - name: qa-review
114
+ edit: false
115
+ persona: qa-reviewer
116
+ policy:
117
+ - review
118
+ - qa
119
+ allowed_tools:
120
+ - Read
121
+ - Glob
122
+ - Grep
123
+ - WebSearch
124
+ - WebFetch
125
+ instruction: review-qa
126
+ output_contracts:
127
+ report:
128
+ - name: qa-review.md
129
+ format: qa-review
130
+ rules:
131
+ - condition: approved
132
+ - condition: needs_fix
133
+
134
+ rules:
135
+ - condition: all("approved")
136
+ next: supervise
137
+ - condition: any("needs_fix")
138
+ next: fix
139
+
140
+ - name: fix
141
+ edit: true
142
+ persona: coder
143
+ policy:
144
+ - coding
145
+ - testing
146
+ knowledge:
147
+ - backend
148
+ - cqrs-es
149
+ - security
150
+ - architecture
151
+ allowed_tools:
152
+ - Read
153
+ - Glob
154
+ - Grep
155
+ - Edit
156
+ - Write
157
+ - Bash
158
+ - WebSearch
159
+ - WebFetch
160
+ required_permission_mode: edit
161
+ pass_previous_response: false
162
+ instruction: fix
163
+ rules:
164
+ - condition: Fixes complete
165
+ next: reviewers
166
+ - condition: Unable to proceed with fixes
167
+ next: supervise
168
+
169
+ - name: supervise
170
+ edit: false
171
+ persona: dual-supervisor
172
+ policy: review
173
+ allowed_tools:
174
+ - Read
175
+ - Glob
176
+ - Grep
177
+ - WebSearch
178
+ - WebFetch
179
+ instruction: supervise
180
+ pass_previous_response: false
181
+ rules:
182
+ - condition: All validations complete, ready to merge
183
+ next: COMPLETE
184
+ - condition: Issues detected
185
+ next: fix_supervisor
186
+ output_contracts:
187
+ report:
188
+ - name: supervisor-validation.md
189
+ format: supervisor-validation
190
+ - name: summary.md
191
+ format: summary
192
+ use_judge: false
193
+
194
+ - name: fix_supervisor
195
+ edit: true
196
+ persona: coder
197
+ policy:
198
+ - coding
199
+ - testing
200
+ knowledge:
201
+ - backend
202
+ - cqrs-es
203
+ - security
204
+ - architecture
205
+ allowed_tools:
206
+ - Read
207
+ - Glob
208
+ - Grep
209
+ - Edit
210
+ - Write
211
+ - Bash
212
+ - WebSearch
213
+ - WebFetch
214
+ instruction: fix-supervisor
215
+ pass_previous_response: false
216
+ rules:
217
+ - condition: Fixes for supervisor findings complete
218
+ next: supervise
219
+ - condition: Unable to proceed with fixes
220
+ next: supervise
@@ -0,0 +1,148 @@
1
+ name: backend-cqrs-review
2
+ description: CQRS+ES focused review (structure, modularization, domain model, security, QA)
3
+ piece_config:
4
+ provider_options:
5
+ codex:
6
+ network_access: true
7
+ opencode:
8
+ network_access: true
9
+ max_movements: 10
10
+ initial_movement: gather
11
+
12
+ movements:
13
+ - name: gather
14
+ edit: false
15
+ persona: planner
16
+ allowed_tools:
17
+ - Read
18
+ - Glob
19
+ - Grep
20
+ - Bash
21
+ - WebSearch
22
+ - WebFetch
23
+ instruction: gather-review
24
+ output_contracts:
25
+ report:
26
+ - name: review-target.md
27
+ format: review-gather
28
+ rules:
29
+ - condition: Review target information gathered
30
+ next: reviewers
31
+ - condition: Unable to identify review target, insufficient information
32
+ next: ABORT
33
+
34
+ - name: reviewers
35
+ parallel:
36
+ - name: arch-review
37
+ edit: false
38
+ persona: architecture-reviewer
39
+ policy: review
40
+ knowledge:
41
+ - architecture
42
+ - backend
43
+ allowed_tools:
44
+ - Read
45
+ - Glob
46
+ - Grep
47
+ - WebSearch
48
+ - WebFetch
49
+ instruction: review-arch
50
+ output_contracts:
51
+ report:
52
+ - name: architect-review.md
53
+ format: architecture-review
54
+ rules:
55
+ - condition: approved
56
+ - condition: needs_fix
57
+
58
+ - name: cqrs-es-review
59
+ edit: false
60
+ persona: cqrs-es-reviewer
61
+ policy: review
62
+ knowledge:
63
+ - cqrs-es
64
+ - backend
65
+ allowed_tools:
66
+ - Read
67
+ - Glob
68
+ - Grep
69
+ - WebSearch
70
+ - WebFetch
71
+ instruction: review-cqrs-es
72
+ output_contracts:
73
+ report:
74
+ - name: cqrs-es-review.md
75
+ format: cqrs-es-review
76
+ rules:
77
+ - condition: approved
78
+ - condition: needs_fix
79
+
80
+ - name: security-review
81
+ edit: false
82
+ persona: security-reviewer
83
+ policy: review
84
+ knowledge: security
85
+ allowed_tools:
86
+ - Read
87
+ - Glob
88
+ - Grep
89
+ - WebSearch
90
+ - WebFetch
91
+ instruction: review-security
92
+ output_contracts:
93
+ report:
94
+ - name: security-review.md
95
+ format: security-review
96
+ rules:
97
+ - condition: approved
98
+ - condition: needs_fix
99
+
100
+ - name: qa-review
101
+ edit: false
102
+ persona: qa-reviewer
103
+ policy:
104
+ - review
105
+ - qa
106
+ allowed_tools:
107
+ - Read
108
+ - Glob
109
+ - Grep
110
+ - WebSearch
111
+ - WebFetch
112
+ instruction: review-qa
113
+ output_contracts:
114
+ report:
115
+ - name: qa-review.md
116
+ format: qa-review
117
+ rules:
118
+ - condition: approved
119
+ - condition: needs_fix
120
+
121
+ rules:
122
+ - condition: all("approved")
123
+ next: supervise
124
+ - condition: any("needs_fix")
125
+ next: supervise
126
+
127
+ - name: supervise
128
+ edit: false
129
+ persona: supervisor
130
+ policy: review
131
+ allowed_tools:
132
+ - Read
133
+ - Glob
134
+ - Grep
135
+ - WebSearch
136
+ - WebFetch
137
+ pass_previous_response: false
138
+ instruction: supervise
139
+ output_contracts:
140
+ report:
141
+ - name: supervisor-validation.md
142
+ format: supervisor-validation
143
+ - name: summary.md
144
+ format: summary
145
+ use_judge: false
146
+ rules:
147
+ - condition: Review integration complete
148
+ next: COMPLETE
@@ -0,0 +1,196 @@
1
+ name: backend-review-fix
2
+ description: Backend-focused review + fix loop (structure, modularization, hexagonal architecture, security, QA)
3
+ piece_config:
4
+ provider_options:
5
+ codex:
6
+ network_access: true
7
+ opencode:
8
+ network_access: true
9
+ max_movements: 30
10
+ initial_movement: gather
11
+ loop_monitors:
12
+ - cycle:
13
+ - reviewers
14
+ - fix
15
+ threshold: 3
16
+ judge:
17
+ persona: supervisor
18
+ instruction_template: loop-monitor-ai-fix
19
+ rules:
20
+ - condition: Healthy (progress being made)
21
+ next: reviewers
22
+ - condition: Unproductive (repeated findings, fixes not applied)
23
+ next: supervise
24
+
25
+ movements:
26
+ - name: gather
27
+ edit: false
28
+ persona: planner
29
+ allowed_tools:
30
+ - Read
31
+ - Glob
32
+ - Grep
33
+ - Bash
34
+ - WebSearch
35
+ - WebFetch
36
+ instruction: gather-review
37
+ output_contracts:
38
+ report:
39
+ - name: review-target.md
40
+ format: review-gather
41
+ rules:
42
+ - condition: Review target information gathered
43
+ next: reviewers
44
+ - condition: Unable to identify review target, insufficient information
45
+ next: ABORT
46
+
47
+ - name: reviewers
48
+ parallel:
49
+ - name: arch-review
50
+ edit: false
51
+ persona: architecture-reviewer
52
+ policy: review
53
+ knowledge:
54
+ - architecture
55
+ - backend
56
+ allowed_tools:
57
+ - Read
58
+ - Glob
59
+ - Grep
60
+ - WebSearch
61
+ - WebFetch
62
+ instruction: review-arch
63
+ output_contracts:
64
+ report:
65
+ - name: architect-review.md
66
+ format: architecture-review
67
+ rules:
68
+ - condition: approved
69
+ - condition: needs_fix
70
+
71
+ - name: security-review
72
+ edit: false
73
+ persona: security-reviewer
74
+ policy: review
75
+ knowledge: security
76
+ allowed_tools:
77
+ - Read
78
+ - Glob
79
+ - Grep
80
+ - WebSearch
81
+ - WebFetch
82
+ instruction: review-security
83
+ output_contracts:
84
+ report:
85
+ - name: security-review.md
86
+ format: security-review
87
+ rules:
88
+ - condition: approved
89
+ - condition: needs_fix
90
+
91
+ - name: qa-review
92
+ edit: false
93
+ persona: qa-reviewer
94
+ policy:
95
+ - review
96
+ - qa
97
+ allowed_tools:
98
+ - Read
99
+ - Glob
100
+ - Grep
101
+ - WebSearch
102
+ - WebFetch
103
+ instruction: review-qa
104
+ output_contracts:
105
+ report:
106
+ - name: qa-review.md
107
+ format: qa-review
108
+ rules:
109
+ - condition: approved
110
+ - condition: needs_fix
111
+
112
+ rules:
113
+ - condition: all("approved")
114
+ next: supervise
115
+ - condition: any("needs_fix")
116
+ next: fix
117
+
118
+ - name: fix
119
+ edit: true
120
+ persona: coder
121
+ policy:
122
+ - coding
123
+ - testing
124
+ knowledge:
125
+ - backend
126
+ - security
127
+ - architecture
128
+ allowed_tools:
129
+ - Read
130
+ - Glob
131
+ - Grep
132
+ - Edit
133
+ - Write
134
+ - Bash
135
+ - WebSearch
136
+ - WebFetch
137
+ required_permission_mode: edit
138
+ pass_previous_response: false
139
+ instruction: fix
140
+ rules:
141
+ - condition: Fixes complete
142
+ next: reviewers
143
+ - condition: Unable to proceed with fixes
144
+ next: supervise
145
+
146
+ - name: supervise
147
+ edit: false
148
+ persona: dual-supervisor
149
+ policy: review
150
+ allowed_tools:
151
+ - Read
152
+ - Glob
153
+ - Grep
154
+ - WebSearch
155
+ - WebFetch
156
+ instruction: supervise
157
+ pass_previous_response: false
158
+ rules:
159
+ - condition: All validations complete, ready to merge
160
+ next: COMPLETE
161
+ - condition: Issues detected
162
+ next: fix_supervisor
163
+ output_contracts:
164
+ report:
165
+ - name: supervisor-validation.md
166
+ format: supervisor-validation
167
+ - name: summary.md
168
+ format: summary
169
+ use_judge: false
170
+
171
+ - name: fix_supervisor
172
+ edit: true
173
+ persona: coder
174
+ policy:
175
+ - coding
176
+ - testing
177
+ knowledge:
178
+ - backend
179
+ - security
180
+ - architecture
181
+ allowed_tools:
182
+ - Read
183
+ - Glob
184
+ - Grep
185
+ - Edit
186
+ - Write
187
+ - Bash
188
+ - WebSearch
189
+ - WebFetch
190
+ instruction: fix-supervisor
191
+ pass_previous_response: false
192
+ rules:
193
+ - condition: Fixes for supervisor findings complete
194
+ next: supervise
195
+ - condition: Unable to proceed with fixes
196
+ next: supervise