claude-symphony 0.0.1

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 (197) hide show
  1. package/README.md +374 -0
  2. package/bin/create.js +250 -0
  3. package/package.json +43 -0
  4. package/template/.claude/commands/benchmark.md +103 -0
  5. package/template/.claude/commands/brainstorm.md +67 -0
  6. package/template/.claude/commands/checkpoint.md +93 -0
  7. package/template/.claude/commands/codex.md +107 -0
  8. package/template/.claude/commands/collaborate.md +85 -0
  9. package/template/.claude/commands/context.md +154 -0
  10. package/template/.claude/commands/deploy.md +102 -0
  11. package/template/.claude/commands/fork.md +142 -0
  12. package/template/.claude/commands/gemini.md +84 -0
  13. package/template/.claude/commands/handoff.md +80 -0
  14. package/template/.claude/commands/implement.md +82 -0
  15. package/template/.claude/commands/init-project.md +49 -0
  16. package/template/.claude/commands/next.md +125 -0
  17. package/template/.claude/commands/planning.md +69 -0
  18. package/template/.claude/commands/qa.md +81 -0
  19. package/template/.claude/commands/refactor.md +95 -0
  20. package/template/.claude/commands/research.md +60 -0
  21. package/template/.claude/commands/restore.md +113 -0
  22. package/template/.claude/commands/run-stage.md +78 -0
  23. package/template/.claude/commands/stages.md +109 -0
  24. package/template/.claude/commands/status.md +73 -0
  25. package/template/.claude/commands/tasks.md +80 -0
  26. package/template/.claude/commands/test.md +93 -0
  27. package/template/.claude/commands/ui-ux.md +61 -0
  28. package/template/.claude/commands/validate.md +174 -0
  29. package/template/.claude/hooks/ai-selector.sh +223 -0
  30. package/template/.claude/hooks/auto-checkpoint.sh +187 -0
  31. package/template/.claude/hooks/output-validator.sh +289 -0
  32. package/template/.claude/hooks/post-stage.sh +123 -0
  33. package/template/.claude/hooks/pre-stage.sh +186 -0
  34. package/template/.claude/hooks/session-start.sh +90 -0
  35. package/template/.claude/hooks/statusline.sh +115 -0
  36. package/template/.claude/hooks/stop.sh +104 -0
  37. package/template/.claude/settings.json +149 -0
  38. package/template/.claude/skills/ai-collaboration/README.md +61 -0
  39. package/template/.claude/skills/ai-collaboration/debate.md +148 -0
  40. package/template/.claude/skills/ai-collaboration/parallel.md +96 -0
  41. package/template/.claude/skills/ai-collaboration/prompts/CLAUDE.md +107 -0
  42. package/template/.claude/skills/auto-checkpoint/README.md +77 -0
  43. package/template/.claude/skills/auto-checkpoint/prompts/CLAUDE.md +113 -0
  44. package/template/.claude/skills/auto-checkpoint/rollback.md +152 -0
  45. package/template/.claude/skills/auto-checkpoint/trigger.md +122 -0
  46. package/template/.claude/skills/context-compression/README.md +121 -0
  47. package/template/.claude/skills/context-compression/analyze.md +114 -0
  48. package/template/.claude/skills/context-compression/compress.md +175 -0
  49. package/template/.claude/skills/context-compression/prompts/compression.md +172 -0
  50. package/template/.claude/skills/output-validator/README.md +86 -0
  51. package/template/.claude/skills/output-validator/prompts/CLAUDE.md +119 -0
  52. package/template/.claude/skills/output-validator/validate.md +182 -0
  53. package/template/.claude/skills/smart-handoff/README.md +59 -0
  54. package/template/.claude/skills/smart-handoff/extract.md +76 -0
  55. package/template/.claude/skills/smart-handoff/prompts/CLAUDE.md +86 -0
  56. package/template/.claude/skills/smart-handoff/summarize.md +94 -0
  57. package/template/.claude/skills/stage-transition/README.md +84 -0
  58. package/template/.claude/skills/stage-transition/handoff-gen.md +160 -0
  59. package/template/.claude/skills/stage-transition/prompts/transition.md +145 -0
  60. package/template/.claude/skills/stage-transition/validate.md +108 -0
  61. package/template/CLAUDE.md +528 -0
  62. package/template/config/ai_benchmarking.yaml +184 -0
  63. package/template/config/ai_collaboration.yaml +159 -0
  64. package/template/config/ai_logging.yaml +129 -0
  65. package/template/config/auto_checkpoint.yaml +189 -0
  66. package/template/config/context.yaml +78 -0
  67. package/template/config/git.yaml +161 -0
  68. package/template/config/handoff_intelligence.yaml +229 -0
  69. package/template/config/implementation.yaml.template +181 -0
  70. package/template/config/mcp_fallbacks.yaml +252 -0
  71. package/template/config/memory_integration.yaml +200 -0
  72. package/template/config/model_enforcement.yaml +141 -0
  73. package/template/config/models.yaml +242 -0
  74. package/template/config/output_validation.yaml +352 -0
  75. package/template/config/pipeline.yaml +357 -0
  76. package/template/config/pipeline_forking.yaml +236 -0
  77. package/template/config/qa_logging.yaml +166 -0
  78. package/template/config/smart_rollback.yaml +209 -0
  79. package/template/config/stage_personas.yaml +354 -0
  80. package/template/config/workflow.yaml +54 -0
  81. package/template/scripts/ai-benchmark.sh +272 -0
  82. package/template/scripts/codex-wrapper.sh +97 -0
  83. package/template/scripts/context-manager.sh +528 -0
  84. package/template/scripts/create-checkpoint.sh +116 -0
  85. package/template/scripts/gemini-wrapper.sh +96 -0
  86. package/template/scripts/init-project.sh +109 -0
  87. package/template/scripts/list-stages.sh +245 -0
  88. package/template/scripts/next-stage.sh +228 -0
  89. package/template/scripts/output-validate.sh +12 -0
  90. package/template/scripts/pipeline-fork.sh +293 -0
  91. package/template/scripts/pre-run-check.sh +361 -0
  92. package/template/scripts/restore-checkpoint.sh +247 -0
  93. package/template/scripts/run-stage.sh +139 -0
  94. package/template/scripts/show-status.sh +185 -0
  95. package/template/scripts/smart-handoff.sh +254 -0
  96. package/template/stages/01-brainstorm/CLAUDE.md +103 -0
  97. package/template/stages/01-brainstorm/HANDOFF.md.template +112 -0
  98. package/template/stages/01-brainstorm/README.md +97 -0
  99. package/template/stages/01-brainstorm/config.yaml +92 -0
  100. package/template/stages/01-brainstorm/inputs/.gitkeep +0 -0
  101. package/template/stages/01-brainstorm/outputs/.gitkeep +0 -0
  102. package/template/stages/01-brainstorm/prompts/collaboration.md +46 -0
  103. package/template/stages/01-brainstorm/prompts/ideation.md +62 -0
  104. package/template/stages/01-brainstorm/prompts/persona.md +73 -0
  105. package/template/stages/01-brainstorm/prompts/requirements.md +73 -0
  106. package/template/stages/01-brainstorm/prompts/validation.md +50 -0
  107. package/template/stages/01-brainstorm/templates/ideas.md +91 -0
  108. package/template/stages/01-brainstorm/templates/requirements_analysis.md +129 -0
  109. package/template/stages/02-research/CLAUDE.md +101 -0
  110. package/template/stages/02-research/HANDOFF.md.template +102 -0
  111. package/template/stages/02-research/config.yaml +68 -0
  112. package/template/stages/02-research/inputs/.gitkeep +0 -0
  113. package/template/stages/02-research/outputs/.gitkeep +0 -0
  114. package/template/stages/02-research/prompts/collaboration.md +51 -0
  115. package/template/stages/02-research/prompts/feasibility.md +73 -0
  116. package/template/stages/02-research/prompts/market_analysis.md +58 -0
  117. package/template/stages/02-research/prompts/tech_stack.md +60 -0
  118. package/template/stages/02-research/prompts/validation.md +51 -0
  119. package/template/stages/02-research/templates/.gitkeep +0 -0
  120. package/template/stages/03-planning/CLAUDE.md +98 -0
  121. package/template/stages/03-planning/HANDOFF.md.template +91 -0
  122. package/template/stages/03-planning/config.yaml +64 -0
  123. package/template/stages/03-planning/inputs/.gitkeep +0 -0
  124. package/template/stages/03-planning/outputs/.gitkeep +0 -0
  125. package/template/stages/03-planning/prompts/architecture.md +62 -0
  126. package/template/stages/03-planning/prompts/collaboration.md +57 -0
  127. package/template/stages/03-planning/prompts/validation.md +59 -0
  128. package/template/stages/03-planning/templates/.gitkeep +0 -0
  129. package/template/stages/04-ui-ux/CLAUDE.md +88 -0
  130. package/template/stages/04-ui-ux/HANDOFF.md.template +92 -0
  131. package/template/stages/04-ui-ux/config.yaml +57 -0
  132. package/template/stages/04-ui-ux/inputs/.gitkeep +0 -0
  133. package/template/stages/04-ui-ux/outputs/.gitkeep +0 -0
  134. package/template/stages/04-ui-ux/prompts/.gitkeep +0 -0
  135. package/template/stages/04-ui-ux/prompts/collaboration.md +56 -0
  136. package/template/stages/04-ui-ux/prompts/validation.md +54 -0
  137. package/template/stages/04-ui-ux/templates/.gitkeep +0 -0
  138. package/template/stages/05-task-management/CLAUDE.md +105 -0
  139. package/template/stages/05-task-management/HANDOFF.md.template +97 -0
  140. package/template/stages/05-task-management/config.yaml +81 -0
  141. package/template/stages/05-task-management/inputs/.gitkeep +0 -0
  142. package/template/stages/05-task-management/outputs/.gitkeep +0 -0
  143. package/template/stages/05-task-management/prompts/.gitkeep +0 -0
  144. package/template/stages/05-task-management/prompts/collaboration.md +54 -0
  145. package/template/stages/05-task-management/prompts/validation.md +66 -0
  146. package/template/stages/05-task-management/templates/notion_integration.md +176 -0
  147. package/template/stages/05-task-management/templates/parallel_groups.yaml +153 -0
  148. package/template/stages/05-task-management/templates/task_schema.yaml +154 -0
  149. package/template/stages/06-implementation/CLAUDE.md +163 -0
  150. package/template/stages/06-implementation/HANDOFF.md.template +192 -0
  151. package/template/stages/06-implementation/config.yaml +62 -0
  152. package/template/stages/06-implementation/inputs/.gitkeep +0 -0
  153. package/template/stages/06-implementation/outputs/.gitkeep +0 -0
  154. package/template/stages/06-implementation/prompts/.gitkeep +0 -0
  155. package/template/stages/06-implementation/prompts/collaboration.md +64 -0
  156. package/template/stages/06-implementation/prompts/validation.md +65 -0
  157. package/template/stages/06-implementation/templates/.gitkeep +0 -0
  158. package/template/stages/07-refactoring/CLAUDE.md +180 -0
  159. package/template/stages/07-refactoring/HANDOFF.md.template +97 -0
  160. package/template/stages/07-refactoring/config.yaml +68 -0
  161. package/template/stages/07-refactoring/inputs/.gitkeep +0 -0
  162. package/template/stages/07-refactoring/outputs/.gitkeep +0 -0
  163. package/template/stages/07-refactoring/prompts/.gitkeep +0 -0
  164. package/template/stages/07-refactoring/prompts/collaboration.md +71 -0
  165. package/template/stages/07-refactoring/prompts/validation.md +76 -0
  166. package/template/stages/07-refactoring/templates/.gitkeep +0 -0
  167. package/template/stages/08-qa/CLAUDE.md +93 -0
  168. package/template/stages/08-qa/HANDOFF.md.template +96 -0
  169. package/template/stages/08-qa/config.yaml +56 -0
  170. package/template/stages/08-qa/inputs/.gitkeep +0 -0
  171. package/template/stages/08-qa/outputs/.gitkeep +0 -0
  172. package/template/stages/08-qa/prompts/.gitkeep +0 -0
  173. package/template/stages/08-qa/prompts/collaboration.md +65 -0
  174. package/template/stages/08-qa/prompts/validation.md +71 -0
  175. package/template/stages/08-qa/templates/.gitkeep +0 -0
  176. package/template/stages/09-testing/CLAUDE.md +124 -0
  177. package/template/stages/09-testing/HANDOFF.md.template +113 -0
  178. package/template/stages/09-testing/config.yaml +65 -0
  179. package/template/stages/09-testing/inputs/.gitkeep +0 -0
  180. package/template/stages/09-testing/outputs/.gitkeep +0 -0
  181. package/template/stages/09-testing/prompts/.gitkeep +0 -0
  182. package/template/stages/09-testing/prompts/collaboration.md +77 -0
  183. package/template/stages/09-testing/prompts/validation.md +83 -0
  184. package/template/stages/09-testing/templates/.gitkeep +0 -0
  185. package/template/stages/10-deployment/CLAUDE.md +117 -0
  186. package/template/stages/10-deployment/HANDOFF.md.template +148 -0
  187. package/template/stages/10-deployment/config.yaml +61 -0
  188. package/template/stages/10-deployment/inputs/.gitkeep +0 -0
  189. package/template/stages/10-deployment/outputs/.gitkeep +0 -0
  190. package/template/stages/10-deployment/prompts/.gitkeep +0 -0
  191. package/template/stages/10-deployment/prompts/collaboration.md +80 -0
  192. package/template/stages/10-deployment/prompts/validation.md +93 -0
  193. package/template/stages/10-deployment/templates/github-actions-cd.yaml +118 -0
  194. package/template/stages/10-deployment/templates/github-actions-ci.yaml +136 -0
  195. package/template/state/progress.json.template +111 -0
  196. package/template/state/templates/handoff_base.md.template +187 -0
  197. package/template/state/templates/phase_state.md.template +97 -0
@@ -0,0 +1,200 @@
1
+ # claude-symphony Memory Integration Configuration
2
+ # AI memory provider integration and sync settings
3
+
4
+ memory_integration:
5
+ enabled: true
6
+ description: "AI 메모리 시스템 통합 및 컨텍스트 동기화"
7
+
8
+ # 지원 메모리 프로바이더
9
+ providers:
10
+ claude_mem:
11
+ enabled: true
12
+ description: "Claude Memory MCP 서버 통합"
13
+
14
+ # 동기화 트리거
15
+ sync_on:
16
+ - "stage_complete"
17
+ - "session_end"
18
+ - "checkpoint_create"
19
+ - "critical_decision"
20
+
21
+ # 저장 설정
22
+ storage:
23
+ project_prefix: "claude-symphony"
24
+ observation_types:
25
+ - "decision"
26
+ - "discovery"
27
+ - "feature"
28
+ - "bugfix"
29
+
30
+ # 검색 설정
31
+ search:
32
+ default_limit: 10
33
+ include_timeline: true
34
+
35
+ # 향후 확장용 다른 프로바이더
36
+ external_memory:
37
+ enabled: false
38
+ provider: null
39
+
40
+ # HANDOFF-메모리 동기화
41
+ handoff_memory_sync:
42
+ on_stage_complete:
43
+ - action: "save_to_memory"
44
+ content: "key_decisions"
45
+ observation_type: "decision"
46
+ tags:
47
+ - "{{stage_id}}"
48
+ - "{{project_name}}"
49
+ include_metadata:
50
+ - stage
51
+ - timestamp
52
+ - related_files
53
+
54
+ - action: "save_to_memory"
55
+ content: "blocking_issues"
56
+ observation_type: "bugfix"
57
+ tags:
58
+ - "issue"
59
+ - "{{stage_id}}"
60
+
61
+ - action: "save_to_memory"
62
+ content: "technical_discoveries"
63
+ observation_type: "discovery"
64
+ tags:
65
+ - "learning"
66
+ - "{{stage_id}}"
67
+
68
+ on_stage_start:
69
+ - action: "load_from_memory"
70
+ filter:
71
+ project: "{{project_name}}"
72
+ stages:
73
+ - "{{previous_stage}}"
74
+ - "{{current_stage}}"
75
+ limit: 20
76
+ inject_to: "context"
77
+ format: "summary"
78
+
79
+ - action: "search_related"
80
+ query: "{{stage_objectives}}"
81
+ limit: 5
82
+ inject_to: "relevant_context"
83
+
84
+ on_session_start:
85
+ - action: "load_recent"
86
+ project: "{{project_name}}"
87
+ limit: 30
88
+ days: 7
89
+ inject_to: "session_context"
90
+
91
+ # 컨텍스트 주입 설정
92
+ context_injection:
93
+ enabled: true
94
+ description: "메모리에서 관련 컨텍스트 자동 주입"
95
+
96
+ triggers:
97
+ on_task_start:
98
+ enabled: true
99
+ search_query: "{{task_description}}"
100
+ max_results: 5
101
+ inject_location: "task_context"
102
+
103
+ on_error:
104
+ enabled: true
105
+ search_query: "error {{error_type}} {{error_message}}"
106
+ max_results: 3
107
+ inject_location: "debugging_hints"
108
+
109
+ formatting:
110
+ header: "## Related Context from Memory"
111
+ item_template: |
112
+ ### {{title}}
113
+ - **Type**: {{type}}
114
+ - **Stage**: {{stage}}
115
+ - **Date**: {{date}}
116
+ > {{content}}
117
+
118
+ # 메모리 정리 정책
119
+ cleanup_policy:
120
+ auto_cleanup: true
121
+
122
+ retention:
123
+ decisions: 90 # days
124
+ discoveries: 180
125
+ bugfixes: 60
126
+ general: 30
127
+
128
+ deduplication:
129
+ enabled: true
130
+ similarity_threshold: 0.85
131
+
132
+ # 세션 컨텍스트 복구
133
+ session_recovery:
134
+ enabled: true
135
+ description: "이전 세션 컨텍스트 자동 복구"
136
+
137
+ on_session_start:
138
+ auto_load: true
139
+ prompt_user: false # true면 사용자에게 확인
140
+
141
+ load_order:
142
+ - last_handoff
143
+ - recent_memories
144
+ - checkpoint_state
145
+
146
+ recovery_prompt:
147
+ enabled: true
148
+ template: |
149
+ ## 이전 세션 컨텍스트 복구됨
150
+
151
+ **마지막 스테이지**: {{last_stage}}
152
+ **마지막 작업**: {{last_task}}
153
+ **상태**: {{status}}
154
+
155
+ ### 핵심 컨텍스트
156
+ {{key_context}}
157
+
158
+ ### 다음 단계
159
+ {{next_steps}}
160
+
161
+ # 크로스 스테이지 학습
162
+ cross_stage_learning:
163
+ enabled: true
164
+ description: "스테이지 간 학습 및 패턴 인식"
165
+
166
+ patterns:
167
+ track:
168
+ - successful_approaches
169
+ - failed_approaches
170
+ - common_errors
171
+ - time_estimates
172
+
173
+ apply:
174
+ suggest_similar: true
175
+ warn_on_known_pitfalls: true
176
+
177
+ feedback_loop:
178
+ enabled: true
179
+ collect_on: ["stage_complete", "task_complete"]
180
+ metrics:
181
+ - success_rate
182
+ - time_taken
183
+ - iterations_needed
184
+
185
+ # 통합 검증
186
+ integration_checks:
187
+ on_startup:
188
+ - check_memory_connection
189
+ - verify_project_access
190
+ - load_configuration
191
+
192
+ health_monitoring:
193
+ enabled: true
194
+ interval: 300 # 5 minutes
195
+ alert_on_failure: true
196
+
197
+ fallback:
198
+ on_memory_unavailable: "local_cache"
199
+ local_cache_path: "state/memory_cache/"
200
+ cache_ttl: 3600 # 1 hour
@@ -0,0 +1,141 @@
1
+ # AI Model Enforcement Configuration
2
+ # claude-symphony AI 모델 역할 분담 및 강제 실행 설정
3
+
4
+ model_enforcement:
5
+ enabled: true
6
+
7
+ # ClaudeCode 직접 처리 가능 (외부 AI 호출 불필요)
8
+ claudecode_direct:
9
+ operations:
10
+ - "npm run lint"
11
+ - "npm run build"
12
+ - "npm run test"
13
+ - "npm run format"
14
+ - "git status"
15
+ - "git add"
16
+ - "git commit"
17
+ - "ls/cat/find"
18
+ - "파일 읽기"
19
+ - "간단한 수정 (< 10줄)"
20
+ - "설정 파일 편집"
21
+ - "문서 작성/수정"
22
+
23
+ characteristics:
24
+ - max_lines_change: 10
25
+ - complexity: "low"
26
+ - no_architectural_impact: true
27
+
28
+ # 외부 AI 강제 호출 필요
29
+ external_ai_required:
30
+ # Gemini 필수 태스크
31
+ gemini_tasks:
32
+ - "발산적 아이디어 생성"
33
+ - "창의적 브레인스토밍"
34
+ - "웹 리서치 (Reddit, HackerNews)"
35
+ - "시장 조사"
36
+ - "사용자 페르소나 생성"
37
+ - "UI/UX 디자인 아이디어"
38
+
39
+ # Codex 필수 태스크
40
+ codex_tasks:
41
+ - "코드 리팩토링 (> 10줄)"
42
+ - "성능 최적화"
43
+ - "복잡한 버그 수정"
44
+ - "아키텍처 개선"
45
+ - "디자인 패턴 적용"
46
+ - "테스트 코드 생성"
47
+ - "E2E 테스트 작성"
48
+
49
+ # 스테이지별 자동 호출 설정
50
+ stage_auto_invoke:
51
+ "01-brainstorm":
52
+ model: "gemini"
53
+ trigger: "stage_start"
54
+ prompt_file: "prompts/ideation.md"
55
+ required: true
56
+ wrapper: "scripts/gemini-wrapper.sh"
57
+
58
+ "03-planning":
59
+ model: "gemini"
60
+ trigger: "architecture_design"
61
+ prompt_file: "prompts/architecture.md"
62
+ required: false
63
+ wrapper: "scripts/gemini-wrapper.sh"
64
+
65
+ "04-ui-ux":
66
+ model: "gemini"
67
+ trigger: "design_ideation"
68
+ prompt_file: "prompts/ui_concepts.md"
69
+ required: false
70
+ wrapper: "scripts/gemini-wrapper.sh"
71
+
72
+ "07-refactoring":
73
+ model: "codex"
74
+ trigger: "refactoring_start"
75
+ prompt_file: "prompts/code_analysis.md"
76
+ required: true
77
+ wrapper: "scripts/codex-wrapper.sh"
78
+ flags: "--full-auto"
79
+
80
+ "09-testing":
81
+ model: "codex"
82
+ trigger: "test_generation"
83
+ prompt_file: "prompts/test_generation.md"
84
+ required: true
85
+ wrapper: "scripts/codex-wrapper.sh"
86
+ flags: "--full-auto"
87
+
88
+ # 역할 분담 가이드라인
89
+ role_guidelines:
90
+ claudecode:
91
+ strengths:
92
+ - "파일 시스템 조작"
93
+ - "빌드/테스트 실행"
94
+ - "Git 작업"
95
+ - "문서 구조화"
96
+ - "코드 리뷰 (읽기)"
97
+ avoid:
98
+ - "대규모 코드 생성"
99
+ - "창의적 아이디어 요청"
100
+ - "웹 리서치 기반 작업"
101
+
102
+ gemini:
103
+ strengths:
104
+ - "창의적 아이디어"
105
+ - "웹 리서치"
106
+ - "시장 분석"
107
+ - "UI/UX 컨셉"
108
+ avoid:
109
+ - "코드 작성/수정"
110
+ - "파일 시스템 조작"
111
+ - "Git 작업"
112
+
113
+ codex:
114
+ strengths:
115
+ - "코드 작성/수정"
116
+ - "리팩토링"
117
+ - "테스트 작성"
118
+ - "버그 수정"
119
+ avoid:
120
+ - "창의적 아이디어"
121
+ - "웹 리서치"
122
+ - "문서 작성"
123
+
124
+ # 강제 실행 검증
125
+ enforcement_validation:
126
+ warn_on_violation: true
127
+ block_on_violation: false
128
+
129
+ # 위반 감지 규칙
130
+ violation_rules:
131
+ - condition: "refactoring_without_codex"
132
+ stage: "07-refactoring"
133
+ message: "⚠️ 리팩토링 작업은 Codex를 통해 수행해주세요. /codex 명령 사용"
134
+
135
+ - condition: "brainstorm_without_gemini"
136
+ stage: "01-brainstorm"
137
+ message: "⚠️ 아이디어 생성은 Gemini를 통해 수행해주세요. /gemini 명령 사용"
138
+
139
+ - condition: "large_code_change_direct"
140
+ threshold_lines: 10
141
+ message: "⚠️ 10줄 이상 코드 변경은 Codex 사용을 권장합니다."
@@ -0,0 +1,242 @@
1
+ # claude-symphony AI Models Configuration
2
+ # Model assignments, specialization, and dynamic selection settings
3
+
4
+ models:
5
+ # Claude Code (Anthropic)
6
+ claudecode:
7
+ provider: "anthropic"
8
+ model_id: "claude-sonnet-4-20250514"
9
+ description: "Primary coding agent with tool use"
10
+ capabilities:
11
+ - "code_generation"
12
+ - "code_review"
13
+ - "debugging"
14
+ - "tool_use"
15
+ - "mcp_integration"
16
+ modes:
17
+ plan: "Plan mode with user confirmation"
18
+ plan_sandbox: "Plan mode with sandboxed execution"
19
+ yolo: "Autonomous execution (container only)"
20
+ headless: "CI/CD headless mode"
21
+ context_limit: 200000
22
+
23
+ # AI Specialization (신규)
24
+ strengths:
25
+ - "정확한 코드 생성"
26
+ - "복잡한 로직 분석"
27
+ - "에러 디버깅"
28
+ - "MCP 통합"
29
+ best_for:
30
+ - "06-implementation"
31
+ - "08-qa"
32
+ - "05-task-management"
33
+ temperature_range:
34
+ min: 0.1
35
+ max: 0.5
36
+ default: 0.3
37
+
38
+ # Claude (Anthropic) - Research focused
39
+ claude:
40
+ provider: "anthropic"
41
+ model_id: "claude-sonnet-4-20250514"
42
+ description: "Research and analysis specialist"
43
+ capabilities:
44
+ - "research"
45
+ - "analysis"
46
+ - "document_synthesis"
47
+ - "mcp_integration"
48
+ modes:
49
+ plan: "Plan mode with structured research"
50
+ context_limit: 200000
51
+
52
+ # AI Specialization (신규)
53
+ strengths:
54
+ - "심층 리서치"
55
+ - "문서 분석 및 요약"
56
+ - "기술 타당성 검토"
57
+ - "구조화된 보고서 작성"
58
+ best_for:
59
+ - "02-research"
60
+ temperature_range:
61
+ min: 0.2
62
+ max: 0.6
63
+ default: 0.4
64
+
65
+ # Gemini (Google)
66
+ gemini:
67
+ provider: "google"
68
+ cli_command: "gemini"
69
+ description: "Brainstorming and creative planning"
70
+ capabilities:
71
+ - "brainstorming"
72
+ - "creative_ideation"
73
+ - "web_access"
74
+ - "multimodal"
75
+ modes:
76
+ plan: "Plan mode for structured ideation"
77
+ yolo: "Free-form creative exploration"
78
+ invocation: "tmux"
79
+ wrapper_script: "scripts/gemini-wrapper.sh"
80
+
81
+ # AI Specialization (신규)
82
+ strengths:
83
+ - "창의적 아이디어 생성"
84
+ - "다양한 관점 탐색"
85
+ - "빠른 아이디어 발산"
86
+ - "시각적 콘텐츠 분석"
87
+ best_for:
88
+ - "01-brainstorm"
89
+ - "03-planning"
90
+ - "04-ui-ux"
91
+ temperature_range:
92
+ min: 0.7
93
+ max: 1.0
94
+ default: 0.9
95
+
96
+ # Codex (OpenAI)
97
+ codex:
98
+ provider: "openai"
99
+ cli_command: "codex"
100
+ description: "Code optimization and refactoring"
101
+ capabilities:
102
+ - "code_refactoring"
103
+ - "test_generation"
104
+ - "code_optimization"
105
+ - "deep_analysis"
106
+ modes:
107
+ deep_dive: "Deep code analysis mode"
108
+ sandbox_playwright: "Sandbox with E2E testing"
109
+ invocation: "tmux"
110
+ wrapper_script: "scripts/codex-wrapper.sh"
111
+
112
+ # AI Specialization (신규)
113
+ strengths:
114
+ - "깊이 있는 코드 분석"
115
+ - "리팩토링 및 최적화"
116
+ - "테스트 생성"
117
+ - "기술 부채 해소"
118
+ best_for:
119
+ - "07-refactoring"
120
+ - "09-testing"
121
+ temperature_range:
122
+ min: 0.2
123
+ max: 0.6
124
+ default: 0.5
125
+
126
+ # 동적 모델 선택 설정 (신규)
127
+ dynamic_selection:
128
+ enabled: true
129
+ description: "태스크 특성에 따른 최적 AI 모델 자동 선택"
130
+
131
+ criteria:
132
+ task_type:
133
+ weight: 0.4
134
+ mapping:
135
+ brainstorming: "gemini"
136
+ creative: "gemini"
137
+ planning: "gemini"
138
+ research: "claude"
139
+ analysis: "claude"
140
+ implementation: "claudecode"
141
+ debugging: "claudecode"
142
+ refactoring: "codex"
143
+ testing: "codex"
144
+ optimization: "codex"
145
+
146
+ complexity:
147
+ weight: 0.3
148
+ thresholds:
149
+ simple:
150
+ max_lines: 100
151
+ prefer: "claudecode"
152
+ moderate:
153
+ max_lines: 500
154
+ prefer: "claudecode"
155
+ complex:
156
+ max_lines: null
157
+ prefer: "claudecode"
158
+
159
+ previous_performance:
160
+ weight: 0.3
161
+ enabled: true
162
+ lookback_days: 7
163
+ min_samples: 3
164
+
165
+ override_rules:
166
+ # Stage assignment 우선
167
+ stage_assignment_priority: true
168
+ # 사용자 지정 우선
169
+ user_preference_priority: true
170
+
171
+ fallback:
172
+ default_model: "claudecode"
173
+ on_error: "claudecode"
174
+ on_timeout: "claudecode"
175
+
176
+ # Stage-to-Model Assignments
177
+ stage_assignments:
178
+ "01-brainstorm":
179
+ primary: "gemini"
180
+ secondary: "claudecode"
181
+ collaboration: "parallel"
182
+
183
+ "02-research":
184
+ primary: "claude"
185
+ secondary: null
186
+ collaboration: null
187
+
188
+ "03-planning":
189
+ primary: "gemini"
190
+ secondary: null
191
+ collaboration: null
192
+
193
+ "04-ui-ux":
194
+ primary: "gemini"
195
+ secondary: null
196
+ collaboration: null
197
+
198
+ "05-task-management":
199
+ primary: "claudecode"
200
+ secondary: null
201
+ collaboration: null
202
+
203
+ "06-implementation":
204
+ primary: "claudecode"
205
+ secondary: null
206
+ collaboration: null
207
+
208
+ "07-refactoring":
209
+ primary: "codex"
210
+ secondary: "claudecode"
211
+ collaboration: "sequential"
212
+
213
+ "08-qa":
214
+ primary: "claudecode"
215
+ secondary: null
216
+ collaboration: null
217
+
218
+ "09-testing":
219
+ primary: "codex"
220
+ secondary: null
221
+ collaboration: null
222
+
223
+ "10-deployment":
224
+ primary: "claudecode"
225
+ secondary: null
226
+ collaboration: null
227
+
228
+ # tmux Session Configuration
229
+ tmux:
230
+ gemini_session: "ax-gemini"
231
+ codex_session: "ax-codex"
232
+ output_timeout: 300 # 5 minutes default
233
+ capture_method: "wait-for" # Uses tmux wait-for for synchronization
234
+
235
+ # Provider Credentials (reference only - actual values in environment)
236
+ credentials:
237
+ anthropic:
238
+ env_var: "ANTHROPIC_API_KEY"
239
+ google:
240
+ env_var: "GOOGLE_API_KEY"
241
+ openai:
242
+ env_var: "OPENAI_API_KEY"