takt 0.32.0 → 0.32.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/builtins/en/facets/instructions/e2e-coverage-implement.md +26 -0
  2. package/builtins/en/facets/instructions/e2e-coverage-plan.md +38 -0
  3. package/builtins/en/facets/instructions/e2e-coverage-supervise.md +21 -0
  4. package/builtins/en/facets/instructions/fix.md +4 -0
  5. package/builtins/en/facets/instructions/loop-monitor-ai-fix.md +4 -3
  6. package/builtins/en/facets/instructions/loop-monitor-reviewers-fix.md +4 -2
  7. package/builtins/en/facets/instructions/plan.md +2 -0
  8. package/builtins/en/facets/instructions/review-frontend.md +9 -0
  9. package/builtins/en/facets/instructions/security-audit-plan.md +12 -0
  10. package/builtins/en/facets/instructions/security-audit-review.md +22 -0
  11. package/builtins/en/facets/instructions/security-audit-supervise.md +20 -0
  12. package/builtins/en/facets/instructions/security-audit-team-leader.md +27 -0
  13. package/builtins/en/facets/knowledge/e2e-testing.md +89 -0
  14. package/builtins/en/facets/knowledge/frontend.md +46 -0
  15. package/builtins/en/facets/knowledge/react.md +90 -0
  16. package/builtins/en/facets/knowledge/unit-testing.md +108 -0
  17. package/builtins/en/facets/output-contracts/e2e-coverage-plan.md +33 -0
  18. package/builtins/en/facets/output-contracts/plan-frontend.md +41 -0
  19. package/builtins/en/facets/output-contracts/plan.md +8 -0
  20. package/builtins/en/facets/output-contracts/security-audit.md +31 -0
  21. package/builtins/en/facets/personas/coder.md +1 -0
  22. package/builtins/en/facets/personas/frontend-reviewer.md +4 -0
  23. package/builtins/en/facets/policies/ai-antipattern.md +43 -0
  24. package/builtins/en/facets/policies/coding.md +90 -1
  25. package/builtins/en/facets/policies/design-fidelity.md +51 -0
  26. package/builtins/en/facets/policies/design-planning.md +52 -0
  27. package/builtins/en/facets/policies/qa.md +15 -0
  28. package/builtins/en/facets/policies/testing.md +54 -1
  29. package/builtins/en/piece-categories.yaml +3 -2
  30. package/builtins/en/pieces/backend-cqrs.yaml +5 -0
  31. package/builtins/en/pieces/backend.yaml +5 -0
  32. package/builtins/en/pieces/default.yaml +2 -0
  33. package/builtins/en/pieces/dual-cqrs-mini.yaml +8 -1
  34. package/builtins/en/pieces/dual-cqrs.yaml +10 -2
  35. package/builtins/en/pieces/dual-mini.yaml +8 -1
  36. package/builtins/en/pieces/dual.yaml +14 -2
  37. package/builtins/en/pieces/{e2e-test.yaml → fill-e2e.yaml} +41 -61
  38. package/builtins/en/pieces/{unit-test.yaml → fill-unit.yaml} +12 -2
  39. package/builtins/en/pieces/frontend-mini.yaml +8 -1
  40. package/builtins/en/pieces/frontend.yaml +25 -3
  41. package/builtins/en/pieces/review-default.yaml +3 -0
  42. package/builtins/en/pieces/review-dual-cqrs.yaml +3 -1
  43. package/builtins/en/pieces/review-dual.yaml +3 -1
  44. package/builtins/en/pieces/review-fix-default.yaml +3 -0
  45. package/builtins/en/pieces/review-fix-dual-cqrs.yaml +5 -1
  46. package/builtins/en/pieces/review-fix-dual.yaml +5 -1
  47. package/builtins/en/pieces/review-fix-frontend.yaml +5 -1
  48. package/builtins/en/pieces/review-fix-takt-default.yaml +5 -2
  49. package/builtins/en/pieces/review-frontend.yaml +3 -1
  50. package/builtins/en/pieces/review-takt-default.yaml +3 -0
  51. package/builtins/en/pieces/security-audit.yaml +68 -0
  52. package/builtins/en/pieces/takt-default.yaml +7 -2
  53. package/builtins/en/pieces/terraform.yaml +0 -5
  54. package/builtins/ja/INSTRUCTION_STYLE_GUIDE.md +9 -10
  55. package/builtins/ja/KNOWLEDGE_STYLE_GUIDE.md +4 -4
  56. package/builtins/ja/OUTPUT_CONTRACT_STYLE_GUIDE.md +4 -4
  57. package/builtins/ja/PERSONA_STYLE_GUIDE.md +8 -8
  58. package/builtins/ja/POLICY_STYLE_GUIDE.md +5 -5
  59. package/builtins/ja/STYLE_GUIDE.md +8 -26
  60. package/builtins/ja/facets/instructions/e2e-coverage-implement.md +26 -0
  61. package/builtins/ja/facets/instructions/e2e-coverage-plan.md +38 -0
  62. package/builtins/ja/facets/instructions/e2e-coverage-supervise.md +21 -0
  63. package/builtins/ja/facets/instructions/fix.md +4 -0
  64. package/builtins/ja/facets/instructions/loop-monitor-ai-fix.md +4 -3
  65. package/builtins/ja/facets/instructions/loop-monitor-reviewers-fix.md +4 -2
  66. package/builtins/ja/facets/instructions/plan.md +2 -0
  67. package/builtins/ja/facets/instructions/review-frontend.md +9 -0
  68. package/builtins/ja/facets/instructions/security-audit-plan.md +12 -0
  69. package/builtins/ja/facets/instructions/security-audit-review.md +22 -0
  70. package/builtins/ja/facets/instructions/security-audit-supervise.md +20 -0
  71. package/builtins/ja/facets/instructions/security-audit-team-leader.md +27 -0
  72. package/builtins/ja/facets/knowledge/e2e-testing.md +89 -0
  73. package/builtins/ja/facets/knowledge/frontend.md +46 -0
  74. package/builtins/ja/facets/knowledge/react.md +90 -0
  75. package/builtins/ja/facets/knowledge/unit-testing.md +108 -0
  76. package/builtins/ja/facets/output-contracts/e2e-coverage-plan.md +33 -0
  77. package/builtins/ja/facets/output-contracts/plan-frontend.md +41 -0
  78. package/builtins/ja/facets/output-contracts/plan.md +8 -0
  79. package/builtins/ja/facets/output-contracts/security-audit.md +31 -0
  80. package/builtins/ja/facets/personas/coder.md +1 -0
  81. package/builtins/ja/facets/personas/frontend-reviewer.md +2 -0
  82. package/builtins/ja/facets/policies/ai-antipattern.md +43 -0
  83. package/builtins/ja/facets/policies/coding.md +90 -1
  84. package/builtins/ja/facets/policies/design-fidelity.md +51 -0
  85. package/builtins/ja/facets/policies/design-planning.md +52 -0
  86. package/builtins/ja/facets/policies/qa.md +15 -0
  87. package/builtins/ja/facets/policies/testing.md +54 -1
  88. package/builtins/ja/piece-categories.yaml +3 -2
  89. package/builtins/ja/pieces/backend-cqrs.yaml +5 -0
  90. package/builtins/ja/pieces/backend.yaml +5 -0
  91. package/builtins/ja/pieces/default.yaml +2 -0
  92. package/builtins/ja/pieces/dual-cqrs-mini.yaml +8 -1
  93. package/builtins/ja/pieces/dual-cqrs.yaml +10 -2
  94. package/builtins/ja/pieces/dual-mini.yaml +8 -1
  95. package/builtins/ja/pieces/dual.yaml +14 -2
  96. package/builtins/ja/pieces/{e2e-test.yaml → fill-e2e.yaml} +40 -60
  97. package/builtins/ja/pieces/{unit-test.yaml → fill-unit.yaml} +12 -2
  98. package/builtins/ja/pieces/frontend-mini.yaml +8 -1
  99. package/builtins/ja/pieces/frontend.yaml +25 -3
  100. package/builtins/ja/pieces/review-default.yaml +3 -0
  101. package/builtins/ja/pieces/review-dual-cqrs.yaml +3 -1
  102. package/builtins/ja/pieces/review-dual.yaml +3 -1
  103. package/builtins/ja/pieces/review-fix-default.yaml +3 -0
  104. package/builtins/ja/pieces/review-fix-dual-cqrs.yaml +5 -1
  105. package/builtins/ja/pieces/review-fix-dual.yaml +5 -1
  106. package/builtins/ja/pieces/review-fix-frontend.yaml +5 -1
  107. package/builtins/ja/pieces/review-fix-takt-default.yaml +5 -2
  108. package/builtins/ja/pieces/review-frontend.yaml +3 -1
  109. package/builtins/ja/pieces/review-takt-default.yaml +3 -0
  110. package/builtins/ja/pieces/security-audit.yaml +68 -0
  111. package/builtins/ja/pieces/takt-default.yaml +7 -2
  112. package/builtins/ja/pieces/terraform.yaml +0 -5
  113. package/dist/app/cli/routing.js +1 -1
  114. package/dist/app/cli/routing.js.map +1 -1
  115. package/dist/core/models/config-types.d.ts +4 -0
  116. package/dist/core/models/config-types.d.ts.map +1 -1
  117. package/dist/core/models/schemas.d.ts +4 -0
  118. package/dist/core/models/schemas.d.ts.map +1 -1
  119. package/dist/core/models/schemas.js +4 -0
  120. package/dist/core/models/schemas.js.map +1 -1
  121. package/dist/core/piece/engine/MovementExecutor.d.ts +1 -0
  122. package/dist/core/piece/engine/MovementExecutor.d.ts.map +1 -1
  123. package/dist/core/piece/engine/MovementExecutor.js +8 -4
  124. package/dist/core/piece/engine/MovementExecutor.js.map +1 -1
  125. package/dist/core/piece/engine/OptionsBuilder.d.ts.map +1 -1
  126. package/dist/core/piece/engine/OptionsBuilder.js +4 -1
  127. package/dist/core/piece/engine/OptionsBuilder.js.map +1 -1
  128. package/dist/features/config/deploySkillInternal.d.ts.map +1 -1
  129. package/dist/features/config/deploySkillInternal.js +2 -6
  130. package/dist/features/config/deploySkillInternal.js.map +1 -1
  131. package/dist/features/interactive/conversationLoop.d.ts.map +1 -1
  132. package/dist/features/interactive/conversationLoop.js +4 -15
  133. package/dist/features/interactive/conversationLoop.js.map +1 -1
  134. package/dist/features/pipeline/steps.d.ts.map +1 -1
  135. package/dist/features/pipeline/steps.js +5 -1
  136. package/dist/features/pipeline/steps.js.map +1 -1
  137. package/dist/features/tasks/execute/resolveTask.d.ts.map +1 -1
  138. package/dist/features/tasks/execute/resolveTask.js +11 -3
  139. package/dist/features/tasks/execute/resolveTask.js.map +1 -1
  140. package/dist/infra/config/global/globalConfigCore.d.ts.map +1 -1
  141. package/dist/infra/config/global/globalConfigCore.js +11 -8
  142. package/dist/infra/config/global/globalConfigCore.js.map +1 -1
  143. package/dist/infra/config/global/globalConfigSerializer.d.ts.map +1 -1
  144. package/dist/infra/config/global/globalConfigSerializer.js +6 -0
  145. package/dist/infra/config/global/globalConfigSerializer.js.map +1 -1
  146. package/dist/infra/config/pathExpansion.d.ts +3 -0
  147. package/dist/infra/config/pathExpansion.d.ts.map +1 -0
  148. package/dist/infra/config/pathExpansion.js +15 -0
  149. package/dist/infra/config/pathExpansion.js.map +1 -0
  150. package/dist/infra/config/project/projectConfig.d.ts.map +1 -1
  151. package/dist/infra/config/project/projectConfig.js +15 -2
  152. package/dist/infra/config/project/projectConfig.js.map +1 -1
  153. package/dist/infra/config/resolveConfigValue.d.ts.map +1 -1
  154. package/dist/infra/config/resolveConfigValue.js +4 -1
  155. package/dist/infra/config/resolveConfigValue.js.map +1 -1
  156. package/dist/infra/cursor/client.js +1 -1
  157. package/dist/infra/cursor/client.js.map +1 -1
  158. package/dist/infra/github/pr.d.ts.map +1 -1
  159. package/dist/infra/github/pr.js +36 -8
  160. package/dist/infra/github/pr.js.map +1 -1
  161. package/dist/infra/resources/index.d.ts +5 -6
  162. package/dist/infra/resources/index.d.ts.map +1 -1
  163. package/dist/infra/resources/index.js +5 -6
  164. package/dist/infra/resources/index.js.map +1 -1
  165. package/dist/infra/task/autoCommit.d.ts.map +1 -1
  166. package/dist/infra/task/autoCommit.js +5 -1
  167. package/dist/infra/task/autoCommit.js.map +1 -1
  168. package/dist/infra/task/clone.d.ts +2 -1
  169. package/dist/infra/task/clone.d.ts.map +1 -1
  170. package/dist/infra/task/clone.js +5 -2
  171. package/dist/infra/task/clone.js.map +1 -1
  172. package/dist/infra/task/git.d.ts +5 -1
  173. package/dist/infra/task/git.d.ts.map +1 -1
  174. package/dist/infra/task/git.js +51 -3
  175. package/dist/infra/task/git.js.map +1 -1
  176. package/dist/infra/task/index.d.ts +1 -1
  177. package/dist/infra/task/index.d.ts.map +1 -1
  178. package/dist/infra/task/index.js +1 -1
  179. package/dist/infra/task/index.js.map +1 -1
  180. package/dist/shared/utils/index.d.ts +1 -0
  181. package/dist/shared/utils/index.d.ts.map +1 -1
  182. package/dist/shared/utils/index.js +1 -0
  183. package/dist/shared/utils/index.js.map +1 -1
  184. package/dist/shared/utils/pathBoundary.d.ts +2 -0
  185. package/dist/shared/utils/pathBoundary.d.ts.map +1 -0
  186. package/dist/shared/utils/pathBoundary.js +10 -0
  187. package/dist/shared/utils/pathBoundary.js.map +1 -0
  188. package/package.json +2 -2
  189. package/builtins/en/facets/instructions/implement-e2e-test.md +0 -51
  190. package/builtins/en/facets/instructions/plan-e2e-test.md +0 -11
  191. package/builtins/en/templates/instructions/ai-fix.md +0 -74
  192. package/builtins/en/templates/instructions/ai-review-standalone.md +0 -47
  193. package/builtins/en/templates/instructions/arbitrate.md +0 -45
  194. package/builtins/en/templates/instructions/architect.md +0 -48
  195. package/builtins/en/templates/instructions/fix.md +0 -86
  196. package/builtins/en/templates/instructions/implement.md +0 -102
  197. package/builtins/en/templates/instructions/plan.md +0 -55
  198. package/builtins/en/templates/instructions/review.md +0 -101
  199. package/builtins/en/templates/instructions/supervise.md +0 -106
  200. package/builtins/en/templates/personas/character.md +0 -45
  201. package/builtins/en/templates/personas/expert.md +0 -68
  202. package/builtins/en/templates/personas/simple.md +0 -22
  203. package/builtins/en/templates/policies/policy.md +0 -49
  204. package/builtins/en/templates/reports/architecture-design.md +0 -31
  205. package/builtins/en/templates/reports/plan.md +0 -70
  206. package/builtins/en/templates/reports/review.md +0 -143
  207. package/builtins/en/templates/reports/security-review.md +0 -43
  208. package/builtins/en/templates/reports/summary.md +0 -52
  209. package/builtins/en/templates/reports/validation.md +0 -31
  210. package/builtins/ja/facets/instructions/implement-e2e-test.md +0 -51
  211. package/builtins/ja/facets/instructions/plan-e2e-test.md +0 -11
  212. package/builtins/ja/templates/instructions/ai-fix.md +0 -74
  213. package/builtins/ja/templates/instructions/ai-review-standalone.md +0 -47
  214. package/builtins/ja/templates/instructions/arbitrate.md +0 -45
  215. package/builtins/ja/templates/instructions/architect.md +0 -48
  216. package/builtins/ja/templates/instructions/fix.md +0 -86
  217. package/builtins/ja/templates/instructions/implement.md +0 -102
  218. package/builtins/ja/templates/instructions/plan.md +0 -55
  219. package/builtins/ja/templates/instructions/review.md +0 -101
  220. package/builtins/ja/templates/instructions/supervise.md +0 -106
  221. package/builtins/ja/templates/knowledge/knowledge.md +0 -39
  222. package/builtins/ja/templates/output-contracts/architecture-design.md +0 -31
  223. package/builtins/ja/templates/output-contracts/plan.md +0 -70
  224. package/builtins/ja/templates/output-contracts/review.md +0 -143
  225. package/builtins/ja/templates/output-contracts/security-review.md +0 -43
  226. package/builtins/ja/templates/output-contracts/summary.md +0 -52
  227. package/builtins/ja/templates/output-contracts/validation.md +0 -31
  228. package/builtins/ja/templates/personas/character.md +0 -43
  229. package/builtins/ja/templates/personas/expert.md +0 -21
  230. package/builtins/ja/templates/personas/simple.md +0 -22
  231. package/builtins/ja/templates/policies/policy.md +0 -49
@@ -1,68 +0,0 @@
1
- # {Agent Name}
2
-
3
- You are an expert in {domain}. {One sentence describing the role}.
4
-
5
- ## Role Boundaries
6
-
7
- **Do:**
8
- - {Primary responsibility 1}
9
- - {Primary responsibility 2}
10
- - {Primary responsibility 3}
11
-
12
- **Don't:**
13
- - {Out-of-scope responsibility 1} ({responsible agent name} handles this)
14
- - {Out-of-scope responsibility 2} ({responsible agent name} handles this)
15
- - Write code yourself
16
-
17
- ## Behavioral Principles
18
-
19
- - {Agent-specific behavioral guideline 1}
20
- - {Agent-specific behavioral guideline 2}
21
- - {Agent-specific behavioral guideline 3}
22
-
23
- ## Domain Knowledge
24
-
25
- ### {Aspect 1}
26
-
27
- {Overview. 1-2 sentences}
28
-
29
- | Criterion | Judgment |
30
- |-----------|----------|
31
- | {Condition A} | REJECT |
32
- | {Condition B} | Warning |
33
- | {Condition C} | OK |
34
-
35
- ### {Aspect 2}
36
-
37
- {Overview. 1-2 sentences}
38
-
39
- ```typescript
40
- // REJECT - {Problem description}
41
- {bad example code}
42
-
43
- // OK - {Why this is correct}
44
- {good example code}
45
- ```
46
-
47
- ### {Aspect 3: Detection Methods}
48
-
49
- {What to detect and how}
50
-
51
- | Pattern | Problem | Detection Method |
52
- |---------|---------|-----------------|
53
- | {Pattern A} | {Problem} | {Check with grep...} |
54
- | {Pattern B} | {Problem} | {Trace callers} |
55
-
56
- Verification approach:
57
- 1. {Verification step 1}
58
- 2. {Verification step 2}
59
- 3. {Verification step 3}
60
-
61
- ### Anti-pattern Detection
62
-
63
- REJECT if any of the following are found:
64
-
65
- | Anti-pattern | Problem |
66
- |-------------|---------|
67
- | {Pattern A} | {Why it's a problem} |
68
- | {Pattern B} | {Why it's a problem} |
@@ -1,22 +0,0 @@
1
- # {Agent Name}
2
-
3
- You are an expert in {domain}. {One sentence describing the role}.
4
-
5
- ## Role Boundaries
6
-
7
- **Do:**
8
- - {Primary responsibility 1}
9
- - {Primary responsibility 2}
10
- - {Primary responsibility 3}
11
-
12
- **Don't:**
13
- - {Out-of-scope responsibility 1} ({responsible agent name}'s job)
14
- - {Out-of-scope responsibility 2} (delegate to {responsible agent name})
15
- - {Out-of-scope responsibility 3}
16
-
17
- ## Behavioral Principles
18
-
19
- - {Agent-specific behavioral guideline 1}
20
- - {Agent-specific behavioral guideline 2}
21
- - {Agent-specific behavioral guideline 3}
22
- - {Agent-specific behavioral guideline 4}
@@ -1,49 +0,0 @@
1
- # {Policy Name}
2
-
3
- {One-sentence purpose description.}
4
-
5
- ## Principles
6
-
7
- | Principle | Criterion |
8
- |-----------|-----------|
9
- | {Principle 1} | {One-line judgment criterion} |
10
- | {Principle 2} | {One-line judgment criterion} |
11
- | {Principle 3} | {One-line judgment criterion} |
12
- | {Principle 4} | {One-line judgment criterion} |
13
- | {Principle 5} | {One-line judgment criterion} |
14
-
15
- ## {Rule Category 1}
16
-
17
- {Category overview. 1-2 sentences}
18
-
19
- ### {Prohibited/Recommended Patterns}
20
-
21
- | Pattern | Example | Problem |
22
- |---------|---------|---------|
23
- | {Pattern A} | `{code example}` | {Why it's a problem} |
24
- | {Pattern B} | `{code example}` | {Why it's a problem} |
25
-
26
- ### {Correct Implementation}
27
-
28
- ```typescript
29
- // NG
30
- {bad example}
31
-
32
- // OK
33
- {good example}
34
- ```
35
-
36
- ### {Acceptable Cases}
37
-
38
- - {Exception 1}
39
- - {Exception 2}
40
-
41
- ## {Rule Category 2}
42
-
43
- {Free form: Combine tables, code examples, and bullet points}
44
-
45
- ## Prohibited
46
-
47
- - **{Prohibition 1}** - {Reason}
48
- - **{Prohibition 2}** - {Reason}
49
- - **{Prohibition 3}** - {Reason}
@@ -1,31 +0,0 @@
1
- # architecture-design -- Architecture Design Report Template
2
-
3
- > **Purpose**: Output report for the architect movement
4
- > **Report setting**: `name: architecture.md`
5
-
6
- ---
7
-
8
- ## Template
9
-
10
- ```markdown
11
- # Architecture Design
12
-
13
- ## Task Size
14
- Small / Medium / Large
15
-
16
- ## Design Decisions
17
-
18
- ### File Structure
19
- | File | Role |
20
- |------|------|
21
- | `src/example.ts` | Description |
22
-
23
- ### Technology Selection
24
- - {Selected technology/library and rationale}
25
-
26
- ### Design Patterns
27
- - {Pattern adopted and where it applies}
28
-
29
- ## Implementation Guidelines
30
- - {Guidelines for the Coder to follow during implementation}
31
- ```
@@ -1,70 +0,0 @@
1
- # plan -- Task Plan Report Template
2
-
3
- > **Purpose**: Output report for the plan movement
4
- > **Report setting**: `name: plan.md`
5
-
6
- ---
7
-
8
- ## Template (Standard)
9
-
10
- ```markdown
11
- # Task Plan
12
-
13
- ## Original Request
14
- {User's request as-is}
15
-
16
- ## Analysis
17
-
18
- ### Objective
19
- {What needs to be achieved}
20
-
21
- ### Scope
22
- {Impact area}
23
-
24
- ### Implementation Approach
25
- {How to proceed}
26
-
27
- ## Open Questions (if any)
28
- - {Unclear points or items requiring confirmation}
29
- ```
30
-
31
- ---
32
-
33
- ## Template (Extended -- when using architect-planner)
34
-
35
- For including design decisions in the plan.
36
-
37
- ```markdown
38
- # Task Plan
39
-
40
- ## Original Request
41
- {User's request as-is}
42
-
43
- ## Analysis
44
-
45
- ### Objective
46
- {What needs to be achieved}
47
-
48
- ### Scope
49
-
50
- **Files to change:**
51
- | File | Changes |
52
- |------|---------|
53
-
54
- **Test impact:**
55
- | File | Impact |
56
- |------|--------|
57
-
58
- ### Design Decisions (if needed)
59
- - File structure: {New file placement, rationale}
60
- - Design pattern: {Pattern adopted and rationale}
61
-
62
- ### Implementation Approach
63
- {How to proceed}
64
- ```
65
-
66
- ---
67
-
68
- ## Cognitive Load Reduction Rules
69
-
70
- Plan reports have no reduction rules (always output all sections).
@@ -1,143 +0,0 @@
1
- # review -- General Review Report Template
2
-
3
- > **Purpose**: Output report for review movements (base form for all review types)
4
- > **Variations**: Architecture / AI / QA / Frontend
5
-
6
- ---
7
-
8
- ## Template (Basic form)
9
-
10
- ```markdown
11
- # {Review Name}
12
-
13
- ## Result: APPROVE / REJECT
14
-
15
- ## Summary
16
- {1-2 sentence result summary}
17
-
18
- ## {Aspect List}
19
- {Customize: Checklist or table format}
20
-
21
- ## Issues (if REJECT)
22
- | # | {Category column} | Location | Issue | Fix Suggestion |
23
- |---|-------------------|----------|-------|----------------|
24
- | 1 | {Category} | `src/file.ts:42` | Issue description | How to fix |
25
- ```
26
-
27
- ---
28
-
29
- ## Variations
30
-
31
- ### A. Architecture Review
32
-
33
- ```markdown
34
- # Architecture Review
35
-
36
- ## Result: APPROVE / REJECT
37
-
38
- ## Summary
39
- {1-2 sentence result summary}
40
-
41
- ## Aspects Checked
42
- - [x] Structure & design
43
- - [x] Code quality
44
- - [x] Change scope
45
- - [x] Test coverage
46
- - [x] Dead code
47
- - [x] Call chain verification
48
-
49
- ## Issues (if REJECT)
50
- | # | Scope | Location | Issue | Fix Suggestion |
51
- |---|-------|----------|-------|----------------|
52
- | 1 | In scope | `src/file.ts:42` | Issue description | How to fix |
53
-
54
- Scope: "In scope" (fixable in this change) / "Out of scope" (pre-existing, non-blocking)
55
-
56
- ## Pre-existing Issues (reference, non-blocking)
57
- - {Pre-existing issues unrelated to the current change}
58
- ```
59
-
60
- ### B. AI-Generated Code Review
61
-
62
- ```markdown
63
- # AI-Generated Code Review
64
-
65
- ## Result: APPROVE / REJECT
66
-
67
- ## Summary
68
- {One sentence result summary}
69
-
70
- ## Items Verified
71
- | Aspect | Result | Notes |
72
- |--------|--------|-------|
73
- | Assumption validity | Pass | - |
74
- | API/library existence | Pass | - |
75
- | Context compatibility | Pass | - |
76
- | Scope | Pass | - |
77
-
78
- ## Issues (if REJECT)
79
- | # | Category | Location | Issue |
80
- |---|----------|----------|-------|
81
- | 1 | Hallucinated API | `src/file.ts:23` | Non-existent method |
82
- ```
83
-
84
- ### C. QA Review
85
-
86
- ```markdown
87
- # QA Review
88
-
89
- ## Result: APPROVE / REJECT
90
-
91
- ## Summary
92
- {1-2 sentence result summary}
93
-
94
- ## Aspects Checked
95
- | Aspect | Result | Notes |
96
- |--------|--------|-------|
97
- | Test coverage | Pass | - |
98
- | Test quality | Pass | - |
99
- | Error handling | Pass | - |
100
- | Documentation | Pass | - |
101
- | Maintainability | Pass | - |
102
-
103
- ## Issues (if REJECT)
104
- | # | Category | Issue | Fix Suggestion |
105
- |---|----------|-------|----------------|
106
- | 1 | Testing | Issue description | How to fix |
107
- ```
108
-
109
- ### D. Frontend Review
110
-
111
- ```markdown
112
- # Frontend Review
113
-
114
- ## Result: APPROVE / REJECT
115
-
116
- ## Summary
117
- {1-2 sentence result summary}
118
-
119
- ## Aspects Checked
120
- | Aspect | Result | Notes |
121
- |--------|--------|-------|
122
- | Component design | Pass | - |
123
- | State management | Pass | - |
124
- | Performance | Pass | - |
125
- | Accessibility | Pass | - |
126
- | Type safety | Pass | - |
127
-
128
- ## Issues (if REJECT)
129
- | # | Location | Issue | Fix Suggestion |
130
- |---|----------|-------|----------------|
131
- | 1 | `src/file.tsx:42` | Issue description | How to fix |
132
- ```
133
-
134
- ---
135
-
136
- ## Cognitive Load Reduction Rules (shared across all variations)
137
-
138
- ```
139
- **Cognitive load reduction rules:**
140
- - APPROVE + no issues -> Summary only (5 lines or fewer)
141
- - APPROVE + minor suggestions -> Summary + suggestions (15 lines or fewer)
142
- - REJECT -> Issues in table format (30 lines or fewer)
143
- ```
@@ -1,43 +0,0 @@
1
- # security-review -- Security Review Report Template
2
-
3
- > **Purpose**: Output report for the security review movement
4
- > **Difference from general review template**: Severity field + warnings section
5
-
6
- ---
7
-
8
- ## Template
9
-
10
- ```markdown
11
- # Security Review
12
-
13
- ## Result: APPROVE / REJECT
14
-
15
- ## Severity: None / Low / Medium / High / Critical
16
-
17
- ## Check Results
18
- | Category | Result | Notes |
19
- |----------|--------|-------|
20
- | Injection | Pass | - |
21
- | Authentication/Authorization | Pass | - |
22
- | Data Protection | Pass | - |
23
- | Dependencies | Pass | - |
24
-
25
- ## Vulnerabilities (if REJECT)
26
- | # | Severity | Type | Location | Fix Suggestion |
27
- |---|----------|------|----------|----------------|
28
- | 1 | High | SQLi | `src/db.ts:42` | Use parameterized queries |
29
-
30
- ## Warnings (non-blocking)
31
- - {Security recommendations}
32
- ```
33
-
34
- ---
35
-
36
- ## Cognitive Load Reduction Rules
37
-
38
- ```
39
- **Cognitive load reduction rules:**
40
- - No issues -> Check table only (10 lines or fewer)
41
- - Warnings only -> + 1-2 line warnings (15 lines or fewer)
42
- - Vulnerabilities found -> + table format (30 lines or fewer)
43
- ```
@@ -1,52 +0,0 @@
1
- # summary -- Task Completion Summary Report Template
2
-
3
- > **Purpose**: Summary report for the supervise movement (output only on APPROVE)
4
- > **Report setting**: `Summary: summary.md`
5
-
6
- ---
7
-
8
- ## Template
9
-
10
- ```markdown
11
- # Task Completion Summary
12
-
13
- ## Task
14
- {Original request in 1-2 sentences}
15
-
16
- ## Result
17
- Complete
18
-
19
- ## Changes
20
- | Type | File | Description |
21
- |------|------|-------------|
22
- | Create | `src/file.ts` | Description |
23
-
24
- ## Review Results
25
- | Review | Result |
26
- |--------|--------|
27
- {Customize: Adjust list based on the piece's review structure}
28
- | AI Review | APPROVE |
29
- | Architecture | APPROVE |
30
- | QA | APPROVE |
31
- | Supervisor | APPROVE |
32
-
33
- ## Verification Commands
34
- ```bash
35
- npm test
36
- npm run build
37
- ```
38
- ```
39
-
40
- ---
41
-
42
- ## Customization Points
43
-
44
- **Only the review results table** is changed per piece.
45
- All other sections are the same across pieces.
46
-
47
- | Piece | Reviews |
48
- |-------|---------|
49
- | minimal | AI Review, Supervisor |
50
- | coding | AI Review, Architecture |
51
- | default | Architecture Design, AI Review, Architect Review, QA, Supervisor |
52
- | dual | AI Review, Architecture, Frontend, Security, QA, Supervisor |
@@ -1,31 +0,0 @@
1
- # validation -- Final Verification Report Template
2
-
3
- > **Purpose**: Validation report for the supervise movement
4
- > **Report setting**: `Validation: supervisor-validation.md`
5
-
6
- ---
7
-
8
- ## Template
9
-
10
- ```markdown
11
- # Final Verification Results
12
-
13
- ## Result: APPROVE / REJECT
14
-
15
- ## Verification Summary
16
- | Item | Status | Verification Method |
17
- |------|--------|-------------------|
18
- | Requirements met | Pass | Compared against requirements list |
19
- | Tests | Pass | `npm test` (N passed) |
20
- | Build | Pass | `npm run build` succeeded |
21
- | Functional check | Pass | Main flow verified |
22
-
23
- ## Artifacts
24
- - Created: {created files}
25
- - Modified: {modified files}
26
-
27
- ## Incomplete Items (if REJECT)
28
- | # | Item | Reason |
29
- |---|------|--------|
30
- | 1 | {item} | {reason} |
31
- ```
@@ -1,51 +0,0 @@
1
- テスト計画に従ってE2Eテストを実装してください。
2
- Piece Contextに示されたReport Directory内のファイルのみ参照してください。他のレポートディレクトリは検索/参照しないでください。
3
-
4
- **やること:**
5
- 1. テスト計画のレポートを確認する
6
- 2. `e2e/specs/` など既存E2E配置に従ってテストを実装・更新する
7
- 3. E2Eテストを実行する(最低: `npm run test:e2e:mock`、必要に応じて対象specの単体実行)
8
- 4. 失敗時は原因を特定し、テストまたは対象コードを修正して再実行する
9
- 5. 既存の関連テストが壊れていないことを確認する
10
-
11
- **実装の制約:**
12
- - 既存のE2Eフレームワーク(Vitest)を変更しない
13
- - テストは1シナリオ1関心で記述し、期待結果を明確にする
14
- - 外部依存があるケースは既存のfixture/helper/mock方針に合わせる
15
-
16
- **Scope出力契約(実装開始時に作成):**
17
- ```markdown
18
- # 変更スコープ宣言
19
-
20
- ## タスク
21
- {タスクの1行要約}
22
-
23
- ## 変更予定
24
- | 種別 | ファイル |
25
- |------|---------|
26
- | 作成 | `e2e/specs/example.e2e.ts` |
27
-
28
- ## 推定規模
29
- Small / Medium / Large
30
-
31
- ## 影響範囲
32
- - {影響するモジュールや機能}
33
- ```
34
-
35
- **Decisions出力契約(実装完了時、決定がある場合のみ):**
36
- ```markdown
37
- # 決定ログ
38
-
39
- ## 1. {決定内容}
40
- - **背景**: {なぜ決定が必要だったか}
41
- - **検討した選択肢**: {選択肢リスト}
42
- - **理由**: {選んだ理由}
43
- ```
44
-
45
- **必須出力(見出しを含める)**
46
- ## 作業結果
47
- - {実施内容の要約}
48
- ## 変更内容
49
- - {変更内容の要約}
50
- ## テスト結果
51
- - {実行コマンドと結果}
@@ -1,11 +0,0 @@
1
- 対象コードを分析し、不足しているE2Eテストを洗い出してください。
2
-
3
- **注意:** Previous Responseがある場合は差し戻しのため、
4
- その内容を踏まえてテスト計画を見直してください。
5
-
6
- **やること:**
7
- 1. 対象機能の仕様・実装・既存E2Eテスト(`e2e/specs/**/*.e2e.ts`)を読み、振る舞いを理解する
8
- 2. 既存E2Eテストのカバー範囲(正常系・異常系・回帰観点)を整理する
9
- 3. 不足しているE2Eケースを洗い出す(シナリオ、期待結果、失敗時の観測点)
10
- 4. 実行コマンドを明記する(`npm run test:e2e:mock` / 必要時 `npx vitest run e2e/specs/<target>.e2e.ts`)
11
- 5. 実装者向けに、失敗解析→修正→再実行の手順を具体化する
@@ -1,74 +0,0 @@
1
- # ai-fix — AI指摘修正 instruction テンプレート
2
-
3
- > **用途**: AI Review で指摘された問題の修正
4
- > **使用エージェント**: coder
5
- > **特徴**: 「修正済み認識」バグへの対策が組み込まれている
6
-
7
- ---
8
-
9
- ## テンプレート
10
-
11
- ```
12
- **これは {movement_iteration} 回目の AI Review です。**
13
-
14
- 2回目以降は、前回の修正が実際には行われていなかったということです。
15
- **あなたの「修正済み」という認識が間違っています。**
16
-
17
- **まず認めること:**
18
- - 「修正済み」と思っていたファイルは実際には修正されていない
19
- - 前回の作業内容の認識が間違っている
20
- - ゼロベースで考え直す必要がある
21
-
22
- **必須アクション:**
23
- 1. 指摘された全ファイルを Read tool で開く(思い込みを捨てて事実確認)
24
- 2. 問題箇所を grep で検索して実在を確認する
25
- 3. 確認した問題を Edit tool で修正する
26
- 4. テストを実行して検証する
27
- 5. 「何を確認して、何を修正したか」を具体的に報告する
28
-
29
- **報告フォーマット:**
30
- - NG: 「既に修正されています」
31
- - OK: 「ファイルXのL123を確認した結果、問題Yが存在したため、Zに修正しました」
32
-
33
- **絶対に禁止:**
34
- - ファイルを開かずに「修正済み」と報告
35
- - 思い込みで判断
36
- - AI Reviewer が REJECT した問題の放置
37
-
38
- **修正不要の扱い(必須)**
39
- - AI Reviewの指摘ごとに「対象ファイルの確認結果」を示せない場合は修正不要と判断しない
40
- - 指摘が「生成物」「仕様同期」に関係する場合は、生成元/仕様の確認ができなければ「判断できない」に対応するタグを出力する
41
- - 修正不要の場合は「判断できない」に対応するタグを出力し、理由と確認範囲を明記する
42
-
43
- **必須出力(見出しを含める)**
44
- ## 確認したファイル
45
- - {ファイルパス:行番号}
46
- ## 実行した検索
47
- - {コマンドと要約}
48
- ## 修正内容
49
- - {変更内容}
50
- ## テスト結果
51
- - {実行コマンドと結果}
52
- ```
53
-
54
- ---
55
-
56
- ## 典型的な rules
57
-
58
- ```yaml
59
- rules:
60
- - condition: AI問題の修正完了
61
- next: ai_review
62
- - condition: 修正不要(指摘対象ファイル/仕様の確認済み)
63
- next: ai_no_fix
64
- - condition: 判断できない、情報不足
65
- next: ai_no_fix
66
- ```
67
-
68
- ---
69
-
70
- ## 注意
71
-
72
- このテンプレートは全ピースで**そのまま使用する**。カスタマイズ箇所はない。
73
- AI が「修正済み」と誤認するバグはモデル共通の問題であり、
74
- 対策テキストの変更・省略は品質低下に直結する。
@@ -1,47 +0,0 @@
1
- # ai-review-standalone — AIレビュー(standalone)instruction テンプレート
2
-
3
- > **用途**: AI生成コードの専門レビュー(独立ムーブメントとして実行、iteration tracking 付き)
4
- > **使用エージェント**: ai-antipattern-reviewer
5
- > **parallel sub-step 用は `review.md` のバリエーションBを使用**
6
-
7
- ---
8
-
9
- ## テンプレート
10
-
11
- ```
12
- **これは {movement_iteration} 回目のAI Reviewです。**
13
-
14
- 初回は網羅的にレビューし、指摘すべき問題をすべて出し切ってください。
15
- 2回目以降は、前回REJECTした項目が修正されたかの確認を優先してください。
16
-
17
- AI特有の問題についてコードをレビューしてください:
18
- - 仮定の検証
19
- - もっともらしいが間違っているパターン
20
- - 既存コードベースとの適合性
21
- - スコープクリープの検出
22
- ```
23
-
24
- ---
25
-
26
- ## parallel sub-step との違い
27
-
28
- | | standalone | parallel sub-step |
29
- |--|-----------|-------------------|
30
- | iteration tracking | あり(`{movement_iteration}`) | なし |
31
- | 初回/2回目の指示分岐 | あり | なし |
32
- | 次のムーブメント | ai_fix or reviewers | 親ムーブメントが決定 |
33
-
34
- standalone は ai_review → ai_fix のループを形成するピース向け。
35
- parallel sub-step は review.md のバリエーションBを使う。
36
-
37
- ---
38
-
39
- ## 典型的な rules
40
-
41
- ```yaml
42
- rules:
43
- - condition: AI特有の問題なし
44
- next: reviewers
45
- - condition: AI特有の問題あり
46
- next: ai_fix
47
- ```