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,102 +1,102 @@
|
|
|
1
1
|
# Parallel Task Groups Configuration
|
|
2
|
-
# claude-symphony
|
|
2
|
+
# claude-symphony Parallel Task Management (Issue #9 Resolution)
|
|
3
3
|
|
|
4
4
|
parallel_execution:
|
|
5
|
-
#
|
|
5
|
+
# Enable parallel execution
|
|
6
6
|
enabled: true
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Default rules
|
|
9
9
|
default_mode: "sequential" # sequential | parallel_when_safe
|
|
10
10
|
|
|
11
|
-
#
|
|
11
|
+
# Dependency analysis rules
|
|
12
12
|
dependency_analysis:
|
|
13
|
-
#
|
|
13
|
+
# Auto-group independent tasks
|
|
14
14
|
auto_group_independent: true
|
|
15
15
|
|
|
16
|
-
#
|
|
16
|
+
# Dependency types
|
|
17
17
|
dependency_types:
|
|
18
18
|
- type: "blocks"
|
|
19
|
-
description: "
|
|
19
|
+
description: "Must complete before next task can start"
|
|
20
20
|
|
|
21
21
|
- type: "informs"
|
|
22
|
-
description: "
|
|
22
|
+
description: "References but non-blocking"
|
|
23
23
|
|
|
24
24
|
- type: "none"
|
|
25
|
-
description: "
|
|
25
|
+
description: "Completely independent"
|
|
26
26
|
|
|
27
|
-
#
|
|
27
|
+
# Parallel group templates
|
|
28
28
|
parallel_groups:
|
|
29
|
-
#
|
|
29
|
+
# Example: Sprint 1 task groups
|
|
30
30
|
sprint_1:
|
|
31
|
-
#
|
|
31
|
+
# Group A: Can run in parallel
|
|
32
32
|
group_a:
|
|
33
33
|
tasks:
|
|
34
|
-
- "TASK-001:
|
|
35
|
-
- "TASK-002:
|
|
36
|
-
- "TASK-003: ESLint/Prettier
|
|
34
|
+
- "TASK-001: Project initial setup"
|
|
35
|
+
- "TASK-002: Environment variable setup"
|
|
36
|
+
- "TASK-003: ESLint/Prettier setup"
|
|
37
37
|
parallel: true
|
|
38
|
-
reason: "
|
|
38
|
+
reason: "Independent setup tasks"
|
|
39
39
|
|
|
40
|
-
#
|
|
40
|
+
# Group B: Run in parallel after Group A completes
|
|
41
41
|
group_b:
|
|
42
42
|
depends_on: ["group_a"]
|
|
43
43
|
tasks:
|
|
44
|
-
- "TASK-004:
|
|
45
|
-
- "TASK-005:
|
|
46
|
-
- "TASK-006:
|
|
44
|
+
- "TASK-004: Layout component"
|
|
45
|
+
- "TASK-005: Navigation component"
|
|
46
|
+
- "TASK-006: Footer component"
|
|
47
47
|
parallel: true
|
|
48
|
-
reason: "
|
|
48
|
+
reason: "Common components, no interdependencies"
|
|
49
49
|
|
|
50
|
-
#
|
|
50
|
+
# Group C: Sequential execution required
|
|
51
51
|
group_c:
|
|
52
52
|
depends_on: ["group_b"]
|
|
53
53
|
tasks:
|
|
54
|
-
- "TASK-007: API
|
|
55
|
-
- "TASK-008:
|
|
56
|
-
- "TASK-009:
|
|
54
|
+
- "TASK-007: API client setup"
|
|
55
|
+
- "TASK-008: Auth service implementation"
|
|
56
|
+
- "TASK-009: Protected route setup"
|
|
57
57
|
parallel: false
|
|
58
|
-
reason: "
|
|
58
|
+
reason: "Has sequential dependencies"
|
|
59
59
|
|
|
60
|
-
#
|
|
60
|
+
# Execution rules
|
|
61
61
|
execution_rules:
|
|
62
|
-
#
|
|
62
|
+
# Parallel execution allowed conditions
|
|
63
63
|
parallel_allowed_when:
|
|
64
|
-
- "no_shared_files" #
|
|
65
|
-
- "no_data_dependency" #
|
|
66
|
-
- "different_modules" #
|
|
67
|
-
- "explicit_parallel_flag" #
|
|
64
|
+
- "no_shared_files" # No same file modification
|
|
65
|
+
- "no_data_dependency" # No data dependency
|
|
66
|
+
- "different_modules" # Different modules
|
|
67
|
+
- "explicit_parallel_flag" # Explicit parallel flag
|
|
68
68
|
|
|
69
|
-
#
|
|
69
|
+
# Parallel execution prohibited conditions
|
|
70
70
|
parallel_prohibited_when:
|
|
71
|
-
- "same_file_modification" #
|
|
72
|
-
- "database_migration" # DB
|
|
73
|
-
- "sequential_dependency" #
|
|
74
|
-
- "shared_state" #
|
|
71
|
+
- "same_file_modification" # Same file modification
|
|
72
|
+
- "database_migration" # DB migration
|
|
73
|
+
- "sequential_dependency" # Sequential dependency
|
|
74
|
+
- "shared_state" # Shared state
|
|
75
75
|
|
|
76
|
-
#
|
|
76
|
+
# Task classification guide
|
|
77
77
|
classification_guide:
|
|
78
|
-
#
|
|
78
|
+
# Parallelizable task types
|
|
79
79
|
parallelizable:
|
|
80
|
-
- "
|
|
81
|
-
- "
|
|
82
|
-
- "
|
|
83
|
-
- "
|
|
84
|
-
- "
|
|
80
|
+
- "Independent UI component implementation"
|
|
81
|
+
- "Utility functions in different modules"
|
|
82
|
+
- "Independent test writing"
|
|
83
|
+
- "Documentation writing"
|
|
84
|
+
- "Environment setup (when no conflicts)"
|
|
85
85
|
|
|
86
|
-
#
|
|
86
|
+
# Sequential required task types
|
|
87
87
|
sequential_required:
|
|
88
|
-
- "
|
|
89
|
-
- "
|
|
90
|
-
- "API
|
|
91
|
-
- "
|
|
92
|
-
- "
|
|
88
|
+
- "Database schema changes"
|
|
89
|
+
- "Authentication/authorization flow"
|
|
90
|
+
- "API endpoint → client integration"
|
|
91
|
+
- "Dependent component chain"
|
|
92
|
+
- "Version upgrades"
|
|
93
93
|
|
|
94
|
-
#
|
|
94
|
+
# Visualization format
|
|
95
95
|
visualization:
|
|
96
|
-
#
|
|
96
|
+
# Dependency graph format
|
|
97
97
|
graph_format: "mermaid"
|
|
98
98
|
|
|
99
|
-
#
|
|
99
|
+
# Example output
|
|
100
100
|
example: |
|
|
101
101
|
```mermaid
|
|
102
102
|
graph LR
|
|
@@ -109,45 +109,45 @@ visualization:
|
|
|
109
109
|
G --> H[TASK-008]
|
|
110
110
|
H --> I[TASK-009]
|
|
111
111
|
|
|
112
|
-
subgraph "
|
|
112
|
+
subgraph "Group A (Parallel)"
|
|
113
113
|
A
|
|
114
114
|
B
|
|
115
115
|
C
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
subgraph "
|
|
118
|
+
subgraph "Group B (Parallel)"
|
|
119
119
|
D
|
|
120
120
|
E
|
|
121
121
|
F
|
|
122
122
|
end
|
|
123
123
|
|
|
124
|
-
subgraph "
|
|
124
|
+
subgraph "Group C (Sequential)"
|
|
125
125
|
G
|
|
126
126
|
H
|
|
127
127
|
I
|
|
128
128
|
end
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
-
#
|
|
131
|
+
# Execution optimization
|
|
132
132
|
optimization:
|
|
133
|
-
#
|
|
133
|
+
# Maximum concurrent tasks
|
|
134
134
|
max_concurrent_tasks: 3
|
|
135
135
|
|
|
136
|
-
#
|
|
136
|
+
# Resource limits
|
|
137
137
|
resource_limits:
|
|
138
138
|
cpu_intensive_concurrent: 2
|
|
139
139
|
io_intensive_concurrent: 5
|
|
140
140
|
|
|
141
|
-
#
|
|
141
|
+
# Priority-based scheduling
|
|
142
142
|
priority_scheduling: true
|
|
143
143
|
|
|
144
|
-
#
|
|
144
|
+
# Monitoring
|
|
145
145
|
monitoring:
|
|
146
|
-
#
|
|
146
|
+
# Track progress
|
|
147
147
|
track_parallel_progress: true
|
|
148
148
|
|
|
149
|
-
#
|
|
149
|
+
# Bottleneck detection
|
|
150
150
|
detect_bottlenecks: true
|
|
151
151
|
|
|
152
|
-
#
|
|
152
|
+
# Completion notification
|
|
153
153
|
notify_on_group_complete: true
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# Task Schema Definition
|
|
2
|
-
# claude-symphony
|
|
2
|
+
# claude-symphony Task Management Schema (Issue #4, #6, #8, #16 Resolution)
|
|
3
3
|
|
|
4
4
|
schema:
|
|
5
5
|
name: "Project Tasks"
|
|
6
6
|
version: "1.0.0"
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Required field definitions
|
|
9
9
|
fields:
|
|
10
|
-
#
|
|
10
|
+
# Task name (Title)
|
|
11
11
|
- name: "Task Name"
|
|
12
12
|
type: "title"
|
|
13
13
|
required: true
|
|
14
|
-
description: "
|
|
14
|
+
description: "Task title"
|
|
15
15
|
|
|
16
|
-
#
|
|
16
|
+
# Status field (Issue #16: Status field required!)
|
|
17
17
|
- name: "Status"
|
|
18
18
|
type: "select"
|
|
19
19
|
required: true
|
|
@@ -30,7 +30,7 @@ fields:
|
|
|
30
30
|
- name: "Blocked"
|
|
31
31
|
color: "red"
|
|
32
32
|
|
|
33
|
-
#
|
|
33
|
+
# Priority
|
|
34
34
|
- name: "Priority"
|
|
35
35
|
type: "select"
|
|
36
36
|
required: false
|
|
@@ -43,14 +43,14 @@ fields:
|
|
|
43
43
|
- name: "Low"
|
|
44
44
|
color: "green"
|
|
45
45
|
|
|
46
|
-
#
|
|
46
|
+
# Order for sorting (Issue #5, #6, #8 resolution)
|
|
47
47
|
- name: "Order"
|
|
48
48
|
type: "number"
|
|
49
49
|
required: true
|
|
50
|
-
description: "
|
|
50
|
+
description: "Task order (for sorting)"
|
|
51
51
|
auto_increment: true
|
|
52
52
|
|
|
53
|
-
#
|
|
53
|
+
# Sprint
|
|
54
54
|
- name: "Sprint"
|
|
55
55
|
type: "select"
|
|
56
56
|
required: false
|
|
@@ -59,29 +59,29 @@ fields:
|
|
|
59
59
|
- name: "Sprint 2"
|
|
60
60
|
- name: "Sprint 3"
|
|
61
61
|
|
|
62
|
-
#
|
|
62
|
+
# Assignee
|
|
63
63
|
- name: "Assignee"
|
|
64
64
|
type: "text"
|
|
65
65
|
required: false
|
|
66
66
|
|
|
67
|
-
#
|
|
67
|
+
# Estimated time
|
|
68
68
|
- name: "Estimate"
|
|
69
69
|
type: "text"
|
|
70
70
|
required: false
|
|
71
|
-
description: "
|
|
71
|
+
description: "Estimated time (e.g., 2h, 1d)"
|
|
72
72
|
|
|
73
|
-
#
|
|
73
|
+
# Due date
|
|
74
74
|
- name: "Due Date"
|
|
75
75
|
type: "date"
|
|
76
76
|
required: false
|
|
77
77
|
|
|
78
|
-
#
|
|
78
|
+
# Dependencies
|
|
79
79
|
- name: "Depends On"
|
|
80
80
|
type: "text"
|
|
81
81
|
required: false
|
|
82
|
-
description: "
|
|
82
|
+
description: "Prerequisite task IDs (comma-separated)"
|
|
83
83
|
|
|
84
|
-
#
|
|
84
|
+
# Stage
|
|
85
85
|
- name: "Stage"
|
|
86
86
|
type: "select"
|
|
87
87
|
required: false
|
|
@@ -91,44 +91,44 @@ fields:
|
|
|
91
91
|
- name: "08-qa"
|
|
92
92
|
- name: "09-testing"
|
|
93
93
|
|
|
94
|
-
#
|
|
94
|
+
# Task creation rules (Issue #6, #8 resolution: Sequential creation!)
|
|
95
95
|
creation_rules:
|
|
96
|
-
#
|
|
96
|
+
# Parallel creation prohibited - order guarantee
|
|
97
97
|
mode: "sequential"
|
|
98
98
|
batch_size: 1
|
|
99
99
|
|
|
100
|
-
#
|
|
100
|
+
# Sequential creation procedure
|
|
101
101
|
procedure:
|
|
102
102
|
- step: 1
|
|
103
103
|
action: "create_single_task"
|
|
104
|
-
description: "
|
|
104
|
+
description: "Create single task"
|
|
105
105
|
- step: 2
|
|
106
106
|
action: "verify_order_field"
|
|
107
|
-
description: "Order
|
|
107
|
+
description: "Verify Order field"
|
|
108
108
|
- step: 3
|
|
109
109
|
action: "create_next_task"
|
|
110
|
-
description: "
|
|
110
|
+
description: "Create next task (Order + 1)"
|
|
111
111
|
|
|
112
|
-
#
|
|
112
|
+
# Prohibited actions
|
|
113
113
|
prohibited:
|
|
114
|
-
- "batch_create" #
|
|
115
|
-
- "parallel_create" #
|
|
114
|
+
- "batch_create" # Batch creation prohibited
|
|
115
|
+
- "parallel_create" # Parallel creation prohibited
|
|
116
116
|
|
|
117
|
-
#
|
|
117
|
+
# Recommended actions
|
|
118
118
|
recommended:
|
|
119
|
-
- "explicit_order" #
|
|
120
|
-
- "status_to_do" # Status = "To Do"
|
|
121
|
-
- "sequential_naming" #
|
|
119
|
+
- "explicit_order" # Explicit Order value specification
|
|
120
|
+
- "status_to_do" # Create with Status = "To Do"
|
|
121
|
+
- "sequential_naming" # Sequential naming
|
|
122
122
|
|
|
123
|
-
# Notion
|
|
123
|
+
# Notion database creation template
|
|
124
124
|
notion_template:
|
|
125
125
|
database_name: "{{PROJECT_NAME}} Tasks"
|
|
126
126
|
|
|
127
127
|
properties:
|
|
128
128
|
- "Task Name" # title
|
|
129
|
-
- "Status" # select (
|
|
129
|
+
- "Status" # select (required!)
|
|
130
130
|
- "Priority" # select
|
|
131
|
-
- "Order" # number (
|
|
131
|
+
- "Order" # number (for sorting!)
|
|
132
132
|
- "Sprint" # select
|
|
133
133
|
- "Assignee" # text
|
|
134
134
|
- "Estimate" # text
|
|
@@ -136,7 +136,7 @@ notion_template:
|
|
|
136
136
|
- "Depends On" # text
|
|
137
137
|
- "Stage" # select
|
|
138
138
|
|
|
139
|
-
#
|
|
139
|
+
# Default view settings
|
|
140
140
|
views:
|
|
141
141
|
- name: "Board View"
|
|
142
142
|
type: "board"
|
|
@@ -1,163 +1,159 @@
|
|
|
1
1
|
# Stage 06: Implementation
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
>
|
|
8
|
-
>
|
|
9
|
-
>
|
|
10
|
-
|
|
11
|
-
###
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
###
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
###
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
|
|
29
|
-
### AI
|
|
30
|
-
- **Temperature**: 0.3 (
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
##
|
|
34
|
-
- **Primary**: ClaudeCode (
|
|
35
|
-
- **Mode**: Plan + Sandbox -
|
|
36
|
-
|
|
37
|
-
##
|
|
38
|
-
1.
|
|
39
|
-
2.
|
|
40
|
-
3.
|
|
41
|
-
4. API
|
|
42
|
-
|
|
43
|
-
##
|
|
3
|
+
Core feature implementation stage
|
|
4
|
+
|
|
5
|
+
## Persona: Precise Builder
|
|
6
|
+
|
|
7
|
+
> You are a Precise Builder.
|
|
8
|
+
> Write accurate and maintainable code.
|
|
9
|
+
> Prevent errors proactively and create testable structures.
|
|
10
|
+
|
|
11
|
+
### Characteristics
|
|
12
|
+
- Precise implementation
|
|
13
|
+
- Error prevention
|
|
14
|
+
- Testable code
|
|
15
|
+
- Clean code
|
|
16
|
+
|
|
17
|
+
### Recommended Actions
|
|
18
|
+
- Clear and readable code
|
|
19
|
+
- Error handling
|
|
20
|
+
- Type safety
|
|
21
|
+
- Test friendliness
|
|
22
|
+
|
|
23
|
+
### Actions to Avoid
|
|
24
|
+
- Over-engineering
|
|
25
|
+
- Magic numbers/strings
|
|
26
|
+
- Ignoring errors
|
|
27
|
+
- Complex logic
|
|
28
|
+
|
|
29
|
+
### AI Settings
|
|
30
|
+
- **Temperature**: 0.3 (high precision)
|
|
31
|
+
- **Precision**: High
|
|
32
|
+
|
|
33
|
+
## Execution Model
|
|
34
|
+
- **Primary**: ClaudeCode (code generation)
|
|
35
|
+
- **Mode**: Plan + Sandbox - safe code execution
|
|
36
|
+
|
|
37
|
+
## Goals
|
|
38
|
+
1. Project scaffolding
|
|
39
|
+
2. Core feature implementation
|
|
40
|
+
3. Database integration
|
|
41
|
+
4. API implementation
|
|
42
|
+
|
|
43
|
+
## Input Files
|
|
44
44
|
- `../05-task-management/outputs/tasks.md`
|
|
45
45
|
- `../03-planning/outputs/architecture.md`
|
|
46
|
-
- `../03-planning/outputs/implementation.yaml` -
|
|
46
|
+
- `../03-planning/outputs/implementation.yaml` - **Implementation rules (required reference!)**
|
|
47
47
|
- `../04-ui-ux/outputs/design_system.md`
|
|
48
48
|
- `../05-task-management/HANDOFF.md`
|
|
49
49
|
|
|
50
|
-
### ⚠️ implementation.yaml
|
|
51
|
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
50
|
+
### ⚠️ Must Follow implementation.yaml
|
|
51
|
+
Read the `implementation.yaml` file before implementation and verify the following rules:
|
|
52
|
+
- Component type/export method
|
|
53
|
+
- Styling approach
|
|
54
|
+
- State management pattern
|
|
55
|
+
- Naming conventions
|
|
56
|
+
- Folder structure
|
|
57
|
+
- Prohibited/recommended practices
|
|
58
58
|
|
|
59
|
-
##
|
|
60
|
-
- `outputs/source_code/` -
|
|
61
|
-
- `outputs/implementation_log.md` -
|
|
62
|
-
- `HANDOFF.md` -
|
|
59
|
+
## Output Files
|
|
60
|
+
- `outputs/source_code/` - Source code directory
|
|
61
|
+
- `outputs/implementation_log.md` - Implementation log
|
|
62
|
+
- `HANDOFF.md` - Handoff document for next stage
|
|
63
63
|
|
|
64
|
-
##
|
|
64
|
+
## Workflow
|
|
65
65
|
|
|
66
|
-
### 1.
|
|
66
|
+
### 1. Project Initialization
|
|
67
67
|
```bash
|
|
68
|
-
#
|
|
68
|
+
# Example: Next.js project
|
|
69
69
|
npx create-next-app@latest project-name
|
|
70
70
|
cd project-name
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
-
### 2.
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
-
|
|
73
|
+
### 2. Common Component Implementation
|
|
74
|
+
- Design system-based UI components
|
|
75
|
+
- Layout components
|
|
76
|
+
- Utility functions
|
|
77
77
|
|
|
78
|
-
### 3.
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
78
|
+
### 3. Feature Implementation
|
|
79
|
+
- Sequential implementation of Sprint 1 tasks
|
|
80
|
+
- Commit upon each task completion
|
|
81
|
+
- Update implementation log
|
|
82
82
|
|
|
83
|
-
### 4.
|
|
84
|
-
- API
|
|
85
|
-
-
|
|
86
|
-
-
|
|
83
|
+
### 4. Integration
|
|
84
|
+
- API integration
|
|
85
|
+
- Database connection
|
|
86
|
+
- Authentication/authorization implementation
|
|
87
87
|
|
|
88
|
-
##
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
-
|
|
88
|
+
## Checkpoint Rules
|
|
89
|
+
- **Required**: Checkpoints are mandatory for this stage
|
|
90
|
+
- Create checkpoint upon each sprint completion
|
|
91
|
+
- Create checkpoint upon major feature completion
|
|
92
92
|
|
|
93
|
-
##
|
|
94
|
-
1.
|
|
95
|
-
2.
|
|
96
|
-
3.
|
|
97
|
-
4.
|
|
93
|
+
## Implementation Principles
|
|
94
|
+
1. Commit in small units
|
|
95
|
+
2. Write testable code
|
|
96
|
+
3. Include error handling
|
|
97
|
+
4. Ensure type safety (TypeScript)
|
|
98
98
|
|
|
99
99
|
---
|
|
100
100
|
|
|
101
|
-
## ⚠️ Test-First
|
|
101
|
+
## ⚠️ Test-First Flow (Required)
|
|
102
102
|
|
|
103
|
-
>
|
|
104
|
-
> Snake Game
|
|
103
|
+
> **Important**: Run smoke tests after implementation completion for early bug detection.
|
|
104
|
+
> In the Snake Game project, skipping this step allowed 2 bugs to pass through 2 stages.
|
|
105
105
|
|
|
106
|
-
###
|
|
106
|
+
### Required Tests After Implementation
|
|
107
107
|
|
|
108
108
|
```bash
|
|
109
|
-
# 1.
|
|
109
|
+
# 1. Verify dev server runs
|
|
110
110
|
npm run dev
|
|
111
|
-
#
|
|
111
|
+
# Verify basic functionality in browser
|
|
112
112
|
|
|
113
|
-
# 2.
|
|
113
|
+
# 2. Static analysis
|
|
114
114
|
npm run lint
|
|
115
115
|
|
|
116
|
-
# 3.
|
|
116
|
+
# 3. Type check
|
|
117
117
|
npm run typecheck
|
|
118
118
|
|
|
119
|
-
# 4. Playwright
|
|
119
|
+
# 4. Playwright smoke test (if configured)
|
|
120
120
|
npx playwright test --grep @smoke
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
-
###
|
|
124
|
-
1. **lint
|
|
125
|
-
2. **typecheck
|
|
126
|
-
3.
|
|
127
|
-
4. **UI
|
|
123
|
+
### Actions on Test Failure
|
|
124
|
+
1. **lint errors**: Fix immediately
|
|
125
|
+
2. **typecheck errors**: Fix type definitions
|
|
126
|
+
3. **Runtime errors**: Record as bug and fix
|
|
127
|
+
4. **UI behavior issues**: Assign bug ID (e.g., BUG-001)
|
|
128
128
|
|
|
129
|
-
###
|
|
129
|
+
### Bug Recording Format
|
|
130
130
|
```markdown
|
|
131
|
-
### BUG-001: [
|
|
132
|
-
-
|
|
133
|
-
-
|
|
134
|
-
-
|
|
135
|
-
-
|
|
136
|
-
-
|
|
131
|
+
### BUG-001: [Bug Title]
|
|
132
|
+
- **Discovery Point**: 06-implementation smoke test
|
|
133
|
+
- **Symptom**: [Symptom description]
|
|
134
|
+
- **Cause**: [Cause analysis]
|
|
135
|
+
- **Modified File**: [File path]
|
|
136
|
+
- **Status**: Fixed / Unfixed
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
### HANDOFF.md
|
|
140
|
-
|
|
141
|
-
-
|
|
142
|
-
-
|
|
143
|
-
-
|
|
144
|
-
-
|
|
139
|
+
### HANDOFF.md Test Section Required
|
|
140
|
+
Include test results section in HANDOFF.md:
|
|
141
|
+
- List of tests executed
|
|
142
|
+
- Test results (pass/fail)
|
|
143
|
+
- Discovered bugs (if any)
|
|
144
|
+
- Bug fix status
|
|
145
145
|
|
|
146
146
|
---
|
|
147
147
|
|
|
148
|
-
##
|
|
149
|
-
- [ ]
|
|
150
|
-
- [ ]
|
|
151
|
-
- [ ]
|
|
152
|
-
- [ ] API
|
|
153
|
-
- [ ]
|
|
154
|
-
- [ ] **lint/typecheck
|
|
155
|
-
- [ ]
|
|
156
|
-
- [ ] HANDOFF.md
|
|
157
|
-
|
|
158
|
-
##
|
|
159
|
-
→ **07-refactoring**:
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
148
|
+
## Completion Criteria
|
|
149
|
+
- [ ] Project scaffolding complete
|
|
150
|
+
- [ ] Common components implemented
|
|
151
|
+
- [ ] Core features implemented (Sprint 1-2)
|
|
152
|
+
- [ ] API endpoints implemented
|
|
153
|
+
- [ ] **Smoke tests executed** (Test-First)
|
|
154
|
+
- [ ] **lint/typecheck passed**
|
|
155
|
+
- [ ] Checkpoint created
|
|
156
|
+
- [ ] HANDOFF.md generated (including test results)
|
|
157
|
+
|
|
158
|
+
## Next Stage
|
|
159
|
+
→ **07-refactoring**: Code quality improvement and optimization
|