takt 0.33.2 → 0.35.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 (641) hide show
  1. package/README.md +32 -25
  2. package/builtins/en/config.yaml +8 -8
  3. package/builtins/en/facets/instructions/dual-team-leader-implement.md +8 -2
  4. package/builtins/en/facets/instructions/plan.md +3 -0
  5. package/builtins/en/facets/instructions/review-requirements.md +12 -7
  6. package/builtins/en/facets/instructions/supervise.md +4 -2
  7. package/builtins/en/facets/instructions/team-leader-implement.md +3 -2
  8. package/builtins/en/facets/knowledge/architecture.md +93 -0
  9. package/builtins/en/facets/knowledge/cqrs-es.md +64 -5
  10. package/builtins/en/facets/output-contracts/plan.md +8 -0
  11. package/builtins/en/facets/output-contracts/requirements-review.md +10 -8
  12. package/builtins/en/facets/output-contracts/supervisor-validation.md +8 -0
  13. package/builtins/en/facets/personas/planner.md +7 -0
  14. package/builtins/en/facets/personas/requirements-reviewer.md +7 -0
  15. package/builtins/en/facets/personas/supervisor.md +10 -0
  16. package/builtins/en/facets/policies/coding.md +87 -0
  17. package/builtins/en/{piece-categories.yaml → workflow-categories.yaml} +10 -10
  18. package/builtins/en/{pieces → workflows}/audit-architecture-backend.yaml +3 -3
  19. package/builtins/en/{pieces → workflows}/audit-architecture-dual.yaml +3 -3
  20. package/builtins/en/{pieces → workflows}/audit-architecture-frontend.yaml +3 -3
  21. package/builtins/en/{pieces → workflows}/audit-architecture.yaml +3 -3
  22. package/builtins/en/{pieces → workflows}/audit-e2e.yaml +4 -4
  23. package/builtins/en/{pieces → workflows}/audit-security.yaml +3 -3
  24. package/builtins/en/{pieces → workflows}/audit-unit.yaml +4 -4
  25. package/builtins/en/{pieces → workflows}/backend-cqrs-mini.yaml +5 -5
  26. package/builtins/en/{pieces → workflows}/backend-cqrs.yaml +5 -5
  27. package/builtins/en/{pieces → workflows}/backend-mini.yaml +5 -5
  28. package/builtins/en/{pieces → workflows}/backend.yaml +5 -5
  29. package/builtins/en/{pieces → workflows}/compound-eye.yaml +5 -5
  30. package/builtins/en/{pieces → workflows}/deep-research.yaml +5 -5
  31. package/builtins/en/{pieces → workflows}/default.yaml +5 -5
  32. package/builtins/en/{pieces → workflows}/dual-cqrs-mini.yaml +5 -5
  33. package/builtins/en/{pieces → workflows}/dual-cqrs.yaml +5 -5
  34. package/builtins/en/{pieces → workflows}/dual-mini.yaml +5 -5
  35. package/builtins/en/{pieces → workflows}/dual.yaml +23 -7
  36. package/builtins/en/{pieces → workflows}/frontend-mini.yaml +5 -5
  37. package/builtins/en/{pieces → workflows}/frontend.yaml +5 -5
  38. package/builtins/en/{pieces → workflows}/magi.yaml +4 -4
  39. package/builtins/en/{pieces → workflows}/research.yaml +5 -5
  40. package/builtins/en/{pieces → workflows}/review-backend-cqrs.yaml +4 -4
  41. package/builtins/en/{pieces → workflows}/review-backend.yaml +4 -4
  42. package/builtins/en/{pieces → workflows}/review-default.yaml +5 -5
  43. package/builtins/en/{pieces → workflows}/review-dual-cqrs.yaml +4 -4
  44. package/builtins/en/{pieces → workflows}/review-dual.yaml +4 -4
  45. package/builtins/en/{pieces → workflows}/review-fix-backend-cqrs.yaml +4 -4
  46. package/builtins/en/{pieces → workflows}/review-fix-backend.yaml +4 -4
  47. package/builtins/en/{pieces → workflows}/review-fix-default.yaml +4 -4
  48. package/builtins/en/{pieces → workflows}/review-fix-dual-cqrs.yaml +4 -4
  49. package/builtins/en/{pieces → workflows}/review-fix-dual.yaml +4 -4
  50. package/builtins/en/{pieces → workflows}/review-fix-frontend.yaml +4 -4
  51. package/builtins/en/{pieces → workflows}/review-fix-takt-default.yaml +4 -4
  52. package/builtins/en/{pieces → workflows}/review-frontend.yaml +4 -4
  53. package/builtins/en/{pieces → workflows}/review-takt-default.yaml +5 -5
  54. package/builtins/en/{pieces → workflows}/takt-default.yaml +5 -5
  55. package/builtins/en/{pieces → workflows}/terraform.yaml +5 -5
  56. package/builtins/ja/config.yaml +8 -8
  57. package/builtins/ja/facets/instructions/dual-team-leader-implement.md +8 -2
  58. package/builtins/ja/facets/instructions/plan.md +3 -0
  59. package/builtins/ja/facets/instructions/review-requirements.md +12 -7
  60. package/builtins/ja/facets/instructions/supervise.md +4 -2
  61. package/builtins/ja/facets/instructions/team-leader-implement.md +3 -2
  62. package/builtins/ja/facets/knowledge/architecture.md +93 -0
  63. package/builtins/ja/facets/knowledge/cqrs-es.md +66 -6
  64. package/builtins/ja/facets/output-contracts/plan.md +8 -0
  65. package/builtins/ja/facets/output-contracts/requirements-review.md +10 -8
  66. package/builtins/ja/facets/output-contracts/supervisor-validation.md +8 -0
  67. package/builtins/ja/facets/personas/planner.md +8 -0
  68. package/builtins/ja/facets/personas/requirements-reviewer.md +7 -0
  69. package/builtins/ja/facets/personas/supervisor.md +6 -0
  70. package/builtins/ja/facets/policies/coding.md +87 -0
  71. package/builtins/ja/{piece-categories.yaml → workflow-categories.yaml} +10 -10
  72. package/builtins/ja/{pieces → workflows}/audit-architecture-backend.yaml +3 -3
  73. package/builtins/ja/{pieces → workflows}/audit-architecture-dual.yaml +3 -3
  74. package/builtins/ja/{pieces → workflows}/audit-architecture-frontend.yaml +3 -3
  75. package/builtins/ja/{pieces → workflows}/audit-architecture.yaml +3 -3
  76. package/builtins/ja/{pieces → workflows}/audit-e2e.yaml +4 -4
  77. package/builtins/ja/{pieces → workflows}/audit-security.yaml +3 -3
  78. package/builtins/ja/{pieces → workflows}/audit-unit.yaml +4 -4
  79. package/builtins/ja/{pieces → workflows}/backend-cqrs-mini.yaml +5 -5
  80. package/builtins/ja/{pieces → workflows}/backend-cqrs.yaml +4 -4
  81. package/builtins/ja/{pieces → workflows}/backend-mini.yaml +5 -5
  82. package/builtins/ja/{pieces → workflows}/backend.yaml +4 -4
  83. package/builtins/ja/{pieces → workflows}/compound-eye.yaml +5 -5
  84. package/builtins/ja/{pieces → workflows}/deep-research.yaml +5 -5
  85. package/builtins/ja/{pieces → workflows}/default.yaml +5 -5
  86. package/builtins/ja/{pieces → workflows}/dual-cqrs-mini.yaml +5 -5
  87. package/builtins/ja/{pieces → workflows}/dual-cqrs.yaml +5 -5
  88. package/builtins/ja/{pieces → workflows}/dual-mini.yaml +5 -5
  89. package/builtins/ja/{pieces → workflows}/dual.yaml +23 -7
  90. package/builtins/ja/{pieces → workflows}/frontend-mini.yaml +5 -5
  91. package/builtins/ja/{pieces → workflows}/frontend.yaml +4 -4
  92. package/builtins/ja/{pieces → workflows}/magi.yaml +4 -4
  93. package/builtins/ja/{pieces → workflows}/research.yaml +5 -5
  94. package/builtins/ja/{pieces → workflows}/review-backend-cqrs.yaml +4 -4
  95. package/builtins/ja/{pieces → workflows}/review-backend.yaml +4 -4
  96. package/builtins/ja/{pieces → workflows}/review-default.yaml +5 -5
  97. package/builtins/ja/{pieces → workflows}/review-dual-cqrs.yaml +4 -4
  98. package/builtins/ja/{pieces → workflows}/review-dual.yaml +4 -4
  99. package/builtins/ja/{pieces → workflows}/review-fix-backend-cqrs.yaml +4 -4
  100. package/builtins/ja/{pieces → workflows}/review-fix-backend.yaml +4 -4
  101. package/builtins/ja/{pieces → workflows}/review-fix-default.yaml +4 -4
  102. package/builtins/ja/{pieces → workflows}/review-fix-dual-cqrs.yaml +4 -4
  103. package/builtins/ja/{pieces → workflows}/review-fix-dual.yaml +4 -4
  104. package/builtins/ja/{pieces → workflows}/review-fix-frontend.yaml +4 -4
  105. package/builtins/ja/{pieces → workflows}/review-fix-takt-default.yaml +4 -4
  106. package/builtins/ja/{pieces → workflows}/review-frontend.yaml +4 -4
  107. package/builtins/ja/{pieces → workflows}/review-takt-default.yaml +5 -5
  108. package/builtins/ja/{pieces → workflows}/takt-default.yaml +5 -5
  109. package/builtins/ja/{pieces → workflows}/terraform.yaml +5 -5
  110. package/builtins/schemas/decomposition.json +1 -5
  111. package/builtins/schemas/more-parts.json +1 -5
  112. package/builtins/skill/SKILL.md +54 -52
  113. package/builtins/skill/references/engine.md +45 -45
  114. package/builtins/skill/references/yaml-schema.md +46 -38
  115. package/builtins/skill-codex/SKILL.md +48 -46
  116. package/builtins/skill-codex/references/engine.md +32 -32
  117. package/builtins/skill-codex/references/yaml-schema.md +46 -38
  118. package/dist/agents/decompose-task-usecase.d.ts +3 -1
  119. package/dist/agents/decompose-task-usecase.d.ts.map +1 -1
  120. package/dist/agents/decompose-task-usecase.js +2 -112
  121. package/dist/agents/decompose-task-usecase.js.map +1 -1
  122. package/dist/agents/judge-status-usecase.d.ts +17 -0
  123. package/dist/agents/judge-status-usecase.d.ts.map +1 -1
  124. package/dist/agents/judge-status-usecase.js +53 -31
  125. package/dist/agents/judge-status-usecase.js.map +1 -1
  126. package/dist/agents/judge-utils.d.ts +6 -0
  127. package/dist/agents/judge-utils.d.ts.map +1 -1
  128. package/dist/agents/judge-utils.js +12 -0
  129. package/dist/agents/judge-utils.js.map +1 -1
  130. package/dist/agents/runner.d.ts.map +1 -1
  131. package/dist/agents/runner.js +12 -8
  132. package/dist/agents/runner.js.map +1 -1
  133. package/dist/agents/structured-caller/contracts.d.ts +18 -0
  134. package/dist/agents/structured-caller/contracts.d.ts.map +1 -0
  135. package/dist/agents/structured-caller/contracts.js +2 -0
  136. package/dist/agents/structured-caller/contracts.js.map +1 -0
  137. package/dist/agents/structured-caller/default-structured-caller.d.ts +19 -0
  138. package/dist/agents/structured-caller/default-structured-caller.d.ts.map +1 -0
  139. package/dist/agents/structured-caller/default-structured-caller.js +25 -0
  140. package/dist/agents/structured-caller/default-structured-caller.js.map +1 -0
  141. package/dist/agents/structured-caller/prompt-based-structured-caller.d.ts +19 -0
  142. package/dist/agents/structured-caller/prompt-based-structured-caller.d.ts.map +1 -0
  143. package/dist/agents/structured-caller/prompt-based-structured-caller.js +151 -0
  144. package/dist/agents/structured-caller/prompt-based-structured-caller.js.map +1 -0
  145. package/dist/agents/structured-caller/shared.d.ts +5 -0
  146. package/dist/agents/structured-caller/shared.d.ts.map +1 -0
  147. package/dist/agents/structured-caller/shared.js +36 -0
  148. package/dist/agents/structured-caller/shared.js.map +1 -0
  149. package/dist/agents/structured-caller.d.ts +4 -0
  150. package/dist/agents/structured-caller.d.ts.map +1 -0
  151. package/dist/agents/structured-caller.js +3 -0
  152. package/dist/agents/structured-caller.js.map +1 -0
  153. package/dist/agents/team-leader-structured-output.d.ts +19 -0
  154. package/dist/agents/team-leader-structured-output.d.ts.map +1 -0
  155. package/dist/agents/team-leader-structured-output.js +152 -0
  156. package/dist/agents/team-leader-structured-output.js.map +1 -0
  157. package/dist/agents/types.d.ts +4 -3
  158. package/dist/agents/types.d.ts.map +1 -1
  159. package/dist/app/cli/commands.js +31 -14
  160. package/dist/app/cli/commands.js.map +1 -1
  161. package/dist/app/cli/helpers.d.ts +1 -0
  162. package/dist/app/cli/helpers.d.ts.map +1 -1
  163. package/dist/app/cli/helpers.js +12 -0
  164. package/dist/app/cli/helpers.js.map +1 -1
  165. package/dist/app/cli/program.d.ts.map +1 -1
  166. package/dist/app/cli/program.js +4 -3
  167. package/dist/app/cli/program.js.map +1 -1
  168. package/dist/app/cli/routing.d.ts.map +1 -1
  169. package/dist/app/cli/routing.js +12 -4
  170. package/dist/app/cli/routing.js.map +1 -1
  171. package/dist/core/models/config-schemas.d.ts +720 -0
  172. package/dist/core/models/config-schemas.d.ts.map +1 -0
  173. package/dist/core/models/config-schemas.js +143 -0
  174. package/dist/core/models/config-schemas.js.map +1 -0
  175. package/dist/core/models/config-types.d.ts +12 -8
  176. package/dist/core/models/config-types.d.ts.map +1 -1
  177. package/dist/core/models/part.d.ts +0 -2
  178. package/dist/core/models/part.d.ts.map +1 -1
  179. package/dist/core/models/piece-types.d.ts +9 -106
  180. package/dist/core/models/piece-types.d.ts.map +1 -1
  181. package/dist/core/models/piece-types.js +2 -4
  182. package/dist/core/models/piece-types.js.map +1 -1
  183. package/dist/core/models/provider-profiles.d.ts +1 -1
  184. package/dist/core/models/provider-profiles.d.ts.map +1 -1
  185. package/dist/core/models/schema-base.d.ts +522 -0
  186. package/dist/core/models/schema-base.d.ts.map +1 -0
  187. package/dist/core/models/schema-base.js +218 -0
  188. package/dist/core/models/schema-base.js.map +1 -0
  189. package/dist/core/models/schemas.d.ts +4 -1638
  190. package/dist/core/models/schemas.d.ts.map +1 -1
  191. package/dist/core/models/schemas.js +4 -563
  192. package/dist/core/models/schemas.js.map +1 -1
  193. package/dist/core/models/workflow-schemas.d.ts +1741 -0
  194. package/dist/core/models/workflow-schemas.d.ts.map +1 -0
  195. package/dist/core/models/workflow-schemas.js +217 -0
  196. package/dist/core/models/workflow-schemas.js.map +1 -0
  197. package/dist/core/piece/engine/ArpeggioRunner.d.ts +2 -6
  198. package/dist/core/piece/engine/ArpeggioRunner.d.ts.map +1 -1
  199. package/dist/core/piece/engine/ArpeggioRunner.js +5 -1
  200. package/dist/core/piece/engine/ArpeggioRunner.js.map +1 -1
  201. package/dist/core/piece/engine/MovementExecutor.d.ts +2 -6
  202. package/dist/core/piece/engine/MovementExecutor.d.ts.map +1 -1
  203. package/dist/core/piece/engine/MovementExecutor.js +5 -1
  204. package/dist/core/piece/engine/MovementExecutor.js.map +1 -1
  205. package/dist/core/piece/engine/OptionsBuilder.d.ts +1 -1
  206. package/dist/core/piece/engine/OptionsBuilder.d.ts.map +1 -1
  207. package/dist/core/piece/engine/OptionsBuilder.js +14 -35
  208. package/dist/core/piece/engine/OptionsBuilder.js.map +1 -1
  209. package/dist/core/piece/engine/ParallelRunner.d.ts +2 -6
  210. package/dist/core/piece/engine/ParallelRunner.d.ts.map +1 -1
  211. package/dist/core/piece/engine/ParallelRunner.js +115 -55
  212. package/dist/core/piece/engine/ParallelRunner.js.map +1 -1
  213. package/dist/core/piece/engine/PieceEngine.d.ts +1 -1
  214. package/dist/core/piece/engine/PieceEngine.d.ts.map +1 -1
  215. package/dist/core/piece/engine/PieceEngine.js +11 -10
  216. package/dist/core/piece/engine/PieceEngine.js.map +1 -1
  217. package/dist/core/piece/engine/TeamLeaderRunner.d.ts +0 -7
  218. package/dist/core/piece/engine/TeamLeaderRunner.d.ts.map +1 -1
  219. package/dist/core/piece/engine/TeamLeaderRunner.js +9 -6
  220. package/dist/core/piece/engine/TeamLeaderRunner.js.map +1 -1
  221. package/dist/core/piece/engine/parallel-logger.d.ts.map +1 -1
  222. package/dist/core/piece/engine/parallel-logger.js +2 -0
  223. package/dist/core/piece/engine/parallel-logger.js.map +1 -1
  224. package/dist/core/piece/engine/team-leader-common.d.ts.map +1 -1
  225. package/dist/core/piece/engine/team-leader-common.js +6 -3
  226. package/dist/core/piece/engine/team-leader-common.js.map +1 -1
  227. package/dist/core/piece/evaluation/RuleEvaluator.d.ts +9 -3
  228. package/dist/core/piece/evaluation/RuleEvaluator.d.ts.map +1 -1
  229. package/dist/core/piece/evaluation/RuleEvaluator.js +18 -14
  230. package/dist/core/piece/evaluation/RuleEvaluator.js.map +1 -1
  231. package/dist/core/piece/instruction/InstructionBuilder.d.ts +4 -4
  232. package/dist/core/piece/instruction/InstructionBuilder.js +9 -9
  233. package/dist/core/piece/instruction/InstructionBuilder.js.map +1 -1
  234. package/dist/core/piece/instruction/instruction-context.d.ts +1 -1
  235. package/dist/core/piece/instruction/instruction-context.js +5 -5
  236. package/dist/core/piece/instruction/instruction-context.js.map +1 -1
  237. package/dist/core/piece/part-definition-validator.d.ts.map +1 -1
  238. package/dist/core/piece/part-definition-validator.js +3 -6
  239. package/dist/core/piece/part-definition-validator.js.map +1 -1
  240. package/dist/core/piece/permission-profile-resolution.d.ts +0 -12
  241. package/dist/core/piece/permission-profile-resolution.d.ts.map +1 -1
  242. package/dist/core/piece/permission-profile-resolution.js +1 -12
  243. package/dist/core/piece/permission-profile-resolution.js.map +1 -1
  244. package/dist/core/piece/phase-runner.d.ts +7 -1
  245. package/dist/core/piece/phase-runner.d.ts.map +1 -1
  246. package/dist/core/piece/phase-runner.js.map +1 -1
  247. package/dist/core/piece/provider-resolution.d.ts +0 -2
  248. package/dist/core/piece/provider-resolution.d.ts.map +1 -1
  249. package/dist/core/piece/provider-resolution.js +0 -2
  250. package/dist/core/piece/provider-resolution.js.map +1 -1
  251. package/dist/core/piece/status-judgment-phase.d.ts.map +1 -1
  252. package/dist/core/piece/status-judgment-phase.js +7 -2
  253. package/dist/core/piece/status-judgment-phase.js.map +1 -1
  254. package/dist/core/piece/types.d.ts +7 -9
  255. package/dist/core/piece/types.d.ts.map +1 -1
  256. package/dist/core/runtime/runtime-environment.d.ts.map +1 -1
  257. package/dist/core/runtime/runtime-environment.js +15 -0
  258. package/dist/core/runtime/runtime-environment.js.map +1 -1
  259. package/dist/features/config/deploySkill.js +1 -1
  260. package/dist/features/config/deploySkill.js.map +1 -1
  261. package/dist/features/config/deploySkillCodex.js +1 -1
  262. package/dist/features/config/deploySkillCodex.js.map +1 -1
  263. package/dist/features/config/deploySkillInternal.js +5 -5
  264. package/dist/features/config/deploySkillInternal.js.map +1 -1
  265. package/dist/features/config/ejectBuiltin.d.ts +3 -3
  266. package/dist/features/config/ejectBuiltin.d.ts.map +1 -1
  267. package/dist/features/config/ejectBuiltin.js +53 -28
  268. package/dist/features/config/ejectBuiltin.js.map +1 -1
  269. package/dist/features/pieceSelection/index.d.ts.map +1 -1
  270. package/dist/features/pieceSelection/index.js +32 -31
  271. package/dist/features/pieceSelection/index.js.map +1 -1
  272. package/dist/features/pipeline/execute.d.ts.map +1 -1
  273. package/dist/features/pipeline/execute.js +9 -3
  274. package/dist/features/pipeline/execute.js.map +1 -1
  275. package/dist/features/pipeline/steps.d.ts.map +1 -1
  276. package/dist/features/pipeline/steps.js +22 -17
  277. package/dist/features/pipeline/steps.js.map +1 -1
  278. package/dist/features/prompt/preview.d.ts.map +1 -1
  279. package/dist/features/prompt/preview.js +9 -4
  280. package/dist/features/prompt/preview.js.map +1 -1
  281. package/dist/features/tasks/add/index.d.ts +4 -0
  282. package/dist/features/tasks/add/index.d.ts.map +1 -1
  283. package/dist/features/tasks/add/index.js +14 -5
  284. package/dist/features/tasks/add/index.js.map +1 -1
  285. package/dist/features/tasks/add/worktree-settings.d.ts.map +1 -1
  286. package/dist/features/tasks/add/worktree-settings.js +10 -8
  287. package/dist/features/tasks/add/worktree-settings.js.map +1 -1
  288. package/dist/features/tasks/execute/parallelExecution.js +2 -2
  289. package/dist/features/tasks/execute/pieceExecution.d.ts.map +1 -1
  290. package/dist/features/tasks/execute/pieceExecution.js +28 -27
  291. package/dist/features/tasks/execute/pieceExecution.js.map +1 -1
  292. package/dist/features/tasks/execute/postExecution.d.ts +1 -0
  293. package/dist/features/tasks/execute/postExecution.d.ts.map +1 -1
  294. package/dist/features/tasks/execute/postExecution.js +38 -24
  295. package/dist/features/tasks/execute/postExecution.js.map +1 -1
  296. package/dist/features/tasks/execute/resolveTask.d.ts +2 -1
  297. package/dist/features/tasks/execute/resolveTask.d.ts.map +1 -1
  298. package/dist/features/tasks/execute/resolveTask.js +13 -11
  299. package/dist/features/tasks/execute/resolveTask.js.map +1 -1
  300. package/dist/features/tasks/execute/runAllTasks.d.ts +3 -0
  301. package/dist/features/tasks/execute/runAllTasks.d.ts.map +1 -0
  302. package/dist/features/tasks/execute/runAllTasks.js +81 -0
  303. package/dist/features/tasks/execute/runAllTasks.js.map +1 -0
  304. package/dist/features/tasks/execute/selectAndExecute.d.ts.map +1 -1
  305. package/dist/features/tasks/execute/selectAndExecute.js +2 -1
  306. package/dist/features/tasks/execute/selectAndExecute.js.map +1 -1
  307. package/dist/features/tasks/execute/taskExecution.d.ts +0 -7
  308. package/dist/features/tasks/execute/taskExecution.d.ts.map +1 -1
  309. package/dist/features/tasks/execute/taskExecution.js +26 -100
  310. package/dist/features/tasks/execute/taskExecution.js.map +1 -1
  311. package/dist/features/tasks/execute/taskResultHandler.d.ts +4 -1
  312. package/dist/features/tasks/execute/taskResultHandler.d.ts.map +1 -1
  313. package/dist/features/tasks/execute/taskResultHandler.js +4 -2
  314. package/dist/features/tasks/execute/taskResultHandler.js.map +1 -1
  315. package/dist/features/tasks/execute/types.d.ts +3 -1
  316. package/dist/features/tasks/execute/types.d.ts.map +1 -1
  317. package/dist/features/tasks/index.d.ts +2 -1
  318. package/dist/features/tasks/index.d.ts.map +1 -1
  319. package/dist/features/tasks/index.js +2 -1
  320. package/dist/features/tasks/index.js.map +1 -1
  321. package/dist/features/tasks/list/index.js +2 -2
  322. package/dist/features/tasks/list/index.js.map +1 -1
  323. package/dist/features/tasks/list/listNonInteractive.d.ts.map +1 -1
  324. package/dist/features/tasks/list/listNonInteractive.js +6 -2
  325. package/dist/features/tasks/list/listNonInteractive.js.map +1 -1
  326. package/dist/features/tasks/list/requeueHelpers.d.ts.map +1 -1
  327. package/dist/features/tasks/list/requeueHelpers.js +2 -1
  328. package/dist/features/tasks/list/requeueHelpers.js.map +1 -1
  329. package/dist/features/tasks/list/taskActionTarget.d.ts +1 -1
  330. package/dist/features/tasks/list/taskActionTarget.d.ts.map +1 -1
  331. package/dist/features/tasks/list/taskActionTarget.js +4 -11
  332. package/dist/features/tasks/list/taskActionTarget.js.map +1 -1
  333. package/dist/features/tasks/list/taskRetryActions.d.ts.map +1 -1
  334. package/dist/features/tasks/list/taskRetryActions.js +12 -11
  335. package/dist/features/tasks/list/taskRetryActions.js.map +1 -1
  336. package/dist/index.d.ts +2 -2
  337. package/dist/index.d.ts.map +1 -1
  338. package/dist/index.js +1 -1
  339. package/dist/index.js.map +1 -1
  340. package/dist/infra/claude/client.d.ts +1 -7
  341. package/dist/infra/claude/client.d.ts.map +1 -1
  342. package/dist/infra/claude/client.js +2 -46
  343. package/dist/infra/claude/client.js.map +1 -1
  344. package/dist/infra/claude/executor.d.ts +1 -1
  345. package/dist/infra/claude/executor.d.ts.map +1 -1
  346. package/dist/infra/claude/executor.js +47 -27
  347. package/dist/infra/claude/executor.js.map +1 -1
  348. package/dist/infra/claude/options-builder.d.ts +0 -15
  349. package/dist/infra/claude/options-builder.d.ts.map +1 -1
  350. package/dist/infra/claude/options-builder.js +25 -28
  351. package/dist/infra/claude/options-builder.js.map +1 -1
  352. package/dist/infra/claude/permission-mode-expression.d.ts +5 -0
  353. package/dist/infra/claude/permission-mode-expression.d.ts.map +1 -0
  354. package/dist/infra/claude/permission-mode-expression.js +14 -0
  355. package/dist/infra/claude/permission-mode-expression.js.map +1 -0
  356. package/dist/infra/claude/stream-converter.d.ts.map +1 -1
  357. package/dist/infra/claude/stream-converter.js +26 -0
  358. package/dist/infra/claude/stream-converter.js.map +1 -1
  359. package/dist/infra/claude/types.d.ts +23 -0
  360. package/dist/infra/claude/types.d.ts.map +1 -1
  361. package/dist/infra/claude-headless/client.d.ts +4 -0
  362. package/dist/infra/claude-headless/client.d.ts.map +1 -0
  363. package/dist/infra/claude-headless/client.js +197 -0
  364. package/dist/infra/claude-headless/client.js.map +1 -0
  365. package/dist/infra/claude-headless/headless-spawn.d.ts +13 -0
  366. package/dist/infra/claude-headless/headless-spawn.d.ts.map +1 -0
  367. package/dist/infra/claude-headless/headless-spawn.js +182 -0
  368. package/dist/infra/claude-headless/headless-spawn.js.map +1 -0
  369. package/dist/infra/claude-headless/result-response.d.ts +15 -0
  370. package/dist/infra/claude-headless/result-response.d.ts.map +1 -0
  371. package/dist/infra/claude-headless/result-response.js +72 -0
  372. package/dist/infra/claude-headless/result-response.js.map +1 -0
  373. package/dist/infra/claude-headless/stream-json-lines.d.ts +14 -0
  374. package/dist/infra/claude-headless/stream-json-lines.d.ts.map +1 -0
  375. package/dist/infra/claude-headless/stream-json-lines.js +172 -0
  376. package/dist/infra/claude-headless/stream-json-lines.js.map +1 -0
  377. package/dist/infra/claude-headless/types.d.ts +21 -0
  378. package/dist/infra/claude-headless/types.d.ts.map +1 -0
  379. package/dist/infra/claude-headless/types.js +2 -0
  380. package/dist/infra/claude-headless/types.js.map +1 -0
  381. package/dist/infra/codex/client.d.ts.map +1 -1
  382. package/dist/infra/codex/client.js +1 -0
  383. package/dist/infra/codex/client.js.map +1 -1
  384. package/dist/infra/codex/types.d.ts +2 -0
  385. package/dist/infra/codex/types.d.ts.map +1 -1
  386. package/dist/infra/codex/types.js.map +1 -1
  387. package/dist/infra/config/configKeyAliases.d.ts +17 -0
  388. package/dist/infra/config/configKeyAliases.d.ts.map +1 -0
  389. package/dist/infra/config/configKeyAliases.js +82 -0
  390. package/dist/infra/config/configKeyAliases.js.map +1 -0
  391. package/dist/infra/config/configNormalizers.d.ts +7 -6
  392. package/dist/infra/config/configNormalizers.d.ts.map +1 -1
  393. package/dist/infra/config/configNormalizers.js +25 -10
  394. package/dist/infra/config/configNormalizers.js.map +1 -1
  395. package/dist/infra/config/env/config-env-overrides.d.ts +6 -3
  396. package/dist/infra/config/env/config-env-overrides.d.ts.map +1 -1
  397. package/dist/infra/config/env/config-env-overrides.js +5 -194
  398. package/dist/infra/config/env/config-env-overrides.js.map +1 -1
  399. package/dist/infra/config/env/config-env-shared.d.ts +16 -0
  400. package/dist/infra/config/env/config-env-shared.d.ts.map +1 -0
  401. package/dist/infra/config/env/config-env-shared.js +62 -0
  402. package/dist/infra/config/env/config-env-shared.js.map +1 -0
  403. package/dist/infra/config/env/global-current-env-specs.d.ts +3 -0
  404. package/dist/infra/config/env/global-current-env-specs.d.ts.map +1 -0
  405. package/dist/infra/config/env/global-current-env-specs.js +63 -0
  406. package/dist/infra/config/env/global-current-env-specs.js.map +1 -0
  407. package/dist/infra/config/env/global-legacy-env-specs.d.ts +3 -0
  408. package/dist/infra/config/env/global-legacy-env-specs.d.ts.map +1 -0
  409. package/dist/infra/config/env/global-legacy-env-specs.js +122 -0
  410. package/dist/infra/config/env/global-legacy-env-specs.js.map +1 -0
  411. package/dist/infra/config/env/project-current-env-specs.d.ts +3 -0
  412. package/dist/infra/config/env/project-current-env-specs.d.ts.map +1 -0
  413. package/dist/infra/config/env/project-current-env-specs.js +35 -0
  414. package/dist/infra/config/env/project-current-env-specs.js.map +1 -0
  415. package/dist/infra/config/env/project-legacy-env-specs.d.ts +3 -0
  416. package/dist/infra/config/env/project-legacy-env-specs.d.ts.map +1 -0
  417. package/dist/infra/config/env/project-legacy-env-specs.js +80 -0
  418. package/dist/infra/config/env/project-legacy-env-specs.js.map +1 -0
  419. package/dist/infra/config/global/globalConfigAccessors.d.ts +2 -1
  420. package/dist/infra/config/global/globalConfigAccessors.d.ts.map +1 -1
  421. package/dist/infra/config/global/globalConfigAccessors.js.map +1 -1
  422. package/dist/infra/config/global/globalConfigCore.d.ts +4 -0
  423. package/dist/infra/config/global/globalConfigCore.d.ts.map +1 -1
  424. package/dist/infra/config/global/globalConfigCore.js +69 -38
  425. package/dist/infra/config/global/globalConfigCore.js.map +1 -1
  426. package/dist/infra/config/global/globalConfigSerializer.js +9 -9
  427. package/dist/infra/config/global/globalConfigSerializer.js.map +1 -1
  428. package/dist/infra/config/global/initialization.d.ts +1 -1
  429. package/dist/infra/config/global/initialization.d.ts.map +1 -1
  430. package/dist/infra/config/global/initialization.js +2 -1
  431. package/dist/infra/config/global/initialization.js.map +1 -1
  432. package/dist/infra/config/global/pieceCategories.js +1 -1
  433. package/dist/infra/config/global/pieceCategories.js.map +1 -1
  434. package/dist/infra/config/issuePath.d.ts +2 -0
  435. package/dist/infra/config/issuePath.d.ts.map +1 -0
  436. package/dist/infra/config/issuePath.js +6 -0
  437. package/dist/infra/config/issuePath.js.map +1 -0
  438. package/dist/infra/config/legacy-workflow-key-deprecation.d.ts +11 -0
  439. package/dist/infra/config/legacy-workflow-key-deprecation.d.ts.map +1 -0
  440. package/dist/infra/config/legacy-workflow-key-deprecation.js +191 -0
  441. package/dist/infra/config/legacy-workflow-key-deprecation.js.map +1 -0
  442. package/dist/infra/config/loaders/agentLoader.d.ts +1 -1
  443. package/dist/infra/config/loaders/agentLoader.js +3 -3
  444. package/dist/infra/config/loaders/agentLoader.js.map +1 -1
  445. package/dist/infra/config/loaders/pieceCategories.d.ts +3 -3
  446. package/dist/infra/config/loaders/pieceCategories.d.ts.map +1 -1
  447. package/dist/infra/config/loaders/pieceCategories.js +55 -17
  448. package/dist/infra/config/loaders/pieceCategories.js.map +1 -1
  449. package/dist/infra/config/loaders/pieceLoadWarning.d.ts +2 -0
  450. package/dist/infra/config/loaders/pieceLoadWarning.d.ts.map +1 -0
  451. package/dist/infra/config/loaders/pieceLoadWarning.js +22 -0
  452. package/dist/infra/config/loaders/pieceLoadWarning.js.map +1 -0
  453. package/dist/infra/config/loaders/pieceParser.d.ts.map +1 -1
  454. package/dist/infra/config/loaders/pieceParser.js +8 -14
  455. package/dist/infra/config/loaders/pieceParser.js.map +1 -1
  456. package/dist/infra/config/loaders/pieceResolver.d.ts +25 -22
  457. package/dist/infra/config/loaders/pieceResolver.d.ts.map +1 -1
  458. package/dist/infra/config/loaders/pieceResolver.js +80 -72
  459. package/dist/infra/config/loaders/pieceResolver.js.map +1 -1
  460. package/dist/infra/config/paths.d.ts +6 -2
  461. package/dist/infra/config/paths.d.ts.map +1 -1
  462. package/dist/infra/config/paths.js +11 -3
  463. package/dist/infra/config/paths.js.map +1 -1
  464. package/dist/infra/config/project/projectConfig.d.ts +2 -6
  465. package/dist/infra/config/project/projectConfig.d.ts.map +1 -1
  466. package/dist/infra/config/project/projectConfig.js +41 -65
  467. package/dist/infra/config/project/projectConfig.js.map +1 -1
  468. package/dist/infra/config/project/projectConfigTransforms.d.ts +0 -1
  469. package/dist/infra/config/project/projectConfigTransforms.d.ts.map +1 -1
  470. package/dist/infra/config/project/projectConfigTransforms.js +0 -5
  471. package/dist/infra/config/project/projectConfigTransforms.js.map +1 -1
  472. package/dist/infra/config/project/projectConfigValidation.d.ts +2 -0
  473. package/dist/infra/config/project/projectConfigValidation.d.ts.map +1 -0
  474. package/dist/infra/config/project/projectConfigValidation.js +17 -0
  475. package/dist/infra/config/project/projectConfigValidation.js.map +1 -0
  476. package/dist/infra/config/providerBlockOptions.js +1 -1
  477. package/dist/infra/config/providerBlockOptions.js.map +1 -1
  478. package/dist/infra/config/providerModelCompatibility.js +1 -1
  479. package/dist/infra/config/providerModelCompatibility.js.map +1 -1
  480. package/dist/infra/config/providerOptions.d.ts +6 -1
  481. package/dist/infra/config/providerOptions.d.ts.map +1 -1
  482. package/dist/infra/config/providerOptions.js +93 -5
  483. package/dist/infra/config/providerOptions.js.map +1 -1
  484. package/dist/infra/config/providerOptionsContract.d.ts +14 -0
  485. package/dist/infra/config/providerOptionsContract.d.ts.map +1 -0
  486. package/dist/infra/config/providerOptionsContract.js +80 -0
  487. package/dist/infra/config/providerOptionsContract.js.map +1 -0
  488. package/dist/infra/config/resolutionCache.d.ts +3 -0
  489. package/dist/infra/config/resolutionCache.d.ts.map +1 -1
  490. package/dist/infra/config/resolutionCache.js +9 -0
  491. package/dist/infra/config/resolutionCache.js.map +1 -1
  492. package/dist/infra/config/resolveConfigValue.d.ts +6 -0
  493. package/dist/infra/config/resolveConfigValue.d.ts.map +1 -1
  494. package/dist/infra/config/resolveConfigValue.js +97 -16
  495. package/dist/infra/config/resolveConfigValue.js.map +1 -1
  496. package/dist/infra/config/resolvedConfig.d.ts +2 -1
  497. package/dist/infra/config/resolvedConfig.d.ts.map +1 -1
  498. package/dist/infra/config/traced/tracedConfigLegacyEnvAdapter.d.ts +4 -0
  499. package/dist/infra/config/traced/tracedConfigLegacyEnvAdapter.d.ts.map +1 -0
  500. package/dist/infra/config/traced/tracedConfigLegacyEnvAdapter.js +47 -0
  501. package/dist/infra/config/traced/tracedConfigLegacyEnvAdapter.js.map +1 -0
  502. package/dist/infra/config/traced/tracedConfigLoader.d.ts +32 -0
  503. package/dist/infra/config/traced/tracedConfigLoader.d.ts.map +1 -0
  504. package/dist/infra/config/traced/tracedConfigLoader.js +153 -0
  505. package/dist/infra/config/traced/tracedConfigLoader.js.map +1 -0
  506. package/dist/infra/config/traced/tracedConfigRuntimeBridge.d.ts +3 -0
  507. package/dist/infra/config/traced/tracedConfigRuntimeBridge.d.ts.map +1 -0
  508. package/dist/infra/config/traced/tracedConfigRuntimeBridge.js +135 -0
  509. package/dist/infra/config/traced/tracedConfigRuntimeBridge.js.map +1 -0
  510. package/dist/infra/config/traced/tracedConfigSchema.d.ts +5 -0
  511. package/dist/infra/config/traced/tracedConfigSchema.d.ts.map +1 -0
  512. package/dist/infra/config/traced/tracedConfigSchema.js +215 -0
  513. package/dist/infra/config/traced/tracedConfigSchema.js.map +1 -0
  514. package/dist/infra/cursor/client.js +1 -1
  515. package/dist/infra/cursor/client.js.map +1 -1
  516. package/dist/infra/mock/client.d.ts.map +1 -1
  517. package/dist/infra/mock/client.js +31 -0
  518. package/dist/infra/mock/client.js.map +1 -1
  519. package/dist/infra/mock/scenario.js +5 -0
  520. package/dist/infra/mock/scenario.js.map +1 -1
  521. package/dist/infra/mock/types.d.ts +3 -0
  522. package/dist/infra/mock/types.d.ts.map +1 -1
  523. package/dist/infra/providers/claude-headless.d.ts +6 -0
  524. package/dist/infra/providers/claude-headless.d.ts.map +1 -0
  525. package/dist/infra/providers/claude-headless.js +34 -0
  526. package/dist/infra/providers/claude-headless.js.map +1 -0
  527. package/dist/infra/providers/claude.d.ts +1 -4
  528. package/dist/infra/providers/claude.d.ts.map +1 -1
  529. package/dist/infra/providers/claude.js +3 -17
  530. package/dist/infra/providers/claude.js.map +1 -1
  531. package/dist/infra/providers/codex.d.ts +1 -0
  532. package/dist/infra/providers/codex.d.ts.map +1 -1
  533. package/dist/infra/providers/codex.js +2 -6
  534. package/dist/infra/providers/codex.js.map +1 -1
  535. package/dist/infra/providers/copilot.d.ts +1 -0
  536. package/dist/infra/providers/copilot.d.ts.map +1 -1
  537. package/dist/infra/providers/copilot.js +1 -6
  538. package/dist/infra/providers/copilot.js.map +1 -1
  539. package/dist/infra/providers/cursor.d.ts +1 -0
  540. package/dist/infra/providers/cursor.d.ts.map +1 -1
  541. package/dist/infra/providers/cursor.js +1 -6
  542. package/dist/infra/providers/cursor.js.map +1 -1
  543. package/dist/infra/providers/index.d.ts +0 -12
  544. package/dist/infra/providers/index.d.ts.map +1 -1
  545. package/dist/infra/providers/index.js +3 -13
  546. package/dist/infra/providers/index.js.map +1 -1
  547. package/dist/infra/providers/mock.d.ts +1 -0
  548. package/dist/infra/providers/mock.d.ts.map +1 -1
  549. package/dist/infra/providers/mock.js +2 -6
  550. package/dist/infra/providers/mock.js.map +1 -1
  551. package/dist/infra/providers/opencode.d.ts +1 -0
  552. package/dist/infra/providers/opencode.d.ts.map +1 -1
  553. package/dist/infra/providers/opencode.js +1 -6
  554. package/dist/infra/providers/opencode.js.map +1 -1
  555. package/dist/infra/providers/types.d.ts +3 -15
  556. package/dist/infra/providers/types.d.ts.map +1 -1
  557. package/dist/infra/providers/types.js +0 -3
  558. package/dist/infra/providers/types.js.map +1 -1
  559. package/dist/infra/resources/index.d.ts +1 -1
  560. package/dist/infra/resources/index.js +1 -1
  561. package/dist/infra/task/autoCommit.d.ts +2 -2
  562. package/dist/infra/task/autoCommit.d.ts.map +1 -1
  563. package/dist/infra/task/autoCommit.js +16 -10
  564. package/dist/infra/task/autoCommit.js.map +1 -1
  565. package/dist/infra/task/clone.d.ts.map +1 -1
  566. package/dist/infra/task/clone.js +15 -3
  567. package/dist/infra/task/clone.js.map +1 -1
  568. package/dist/infra/task/display.js +2 -2
  569. package/dist/infra/task/display.js.map +1 -1
  570. package/dist/infra/task/git.d.ts +7 -1
  571. package/dist/infra/task/git.d.ts.map +1 -1
  572. package/dist/infra/task/git.js +51 -9
  573. package/dist/infra/task/git.js.map +1 -1
  574. package/dist/infra/task/index.d.ts +3 -2
  575. package/dist/infra/task/index.d.ts.map +1 -1
  576. package/dist/infra/task/index.js +3 -2
  577. package/dist/infra/task/index.js.map +1 -1
  578. package/dist/infra/task/listSerializer.d.ts +42 -0
  579. package/dist/infra/task/listSerializer.d.ts.map +1 -0
  580. package/dist/infra/task/listSerializer.js +52 -0
  581. package/dist/infra/task/listSerializer.js.map +1 -0
  582. package/dist/infra/task/mapper.d.ts.map +1 -1
  583. package/dist/infra/task/mapper.js +7 -2
  584. package/dist/infra/task/mapper.js.map +1 -1
  585. package/dist/infra/task/schema.d.ts +272 -12
  586. package/dist/infra/task/schema.d.ts.map +1 -1
  587. package/dist/infra/task/schema.js +142 -8
  588. package/dist/infra/task/schema.js.map +1 -1
  589. package/dist/infra/task/store.d.ts.map +1 -1
  590. package/dist/infra/task/store.js +2 -2
  591. package/dist/infra/task/store.js.map +1 -1
  592. package/dist/infra/task/taskExceedService.d.ts +2 -0
  593. package/dist/infra/task/taskExceedService.d.ts.map +1 -1
  594. package/dist/infra/task/taskExceedService.js +3 -1
  595. package/dist/infra/task/taskExceedService.js.map +1 -1
  596. package/dist/infra/task/types.d.ts +3 -1
  597. package/dist/infra/task/types.d.ts.map +1 -1
  598. package/dist/shared/i18n/labels_en.yaml +6 -6
  599. package/dist/shared/i18n/labels_ja.yaml +6 -6
  600. package/dist/shared/prompts/en/perform_agent_system_prompt.md +6 -6
  601. package/dist/shared/prompts/en/perform_judge_message.md +1 -1
  602. package/dist/shared/prompts/en/perform_phase1_message.md +9 -9
  603. package/dist/shared/prompts/en/perform_phase2_message.md +2 -2
  604. package/dist/shared/prompts/en/score_instruct_system_prompt.md +7 -7
  605. package/dist/shared/prompts/en/score_interactive_policy.md +10 -10
  606. package/dist/shared/prompts/en/score_interactive_system_prompt.md +9 -9
  607. package/dist/shared/prompts/en/score_retry_system_prompt.md +8 -8
  608. package/dist/shared/prompts/en/score_summary_system_prompt.md +4 -4
  609. package/dist/shared/prompts/ja/perform_agent_system_prompt.md +6 -6
  610. package/dist/shared/prompts/ja/perform_judge_message.md +1 -1
  611. package/dist/shared/prompts/ja/perform_phase1_message.md +9 -9
  612. package/dist/shared/prompts/ja/perform_phase2_message.md +2 -2
  613. package/dist/shared/prompts/ja/score_instruct_system_prompt.md +7 -7
  614. package/dist/shared/prompts/ja/score_interactive_policy.md +10 -10
  615. package/dist/shared/prompts/ja/score_interactive_system_prompt.md +9 -9
  616. package/dist/shared/prompts/ja/score_retry_system_prompt.md +8 -8
  617. package/dist/shared/prompts/ja/score_summary_system_prompt.md +7 -7
  618. package/dist/shared/types/provider.d.ts +21 -10
  619. package/dist/shared/types/provider.d.ts.map +1 -1
  620. package/dist/shared/types/provider.js +0 -9
  621. package/dist/shared/types/provider.js.map +1 -1
  622. package/dist/shared/ui/StreamDisplay.d.ts.map +1 -1
  623. package/dist/shared/ui/StreamDisplay.js +2 -0
  624. package/dist/shared/ui/StreamDisplay.js.map +1 -1
  625. package/dist/shared/utils/debug.d.ts +4 -0
  626. package/dist/shared/utils/debug.d.ts.map +1 -1
  627. package/dist/shared/utils/debug.js +7 -0
  628. package/dist/shared/utils/debug.js.map +1 -1
  629. package/dist/shared/utils/slackWebhook.js +2 -2
  630. package/dist/shared/utils/slackWebhook.js.map +1 -1
  631. package/dist/shared/utils/text.d.ts +4 -0
  632. package/dist/shared/utils/text.d.ts.map +1 -1
  633. package/dist/shared/utils/text.js +29 -0
  634. package/dist/shared/utils/text.js.map +1 -1
  635. package/package.json +5 -3
  636. package/dist/agents/ai-judge.d.ts +0 -15
  637. package/dist/agents/ai-judge.d.ts.map +0 -1
  638. package/dist/agents/ai-judge.js +0 -23
  639. package/dist/agents/ai-judge.js.map +0 -1
  640. package/dist/shared/prompts/en/perform_builtin_agent_system_prompt.md +0 -7
  641. package/dist/shared/prompts/ja/perform_builtin_agent_system_prompt.md +0 -7
@@ -19,6 +19,14 @@ you verify "**was the right thing built (Validation)**".
19
19
  - Fix code
20
20
  - Re-run tests or builds
21
21
 
22
+ ## Behavioral Principles
23
+
24
+ - Re-check requirements yourself. Do not adopt the decomposition from earlier reviews without verification
25
+ - Treat `requirements-review` as supporting material, not as the final answer
26
+ - Mark missing execution evidence as unverified instead of assuming success
27
+ - Treat contradictions between report text and execution evidence as first-class findings
28
+ - Distinguish `false_positive` from `overreach`; a technically invalid finding and a scope-exceeding finding are not the same
29
+
22
30
  ## Human-in-the-Loop Checkpoint
23
31
 
24
32
  You are the **human proxy** in the automated piece. Before approval, verify the following.
@@ -40,6 +48,7 @@ You are the **human proxy** in the automated piece. Before approval, verify the
40
48
  ### 1. Requirements Fulfillment (Most Critical)
41
49
 
42
50
  - Verify all requirements individually; do NOT APPROVE if any single requirement is unfulfilled
51
+ - If a sentence contains multiple conditions, split it into the smallest independently verifiable rows
43
52
  - Can it **actually** do what was claimed?
44
53
  - Are implicit requirements (naturally expected behavior) met?
45
54
  - "Mostly done" or "main parts complete" is NOT grounds for APPROVE. All requirements must be fulfilled
@@ -115,5 +124,6 @@ Additions can be reverted, but restoring deleted flows is difficult.
115
124
  - **Don't take at face value**: Don't trust "done", verify yourself
116
125
  - **Be specific**: Clarify "what" is "how" problematic
117
126
  - **Do not infer command outcomes**: If there is no evidence, mark it unverified rather than guessing
127
+ - **Do not convert unverified items into passed or failed**: Keep them explicitly unverified unless evidence exists
118
128
 
119
129
  **Remember**: You are the final gatekeeper. What passes through here reaches the user. Don't let "probably fine" pass.
@@ -77,6 +77,93 @@ function createEngine(config, cwd: string) {
77
77
  3. **Is there a path to pass the value from above?** → If not, add a parameter or field
78
78
  4. **Do related values have invariants?** → Cross-validate at load/setup time
79
79
 
80
+ ## Unify Resolution Responsibility
81
+
82
+ Values that can be decided early — config, options, providers, paths, permissions — must be resolved once at the boundary. Do not re-resolve the same value in multiple layers.
83
+
84
+ | Pattern | Judgment | Reason |
85
+ |---------|----------|--------|
86
+ | Resolve at the entry point and pass the value explicitly downward | OK | Source of truth stays traceable |
87
+ | Delegate resolution to a dedicated method/object | OK | Preserves a single source of truth |
88
+ | Resolve the same config separately in upper and lower layers | REJECT | Creates precedence drift |
89
+ | Resolve separately for display and execution | REJECT | Logs and behavior diverge |
90
+ | Stack `if` branches for config resolution inside main flow | REJECT | Leaks details into orchestration |
91
+
92
+ ```typescript
93
+ // REJECT - Each layer resolves config independently
94
+ function executeTask(options) {
95
+ const provider = options.provider ?? loadGlobalConfig().provider;
96
+ return runAgent({
97
+ provider,
98
+ stepProvider: resolveProviderForStep(options.step),
99
+ });
100
+ }
101
+
102
+ function runAgent(options) {
103
+ const provider = options.provider ?? resolveProviderFromConfig();
104
+ return getProvider(provider).call();
105
+ }
106
+
107
+ // OK - Resolve at the boundary, then use resolved values only
108
+ function executeTask(options) {
109
+ const resolved = resolveExecutionContext(options);
110
+ return runAgent({
111
+ resolvedProvider: resolved.provider,
112
+ resolvedModel: resolved.model,
113
+ });
114
+ }
115
+
116
+ function runAgent(options) {
117
+ return getProvider(options.resolvedProvider).call();
118
+ }
119
+ ```
120
+
121
+ Decision criteria:
122
+ 1. Can this value be fixed before execution starts? → Resolve it at the boundary
123
+ 2. Does the same precedence logic exist in 2+ places? → Centralize it in a dedicated method/object
124
+ 3. Does a lower layer know config sources directly? → Pass only resolved values
125
+ 4. Are display, execution, and persistence resolving separately? → Share the same resolved result
126
+
127
+ ## Phase Separation
128
+
129
+ Separate input collection, interpretation/normalization, execution, and output/side effects into distinct phases. Do not keep receiving unresolved input in the middle of loops or main processing and interpret it on the spot.
130
+
131
+ | Pattern | Judgment | Reason |
132
+ |---------|----------|--------|
133
+ | Split into stages such as `RawOptions -> ResolvedOptions -> ExecutionContext` | OK | Responsibility of each phase is explicit |
134
+ | Normalize input before entering the loop | OK | Every iteration runs on the same assumptions |
135
+ | Resolve `options ?? config ?? env` inside every iteration | REJECT | Iteration assumptions can drift |
136
+ | Mix input interpretation and execution logic per iteration | REJECT | Intent of the flow becomes unreadable |
137
+ | Even when true streaming/optimization forces per-item handling, isolate interpretation in a dedicated method | OK | Keeps minimum responsibility separation |
138
+
139
+ ```typescript
140
+ // REJECT - Interpret input inside the loop every time
141
+ for (const step of steps) {
142
+ const provider = options.provider
143
+ ?? step.provider
144
+ ?? projectConfig.provider
145
+ ?? globalConfig.provider;
146
+ const result = await executeStep(step, { provider });
147
+ printResult(result);
148
+ }
149
+
150
+ // OK - Resolve first, loop only executes
151
+ const context = resolveExecutionContext(rawOptions, steps);
152
+
153
+ for (const step of context.steps) {
154
+ const result = await executeStep(step, {
155
+ resolvedProvider: step.resolvedProvider,
156
+ });
157
+ printResult(result);
158
+ }
159
+ ```
160
+
161
+ Decision criteria:
162
+ 1. Is a branch inside the loop business logic or input interpretation? → Move input interpretation outside
163
+ 2. Is the same interpretation repeated for each iteration? → Normalize once up front
164
+ 3. Does an execution function accept raw input directly? → Convert to a `Resolved*` type first
165
+ 4. Does optimization require incremental handling? → At least extract interpretation into a dedicated function
166
+
80
167
  ## Abstraction
81
168
 
82
169
  ### Think Before Adding Conditionals
@@ -1,38 +1,38 @@
1
- piece_categories:
1
+ workflow_categories:
2
2
  🚀 Quick Start:
3
- pieces:
3
+ workflows:
4
4
  - default
5
5
  - frontend-mini
6
6
  - backend-mini
7
7
  - compound-eye
8
8
  ⚡ Mini:
9
- pieces:
9
+ workflows:
10
10
  - frontend-mini
11
11
  - backend-mini
12
12
  - backend-cqrs-mini
13
13
  - dual-mini
14
14
  - dual-cqrs-mini
15
15
  🎨 Frontend:
16
- pieces:
16
+ workflows:
17
17
  - frontend
18
18
  - frontend-mini
19
19
  ⚙️ Backend:
20
- pieces:
20
+ workflows:
21
21
  - backend
22
22
  - backend-mini
23
23
  - backend-cqrs
24
24
  - backend-cqrs-mini
25
25
  🔧 Dual:
26
- pieces:
26
+ workflows:
27
27
  - dual
28
28
  - dual-mini
29
29
  - dual-cqrs
30
30
  - dual-cqrs-mini
31
31
  🏗️ Infrastructure:
32
- pieces:
32
+ workflows:
33
33
  - terraform
34
34
  🔍 Review:
35
- pieces:
35
+ workflows:
36
36
  - review-default
37
37
  - review-fix-default
38
38
  - review-frontend
@@ -55,12 +55,12 @@ piece_categories:
55
55
  - audit-architecture-backend
56
56
  - audit-architecture-dual
57
57
  🎵 TAKT Development:
58
- pieces:
58
+ workflows:
59
59
  - takt-default
60
60
  - review-takt-default
61
61
  - review-fix-takt-default
62
62
  Others:
63
- pieces:
63
+ workflows:
64
64
  - research
65
65
  - deep-research
66
66
  - magi
@@ -1,7 +1,7 @@
1
1
  name: audit-architecture-backend
2
2
  description: Backend-focused architecture audit. Enumerate service modules and boundaries, then produce an issue-ready report without modifying code
3
- max_movements: 12
4
- initial_movement: plan
3
+ max_steps: 12
4
+ initial_step: plan
5
5
 
6
6
  loop_monitors:
7
7
  - cycle: [supervise, review]
@@ -17,7 +17,7 @@ loop_monitors:
17
17
  - condition: Quality is insufficient with no prospect of improvement
18
18
  next: ABORT
19
19
 
20
- movements:
20
+ steps:
21
21
  - name: plan
22
22
  persona: planner
23
23
  knowledge:
@@ -1,7 +1,7 @@
1
1
  name: audit-architecture-dual
2
2
  description: Full-stack architecture audit. Enumerate frontend/backend boundaries and cross-layer wiring, then produce an issue-ready report without modifying code
3
- max_movements: 12
4
- initial_movement: plan
3
+ max_steps: 12
4
+ initial_step: plan
5
5
 
6
6
  loop_monitors:
7
7
  - cycle: [supervise, review]
@@ -17,7 +17,7 @@ loop_monitors:
17
17
  - condition: Quality is insufficient with no prospect of improvement
18
18
  next: ABORT
19
19
 
20
- movements:
20
+ steps:
21
21
  - name: plan
22
22
  persona: planner
23
23
  knowledge:
@@ -1,7 +1,7 @@
1
1
  name: audit-architecture-frontend
2
2
  description: Frontend-focused architecture audit. Enumerate UI modules and boundaries, then produce an issue-ready report without modifying code
3
- max_movements: 12
4
- initial_movement: plan
3
+ max_steps: 12
4
+ initial_step: plan
5
5
 
6
6
  loop_monitors:
7
7
  - cycle: [supervise, review]
@@ -17,7 +17,7 @@ loop_monitors:
17
17
  - condition: Quality is insufficient with no prospect of improvement
18
18
  next: ABORT
19
19
 
20
- movements:
20
+ steps:
21
21
  - name: plan
22
22
  persona: planner
23
23
  knowledge:
@@ -1,7 +1,7 @@
1
1
  name: audit-architecture
2
2
  description: Comprehensive architecture audit. Enumerate modules and boundaries, then produce an issue-ready report without modifying code
3
- max_movements: 12
4
- initial_movement: plan
3
+ max_steps: 12
4
+ initial_step: plan
5
5
 
6
6
  loop_monitors:
7
7
  - cycle: [supervise, review]
@@ -17,7 +17,7 @@ loop_monitors:
17
17
  - condition: Quality is insufficient with no prospect of improvement
18
18
  next: ABORT
19
19
 
20
- movements:
20
+ steps:
21
21
  - name: plan
22
22
  persona: planner
23
23
  knowledge: architecture
@@ -1,13 +1,13 @@
1
1
  name: audit-e2e
2
2
  description: Comprehensive E2E audit. Enumerate user flows and coverage gaps, then produce an issue-ready report without modifying code
3
- piece_config:
3
+ workflow_config:
4
4
  provider_options:
5
5
  codex:
6
6
  network_access: true
7
7
  opencode:
8
8
  network_access: true
9
- max_movements: 12
10
- initial_movement: plan
9
+ max_steps: 12
10
+ initial_step: plan
11
11
 
12
12
  loop_monitors:
13
13
  - cycle: [supervise, review]
@@ -23,7 +23,7 @@ loop_monitors:
23
23
  - condition: Quality is insufficient with no prospect of improvement
24
24
  next: ABORT
25
25
 
26
- movements:
26
+ steps:
27
27
  - name: plan
28
28
  persona: test-planner
29
29
  policy: testing
@@ -1,7 +1,7 @@
1
1
  name: audit-security
2
2
  description: Full security audit. Reads every project file one by one for security review
3
- max_movements: 15
4
- initial_movement: plan
3
+ max_steps: 15
4
+ initial_step: plan
5
5
 
6
6
  loop_monitors:
7
7
  - cycle: [supervise, review]
@@ -17,7 +17,7 @@ loop_monitors:
17
17
  - condition: Quality is insufficient with no prospect of improvement
18
18
  next: ABORT
19
19
 
20
- movements:
20
+ steps:
21
21
  - name: plan
22
22
  persona: planner
23
23
  instruction: audit-security-plan
@@ -1,13 +1,13 @@
1
1
  name: audit-unit
2
2
  description: Comprehensive unit test audit. Enumerate behaviors and coverage gaps, then produce an issue-ready report without modifying code
3
- piece_config:
3
+ workflow_config:
4
4
  provider_options:
5
5
  codex:
6
6
  network_access: true
7
7
  opencode:
8
8
  network_access: true
9
- max_movements: 12
10
- initial_movement: plan
9
+ max_steps: 12
10
+ initial_step: plan
11
11
 
12
12
  loop_monitors:
13
13
  - cycle: [supervise, review]
@@ -23,7 +23,7 @@ loop_monitors:
23
23
  - condition: Quality is insufficient with no prospect of improvement
24
24
  next: ABORT
25
25
 
26
- movements:
26
+ steps:
27
27
  - name: plan
28
28
  edit: false
29
29
  persona: test-planner
@@ -1,13 +1,13 @@
1
1
  name: backend-cqrs-mini
2
- description: CQRS+ES-focused mini development piece (plan -> implement -> parallel review -> fix if needed -> complete)
3
- piece_config:
2
+ description: CQRS+ES-focused mini development workflow (plan -> implement -> parallel review -> fix if needed -> complete)
3
+ workflow_config:
4
4
  provider_options:
5
5
  codex:
6
6
  network_access: true
7
7
  opencode:
8
8
  network_access: true
9
- max_movements: 20
10
- initial_movement: plan
9
+ max_steps: 20
10
+ initial_step: plan
11
11
  loop_monitors:
12
12
  - cycle:
13
13
  - reviewers
@@ -21,7 +21,7 @@ loop_monitors:
21
21
  next: fix_both
22
22
  - condition: unproductive (same findings repeating)
23
23
  next: supervise_fix
24
- movements:
24
+ steps:
25
25
  - name: plan
26
26
  edit: false
27
27
  persona: planner
@@ -1,13 +1,13 @@
1
1
  name: backend-cqrs
2
- description: CQRS+ES development piece with test-first, AI review, 2-stage reviews, fix loops, and supervision
3
- piece_config:
2
+ description: CQRS+ES development workflow with test-first, AI review, 2-stage reviews, fix loops, and supervision
3
+ workflow_config:
4
4
  provider_options:
5
5
  codex:
6
6
  network_access: true
7
7
  opencode:
8
8
  network_access: true
9
- max_movements: 30
10
- initial_movement: plan
9
+ max_steps: 60
10
+ initial_step: plan
11
11
  loop_monitors:
12
12
  - cycle:
13
13
  - ai_review
@@ -33,7 +33,7 @@ loop_monitors:
33
33
  next: reviewers_1
34
34
  - condition: unproductive (same findings repeating)
35
35
  next: supervise
36
- movements:
36
+ steps:
37
37
  - name: plan
38
38
  edit: false
39
39
  persona: planner
@@ -1,13 +1,13 @@
1
1
  name: backend-mini
2
- description: Backend-focused mini development piece (plan -> implement -> parallel review -> fix if needed -> complete)
3
- piece_config:
2
+ description: Backend-focused mini development workflow (plan -> implement -> parallel review -> fix if needed -> complete)
3
+ workflow_config:
4
4
  provider_options:
5
5
  codex:
6
6
  network_access: true
7
7
  opencode:
8
8
  network_access: true
9
- max_movements: 20
10
- initial_movement: plan
9
+ max_steps: 20
10
+ initial_step: plan
11
11
  loop_monitors:
12
12
  - cycle:
13
13
  - reviewers
@@ -21,7 +21,7 @@ loop_monitors:
21
21
  next: fix_both
22
22
  - condition: unproductive (same findings repeating)
23
23
  next: supervise_fix
24
- movements:
24
+ steps:
25
25
  - name: plan
26
26
  edit: false
27
27
  persona: planner
@@ -1,13 +1,13 @@
1
1
  name: backend
2
- description: Backend development piece with test-first, AI review, 2-stage reviews, fix loops, and supervision
3
- piece_config:
2
+ description: Backend development workflow with test-first, AI review, 2-stage reviews, fix loops, and supervision
3
+ workflow_config:
4
4
  provider_options:
5
5
  codex:
6
6
  network_access: true
7
7
  opencode:
8
8
  network_access: true
9
- max_movements: 30
10
- initial_movement: plan
9
+ max_steps: 60
10
+ initial_step: plan
11
11
  loop_monitors:
12
12
  - cycle:
13
13
  - ai_review
@@ -33,7 +33,7 @@ loop_monitors:
33
33
  next: reviewers_1
34
34
  - condition: unproductive (same findings repeating)
35
35
  next: supervise
36
- movements:
36
+ steps:
37
37
  - name: plan
38
38
  edit: false
39
39
  persona: planner
@@ -1,20 +1,20 @@
1
1
  name: compound-eye
2
2
  description: Multi-model review - send the same instruction to Claude and Codex simultaneously, synthesize both responses
3
- piece_config:
3
+ workflow_config:
4
4
  provider_options:
5
5
  codex:
6
6
  network_access: true
7
7
  opencode:
8
8
  network_access: true
9
- max_movements: 10
10
- initial_movement: evaluate
11
- movements:
9
+ max_steps: 10
10
+ initial_step: evaluate
11
+ steps:
12
12
  - name: evaluate
13
13
  parallel:
14
14
  - name: claude-eye
15
15
  edit: false
16
16
  persona: coder
17
- provider: claude
17
+ provider: claude-sdk
18
18
  session: refresh
19
19
  knowledge: architecture
20
20
  provider_options:
@@ -1,14 +1,14 @@
1
1
  name: deep-research
2
- description: Deep research piece - discovery-driven investigation that follows emerging questions with multi-perspective analysis
3
- piece_config:
2
+ description: Deep research workflow - discovery-driven investigation that follows emerging questions with multi-perspective analysis
3
+ workflow_config:
4
4
  provider_options:
5
5
  codex:
6
6
  network_access: true
7
7
  opencode:
8
8
  network_access: true
9
- max_movements: 15
10
- initial_movement: plan
11
- movements:
9
+ max_steps: 15
10
+ initial_step: plan
11
+ steps:
12
12
  - name: plan
13
13
  persona: research-planner
14
14
  policy: research
@@ -1,13 +1,13 @@
1
1
  name: default
2
- description: Test-first development piece (plan → write tests → implement → AI antipattern review → parallel review → complete)
3
- piece_config:
2
+ description: Test-first development workflow (plan → write tests → implement → AI antipattern review → parallel review → complete)
3
+ workflow_config:
4
4
  provider_options:
5
5
  codex:
6
6
  network_access: true
7
7
  opencode:
8
8
  network_access: true
9
- max_movements: 30
10
- initial_movement: plan
9
+ max_steps: 30
10
+ initial_step: plan
11
11
  loop_monitors:
12
12
  - cycle:
13
13
  - ai_review
@@ -45,7 +45,7 @@ loop_monitors:
45
45
  next: reviewers
46
46
  - condition: unproductive (same findings repeating)
47
47
  next: ABORT
48
- movements:
48
+ steps:
49
49
  - name: plan
50
50
  edit: false
51
51
  persona: planner
@@ -1,13 +1,13 @@
1
1
  name: dual-cqrs-mini
2
- description: CQRS+ES frontend + backend mini development piece (plan -> implement -> parallel review -> fix if needed -> complete) with CQRS+ES knowledge injection
3
- piece_config:
2
+ description: CQRS+ES frontend + backend mini development workflow (plan -> implement -> parallel review -> fix if needed -> complete) with CQRS+ES knowledge injection
3
+ workflow_config:
4
4
  provider_options:
5
5
  codex:
6
6
  network_access: true
7
7
  opencode:
8
8
  network_access: true
9
- max_movements: 20
10
- initial_movement: plan
9
+ max_steps: 20
10
+ initial_step: plan
11
11
  loop_monitors:
12
12
  - cycle:
13
13
  - reviewers
@@ -21,7 +21,7 @@ loop_monitors:
21
21
  next: fix_both
22
22
  - condition: unproductive (same findings repeating)
23
23
  next: supervise_fix
24
- movements:
24
+ steps:
25
25
  - name: plan
26
26
  edit: false
27
27
  persona: planner
@@ -1,13 +1,13 @@
1
1
  name: dual-cqrs
2
- description: Frontend + backend development piece (CQRS+ES specialized) with CQRS+ES, frontend, security, and QA reviews with fix loops
3
- piece_config:
2
+ description: Frontend + backend development workflow (CQRS+ES specialized) with CQRS+ES, frontend, security, and QA reviews with fix loops
3
+ workflow_config:
4
4
  provider_options:
5
5
  codex:
6
6
  network_access: true
7
7
  opencode:
8
8
  network_access: true
9
- max_movements: 30
10
- initial_movement: plan
9
+ max_steps: 60
10
+ initial_step: plan
11
11
  loop_monitors:
12
12
  - cycle:
13
13
  - ai_review
@@ -33,7 +33,7 @@ loop_monitors:
33
33
  next: reviewers
34
34
  - condition: Unproductive (same findings repeating)
35
35
  next: supervise
36
- movements:
36
+ steps:
37
37
  - name: plan
38
38
  edit: false
39
39
  persona: planner
@@ -1,13 +1,13 @@
1
1
  name: dual-mini
2
- description: Frontend + backend mini development piece (plan -> implement -> parallel review -> fix if needed -> complete) with frontend + backend knowledge injection
3
- piece_config:
2
+ description: Frontend + backend mini development workflow (plan -> implement -> parallel review -> fix if needed -> complete) with frontend + backend knowledge injection
3
+ workflow_config:
4
4
  provider_options:
5
5
  codex:
6
6
  network_access: true
7
7
  opencode:
8
8
  network_access: true
9
- max_movements: 20
10
- initial_movement: plan
9
+ max_steps: 20
10
+ initial_step: plan
11
11
  loop_monitors:
12
12
  - cycle:
13
13
  - reviewers
@@ -21,7 +21,7 @@ loop_monitors:
21
21
  next: fix_both
22
22
  - condition: unproductive (same findings repeating)
23
23
  next: supervise_fix
24
- movements:
24
+ steps:
25
25
  - name: plan
26
26
  edit: false
27
27
  persona: planner