claude-symphony 0.0.1 → 0.0.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.
- package/README.md +16 -12
- package/bin/create.js +80 -69
- package/package.json +1 -1
- package/template/.claude/commands/benchmark.md +32 -32
- package/template/.claude/commands/brainstorm.md +33 -33
- package/template/.claude/commands/checkpoint.md +42 -42
- package/template/.claude/commands/codex.md +52 -52
- package/template/.claude/commands/collaborate.md +47 -47
- package/template/.claude/commands/context.md +77 -77
- package/template/.claude/commands/deploy.md +50 -50
- package/template/.claude/commands/fork.md +46 -46
- package/template/.claude/commands/gemini.md +43 -43
- package/template/.claude/commands/handoff.md +42 -42
- package/template/.claude/commands/implement.md +42 -42
- package/template/.claude/commands/init-project.md +25 -25
- package/template/.claude/commands/next.md +67 -67
- package/template/.claude/commands/planning.md +38 -38
- package/template/.claude/commands/qa.md +47 -47
- package/template/.claude/commands/refactor.md +50 -50
- package/template/.claude/commands/research.md +31 -31
- package/template/.claude/commands/restore.md +53 -53
- package/template/.claude/commands/run-stage.md +45 -45
- package/template/.claude/commands/stages.md +49 -49
- package/template/.claude/commands/status.md +41 -41
- package/template/.claude/commands/tasks.md +33 -33
- package/template/.claude/commands/test.md +45 -45
- package/template/.claude/commands/ui-ux.md +31 -31
- package/template/.claude/commands/validate.md +81 -81
- package/template/.claude/hooks/ai-selector.sh +39 -39
- package/template/.claude/hooks/auto-checkpoint.sh +30 -30
- package/template/.claude/hooks/output-validator.sh +45 -45
- package/template/.claude/hooks/post-stage.sh +28 -28
- package/template/.claude/hooks/pre-stage.sh +47 -47
- package/template/.claude/hooks/session-start.sh +27 -27
- package/template/.claude/hooks/statusline.sh +24 -24
- package/template/.claude/hooks/stop.sh +26 -26
- package/template/.claude/settings.json +32 -32
- package/template/.claude/skills/ai-collaboration/README.md +31 -31
- package/template/.claude/skills/ai-collaboration/debate.md +66 -66
- package/template/.claude/skills/ai-collaboration/parallel.md +34 -34
- package/template/.claude/skills/ai-collaboration/prompts/CLAUDE.md +59 -63
- package/template/.claude/skills/auto-checkpoint/README.md +46 -46
- package/template/.claude/skills/auto-checkpoint/prompts/CLAUDE.md +68 -72
- package/template/.claude/skills/auto-checkpoint/rollback.md +95 -95
- package/template/.claude/skills/auto-checkpoint/trigger.md +37 -37
- package/template/.claude/skills/context-compression/README.md +69 -69
- package/template/.claude/skills/context-compression/analyze.md +74 -74
- package/template/.claude/skills/context-compression/compress.md +103 -103
- package/template/.claude/skills/context-compression/prompts/compression.md +78 -78
- package/template/.claude/skills/output-validator/README.md +33 -33
- package/template/.claude/skills/output-validator/prompts/CLAUDE.md +74 -78
- package/template/.claude/skills/output-validator/validate.md +76 -76
- package/template/.claude/skills/smart-handoff/README.md +35 -35
- package/template/.claude/skills/smart-handoff/extract.md +42 -42
- package/template/.claude/skills/smart-handoff/prompts/CLAUDE.md +52 -54
- package/template/.claude/skills/smart-handoff/summarize.md +55 -55
- package/template/.claude/skills/stage-transition/README.md +50 -50
- package/template/.claude/skills/stage-transition/handoff-gen.md +89 -89
- package/template/.claude/skills/stage-transition/prompts/transition.md +74 -74
- package/template/.claude/skills/stage-transition/validate.md +41 -41
- package/template/CLAUDE.md +334 -335
- package/template/config/ai_benchmarking.yaml +22 -22
- package/template/config/ai_collaboration.yaml +18 -18
- package/template/config/ai_logging.yaml +50 -50
- package/template/config/auto_checkpoint.yaml +32 -32
- package/template/config/context.yaml +20 -20
- package/template/config/git.yaml +51 -51
- package/template/config/handoff_intelligence.yaml +23 -23
- package/template/config/mcp_fallbacks.yaml +71 -71
- package/template/config/memory_integration.yaml +23 -23
- package/template/config/model_enforcement.yaml +53 -53
- package/template/config/models.yaml +24 -24
- package/template/config/output_validation.yaml +44 -44
- package/template/config/pipeline.yaml +25 -25
- package/template/config/pipeline_forking.yaml +40 -40
- package/template/config/qa_logging.yaml +67 -67
- package/template/config/smart_rollback.yaml +48 -48
- package/template/config/stage_personas.yaml +154 -154
- package/template/config/workflow.yaml +16 -16
- package/template/scripts/ai-benchmark.sh +41 -41
- package/template/scripts/codex-wrapper.sh +32 -32
- package/template/scripts/context-manager.sh +136 -136
- package/template/scripts/create-checkpoint.sh +34 -34
- package/template/scripts/gemini-wrapper.sh +31 -31
- package/template/scripts/init-project.sh +40 -40
- package/template/scripts/list-stages.sh +30 -30
- package/template/scripts/next-stage.sh +67 -67
- package/template/scripts/output-validate.sh +2 -2
- package/template/scripts/pipeline-fork.sh +68 -68
- package/template/scripts/pre-run-check.sh +84 -84
- package/template/scripts/restore-checkpoint.sh +50 -50
- package/template/scripts/run-stage.sh +44 -44
- package/template/scripts/show-status.sh +30 -30
- package/template/scripts/smart-handoff.sh +70 -70
- package/template/stages/01-brainstorm/CLAUDE.md +70 -74
- package/template/stages/01-brainstorm/README.md +54 -54
- package/template/stages/01-brainstorm/config.yaml +18 -18
- package/template/stages/01-brainstorm/prompts/collaboration.md +24 -24
- package/template/stages/01-brainstorm/prompts/ideation.md +41 -41
- package/template/stages/01-brainstorm/prompts/persona.md +50 -50
- package/template/stages/01-brainstorm/prompts/requirements.md +55 -55
- package/template/stages/01-brainstorm/prompts/validation.md +28 -28
- package/template/stages/01-brainstorm/templates/ideas.md +47 -47
- package/template/stages/01-brainstorm/templates/requirements_analysis.md +61 -61
- package/template/stages/02-research/CLAUDE.md +72 -76
- package/template/stages/02-research/config.yaml +12 -12
- package/template/stages/02-research/prompts/collaboration.md +29 -29
- package/template/stages/02-research/prompts/feasibility.md +38 -38
- package/template/stages/02-research/prompts/market_analysis.md +29 -29
- package/template/stages/02-research/prompts/tech_stack.md +34 -34
- package/template/stages/02-research/prompts/validation.md +29 -29
- package/template/stages/03-planning/CLAUDE.md +88 -92
- package/template/stages/03-planning/config.yaml +10 -10
- package/template/stages/03-planning/prompts/architecture.md +43 -43
- package/template/stages/03-planning/prompts/collaboration.md +34 -34
- package/template/stages/03-planning/prompts/validation.md +34 -34
- package/template/stages/04-ui-ux/CLAUDE.md +68 -72
- package/template/stages/04-ui-ux/config.yaml +5 -5
- package/template/stages/04-ui-ux/prompts/collaboration.md +35 -35
- package/template/stages/04-ui-ux/prompts/validation.md +30 -30
- package/template/stages/05-task-management/CLAUDE.md +81 -85
- package/template/stages/05-task-management/config.yaml +17 -17
- package/template/stages/05-task-management/prompts/collaboration.md +30 -30
- package/template/stages/05-task-management/prompts/validation.md +33 -33
- package/template/stages/05-task-management/templates/notion_integration.md +70 -70
- package/template/stages/05-task-management/templates/parallel_groups.yaml +64 -64
- package/template/stages/05-task-management/templates/task_schema.yaml +33 -33
- package/template/stages/06-implementation/CLAUDE.md +117 -121
- package/template/stages/06-implementation/config.yaml +10 -10
- package/template/stages/06-implementation/prompts/collaboration.md +29 -29
- package/template/stages/06-implementation/prompts/validation.md +36 -36
- package/template/stages/07-refactoring/CLAUDE.md +120 -124
- package/template/stages/07-refactoring/config.yaml +11 -11
- package/template/stages/07-refactoring/prompts/collaboration.md +36 -36
- package/template/stages/07-refactoring/prompts/validation.md +40 -40
- package/template/stages/08-qa/CLAUDE.md +80 -84
- package/template/stages/08-qa/config.yaml +7 -7
- package/template/stages/08-qa/prompts/collaboration.md +34 -34
- package/template/stages/08-qa/prompts/validation.md +41 -41
- package/template/stages/09-testing/CLAUDE.md +86 -90
- package/template/stages/09-testing/config.yaml +10 -10
- package/template/stages/09-testing/prompts/collaboration.md +38 -38
- package/template/stages/09-testing/prompts/validation.md +41 -41
- package/template/stages/10-deployment/CLAUDE.md +86 -90
- package/template/stages/10-deployment/config.yaml +11 -11
- package/template/stages/10-deployment/prompts/collaboration.md +37 -37
- package/template/stages/10-deployment/prompts/validation.md +54 -54
- package/template/stages/10-deployment/templates/github-actions-cd.yaml +1 -1
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
# MCP Fallback Configuration
|
|
2
|
-
# claude-symphony MCP
|
|
2
|
+
# claude-symphony MCP tool fallback settings (Issue #3 resolution)
|
|
3
3
|
|
|
4
4
|
mcp_fallbacks:
|
|
5
|
-
#
|
|
5
|
+
# Enable/disable
|
|
6
6
|
enabled: true
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Fallback trigger conditions
|
|
9
9
|
triggers:
|
|
10
|
-
- quota_exceeded #
|
|
11
|
-
- service_unavailable #
|
|
12
|
-
- timeout #
|
|
13
|
-
- rate_limited #
|
|
10
|
+
- quota_exceeded # Quota exceeded
|
|
11
|
+
- service_unavailable # Service unavailable
|
|
12
|
+
- timeout # Timeout
|
|
13
|
+
- rate_limited # Rate limited
|
|
14
14
|
|
|
15
|
-
#
|
|
15
|
+
# Search tool priority
|
|
16
16
|
search:
|
|
17
|
-
#
|
|
17
|
+
# Code/documentation search
|
|
18
18
|
code_documentation:
|
|
19
19
|
primary: "context7"
|
|
20
20
|
fallbacks:
|
|
21
21
|
- "exa"
|
|
22
22
|
- "web_search"
|
|
23
23
|
|
|
24
|
-
#
|
|
24
|
+
# Fallback rules
|
|
25
25
|
rules:
|
|
26
26
|
on_quota_exceeded: "use_fallback"
|
|
27
27
|
on_timeout: "retry_then_fallback"
|
|
28
28
|
retry_count: 2
|
|
29
29
|
retry_delay_ms: 1000
|
|
30
30
|
|
|
31
|
-
#
|
|
31
|
+
# Web search
|
|
32
32
|
web_search:
|
|
33
33
|
primary: "exa"
|
|
34
34
|
fallbacks:
|
|
@@ -38,13 +38,13 @@ search:
|
|
|
38
38
|
on_quota_exceeded: "use_fallback"
|
|
39
39
|
on_timeout: "use_fallback"
|
|
40
40
|
|
|
41
|
-
# Reddit
|
|
41
|
+
# Reddit/community search
|
|
42
42
|
community:
|
|
43
43
|
primary: "exa"
|
|
44
44
|
fallbacks:
|
|
45
45
|
- "web_search"
|
|
46
46
|
|
|
47
|
-
#
|
|
47
|
+
# Community search specific settings
|
|
48
48
|
settings:
|
|
49
49
|
include_domains:
|
|
50
50
|
- "reddit.com"
|
|
@@ -52,7 +52,7 @@ search:
|
|
|
52
52
|
- "dev.to"
|
|
53
53
|
- "stackoverflow.com"
|
|
54
54
|
|
|
55
|
-
#
|
|
55
|
+
# Browser/web tool priority
|
|
56
56
|
browser:
|
|
57
57
|
primary: "playwright"
|
|
58
58
|
fallbacks:
|
|
@@ -61,146 +61,146 @@ browser:
|
|
|
61
61
|
rules:
|
|
62
62
|
on_connection_failed: "use_fallback"
|
|
63
63
|
|
|
64
|
-
# Notion
|
|
64
|
+
# Notion tool (no fallback)
|
|
65
65
|
notion:
|
|
66
66
|
primary: "notion"
|
|
67
67
|
fallbacks: []
|
|
68
68
|
|
|
69
|
-
# Notion
|
|
69
|
+
# Notion has no fallback, notify only on error
|
|
70
70
|
on_error:
|
|
71
71
|
action: "notify_user"
|
|
72
|
-
message: "Notion
|
|
72
|
+
message: "Notion connection failed. Check MCP settings."
|
|
73
73
|
|
|
74
|
-
# Figma
|
|
74
|
+
# Figma tool (no fallback)
|
|
75
75
|
figma:
|
|
76
76
|
primary: "figma-dev-mode"
|
|
77
77
|
fallbacks: []
|
|
78
78
|
|
|
79
79
|
on_error:
|
|
80
80
|
action: "notify_user"
|
|
81
|
-
message: "Figma
|
|
81
|
+
message: "Figma connection failed. Check Dev Mode MCP settings."
|
|
82
82
|
|
|
83
|
-
#
|
|
83
|
+
# Stage-specific MCP priority
|
|
84
84
|
stage_preferences:
|
|
85
85
|
"01-brainstorm":
|
|
86
|
-
search: ["exa", "web_search"] #
|
|
87
|
-
reason: "
|
|
86
|
+
search: ["exa", "web_search"] # Web research focused
|
|
87
|
+
reason: "Exa preferred for community/idea search"
|
|
88
88
|
|
|
89
89
|
"02-research":
|
|
90
90
|
search: ["context7", "exa", "web_search"]
|
|
91
|
-
reason: "
|
|
91
|
+
reason: "Context7 preferred for technical documentation search"
|
|
92
92
|
|
|
93
93
|
"03-planning":
|
|
94
94
|
search: ["context7", "exa"]
|
|
95
|
-
reason: "
|
|
95
|
+
reason: "Architecture pattern/documentation search"
|
|
96
96
|
|
|
97
97
|
"04-ui-ux":
|
|
98
98
|
browser: ["figma-dev-mode", "playwright"]
|
|
99
99
|
search: ["exa", "web_search"]
|
|
100
|
-
reason: "UI
|
|
100
|
+
reason: "UI reference search"
|
|
101
101
|
|
|
102
102
|
"06-implementation":
|
|
103
103
|
search: ["context7"]
|
|
104
|
-
reason: "
|
|
104
|
+
reason: "Context7 required for library documentation search"
|
|
105
105
|
|
|
106
106
|
"09-testing":
|
|
107
107
|
browser: ["playwright", "chrome-devtools"]
|
|
108
|
-
reason: "
|
|
108
|
+
reason: "Playwright required for E2E testing"
|
|
109
109
|
|
|
110
|
-
#
|
|
110
|
+
# Status monitoring
|
|
111
111
|
monitoring:
|
|
112
|
-
#
|
|
112
|
+
# Quota warning
|
|
113
113
|
quota_warning:
|
|
114
114
|
threshold_percent: 80
|
|
115
115
|
action: "warn_user"
|
|
116
116
|
|
|
117
|
-
#
|
|
117
|
+
# Usage logging
|
|
118
118
|
usage_logging:
|
|
119
119
|
enabled: true
|
|
120
120
|
log_file: "state/mcp_usage.log"
|
|
121
121
|
|
|
122
|
-
#
|
|
122
|
+
# Error handling
|
|
123
123
|
error_handling:
|
|
124
|
-
#
|
|
124
|
+
# When all fallbacks fail
|
|
125
125
|
all_fallbacks_failed:
|
|
126
126
|
action: "notify_user_and_continue"
|
|
127
127
|
message: |
|
|
128
|
-
|
|
129
|
-
-
|
|
130
|
-
- MCP
|
|
128
|
+
All MCP search tools have failed.
|
|
129
|
+
- Proceed with manual search or
|
|
130
|
+
- Check MCP server status.
|
|
131
131
|
|
|
132
|
-
#
|
|
132
|
+
# Fatal error
|
|
133
133
|
fatal_error:
|
|
134
134
|
action: "save_state_and_notify"
|
|
135
|
-
message: "MCP
|
|
135
|
+
message: "MCP fatal error. Save state and restart session."
|
|
136
136
|
|
|
137
137
|
# =============================================================================
|
|
138
|
-
# AI
|
|
138
|
+
# AI Model Fallback Settings (External AI: Gemini, Codex)
|
|
139
139
|
# =============================================================================
|
|
140
140
|
ai_model_fallbacks:
|
|
141
141
|
enabled: true
|
|
142
|
-
description: "
|
|
142
|
+
description: "Auto-fallback to ClaudeCode when external AI CLI fails"
|
|
143
143
|
|
|
144
|
-
#
|
|
144
|
+
# Fallback trigger conditions
|
|
145
145
|
triggers:
|
|
146
|
-
- cli_not_installed # CLI
|
|
147
|
-
- authentication_failed #
|
|
148
|
-
- api_timeout # API
|
|
149
|
-
- rate_limited #
|
|
150
|
-
- service_error #
|
|
146
|
+
- cli_not_installed # CLI not installed
|
|
147
|
+
- authentication_failed # Authentication failed
|
|
148
|
+
- api_timeout # API timeout
|
|
149
|
+
- rate_limited # Rate limited
|
|
150
|
+
- service_error # Service error
|
|
151
151
|
|
|
152
|
-
#
|
|
152
|
+
# Stage-specific AI fallback settings
|
|
153
153
|
stage_fallbacks:
|
|
154
154
|
"01-brainstorm":
|
|
155
155
|
primary: "gemini"
|
|
156
156
|
fallback: "claudecode"
|
|
157
|
-
fallback_reason_template: "Gemini CLI
|
|
157
|
+
fallback_reason_template: "Gemini CLI call failed: {{ERROR}} - Fallback to ClaudeCode"
|
|
158
158
|
|
|
159
159
|
"03-planning":
|
|
160
160
|
primary: "gemini"
|
|
161
161
|
fallback: "claudecode"
|
|
162
|
-
fallback_reason_template: "Gemini CLI
|
|
162
|
+
fallback_reason_template: "Gemini CLI call failed: {{ERROR}} - Fallback to ClaudeCode"
|
|
163
163
|
|
|
164
164
|
"04-ui-ux":
|
|
165
165
|
primary: "gemini"
|
|
166
166
|
fallback: "claudecode"
|
|
167
|
-
fallback_reason_template: "Gemini CLI
|
|
167
|
+
fallback_reason_template: "Gemini CLI call failed: {{ERROR}} - Fallback to ClaudeCode"
|
|
168
168
|
|
|
169
169
|
"07-refactoring":
|
|
170
170
|
primary: "codex"
|
|
171
171
|
fallback: "claudecode"
|
|
172
|
-
fallback_reason_template: "Codex CLI
|
|
172
|
+
fallback_reason_template: "Codex CLI call failed: {{ERROR}} - Fallback to ClaudeCode"
|
|
173
173
|
|
|
174
174
|
"09-testing":
|
|
175
175
|
primary: "codex"
|
|
176
176
|
fallback: "claudecode"
|
|
177
|
-
fallback_reason_template: "Codex CLI
|
|
177
|
+
fallback_reason_template: "Codex CLI call failed: {{ERROR}} - Fallback to ClaudeCode"
|
|
178
178
|
|
|
179
|
-
#
|
|
179
|
+
# Fallback behavior settings
|
|
180
180
|
behavior:
|
|
181
|
-
#
|
|
181
|
+
# Auto fallback enabled
|
|
182
182
|
auto_fallback: true
|
|
183
183
|
|
|
184
|
-
#
|
|
184
|
+
# Retry settings
|
|
185
185
|
retry:
|
|
186
186
|
enabled: true
|
|
187
187
|
max_attempts: 2
|
|
188
188
|
delay_ms: 3000
|
|
189
189
|
|
|
190
|
-
#
|
|
190
|
+
# Show warning before fallback
|
|
191
191
|
show_warning_before_fallback: true
|
|
192
192
|
warning_message: |
|
|
193
|
-
|
|
194
|
-
-
|
|
195
|
-
-
|
|
193
|
+
External AI {{PRIMARY_MODEL}} call failed
|
|
194
|
+
- Error: {{ERROR_MESSAGE}}
|
|
195
|
+
- Fallback: Continuing with {{FALLBACK_MODEL}}
|
|
196
196
|
|
|
197
|
-
#
|
|
197
|
+
# Fallback logging (included in HANDOFF.md)
|
|
198
198
|
logging:
|
|
199
199
|
enabled: true
|
|
200
200
|
log_file: "state/ai_fallback.log"
|
|
201
201
|
include_in_handoff: true
|
|
202
202
|
|
|
203
|
-
#
|
|
203
|
+
# Recording format
|
|
204
204
|
format:
|
|
205
205
|
timestamp: true
|
|
206
206
|
stage: true
|
|
@@ -209,44 +209,44 @@ ai_model_fallbacks:
|
|
|
209
209
|
error_reason: true
|
|
210
210
|
result: true
|
|
211
211
|
|
|
212
|
-
# HANDOFF.md
|
|
212
|
+
# HANDOFF.md fallback section template
|
|
213
213
|
handoff_template: |
|
|
214
|
-
###
|
|
214
|
+
### Fallback Log
|
|
215
215
|
|
|
216
|
-
|
|
|
217
|
-
|
|
216
|
+
| Attempted AI | Failure Time | Error | Fallback AI | Result |
|
|
217
|
+
|--------------|--------------|-------|-------------|--------|
|
|
218
218
|
{{#each FALLBACK_EVENTS}}
|
|
219
219
|
| {{this.attempted_model}} | {{this.failure_time}} | {{this.error}} | {{this.fallback_model}} | {{this.result}} |
|
|
220
220
|
{{/each}}
|
|
221
221
|
|
|
222
|
-
#
|
|
222
|
+
# Pre-run check script integration
|
|
223
223
|
pre_run_check:
|
|
224
224
|
enabled: true
|
|
225
225
|
script: "scripts/pre-run-check.sh"
|
|
226
226
|
|
|
227
|
-
#
|
|
227
|
+
# Check items
|
|
228
228
|
checks:
|
|
229
229
|
- name: "gemini_cli"
|
|
230
230
|
command: "which gemini"
|
|
231
231
|
on_failure: "warn"
|
|
232
|
-
message: "Gemini CLI
|
|
232
|
+
message: "Gemini CLI not installed - ClaudeCode fallback expected for stages 01, 03, 04"
|
|
233
233
|
|
|
234
234
|
- name: "codex_cli"
|
|
235
235
|
command: "which codex"
|
|
236
236
|
on_failure: "warn"
|
|
237
|
-
message: "Codex CLI
|
|
237
|
+
message: "Codex CLI not installed - ClaudeCode fallback expected for stages 07, 09"
|
|
238
238
|
|
|
239
239
|
- name: "tmux"
|
|
240
240
|
command: "which tmux"
|
|
241
241
|
on_failure: "error"
|
|
242
|
-
message: "tmux
|
|
242
|
+
message: "tmux not installed - External AI calls not possible"
|
|
243
243
|
|
|
244
244
|
- name: "gemini_wrapper"
|
|
245
245
|
command: "test -x scripts/gemini-wrapper.sh"
|
|
246
246
|
on_failure: "warn"
|
|
247
|
-
message: "gemini-wrapper.sh
|
|
247
|
+
message: "gemini-wrapper.sh not executable"
|
|
248
248
|
|
|
249
249
|
- name: "codex_wrapper"
|
|
250
250
|
command: "test -x scripts/codex-wrapper.sh"
|
|
251
251
|
on_failure: "warn"
|
|
252
|
-
message: "codex-wrapper.sh
|
|
252
|
+
message: "codex-wrapper.sh not executable"
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
|
|
4
4
|
memory_integration:
|
|
5
5
|
enabled: true
|
|
6
|
-
description: "AI
|
|
6
|
+
description: "AI memory system integration and context synchronization"
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Supported memory providers
|
|
9
9
|
providers:
|
|
10
10
|
claude_mem:
|
|
11
11
|
enabled: true
|
|
12
|
-
description: "Claude Memory MCP
|
|
12
|
+
description: "Claude Memory MCP server integration"
|
|
13
13
|
|
|
14
|
-
#
|
|
14
|
+
# Sync triggers
|
|
15
15
|
sync_on:
|
|
16
16
|
- "stage_complete"
|
|
17
17
|
- "session_end"
|
|
18
18
|
- "checkpoint_create"
|
|
19
19
|
- "critical_decision"
|
|
20
20
|
|
|
21
|
-
#
|
|
21
|
+
# Storage settings
|
|
22
22
|
storage:
|
|
23
23
|
project_prefix: "claude-symphony"
|
|
24
24
|
observation_types:
|
|
@@ -27,17 +27,17 @@ memory_integration:
|
|
|
27
27
|
- "feature"
|
|
28
28
|
- "bugfix"
|
|
29
29
|
|
|
30
|
-
#
|
|
30
|
+
# Search settings
|
|
31
31
|
search:
|
|
32
32
|
default_limit: 10
|
|
33
33
|
include_timeline: true
|
|
34
34
|
|
|
35
|
-
#
|
|
35
|
+
# Other providers for future extension
|
|
36
36
|
external_memory:
|
|
37
37
|
enabled: false
|
|
38
38
|
provider: null
|
|
39
39
|
|
|
40
|
-
# HANDOFF
|
|
40
|
+
# HANDOFF-memory synchronization
|
|
41
41
|
handoff_memory_sync:
|
|
42
42
|
on_stage_complete:
|
|
43
43
|
- action: "save_to_memory"
|
|
@@ -88,10 +88,10 @@ memory_integration:
|
|
|
88
88
|
days: 7
|
|
89
89
|
inject_to: "session_context"
|
|
90
90
|
|
|
91
|
-
#
|
|
91
|
+
# Context injection settings
|
|
92
92
|
context_injection:
|
|
93
93
|
enabled: true
|
|
94
|
-
description: "
|
|
94
|
+
description: "Auto-inject relevant context from memory"
|
|
95
95
|
|
|
96
96
|
triggers:
|
|
97
97
|
on_task_start:
|
|
@@ -115,7 +115,7 @@ memory_integration:
|
|
|
115
115
|
- **Date**: {{date}}
|
|
116
116
|
> {{content}}
|
|
117
117
|
|
|
118
|
-
#
|
|
118
|
+
# Memory cleanup policy
|
|
119
119
|
cleanup_policy:
|
|
120
120
|
auto_cleanup: true
|
|
121
121
|
|
|
@@ -129,14 +129,14 @@ memory_integration:
|
|
|
129
129
|
enabled: true
|
|
130
130
|
similarity_threshold: 0.85
|
|
131
131
|
|
|
132
|
-
#
|
|
132
|
+
# Session context recovery
|
|
133
133
|
session_recovery:
|
|
134
134
|
enabled: true
|
|
135
|
-
description: "
|
|
135
|
+
description: "Automatic previous session context recovery"
|
|
136
136
|
|
|
137
137
|
on_session_start:
|
|
138
138
|
auto_load: true
|
|
139
|
-
prompt_user: false # true
|
|
139
|
+
prompt_user: false # true to ask user for confirmation
|
|
140
140
|
|
|
141
141
|
load_order:
|
|
142
142
|
- last_handoff
|
|
@@ -146,22 +146,22 @@ session_recovery:
|
|
|
146
146
|
recovery_prompt:
|
|
147
147
|
enabled: true
|
|
148
148
|
template: |
|
|
149
|
-
##
|
|
149
|
+
## Previous Session Context Recovered
|
|
150
150
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
151
|
+
**Last Stage**: {{last_stage}}
|
|
152
|
+
**Last Task**: {{last_task}}
|
|
153
|
+
**Status**: {{status}}
|
|
154
154
|
|
|
155
|
-
###
|
|
155
|
+
### Key Context
|
|
156
156
|
{{key_context}}
|
|
157
157
|
|
|
158
|
-
###
|
|
158
|
+
### Next Steps
|
|
159
159
|
{{next_steps}}
|
|
160
160
|
|
|
161
|
-
#
|
|
161
|
+
# Cross-stage learning
|
|
162
162
|
cross_stage_learning:
|
|
163
163
|
enabled: true
|
|
164
|
-
description: "
|
|
164
|
+
description: "Inter-stage learning and pattern recognition"
|
|
165
165
|
|
|
166
166
|
patterns:
|
|
167
167
|
track:
|
|
@@ -182,7 +182,7 @@ cross_stage_learning:
|
|
|
182
182
|
- time_taken
|
|
183
183
|
- iterations_needed
|
|
184
184
|
|
|
185
|
-
#
|
|
185
|
+
# Integration verification
|
|
186
186
|
integration_checks:
|
|
187
187
|
on_startup:
|
|
188
188
|
- check_memory_connection
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# AI Model Enforcement Configuration
|
|
2
|
-
# claude-symphony AI
|
|
2
|
+
# claude-symphony AI model role distribution and enforcement settings
|
|
3
3
|
|
|
4
4
|
model_enforcement:
|
|
5
5
|
enabled: true
|
|
6
6
|
|
|
7
|
-
# ClaudeCode
|
|
7
|
+
# ClaudeCode direct handling (no external AI call needed)
|
|
8
8
|
claudecode_direct:
|
|
9
9
|
operations:
|
|
10
10
|
- "npm run lint"
|
|
@@ -15,38 +15,38 @@ model_enforcement:
|
|
|
15
15
|
- "git add"
|
|
16
16
|
- "git commit"
|
|
17
17
|
- "ls/cat/find"
|
|
18
|
-
- "
|
|
19
|
-
- "
|
|
20
|
-
- "
|
|
21
|
-
- "
|
|
18
|
+
- "File reading"
|
|
19
|
+
- "Simple modifications (< 10 lines)"
|
|
20
|
+
- "Config file editing"
|
|
21
|
+
- "Documentation writing/editing"
|
|
22
22
|
|
|
23
23
|
characteristics:
|
|
24
24
|
- max_lines_change: 10
|
|
25
25
|
- complexity: "low"
|
|
26
26
|
- no_architectural_impact: true
|
|
27
27
|
|
|
28
|
-
#
|
|
28
|
+
# External AI call required
|
|
29
29
|
external_ai_required:
|
|
30
|
-
# Gemini
|
|
30
|
+
# Gemini required tasks
|
|
31
31
|
gemini_tasks:
|
|
32
|
-
- "
|
|
33
|
-
- "
|
|
34
|
-
- "
|
|
35
|
-
- "
|
|
36
|
-
- "
|
|
37
|
-
- "UI/UX
|
|
38
|
-
|
|
39
|
-
# Codex
|
|
32
|
+
- "Divergent idea generation"
|
|
33
|
+
- "Creative brainstorming"
|
|
34
|
+
- "Web research (Reddit, HackerNews)"
|
|
35
|
+
- "Market research"
|
|
36
|
+
- "User persona creation"
|
|
37
|
+
- "UI/UX design ideas"
|
|
38
|
+
|
|
39
|
+
# Codex required tasks
|
|
40
40
|
codex_tasks:
|
|
41
|
-
- "
|
|
42
|
-
- "
|
|
43
|
-
- "
|
|
44
|
-
- "
|
|
45
|
-
- "
|
|
46
|
-
- "
|
|
47
|
-
- "E2E
|
|
48
|
-
|
|
49
|
-
#
|
|
41
|
+
- "Code refactoring (> 10 lines)"
|
|
42
|
+
- "Performance optimization"
|
|
43
|
+
- "Complex bug fixes"
|
|
44
|
+
- "Architecture improvements"
|
|
45
|
+
- "Design pattern application"
|
|
46
|
+
- "Test code generation"
|
|
47
|
+
- "E2E test writing"
|
|
48
|
+
|
|
49
|
+
# Stage-specific auto-invoke settings
|
|
50
50
|
stage_auto_invoke:
|
|
51
51
|
"01-brainstorm":
|
|
52
52
|
model: "gemini"
|
|
@@ -85,57 +85,57 @@ stage_auto_invoke:
|
|
|
85
85
|
wrapper: "scripts/codex-wrapper.sh"
|
|
86
86
|
flags: "--full-auto"
|
|
87
87
|
|
|
88
|
-
#
|
|
88
|
+
# Role distribution guidelines
|
|
89
89
|
role_guidelines:
|
|
90
90
|
claudecode:
|
|
91
91
|
strengths:
|
|
92
|
-
- "
|
|
93
|
-
- "
|
|
94
|
-
- "Git
|
|
95
|
-
- "
|
|
96
|
-
- "
|
|
92
|
+
- "File system operations"
|
|
93
|
+
- "Build/test execution"
|
|
94
|
+
- "Git operations"
|
|
95
|
+
- "Documentation structuring"
|
|
96
|
+
- "Code review (reading)"
|
|
97
97
|
avoid:
|
|
98
|
-
- "
|
|
99
|
-
- "
|
|
100
|
-
- "
|
|
98
|
+
- "Large-scale code generation"
|
|
99
|
+
- "Creative idea requests"
|
|
100
|
+
- "Web research-based tasks"
|
|
101
101
|
|
|
102
102
|
gemini:
|
|
103
103
|
strengths:
|
|
104
|
-
- "
|
|
105
|
-
- "
|
|
106
|
-
- "
|
|
107
|
-
- "UI/UX
|
|
104
|
+
- "Creative ideas"
|
|
105
|
+
- "Web research"
|
|
106
|
+
- "Market analysis"
|
|
107
|
+
- "UI/UX concepts"
|
|
108
108
|
avoid:
|
|
109
|
-
- "
|
|
110
|
-
- "
|
|
111
|
-
- "Git
|
|
109
|
+
- "Code writing/editing"
|
|
110
|
+
- "File system operations"
|
|
111
|
+
- "Git operations"
|
|
112
112
|
|
|
113
113
|
codex:
|
|
114
114
|
strengths:
|
|
115
|
-
- "
|
|
116
|
-
- "
|
|
117
|
-
- "
|
|
118
|
-
- "
|
|
115
|
+
- "Code writing/editing"
|
|
116
|
+
- "Refactoring"
|
|
117
|
+
- "Test writing"
|
|
118
|
+
- "Bug fixing"
|
|
119
119
|
avoid:
|
|
120
|
-
- "
|
|
121
|
-
- "
|
|
122
|
-
- "
|
|
120
|
+
- "Creative ideas"
|
|
121
|
+
- "Web research"
|
|
122
|
+
- "Documentation writing"
|
|
123
123
|
|
|
124
|
-
#
|
|
124
|
+
# Enforcement validation
|
|
125
125
|
enforcement_validation:
|
|
126
126
|
warn_on_violation: true
|
|
127
127
|
block_on_violation: false
|
|
128
128
|
|
|
129
|
-
#
|
|
129
|
+
# Violation detection rules
|
|
130
130
|
violation_rules:
|
|
131
131
|
- condition: "refactoring_without_codex"
|
|
132
132
|
stage: "07-refactoring"
|
|
133
|
-
message: "
|
|
133
|
+
message: "Refactoring tasks should be performed through Codex. Use /codex command"
|
|
134
134
|
|
|
135
135
|
- condition: "brainstorm_without_gemini"
|
|
136
136
|
stage: "01-brainstorm"
|
|
137
|
-
message: "
|
|
137
|
+
message: "Idea generation should be performed through Gemini. Use /gemini command"
|
|
138
138
|
|
|
139
139
|
- condition: "large_code_change_direct"
|
|
140
140
|
threshold_lines: 10
|
|
141
|
-
message: "
|
|
141
|
+
message: "For code changes over 10 lines, using Codex is recommended."
|