takt 0.46.0 → 0.48.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 (712) hide show
  1. package/README.md +66 -2
  2. package/builtins/en/config.yaml +28 -12
  3. package/builtins/en/facets/instructions/findings-manager.md +13 -0
  4. package/builtins/en/facets/instructions/fix-maintenance.md +1 -1
  5. package/builtins/en/facets/instructions/fix.md +9 -4
  6. package/builtins/en/facets/instructions/implement-maintenance.md +5 -34
  7. package/builtins/en/facets/instructions/loop-monitor-reviewers-fix.md +5 -1
  8. package/builtins/en/facets/instructions/plan-maintenance.md +3 -3
  9. package/builtins/en/facets/instructions/plan-test.md +4 -3
  10. package/builtins/en/facets/instructions/review-coding.md +13 -6
  11. package/builtins/en/facets/instructions/review-pure.md +8 -0
  12. package/builtins/en/facets/instructions/review-qa.md +2 -1
  13. package/builtins/en/facets/instructions/review-test.md +7 -1
  14. package/builtins/en/facets/instructions/supervise-maintenance.md +3 -75
  15. package/builtins/en/facets/instructions/supervise.md +8 -68
  16. package/builtins/en/facets/instructions/write-tests-first.md +1 -0
  17. package/builtins/en/facets/knowledge/architecture.md +31 -0
  18. package/builtins/en/facets/knowledge/backend.md +27 -1
  19. package/builtins/en/facets/knowledge/cqrs-es.md +69 -0
  20. package/builtins/en/facets/knowledge/e2e-testing.md +13 -0
  21. package/builtins/en/facets/knowledge/existing-system.md +2 -2
  22. package/builtins/en/facets/knowledge/takt.md +11 -0
  23. package/builtins/en/facets/output-contracts/ai-antipattern-review-finding-contract.md +31 -0
  24. package/builtins/en/facets/output-contracts/architecture-review-finding-contract.md +35 -0
  25. package/builtins/en/facets/output-contracts/coding-review-finding-contract.md +25 -0
  26. package/builtins/en/facets/output-contracts/coding-review.md +11 -4
  27. package/builtins/en/facets/output-contracts/cqrs-es-review-finding-contract.md +31 -0
  28. package/builtins/en/facets/output-contracts/findings-manager.md +45 -0
  29. package/builtins/en/facets/output-contracts/frontend-review-finding-contract.md +30 -0
  30. package/builtins/en/facets/output-contracts/pure-review-finding-contract.md +45 -0
  31. package/builtins/en/facets/output-contracts/pure-review.md +6 -6
  32. package/builtins/en/facets/output-contracts/qa-review-finding-contract.md +35 -0
  33. package/builtins/en/facets/output-contracts/qa-review.md +10 -3
  34. package/builtins/en/facets/output-contracts/security-review-finding-contract.md +36 -0
  35. package/builtins/en/facets/output-contracts/supervisor-validation.md +34 -10
  36. package/builtins/en/facets/output-contracts/terraform-review-finding-contract.md +31 -0
  37. package/builtins/en/facets/output-contracts/testing-review-finding-contract.md +41 -0
  38. package/builtins/en/facets/personas/findings-manager.md +18 -0
  39. package/builtins/en/facets/policies/ai-antipattern.md +31 -0
  40. package/builtins/en/facets/policies/existing-system-respect.md +17 -16
  41. package/builtins/en/facets/policies/review.md +64 -16
  42. package/builtins/en/facets/policies/testing.md +52 -0
  43. package/builtins/en/workflow-categories.yaml +2 -0
  44. package/builtins/en/workflows/audit-architecture-backend.yaml +8 -0
  45. package/builtins/en/workflows/audit-architecture-dual.yaml +8 -0
  46. package/builtins/en/workflows/audit-architecture-frontend.yaml +8 -0
  47. package/builtins/en/workflows/audit-architecture.yaml +8 -0
  48. package/builtins/en/workflows/audit-e2e.yaml +8 -0
  49. package/builtins/en/workflows/audit-security.yaml +8 -0
  50. package/builtins/en/workflows/audit-unit.yaml +8 -0
  51. package/builtins/en/workflows/auto-improvement-loop.yaml +6 -0
  52. package/builtins/en/workflows/backend-cqrs-mini.yaml +20 -0
  53. package/builtins/en/workflows/backend-cqrs.yaml +39 -1
  54. package/builtins/en/workflows/backend-maintenance.yaml +540 -0
  55. package/builtins/en/workflows/backend-mini.yaml +20 -0
  56. package/builtins/en/workflows/backend.yaml +39 -1
  57. package/builtins/en/workflows/compound-eye.yaml +8 -0
  58. package/builtins/en/workflows/deep-research.yaml +8 -0
  59. package/builtins/en/workflows/default-draft.yaml +6 -0
  60. package/builtins/en/workflows/default-high.yaml +6 -0
  61. package/builtins/en/workflows/default-mini.yaml +2 -0
  62. package/builtins/en/workflows/default-peer-review.yaml +17 -1
  63. package/builtins/en/workflows/default.yaml +4 -0
  64. package/builtins/en/workflows/draft.yaml +14 -4
  65. package/builtins/en/workflows/dual-cqrs-mini.yaml +20 -0
  66. package/builtins/en/workflows/dual-cqrs.yaml +35 -1
  67. package/builtins/en/workflows/dual-mini.yaml +20 -0
  68. package/builtins/en/workflows/dual.yaml +39 -1
  69. package/builtins/en/workflows/frontend-maintenance.yaml +42 -2
  70. package/builtins/en/workflows/frontend-mini.yaml +20 -0
  71. package/builtins/en/workflows/frontend.yaml +42 -2
  72. package/builtins/en/workflows/magi.yaml +6 -0
  73. package/builtins/en/workflows/peer-review-with-fc.yaml +206 -0
  74. package/builtins/en/workflows/peer-review.yaml +30 -10
  75. package/builtins/en/workflows/research.yaml +6 -0
  76. package/builtins/en/workflows/review-backend-cqrs.yaml +21 -1
  77. package/builtins/en/workflows/review-backend.yaml +19 -1
  78. package/builtins/en/workflows/review-default.yaml +21 -1
  79. package/builtins/en/workflows/review-dual-cqrs.yaml +23 -1
  80. package/builtins/en/workflows/review-dual.yaml +21 -1
  81. package/builtins/en/workflows/review-fix-backend-cqrs.yaml +25 -1
  82. package/builtins/en/workflows/review-fix-backend.yaml +23 -1
  83. package/builtins/en/workflows/review-fix-default.yaml +25 -1
  84. package/builtins/en/workflows/review-fix-dual-cqrs.yaml +27 -1
  85. package/builtins/en/workflows/review-fix-dual.yaml +25 -1
  86. package/builtins/en/workflows/review-fix-frontend.yaml +25 -1
  87. package/builtins/en/workflows/review-fix-takt-default.yaml +33 -1
  88. package/builtins/en/workflows/review-frontend.yaml +21 -1
  89. package/builtins/en/workflows/review-takt-default.yaml +23 -1
  90. package/builtins/en/workflows/takt-default-refresh-all.yaml +30 -0
  91. package/builtins/en/workflows/takt-default-refresh-fast.yaml +30 -0
  92. package/builtins/en/workflows/takt-default-with-fc.yaml +110 -0
  93. package/builtins/en/workflows/takt-default.yaml +9 -3
  94. package/builtins/en/workflows/terraform.yaml +29 -1
  95. package/builtins/ja/config.yaml +28 -12
  96. package/builtins/ja/facets/instructions/findings-manager.md +13 -0
  97. package/builtins/ja/facets/instructions/fix-maintenance.md +1 -1
  98. package/builtins/ja/facets/instructions/fix.md +9 -4
  99. package/builtins/ja/facets/instructions/implement-maintenance.md +5 -34
  100. package/builtins/ja/facets/instructions/loop-monitor-reviewers-fix.md +5 -1
  101. package/builtins/ja/facets/instructions/plan-maintenance.md +3 -3
  102. package/builtins/ja/facets/instructions/plan-test.md +4 -3
  103. package/builtins/ja/facets/instructions/review-coding.md +13 -6
  104. package/builtins/ja/facets/instructions/review-pure.md +8 -0
  105. package/builtins/ja/facets/instructions/review-qa.md +2 -1
  106. package/builtins/ja/facets/instructions/review-test.md +7 -1
  107. package/builtins/ja/facets/instructions/supervise-maintenance.md +3 -75
  108. package/builtins/ja/facets/instructions/supervise.md +8 -69
  109. package/builtins/ja/facets/instructions/write-tests-first.md +1 -0
  110. package/builtins/ja/facets/knowledge/architecture.md +31 -0
  111. package/builtins/ja/facets/knowledge/backend.md +27 -1
  112. package/builtins/ja/facets/knowledge/cqrs-es.md +43 -0
  113. package/builtins/ja/facets/knowledge/e2e-testing.md +13 -0
  114. package/builtins/ja/facets/knowledge/existing-system.md +2 -2
  115. package/builtins/ja/facets/knowledge/takt.md +11 -0
  116. package/builtins/ja/facets/output-contracts/ai-antipattern-review-finding-contract.md +31 -0
  117. package/builtins/ja/facets/output-contracts/architecture-review-finding-contract.md +35 -0
  118. package/builtins/ja/facets/output-contracts/coding-review-finding-contract.md +25 -0
  119. package/builtins/ja/facets/output-contracts/coding-review.md +11 -4
  120. package/builtins/ja/facets/output-contracts/cqrs-es-review-finding-contract.md +31 -0
  121. package/builtins/ja/facets/output-contracts/findings-manager.md +45 -0
  122. package/builtins/ja/facets/output-contracts/frontend-review-finding-contract.md +30 -0
  123. package/builtins/ja/facets/output-contracts/pure-review-finding-contract.md +45 -0
  124. package/builtins/ja/facets/output-contracts/pure-review.md +6 -6
  125. package/builtins/ja/facets/output-contracts/qa-review-finding-contract.md +35 -0
  126. package/builtins/ja/facets/output-contracts/qa-review.md +10 -3
  127. package/builtins/ja/facets/output-contracts/security-review-finding-contract.md +36 -0
  128. package/builtins/ja/facets/output-contracts/supervisor-validation.md +34 -10
  129. package/builtins/ja/facets/output-contracts/terraform-review-finding-contract.md +31 -0
  130. package/builtins/ja/facets/output-contracts/testing-review-finding-contract.md +41 -0
  131. package/builtins/ja/facets/personas/findings-manager.md +18 -0
  132. package/builtins/ja/facets/policies/ai-antipattern.md +15 -0
  133. package/builtins/ja/facets/policies/existing-system-respect.md +17 -16
  134. package/builtins/ja/facets/policies/review.md +62 -16
  135. package/builtins/ja/facets/policies/testing.md +52 -0
  136. package/builtins/ja/workflow-categories.yaml +2 -0
  137. package/builtins/ja/workflows/audit-architecture-backend.yaml +8 -0
  138. package/builtins/ja/workflows/audit-architecture-dual.yaml +8 -0
  139. package/builtins/ja/workflows/audit-architecture-frontend.yaml +8 -0
  140. package/builtins/ja/workflows/audit-architecture.yaml +8 -0
  141. package/builtins/ja/workflows/audit-e2e.yaml +8 -0
  142. package/builtins/ja/workflows/audit-security.yaml +8 -0
  143. package/builtins/ja/workflows/audit-unit.yaml +8 -0
  144. package/builtins/ja/workflows/auto-improvement-loop.yaml +6 -0
  145. package/builtins/ja/workflows/backend-cqrs-mini.yaml +20 -0
  146. package/builtins/ja/workflows/backend-cqrs.yaml +39 -1
  147. package/builtins/ja/workflows/backend-maintenance.yaml +540 -0
  148. package/builtins/ja/workflows/backend-mini.yaml +20 -0
  149. package/builtins/ja/workflows/backend.yaml +39 -1
  150. package/builtins/ja/workflows/compound-eye.yaml +8 -0
  151. package/builtins/ja/workflows/deep-research.yaml +8 -0
  152. package/builtins/ja/workflows/default-draft.yaml +6 -0
  153. package/builtins/ja/workflows/default-high.yaml +6 -0
  154. package/builtins/ja/workflows/default-mini.yaml +2 -0
  155. package/builtins/ja/workflows/default-peer-review.yaml +17 -1
  156. package/builtins/ja/workflows/default.yaml +4 -0
  157. package/builtins/ja/workflows/draft.yaml +14 -4
  158. package/builtins/ja/workflows/dual-cqrs-mini.yaml +20 -0
  159. package/builtins/ja/workflows/dual-cqrs.yaml +35 -1
  160. package/builtins/ja/workflows/dual-mini.yaml +20 -0
  161. package/builtins/ja/workflows/dual.yaml +39 -1
  162. package/builtins/ja/workflows/frontend-maintenance.yaml +42 -2
  163. package/builtins/ja/workflows/frontend-mini.yaml +20 -0
  164. package/builtins/ja/workflows/frontend.yaml +42 -2
  165. package/builtins/ja/workflows/magi.yaml +6 -0
  166. package/builtins/ja/workflows/peer-review-with-fc.yaml +206 -0
  167. package/builtins/ja/workflows/peer-review.yaml +30 -10
  168. package/builtins/ja/workflows/research.yaml +6 -0
  169. package/builtins/ja/workflows/review-backend-cqrs.yaml +21 -1
  170. package/builtins/ja/workflows/review-backend.yaml +19 -1
  171. package/builtins/ja/workflows/review-default.yaml +21 -1
  172. package/builtins/ja/workflows/review-dual-cqrs.yaml +23 -1
  173. package/builtins/ja/workflows/review-dual.yaml +21 -1
  174. package/builtins/ja/workflows/review-fix-backend-cqrs.yaml +25 -1
  175. package/builtins/ja/workflows/review-fix-backend.yaml +23 -1
  176. package/builtins/ja/workflows/review-fix-default.yaml +25 -1
  177. package/builtins/ja/workflows/review-fix-dual-cqrs.yaml +27 -1
  178. package/builtins/ja/workflows/review-fix-dual.yaml +25 -1
  179. package/builtins/ja/workflows/review-fix-frontend.yaml +25 -1
  180. package/builtins/ja/workflows/review-fix-takt-default.yaml +33 -1
  181. package/builtins/ja/workflows/review-frontend.yaml +21 -1
  182. package/builtins/ja/workflows/review-takt-default.yaml +23 -1
  183. package/builtins/ja/workflows/takt-default-refresh-all.yaml +30 -0
  184. package/builtins/ja/workflows/takt-default-refresh-fast.yaml +30 -0
  185. package/builtins/ja/workflows/takt-default-with-fc.yaml +110 -0
  186. package/builtins/ja/workflows/takt-default.yaml +9 -3
  187. package/builtins/ja/workflows/terraform.yaml +29 -1
  188. package/builtins/skill/references/yaml-schema.md +4 -0
  189. package/builtins/skill-codex/references/yaml-schema.md +4 -0
  190. package/dist/agents/decompose-task-usecase.d.ts +3 -1
  191. package/dist/agents/decompose-task-usecase.d.ts.map +1 -1
  192. package/dist/agents/decompose-task-usecase.js +2 -2
  193. package/dist/agents/decompose-task-usecase.js.map +1 -1
  194. package/dist/agents/runner.js +4 -4
  195. package/dist/agents/runner.js.map +1 -1
  196. package/dist/agents/structured-caller/capability-aware-structured-caller.d.ts +2 -2
  197. package/dist/agents/structured-caller/capability-aware-structured-caller.d.ts.map +1 -1
  198. package/dist/agents/structured-caller/capability-aware-structured-caller.js.map +1 -1
  199. package/dist/agents/structured-caller/contracts.d.ts +2 -2
  200. package/dist/agents/structured-caller/contracts.d.ts.map +1 -1
  201. package/dist/agents/structured-caller/default-structured-caller.d.ts +2 -2
  202. package/dist/agents/structured-caller/default-structured-caller.d.ts.map +1 -1
  203. package/dist/agents/structured-caller/default-structured-caller.js.map +1 -1
  204. package/dist/agents/structured-caller/prompt-based-structured-caller.d.ts +2 -2
  205. package/dist/agents/structured-caller/prompt-based-structured-caller.d.ts.map +1 -1
  206. package/dist/agents/structured-caller/prompt-based-structured-caller.js +2 -2
  207. package/dist/agents/structured-caller/prompt-based-structured-caller.js.map +1 -1
  208. package/dist/agents/team-leader-structured-output.d.ts +2 -2
  209. package/dist/agents/team-leader-structured-output.d.ts.map +1 -1
  210. package/dist/agents/team-leader-structured-output.js +42 -9
  211. package/dist/agents/team-leader-structured-output.js.map +1 -1
  212. package/dist/app/cli/routing-inputs.d.ts +1 -0
  213. package/dist/app/cli/routing-inputs.d.ts.map +1 -1
  214. package/dist/app/cli/routing-inputs.js +5 -2
  215. package/dist/app/cli/routing-inputs.js.map +1 -1
  216. package/dist/app/cli/routing.d.ts.map +1 -1
  217. package/dist/app/cli/routing.js +14 -0
  218. package/dist/app/cli/routing.js.map +1 -1
  219. package/dist/commands/repertoire/add.d.ts.map +1 -1
  220. package/dist/commands/repertoire/add.js +47 -7
  221. package/dist/commands/repertoire/add.js.map +1 -1
  222. package/dist/commands/repertoire/remove.d.ts.map +1 -1
  223. package/dist/commands/repertoire/remove.js +19 -3
  224. package/dist/commands/repertoire/remove.js.map +1 -1
  225. package/dist/core/models/config-schemas.d.ts +797 -0
  226. package/dist/core/models/config-schemas.d.ts.map +1 -1
  227. package/dist/core/models/config-schemas.js +6 -0
  228. package/dist/core/models/config-schemas.js.map +1 -1
  229. package/dist/core/models/config-types.d.ts +8 -0
  230. package/dist/core/models/config-types.d.ts.map +1 -1
  231. package/dist/core/models/finding-schemas.d.ts +447 -0
  232. package/dist/core/models/finding-schemas.d.ts.map +1 -0
  233. package/dist/core/models/finding-schemas.js +234 -0
  234. package/dist/core/models/finding-schemas.js.map +1 -0
  235. package/dist/core/models/finding-types.d.ts +146 -0
  236. package/dist/core/models/finding-types.d.ts.map +1 -0
  237. package/dist/core/models/finding-types.js +5 -0
  238. package/dist/core/models/finding-types.js.map +1 -0
  239. package/dist/core/models/index.d.ts +1 -1
  240. package/dist/core/models/index.d.ts.map +1 -1
  241. package/dist/core/models/index.js.map +1 -1
  242. package/dist/core/models/part.d.ts +7 -0
  243. package/dist/core/models/part.d.ts.map +1 -1
  244. package/dist/core/models/schema-base.d.ts +10 -0
  245. package/dist/core/models/schema-base.d.ts.map +1 -1
  246. package/dist/core/models/schema-base.js +2 -0
  247. package/dist/core/models/schema-base.js.map +1 -1
  248. package/dist/core/models/types.d.ts +2 -2
  249. package/dist/core/models/types.d.ts.map +1 -1
  250. package/dist/core/models/workflow-condition-expression.d.ts +3 -0
  251. package/dist/core/models/workflow-condition-expression.d.ts.map +1 -1
  252. package/dist/core/models/workflow-condition-expression.js +223 -4
  253. package/dist/core/models/workflow-condition-expression.js.map +1 -1
  254. package/dist/core/models/workflow-provider-options.d.ts +2 -0
  255. package/dist/core/models/workflow-provider-options.d.ts.map +1 -1
  256. package/dist/core/models/workflow-provider-options.js.map +1 -1
  257. package/dist/core/models/workflow-schemas.d.ts +124 -36
  258. package/dist/core/models/workflow-schemas.d.ts.map +1 -1
  259. package/dist/core/models/workflow-schemas.js +13 -6
  260. package/dist/core/models/workflow-schemas.js.map +1 -1
  261. package/dist/core/models/workflow-system-schemas.d.ts.map +1 -1
  262. package/dist/core/models/workflow-system-schemas.js +1 -0
  263. package/dist/core/models/workflow-system-schemas.js.map +1 -1
  264. package/dist/core/models/workflow-types.d.ts +13 -0
  265. package/dist/core/models/workflow-types.d.ts.map +1 -1
  266. package/dist/core/models/workflow-types.js.map +1 -1
  267. package/dist/core/workflow/engine/OptionsBuilder.d.ts +4 -1
  268. package/dist/core/workflow/engine/OptionsBuilder.d.ts.map +1 -1
  269. package/dist/core/workflow/engine/OptionsBuilder.js +21 -8
  270. package/dist/core/workflow/engine/OptionsBuilder.js.map +1 -1
  271. package/dist/core/workflow/engine/ParallelRunner.d.ts +14 -0
  272. package/dist/core/workflow/engine/ParallelRunner.d.ts.map +1 -1
  273. package/dist/core/workflow/engine/ParallelRunner.js +152 -18
  274. package/dist/core/workflow/engine/ParallelRunner.js.map +1 -1
  275. package/dist/core/workflow/engine/StepExecutor.d.ts +4 -2
  276. package/dist/core/workflow/engine/StepExecutor.d.ts.map +1 -1
  277. package/dist/core/workflow/engine/StepExecutor.js +10 -3
  278. package/dist/core/workflow/engine/StepExecutor.js.map +1 -1
  279. package/dist/core/workflow/engine/TeamLeaderRunner.d.ts.map +1 -1
  280. package/dist/core/workflow/engine/TeamLeaderRunner.js +6 -6
  281. package/dist/core/workflow/engine/TeamLeaderRunner.js.map +1 -1
  282. package/dist/core/workflow/engine/WorkflowCallExecutor.d.ts +3 -1
  283. package/dist/core/workflow/engine/WorkflowCallExecutor.d.ts.map +1 -1
  284. package/dist/core/workflow/engine/WorkflowCallExecutor.js +23 -5
  285. package/dist/core/workflow/engine/WorkflowCallExecutor.js.map +1 -1
  286. package/dist/core/workflow/engine/WorkflowCallRunner.d.ts +1 -0
  287. package/dist/core/workflow/engine/WorkflowCallRunner.d.ts.map +1 -1
  288. package/dist/core/workflow/engine/WorkflowCallRunner.js +5 -1
  289. package/dist/core/workflow/engine/WorkflowCallRunner.js.map +1 -1
  290. package/dist/core/workflow/engine/WorkflowEngine.d.ts +7 -1
  291. package/dist/core/workflow/engine/WorkflowEngine.d.ts.map +1 -1
  292. package/dist/core/workflow/engine/WorkflowEngine.js +63 -9
  293. package/dist/core/workflow/engine/WorkflowEngine.js.map +1 -1
  294. package/dist/core/workflow/engine/WorkflowEngineSetup.d.ts +3 -0
  295. package/dist/core/workflow/engine/WorkflowEngineSetup.d.ts.map +1 -1
  296. package/dist/core/workflow/engine/WorkflowEngineSetup.js +27 -1
  297. package/dist/core/workflow/engine/WorkflowEngineSetup.js.map +1 -1
  298. package/dist/core/workflow/engine/WorkflowRunLoop.d.ts +10 -7
  299. package/dist/core/workflow/engine/WorkflowRunLoop.d.ts.map +1 -1
  300. package/dist/core/workflow/engine/WorkflowRunLoop.js +63 -33
  301. package/dist/core/workflow/engine/WorkflowRunLoop.js.map +1 -1
  302. package/dist/core/workflow/engine/WorkflowValidator.d.ts.map +1 -1
  303. package/dist/core/workflow/engine/WorkflowValidator.js +78 -1
  304. package/dist/core/workflow/engine/WorkflowValidator.js.map +1 -1
  305. package/dist/core/workflow/engine/engine-provider-options.d.ts +1 -0
  306. package/dist/core/workflow/engine/engine-provider-options.d.ts.map +1 -1
  307. package/dist/core/workflow/engine/engine-provider-options.js +27 -0
  308. package/dist/core/workflow/engine/engine-provider-options.js.map +1 -1
  309. package/dist/core/workflow/engine/team-leader-common.d.ts +1 -0
  310. package/dist/core/workflow/engine/team-leader-common.d.ts.map +1 -1
  311. package/dist/core/workflow/engine/team-leader-common.js +23 -0
  312. package/dist/core/workflow/engine/team-leader-common.js.map +1 -1
  313. package/dist/core/workflow/engine/team-leader-part-runner.d.ts.map +1 -1
  314. package/dist/core/workflow/engine/team-leader-part-runner.js +22 -1
  315. package/dist/core/workflow/engine/team-leader-part-runner.js.map +1 -1
  316. package/dist/core/workflow/evaluation/AggregateEvaluator.d.ts.map +1 -1
  317. package/dist/core/workflow/evaluation/AggregateEvaluator.js +7 -4
  318. package/dist/core/workflow/evaluation/AggregateEvaluator.js.map +1 -1
  319. package/dist/core/workflow/evaluation/RuleEvaluator.d.ts +1 -0
  320. package/dist/core/workflow/evaluation/RuleEvaluator.d.ts.map +1 -1
  321. package/dist/core/workflow/evaluation/RuleEvaluator.js +15 -1
  322. package/dist/core/workflow/evaluation/RuleEvaluator.js.map +1 -1
  323. package/dist/core/workflow/evaluation/rule-utils.d.ts +5 -1
  324. package/dist/core/workflow/evaluation/rule-utils.d.ts.map +1 -1
  325. package/dist/core/workflow/evaluation/rule-utils.js +34 -1
  326. package/dist/core/workflow/evaluation/rule-utils.js.map +1 -1
  327. package/dist/core/workflow/evaluation/when-evaluator.d.ts.map +1 -1
  328. package/dist/core/workflow/evaluation/when-evaluator.js +4 -1
  329. package/dist/core/workflow/evaluation/when-evaluator.js.map +1 -1
  330. package/dist/core/workflow/findings/context.d.ts +5 -0
  331. package/dist/core/workflow/findings/context.d.ts.map +1 -0
  332. package/dist/core/workflow/findings/context.js +82 -0
  333. package/dist/core/workflow/findings/context.js.map +1 -0
  334. package/dist/core/workflow/findings/ledger-validation.d.ts +3 -0
  335. package/dist/core/workflow/findings/ledger-validation.d.ts.map +1 -0
  336. package/dist/core/workflow/findings/ledger-validation.js +26 -0
  337. package/dist/core/workflow/findings/ledger-validation.js.map +1 -0
  338. package/dist/core/workflow/findings/manager-output-validation.d.ts +15 -0
  339. package/dist/core/workflow/findings/manager-output-validation.d.ts.map +1 -0
  340. package/dist/core/workflow/findings/manager-output-validation.js +221 -0
  341. package/dist/core/workflow/findings/manager-output-validation.js.map +1 -0
  342. package/dist/core/workflow/findings/manager-runner.d.ts +89 -0
  343. package/dist/core/workflow/findings/manager-runner.d.ts.map +1 -0
  344. package/dist/core/workflow/findings/manager-runner.js +291 -0
  345. package/dist/core/workflow/findings/manager-runner.js.map +1 -0
  346. package/dist/core/workflow/findings/reconciler.d.ts +10 -0
  347. package/dist/core/workflow/findings/reconciler.d.ts.map +1 -0
  348. package/dist/core/workflow/findings/reconciler.js +413 -0
  349. package/dist/core/workflow/findings/reconciler.js.map +1 -0
  350. package/dist/core/workflow/findings/schemas.d.ts +2 -0
  351. package/dist/core/workflow/findings/schemas.d.ts.map +1 -0
  352. package/dist/core/workflow/findings/schemas.js +2 -0
  353. package/dist/core/workflow/findings/schemas.js.map +1 -0
  354. package/dist/core/workflow/findings/store.d.ts +33 -0
  355. package/dist/core/workflow/findings/store.d.ts.map +1 -0
  356. package/dist/core/workflow/findings/store.js +169 -0
  357. package/dist/core/workflow/findings/store.js.map +1 -0
  358. package/dist/core/workflow/findings/types.d.ts +3 -0
  359. package/dist/core/workflow/findings/types.d.ts.map +1 -0
  360. package/dist/core/workflow/findings/types.js +2 -0
  361. package/dist/core/workflow/findings/types.js.map +1 -0
  362. package/dist/core/workflow/instruction/InstructionBuilder.d.ts +1 -0
  363. package/dist/core/workflow/instruction/InstructionBuilder.d.ts.map +1 -1
  364. package/dist/core/workflow/instruction/InstructionBuilder.js +35 -11
  365. package/dist/core/workflow/instruction/InstructionBuilder.js.map +1 -1
  366. package/dist/core/workflow/instruction/ReportInstructionBuilder.d.ts +4 -0
  367. package/dist/core/workflow/instruction/ReportInstructionBuilder.d.ts.map +1 -1
  368. package/dist/core/workflow/instruction/ReportInstructionBuilder.js +22 -1
  369. package/dist/core/workflow/instruction/ReportInstructionBuilder.js.map +1 -1
  370. package/dist/core/workflow/instruction/fenced-json.d.ts +2 -0
  371. package/dist/core/workflow/instruction/fenced-json.d.ts.map +1 -0
  372. package/dist/core/workflow/instruction/fenced-json.js +11 -0
  373. package/dist/core/workflow/instruction/fenced-json.js.map +1 -0
  374. package/dist/core/workflow/instruction/instruction-context.d.ts +8 -0
  375. package/dist/core/workflow/instruction/instruction-context.d.ts.map +1 -1
  376. package/dist/core/workflow/instruction/instruction-context.js.map +1 -1
  377. package/dist/core/workflow/observability/traceDiscovery.d.ts +33 -0
  378. package/dist/core/workflow/observability/traceDiscovery.d.ts.map +1 -0
  379. package/dist/core/workflow/observability/traceDiscovery.js +104 -0
  380. package/dist/core/workflow/observability/traceDiscovery.js.map +1 -0
  381. package/dist/core/workflow/observability/workflowSpans.d.ts +5 -2
  382. package/dist/core/workflow/observability/workflowSpans.d.ts.map +1 -1
  383. package/dist/core/workflow/observability/workflowSpans.js +35 -5
  384. package/dist/core/workflow/observability/workflowSpans.js.map +1 -1
  385. package/dist/core/workflow/phase-runner.d.ts +2 -0
  386. package/dist/core/workflow/phase-runner.d.ts.map +1 -1
  387. package/dist/core/workflow/phase-runner.js.map +1 -1
  388. package/dist/core/workflow/promotion/promotion-runtime.d.ts.map +1 -1
  389. package/dist/core/workflow/promotion/promotion-runtime.js +3 -2
  390. package/dist/core/workflow/promotion/promotion-runtime.js.map +1 -1
  391. package/dist/core/workflow/provider-options-trace.d.ts +3 -2
  392. package/dist/core/workflow/provider-options-trace.d.ts.map +1 -1
  393. package/dist/core/workflow/provider-resolution.d.ts +11 -3
  394. package/dist/core/workflow/provider-resolution.d.ts.map +1 -1
  395. package/dist/core/workflow/provider-resolution.js +68 -2
  396. package/dist/core/workflow/provider-resolution.js.map +1 -1
  397. package/dist/core/workflow/providerOptionsRedaction.d.ts +4 -0
  398. package/dist/core/workflow/providerOptionsRedaction.d.ts.map +1 -0
  399. package/dist/core/workflow/providerOptionsRedaction.js +18 -0
  400. package/dist/core/workflow/providerOptionsRedaction.js.map +1 -0
  401. package/dist/core/workflow/report-phase-runner.d.ts.map +1 -1
  402. package/dist/core/workflow/report-phase-runner.js +59 -44
  403. package/dist/core/workflow/report-phase-runner.js.map +1 -1
  404. package/dist/core/workflow/report-writer.d.ts +2 -0
  405. package/dist/core/workflow/report-writer.d.ts.map +1 -0
  406. package/dist/core/workflow/report-writer.js +42 -0
  407. package/dist/core/workflow/report-writer.js.map +1 -0
  408. package/dist/core/workflow/run/run-meta.d.ts +5 -0
  409. package/dist/core/workflow/run/run-meta.d.ts.map +1 -1
  410. package/dist/core/workflow/run/run-meta.js.map +1 -1
  411. package/dist/core/workflow/state/workflow-state-access.d.ts +2 -2
  412. package/dist/core/workflow/state/workflow-state-access.d.ts.map +1 -1
  413. package/dist/core/workflow/state/workflow-state-access.js +17 -2
  414. package/dist/core/workflow/state/workflow-state-access.js.map +1 -1
  415. package/dist/core/workflow/types.d.ts +25 -1
  416. package/dist/core/workflow/types.d.ts.map +1 -1
  417. package/dist/features/analytics/events.d.ts +1 -1
  418. package/dist/features/analytics/events.d.ts.map +1 -1
  419. package/dist/features/analytics/index.d.ts +1 -1
  420. package/dist/features/analytics/index.d.ts.map +1 -1
  421. package/dist/features/analytics/index.js +1 -1
  422. package/dist/features/analytics/index.js.map +1 -1
  423. package/dist/features/analytics/report-parser.d.ts +5 -3
  424. package/dist/features/analytics/report-parser.d.ts.map +1 -1
  425. package/dist/features/analytics/report-parser.js +42 -7
  426. package/dist/features/analytics/report-parser.js.map +1 -1
  427. package/dist/features/interactive/clipboardImage.js +2 -2
  428. package/dist/features/interactive/clipboardImage.js.map +1 -1
  429. package/dist/features/pipeline/execute.d.ts.map +1 -1
  430. package/dist/features/pipeline/execute.js +2 -3
  431. package/dist/features/pipeline/execute.js.map +1 -1
  432. package/dist/features/pipeline/steps.d.ts +4 -3
  433. package/dist/features/pipeline/steps.d.ts.map +1 -1
  434. package/dist/features/pipeline/steps.js +46 -8
  435. package/dist/features/pipeline/steps.js.map +1 -1
  436. package/dist/features/repertoire/file-filter.d.ts +3 -3
  437. package/dist/features/repertoire/file-filter.d.ts.map +1 -1
  438. package/dist/features/repertoire/file-filter.js +3 -3
  439. package/dist/features/repertoire/file-filter.js.map +1 -1
  440. package/dist/features/repertoire/pack-summary.d.ts +21 -7
  441. package/dist/features/repertoire/pack-summary.d.ts.map +1 -1
  442. package/dist/features/repertoire/pack-summary.js +156 -24
  443. package/dist/features/repertoire/pack-summary.js.map +1 -1
  444. package/dist/features/repertoire/remove.d.ts +5 -2
  445. package/dist/features/repertoire/remove.d.ts.map +1 -1
  446. package/dist/features/repertoire/remove.js +9 -2
  447. package/dist/features/repertoire/remove.js.map +1 -1
  448. package/dist/features/repertoire/takt-repertoire-config.d.ts +3 -3
  449. package/dist/features/repertoire/takt-repertoire-config.d.ts.map +1 -1
  450. package/dist/features/repertoire/takt-repertoire-config.js +31 -16
  451. package/dist/features/repertoire/takt-repertoire-config.js.map +1 -1
  452. package/dist/features/tasks/add/index.d.ts +1 -0
  453. package/dist/features/tasks/add/index.d.ts.map +1 -1
  454. package/dist/features/tasks/add/index.js +1 -0
  455. package/dist/features/tasks/add/index.js.map +1 -1
  456. package/dist/features/tasks/execute/analyticsEmitter.d.ts +4 -1
  457. package/dist/features/tasks/execute/analyticsEmitter.d.ts.map +1 -1
  458. package/dist/features/tasks/execute/analyticsEmitter.js +30 -3
  459. package/dist/features/tasks/execute/analyticsEmitter.js.map +1 -1
  460. package/dist/features/tasks/execute/runAllTasks.d.ts.map +1 -1
  461. package/dist/features/tasks/execute/runAllTasks.js +2 -2
  462. package/dist/features/tasks/execute/runAllTasks.js.map +1 -1
  463. package/dist/features/tasks/execute/runMeta.d.ts +5 -1
  464. package/dist/features/tasks/execute/runMeta.d.ts.map +1 -1
  465. package/dist/features/tasks/execute/runMeta.js +6 -1
  466. package/dist/features/tasks/execute/runMeta.js.map +1 -1
  467. package/dist/features/tasks/execute/selectAndExecute.d.ts.map +1 -1
  468. package/dist/features/tasks/execute/selectAndExecute.js +12 -0
  469. package/dist/features/tasks/execute/selectAndExecute.js.map +1 -1
  470. package/dist/features/tasks/execute/sessionLoggerRecordFactory.d.ts.map +1 -1
  471. package/dist/features/tasks/execute/sessionLoggerRecordFactory.js +2 -1
  472. package/dist/features/tasks/execute/sessionLoggerRecordFactory.js.map +1 -1
  473. package/dist/features/tasks/execute/slackSummaryAdapter.d.ts +0 -1
  474. package/dist/features/tasks/execute/slackSummaryAdapter.d.ts.map +1 -1
  475. package/dist/features/tasks/execute/slackSummaryAdapter.js +0 -5
  476. package/dist/features/tasks/execute/slackSummaryAdapter.js.map +1 -1
  477. package/dist/features/tasks/execute/taskExecution.d.ts.map +1 -1
  478. package/dist/features/tasks/execute/taskExecution.js +9 -0
  479. package/dist/features/tasks/execute/taskExecution.js.map +1 -1
  480. package/dist/features/tasks/execute/taskWorkflowExecution.d.ts.map +1 -1
  481. package/dist/features/tasks/execute/taskWorkflowExecution.js +20 -1
  482. package/dist/features/tasks/execute/taskWorkflowExecution.js.map +1 -1
  483. package/dist/features/tasks/execute/traceTaskMetadata.d.ts +20 -0
  484. package/dist/features/tasks/execute/traceTaskMetadata.d.ts.map +1 -0
  485. package/dist/features/tasks/execute/traceTaskMetadata.js +54 -0
  486. package/dist/features/tasks/execute/traceTaskMetadata.js.map +1 -0
  487. package/dist/features/tasks/execute/types.d.ts +13 -1
  488. package/dist/features/tasks/execute/types.d.ts.map +1 -1
  489. package/dist/features/tasks/execute/workflowExecution.d.ts.map +1 -1
  490. package/dist/features/tasks/execute/workflowExecution.js +14 -1
  491. package/dist/features/tasks/execute/workflowExecution.js.map +1 -1
  492. package/dist/features/tasks/execute/workflowExecutionBootstrap.d.ts +2 -0
  493. package/dist/features/tasks/execute/workflowExecutionBootstrap.d.ts.map +1 -1
  494. package/dist/features/tasks/execute/workflowExecutionBootstrap.js +20 -2
  495. package/dist/features/tasks/execute/workflowExecutionBootstrap.js.map +1 -1
  496. package/dist/features/tasks/execute/workflowExecutionEvents.d.ts +2 -0
  497. package/dist/features/tasks/execute/workflowExecutionEvents.d.ts.map +1 -1
  498. package/dist/features/tasks/execute/workflowExecutionEvents.js +19 -2
  499. package/dist/features/tasks/execute/workflowExecutionEvents.js.map +1 -1
  500. package/dist/features/tasks/execute/workflowExecutionReporting.d.ts +3 -2
  501. package/dist/features/tasks/execute/workflowExecutionReporting.d.ts.map +1 -1
  502. package/dist/features/tasks/execute/workflowExecutionReporting.js +14 -2
  503. package/dist/features/tasks/execute/workflowExecutionReporting.js.map +1 -1
  504. package/dist/features/tasks/index.d.ts +1 -1
  505. package/dist/features/tasks/index.d.ts.map +1 -1
  506. package/dist/features/tasks/index.js.map +1 -1
  507. package/dist/features/tasks/resume/index.d.ts.map +1 -1
  508. package/dist/features/tasks/resume/index.js +5 -0
  509. package/dist/features/tasks/resume/index.js.map +1 -1
  510. package/dist/infra/claude/client.d.ts.map +1 -1
  511. package/dist/infra/claude/client.js +1 -0
  512. package/dist/infra/claude/client.js.map +1 -1
  513. package/dist/infra/claude/mcp-config.d.ts.map +1 -1
  514. package/dist/infra/claude/mcp-config.js +2 -2
  515. package/dist/infra/claude/mcp-config.js.map +1 -1
  516. package/dist/infra/claude/options-builder.d.ts.map +1 -1
  517. package/dist/infra/claude/options-builder.js +3 -0
  518. package/dist/infra/claude/options-builder.js.map +1 -1
  519. package/dist/infra/claude/types.d.ts +4 -0
  520. package/dist/infra/claude/types.d.ts.map +1 -1
  521. package/dist/infra/claude-headless/headless-spawn.d.ts.map +1 -1
  522. package/dist/infra/claude-headless/headless-spawn.js +3 -0
  523. package/dist/infra/claude-headless/headless-spawn.js.map +1 -1
  524. package/dist/infra/claude-headless/types.d.ts +2 -0
  525. package/dist/infra/claude-headless/types.d.ts.map +1 -1
  526. package/dist/infra/codex/client.d.ts.map +1 -1
  527. package/dist/infra/codex/client.js +1 -0
  528. package/dist/infra/codex/client.js.map +1 -1
  529. package/dist/infra/codex/types.d.ts +2 -0
  530. package/dist/infra/codex/types.d.ts.map +1 -1
  531. package/dist/infra/config/configNormalizers.d.ts +19 -7
  532. package/dist/infra/config/configNormalizers.d.ts.map +1 -1
  533. package/dist/infra/config/configNormalizers.js +59 -16
  534. package/dist/infra/config/configNormalizers.js.map +1 -1
  535. package/dist/infra/config/env/global-current-env-specs.d.ts.map +1 -1
  536. package/dist/infra/config/env/global-current-env-specs.js +1 -0
  537. package/dist/infra/config/env/global-current-env-specs.js.map +1 -1
  538. package/dist/infra/config/env/project-current-env-specs.d.ts.map +1 -1
  539. package/dist/infra/config/env/project-current-env-specs.js +1 -0
  540. package/dist/infra/config/env/project-current-env-specs.js.map +1 -1
  541. package/dist/infra/config/global/globalConfigCore.d.ts.map +1 -1
  542. package/dist/infra/config/global/globalConfigCore.js +4 -2
  543. package/dist/infra/config/global/globalConfigCore.js.map +1 -1
  544. package/dist/infra/config/global/globalConfigSerializer.d.ts.map +1 -1
  545. package/dist/infra/config/global/globalConfigSerializer.js +5 -1
  546. package/dist/infra/config/global/globalConfigSerializer.js.map +1 -1
  547. package/dist/infra/config/loaders/namedResourceResolver.d.ts +18 -0
  548. package/dist/infra/config/loaders/namedResourceResolver.d.ts.map +1 -0
  549. package/dist/infra/config/loaders/namedResourceResolver.js +49 -0
  550. package/dist/infra/config/loaders/namedResourceResolver.js.map +1 -0
  551. package/dist/infra/config/loaders/providerOptionsLookupDirectories.d.ts +13 -0
  552. package/dist/infra/config/loaders/providerOptionsLookupDirectories.d.ts.map +1 -0
  553. package/dist/infra/config/loaders/providerOptionsLookupDirectories.js +61 -0
  554. package/dist/infra/config/loaders/providerOptionsLookupDirectories.js.map +1 -0
  555. package/dist/infra/config/loaders/workflowParser.d.ts.map +1 -1
  556. package/dist/infra/config/loaders/workflowParser.js +64 -3
  557. package/dist/infra/config/loaders/workflowParser.js.map +1 -1
  558. package/dist/infra/config/loaders/workflowPreview.d.ts.map +1 -1
  559. package/dist/infra/config/loaders/workflowPreview.js +29 -12
  560. package/dist/infra/config/loaders/workflowPreview.js.map +1 -1
  561. package/dist/infra/config/loaders/workflowProviderOptionsResolver.d.ts +20 -2
  562. package/dist/infra/config/loaders/workflowProviderOptionsResolver.d.ts.map +1 -1
  563. package/dist/infra/config/loaders/workflowProviderOptionsResolver.js +122 -34
  564. package/dist/infra/config/loaders/workflowProviderOptionsResolver.js.map +1 -1
  565. package/dist/infra/config/loaders/workflowRuleNormalizer.d.ts.map +1 -1
  566. package/dist/infra/config/loaders/workflowRuleNormalizer.js +5 -16
  567. package/dist/infra/config/loaders/workflowRuleNormalizer.js.map +1 -1
  568. package/dist/infra/config/loaders/workflowStepFeaturesNormalizer.d.ts.map +1 -1
  569. package/dist/infra/config/loaders/workflowStepFeaturesNormalizer.js +32 -1
  570. package/dist/infra/config/loaders/workflowStepFeaturesNormalizer.js.map +1 -1
  571. package/dist/infra/config/loaders/workflowStepNormalizer.d.ts +3 -2
  572. package/dist/infra/config/loaders/workflowStepNormalizer.d.ts.map +1 -1
  573. package/dist/infra/config/loaders/workflowStepNormalizer.js +33 -12
  574. package/dist/infra/config/loaders/workflowStepNormalizer.js.map +1 -1
  575. package/dist/infra/config/paths.d.ts +4 -0
  576. package/dist/infra/config/paths.d.ts.map +1 -1
  577. package/dist/infra/config/paths.js +13 -0
  578. package/dist/infra/config/paths.js.map +1 -1
  579. package/dist/infra/config/project/projectConfig.d.ts.map +1 -1
  580. package/dist/infra/config/project/projectConfig.js +23 -6
  581. package/dist/infra/config/project/projectConfig.js.map +1 -1
  582. package/dist/infra/config/providerOptions.d.ts +29 -10
  583. package/dist/infra/config/providerOptions.d.ts.map +1 -1
  584. package/dist/infra/config/providerOptions.js +166 -18
  585. package/dist/infra/config/providerOptions.js.map +1 -1
  586. package/dist/infra/config/providerOptionsContract.d.ts +4 -3
  587. package/dist/infra/config/providerOptionsContract.d.ts.map +1 -1
  588. package/dist/infra/config/providerOptionsContract.js +11 -0
  589. package/dist/infra/config/providerOptionsContract.js.map +1 -1
  590. package/dist/infra/config/providerReference.d.ts +3 -2
  591. package/dist/infra/config/providerReference.d.ts.map +1 -1
  592. package/dist/infra/config/providerReference.js +6 -6
  593. package/dist/infra/config/providerReference.js.map +1 -1
  594. package/dist/infra/config/resolveConfigValue.d.ts.map +1 -1
  595. package/dist/infra/config/resolveConfigValue.js +95 -25
  596. package/dist/infra/config/resolveConfigValue.js.map +1 -1
  597. package/dist/infra/config/traced/tracedConfigLoader.d.ts +3 -2
  598. package/dist/infra/config/traced/tracedConfigLoader.d.ts.map +1 -1
  599. package/dist/infra/config/traced/tracedConfigLoader.js +28 -4
  600. package/dist/infra/config/traced/tracedConfigLoader.js.map +1 -1
  601. package/dist/infra/config/traced/tracedConfigRuntimeBridge.d.ts.map +1 -1
  602. package/dist/infra/config/traced/tracedConfigRuntimeBridge.js +2 -2
  603. package/dist/infra/config/traced/tracedConfigRuntimeBridge.js.map +1 -1
  604. package/dist/infra/config/traced/tracedConfigSchema.d.ts.map +1 -1
  605. package/dist/infra/config/traced/tracedConfigSchema.js +8 -0
  606. package/dist/infra/config/traced/tracedConfigSchema.js.map +1 -1
  607. package/dist/infra/copilot/client.d.ts.map +1 -1
  608. package/dist/infra/copilot/client.js +3 -3
  609. package/dist/infra/copilot/client.js.map +1 -1
  610. package/dist/infra/cursor/client.d.ts.map +1 -1
  611. package/dist/infra/cursor/client.js +113 -47
  612. package/dist/infra/cursor/client.js.map +1 -1
  613. package/dist/infra/opencode/client.d.ts.map +1 -1
  614. package/dist/infra/opencode/client.js +21 -0
  615. package/dist/infra/opencode/client.js.map +1 -1
  616. package/dist/infra/opencode/unavailable-tool-loop.d.ts +7 -0
  617. package/dist/infra/opencode/unavailable-tool-loop.d.ts.map +1 -0
  618. package/dist/infra/opencode/unavailable-tool-loop.js +33 -0
  619. package/dist/infra/opencode/unavailable-tool-loop.js.map +1 -0
  620. package/dist/infra/providers/claude-headless.d.ts +1 -1
  621. package/dist/infra/providers/claude-headless.d.ts.map +1 -1
  622. package/dist/infra/providers/claude-headless.js +2 -1
  623. package/dist/infra/providers/claude-headless.js.map +1 -1
  624. package/dist/infra/providers/claude-terminal.d.ts +1 -1
  625. package/dist/infra/providers/claude-terminal.d.ts.map +1 -1
  626. package/dist/infra/providers/claude-terminal.js +1 -1
  627. package/dist/infra/providers/claude-terminal.js.map +1 -1
  628. package/dist/infra/providers/claude.d.ts +1 -1
  629. package/dist/infra/providers/claude.d.ts.map +1 -1
  630. package/dist/infra/providers/claude.js +2 -1
  631. package/dist/infra/providers/claude.js.map +1 -1
  632. package/dist/infra/providers/codex.d.ts +1 -1
  633. package/dist/infra/providers/codex.d.ts.map +1 -1
  634. package/dist/infra/providers/codex.js +2 -1
  635. package/dist/infra/providers/codex.js.map +1 -1
  636. package/dist/infra/providers/copilot.d.ts +1 -1
  637. package/dist/infra/providers/copilot.d.ts.map +1 -1
  638. package/dist/infra/providers/copilot.js +1 -1
  639. package/dist/infra/providers/copilot.js.map +1 -1
  640. package/dist/infra/providers/cursor.d.ts +1 -1
  641. package/dist/infra/providers/cursor.d.ts.map +1 -1
  642. package/dist/infra/providers/cursor.js +1 -1
  643. package/dist/infra/providers/cursor.js.map +1 -1
  644. package/dist/infra/providers/kiro.d.ts +1 -1
  645. package/dist/infra/providers/kiro.d.ts.map +1 -1
  646. package/dist/infra/providers/kiro.js +1 -1
  647. package/dist/infra/providers/kiro.js.map +1 -1
  648. package/dist/infra/providers/mock.d.ts +1 -1
  649. package/dist/infra/providers/mock.d.ts.map +1 -1
  650. package/dist/infra/providers/mock.js +1 -1
  651. package/dist/infra/providers/mock.js.map +1 -1
  652. package/dist/infra/providers/opencode.d.ts +1 -1
  653. package/dist/infra/providers/opencode.d.ts.map +1 -1
  654. package/dist/infra/providers/opencode.js +4 -1
  655. package/dist/infra/providers/opencode.js.map +1 -1
  656. package/dist/infra/providers/provider-capabilities.d.ts.map +1 -1
  657. package/dist/infra/providers/provider-capabilities.js +0 -1
  658. package/dist/infra/providers/provider-capabilities.js.map +1 -1
  659. package/dist/infra/providers/types.d.ts +1 -1
  660. package/dist/infra/providers/types.d.ts.map +1 -1
  661. package/dist/infra/task/clone-base-branch.d.ts +1 -0
  662. package/dist/infra/task/clone-base-branch.d.ts.map +1 -1
  663. package/dist/infra/task/clone-base-branch.js +22 -14
  664. package/dist/infra/task/clone-base-branch.js.map +1 -1
  665. package/dist/infra/task/clone.d.ts +2 -0
  666. package/dist/infra/task/clone.d.ts.map +1 -1
  667. package/dist/infra/task/clone.js +7 -1
  668. package/dist/infra/task/clone.js.map +1 -1
  669. package/dist/infra/task/index.d.ts +1 -1
  670. package/dist/infra/task/index.d.ts.map +1 -1
  671. package/dist/infra/task/index.js +1 -1
  672. package/dist/infra/task/index.js.map +1 -1
  673. package/dist/infra/task/mapper.d.ts.map +1 -1
  674. package/dist/infra/task/mapper.js +1 -0
  675. package/dist/infra/task/mapper.js.map +1 -1
  676. package/dist/infra/task/projectLocalTaktSync.d.ts +1 -0
  677. package/dist/infra/task/projectLocalTaktSync.d.ts.map +1 -1
  678. package/dist/infra/task/projectLocalTaktSync.js +40 -0
  679. package/dist/infra/task/projectLocalTaktSync.js.map +1 -1
  680. package/dist/infra/task/taskExecutionSchemas.d.ts +3 -3
  681. package/dist/infra/task/taskRecordSchemas.d.ts +2 -2
  682. package/dist/infra/task/types.d.ts +1 -0
  683. package/dist/infra/task/types.d.ts.map +1 -1
  684. package/dist/shared/prompts/en/perform_phase2_message.md +1 -0
  685. package/dist/shared/prompts/ja/perform_phase2_message.md +1 -0
  686. package/dist/shared/team-leader-inspect-tools.d.ts +5 -0
  687. package/dist/shared/team-leader-inspect-tools.d.ts.map +1 -0
  688. package/dist/shared/team-leader-inspect-tools.js +8 -0
  689. package/dist/shared/team-leader-inspect-tools.js.map +1 -0
  690. package/dist/shared/ui/StreamDisplay.js +1 -1
  691. package/dist/shared/ui/StreamDisplay.js.map +1 -1
  692. package/dist/shared/utils/index.d.ts +2 -0
  693. package/dist/shared/utils/index.d.ts.map +1 -1
  694. package/dist/shared/utils/index.js +2 -0
  695. package/dist/shared/utils/index.js.map +1 -1
  696. package/dist/shared/utils/runId.d.ts +2 -0
  697. package/dist/shared/utils/runId.d.ts.map +1 -0
  698. package/dist/shared/utils/runId.js +18 -0
  699. package/dist/shared/utils/runId.js.map +1 -0
  700. package/dist/shared/utils/tmpdir.d.ts +2 -0
  701. package/dist/shared/utils/tmpdir.d.ts.map +1 -0
  702. package/dist/shared/utils/tmpdir.js +8 -0
  703. package/dist/shared/utils/tmpdir.js.map +1 -0
  704. package/package.json +33 -16
  705. /package/builtins/en/{workflows/provider-options → provider-options}/edit.yaml +0 -0
  706. /package/builtins/en/{workflows/provider-options → provider-options}/review-files.yaml +0 -0
  707. /package/builtins/en/{workflows/provider-options → provider-options}/review-readonly.yaml +0 -0
  708. /package/builtins/en/{workflows/provider-options → provider-options}/review-web.yaml +0 -0
  709. /package/builtins/ja/{workflows/provider-options → provider-options}/edit.yaml +0 -0
  710. /package/builtins/ja/{workflows/provider-options → provider-options}/review-files.yaml +0 -0
  711. /package/builtins/ja/{workflows/provider-options → provider-options}/review-readonly.yaml +0 -0
  712. /package/builtins/ja/{workflows/provider-options → provider-options}/review-web.yaml +0 -0
@@ -65,7 +65,7 @@ data class Order(
65
65
 
66
66
  ## API Layer Design (Controller)
67
67
 
68
- Keep Controllers thin. Their only job: receive request delegate to UseCase return response.
68
+ Keep Controllers thin. Focus them on receiving requests, DTO conversion, resolving authentication/authorization boundaries, delegating to a UseCase or query boundary, and returning responses.
69
69
 
70
70
  ```kotlin
71
71
  // CORRECT - Thin Controller
@@ -208,6 +208,21 @@ fun confirm(confirmedBy: String): OrderConfirmedEvent {
208
208
  | Structural validation (@NotBlank, etc.) in domain | REJECT. Belongs in API layer |
209
209
  | UseCase-level validation inside Aggregate | REJECT. Read Model queries belong in UseCase layer |
210
210
 
211
+ ### Read and Write Entrypoints
212
+
213
+ Separate read and write entrypoints. Read-side query boundaries have no side effects; writes are handled by commands or UseCases.
214
+
215
+ | Criteria | Judgment |
216
+ |----------|----------|
217
+ | Query boundary saves, deletes, calls external services, or dispatches commands | REJECT |
218
+ | Read-oriented class or method names hide side effects | REJECT |
219
+ | Simple read API calls a query boundary and converts to response DTO | OK |
220
+ | Simple state-changing API resolves structural validation and authorization boundary, then dispatches one command | OK |
221
+ | Read-side coordinator for Controllers handles authorization boundaries, multiple Read Models, pagination, etc. | Express as ApplicationService or ReadService |
222
+ | Sender or coordinating component named QueryService is placed near QueryHandlers | Warning. Easy to confuse with the query handling side |
223
+ | Controller contains multiple Read Model lookups, external integration, multiple commands, or result waiting | REJECT. Separate into UseCase layer |
224
+ | UseCase only delegates to another service or command dispatch without domain coordination | Consider deleting |
225
+
211
226
  ## Error Handling
212
227
 
213
228
  ### Exception Hierarchy Design
@@ -245,6 +260,17 @@ class OrderExceptionHandler {
245
260
  | Empty try-catch blocks | REJECT |
246
261
  | Controller swallowing exceptions and returning 200 | REJECT |
247
262
 
263
+ ### Exception Translation Scope
264
+
265
+ Translate exceptions into HTTP status codes at an exception translation layer on the HTTP adapter boundary. Global translation should be limited to truly cross-cutting cases such as authentication, input validation, and common error shapes; API- or resource-specific mappings belong in a boundary scoped to that API.
266
+
267
+ | Criteria | Judgment |
268
+ |----------|----------|
269
+ | Each endpoint maps exceptions to HTTP representation through the same try-catch or wrapper | REJECT. Move it to an exception translation layer at the HTTP adapter boundary |
270
+ | API-specific exception mapping is added to a global handler | Scope is too broad. Keep it inside the target API boundary |
271
+ | Authentication failures, input validation, and common error shapes shared by all APIs | OK. Handle at a global boundary |
272
+ | HTTP representation mapping lives in the application or domain layer | REJECT. Keep it at the HTTP adapter boundary |
273
+
248
274
  ## Domain Model Design
249
275
 
250
276
  ### Immutable + require
@@ -167,6 +167,35 @@ Validation inside an Aggregate should be limited to facts reproducible by event
167
167
 
168
168
  Example: for an upload-completed command, the Aggregate decides whether the session owner matches the requester and whether the current state can be completed. The storage object key format and whether the key belongs to the current user/tenant are validated in the UseCase layer before sending the command.
169
169
 
170
+ ## UseCase Layer (Orchestration)
171
+
172
+ UseCases sit between Controllers and command dispatch when orchestration is needed. They validate preconditions from Read Models across aggregates and perform required preparation before sending commands.
173
+
174
+ ```
175
+ Controller → UseCase → CommandGateway → Aggregate
176
+
177
+ QueryGateway / Repository (Read Model lookup)
178
+ ```
179
+
180
+ Cases where UseCase is needed:
181
+ - Read Model checks from multiple aggregates before command dispatch
182
+ - Multiple validations executed in sequence
183
+ - Result consistency waiting after command dispatch
184
+ - External integration or multiple command dispatches
185
+
186
+ Cases where UseCase is unnecessary:
187
+ - Simple operation completed by sending one command from Controller
188
+ - Simple read that only queries the query side and converts to response
189
+ - Operation that checks resource existence/scope and then sends one command
190
+
191
+ | Criteria | Judgment |
192
+ |----------|----------|
193
+ | Controller directly references Repository for validation | Separate into UseCase layer |
194
+ | UseCase depends on HTTP requests/responses | REJECT. UseCase must be protocol-independent |
195
+ | UseCase directly modifies Aggregate internal state | REJECT. Use CommandGateway |
196
+ | UseCase waits for results via Subscription Query | REJECT. Does not work in distributed environments. Use reactive polling |
197
+ | UseCase only delegates to a query boundary or command dispatch | Consider deleting |
198
+
170
199
  ## Projection Design
171
200
 
172
201
  | Criteria | Judgment |
@@ -181,6 +210,19 @@ Good Projection:
181
210
  - Idempotently reconstructible from events
182
211
  - Completely independent from Write model
183
212
 
213
+ ### External Work Triggers
214
+
215
+ External workers and asynchronous work should start from domain events confirmed by the Aggregate. Application Services and Coordinators must not bundle command dispatch and external side effects in the same control flow.
216
+
217
+ | Criteria | Judgment |
218
+ |----------|----------|
219
+ | Application Service or Coordinator dispatches a command, then starts external work for the same state transition | REJECT. Separate into an EventHandler for the confirmed event |
220
+ | Aggregate emits an event that represents generation or processing start, and an EventHandler starts external work | OK |
221
+ | EventHandler converts external start failure into a failure command back to the Aggregate | OK |
222
+ | Inputs needed by external work are represented in the event or reloadable through stable identifiers | OK |
223
+ | Inputs needed by external work exist only as local variables during command handling | REJECT. Move them to events or reloadable references |
224
+ | Saga is used only to start simple external work without contention or compensation | REJECT. EventHandler is sufficient |
225
+
184
226
  ## Query Side Design
185
227
 
186
228
  Query side operates on an event-driven PubSub model. Projections update Read Models via EventHandler, and queries read from Read Models.
@@ -197,6 +239,21 @@ Event distribution uses PubSub (via message broker) to deliver events to all ins
197
239
  | Controller directly referencing Repository | REJECT. Must go through UseCase layer |
198
240
  | Query side referencing Command Model | REJECT |
199
241
  | QueryHandler issuing commands | REJECT |
242
+ | Query-side service or handler saves, deletes, or calls external APIs | REJECT |
243
+ | Command and Query responsibilities mixed in the same service | REJECT. Separate responsibility and naming |
244
+ | Query side checks existence or scope and caller dispatches command | OK |
245
+
246
+ ### QueryHandler and ApplicationService Naming
247
+
248
+ In CQRS, the component that receives a query is the QueryHandler, and the entrypoint for dispatching queries is the QueryGateway / QueryBus. A facade called by Controllers for read use cases should be named ApplicationService or ReadService so it is not confused with a QueryHandler.
249
+
250
+ | Criteria | Judgment |
251
+ |----------|----------|
252
+ | Receives a Query, reads the Read Model, and returns a query result type | QueryHandler |
253
+ | Coordinates multiple Queries, authorization boundaries, pagination, or DTO assembly for Controllers | ApplicationService or ReadService |
254
+ | Class that only dispatches queries or coordinates reads is named QueryService | Warning. Easy to confuse with QueryHandler |
255
+ | QueryHandler knows HTTP requests/responses or Controller-specific error translation | REJECT |
256
+ | Simple read wrapper with no additional decision-making | Consider deleting. Controller may call QueryGateway directly |
200
257
 
201
258
  Types between layers:
202
259
  - `application/query/` - Query result types (e.g., `OrderDetail`)
@@ -249,6 +306,18 @@ Aggregate → Event Bus → Projection(@EventHandler) → Repository(Read Model)
249
306
  QueryHandler reads from here
250
307
  ```
251
308
 
309
+ ### Async Callbacks and Concurrency Control
310
+
311
+ Completion notifications for asynchronous work must assume duplicates, delays, and reordering. Protect the workflow with Aggregate state transitions and command idempotency, not Controller-level or single-process locks.
312
+
313
+ | Criteria | Judgment |
314
+ |----------|----------|
315
+ | Controller or application-process lock prevents duplicate callbacks | REJECT. It does not work across multiple instances |
316
+ | Aggregate state decides whether work is processing | OK |
317
+ | Aggregate verifies callback attempt/generation identifiers | OK |
318
+ | Stale or duplicate callbacks are idempotently ignored by state transition | OK |
319
+ | Concurrency control is duplicated across Controller, UseCase, and Aggregate | REJECT |
320
+
252
321
  ## Eventual Consistency
253
322
 
254
323
  When synchronous response is needed after command dispatch, use reactive polling to wait for Projection updates.
@@ -28,6 +28,18 @@ E2E tests observe behavior visible to the user. Checking configuration values, l
28
28
  | Only configuration or internal state is checked, with no user-visible result | REJECT |
29
29
  | Only real external-environment verification exists, with no deterministic test for the main boundary | Warning or REJECT |
30
30
 
31
+ ## Observing Negative Contracts
32
+
33
+ When E2E tests verify permissions, runtime-selected capabilities, backends, options, configuration, rejection, or isolation, a string-level negation across the whole output is weak evidence.
34
+ Extract the relevant line, event, record, field, or call argument, then check each forbidden value so order, case, whitespace, delimiters, or partial leaks cannot be missed.
35
+
36
+ | Criteria | Judgment |
37
+ |----------|----------|
38
+ | Treating rejection, non-inheritance, or isolation as verified only because one exact sentence is absent | REJECT |
39
+ | Checking only the displayed allowed value without proving forbidden values do not reach final processing | REJECT |
40
+ | Extracting observable units and checking forbidden, rejected, or non-inherited values per value | OK |
41
+ | Comparing allowed vs rejected and inherited vs non-inherited cases in the same scenario family | OK |
42
+
31
43
  ## UX Route Identification
32
44
 
33
45
  E2E test completeness depends on thorough UX route identification. Identify entry points from code, not documentation.
@@ -77,6 +89,7 @@ E2E tests are prone to non-deterministic failures.
77
89
  | Process leaks | Set timeouts and force-kill |
78
90
  | Environment dependency | Explicitly set up prerequisites for test execution |
79
91
  | Execution order dependency | Initialize state so each test runs independently |
92
+ | Timeout/cleanup diverges from existing convention | Follow existing same-kind E2E conventions |
80
93
 
81
94
  ```typescript
82
95
  // NG - fixed sleep for timing
@@ -40,9 +40,9 @@ In maintenance work, general design improvements and framework style are not alw
40
40
 
41
41
  | Situation | Judgment |
42
42
  |-----------|----------|
43
- | Component extraction would look cleaner but is unnecessary for this fix | Do not change |
43
+ | Component extraction would look cleaner but is not causally related to the request | Do not change |
44
44
  | Renaming or relocating Props types only to match common style | Do not change |
45
- | The existing structure cannot satisfy the request | Change the minimum necessary scope |
45
+ | The existing structure cannot satisfy the request | Change within the causally related scope |
46
46
  | The existing structure is the cause of the bug | Change it with reason and impact scope documented |
47
47
 
48
48
  ## Meaning of Comments and Tests
@@ -77,6 +77,17 @@ Models resolve through 5-level priority. Higher takes precedence.
77
77
  4. config.yaml (when resolved provider matches)
78
78
  5. Provider default
79
79
 
80
+ ## Auxiliary Entry Contracts
81
+
82
+ In TAKT, workflow runtime is not the only user-visible contract entry. Preview, doctor, workflow summary, validation, and report paths are also contract entries. Auxiliary entries that display or validate config values, providers, models, tools, permissions, or output contracts should use the same normalized input, resolver, and override order as runtime.
83
+
84
+ | Criteria | Judgment |
85
+ |----------|----------|
86
+ | Runtime and preview resolve provider, model, tool, or permission from different inputs | REJECT |
87
+ | Preview only displays a value without verifying the same override conditions as runtime | REJECT |
88
+ | Doctor or validation accepts config that fails at runtime due to different conditions | Warning |
89
+ | Runtime and auxiliary entries share the same normalized input or resolver | OK |
90
+
80
91
  ## Facet Assembly
81
92
 
82
93
  The faceted-prompting module is independent from TAKT core.
@@ -0,0 +1,31 @@
1
+ ```markdown
2
+ # AI-Generated Code Review
3
+
4
+ ## Result: APPROVE / REJECT
5
+
6
+ ## Summary
7
+ {Summarize the result in one sentence}
8
+
9
+ ## Verified Items
10
+ | Aspect | Result | Notes |
11
+ |--------|--------|-------|
12
+ | Validity of assumptions | ✅ | - |
13
+ | API/library existence | ✅ | - |
14
+ | Context fit | ✅ | - |
15
+ | Scope | ✅ | - |
16
+
17
+ Expected `family_tag` values: `hallucination`, `unvalidated-assumption`, `off-by-one`, `api-mismatch`, `missing-edge-case`, `logic-error`, `scope-creep`.
18
+ When structured raw findings are requested, copy this table's `family_tag` value into the structured `familyTag` field.
19
+
20
+ ## Observed Findings
21
+ | # | family_tag | Category | Severity | Location | Issue | Fix Suggestion |
22
+ |---|------------|----------|----------|----------|-------|----------------|
23
+ | 1 | hallucination | Hallucinated API | high / medium / low | `src/file.ts:23` | Non-existent method | Replace with existing API |
24
+
25
+ ## Rejection Gate
26
+ - REJECT is valid only when at least one blocking finding is observed
27
+ ```
28
+
29
+ **Cognitive load reduction rules:**
30
+ - No issues → Summary sentence + checklist + empty finding sections (10 lines or fewer)
31
+ - Issues found → include table rows only for impacted sections (30 lines or fewer)
@@ -0,0 +1,35 @@
1
+ ```markdown
2
+ # Architecture Review
3
+
4
+ ## Result: APPROVE / IMPROVE / REJECT
5
+
6
+ ## Summary
7
+ {Summarize the result in 1-2 sentences}
8
+
9
+ ## Reviewed Aspects
10
+ - [x] Structure & design
11
+ - [x] Code quality
12
+ - [x] Change scope
13
+ - [x] Test coverage
14
+ - [x] Dead code
15
+ - [x] Call chain verification
16
+
17
+ ## Observed Findings
18
+ | # | family_tag | Scope | Severity | Location | Issue | Fix Suggestion |
19
+ |---|------------|-------|----------|----------|-------|----------------|
20
+ | 1 | design-violation | In-scope | high / medium / low | `src/file.ts:42` | Issue description | Fix approach |
21
+
22
+ Scope: "In-scope" (fixable in this change) / "Out-of-scope" (existing issue, non-blocking)
23
+
24
+ ## Verification Evidence
25
+ - Build: {Verified target, what was checked, and observed result; or state that it was unverified}
26
+ - Tests: {Verified target, what was checked, and observed result; or state that it was unverified}
27
+ - Functional check: {Verified target, what was checked, and observed result; or state that it was unverified}
28
+
29
+ ## Rejection Gate
30
+ - REJECT is valid only when at least one in-scope blocking finding is observed
31
+ ```
32
+
33
+ **Cognitive load reduction rules:**
34
+ - APPROVE → Summary only (5 lines or fewer)
35
+ - REJECT → Include only relevant finding rows (30 lines or fewer)
@@ -0,0 +1,25 @@
1
+ ```markdown
2
+ # Coding Review
3
+
4
+ ## Result: APPROVE / REJECT
5
+
6
+ ## Summary
7
+ {Summarize the review result in 1-2 sentences}
8
+
9
+ ## Observed Findings
10
+ | # | family_tag | Severity | Location | Issue | Impact | Fix Suggestion |
11
+ |---|------------|----------|----------|-------|--------|----------------|
12
+ | 1 | bug | High / Medium / Low | `src/file.ts:42` | {Issue} | {Impact} | {Fix suggestion} |
13
+
14
+ ## Verification Evidence
15
+ - Diff review: {What was checked}
16
+ - Build: {Result, or state unverified}
17
+ - Tests: {Result, or state unverified}
18
+
19
+ ## Rejection Gate
20
+ - REJECT only when at least one blocking finding is observed
21
+ ```
22
+
23
+ **Cognitive load reduction rules:**
24
+ - APPROVE: Summary only (5 lines or fewer)
25
+ - REJECT: Include only relevant finding rows (30 lines or fewer)
@@ -6,6 +6,13 @@
6
6
  ## Summary
7
7
  {Summarize the review result in 1-2 sentences}
8
8
 
9
+ ## Contract Entry Check
10
+ Fill this when the diff adds or changes IDs, names, metadata, config, environment variables, or output contracts.
11
+
12
+ | Entry / Path | Original Requirement | Implementation Evidence | Test Evidence | Judgment | Exception / Unverified Evidence |
13
+ |--------------|----------------------|--------------------------|---------------|----------|---------------------------------|
14
+ | {normal entry / derived condition / validation / evaluation / output / re-injection, etc.} | {Requirement} | `src/file.ts:42` | `src/file.test.ts:10` | ✅/❌/⚠️ | {none / evidence} |
15
+
9
16
  ## Current Iteration Findings (new)
10
17
  | # | finding_id | family_tag | Severity | Location | Issue | Impact | Fix Suggestion |
11
18
  |---|------------|------------|----------|----------|-------|--------|----------------|
@@ -17,9 +24,9 @@
17
24
  | 1 | CODE-PERSIST-src-file-L77 | regression | `src/file.ts:77` | `src/file.ts:77` | {Unresolved issue} | {Fix suggestion} |
18
25
 
19
26
  ## Resolved Findings (resolved)
20
- | finding_id | Resolution Evidence |
21
- |------------|---------------------|
22
- | CODE-RESOLVED-src-file-L10 | Resolved at `src/file.ts:10` |
27
+ | finding_id | Original Expected Result | Resolution Evidence |
28
+ |------------|--------------------------|---------------------|
29
+ | CODE-RESOLVED-src-file-L10 | {Original finding acceptance criteria} | Resolved at `src/file.ts:10` |
23
30
 
24
31
  ## Reopened Findings (reopened)
25
32
  | # | finding_id | family_tag | Prior Resolution Evidence | Recurrence Evidence | Issue | Fix Suggestion |
@@ -37,5 +44,5 @@
37
44
  ```
38
45
 
39
46
  **Cognitive load reduction rules:**
40
- - APPROVE: Summary only (5 lines or fewer)
47
+ - APPROVE: Summary plus Contract Entry Check when needed (10 lines or fewer total)
41
48
  - REJECT: Include only relevant finding rows (30 lines or fewer)
@@ -0,0 +1,31 @@
1
+ ```markdown
2
+ # CQRS+ES Review
3
+
4
+ ## Result: APPROVE / REJECT
5
+
6
+ ## Summary
7
+ {Summarize the result in 1-2 sentences}
8
+
9
+ ## Reviewed Aspects
10
+ | Aspect | Result | Notes |
11
+ |--------|--------|-------|
12
+ | Aggregate design | ✅ | - |
13
+ | Event design | ✅ | - |
14
+ | Command/Query separation | ✅ | - |
15
+ | Projections | ✅ | - |
16
+ | Eventual consistency | ✅ | - |
17
+
18
+ ## Observed Findings
19
+ | # | family_tag | Severity | Scope | Location | Issue | Impact | Fix Suggestion |
20
+ |---|------------|----------|-------|----------|-------|--------|----------------|
21
+ | 1 | cqrs-violation | High / Medium / Low | In-scope | `src/file.ts:42` | Issue description | Domain consistency or maintainability impact | Fix approach |
22
+
23
+ Scope: "In-scope" (fixable in this change) / "Out-of-scope" (existing issue, non-blocking)
24
+
25
+ ## Rejection Gate
26
+ - REJECT only when at least one blocking finding is observed
27
+ ```
28
+
29
+ **Cognitive load reduction rules:**
30
+ - APPROVE → Summary only (5 lines or fewer)
31
+ - REJECT → Include only relevant finding rows (30 lines or fewer)
@@ -0,0 +1,45 @@
1
+ ```json
2
+ {
3
+ "matches": [
4
+ {
5
+ "findingId": "F-0001",
6
+ "rawFindingIds": ["raw-1"],
7
+ "evidence": "Why this is the same issue"
8
+ }
9
+ ],
10
+ "newFindings": [
11
+ {
12
+ "rawFindingIds": ["raw-2"],
13
+ "title": "Short title for the new finding",
14
+ "severity": "high"
15
+ }
16
+ ],
17
+ "resolvedFindings": [
18
+ {
19
+ "findingId": "F-0002",
20
+ "rawFindingIds": ["raw-previous-1"],
21
+ "evidence": "Evidence that the finding is resolved"
22
+ }
23
+ ],
24
+ "reopenedFindings": [
25
+ {
26
+ "findingId": "F-0003",
27
+ "rawFindingIds": ["raw-3"],
28
+ "evidence": "Evidence that the finding has reappeared"
29
+ }
30
+ ],
31
+ "conflicts": [
32
+ {
33
+ "findingIds": [],
34
+ "rawFindingIds": ["raw-4", "raw-5"],
35
+ "description": "Reviewer contradiction"
36
+ }
37
+ ],
38
+ "resolvedConflicts": [
39
+ {
40
+ "conflictId": "C-012345ABCDEF",
41
+ "evidence": "Evidence that the conflict is adjudicated"
42
+ }
43
+ ]
44
+ }
45
+ ```
@@ -0,0 +1,30 @@
1
+ ```markdown
2
+ # Frontend Review
3
+
4
+ ## Result: APPROVE / REJECT
5
+
6
+ ## Summary
7
+ {Summarize the result in 1-2 sentences}
8
+
9
+ ## Reviewed Aspects
10
+ | Aspect | Result | Notes |
11
+ |--------|--------|-------|
12
+ | Component design | ✅ | - |
13
+ | State management | ✅ | - |
14
+ | Canonical and derived state | ✅ | - |
15
+ | Performance | ✅ | - |
16
+ | Accessibility | ✅ | - |
17
+ | Type safety | ✅ | - |
18
+
19
+ ## Observed Findings
20
+ | # | family_tag | Severity | Location | Issue | Impact | Fix Suggestion |
21
+ |---|------------|----------|----------|-------|--------|----------------|
22
+ | 1 | component-design | High / Medium / Low | `src/file.tsx:42` | Issue description | User experience or maintainability impact | Fix approach |
23
+
24
+ ## Rejection Gate
25
+ - REJECT only when at least one blocking finding is observed
26
+ ```
27
+
28
+ **Cognitive load reduction rules:**
29
+ - APPROVE → Summary only (5 lines or fewer)
30
+ - REJECT → Include only relevant finding rows (30 lines or fewer)
@@ -0,0 +1,45 @@
1
+ ```markdown
2
+ # Pure Review
3
+
4
+ ## Result: APPROVE / REJECT
5
+
6
+ ## Summary
7
+ {Summarize in 1-2 sentences whether this change is mergeable quality. If REJECT, mention the largest blocker first}
8
+
9
+ ## Pure Review Check
10
+ | # | Area | Status | Evidence (file:line / test / execution evidence) | Comment |
11
+ |---|------|--------|--------------------------------------------------|---------|
12
+ | 1 | Requirement fulfillment | Satisfied / Unmet / Unverified | `src/file.ts:42` | {Notes} |
13
+ | 2 | Existing contract and existing-flow impact | No issue / Issue found / Unverified | `src/file.ts:42` | {Notes} |
14
+ | 3 | Tests and verification | Sufficient / Insufficient / Unverified | `npm test` | {Notes} |
15
+ | 4 | Out-of-scope changes and scope creep | No issue / Issue found / Unverified | `src/file.ts:42` | {Notes} |
16
+ | 5 | Obvious security, data-protection, or operational risk | No issue / Issue found / Unverified | `src/file.ts:42` | {Notes} |
17
+
18
+ ## Requirements Cross-Reference
19
+ | # | Requirement (from task) | Status | Evidence (file:line) | Comment |
20
+ |---|-------------------------|--------|----------------------|---------|
21
+ | 1 | {requirement 1} | Satisfied / Unmet / Unverified | `src/file.ts:42` | {Notes} |
22
+
23
+ ## Out-of-Scope Changes and Existing Impact
24
+ | # | Change | File | Judgment | Comment |
25
+ |---|--------|------|----------|---------|
26
+ | 1 | {out-of-scope change or existing impact} | `src/file.ts` | Justified / Needs review / Unnecessary / Problematic | {Reason} |
27
+
28
+ ## Observed Findings
29
+ | # | family_tag | Category | Severity | Location | Issue | Fix Suggestion |
30
+ |---|------------|----------|----------|----------|-------|----------------|
31
+ | 1 | mergeability | Regression / Requirement gap / Missing tests / Contract break / Scope creep | high / medium / low | `src/file.ts:42` | Issue description | Fix suggestion |
32
+
33
+ ## Verification Evidence
34
+ - Build: {Verified target, what was checked, and observed result; or state that it was unverified}
35
+ - Tests: {Verified target, what was checked, and observed result; or state that it was unverified}
36
+ - Functional check: {Verified target, what was checked, and observed result; or state that it was unverified}
37
+
38
+ ## Rejection Gate
39
+ - REJECT if at least one merge-blocking finding is observed
40
+ - Unverified areas should block merge only when they affect mergeability
41
+ ```
42
+
43
+ **Cognitive load reduction rules:**
44
+ - APPROVE: Summary + Pure Review Check only (10 lines or fewer)
45
+ - REJECT: Prioritize blocker findings (40 lines or fewer)
@@ -16,9 +16,9 @@
16
16
  | 5 | Obvious security, data-protection, or operational risk | No issue / Issue found / Unverified | `src/file.ts:42` | {Notes} |
17
17
 
18
18
  ## Requirements Cross-Reference
19
- | # | Requirement (from task) | Status | Evidence (file:line) | Comment |
20
- |---|-------------------------|--------|----------------------|---------|
21
- | 1 | {requirement 1} | Satisfied / Unmet / Unverified | `src/file.ts:42` | {Notes} |
19
+ | # | Requirement (from task) | Original Requirement Source | Status | Evidence (file:line) | Exception / Unverified Evidence |
20
+ |---|-------------------------|-----------------------------|--------|----------------------|---------------------------------|
21
+ | 1 | {requirement 1} | `order.md:10` | Satisfied / Unmet / Unverified | `src/file.ts:42` | {none / evidence} |
22
22
 
23
23
  ## Out-of-Scope Changes and Existing Impact
24
24
  | # | Change | File | Judgment | Comment |
@@ -36,9 +36,9 @@
36
36
  | 1 | PURE-PERSIST-src-file-L77 | mergeability | `file:line` | `file:line` | Unresolved | Fix suggestion |
37
37
 
38
38
  ## Resolved Findings (resolved)
39
- | finding_id | Resolution Evidence |
40
- |------------|---------------------|
41
- | PURE-RESOLVED-src-file-L10 | `file:line` resolves the issue |
39
+ | finding_id | Original Expected Result | Resolution Evidence |
40
+ |------------|--------------------------|---------------------|
41
+ | PURE-RESOLVED-src-file-L10 | {Original finding acceptance criteria} | `file:line` resolves the issue |
42
42
 
43
43
  ## Reopened Findings (reopened)
44
44
  | # | finding_id | family_tag | Prior Resolution Evidence | Recurrence Evidence | Issue | Fix Suggestion |
@@ -0,0 +1,35 @@
1
+ ```markdown
2
+ # QA Review
3
+
4
+ ## Result: APPROVE / REJECT
5
+
6
+ ## Summary
7
+ {Summarize the result in 1-2 sentences}
8
+
9
+ ## Reviewed Aspects
10
+ | Aspect | Result | Notes |
11
+ |--------|--------|-------|
12
+ | Test coverage | ✅ | - |
13
+ | Test quality | ✅ | - |
14
+ | Error handling | ✅ | - |
15
+ | Documentation | ✅ | - |
16
+ | Maintainability | ✅ | - |
17
+
18
+ ## Observed Findings
19
+ | # | family_tag | Category | Severity | Location | Issue | Fix Suggestion |
20
+ |---|------------|----------|----------|----------|-------|----------------|
21
+ | 1 | test-coverage | Testing | high / medium / low | `src/test.ts:42` | Missing negative test | Add failure-path test |
22
+
23
+ ## Verification Evidence
24
+ - Build: {Verified target, what was checked, and observed result; or state that it was unverified}
25
+ - Tests: {Verified target, what was checked, and observed result; or state that it was unverified}
26
+ - Functional check: {Verified target, what was checked, and observed result; or state that it was unverified}
27
+
28
+ ## Unverified Scope
29
+ | Item | Reason | Impact on Decision |
30
+ |------|--------|--------------------|
31
+ | {Unverified scope, or "none"} | {Reason it was not verified} | {APPROVE allowed / REJECT reason} |
32
+
33
+ ## Rejection Gate
34
+ - REJECT is valid only when at least one blocking finding is observed
35
+ ```
@@ -15,6 +15,13 @@
15
15
  | Documentation | ✅ | - |
16
16
  | Maintainability | ✅ | - |
17
17
 
18
+ ## Contract Entry Check
19
+ Fill this when the diff adds or changes IDs, names, metadata, config, environment variables, or output contracts.
20
+
21
+ | Entry / Path | Original Requirement | Implementation Evidence | Test Evidence | Judgment | Exception / Unverified Evidence |
22
+ |--------------|----------------------|--------------------------|---------------|----------|---------------------------------|
23
+ | {normal entry / derived condition / validation / evaluation / output / re-injection, etc.} | {Requirement} | `src/file.ts:42` | `src/file.test.ts:10` | ✅/❌/⚠️ | {none / evidence} |
24
+
18
25
  ## Current Iteration Findings (new)
19
26
  | # | finding_id | family_tag | Category | Location | Issue | Fix Suggestion |
20
27
  |---|------------|------------|----------|----------|-------|----------------|
@@ -26,9 +33,9 @@
26
33
  | 1 | QA-PERSIST-src-test-L77 | test-coverage | `src/test.ts:77` | `src/test.ts:77` | Still flaky | Stabilize assertion & setup |
27
34
 
28
35
  ## Resolved Findings (resolved)
29
- | finding_id | Resolution Evidence |
30
- |------------|---------------------|
31
- | QA-RESOLVED-src-test-L10 | `src/test.ts:10` now covers error path |
36
+ | finding_id | Original Expected Result | Resolution Evidence |
37
+ |------------|--------------------------|---------------------|
38
+ | QA-RESOLVED-src-test-L10 | {Original finding acceptance criteria} | `src/test.ts:10` now covers error path |
32
39
 
33
40
  ## Reopened Findings (reopened)
34
41
  | # | finding_id | family_tag | Prior Resolution Evidence | Recurrence Evidence | Issue | Fix Suggestion |
@@ -0,0 +1,36 @@
1
+ ```markdown
2
+ # Security Review
3
+
4
+ ## Result: APPROVE / REJECT
5
+
6
+ ## Severity: None / Low / Medium / High / Critical
7
+
8
+ ## Check Results
9
+ | Category | Result | Notes |
10
+ |----------|--------|-------|
11
+ | Injection | ✅ | - |
12
+ | Authentication & Authorization | ✅ | - |
13
+ | Data Protection | ✅ | - |
14
+ | Dependencies | ✅ | - |
15
+
16
+ ## Observed Findings
17
+ | # | family_tag | Severity | Type | Location | Issue | Fix Suggestion |
18
+ |---|------------|----------|------|----------|-------|----------------|
19
+ | 1 | injection-risk | High | SQLi | `src/db.ts:42` | Raw query string | Use parameterized queries |
20
+
21
+ ## Verification Evidence
22
+ - Build: {Verified target, what was checked, and observed result; or state that it was unverified}
23
+ - Tests: {Verified target, what was checked, and observed result; or state that it was unverified}
24
+ - Functional check: {Verified target, what was checked, and observed result; or state that it was unverified}
25
+
26
+ ## Warnings (non-blocking)
27
+ - {Security recommendations}
28
+
29
+ ## Rejection Gate
30
+ - REJECT is valid only when at least one blocking vulnerability is observed
31
+ ```
32
+
33
+ **Cognitive load reduction rules:**
34
+ - No issues → Checklist only (10 lines or fewer)
35
+ - Warnings only → + Warnings in 1-2 lines (15 lines or fewer)
36
+ - Vulnerabilities found → + finding tables (30 lines or fewer)