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,18 +3,18 @@
|
|
|
3
3
|
|
|
4
4
|
benchmarking:
|
|
5
5
|
enabled: true
|
|
6
|
-
description: "AI
|
|
6
|
+
description: "AI model performance comparison and optimal model dynamic selection"
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Stages where benchmarking is enabled
|
|
9
9
|
enabled_stages:
|
|
10
10
|
- "06-implementation"
|
|
11
11
|
- "07-refactoring"
|
|
12
12
|
- "09-testing"
|
|
13
13
|
|
|
14
|
-
#
|
|
14
|
+
# Benchmark task definitions
|
|
15
15
|
benchmark_tasks:
|
|
16
16
|
code_generation:
|
|
17
|
-
description: "
|
|
17
|
+
description: "Code generation quality comparison"
|
|
18
18
|
models: ["claude", "codex"]
|
|
19
19
|
metrics:
|
|
20
20
|
- name: "correctness"
|
|
@@ -31,7 +31,7 @@ benchmarking:
|
|
|
31
31
|
measure: "complexity_score"
|
|
32
32
|
|
|
33
33
|
refactoring:
|
|
34
|
-
description: "
|
|
34
|
+
description: "Refactoring quality comparison"
|
|
35
35
|
models: ["codex", "claude"]
|
|
36
36
|
metrics:
|
|
37
37
|
- name: "complexity_reduction"
|
|
@@ -48,7 +48,7 @@ benchmarking:
|
|
|
48
48
|
measure: "maintainability_index"
|
|
49
49
|
|
|
50
50
|
test_generation:
|
|
51
|
-
description: "
|
|
51
|
+
description: "Test code generation comparison"
|
|
52
52
|
models: ["codex", "claude"]
|
|
53
53
|
metrics:
|
|
54
54
|
- name: "coverage"
|
|
@@ -61,21 +61,21 @@ benchmarking:
|
|
|
61
61
|
weight: 0.3
|
|
62
62
|
measure: "mutation_score"
|
|
63
63
|
|
|
64
|
-
#
|
|
64
|
+
# Auto-selection strategy
|
|
65
65
|
selection_strategy:
|
|
66
66
|
auto: true
|
|
67
67
|
method: "weighted_score"
|
|
68
68
|
|
|
69
69
|
thresholds:
|
|
70
|
-
auto_select_minimum: 0.75 #
|
|
71
|
-
confidence_gap: 0.15 #
|
|
70
|
+
auto_select_minimum: 0.75 # Minimum score
|
|
71
|
+
confidence_gap: 0.15 # Score gap between 1st and 2nd place
|
|
72
72
|
|
|
73
73
|
fallback:
|
|
74
74
|
enabled: true
|
|
75
75
|
fallback_to: "claude"
|
|
76
76
|
on_tie: "prefer_faster"
|
|
77
77
|
|
|
78
|
-
#
|
|
78
|
+
# History tracking
|
|
79
79
|
history_tracking:
|
|
80
80
|
enabled: true
|
|
81
81
|
storage_path: "state/ai_benchmarks/"
|
|
@@ -93,10 +93,10 @@ benchmarking:
|
|
|
93
93
|
period: "weekly"
|
|
94
94
|
metrics: ["avg_score", "success_rate", "avg_latency"]
|
|
95
95
|
|
|
96
|
-
#
|
|
96
|
+
# Dynamic model selection settings
|
|
97
97
|
dynamic_selection:
|
|
98
98
|
enabled: true
|
|
99
|
-
description: "
|
|
99
|
+
description: "Automatic selection of optimal AI model based on task characteristics"
|
|
100
100
|
|
|
101
101
|
criteria:
|
|
102
102
|
task_type:
|
|
@@ -112,13 +112,13 @@ dynamic_selection:
|
|
|
112
112
|
weight: 0.3
|
|
113
113
|
levels:
|
|
114
114
|
low:
|
|
115
|
-
prefer: "haiku" #
|
|
115
|
+
prefer: "haiku" # Fast response
|
|
116
116
|
threshold: 100 # lines of code
|
|
117
117
|
medium:
|
|
118
118
|
prefer: "claude"
|
|
119
119
|
threshold: 500
|
|
120
120
|
high:
|
|
121
|
-
prefer: "claude" #
|
|
121
|
+
prefer: "claude" # Complex logic
|
|
122
122
|
threshold: null
|
|
123
123
|
|
|
124
124
|
previous_performance:
|
|
@@ -128,9 +128,9 @@ dynamic_selection:
|
|
|
128
128
|
|
|
129
129
|
override:
|
|
130
130
|
user_preference: true
|
|
131
|
-
stage_assignment: true # models.yaml
|
|
131
|
+
stage_assignment: true # Prioritize stage_assignments in models.yaml
|
|
132
132
|
|
|
133
|
-
#
|
|
133
|
+
# Benchmarking execution settings
|
|
134
134
|
execution:
|
|
135
135
|
parallel_benchmark: true
|
|
136
136
|
max_concurrent_benchmarks: 2
|
|
@@ -148,7 +148,7 @@ execution:
|
|
|
148
148
|
max_tokens_per_benchmark: 10000
|
|
149
149
|
max_retries: 2
|
|
150
150
|
|
|
151
|
-
#
|
|
151
|
+
# Result reporting
|
|
152
152
|
reporting:
|
|
153
153
|
format: "markdown"
|
|
154
154
|
output_path: "state/ai_benchmarks/reports/"
|
|
@@ -168,17 +168,17 @@ reporting:
|
|
|
168
168
|
|
|
169
169
|
notifications:
|
|
170
170
|
on_significant_change:
|
|
171
|
-
threshold: 0.2 # 20%
|
|
171
|
+
threshold: 0.2 # 20% change
|
|
172
172
|
channels: ["console", "handoff"]
|
|
173
173
|
|
|
174
|
-
#
|
|
174
|
+
# Integration settings
|
|
175
175
|
integration:
|
|
176
|
-
#
|
|
176
|
+
# Include benchmark results in HANDOFF
|
|
177
177
|
handoff:
|
|
178
178
|
include_summary: true
|
|
179
179
|
include_recommendation: true
|
|
180
180
|
|
|
181
|
-
#
|
|
181
|
+
# Benchmark data handling during context compression
|
|
182
182
|
context_compression:
|
|
183
|
-
preserve_recent: 3 #
|
|
183
|
+
preserve_recent: 3 # Preserve last 3 benchmark results
|
|
184
184
|
summarize_older: true
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
# Multi-AI orchestration modes and collaboration strategies
|
|
3
3
|
|
|
4
4
|
collaboration_modes:
|
|
5
|
-
# Parallel Execution:
|
|
5
|
+
# Parallel Execution: Execute same task with multiple AIs simultaneously
|
|
6
6
|
parallel_execution:
|
|
7
|
-
description: "
|
|
7
|
+
description: "Execute same task with multiple AIs simultaneously and select best result"
|
|
8
8
|
enabled: true
|
|
9
9
|
|
|
10
10
|
stages:
|
|
@@ -22,34 +22,34 @@ collaboration_modes:
|
|
|
22
22
|
- completeness
|
|
23
23
|
- creativity
|
|
24
24
|
require_human_review: true
|
|
25
|
-
auto_select_threshold: 0.85 #
|
|
25
|
+
auto_select_threshold: 0.85 # Auto-select when score is 85% or higher
|
|
26
26
|
|
|
27
|
-
# Sequential Handoff:
|
|
27
|
+
# Sequential Handoff: Sequential transfer between AIs (review chain)
|
|
28
28
|
sequential_handoff:
|
|
29
|
-
description: "
|
|
29
|
+
description: "Sequential transfer between AIs for progressive result improvement"
|
|
30
30
|
enabled: true
|
|
31
31
|
|
|
32
32
|
chains:
|
|
33
33
|
code_review:
|
|
34
34
|
- model: "claude"
|
|
35
|
-
role: "
|
|
35
|
+
role: "Draft writing"
|
|
36
36
|
output: "draft.md"
|
|
37
37
|
- model: "gemini"
|
|
38
|
-
role: "
|
|
38
|
+
role: "Creative improvement"
|
|
39
39
|
output: "improved.md"
|
|
40
40
|
- model: "codex"
|
|
41
|
-
role: "
|
|
41
|
+
role: "Technical verification"
|
|
42
42
|
output: "verified.md"
|
|
43
43
|
|
|
44
44
|
planning_review:
|
|
45
45
|
- model: "gemini"
|
|
46
|
-
role: "
|
|
46
|
+
role: "Idea divergence"
|
|
47
47
|
output: "ideas.md"
|
|
48
48
|
- model: "claude"
|
|
49
|
-
role: "
|
|
49
|
+
role: "Feasibility analysis"
|
|
50
50
|
output: "analysis.md"
|
|
51
51
|
- model: "claude"
|
|
52
|
-
role: "
|
|
52
|
+
role: "Final plan formulation"
|
|
53
53
|
output: "plan.md"
|
|
54
54
|
|
|
55
55
|
handoff_format:
|
|
@@ -59,9 +59,9 @@ collaboration_modes:
|
|
|
59
59
|
- modifications
|
|
60
60
|
- next_instructions
|
|
61
61
|
|
|
62
|
-
# Debate Mode: AI
|
|
62
|
+
# Debate Mode: AI debate to reach optimal conclusions
|
|
63
63
|
debate_mode:
|
|
64
|
-
description: "AI
|
|
64
|
+
description: "AI debate to reach optimal conclusions from diverse perspectives"
|
|
65
65
|
enabled: true
|
|
66
66
|
|
|
67
67
|
stages:
|
|
@@ -71,10 +71,10 @@ collaboration_modes:
|
|
|
71
71
|
participants:
|
|
72
72
|
- model: "claude"
|
|
73
73
|
role: "advocate"
|
|
74
|
-
perspective: "
|
|
74
|
+
perspective: "Technical feasibility"
|
|
75
75
|
- model: "gemini"
|
|
76
76
|
role: "challenger"
|
|
77
|
-
perspective: "
|
|
77
|
+
perspective: "Innovative approach"
|
|
78
78
|
|
|
79
79
|
rules:
|
|
80
80
|
rounds: 3
|
|
@@ -115,7 +115,7 @@ output_handling:
|
|
|
115
115
|
|
|
116
116
|
merge_strategies:
|
|
117
117
|
best_of_n:
|
|
118
|
-
description: "
|
|
118
|
+
description: "Score-based best result selection"
|
|
119
119
|
scoring:
|
|
120
120
|
- metric: "completeness"
|
|
121
121
|
weight: 0.3
|
|
@@ -125,11 +125,11 @@ output_handling:
|
|
|
125
125
|
weight: 0.3
|
|
126
126
|
|
|
127
127
|
consensus:
|
|
128
|
-
description: "
|
|
128
|
+
description: "Extract commonalities + merge differences"
|
|
129
129
|
conflict_resolution: "human_review"
|
|
130
130
|
|
|
131
131
|
synthesis:
|
|
132
|
-
description: "
|
|
132
|
+
description: "Extract best parts from all results to create new output"
|
|
133
133
|
synthesizer: "claude"
|
|
134
134
|
|
|
135
135
|
# Collaboration Triggers
|
|
@@ -1,103 +1,103 @@
|
|
|
1
1
|
# AI Logging Configuration
|
|
2
|
-
# claude-symphony AI
|
|
2
|
+
# claude-symphony AI call verification and logging rules (Improvement suggestions #2, #3 resolution)
|
|
3
3
|
|
|
4
4
|
ai_logging:
|
|
5
|
-
#
|
|
5
|
+
# Enable/disable
|
|
6
6
|
enabled: true
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Log storage location
|
|
9
9
|
log_file: "state/ai_calls.log"
|
|
10
10
|
|
|
11
|
-
# Gemini
|
|
11
|
+
# Gemini call verification checklist (Improvement suggestion #2)
|
|
12
12
|
gemini_verification:
|
|
13
|
-
#
|
|
13
|
+
# Pre-call checklist
|
|
14
14
|
pre_call_checklist:
|
|
15
15
|
- name: "cli_installed"
|
|
16
16
|
check: "which gemini"
|
|
17
|
-
description: "Gemini CLI
|
|
17
|
+
description: "Verify Gemini CLI installation"
|
|
18
18
|
|
|
19
19
|
- name: "wrapper_exists"
|
|
20
20
|
check: "test -f scripts/gemini-wrapper.sh"
|
|
21
|
-
description: "
|
|
21
|
+
description: "Verify wrapper script exists"
|
|
22
22
|
|
|
23
23
|
- name: "prompt_file_ready"
|
|
24
24
|
check: "test -f ${PROMPT_FILE}"
|
|
25
|
-
description: "
|
|
25
|
+
description: "Verify prompt file is ready"
|
|
26
26
|
|
|
27
|
-
#
|
|
27
|
+
# Post-call checklist
|
|
28
28
|
post_call_checklist:
|
|
29
29
|
- name: "tmux_session_active"
|
|
30
30
|
check: "tmux has-session -t ax-gemini 2>/dev/null"
|
|
31
|
-
description: "tmux
|
|
31
|
+
description: "Verify tmux session is active"
|
|
32
32
|
|
|
33
33
|
- name: "output_saved"
|
|
34
34
|
check: "test -f outputs/${OUTPUT_FILE}"
|
|
35
|
-
description: "
|
|
35
|
+
description: "Verify output file is saved"
|
|
36
36
|
|
|
37
|
-
# Codex
|
|
37
|
+
# Codex call verification checklist
|
|
38
38
|
codex_verification:
|
|
39
39
|
pre_call_checklist:
|
|
40
40
|
- name: "cli_installed"
|
|
41
41
|
check: "which codex"
|
|
42
|
-
description: "Codex CLI
|
|
42
|
+
description: "Verify Codex CLI installation"
|
|
43
43
|
|
|
44
44
|
- name: "wrapper_exists"
|
|
45
45
|
check: "test -f scripts/codex-wrapper.sh"
|
|
46
|
-
description: "
|
|
46
|
+
description: "Verify wrapper script exists"
|
|
47
47
|
|
|
48
48
|
- name: "sandbox_ready"
|
|
49
49
|
check: "docker ps | grep -q codex-sandbox || true"
|
|
50
|
-
description: "
|
|
50
|
+
description: "Verify sandbox is ready (optional)"
|
|
51
51
|
|
|
52
52
|
post_call_checklist:
|
|
53
53
|
- name: "tmux_session_active"
|
|
54
54
|
check: "tmux has-session -t ax-codex 2>/dev/null"
|
|
55
|
-
description: "tmux
|
|
55
|
+
description: "Verify tmux session is active"
|
|
56
56
|
|
|
57
57
|
- name: "output_saved"
|
|
58
58
|
check: "test -f outputs/${OUTPUT_FILE}"
|
|
59
|
-
description: "
|
|
59
|
+
description: "Verify output file is saved"
|
|
60
60
|
|
|
61
|
-
# HANDOFF.md AI
|
|
61
|
+
# HANDOFF.md AI call log inclusion settings (Improvement suggestion #3)
|
|
62
62
|
handoff_ai_log:
|
|
63
|
-
#
|
|
63
|
+
# Enable/disable
|
|
64
64
|
enabled: true
|
|
65
65
|
|
|
66
|
-
#
|
|
66
|
+
# Log table format
|
|
67
67
|
format: |
|
|
68
|
-
## AI
|
|
68
|
+
## AI Call Log
|
|
69
69
|
|
|
70
|
-
| AI |
|
|
71
|
-
|
|
70
|
+
| AI | Call Time | Prompt File | Result File | Status |
|
|
71
|
+
|----|-----------|-------------|-------------|--------|
|
|
72
72
|
{{#each ai_calls}}
|
|
73
73
|
| {{model}} | {{timestamp}} | {{prompt_file}} | {{output_file}} | {{status}} |
|
|
74
74
|
{{/each}}
|
|
75
75
|
|
|
76
|
-
#
|
|
76
|
+
# Information to include
|
|
77
77
|
include:
|
|
78
|
-
- model # AI
|
|
79
|
-
- timestamp #
|
|
80
|
-
- prompt_file #
|
|
81
|
-
- output_file #
|
|
82
|
-
- status #
|
|
83
|
-
- duration_seconds #
|
|
84
|
-
|
|
85
|
-
#
|
|
78
|
+
- model # AI model name (Gemini, Codex, ClaudeCode)
|
|
79
|
+
- timestamp # Call time
|
|
80
|
+
- prompt_file # Prompt file path
|
|
81
|
+
- output_file # Output file path
|
|
82
|
+
- status # Success/failure
|
|
83
|
+
- duration_seconds # Execution time (optional)
|
|
84
|
+
|
|
85
|
+
# Stage-specific AI call tracking
|
|
86
86
|
stage_tracking:
|
|
87
|
-
#
|
|
87
|
+
# Track AI calls per stage
|
|
88
88
|
enabled: true
|
|
89
89
|
|
|
90
|
-
#
|
|
90
|
+
# Tracking items
|
|
91
91
|
track:
|
|
92
|
-
- stage_id #
|
|
93
|
-
- ai_model #
|
|
94
|
-
- call_count #
|
|
95
|
-
- total_duration #
|
|
96
|
-
- success_rate #
|
|
92
|
+
- stage_id # Stage ID
|
|
93
|
+
- ai_model # AI model used
|
|
94
|
+
- call_count # Number of calls
|
|
95
|
+
- total_duration # Total duration
|
|
96
|
+
- success_rate # Success rate
|
|
97
97
|
|
|
98
|
-
#
|
|
98
|
+
# Log format
|
|
99
99
|
log_format:
|
|
100
|
-
#
|
|
100
|
+
# Single call log
|
|
101
101
|
single_call: |
|
|
102
102
|
[{{timestamp}}] {{stage_id}} - {{model}}
|
|
103
103
|
Prompt: {{prompt_file}}
|
|
@@ -105,25 +105,25 @@ log_format:
|
|
|
105
105
|
Status: {{status}}
|
|
106
106
|
Duration: {{duration}}s
|
|
107
107
|
|
|
108
|
-
#
|
|
108
|
+
# Daily summary
|
|
109
109
|
daily_summary: |
|
|
110
|
-
=== AI
|
|
111
|
-
|
|
110
|
+
=== AI Call Daily Summary ({{date}}) ===
|
|
111
|
+
Total Calls: {{total_calls}}
|
|
112
112
|
Gemini: {{gemini_calls}}
|
|
113
113
|
Codex: {{codex_calls}}
|
|
114
114
|
ClaudeCode: {{claude_calls}}
|
|
115
|
-
|
|
115
|
+
Success Rate: {{success_rate}}%
|
|
116
116
|
|
|
117
|
-
#
|
|
117
|
+
# Alert settings
|
|
118
118
|
alerts:
|
|
119
|
-
#
|
|
119
|
+
# Alert on consecutive failures
|
|
120
120
|
consecutive_failures:
|
|
121
121
|
threshold: 3
|
|
122
122
|
action: "notify_user"
|
|
123
|
-
message: "
|
|
123
|
+
message: "AI calls have failed {{count}} times consecutively. Please check settings."
|
|
124
124
|
|
|
125
|
-
#
|
|
125
|
+
# Slow response warning
|
|
126
126
|
slow_response:
|
|
127
127
|
threshold_seconds: 300
|
|
128
128
|
action: "warn"
|
|
129
|
-
message: "
|
|
129
|
+
message: "AI response exceeded {{threshold}} seconds."
|
|
@@ -3,27 +3,27 @@
|
|
|
3
3
|
|
|
4
4
|
auto_checkpoint:
|
|
5
5
|
enabled: true
|
|
6
|
-
description: "
|
|
6
|
+
description: "Automatic checkpoint creation and management"
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Trigger conditions
|
|
9
9
|
triggers:
|
|
10
|
-
#
|
|
10
|
+
# Task completion based
|
|
11
11
|
task_based:
|
|
12
12
|
enabled: true
|
|
13
13
|
condition: "tasks_completed"
|
|
14
|
-
threshold: 5 # 5
|
|
14
|
+
threshold: 5 # Every 5 tasks completed
|
|
15
15
|
action: "create_checkpoint"
|
|
16
16
|
naming: "auto_task_{{count}}_{{timestamp}}"
|
|
17
17
|
|
|
18
|
-
#
|
|
18
|
+
# File change based
|
|
19
19
|
file_change_based:
|
|
20
20
|
enabled: true
|
|
21
21
|
condition: "major_file_change"
|
|
22
|
-
threshold: 100 # 100
|
|
22
|
+
threshold: 100 # 100+ lines changed
|
|
23
23
|
action: "create_checkpoint"
|
|
24
24
|
naming: "auto_change_{{timestamp}}"
|
|
25
25
|
|
|
26
|
-
#
|
|
26
|
+
# File type weights
|
|
27
27
|
file_weights:
|
|
28
28
|
"*.ts": 1.0
|
|
29
29
|
"*.tsx": 1.0
|
|
@@ -34,7 +34,7 @@ auto_checkpoint:
|
|
|
34
34
|
"*.json": 0.5
|
|
35
35
|
"*.md": 0.3
|
|
36
36
|
|
|
37
|
-
#
|
|
37
|
+
# Before destructive operations
|
|
38
38
|
before_destructive:
|
|
39
39
|
enabled: true
|
|
40
40
|
condition: "destructive_action_detected"
|
|
@@ -48,16 +48,16 @@ auto_checkpoint:
|
|
|
48
48
|
naming: "pre_destructive_{{timestamp}}"
|
|
49
49
|
require_confirmation: true
|
|
50
50
|
|
|
51
|
-
#
|
|
51
|
+
# Time based
|
|
52
52
|
time_based:
|
|
53
53
|
enabled: true
|
|
54
54
|
condition: "interval"
|
|
55
55
|
interval_minutes: 30
|
|
56
56
|
action: "create_checkpoint"
|
|
57
57
|
naming: "auto_interval_{{timestamp}}"
|
|
58
|
-
only_if_changes: true #
|
|
58
|
+
only_if_changes: true # Only when there are changes
|
|
59
59
|
|
|
60
|
-
#
|
|
60
|
+
# Stage based
|
|
61
61
|
stage_based:
|
|
62
62
|
enabled: true
|
|
63
63
|
conditions:
|
|
@@ -67,7 +67,7 @@ auto_checkpoint:
|
|
|
67
67
|
action: "create_checkpoint"
|
|
68
68
|
naming: "stage_{{stage_id}}_{{status}}_{{timestamp}}"
|
|
69
69
|
|
|
70
|
-
#
|
|
70
|
+
# Retention policy
|
|
71
71
|
retention:
|
|
72
72
|
max_checkpoints: 20
|
|
73
73
|
max_age_days: 30
|
|
@@ -80,13 +80,13 @@ auto_checkpoint:
|
|
|
80
80
|
- user_created
|
|
81
81
|
- tagged
|
|
82
82
|
|
|
83
|
-
#
|
|
83
|
+
# Auto cleanup
|
|
84
84
|
auto_cleanup:
|
|
85
85
|
enabled: true
|
|
86
86
|
schedule: "daily"
|
|
87
87
|
preserve_minimum: 5
|
|
88
88
|
|
|
89
|
-
#
|
|
89
|
+
# Checkpoint content
|
|
90
90
|
checkpoint_content:
|
|
91
91
|
include:
|
|
92
92
|
- source_code: true
|
|
@@ -103,7 +103,7 @@ auto_checkpoint:
|
|
|
103
103
|
- "__pycache__/"
|
|
104
104
|
- ".cache/"
|
|
105
105
|
|
|
106
|
-
#
|
|
106
|
+
# Metadata
|
|
107
107
|
metadata:
|
|
108
108
|
- timestamp
|
|
109
109
|
- stage_id
|
|
@@ -112,7 +112,7 @@ auto_checkpoint:
|
|
|
112
112
|
- file_changes_summary
|
|
113
113
|
- git_commit_hash
|
|
114
114
|
|
|
115
|
-
#
|
|
115
|
+
# Storage settings
|
|
116
116
|
storage:
|
|
117
117
|
base_path: "state/checkpoints/"
|
|
118
118
|
format: "tar.gz" # tar.gz, zip, directory
|
|
@@ -120,61 +120,61 @@ auto_checkpoint:
|
|
|
120
120
|
|
|
121
121
|
naming_convention: "{{stage}}_{{trigger}}_{{timestamp}}"
|
|
122
122
|
|
|
123
|
-
#
|
|
123
|
+
# External storage backup (optional)
|
|
124
124
|
external_backup:
|
|
125
125
|
enabled: false
|
|
126
126
|
provider: null # s3, gcs, azure
|
|
127
127
|
path: null
|
|
128
128
|
|
|
129
|
-
#
|
|
129
|
+
# Checkpoint creation process
|
|
130
130
|
creation_process:
|
|
131
131
|
steps:
|
|
132
132
|
- name: "validate_state"
|
|
133
|
-
description: "
|
|
133
|
+
description: "Validate current state"
|
|
134
134
|
required: true
|
|
135
135
|
|
|
136
136
|
- name: "collect_files"
|
|
137
|
-
description: "
|
|
137
|
+
description: "Collect files to include"
|
|
138
138
|
required: true
|
|
139
139
|
|
|
140
140
|
- name: "generate_metadata"
|
|
141
|
-
description: "
|
|
141
|
+
description: "Generate metadata"
|
|
142
142
|
required: true
|
|
143
143
|
|
|
144
144
|
- name: "create_archive"
|
|
145
|
-
description: "
|
|
145
|
+
description: "Create archive"
|
|
146
146
|
required: true
|
|
147
147
|
|
|
148
148
|
- name: "verify_integrity"
|
|
149
|
-
description: "
|
|
149
|
+
description: "Verify integrity"
|
|
150
150
|
required: true
|
|
151
151
|
|
|
152
152
|
- name: "cleanup_old"
|
|
153
|
-
description: "
|
|
153
|
+
description: "Clean up old checkpoints"
|
|
154
154
|
required: false
|
|
155
155
|
|
|
156
|
-
#
|
|
156
|
+
# Failure handling
|
|
157
157
|
on_failure:
|
|
158
158
|
retry: 2
|
|
159
159
|
fallback: "skip_with_warning"
|
|
160
160
|
notify: true
|
|
161
161
|
|
|
162
|
-
#
|
|
162
|
+
# Notification settings
|
|
163
163
|
notifications:
|
|
164
164
|
on_create:
|
|
165
165
|
enabled: true
|
|
166
|
-
message: "
|
|
166
|
+
message: "Checkpoint created: {{name}}"
|
|
167
167
|
|
|
168
168
|
on_cleanup:
|
|
169
169
|
enabled: true
|
|
170
|
-
message: "
|
|
170
|
+
message: "Old checkpoints cleaned up: {{count}} items"
|
|
171
171
|
|
|
172
172
|
on_threshold:
|
|
173
173
|
enabled: true
|
|
174
|
-
threshold: 15 #
|
|
175
|
-
message: "
|
|
174
|
+
threshold: 15 # When exceeding 15
|
|
175
|
+
message: "You have {{count}} checkpoints. Cleanup may be needed."
|
|
176
176
|
|
|
177
|
-
# Git
|
|
177
|
+
# Git integration
|
|
178
178
|
git_integration:
|
|
179
179
|
tag_checkpoints: true
|
|
180
180
|
tag_prefix: "checkpoint/"
|
|
@@ -186,4 +186,4 @@ git_integration:
|
|
|
186
186
|
Trigger: {{trigger_reason}}
|
|
187
187
|
Files: {{file_count}}
|
|
188
188
|
|
|
189
|
-
push_tags: false #
|
|
189
|
+
push_tags: false # Push tags to remote if true
|