create-ax-project 1.0.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 (258) hide show
  1. package/README.md +374 -0
  2. package/bin/create.js +193 -0
  3. package/package.json +38 -0
  4. package/template/.claude/CLAUDE.md +7 -0
  5. package/template/.claude/commands/CLAUDE.md +0 -0
  6. package/template/.claude/commands/benchmark.md +103 -0
  7. package/template/.claude/commands/brainstorm.md +67 -0
  8. package/template/.claude/commands/checkpoint.md +93 -0
  9. package/template/.claude/commands/codex.md +107 -0
  10. package/template/.claude/commands/collaborate.md +85 -0
  11. package/template/.claude/commands/context.md +154 -0
  12. package/template/.claude/commands/deploy.md +102 -0
  13. package/template/.claude/commands/fork.md +142 -0
  14. package/template/.claude/commands/gemini.md +84 -0
  15. package/template/.claude/commands/handoff.md +80 -0
  16. package/template/.claude/commands/implement.md +82 -0
  17. package/template/.claude/commands/init-project.md +49 -0
  18. package/template/.claude/commands/next.md +125 -0
  19. package/template/.claude/commands/planning.md +69 -0
  20. package/template/.claude/commands/qa.md +81 -0
  21. package/template/.claude/commands/refactor.md +95 -0
  22. package/template/.claude/commands/research.md +60 -0
  23. package/template/.claude/commands/restore.md +113 -0
  24. package/template/.claude/commands/run-stage.md +78 -0
  25. package/template/.claude/commands/stages.md +109 -0
  26. package/template/.claude/commands/status.md +73 -0
  27. package/template/.claude/commands/tasks.md +80 -0
  28. package/template/.claude/commands/test.md +93 -0
  29. package/template/.claude/commands/ui-ux.md +61 -0
  30. package/template/.claude/commands/validate.md +174 -0
  31. package/template/.claude/hooks/CLAUDE.md +0 -0
  32. package/template/.claude/hooks/ai-selector.sh +223 -0
  33. package/template/.claude/hooks/auto-checkpoint.sh +187 -0
  34. package/template/.claude/hooks/output-validator.sh +289 -0
  35. package/template/.claude/hooks/post-stage.sh +123 -0
  36. package/template/.claude/hooks/pre-stage.sh +186 -0
  37. package/template/.claude/hooks/session-start.sh +90 -0
  38. package/template/.claude/hooks/statusline.sh +115 -0
  39. package/template/.claude/hooks/stop.sh +104 -0
  40. package/template/.claude/settings.json +149 -0
  41. package/template/.claude/skills/ai-collaboration/CLAUDE.md +0 -0
  42. package/template/.claude/skills/ai-collaboration/README.md +61 -0
  43. package/template/.claude/skills/ai-collaboration/debate.md +148 -0
  44. package/template/.claude/skills/ai-collaboration/parallel.md +96 -0
  45. package/template/.claude/skills/ai-collaboration/prompts/CLAUDE.md +107 -0
  46. package/template/.claude/skills/auto-checkpoint/CLAUDE.md +0 -0
  47. package/template/.claude/skills/auto-checkpoint/README.md +77 -0
  48. package/template/.claude/skills/auto-checkpoint/prompts/CLAUDE.md +113 -0
  49. package/template/.claude/skills/auto-checkpoint/rollback.md +152 -0
  50. package/template/.claude/skills/auto-checkpoint/trigger.md +122 -0
  51. package/template/.claude/skills/context-compression/CLAUDE.md +0 -0
  52. package/template/.claude/skills/context-compression/README.md +121 -0
  53. package/template/.claude/skills/context-compression/analyze.md +114 -0
  54. package/template/.claude/skills/context-compression/compress.md +175 -0
  55. package/template/.claude/skills/context-compression/prompts/CLAUDE.md +0 -0
  56. package/template/.claude/skills/context-compression/prompts/compression.md +172 -0
  57. package/template/.claude/skills/output-validator/CLAUDE.md +0 -0
  58. package/template/.claude/skills/output-validator/README.md +86 -0
  59. package/template/.claude/skills/output-validator/prompts/CLAUDE.md +119 -0
  60. package/template/.claude/skills/output-validator/validate.md +182 -0
  61. package/template/.claude/skills/smart-handoff/CLAUDE.md +0 -0
  62. package/template/.claude/skills/smart-handoff/README.md +59 -0
  63. package/template/.claude/skills/smart-handoff/extract.md +76 -0
  64. package/template/.claude/skills/smart-handoff/prompts/CLAUDE.md +86 -0
  65. package/template/.claude/skills/smart-handoff/summarize.md +94 -0
  66. package/template/.claude/skills/stage-transition/CLAUDE.md +0 -0
  67. package/template/.claude/skills/stage-transition/README.md +84 -0
  68. package/template/.claude/skills/stage-transition/handoff-gen.md +160 -0
  69. package/template/.claude/skills/stage-transition/prompts/CLAUDE.md +0 -0
  70. package/template/.claude/skills/stage-transition/prompts/transition.md +145 -0
  71. package/template/.claude/skills/stage-transition/validate.md +108 -0
  72. package/template/CLAUDE.md +528 -0
  73. package/template/config/CLAUDE.md +0 -0
  74. package/template/config/ai_benchmarking.yaml +184 -0
  75. package/template/config/ai_collaboration.yaml +159 -0
  76. package/template/config/ai_logging.yaml +129 -0
  77. package/template/config/auto_checkpoint.yaml +189 -0
  78. package/template/config/context.yaml +78 -0
  79. package/template/config/git.yaml +161 -0
  80. package/template/config/handoff_intelligence.yaml +229 -0
  81. package/template/config/implementation.yaml.template +181 -0
  82. package/template/config/mcp_fallbacks.yaml +252 -0
  83. package/template/config/memory_integration.yaml +200 -0
  84. package/template/config/model_enforcement.yaml +141 -0
  85. package/template/config/models.yaml +242 -0
  86. package/template/config/output_validation.yaml +352 -0
  87. package/template/config/pipeline.yaml +357 -0
  88. package/template/config/pipeline_forking.yaml +236 -0
  89. package/template/config/qa_logging.yaml +166 -0
  90. package/template/config/smart_rollback.yaml +209 -0
  91. package/template/config/stage_personas.yaml +354 -0
  92. package/template/config/workflow.yaml +54 -0
  93. package/template/scripts/CLAUDE.md +0 -0
  94. package/template/scripts/ai-benchmark.sh +272 -0
  95. package/template/scripts/codex-wrapper.sh +97 -0
  96. package/template/scripts/context-manager.sh +528 -0
  97. package/template/scripts/create-checkpoint.sh +116 -0
  98. package/template/scripts/gemini-wrapper.sh +96 -0
  99. package/template/scripts/init-project.sh +109 -0
  100. package/template/scripts/list-stages.sh +245 -0
  101. package/template/scripts/next-stage.sh +228 -0
  102. package/template/scripts/output-validate.sh +12 -0
  103. package/template/scripts/pipeline-fork.sh +293 -0
  104. package/template/scripts/pre-run-check.sh +361 -0
  105. package/template/scripts/restore-checkpoint.sh +247 -0
  106. package/template/scripts/run-stage.sh +139 -0
  107. package/template/scripts/show-status.sh +185 -0
  108. package/template/scripts/smart-handoff.sh +254 -0
  109. package/template/stages/01-brainstorm/CLAUDE.md +103 -0
  110. package/template/stages/01-brainstorm/HANDOFF.md +110 -0
  111. package/template/stages/01-brainstorm/HANDOFF.md.template +112 -0
  112. package/template/stages/01-brainstorm/README.md +97 -0
  113. package/template/stages/01-brainstorm/config.yaml +92 -0
  114. package/template/stages/01-brainstorm/inputs/.gitkeep +0 -0
  115. package/template/stages/01-brainstorm/inputs/CLAUDE.md +0 -0
  116. package/template/stages/01-brainstorm/inputs/project_brief.md +40 -0
  117. package/template/stages/01-brainstorm/outputs/.gitkeep +0 -0
  118. package/template/stages/01-brainstorm/outputs/CLAUDE.md +0 -0
  119. package/template/stages/01-brainstorm/outputs/ideas.md +159 -0
  120. package/template/stages/01-brainstorm/outputs/requirements_analysis.md +222 -0
  121. package/template/stages/01-brainstorm/prompts/CLAUDE.md +0 -0
  122. package/template/stages/01-brainstorm/prompts/collaboration.md +46 -0
  123. package/template/stages/01-brainstorm/prompts/ideation.md +62 -0
  124. package/template/stages/01-brainstorm/prompts/persona.md +73 -0
  125. package/template/stages/01-brainstorm/prompts/requirements.md +73 -0
  126. package/template/stages/01-brainstorm/prompts/validation.md +50 -0
  127. package/template/stages/01-brainstorm/templates/CLAUDE.md +0 -0
  128. package/template/stages/01-brainstorm/templates/ideas.md +91 -0
  129. package/template/stages/01-brainstorm/templates/requirements_analysis.md +129 -0
  130. package/template/stages/02-research/CLAUDE.md +101 -0
  131. package/template/stages/02-research/HANDOFF.md +158 -0
  132. package/template/stages/02-research/HANDOFF.md.template +102 -0
  133. package/template/stages/02-research/config.yaml +68 -0
  134. package/template/stages/02-research/inputs/.gitkeep +0 -0
  135. package/template/stages/02-research/outputs/.gitkeep +0 -0
  136. package/template/stages/02-research/outputs/CLAUDE.md +0 -0
  137. package/template/stages/02-research/outputs/feasibility_report.md +176 -0
  138. package/template/stages/02-research/outputs/tech_research.md +403 -0
  139. package/template/stages/02-research/prompts/CLAUDE.md +0 -0
  140. package/template/stages/02-research/prompts/collaboration.md +51 -0
  141. package/template/stages/02-research/prompts/feasibility.md +73 -0
  142. package/template/stages/02-research/prompts/market_analysis.md +58 -0
  143. package/template/stages/02-research/prompts/tech_stack.md +60 -0
  144. package/template/stages/02-research/prompts/validation.md +51 -0
  145. package/template/stages/02-research/templates/.gitkeep +0 -0
  146. package/template/stages/03-planning/CLAUDE.md +98 -0
  147. package/template/stages/03-planning/HANDOFF.md +168 -0
  148. package/template/stages/03-planning/HANDOFF.md.template +91 -0
  149. package/template/stages/03-planning/config.yaml +64 -0
  150. package/template/stages/03-planning/inputs/.gitkeep +0 -0
  151. package/template/stages/03-planning/outputs/.gitkeep +0 -0
  152. package/template/stages/03-planning/outputs/CLAUDE.md +0 -0
  153. package/template/stages/03-planning/outputs/architecture.md +400 -0
  154. package/template/stages/03-planning/outputs/implementation.yaml +209 -0
  155. package/template/stages/03-planning/outputs/project_plan.md +204 -0
  156. package/template/stages/03-planning/outputs/tech_stack.md +176 -0
  157. package/template/stages/03-planning/prompts/CLAUDE.md +0 -0
  158. package/template/stages/03-planning/prompts/architecture.md +62 -0
  159. package/template/stages/03-planning/prompts/collaboration.md +57 -0
  160. package/template/stages/03-planning/prompts/validation.md +59 -0
  161. package/template/stages/03-planning/templates/.gitkeep +0 -0
  162. package/template/stages/04-ui-ux/CLAUDE.md +88 -0
  163. package/template/stages/04-ui-ux/HANDOFF.md +165 -0
  164. package/template/stages/04-ui-ux/HANDOFF.md.template +92 -0
  165. package/template/stages/04-ui-ux/config.yaml +57 -0
  166. package/template/stages/04-ui-ux/inputs/.gitkeep +0 -0
  167. package/template/stages/04-ui-ux/outputs/.gitkeep +0 -0
  168. package/template/stages/04-ui-ux/outputs/CLAUDE.md +0 -0
  169. package/template/stages/04-ui-ux/outputs/design_system.md +449 -0
  170. package/template/stages/04-ui-ux/outputs/user_flows.md +321 -0
  171. package/template/stages/04-ui-ux/outputs/wireframes.md +241 -0
  172. package/template/stages/04-ui-ux/prompts/.gitkeep +0 -0
  173. package/template/stages/04-ui-ux/prompts/CLAUDE.md +0 -0
  174. package/template/stages/04-ui-ux/prompts/collaboration.md +56 -0
  175. package/template/stages/04-ui-ux/prompts/validation.md +54 -0
  176. package/template/stages/04-ui-ux/templates/.gitkeep +0 -0
  177. package/template/stages/05-task-management/CLAUDE.md +105 -0
  178. package/template/stages/05-task-management/HANDOFF.md +187 -0
  179. package/template/stages/05-task-management/HANDOFF.md.template +97 -0
  180. package/template/stages/05-task-management/config.yaml +81 -0
  181. package/template/stages/05-task-management/inputs/.gitkeep +0 -0
  182. package/template/stages/05-task-management/outputs/.gitkeep +0 -0
  183. package/template/stages/05-task-management/outputs/CLAUDE.md +0 -0
  184. package/template/stages/05-task-management/outputs/milestones.md +253 -0
  185. package/template/stages/05-task-management/outputs/sprint_plan.md +203 -0
  186. package/template/stages/05-task-management/outputs/tasks.md +402 -0
  187. package/template/stages/05-task-management/prompts/.gitkeep +0 -0
  188. package/template/stages/05-task-management/prompts/CLAUDE.md +0 -0
  189. package/template/stages/05-task-management/prompts/collaboration.md +54 -0
  190. package/template/stages/05-task-management/prompts/validation.md +66 -0
  191. package/template/stages/05-task-management/templates/CLAUDE.md +0 -0
  192. package/template/stages/05-task-management/templates/notion_integration.md +176 -0
  193. package/template/stages/05-task-management/templates/parallel_groups.yaml +153 -0
  194. package/template/stages/05-task-management/templates/task_schema.yaml +154 -0
  195. package/template/stages/06-implementation/CLAUDE.md +163 -0
  196. package/template/stages/06-implementation/HANDOFF.md +184 -0
  197. package/template/stages/06-implementation/HANDOFF.md.template +192 -0
  198. package/template/stages/06-implementation/config.yaml +62 -0
  199. package/template/stages/06-implementation/inputs/.gitkeep +0 -0
  200. package/template/stages/06-implementation/outputs/.gitkeep +0 -0
  201. package/template/stages/06-implementation/prompts/.gitkeep +0 -0
  202. package/template/stages/06-implementation/prompts/CLAUDE.md +0 -0
  203. package/template/stages/06-implementation/prompts/collaboration.md +64 -0
  204. package/template/stages/06-implementation/prompts/validation.md +65 -0
  205. package/template/stages/06-implementation/templates/.gitkeep +0 -0
  206. package/template/stages/07-refactoring/CLAUDE.md +180 -0
  207. package/template/stages/07-refactoring/HANDOFF.md +82 -0
  208. package/template/stages/07-refactoring/HANDOFF.md.template +97 -0
  209. package/template/stages/07-refactoring/config.yaml +68 -0
  210. package/template/stages/07-refactoring/inputs/.gitkeep +0 -0
  211. package/template/stages/07-refactoring/outputs/.gitkeep +0 -0
  212. package/template/stages/07-refactoring/outputs/refactoring_report.md +102 -0
  213. package/template/stages/07-refactoring/prompts/.gitkeep +0 -0
  214. package/template/stages/07-refactoring/prompts/CLAUDE.md +0 -0
  215. package/template/stages/07-refactoring/prompts/collaboration.md +71 -0
  216. package/template/stages/07-refactoring/prompts/validation.md +76 -0
  217. package/template/stages/07-refactoring/templates/.gitkeep +0 -0
  218. package/template/stages/08-qa/CLAUDE.md +93 -0
  219. package/template/stages/08-qa/HANDOFF.md +114 -0
  220. package/template/stages/08-qa/HANDOFF.md.template +96 -0
  221. package/template/stages/08-qa/config.yaml +56 -0
  222. package/template/stages/08-qa/inputs/.gitkeep +0 -0
  223. package/template/stages/08-qa/outputs/.gitkeep +0 -0
  224. package/template/stages/08-qa/outputs/qa_report.md +138 -0
  225. package/template/stages/08-qa/prompts/.gitkeep +0 -0
  226. package/template/stages/08-qa/prompts/CLAUDE.md +0 -0
  227. package/template/stages/08-qa/prompts/collaboration.md +65 -0
  228. package/template/stages/08-qa/prompts/validation.md +71 -0
  229. package/template/stages/08-qa/templates/.gitkeep +0 -0
  230. package/template/stages/09-testing/CLAUDE.md +124 -0
  231. package/template/stages/09-testing/HANDOFF.md +118 -0
  232. package/template/stages/09-testing/HANDOFF.md.template +113 -0
  233. package/template/stages/09-testing/config.yaml +65 -0
  234. package/template/stages/09-testing/inputs/.gitkeep +0 -0
  235. package/template/stages/09-testing/outputs/.gitkeep +0 -0
  236. package/template/stages/09-testing/outputs/test_report.md +146 -0
  237. package/template/stages/09-testing/prompts/.gitkeep +0 -0
  238. package/template/stages/09-testing/prompts/CLAUDE.md +0 -0
  239. package/template/stages/09-testing/prompts/collaboration.md +77 -0
  240. package/template/stages/09-testing/prompts/validation.md +83 -0
  241. package/template/stages/09-testing/templates/.gitkeep +0 -0
  242. package/template/stages/10-deployment/CLAUDE.md +117 -0
  243. package/template/stages/10-deployment/HANDOFF.md +141 -0
  244. package/template/stages/10-deployment/HANDOFF.md.template +148 -0
  245. package/template/stages/10-deployment/config.yaml +61 -0
  246. package/template/stages/10-deployment/inputs/.gitkeep +0 -0
  247. package/template/stages/10-deployment/outputs/.gitkeep +0 -0
  248. package/template/stages/10-deployment/prompts/.gitkeep +0 -0
  249. package/template/stages/10-deployment/prompts/CLAUDE.md +0 -0
  250. package/template/stages/10-deployment/prompts/collaboration.md +80 -0
  251. package/template/stages/10-deployment/prompts/validation.md +93 -0
  252. package/template/stages/10-deployment/templates/CLAUDE.md +0 -0
  253. package/template/stages/10-deployment/templates/github-actions-cd.yaml +118 -0
  254. package/template/stages/10-deployment/templates/github-actions-ci.yaml +136 -0
  255. package/template/state/progress.json.template +111 -0
  256. package/template/state/templates/CLAUDE.md +0 -0
  257. package/template/state/templates/handoff_base.md.template +187 -0
  258. package/template/state/templates/phase_state.md.template +97 -0
@@ -0,0 +1,236 @@
1
+ # ax-templates Pipeline Forking Configuration
2
+ # Branch exploration and parallel pipeline execution
3
+
4
+ pipeline_forking:
5
+ enabled: true
6
+ description: "파이프라인 분기로 다양한 접근법 동시 탐색"
7
+
8
+ # 분기점 정의
9
+ fork_points:
10
+ planning_stage:
11
+ stage: "03-planning"
12
+ condition: "multiple_architectures_proposed"
13
+ description: "여러 아키텍처 제안 시 분기하여 각각 탐색"
14
+ auto_fork: false
15
+ max_forks: 3
16
+
17
+ implementation_stage:
18
+ stage: "06-implementation"
19
+ condition: "alternative_approaches"
20
+ description: "구현 접근법이 여러 개일 때 병렬 탐색"
21
+ auto_fork: false
22
+ max_forks: 2
23
+
24
+ refactoring_stage:
25
+ stage: "07-refactoring"
26
+ condition: "optimization_tradeoffs"
27
+ description: "최적화 방향이 여러 개일 때 비교"
28
+ auto_fork: false
29
+ max_forks: 2
30
+
31
+ # 자동 분기 트리거
32
+ auto_fork_triggers:
33
+ enabled: false # 기본적으로 수동 분기
34
+
35
+ conditions:
36
+ confidence_threshold:
37
+ enabled: true
38
+ threshold: 0.6 # 확신도가 60% 미만일 때
39
+ action: "suggest_fork"
40
+
41
+ multiple_solutions:
42
+ enabled: true
43
+ minimum_alternatives: 2
44
+ action: "suggest_fork"
45
+
46
+ high_risk_decision:
47
+ enabled: true
48
+ risk_indicators:
49
+ - "irreversible"
50
+ - "major_architecture_change"
51
+ - "breaking_change"
52
+ action: "require_fork"
53
+
54
+ # 분기 관리
55
+ fork_management:
56
+ max_active_forks: 3
57
+ naming_convention: "fork_{{stage}}_{{variant}}_{{timestamp}}"
58
+
59
+ storage:
60
+ base_path: "state/forks/"
61
+ structure: "isolated" # isolated or shared
62
+
63
+ isolation:
64
+ separate_state: true
65
+ separate_outputs: true
66
+ shared_inputs: true # 입력은 공유
67
+
68
+ # 분기 상태 추적
69
+ tracking:
70
+ progress: true
71
+ metrics: true
72
+ comparison_points: true
73
+
74
+ # 병합 전략
75
+ merge_strategy:
76
+ primary: "best_performer"
77
+ fallback: "manual_selection"
78
+
79
+ strategies:
80
+ best_performer:
81
+ description: "메트릭 기반 최고 성능 분기 선택"
82
+ criteria:
83
+ - metric: "code_quality"
84
+ weight: 0.3
85
+ - metric: "performance"
86
+ weight: 0.3
87
+ - metric: "maintainability"
88
+ weight: 0.2
89
+ - metric: "test_coverage"
90
+ weight: 0.2
91
+
92
+ manual_selection:
93
+ description: "사용자가 직접 분기 선택"
94
+ require_justification: true
95
+
96
+ cherry_pick:
97
+ description: "여러 분기에서 최적 부분만 선택"
98
+ supported: true
99
+ complexity: "high"
100
+
101
+ # 비교 설정
102
+ comparison:
103
+ enabled: true
104
+
105
+ metrics:
106
+ code_quality:
107
+ measure: "lint_score"
108
+ higher_is_better: true
109
+
110
+ performance:
111
+ measure: "benchmark_time"
112
+ higher_is_better: false
113
+
114
+ maintainability:
115
+ measure: "cyclomatic_complexity"
116
+ higher_is_better: false
117
+
118
+ test_coverage:
119
+ measure: "coverage_percentage"
120
+ higher_is_better: true
121
+
122
+ reporting:
123
+ format: "comparison_table"
124
+ include_recommendations: true
125
+
126
+ visualization:
127
+ enabled: true
128
+ chart_types:
129
+ - "radar_chart"
130
+ - "bar_comparison"
131
+
132
+ # 분기 생성 프로세스
133
+ creation_process:
134
+ steps:
135
+ - name: "validate_fork_point"
136
+ description: "분기점 유효성 검증"
137
+
138
+ - name: "create_fork_directory"
139
+ description: "분기 디렉토리 생성"
140
+
141
+ - name: "copy_current_state"
142
+ description: "현재 상태 복사"
143
+
144
+ - name: "initialize_fork_config"
145
+ description: "분기 설정 초기화"
146
+
147
+ - name: "create_fork_handoff"
148
+ description: "분기용 HANDOFF 생성"
149
+
150
+ - name: "register_fork"
151
+ description: "분기 등록"
152
+
153
+ fork_handoff_template: |
154
+ # Fork HANDOFF - {{fork_name}}
155
+
156
+ ## 분기 정보
157
+ - **원본 스테이지**: {{source_stage}}
158
+ - **분기 이유**: {{fork_reason}}
159
+ - **분기 시점**: {{timestamp}}
160
+ - **탐색 방향**: {{exploration_direction}}
161
+
162
+ ## 분기 목표
163
+ {{objectives}}
164
+
165
+ ## 평가 기준
166
+ {{evaluation_criteria}}
167
+
168
+ ## 병합 조건
169
+ {{merge_conditions}}
170
+
171
+ # 분기 실행
172
+ execution:
173
+ parallel_execution:
174
+ enabled: true
175
+ max_concurrent: 2
176
+
177
+ resource_allocation:
178
+ strategy: "equal" # equal, priority_based
179
+
180
+ synchronization:
181
+ sync_points:
182
+ - "stage_complete"
183
+ - "milestone_reached"
184
+
185
+ timeout_minutes: 120 # 분기 최대 실행 시간
186
+
187
+ # 정리 정책
188
+ cleanup:
189
+ auto_cleanup: true
190
+
191
+ cleanup_triggers:
192
+ - after_merge
193
+ - on_abandon
194
+ - on_timeout
195
+
196
+ retention:
197
+ keep_merged: true
198
+ keep_abandoned: false
199
+ retention_days: 7
200
+
201
+ # 알림 설정
202
+ notifications:
203
+ on_fork_create:
204
+ enabled: true
205
+ message: "파이프라인 분기 생성됨: {{fork_name}}"
206
+
207
+ on_fork_complete:
208
+ enabled: true
209
+ message: "분기 완료: {{fork_name}} - {{status}}"
210
+
211
+ on_comparison_ready:
212
+ enabled: true
213
+ message: "분기 비교 준비 완료. {{fork_count}}개 분기 비교 가능"
214
+
215
+ on_merge:
216
+ enabled: true
217
+ message: "분기 병합 완료: {{selected_fork}} 선택됨"
218
+
219
+ # 통합 설정
220
+ integration:
221
+ git:
222
+ create_branches: true
223
+ branch_prefix: "fork/"
224
+ auto_merge: false
225
+
226
+ handoff:
227
+ include_fork_info: true
228
+ track_decisions: true
229
+
230
+ checkpoint:
231
+ create_before_fork: true
232
+ create_after_merge: true
233
+
234
+ memory:
235
+ save_fork_decisions: true
236
+ save_comparison_results: true
@@ -0,0 +1,166 @@
1
+ # Q&A Logging Configuration
2
+ # ax-templates-3 문답 자동 기록 규칙 (Q7 해결)
3
+
4
+ qa_logging:
5
+ # 활성화 여부
6
+ enabled: true
7
+
8
+ # 기록 대상 파일
9
+ target_file: "feedback.md"
10
+
11
+ # 백업 위치
12
+ backup_dir: "state/qa_backups/"
13
+
14
+ # 기록 트리거
15
+ triggers:
16
+ # 자동 트리거
17
+ automatic:
18
+ - event: "stage_complete"
19
+ description: "스테이지 완료 시"
20
+ priority: "high"
21
+
22
+ - event: "issue_discovered"
23
+ description: "새로운 이슈 발견 시"
24
+ priority: "high"
25
+
26
+ - event: "process_change_request"
27
+ description: "프로세스 변경 요청 시"
28
+ priority: "medium"
29
+
30
+ - event: "tool_failure"
31
+ description: "도구 실패 시"
32
+ priority: "high"
33
+
34
+ - event: "workaround_found"
35
+ description: "우회 방법 발견 시"
36
+ priority: "medium"
37
+
38
+ # 수동 트리거 커맨드
39
+ manual:
40
+ command: "/log-qa"
41
+ description: "수동으로 문답 기록"
42
+
43
+ # 기록 형식
44
+ format:
45
+ # 섹션 헤더
46
+ section_header: "### Q{{number}}: {{title}}"
47
+
48
+ # 기록 템플릿
49
+ template: |
50
+ ### Q{{number}}: {{title}}
51
+
52
+ **질문**: {{question}}
53
+
54
+ **답변**: {{answer}}
55
+
56
+ **해결 방법**: {{solution}}
57
+
58
+ **향후 개선 제안**: {{suggestion}}
59
+
60
+ **관련 스테이지**: {{stage_id}}
61
+
62
+ **기록 일시**: {{timestamp}}
63
+
64
+ ---
65
+
66
+ # 포함 항목
67
+ include:
68
+ - question # 원본 질문
69
+ - answer # 요약된 답변
70
+ - solution # 해결 방법
71
+ - suggestion # 향후 개선 제안
72
+ - stage_id # 관련 스테이지
73
+ - timestamp # 기록 시간
74
+ - category # 카테고리
75
+
76
+ # 카테고리 분류
77
+ categories:
78
+ - name: "workflow_improvements"
79
+ description: "워크플로우 개선"
80
+ keywords: ["프로세스", "단계", "순서", "자동화"]
81
+
82
+ - name: "tool_usage"
83
+ description: "도구 사용법"
84
+ keywords: ["MCP", "CLI", "Notion", "Git"]
85
+
86
+ - name: "process_changes"
87
+ description: "프로세스 변경"
88
+ keywords: ["변경", "수정", "추가", "삭제"]
89
+
90
+ - name: "bug_fixes"
91
+ description: "버그 수정"
92
+ keywords: ["버그", "에러", "오류", "실패"]
93
+
94
+ - name: "best_practices"
95
+ description: "모범 사례"
96
+ keywords: ["권장", "추천", "패턴", "규칙"]
97
+
98
+ # 필터링 규칙
99
+ filtering:
100
+ # 포함할 항목
101
+ include:
102
+ - "workflow_improvements"
103
+ - "tool_usage"
104
+ - "process_changes"
105
+ - "bug_fixes"
106
+ - "best_practices"
107
+
108
+ # 제외할 항목
109
+ exclude:
110
+ - "trivial_questions" # 사소한 질문
111
+ - "repeated_questions" # 반복되는 질문
112
+ - "off_topic" # 주제 외 질문
113
+
114
+ # 제외 키워드
115
+ exclude_keywords:
116
+ - "테스트"
117
+ - "임시"
118
+ - "무시"
119
+
120
+ # 자동 번호 매기기
121
+ numbering:
122
+ # 자동 번호 부여
123
+ auto_increment: true
124
+
125
+ # 시작 번호 (기존 Q&A 이후)
126
+ start_from: "auto" # feedback.md에서 마지막 번호 자동 감지
127
+
128
+ # 형식
129
+ format: "Q{{number}}"
130
+
131
+ # 중복 감지
132
+ deduplication:
133
+ # 활성화 여부
134
+ enabled: true
135
+
136
+ # 유사도 임계값 (0-1)
137
+ similarity_threshold: 0.8
138
+
139
+ # 중복 처리
140
+ on_duplicate: "merge" # merge | skip | ask
141
+
142
+ # 알림 설정
143
+ notifications:
144
+ # 새 Q&A 기록 시 알림
145
+ on_new_entry:
146
+ enabled: true
147
+ message: "📝 새로운 Q&A가 feedback.md에 기록되었습니다: Q{{number}}"
148
+
149
+ # 일일 요약
150
+ daily_summary:
151
+ enabled: false
152
+ time: "18:00"
153
+
154
+ # 내보내기 설정
155
+ export:
156
+ # 지원 형식
157
+ formats:
158
+ - "markdown"
159
+ - "json"
160
+ - "csv"
161
+
162
+ # 자동 내보내기
163
+ auto_export:
164
+ enabled: false
165
+ format: "json"
166
+ path: "state/qa_export.json"
@@ -0,0 +1,209 @@
1
+ # ax-templates Smart Rollback Configuration
2
+ # Intelligent rollback suggestions and execution
3
+
4
+ smart_rollback:
5
+ enabled: true
6
+ description: "지능형 롤백 제안 및 실행"
7
+
8
+ # 에러 발생 시 롤백 제안
9
+ suggestion:
10
+ on_error:
11
+ enabled: true
12
+ steps:
13
+ - analyze_error_type
14
+ - find_relevant_checkpoint
15
+ - calculate_rollback_scope
16
+ - suggest_recovery_path
17
+
18
+ analysis:
19
+ error_patterns:
20
+ build_failure:
21
+ description: "빌드 실패"
22
+ common_causes: ["dependency", "syntax", "type_error"]
23
+ suggested_scope: "file_level"
24
+
25
+ test_failure:
26
+ description: "테스트 실패"
27
+ common_causes: ["logic_error", "state_change"]
28
+ suggested_scope: "function_level"
29
+
30
+ runtime_error:
31
+ description: "런타임 에러"
32
+ common_causes: ["null_reference", "type_mismatch"]
33
+ suggested_scope: "file_level"
34
+
35
+ configuration_error:
36
+ description: "설정 에러"
37
+ common_causes: ["invalid_config", "missing_env"]
38
+ suggested_scope: "config_only"
39
+
40
+ checkpoint_selection:
41
+ strategy: "most_recent_stable"
42
+ fallback: "last_stage_complete"
43
+
44
+ scoring:
45
+ recency: 0.4
46
+ stability: 0.4
47
+ relevance: 0.2
48
+
49
+ # 부분 롤백
50
+ partial_rollback:
51
+ enabled: true
52
+ description: "전체 롤백 대신 영향 범위만 선택적 복구"
53
+
54
+ granularity:
55
+ file_level:
56
+ description: "특정 파일만 롤백"
57
+ use_when: ["single_file_error", "isolated_change"]
58
+
59
+ function_level:
60
+ description: "특정 함수/메서드만 롤백"
61
+ use_when: ["logic_error", "refactoring_issue"]
62
+ supported_languages: ["typescript", "javascript", "python"]
63
+
64
+ stage_level:
65
+ description: "특정 스테이지 전체 롤백"
66
+ use_when: ["major_failure", "architecture_change"]
67
+
68
+ config_only:
69
+ description: "설정 파일만 롤백"
70
+ use_when: ["configuration_error"]
71
+ patterns: ["*.yaml", "*.json", "*.env*"]
72
+
73
+ # 의존성 분석
74
+ dependency_analysis:
75
+ enabled: true
76
+ description: "롤백 시 영향받는 파일 자동 감지"
77
+
78
+ include_dependents: true
79
+ max_cascade_depth: 3
80
+
81
+ # 롤백 미리보기
82
+ rollback_preview:
83
+ enabled: true
84
+ description: "롤백 전 변경사항 미리보기"
85
+
86
+ show_diff: true
87
+ show_impact: true
88
+ show_affected_files: true
89
+ show_test_status: true
90
+
91
+ require_confirmation: true
92
+ confirmation_prompt: |
93
+ ## 롤백 미리보기
94
+
95
+ **대상 체크포인트**: {{checkpoint_name}}
96
+ **롤백 범위**: {{scope}}
97
+
98
+ ### 영향받는 파일 ({{file_count}}개)
99
+ {{affected_files}}
100
+
101
+ ### 변경사항 요약
102
+ {{diff_summary}}
103
+
104
+ 이 롤백을 실행하시겠습니까? (y/n)
105
+
106
+ # 롤백 실행
107
+ execution:
108
+ pre_rollback:
109
+ - create_backup_checkpoint
110
+ - save_current_state
111
+ - notify_rollback_start
112
+
113
+ rollback_steps:
114
+ - validate_checkpoint
115
+ - extract_files
116
+ - apply_changes
117
+ - verify_integrity
118
+ - update_state
119
+
120
+ post_rollback:
121
+ - run_validation
122
+ - update_handoff
123
+ - notify_completion
124
+
125
+ # 실패 처리
126
+ on_failure:
127
+ strategy: "restore_backup"
128
+ notify: true
129
+ log_details: true
130
+
131
+ # 안전 장치
132
+ safety:
133
+ # 롤백 불가 조건
134
+ prevent_rollback_when:
135
+ - uncommitted_changes: true
136
+ - active_processes: true
137
+ - locked_files: true
138
+
139
+ # 확인 필요 조건
140
+ require_confirmation_when:
141
+ - scope: "stage_level"
142
+ - files_affected: 10
143
+ - includes_production: true
144
+
145
+ # 롤백 제한
146
+ limits:
147
+ max_rollback_stages: 2
148
+ max_file_rollbacks: 50
149
+ cooldown_minutes: 5
150
+
151
+ # 롤백 히스토리
152
+ history:
153
+ enabled: true
154
+ storage_path: "state/rollback_history/"
155
+
156
+ track:
157
+ - timestamp
158
+ - trigger
159
+ - scope
160
+ - affected_files
161
+ - success_status
162
+ - recovery_time
163
+
164
+ retention_days: 30
165
+
166
+ # 복구 가이드
167
+ recovery_guide:
168
+ enabled: true
169
+ description: "롤백 후 복구 작업 안내"
170
+
171
+ templates:
172
+ after_file_rollback: |
173
+ ## 파일 롤백 완료
174
+
175
+ 다음 파일이 복구되었습니다:
176
+ {{files}}
177
+
178
+ ### 권장 다음 단계
179
+ 1. 변경사항 확인: `git diff`
180
+ 2. 테스트 실행: `npm test`
181
+ 3. 필요시 수정 후 재커밋
182
+
183
+ after_stage_rollback: |
184
+ ## 스테이지 롤백 완료
185
+
186
+ {{stage_id}}가 체크포인트로 복구되었습니다.
187
+
188
+ ### 복구 정보
189
+ - 체크포인트: {{checkpoint_name}}
190
+ - 복구된 파일: {{file_count}}개
191
+
192
+ ### 권장 다음 단계
193
+ 1. HANDOFF 확인: `stages/{{stage_id}}/HANDOFF.md`
194
+ 2. 태스크 재검토
195
+ 3. 스테이지 재시작
196
+
197
+ # 통합 설정
198
+ integration:
199
+ git:
200
+ auto_stash: true
201
+ create_branch: false # true면 롤백용 브랜치 생성
202
+
203
+ handoff:
204
+ update_on_rollback: true
205
+ include_rollback_info: true
206
+
207
+ memory:
208
+ save_rollback_decision: true
209
+ observation_type: "bugfix"