claude-symphony 0.0.7 → 0.0.8
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/package.json +1 -1
- package/template/CLAUDE.md +30 -0
- package/template/config/ai_collaboration.yaml +30 -15
- package/template/stages/01-brainstorm/CLAUDE.md +22 -0
- package/template/stages/03-planning/CLAUDE.md +22 -0
- package/template/stages/04-ui-ux/CLAUDE.md +22 -0
- package/template/stages/07-refactoring/CLAUDE.md +22 -0
- package/template/stages/09-testing/CLAUDE.md +22 -0
package/package.json
CHANGED
package/template/CLAUDE.md
CHANGED
|
@@ -411,6 +411,36 @@ state/
|
|
|
411
411
|
|
|
412
412
|
---
|
|
413
413
|
|
|
414
|
+
## Parallel AI Execution Policy
|
|
415
|
+
|
|
416
|
+
### Overview
|
|
417
|
+
All defined AI models execute the same task in parallel, and each output is synthesized to produce the final result.
|
|
418
|
+
|
|
419
|
+
### Execution Flow
|
|
420
|
+
1. **Parallel Execution**: Designated models perform the task simultaneously
|
|
421
|
+
2. **Individual Output**: Each model generates `output_modelName.md`
|
|
422
|
+
3. **Synthesis**: ClaudeCode analyzes all outputs and generates `final_output.md`
|
|
423
|
+
|
|
424
|
+
### Stage Model Assignment
|
|
425
|
+
|
|
426
|
+
| Stage | Parallel Models | Synthesizer | Output |
|
|
427
|
+
|-------|-----------------|-------------|--------|
|
|
428
|
+
| 01-brainstorm | Gemini + ClaudeCode | ClaudeCode | ideas.md |
|
|
429
|
+
| 03-planning | Gemini + ClaudeCode | ClaudeCode | architecture.md |
|
|
430
|
+
| 04-ui-ux | Gemini + ClaudeCode | ClaudeCode | wireframes.md |
|
|
431
|
+
| 07-refactoring | Codex + ClaudeCode | ClaudeCode | refactoring_report.md |
|
|
432
|
+
| 09-testing | Codex + ClaudeCode | ClaudeCode | tests/ |
|
|
433
|
+
|
|
434
|
+
> Single-model stages (02, 05, 06, 08, 10) maintain existing behavior
|
|
435
|
+
|
|
436
|
+
### Synthesis Criteria
|
|
437
|
+
1. **Extract Commonalities**: Prioritize content all models agree on
|
|
438
|
+
2. **Analyze Differences**: Compare pros/cons, select best approach
|
|
439
|
+
3. **Complementary Integration**: Merge unique insights from each model
|
|
440
|
+
4. **Quality Filtering**: Remove low-quality content
|
|
441
|
+
|
|
442
|
+
---
|
|
443
|
+
|
|
414
444
|
## Smart HANDOFF System
|
|
415
445
|
|
|
416
446
|
> Configuration files: `config/handoff_intelligence.yaml`, `config/memory_integration.yaml`
|
|
@@ -2,27 +2,42 @@
|
|
|
2
2
|
# Multi-AI orchestration modes and collaboration strategies
|
|
3
3
|
|
|
4
4
|
collaboration_modes:
|
|
5
|
-
# Parallel Execution: Execute same task with multiple AIs simultaneously
|
|
5
|
+
# Parallel Execution: Execute same task with multiple AIs simultaneously and synthesize
|
|
6
6
|
parallel_execution:
|
|
7
|
-
description: "Execute same task with multiple AIs simultaneously and
|
|
7
|
+
description: "Execute same task with multiple AIs simultaneously and synthesize"
|
|
8
8
|
enabled: true
|
|
9
9
|
|
|
10
10
|
stages:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
|
|
11
|
+
01-brainstorm:
|
|
12
|
+
parallel_models: [gemini, claudecode]
|
|
13
|
+
synthesizer: claudecode
|
|
14
|
+
output: ideas.md
|
|
15
|
+
03-planning:
|
|
16
|
+
parallel_models: [gemini, claudecode]
|
|
17
|
+
synthesizer: claudecode
|
|
18
|
+
output: architecture.md
|
|
19
|
+
04-ui-ux:
|
|
20
|
+
parallel_models: [gemini, claudecode]
|
|
21
|
+
synthesizer: claudecode
|
|
22
|
+
output: wireframes.md
|
|
23
|
+
07-refactoring:
|
|
24
|
+
parallel_models: [codex, claudecode]
|
|
25
|
+
synthesizer: claudecode
|
|
26
|
+
output: refactoring_report.md
|
|
27
|
+
09-testing:
|
|
28
|
+
parallel_models: [codex, claudecode]
|
|
29
|
+
synthesizer: claudecode
|
|
30
|
+
output: tests/
|
|
31
|
+
|
|
32
|
+
synthesis_criteria:
|
|
33
|
+
- extract_commonalities
|
|
34
|
+
- analyze_differences
|
|
35
|
+
- complementary_integration
|
|
36
|
+
- quality_filtering
|
|
17
37
|
|
|
18
38
|
merge_strategy:
|
|
19
|
-
type: "
|
|
20
|
-
|
|
21
|
-
- quality_score
|
|
22
|
-
- completeness
|
|
23
|
-
- creativity
|
|
24
|
-
require_human_review: true
|
|
25
|
-
auto_select_threshold: 0.85 # Auto-select when score is 85% or higher
|
|
39
|
+
type: "synthesis"
|
|
40
|
+
synthesizer: claudecode
|
|
26
41
|
|
|
27
42
|
# Sequential Handoff: Sequential transfer between AIs (review chain)
|
|
28
43
|
sequential_handoff:
|
|
@@ -38,6 +38,28 @@ Divergent idea generation and requirements exploration stage
|
|
|
38
38
|
- **Secondary**: ClaudeCode (structuring, feasibility review)
|
|
39
39
|
- **Mode**: YOLO (Container) - autonomous execution mode
|
|
40
40
|
|
|
41
|
+
## Parallel Execution Protocol
|
|
42
|
+
|
|
43
|
+
### Models
|
|
44
|
+
- **Primary**: Gemini (creative ideation)
|
|
45
|
+
- **Secondary**: ClaudeCode (structural organization)
|
|
46
|
+
|
|
47
|
+
### Execution
|
|
48
|
+
1. Gemini: Generate `output_gemini.md`
|
|
49
|
+
2. ClaudeCode: Generate `output_claudecode.md`
|
|
50
|
+
3. ClaudeCode (Synthesizer): Synthesize → `ideas.md`
|
|
51
|
+
|
|
52
|
+
### Output Files
|
|
53
|
+
- `output_gemini.md` - Gemini results
|
|
54
|
+
- `output_claudecode.md` - ClaudeCode results
|
|
55
|
+
- `ideas.md` - Final synthesized result
|
|
56
|
+
|
|
57
|
+
### Synthesis Criteria
|
|
58
|
+
1. Extract commonalities first
|
|
59
|
+
2. Analyze differences and select best
|
|
60
|
+
3. Integrate unique insights
|
|
61
|
+
4. Filter low-quality content
|
|
62
|
+
|
|
41
63
|
## Goals
|
|
42
64
|
1. Divergent ideation based on project brief
|
|
43
65
|
2. In-depth analysis of user requirements
|
|
@@ -33,6 +33,28 @@ System architecture and technology stack decision stage
|
|
|
33
33
|
- **Primary**: Gemini (architecture design, diagrams)
|
|
34
34
|
- **Mode**: Plan Mode - structured design
|
|
35
35
|
|
|
36
|
+
## Parallel Execution Protocol
|
|
37
|
+
|
|
38
|
+
### Models
|
|
39
|
+
- **Primary**: Gemini (architecture design)
|
|
40
|
+
- **Secondary**: ClaudeCode (technical validation)
|
|
41
|
+
|
|
42
|
+
### Execution
|
|
43
|
+
1. Gemini: Generate `output_gemini.md`
|
|
44
|
+
2. ClaudeCode: Generate `output_claudecode.md`
|
|
45
|
+
3. ClaudeCode (Synthesizer): Synthesize → `architecture.md`
|
|
46
|
+
|
|
47
|
+
### Output Files
|
|
48
|
+
- `output_gemini.md` - Gemini results
|
|
49
|
+
- `output_claudecode.md` - ClaudeCode results
|
|
50
|
+
- `architecture.md` - Final synthesized result
|
|
51
|
+
|
|
52
|
+
### Synthesis Criteria
|
|
53
|
+
1. Extract commonalities first
|
|
54
|
+
2. Analyze differences and select best
|
|
55
|
+
3. Integrate unique insights
|
|
56
|
+
4. Filter low-quality content
|
|
57
|
+
|
|
36
58
|
## Goals
|
|
37
59
|
1. System architecture design
|
|
38
60
|
2. Final technology stack decision
|
|
@@ -33,6 +33,28 @@ User interface and experience design stage
|
|
|
33
33
|
- **Primary**: Gemini (creative UI design)
|
|
34
34
|
- **Mode**: Plan Mode
|
|
35
35
|
|
|
36
|
+
## Parallel Execution Protocol
|
|
37
|
+
|
|
38
|
+
### Models
|
|
39
|
+
- **Primary**: Gemini (creative UI design)
|
|
40
|
+
- **Secondary**: ClaudeCode (UX validation)
|
|
41
|
+
|
|
42
|
+
### Execution
|
|
43
|
+
1. Gemini: Generate `output_gemini.md`
|
|
44
|
+
2. ClaudeCode: Generate `output_claudecode.md`
|
|
45
|
+
3. ClaudeCode (Synthesizer): Synthesize → `wireframes.md`
|
|
46
|
+
|
|
47
|
+
### Output Files
|
|
48
|
+
- `output_gemini.md` - Gemini results
|
|
49
|
+
- `output_claudecode.md` - ClaudeCode results
|
|
50
|
+
- `wireframes.md` - Final synthesized result
|
|
51
|
+
|
|
52
|
+
### Synthesis Criteria
|
|
53
|
+
1. Extract commonalities first
|
|
54
|
+
2. Analyze differences and select best
|
|
55
|
+
3. Integrate unique insights
|
|
56
|
+
4. Filter low-quality content
|
|
57
|
+
|
|
36
58
|
## Goals
|
|
37
59
|
1. Wireframe design
|
|
38
60
|
2. User flow definition
|
|
@@ -38,6 +38,28 @@ Code quality improvement and optimization stage
|
|
|
38
38
|
- **Secondary**: ClaudeCode (complex refactoring)
|
|
39
39
|
- **Mode**: Deep Dive - in-depth code analysis
|
|
40
40
|
|
|
41
|
+
## Parallel Execution Protocol
|
|
42
|
+
|
|
43
|
+
### Models
|
|
44
|
+
- **Primary**: Codex (code optimization)
|
|
45
|
+
- **Secondary**: ClaudeCode (code review)
|
|
46
|
+
|
|
47
|
+
### Execution
|
|
48
|
+
1. Codex: Generate `output_codex.md`
|
|
49
|
+
2. ClaudeCode: Generate `output_claudecode.md`
|
|
50
|
+
3. ClaudeCode (Synthesizer): Synthesize → `refactoring_report.md`
|
|
51
|
+
|
|
52
|
+
### Output Files
|
|
53
|
+
- `output_codex.md` - Codex results
|
|
54
|
+
- `output_claudecode.md` - ClaudeCode results
|
|
55
|
+
- `refactoring_report.md` - Final synthesized result
|
|
56
|
+
|
|
57
|
+
### Synthesis Criteria
|
|
58
|
+
1. Extract commonalities first
|
|
59
|
+
2. Analyze differences and select best
|
|
60
|
+
3. Integrate unique insights
|
|
61
|
+
4. Filter low-quality content
|
|
62
|
+
|
|
41
63
|
## Goals
|
|
42
64
|
1. Code quality improvement
|
|
43
65
|
2. Duplication removal
|
|
@@ -35,6 +35,28 @@ Test code writing and E2E testing stage
|
|
|
35
35
|
- **Mode**: Sandbox + Playwright
|
|
36
36
|
- **MCP**: playwright server integration
|
|
37
37
|
|
|
38
|
+
## Parallel Execution Protocol
|
|
39
|
+
|
|
40
|
+
### Models
|
|
41
|
+
- **Primary**: Codex (test generation)
|
|
42
|
+
- **Secondary**: ClaudeCode (test validation)
|
|
43
|
+
|
|
44
|
+
### Execution
|
|
45
|
+
1. Codex: Generate `output_codex.md`
|
|
46
|
+
2. ClaudeCode: Generate `output_claudecode.md`
|
|
47
|
+
3. ClaudeCode (Synthesizer): Synthesize → `tests/`
|
|
48
|
+
|
|
49
|
+
### Output Files
|
|
50
|
+
- `output_codex.md` - Codex results
|
|
51
|
+
- `output_claudecode.md` - ClaudeCode results
|
|
52
|
+
- `tests/` - Final synthesized test files
|
|
53
|
+
|
|
54
|
+
### Synthesis Criteria
|
|
55
|
+
1. Extract commonalities first
|
|
56
|
+
2. Analyze differences and select best
|
|
57
|
+
3. Integrate unique insights
|
|
58
|
+
4. Filter low-quality content
|
|
59
|
+
|
|
38
60
|
## Goals
|
|
39
61
|
1. Unit test writing
|
|
40
62
|
2. Integration test writing
|