claude-symphony 0.0.1 → 0.0.3
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/assets/claude_symphony.webp +0 -0
- package/assets/claude_symphony_ascii.txt +8 -0
- package/bin/create.js +80 -69
- package/package.json +3 -2
- 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
|
@@ -3,39 +3,39 @@
|
|
|
3
3
|
|
|
4
4
|
pipeline_forking:
|
|
5
5
|
enabled: true
|
|
6
|
-
description: "
|
|
6
|
+
description: "Explore diverse approaches simultaneously through pipeline forking"
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Fork point definitions
|
|
9
9
|
fork_points:
|
|
10
10
|
planning_stage:
|
|
11
11
|
stage: "03-planning"
|
|
12
12
|
condition: "multiple_architectures_proposed"
|
|
13
|
-
description: "
|
|
13
|
+
description: "Fork to explore each architecture when multiple are proposed"
|
|
14
14
|
auto_fork: false
|
|
15
15
|
max_forks: 3
|
|
16
16
|
|
|
17
17
|
implementation_stage:
|
|
18
18
|
stage: "06-implementation"
|
|
19
19
|
condition: "alternative_approaches"
|
|
20
|
-
description: "
|
|
20
|
+
description: "Parallel exploration when multiple implementation approaches exist"
|
|
21
21
|
auto_fork: false
|
|
22
22
|
max_forks: 2
|
|
23
23
|
|
|
24
24
|
refactoring_stage:
|
|
25
25
|
stage: "07-refactoring"
|
|
26
26
|
condition: "optimization_tradeoffs"
|
|
27
|
-
description: "
|
|
27
|
+
description: "Compare when multiple optimization directions exist"
|
|
28
28
|
auto_fork: false
|
|
29
29
|
max_forks: 2
|
|
30
30
|
|
|
31
|
-
#
|
|
31
|
+
# Auto fork triggers
|
|
32
32
|
auto_fork_triggers:
|
|
33
|
-
enabled: false #
|
|
33
|
+
enabled: false # Manual forking by default
|
|
34
34
|
|
|
35
35
|
conditions:
|
|
36
36
|
confidence_threshold:
|
|
37
37
|
enabled: true
|
|
38
|
-
threshold: 0.6 #
|
|
38
|
+
threshold: 0.6 # When confidence is below 60%
|
|
39
39
|
action: "suggest_fork"
|
|
40
40
|
|
|
41
41
|
multiple_solutions:
|
|
@@ -51,7 +51,7 @@ pipeline_forking:
|
|
|
51
51
|
- "breaking_change"
|
|
52
52
|
action: "require_fork"
|
|
53
53
|
|
|
54
|
-
#
|
|
54
|
+
# Fork management
|
|
55
55
|
fork_management:
|
|
56
56
|
max_active_forks: 3
|
|
57
57
|
naming_convention: "fork_{{stage}}_{{variant}}_{{timestamp}}"
|
|
@@ -63,22 +63,22 @@ pipeline_forking:
|
|
|
63
63
|
isolation:
|
|
64
64
|
separate_state: true
|
|
65
65
|
separate_outputs: true
|
|
66
|
-
shared_inputs: true #
|
|
66
|
+
shared_inputs: true # Inputs are shared
|
|
67
67
|
|
|
68
|
-
#
|
|
68
|
+
# Fork state tracking
|
|
69
69
|
tracking:
|
|
70
70
|
progress: true
|
|
71
71
|
metrics: true
|
|
72
72
|
comparison_points: true
|
|
73
73
|
|
|
74
|
-
#
|
|
74
|
+
# Merge strategy
|
|
75
75
|
merge_strategy:
|
|
76
76
|
primary: "best_performer"
|
|
77
77
|
fallback: "manual_selection"
|
|
78
78
|
|
|
79
79
|
strategies:
|
|
80
80
|
best_performer:
|
|
81
|
-
description: "
|
|
81
|
+
description: "Select best performing fork based on metrics"
|
|
82
82
|
criteria:
|
|
83
83
|
- metric: "code_quality"
|
|
84
84
|
weight: 0.3
|
|
@@ -90,15 +90,15 @@ pipeline_forking:
|
|
|
90
90
|
weight: 0.2
|
|
91
91
|
|
|
92
92
|
manual_selection:
|
|
93
|
-
description: "
|
|
93
|
+
description: "User selects fork directly"
|
|
94
94
|
require_justification: true
|
|
95
95
|
|
|
96
96
|
cherry_pick:
|
|
97
|
-
description: "
|
|
97
|
+
description: "Select optimal parts from multiple forks"
|
|
98
98
|
supported: true
|
|
99
99
|
complexity: "high"
|
|
100
100
|
|
|
101
|
-
#
|
|
101
|
+
# Comparison settings
|
|
102
102
|
comparison:
|
|
103
103
|
enabled: true
|
|
104
104
|
|
|
@@ -129,46 +129,46 @@ pipeline_forking:
|
|
|
129
129
|
- "radar_chart"
|
|
130
130
|
- "bar_comparison"
|
|
131
131
|
|
|
132
|
-
#
|
|
132
|
+
# Fork creation process
|
|
133
133
|
creation_process:
|
|
134
134
|
steps:
|
|
135
135
|
- name: "validate_fork_point"
|
|
136
|
-
description: "
|
|
136
|
+
description: "Validate fork point"
|
|
137
137
|
|
|
138
138
|
- name: "create_fork_directory"
|
|
139
|
-
description: "
|
|
139
|
+
description: "Create fork directory"
|
|
140
140
|
|
|
141
141
|
- name: "copy_current_state"
|
|
142
|
-
description: "
|
|
142
|
+
description: "Copy current state"
|
|
143
143
|
|
|
144
144
|
- name: "initialize_fork_config"
|
|
145
|
-
description: "
|
|
145
|
+
description: "Initialize fork configuration"
|
|
146
146
|
|
|
147
147
|
- name: "create_fork_handoff"
|
|
148
|
-
description: "
|
|
148
|
+
description: "Create fork HANDOFF"
|
|
149
149
|
|
|
150
150
|
- name: "register_fork"
|
|
151
|
-
description: "
|
|
151
|
+
description: "Register fork"
|
|
152
152
|
|
|
153
153
|
fork_handoff_template: |
|
|
154
154
|
# Fork HANDOFF - {{fork_name}}
|
|
155
155
|
|
|
156
|
-
##
|
|
157
|
-
-
|
|
158
|
-
-
|
|
159
|
-
-
|
|
160
|
-
-
|
|
156
|
+
## Fork Information
|
|
157
|
+
- **Source Stage**: {{source_stage}}
|
|
158
|
+
- **Fork Reason**: {{fork_reason}}
|
|
159
|
+
- **Fork Time**: {{timestamp}}
|
|
160
|
+
- **Exploration Direction**: {{exploration_direction}}
|
|
161
161
|
|
|
162
|
-
##
|
|
162
|
+
## Fork Objectives
|
|
163
163
|
{{objectives}}
|
|
164
164
|
|
|
165
|
-
##
|
|
165
|
+
## Evaluation Criteria
|
|
166
166
|
{{evaluation_criteria}}
|
|
167
167
|
|
|
168
|
-
##
|
|
168
|
+
## Merge Conditions
|
|
169
169
|
{{merge_conditions}}
|
|
170
170
|
|
|
171
|
-
#
|
|
171
|
+
# Fork execution
|
|
172
172
|
execution:
|
|
173
173
|
parallel_execution:
|
|
174
174
|
enabled: true
|
|
@@ -182,9 +182,9 @@ execution:
|
|
|
182
182
|
- "stage_complete"
|
|
183
183
|
- "milestone_reached"
|
|
184
184
|
|
|
185
|
-
timeout_minutes: 120 #
|
|
185
|
+
timeout_minutes: 120 # Maximum fork execution time
|
|
186
186
|
|
|
187
|
-
#
|
|
187
|
+
# Cleanup policy
|
|
188
188
|
cleanup:
|
|
189
189
|
auto_cleanup: true
|
|
190
190
|
|
|
@@ -198,25 +198,25 @@ cleanup:
|
|
|
198
198
|
keep_abandoned: false
|
|
199
199
|
retention_days: 7
|
|
200
200
|
|
|
201
|
-
#
|
|
201
|
+
# Notification settings
|
|
202
202
|
notifications:
|
|
203
203
|
on_fork_create:
|
|
204
204
|
enabled: true
|
|
205
|
-
message: "
|
|
205
|
+
message: "Pipeline fork created: {{fork_name}}"
|
|
206
206
|
|
|
207
207
|
on_fork_complete:
|
|
208
208
|
enabled: true
|
|
209
|
-
message: "
|
|
209
|
+
message: "Fork complete: {{fork_name}} - {{status}}"
|
|
210
210
|
|
|
211
211
|
on_comparison_ready:
|
|
212
212
|
enabled: true
|
|
213
|
-
message: "
|
|
213
|
+
message: "Fork comparison ready. {{fork_count}} forks available for comparison"
|
|
214
214
|
|
|
215
215
|
on_merge:
|
|
216
216
|
enabled: true
|
|
217
|
-
message: "
|
|
217
|
+
message: "Fork merge complete: {{selected_fork}} selected"
|
|
218
218
|
|
|
219
|
-
#
|
|
219
|
+
# Integration settings
|
|
220
220
|
integration:
|
|
221
221
|
git:
|
|
222
222
|
create_branches: true
|
|
@@ -1,103 +1,103 @@
|
|
|
1
1
|
# Q&A Logging Configuration
|
|
2
|
-
# claude-symphony
|
|
2
|
+
# claude-symphony Q&A auto-recording rules (Q7 resolution)
|
|
3
3
|
|
|
4
4
|
qa_logging:
|
|
5
|
-
#
|
|
5
|
+
# Enable/disable
|
|
6
6
|
enabled: true
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Target file for recording
|
|
9
9
|
target_file: "feedback.md"
|
|
10
10
|
|
|
11
|
-
#
|
|
11
|
+
# Backup location
|
|
12
12
|
backup_dir: "state/qa_backups/"
|
|
13
13
|
|
|
14
|
-
#
|
|
14
|
+
# Recording triggers
|
|
15
15
|
triggers:
|
|
16
|
-
#
|
|
16
|
+
# Automatic triggers
|
|
17
17
|
automatic:
|
|
18
18
|
- event: "stage_complete"
|
|
19
|
-
description: "
|
|
19
|
+
description: "On stage completion"
|
|
20
20
|
priority: "high"
|
|
21
21
|
|
|
22
22
|
- event: "issue_discovered"
|
|
23
|
-
description: "
|
|
23
|
+
description: "On new issue discovery"
|
|
24
24
|
priority: "high"
|
|
25
25
|
|
|
26
26
|
- event: "process_change_request"
|
|
27
|
-
description: "
|
|
27
|
+
description: "On process change request"
|
|
28
28
|
priority: "medium"
|
|
29
29
|
|
|
30
30
|
- event: "tool_failure"
|
|
31
|
-
description: "
|
|
31
|
+
description: "On tool failure"
|
|
32
32
|
priority: "high"
|
|
33
33
|
|
|
34
34
|
- event: "workaround_found"
|
|
35
|
-
description: "
|
|
35
|
+
description: "On workaround discovery"
|
|
36
36
|
priority: "medium"
|
|
37
37
|
|
|
38
|
-
#
|
|
38
|
+
# Manual trigger command
|
|
39
39
|
manual:
|
|
40
40
|
command: "/log-qa"
|
|
41
|
-
description: "
|
|
41
|
+
description: "Manually record Q&A"
|
|
42
42
|
|
|
43
|
-
#
|
|
43
|
+
# Recording format
|
|
44
44
|
format:
|
|
45
|
-
#
|
|
45
|
+
# Section header
|
|
46
46
|
section_header: "### Q{{number}}: {{title}}"
|
|
47
47
|
|
|
48
|
-
#
|
|
48
|
+
# Recording template
|
|
49
49
|
template: |
|
|
50
50
|
### Q{{number}}: {{title}}
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
**Question**: {{question}}
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
**Answer**: {{answer}}
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
**Solution**: {{solution}}
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
**Future Improvement Suggestions**: {{suggestion}}
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
**Related Stage**: {{stage_id}}
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
**Recorded At**: {{timestamp}}
|
|
63
63
|
|
|
64
64
|
---
|
|
65
65
|
|
|
66
|
-
#
|
|
66
|
+
# Include items
|
|
67
67
|
include:
|
|
68
|
-
- question #
|
|
69
|
-
- answer #
|
|
70
|
-
- solution #
|
|
71
|
-
- suggestion #
|
|
72
|
-
- stage_id #
|
|
73
|
-
- timestamp #
|
|
74
|
-
- category #
|
|
75
|
-
|
|
76
|
-
#
|
|
68
|
+
- question # Original question
|
|
69
|
+
- answer # Summarized answer
|
|
70
|
+
- solution # Solution
|
|
71
|
+
- suggestion # Future improvement suggestions
|
|
72
|
+
- stage_id # Related stage
|
|
73
|
+
- timestamp # Recording time
|
|
74
|
+
- category # Category
|
|
75
|
+
|
|
76
|
+
# Category classification
|
|
77
77
|
categories:
|
|
78
78
|
- name: "workflow_improvements"
|
|
79
|
-
description: "
|
|
80
|
-
keywords: ["
|
|
79
|
+
description: "Workflow improvements"
|
|
80
|
+
keywords: ["process", "stage", "order", "automation"]
|
|
81
81
|
|
|
82
82
|
- name: "tool_usage"
|
|
83
|
-
description: "
|
|
83
|
+
description: "Tool usage"
|
|
84
84
|
keywords: ["MCP", "CLI", "Notion", "Git"]
|
|
85
85
|
|
|
86
86
|
- name: "process_changes"
|
|
87
|
-
description: "
|
|
88
|
-
keywords: ["
|
|
87
|
+
description: "Process changes"
|
|
88
|
+
keywords: ["change", "modify", "add", "delete"]
|
|
89
89
|
|
|
90
90
|
- name: "bug_fixes"
|
|
91
|
-
description: "
|
|
92
|
-
keywords: ["
|
|
91
|
+
description: "Bug fixes"
|
|
92
|
+
keywords: ["bug", "error", "failure"]
|
|
93
93
|
|
|
94
94
|
- name: "best_practices"
|
|
95
|
-
description: "
|
|
96
|
-
keywords: ["
|
|
95
|
+
description: "Best practices"
|
|
96
|
+
keywords: ["recommended", "suggestion", "pattern", "rule"]
|
|
97
97
|
|
|
98
|
-
#
|
|
98
|
+
# Filtering rules
|
|
99
99
|
filtering:
|
|
100
|
-
#
|
|
100
|
+
# Items to include
|
|
101
101
|
include:
|
|
102
102
|
- "workflow_improvements"
|
|
103
103
|
- "tool_usage"
|
|
@@ -105,61 +105,61 @@ filtering:
|
|
|
105
105
|
- "bug_fixes"
|
|
106
106
|
- "best_practices"
|
|
107
107
|
|
|
108
|
-
#
|
|
108
|
+
# Items to exclude
|
|
109
109
|
exclude:
|
|
110
|
-
- "trivial_questions" #
|
|
111
|
-
- "repeated_questions" #
|
|
112
|
-
- "off_topic" #
|
|
110
|
+
- "trivial_questions" # Trivial questions
|
|
111
|
+
- "repeated_questions" # Repeated questions
|
|
112
|
+
- "off_topic" # Off-topic questions
|
|
113
113
|
|
|
114
|
-
#
|
|
114
|
+
# Exclude keywords
|
|
115
115
|
exclude_keywords:
|
|
116
|
-
- "
|
|
117
|
-
- "
|
|
118
|
-
- "
|
|
116
|
+
- "test"
|
|
117
|
+
- "temporary"
|
|
118
|
+
- "ignore"
|
|
119
119
|
|
|
120
|
-
#
|
|
120
|
+
# Auto numbering
|
|
121
121
|
numbering:
|
|
122
|
-
#
|
|
122
|
+
# Auto increment
|
|
123
123
|
auto_increment: true
|
|
124
124
|
|
|
125
|
-
#
|
|
126
|
-
start_from: "auto" #
|
|
125
|
+
# Start number (after existing Q&A)
|
|
126
|
+
start_from: "auto" # Auto-detect last number from feedback.md
|
|
127
127
|
|
|
128
|
-
#
|
|
128
|
+
# Format
|
|
129
129
|
format: "Q{{number}}"
|
|
130
130
|
|
|
131
|
-
#
|
|
131
|
+
# Duplicate detection
|
|
132
132
|
deduplication:
|
|
133
|
-
#
|
|
133
|
+
# Enable/disable
|
|
134
134
|
enabled: true
|
|
135
135
|
|
|
136
|
-
#
|
|
136
|
+
# Similarity threshold (0-1)
|
|
137
137
|
similarity_threshold: 0.8
|
|
138
138
|
|
|
139
|
-
#
|
|
139
|
+
# Duplicate handling
|
|
140
140
|
on_duplicate: "merge" # merge | skip | ask
|
|
141
141
|
|
|
142
|
-
#
|
|
142
|
+
# Notification settings
|
|
143
143
|
notifications:
|
|
144
|
-
#
|
|
144
|
+
# Notify on new Q&A record
|
|
145
145
|
on_new_entry:
|
|
146
146
|
enabled: true
|
|
147
|
-
message: "
|
|
147
|
+
message: "New Q&A recorded in feedback.md: Q{{number}}"
|
|
148
148
|
|
|
149
|
-
#
|
|
149
|
+
# Daily summary
|
|
150
150
|
daily_summary:
|
|
151
151
|
enabled: false
|
|
152
152
|
time: "18:00"
|
|
153
153
|
|
|
154
|
-
#
|
|
154
|
+
# Export settings
|
|
155
155
|
export:
|
|
156
|
-
#
|
|
156
|
+
# Supported formats
|
|
157
157
|
formats:
|
|
158
158
|
- "markdown"
|
|
159
159
|
- "json"
|
|
160
160
|
- "csv"
|
|
161
161
|
|
|
162
|
-
#
|
|
162
|
+
# Auto export
|
|
163
163
|
auto_export:
|
|
164
164
|
enabled: false
|
|
165
165
|
format: "json"
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
smart_rollback:
|
|
5
5
|
enabled: true
|
|
6
|
-
description: "
|
|
6
|
+
description: "Intelligent rollback suggestions and execution"
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Rollback suggestions on error
|
|
9
9
|
suggestion:
|
|
10
10
|
on_error:
|
|
11
11
|
enabled: true
|
|
@@ -18,22 +18,22 @@ smart_rollback:
|
|
|
18
18
|
analysis:
|
|
19
19
|
error_patterns:
|
|
20
20
|
build_failure:
|
|
21
|
-
description: "
|
|
21
|
+
description: "Build failure"
|
|
22
22
|
common_causes: ["dependency", "syntax", "type_error"]
|
|
23
23
|
suggested_scope: "file_level"
|
|
24
24
|
|
|
25
25
|
test_failure:
|
|
26
|
-
description: "
|
|
26
|
+
description: "Test failure"
|
|
27
27
|
common_causes: ["logic_error", "state_change"]
|
|
28
28
|
suggested_scope: "function_level"
|
|
29
29
|
|
|
30
30
|
runtime_error:
|
|
31
|
-
description: "
|
|
31
|
+
description: "Runtime error"
|
|
32
32
|
common_causes: ["null_reference", "type_mismatch"]
|
|
33
33
|
suggested_scope: "file_level"
|
|
34
34
|
|
|
35
35
|
configuration_error:
|
|
36
|
-
description: "
|
|
36
|
+
description: "Configuration error"
|
|
37
37
|
common_causes: ["invalid_config", "missing_env"]
|
|
38
38
|
suggested_scope: "config_only"
|
|
39
39
|
|
|
@@ -46,42 +46,42 @@ smart_rollback:
|
|
|
46
46
|
stability: 0.4
|
|
47
47
|
relevance: 0.2
|
|
48
48
|
|
|
49
|
-
#
|
|
49
|
+
# Partial rollback
|
|
50
50
|
partial_rollback:
|
|
51
51
|
enabled: true
|
|
52
|
-
description: "
|
|
52
|
+
description: "Selective recovery of affected scope only instead of full rollback"
|
|
53
53
|
|
|
54
54
|
granularity:
|
|
55
55
|
file_level:
|
|
56
|
-
description: "
|
|
56
|
+
description: "Rollback specific files only"
|
|
57
57
|
use_when: ["single_file_error", "isolated_change"]
|
|
58
58
|
|
|
59
59
|
function_level:
|
|
60
|
-
description: "
|
|
60
|
+
description: "Rollback specific functions/methods only"
|
|
61
61
|
use_when: ["logic_error", "refactoring_issue"]
|
|
62
62
|
supported_languages: ["typescript", "javascript", "python"]
|
|
63
63
|
|
|
64
64
|
stage_level:
|
|
65
|
-
description: "
|
|
65
|
+
description: "Rollback entire stage"
|
|
66
66
|
use_when: ["major_failure", "architecture_change"]
|
|
67
67
|
|
|
68
68
|
config_only:
|
|
69
|
-
description: "
|
|
69
|
+
description: "Rollback config files only"
|
|
70
70
|
use_when: ["configuration_error"]
|
|
71
71
|
patterns: ["*.yaml", "*.json", "*.env*"]
|
|
72
72
|
|
|
73
|
-
#
|
|
73
|
+
# Dependency analysis
|
|
74
74
|
dependency_analysis:
|
|
75
75
|
enabled: true
|
|
76
|
-
description: "
|
|
76
|
+
description: "Auto-detect affected files during rollback"
|
|
77
77
|
|
|
78
78
|
include_dependents: true
|
|
79
79
|
max_cascade_depth: 3
|
|
80
80
|
|
|
81
|
-
#
|
|
81
|
+
# Rollback preview
|
|
82
82
|
rollback_preview:
|
|
83
83
|
enabled: true
|
|
84
|
-
description: "
|
|
84
|
+
description: "Preview changes before rollback"
|
|
85
85
|
|
|
86
86
|
show_diff: true
|
|
87
87
|
show_impact: true
|
|
@@ -90,20 +90,20 @@ smart_rollback:
|
|
|
90
90
|
|
|
91
91
|
require_confirmation: true
|
|
92
92
|
confirmation_prompt: |
|
|
93
|
-
##
|
|
93
|
+
## Rollback Preview
|
|
94
94
|
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
**Target Checkpoint**: {{checkpoint_name}}
|
|
96
|
+
**Rollback Scope**: {{scope}}
|
|
97
97
|
|
|
98
|
-
###
|
|
98
|
+
### Affected Files ({{file_count}} files)
|
|
99
99
|
{{affected_files}}
|
|
100
100
|
|
|
101
|
-
###
|
|
101
|
+
### Change Summary
|
|
102
102
|
{{diff_summary}}
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
Proceed with this rollback? (y/n)
|
|
105
105
|
|
|
106
|
-
#
|
|
106
|
+
# Rollback execution
|
|
107
107
|
execution:
|
|
108
108
|
pre_rollback:
|
|
109
109
|
- create_backup_checkpoint
|
|
@@ -122,33 +122,33 @@ smart_rollback:
|
|
|
122
122
|
- update_handoff
|
|
123
123
|
- notify_completion
|
|
124
124
|
|
|
125
|
-
#
|
|
125
|
+
# Failure handling
|
|
126
126
|
on_failure:
|
|
127
127
|
strategy: "restore_backup"
|
|
128
128
|
notify: true
|
|
129
129
|
log_details: true
|
|
130
130
|
|
|
131
|
-
#
|
|
131
|
+
# Safety measures
|
|
132
132
|
safety:
|
|
133
|
-
#
|
|
133
|
+
# Rollback prevention conditions
|
|
134
134
|
prevent_rollback_when:
|
|
135
135
|
- uncommitted_changes: true
|
|
136
136
|
- active_processes: true
|
|
137
137
|
- locked_files: true
|
|
138
138
|
|
|
139
|
-
#
|
|
139
|
+
# Confirmation required conditions
|
|
140
140
|
require_confirmation_when:
|
|
141
141
|
- scope: "stage_level"
|
|
142
142
|
- files_affected: 10
|
|
143
143
|
- includes_production: true
|
|
144
144
|
|
|
145
|
-
#
|
|
145
|
+
# Rollback limits
|
|
146
146
|
limits:
|
|
147
147
|
max_rollback_stages: 2
|
|
148
148
|
max_file_rollbacks: 50
|
|
149
149
|
cooldown_minutes: 5
|
|
150
150
|
|
|
151
|
-
#
|
|
151
|
+
# Rollback history
|
|
152
152
|
history:
|
|
153
153
|
enabled: true
|
|
154
154
|
storage_path: "state/rollback_history/"
|
|
@@ -163,42 +163,42 @@ history:
|
|
|
163
163
|
|
|
164
164
|
retention_days: 30
|
|
165
165
|
|
|
166
|
-
#
|
|
166
|
+
# Recovery guide
|
|
167
167
|
recovery_guide:
|
|
168
168
|
enabled: true
|
|
169
|
-
description: "
|
|
169
|
+
description: "Recovery instructions after rollback"
|
|
170
170
|
|
|
171
171
|
templates:
|
|
172
172
|
after_file_rollback: |
|
|
173
|
-
##
|
|
173
|
+
## File Rollback Complete
|
|
174
174
|
|
|
175
|
-
|
|
175
|
+
The following files have been restored:
|
|
176
176
|
{{files}}
|
|
177
177
|
|
|
178
|
-
###
|
|
179
|
-
1.
|
|
180
|
-
2.
|
|
181
|
-
3.
|
|
178
|
+
### Recommended Next Steps
|
|
179
|
+
1. Review changes: `git diff`
|
|
180
|
+
2. Run tests: `npm test`
|
|
181
|
+
3. Modify and re-commit as needed
|
|
182
182
|
|
|
183
183
|
after_stage_rollback: |
|
|
184
|
-
##
|
|
184
|
+
## Stage Rollback Complete
|
|
185
185
|
|
|
186
|
-
{{stage_id}}
|
|
186
|
+
{{stage_id}} has been restored to checkpoint.
|
|
187
187
|
|
|
188
|
-
###
|
|
189
|
-
-
|
|
190
|
-
-
|
|
188
|
+
### Recovery Information
|
|
189
|
+
- Checkpoint: {{checkpoint_name}}
|
|
190
|
+
- Files restored: {{file_count}}
|
|
191
191
|
|
|
192
|
-
###
|
|
193
|
-
1. HANDOFF
|
|
194
|
-
2.
|
|
195
|
-
3.
|
|
192
|
+
### Recommended Next Steps
|
|
193
|
+
1. Review HANDOFF: `stages/{{stage_id}}/HANDOFF.md`
|
|
194
|
+
2. Review tasks
|
|
195
|
+
3. Restart stage
|
|
196
196
|
|
|
197
|
-
#
|
|
197
|
+
# Integration settings
|
|
198
198
|
integration:
|
|
199
199
|
git:
|
|
200
200
|
auto_stash: true
|
|
201
|
-
create_branch: false #
|
|
201
|
+
create_branch: false # Create rollback branch if true
|
|
202
202
|
|
|
203
203
|
handoff:
|
|
204
204
|
update_on_rollback: true
|