create-ax-project 1.0.0
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 +374 -0
- package/bin/create.js +193 -0
- package/package.json +38 -0
- package/template/.claude/CLAUDE.md +7 -0
- package/template/.claude/commands/CLAUDE.md +0 -0
- package/template/.claude/commands/benchmark.md +103 -0
- package/template/.claude/commands/brainstorm.md +67 -0
- package/template/.claude/commands/checkpoint.md +93 -0
- package/template/.claude/commands/codex.md +107 -0
- package/template/.claude/commands/collaborate.md +85 -0
- package/template/.claude/commands/context.md +154 -0
- package/template/.claude/commands/deploy.md +102 -0
- package/template/.claude/commands/fork.md +142 -0
- package/template/.claude/commands/gemini.md +84 -0
- package/template/.claude/commands/handoff.md +80 -0
- package/template/.claude/commands/implement.md +82 -0
- package/template/.claude/commands/init-project.md +49 -0
- package/template/.claude/commands/next.md +125 -0
- package/template/.claude/commands/planning.md +69 -0
- package/template/.claude/commands/qa.md +81 -0
- package/template/.claude/commands/refactor.md +95 -0
- package/template/.claude/commands/research.md +60 -0
- package/template/.claude/commands/restore.md +113 -0
- package/template/.claude/commands/run-stage.md +78 -0
- package/template/.claude/commands/stages.md +109 -0
- package/template/.claude/commands/status.md +73 -0
- package/template/.claude/commands/tasks.md +80 -0
- package/template/.claude/commands/test.md +93 -0
- package/template/.claude/commands/ui-ux.md +61 -0
- package/template/.claude/commands/validate.md +174 -0
- package/template/.claude/hooks/CLAUDE.md +0 -0
- package/template/.claude/hooks/ai-selector.sh +223 -0
- package/template/.claude/hooks/auto-checkpoint.sh +187 -0
- package/template/.claude/hooks/output-validator.sh +289 -0
- package/template/.claude/hooks/post-stage.sh +123 -0
- package/template/.claude/hooks/pre-stage.sh +186 -0
- package/template/.claude/hooks/session-start.sh +90 -0
- package/template/.claude/hooks/statusline.sh +115 -0
- package/template/.claude/hooks/stop.sh +104 -0
- package/template/.claude/settings.json +149 -0
- package/template/.claude/skills/ai-collaboration/CLAUDE.md +0 -0
- package/template/.claude/skills/ai-collaboration/README.md +61 -0
- package/template/.claude/skills/ai-collaboration/debate.md +148 -0
- package/template/.claude/skills/ai-collaboration/parallel.md +96 -0
- package/template/.claude/skills/ai-collaboration/prompts/CLAUDE.md +107 -0
- package/template/.claude/skills/auto-checkpoint/CLAUDE.md +0 -0
- package/template/.claude/skills/auto-checkpoint/README.md +77 -0
- package/template/.claude/skills/auto-checkpoint/prompts/CLAUDE.md +113 -0
- package/template/.claude/skills/auto-checkpoint/rollback.md +152 -0
- package/template/.claude/skills/auto-checkpoint/trigger.md +122 -0
- package/template/.claude/skills/context-compression/CLAUDE.md +0 -0
- package/template/.claude/skills/context-compression/README.md +121 -0
- package/template/.claude/skills/context-compression/analyze.md +114 -0
- package/template/.claude/skills/context-compression/compress.md +175 -0
- package/template/.claude/skills/context-compression/prompts/CLAUDE.md +0 -0
- package/template/.claude/skills/context-compression/prompts/compression.md +172 -0
- package/template/.claude/skills/output-validator/CLAUDE.md +0 -0
- package/template/.claude/skills/output-validator/README.md +86 -0
- package/template/.claude/skills/output-validator/prompts/CLAUDE.md +119 -0
- package/template/.claude/skills/output-validator/validate.md +182 -0
- package/template/.claude/skills/smart-handoff/CLAUDE.md +0 -0
- package/template/.claude/skills/smart-handoff/README.md +59 -0
- package/template/.claude/skills/smart-handoff/extract.md +76 -0
- package/template/.claude/skills/smart-handoff/prompts/CLAUDE.md +86 -0
- package/template/.claude/skills/smart-handoff/summarize.md +94 -0
- package/template/.claude/skills/stage-transition/CLAUDE.md +0 -0
- package/template/.claude/skills/stage-transition/README.md +84 -0
- package/template/.claude/skills/stage-transition/handoff-gen.md +160 -0
- package/template/.claude/skills/stage-transition/prompts/CLAUDE.md +0 -0
- package/template/.claude/skills/stage-transition/prompts/transition.md +145 -0
- package/template/.claude/skills/stage-transition/validate.md +108 -0
- package/template/CLAUDE.md +528 -0
- package/template/config/CLAUDE.md +0 -0
- package/template/config/ai_benchmarking.yaml +184 -0
- package/template/config/ai_collaboration.yaml +159 -0
- package/template/config/ai_logging.yaml +129 -0
- package/template/config/auto_checkpoint.yaml +189 -0
- package/template/config/context.yaml +78 -0
- package/template/config/git.yaml +161 -0
- package/template/config/handoff_intelligence.yaml +229 -0
- package/template/config/implementation.yaml.template +181 -0
- package/template/config/mcp_fallbacks.yaml +252 -0
- package/template/config/memory_integration.yaml +200 -0
- package/template/config/model_enforcement.yaml +141 -0
- package/template/config/models.yaml +242 -0
- package/template/config/output_validation.yaml +352 -0
- package/template/config/pipeline.yaml +357 -0
- package/template/config/pipeline_forking.yaml +236 -0
- package/template/config/qa_logging.yaml +166 -0
- package/template/config/smart_rollback.yaml +209 -0
- package/template/config/stage_personas.yaml +354 -0
- package/template/config/workflow.yaml +54 -0
- package/template/scripts/CLAUDE.md +0 -0
- package/template/scripts/ai-benchmark.sh +272 -0
- package/template/scripts/codex-wrapper.sh +97 -0
- package/template/scripts/context-manager.sh +528 -0
- package/template/scripts/create-checkpoint.sh +116 -0
- package/template/scripts/gemini-wrapper.sh +96 -0
- package/template/scripts/init-project.sh +109 -0
- package/template/scripts/list-stages.sh +245 -0
- package/template/scripts/next-stage.sh +228 -0
- package/template/scripts/output-validate.sh +12 -0
- package/template/scripts/pipeline-fork.sh +293 -0
- package/template/scripts/pre-run-check.sh +361 -0
- package/template/scripts/restore-checkpoint.sh +247 -0
- package/template/scripts/run-stage.sh +139 -0
- package/template/scripts/show-status.sh +185 -0
- package/template/scripts/smart-handoff.sh +254 -0
- package/template/stages/01-brainstorm/CLAUDE.md +103 -0
- package/template/stages/01-brainstorm/HANDOFF.md +110 -0
- package/template/stages/01-brainstorm/HANDOFF.md.template +112 -0
- package/template/stages/01-brainstorm/README.md +97 -0
- package/template/stages/01-brainstorm/config.yaml +92 -0
- package/template/stages/01-brainstorm/inputs/.gitkeep +0 -0
- package/template/stages/01-brainstorm/inputs/CLAUDE.md +0 -0
- package/template/stages/01-brainstorm/inputs/project_brief.md +40 -0
- package/template/stages/01-brainstorm/outputs/.gitkeep +0 -0
- package/template/stages/01-brainstorm/outputs/CLAUDE.md +0 -0
- package/template/stages/01-brainstorm/outputs/ideas.md +159 -0
- package/template/stages/01-brainstorm/outputs/requirements_analysis.md +222 -0
- package/template/stages/01-brainstorm/prompts/CLAUDE.md +0 -0
- package/template/stages/01-brainstorm/prompts/collaboration.md +46 -0
- package/template/stages/01-brainstorm/prompts/ideation.md +62 -0
- package/template/stages/01-brainstorm/prompts/persona.md +73 -0
- package/template/stages/01-brainstorm/prompts/requirements.md +73 -0
- package/template/stages/01-brainstorm/prompts/validation.md +50 -0
- package/template/stages/01-brainstorm/templates/CLAUDE.md +0 -0
- package/template/stages/01-brainstorm/templates/ideas.md +91 -0
- package/template/stages/01-brainstorm/templates/requirements_analysis.md +129 -0
- package/template/stages/02-research/CLAUDE.md +101 -0
- package/template/stages/02-research/HANDOFF.md +158 -0
- package/template/stages/02-research/HANDOFF.md.template +102 -0
- package/template/stages/02-research/config.yaml +68 -0
- package/template/stages/02-research/inputs/.gitkeep +0 -0
- package/template/stages/02-research/outputs/.gitkeep +0 -0
- package/template/stages/02-research/outputs/CLAUDE.md +0 -0
- package/template/stages/02-research/outputs/feasibility_report.md +176 -0
- package/template/stages/02-research/outputs/tech_research.md +403 -0
- package/template/stages/02-research/prompts/CLAUDE.md +0 -0
- package/template/stages/02-research/prompts/collaboration.md +51 -0
- package/template/stages/02-research/prompts/feasibility.md +73 -0
- package/template/stages/02-research/prompts/market_analysis.md +58 -0
- package/template/stages/02-research/prompts/tech_stack.md +60 -0
- package/template/stages/02-research/prompts/validation.md +51 -0
- package/template/stages/02-research/templates/.gitkeep +0 -0
- package/template/stages/03-planning/CLAUDE.md +98 -0
- package/template/stages/03-planning/HANDOFF.md +168 -0
- package/template/stages/03-planning/HANDOFF.md.template +91 -0
- package/template/stages/03-planning/config.yaml +64 -0
- package/template/stages/03-planning/inputs/.gitkeep +0 -0
- package/template/stages/03-planning/outputs/.gitkeep +0 -0
- package/template/stages/03-planning/outputs/CLAUDE.md +0 -0
- package/template/stages/03-planning/outputs/architecture.md +400 -0
- package/template/stages/03-planning/outputs/implementation.yaml +209 -0
- package/template/stages/03-planning/outputs/project_plan.md +204 -0
- package/template/stages/03-planning/outputs/tech_stack.md +176 -0
- package/template/stages/03-planning/prompts/CLAUDE.md +0 -0
- package/template/stages/03-planning/prompts/architecture.md +62 -0
- package/template/stages/03-planning/prompts/collaboration.md +57 -0
- package/template/stages/03-planning/prompts/validation.md +59 -0
- package/template/stages/03-planning/templates/.gitkeep +0 -0
- package/template/stages/04-ui-ux/CLAUDE.md +88 -0
- package/template/stages/04-ui-ux/HANDOFF.md +165 -0
- package/template/stages/04-ui-ux/HANDOFF.md.template +92 -0
- package/template/stages/04-ui-ux/config.yaml +57 -0
- package/template/stages/04-ui-ux/inputs/.gitkeep +0 -0
- package/template/stages/04-ui-ux/outputs/.gitkeep +0 -0
- package/template/stages/04-ui-ux/outputs/CLAUDE.md +0 -0
- package/template/stages/04-ui-ux/outputs/design_system.md +449 -0
- package/template/stages/04-ui-ux/outputs/user_flows.md +321 -0
- package/template/stages/04-ui-ux/outputs/wireframes.md +241 -0
- package/template/stages/04-ui-ux/prompts/.gitkeep +0 -0
- package/template/stages/04-ui-ux/prompts/CLAUDE.md +0 -0
- package/template/stages/04-ui-ux/prompts/collaboration.md +56 -0
- package/template/stages/04-ui-ux/prompts/validation.md +54 -0
- package/template/stages/04-ui-ux/templates/.gitkeep +0 -0
- package/template/stages/05-task-management/CLAUDE.md +105 -0
- package/template/stages/05-task-management/HANDOFF.md +187 -0
- package/template/stages/05-task-management/HANDOFF.md.template +97 -0
- package/template/stages/05-task-management/config.yaml +81 -0
- package/template/stages/05-task-management/inputs/.gitkeep +0 -0
- package/template/stages/05-task-management/outputs/.gitkeep +0 -0
- package/template/stages/05-task-management/outputs/CLAUDE.md +0 -0
- package/template/stages/05-task-management/outputs/milestones.md +253 -0
- package/template/stages/05-task-management/outputs/sprint_plan.md +203 -0
- package/template/stages/05-task-management/outputs/tasks.md +402 -0
- package/template/stages/05-task-management/prompts/.gitkeep +0 -0
- package/template/stages/05-task-management/prompts/CLAUDE.md +0 -0
- package/template/stages/05-task-management/prompts/collaboration.md +54 -0
- package/template/stages/05-task-management/prompts/validation.md +66 -0
- package/template/stages/05-task-management/templates/CLAUDE.md +0 -0
- package/template/stages/05-task-management/templates/notion_integration.md +176 -0
- package/template/stages/05-task-management/templates/parallel_groups.yaml +153 -0
- package/template/stages/05-task-management/templates/task_schema.yaml +154 -0
- package/template/stages/06-implementation/CLAUDE.md +163 -0
- package/template/stages/06-implementation/HANDOFF.md +184 -0
- package/template/stages/06-implementation/HANDOFF.md.template +192 -0
- package/template/stages/06-implementation/config.yaml +62 -0
- package/template/stages/06-implementation/inputs/.gitkeep +0 -0
- package/template/stages/06-implementation/outputs/.gitkeep +0 -0
- package/template/stages/06-implementation/prompts/.gitkeep +0 -0
- package/template/stages/06-implementation/prompts/CLAUDE.md +0 -0
- package/template/stages/06-implementation/prompts/collaboration.md +64 -0
- package/template/stages/06-implementation/prompts/validation.md +65 -0
- package/template/stages/06-implementation/templates/.gitkeep +0 -0
- package/template/stages/07-refactoring/CLAUDE.md +180 -0
- package/template/stages/07-refactoring/HANDOFF.md +82 -0
- package/template/stages/07-refactoring/HANDOFF.md.template +97 -0
- package/template/stages/07-refactoring/config.yaml +68 -0
- package/template/stages/07-refactoring/inputs/.gitkeep +0 -0
- package/template/stages/07-refactoring/outputs/.gitkeep +0 -0
- package/template/stages/07-refactoring/outputs/refactoring_report.md +102 -0
- package/template/stages/07-refactoring/prompts/.gitkeep +0 -0
- package/template/stages/07-refactoring/prompts/CLAUDE.md +0 -0
- package/template/stages/07-refactoring/prompts/collaboration.md +71 -0
- package/template/stages/07-refactoring/prompts/validation.md +76 -0
- package/template/stages/07-refactoring/templates/.gitkeep +0 -0
- package/template/stages/08-qa/CLAUDE.md +93 -0
- package/template/stages/08-qa/HANDOFF.md +114 -0
- package/template/stages/08-qa/HANDOFF.md.template +96 -0
- package/template/stages/08-qa/config.yaml +56 -0
- package/template/stages/08-qa/inputs/.gitkeep +0 -0
- package/template/stages/08-qa/outputs/.gitkeep +0 -0
- package/template/stages/08-qa/outputs/qa_report.md +138 -0
- package/template/stages/08-qa/prompts/.gitkeep +0 -0
- package/template/stages/08-qa/prompts/CLAUDE.md +0 -0
- package/template/stages/08-qa/prompts/collaboration.md +65 -0
- package/template/stages/08-qa/prompts/validation.md +71 -0
- package/template/stages/08-qa/templates/.gitkeep +0 -0
- package/template/stages/09-testing/CLAUDE.md +124 -0
- package/template/stages/09-testing/HANDOFF.md +118 -0
- package/template/stages/09-testing/HANDOFF.md.template +113 -0
- package/template/stages/09-testing/config.yaml +65 -0
- package/template/stages/09-testing/inputs/.gitkeep +0 -0
- package/template/stages/09-testing/outputs/.gitkeep +0 -0
- package/template/stages/09-testing/outputs/test_report.md +146 -0
- package/template/stages/09-testing/prompts/.gitkeep +0 -0
- package/template/stages/09-testing/prompts/CLAUDE.md +0 -0
- package/template/stages/09-testing/prompts/collaboration.md +77 -0
- package/template/stages/09-testing/prompts/validation.md +83 -0
- package/template/stages/09-testing/templates/.gitkeep +0 -0
- package/template/stages/10-deployment/CLAUDE.md +117 -0
- package/template/stages/10-deployment/HANDOFF.md +141 -0
- package/template/stages/10-deployment/HANDOFF.md.template +148 -0
- package/template/stages/10-deployment/config.yaml +61 -0
- package/template/stages/10-deployment/inputs/.gitkeep +0 -0
- package/template/stages/10-deployment/outputs/.gitkeep +0 -0
- package/template/stages/10-deployment/prompts/.gitkeep +0 -0
- package/template/stages/10-deployment/prompts/CLAUDE.md +0 -0
- package/template/stages/10-deployment/prompts/collaboration.md +80 -0
- package/template/stages/10-deployment/prompts/validation.md +93 -0
- package/template/stages/10-deployment/templates/CLAUDE.md +0 -0
- package/template/stages/10-deployment/templates/github-actions-cd.yaml +118 -0
- package/template/stages/10-deployment/templates/github-actions-ci.yaml +136 -0
- package/template/state/progress.json.template +111 -0
- package/template/state/templates/CLAUDE.md +0 -0
- package/template/state/templates/handoff_base.md.template +187 -0
- package/template/state/templates/phase_state.md.template +97 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# GitHub Actions CI Template
|
|
2
|
+
# ax-templates generated
|
|
3
|
+
|
|
4
|
+
name: CI
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches: [main, develop]
|
|
9
|
+
pull_request:
|
|
10
|
+
branches: [main, develop]
|
|
11
|
+
|
|
12
|
+
env:
|
|
13
|
+
NODE_VERSION: '20'
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
lint:
|
|
17
|
+
name: Lint
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
|
|
22
|
+
- name: Setup Node.js
|
|
23
|
+
uses: actions/setup-node@v4
|
|
24
|
+
with:
|
|
25
|
+
node-version: ${{ env.NODE_VERSION }}
|
|
26
|
+
cache: 'npm'
|
|
27
|
+
|
|
28
|
+
- name: Install dependencies
|
|
29
|
+
run: npm ci
|
|
30
|
+
|
|
31
|
+
- name: Run ESLint
|
|
32
|
+
run: npm run lint
|
|
33
|
+
|
|
34
|
+
type-check:
|
|
35
|
+
name: Type Check
|
|
36
|
+
runs-on: ubuntu-latest
|
|
37
|
+
steps:
|
|
38
|
+
- uses: actions/checkout@v4
|
|
39
|
+
|
|
40
|
+
- name: Setup Node.js
|
|
41
|
+
uses: actions/setup-node@v4
|
|
42
|
+
with:
|
|
43
|
+
node-version: ${{ env.NODE_VERSION }}
|
|
44
|
+
cache: 'npm'
|
|
45
|
+
|
|
46
|
+
- name: Install dependencies
|
|
47
|
+
run: npm ci
|
|
48
|
+
|
|
49
|
+
- name: Run TypeScript
|
|
50
|
+
run: npm run type-check
|
|
51
|
+
|
|
52
|
+
test:
|
|
53
|
+
name: Unit Tests
|
|
54
|
+
runs-on: ubuntu-latest
|
|
55
|
+
steps:
|
|
56
|
+
- uses: actions/checkout@v4
|
|
57
|
+
|
|
58
|
+
- name: Setup Node.js
|
|
59
|
+
uses: actions/setup-node@v4
|
|
60
|
+
with:
|
|
61
|
+
node-version: ${{ env.NODE_VERSION }}
|
|
62
|
+
cache: 'npm'
|
|
63
|
+
|
|
64
|
+
- name: Install dependencies
|
|
65
|
+
run: npm ci
|
|
66
|
+
|
|
67
|
+
- name: Run tests
|
|
68
|
+
run: npm test -- --coverage
|
|
69
|
+
|
|
70
|
+
- name: Upload coverage
|
|
71
|
+
uses: codecov/codecov-action@v4
|
|
72
|
+
with:
|
|
73
|
+
files: ./coverage/lcov.info
|
|
74
|
+
fail_ci_if_error: false
|
|
75
|
+
|
|
76
|
+
build:
|
|
77
|
+
name: Build
|
|
78
|
+
runs-on: ubuntu-latest
|
|
79
|
+
needs: [lint, type-check, test]
|
|
80
|
+
steps:
|
|
81
|
+
- uses: actions/checkout@v4
|
|
82
|
+
|
|
83
|
+
- name: Setup Node.js
|
|
84
|
+
uses: actions/setup-node@v4
|
|
85
|
+
with:
|
|
86
|
+
node-version: ${{ env.NODE_VERSION }}
|
|
87
|
+
cache: 'npm'
|
|
88
|
+
|
|
89
|
+
- name: Install dependencies
|
|
90
|
+
run: npm ci
|
|
91
|
+
|
|
92
|
+
- name: Build
|
|
93
|
+
run: npm run build
|
|
94
|
+
|
|
95
|
+
- name: Upload build artifacts
|
|
96
|
+
uses: actions/upload-artifact@v4
|
|
97
|
+
with:
|
|
98
|
+
name: build
|
|
99
|
+
path: .next/
|
|
100
|
+
retention-days: 1
|
|
101
|
+
|
|
102
|
+
e2e:
|
|
103
|
+
name: E2E Tests
|
|
104
|
+
runs-on: ubuntu-latest
|
|
105
|
+
needs: build
|
|
106
|
+
steps:
|
|
107
|
+
- uses: actions/checkout@v4
|
|
108
|
+
|
|
109
|
+
- name: Setup Node.js
|
|
110
|
+
uses: actions/setup-node@v4
|
|
111
|
+
with:
|
|
112
|
+
node-version: ${{ env.NODE_VERSION }}
|
|
113
|
+
cache: 'npm'
|
|
114
|
+
|
|
115
|
+
- name: Install dependencies
|
|
116
|
+
run: npm ci
|
|
117
|
+
|
|
118
|
+
- name: Install Playwright browsers
|
|
119
|
+
run: npx playwright install --with-deps
|
|
120
|
+
|
|
121
|
+
- name: Download build artifacts
|
|
122
|
+
uses: actions/download-artifact@v4
|
|
123
|
+
with:
|
|
124
|
+
name: build
|
|
125
|
+
path: .next/
|
|
126
|
+
|
|
127
|
+
- name: Run E2E tests
|
|
128
|
+
run: npm run test:e2e
|
|
129
|
+
|
|
130
|
+
- name: Upload Playwright report
|
|
131
|
+
uses: actions/upload-artifact@v4
|
|
132
|
+
if: always()
|
|
133
|
+
with:
|
|
134
|
+
name: playwright-report
|
|
135
|
+
path: playwright-report/
|
|
136
|
+
retention-days: 7
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pipeline": {
|
|
3
|
+
"name": "Multi-AI Development Workflow",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"project_name": "{{PROJECT_NAME}}",
|
|
6
|
+
"started_at": "{{STARTED_AT}}",
|
|
7
|
+
"updated_at": null,
|
|
8
|
+
"completed_at": null
|
|
9
|
+
},
|
|
10
|
+
"current_stage": null,
|
|
11
|
+
"stages": {
|
|
12
|
+
"01-brainstorm": {
|
|
13
|
+
"status": "pending",
|
|
14
|
+
"started_at": null,
|
|
15
|
+
"completed_at": null,
|
|
16
|
+
"handoff_generated": false,
|
|
17
|
+
"checkpoint_id": null,
|
|
18
|
+
"outputs": [],
|
|
19
|
+
"errors": []
|
|
20
|
+
},
|
|
21
|
+
"02-research": {
|
|
22
|
+
"status": "pending",
|
|
23
|
+
"started_at": null,
|
|
24
|
+
"completed_at": null,
|
|
25
|
+
"handoff_generated": false,
|
|
26
|
+
"checkpoint_id": null,
|
|
27
|
+
"outputs": [],
|
|
28
|
+
"errors": []
|
|
29
|
+
},
|
|
30
|
+
"03-planning": {
|
|
31
|
+
"status": "pending",
|
|
32
|
+
"started_at": null,
|
|
33
|
+
"completed_at": null,
|
|
34
|
+
"handoff_generated": false,
|
|
35
|
+
"checkpoint_id": null,
|
|
36
|
+
"outputs": [],
|
|
37
|
+
"errors": []
|
|
38
|
+
},
|
|
39
|
+
"04-ui-ux": {
|
|
40
|
+
"status": "pending",
|
|
41
|
+
"started_at": null,
|
|
42
|
+
"completed_at": null,
|
|
43
|
+
"handoff_generated": false,
|
|
44
|
+
"checkpoint_id": null,
|
|
45
|
+
"outputs": [],
|
|
46
|
+
"errors": []
|
|
47
|
+
},
|
|
48
|
+
"05-task-management": {
|
|
49
|
+
"status": "pending",
|
|
50
|
+
"started_at": null,
|
|
51
|
+
"completed_at": null,
|
|
52
|
+
"handoff_generated": false,
|
|
53
|
+
"checkpoint_id": null,
|
|
54
|
+
"outputs": [],
|
|
55
|
+
"errors": []
|
|
56
|
+
},
|
|
57
|
+
"06-implementation": {
|
|
58
|
+
"status": "pending",
|
|
59
|
+
"started_at": null,
|
|
60
|
+
"completed_at": null,
|
|
61
|
+
"handoff_generated": false,
|
|
62
|
+
"checkpoint_id": null,
|
|
63
|
+
"outputs": [],
|
|
64
|
+
"errors": []
|
|
65
|
+
},
|
|
66
|
+
"07-refactoring": {
|
|
67
|
+
"status": "pending",
|
|
68
|
+
"started_at": null,
|
|
69
|
+
"completed_at": null,
|
|
70
|
+
"handoff_generated": false,
|
|
71
|
+
"checkpoint_id": null,
|
|
72
|
+
"outputs": [],
|
|
73
|
+
"errors": []
|
|
74
|
+
},
|
|
75
|
+
"08-qa": {
|
|
76
|
+
"status": "pending",
|
|
77
|
+
"started_at": null,
|
|
78
|
+
"completed_at": null,
|
|
79
|
+
"handoff_generated": false,
|
|
80
|
+
"checkpoint_id": null,
|
|
81
|
+
"outputs": [],
|
|
82
|
+
"errors": []
|
|
83
|
+
},
|
|
84
|
+
"09-testing": {
|
|
85
|
+
"status": "pending",
|
|
86
|
+
"started_at": null,
|
|
87
|
+
"completed_at": null,
|
|
88
|
+
"handoff_generated": false,
|
|
89
|
+
"checkpoint_id": null,
|
|
90
|
+
"outputs": [],
|
|
91
|
+
"errors": []
|
|
92
|
+
},
|
|
93
|
+
"10-deployment": {
|
|
94
|
+
"status": "pending",
|
|
95
|
+
"started_at": null,
|
|
96
|
+
"completed_at": null,
|
|
97
|
+
"handoff_generated": false,
|
|
98
|
+
"checkpoint_id": null,
|
|
99
|
+
"outputs": [],
|
|
100
|
+
"errors": []
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"checkpoints": [],
|
|
104
|
+
"context_snapshots": [],
|
|
105
|
+
"metadata": {
|
|
106
|
+
"total_tokens_used": 0,
|
|
107
|
+
"total_api_calls": 0,
|
|
108
|
+
"models_used": [],
|
|
109
|
+
"total_duration_hours": 0
|
|
110
|
+
}
|
|
111
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
# Stage Handoff: {{CURRENT_STAGE}} → {{NEXT_STAGE}}
|
|
2
|
+
|
|
3
|
+
**생성일**: {{TIMESTAMP}}
|
|
4
|
+
**생성자**: {{PRIMARY_AI}}
|
|
5
|
+
**소요 시간**: {{DURATION}}
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## AI 사용 기록
|
|
10
|
+
|
|
11
|
+
> 이 섹션은 의도된 AI 설정과 실제 사용을 비교하여 협업 효율성을 추적합니다.
|
|
12
|
+
|
|
13
|
+
### 의도 vs 실제 비교
|
|
14
|
+
|
|
15
|
+
| 항목 | 의도 | 실제 | 일치 |
|
|
16
|
+
|------|------|------|------|
|
|
17
|
+
| Primary AI | {{INTENDED_PRIMARY_AI}} | {{ACTUAL_PRIMARY_AI}} | {{PRIMARY_MATCH}} |
|
|
18
|
+
| Secondary AI | {{INTENDED_SECONDARY_AI}} | {{ACTUAL_SECONDARY_AI}} | {{SECONDARY_MATCH}} |
|
|
19
|
+
| 협업 모드 | {{INTENDED_COLLABORATION_MODE}} | {{ACTUAL_COLLABORATION_MODE}} | {{MODE_MATCH}} |
|
|
20
|
+
| 외부 AI 호출 | {{INTENDED_EXTERNAL_CALL}} | {{ACTUAL_EXTERNAL_CALL}} | {{EXTERNAL_MATCH}} |
|
|
21
|
+
|
|
22
|
+
### 협업 모드 상세
|
|
23
|
+
|
|
24
|
+
- **설정된 모드**: {{COLLABORATION_MODE}} (parallel/debate/sequential/none)
|
|
25
|
+
- **실제 실행**: {{MODE_EXECUTED}} (예/아니오)
|
|
26
|
+
- **미실행 사유**: {{NON_EXECUTION_REASON}}
|
|
27
|
+
|
|
28
|
+
### AI 호출 로그
|
|
29
|
+
|
|
30
|
+
| AI | 호출 시간 | 역할 | 프롬프트 | 결과 | 상태 |
|
|
31
|
+
|----|----------|------|---------|------|------|
|
|
32
|
+
{{#each AI_CALLS}}
|
|
33
|
+
| {{this.model}} | {{this.timestamp}} | {{this.role}} | {{this.prompt_file}} | {{this.output_file}} | {{this.status}} |
|
|
34
|
+
{{/each}}
|
|
35
|
+
|
|
36
|
+
### 폴백 기록
|
|
37
|
+
|
|
38
|
+
| 시도한 AI | 실패 시간 | 오류 | 폴백 AI | 결과 |
|
|
39
|
+
|----------|----------|------|---------|------|
|
|
40
|
+
{{#each FALLBACK_EVENTS}}
|
|
41
|
+
| {{this.attempted_model}} | {{this.failure_time}} | {{this.error}} | {{this.fallback_model}} | {{this.result}} |
|
|
42
|
+
{{/each}}
|
|
43
|
+
|
|
44
|
+
> 설정: `config/ai_collaboration.yaml`, `config/mcp_fallbacks.yaml`
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## 완료된 작업
|
|
49
|
+
|
|
50
|
+
{{#each COMPLETED_TASKS}}
|
|
51
|
+
- [x] {{this.name}} {{#if this.ai}}({{this.ai}}){{/if}}
|
|
52
|
+
{{/each}}
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## 다음 에이전트를 위한 컨텍스트
|
|
57
|
+
|
|
58
|
+
### 핵심 결정사항
|
|
59
|
+
|
|
60
|
+
{{#each KEY_DECISIONS}}
|
|
61
|
+
- **{{this.topic}}**: {{this.decision}}
|
|
62
|
+
- 이유: {{this.rationale}}
|
|
63
|
+
- 대안: {{this.alternatives}}
|
|
64
|
+
{{/each}}
|
|
65
|
+
|
|
66
|
+
### 수정된 파일
|
|
67
|
+
|
|
68
|
+
| 파일 | 변경 유형 | 변경 줄 수 | 담당 AI |
|
|
69
|
+
|------|----------|----------|---------|
|
|
70
|
+
{{#each MODIFIED_FILES}}
|
|
71
|
+
| `{{this.path}}` | {{this.change_type}} | {{this.lines_changed}} | {{this.ai_model}} |
|
|
72
|
+
{{/each}}
|
|
73
|
+
|
|
74
|
+
### 알려진 이슈 / 기술 부채
|
|
75
|
+
|
|
76
|
+
{{#each KNOWN_ISSUES}}
|
|
77
|
+
- **{{this.id}}**: {{this.description}}
|
|
78
|
+
- 심각도: {{this.severity}}
|
|
79
|
+
- 상태: {{this.status}}
|
|
80
|
+
{{/each}}
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## 테스트 상태 (Test-First 플로우)
|
|
85
|
+
|
|
86
|
+
> ⚠️ 이 스테이지에서 테스트가 실행되었는지 확인하세요.
|
|
87
|
+
|
|
88
|
+
### 실행된 테스트
|
|
89
|
+
|
|
90
|
+
| 테스트 유형 | 실행 시간 | 결과 | 커버리지 |
|
|
91
|
+
|-----------|----------|------|---------|
|
|
92
|
+
{{#each TESTS_RUN}}
|
|
93
|
+
| {{this.type}} | {{this.timestamp}} | {{this.result}} | {{this.coverage}} |
|
|
94
|
+
{{/each}}
|
|
95
|
+
|
|
96
|
+
### 스모크 테스트 결과
|
|
97
|
+
|
|
98
|
+
- **`npm run dev` 실행**: {{DEV_SERVER_STATUS}}
|
|
99
|
+
- **기본 동작 확인**: {{BASIC_FUNCTIONALITY}}
|
|
100
|
+
- **Playwright 스모크 테스트**: {{PLAYWRIGHT_SMOKE}}
|
|
101
|
+
|
|
102
|
+
### 발견된 버그
|
|
103
|
+
|
|
104
|
+
{{#each BUGS_FOUND}}
|
|
105
|
+
- **{{this.id}}**: {{this.description}}
|
|
106
|
+
- 발견 시점: {{this.found_at}}
|
|
107
|
+
- 상태: {{this.status}}
|
|
108
|
+
- 수정 파일: {{this.fix_file}}
|
|
109
|
+
{{/each}}
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## 체크포인트 정보
|
|
114
|
+
|
|
115
|
+
| ID | 생성일 | 설명 | 자동/수동 |
|
|
116
|
+
|----|--------|------|----------|
|
|
117
|
+
{{#each CHECKPOINTS}}
|
|
118
|
+
| {{this.id}} | {{this.date}} | {{this.description}} | {{this.type}} |
|
|
119
|
+
{{/each}}
|
|
120
|
+
|
|
121
|
+
복구 명령:
|
|
122
|
+
```bash
|
|
123
|
+
scripts/restore-checkpoint.sh {{LATEST_CP_ID}}
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## 생성된 산출물
|
|
129
|
+
|
|
130
|
+
| 파일 | 설명 | 검증 상태 |
|
|
131
|
+
|------|------|----------|
|
|
132
|
+
{{#each OUTPUTS}}
|
|
133
|
+
| {{this.path}} | {{this.description}} | {{this.validation_status}} |
|
|
134
|
+
{{/each}}
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## {{NEXT_STAGE}} 스테이지 가이드
|
|
139
|
+
|
|
140
|
+
### 즉시 실행할 작업
|
|
141
|
+
|
|
142
|
+
{{#each IMMEDIATE_TASKS}}
|
|
143
|
+
{{this.order}}. {{this.task}}
|
|
144
|
+
{{/each}}
|
|
145
|
+
|
|
146
|
+
### 주의사항
|
|
147
|
+
|
|
148
|
+
{{#each WARNINGS}}
|
|
149
|
+
- ⚠️ {{this}}
|
|
150
|
+
{{/each}}
|
|
151
|
+
|
|
152
|
+
### 참조 파일
|
|
153
|
+
|
|
154
|
+
{{#each REFERENCE_FILES}}
|
|
155
|
+
- `{{this}}`
|
|
156
|
+
{{/each}}
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## 메타데이터
|
|
161
|
+
|
|
162
|
+
```yaml
|
|
163
|
+
stage: "{{CURRENT_STAGE}}"
|
|
164
|
+
status: "completed"
|
|
165
|
+
next_stage: "{{NEXT_STAGE}}"
|
|
166
|
+
timestamp: "{{TIMESTAMP}}"
|
|
167
|
+
|
|
168
|
+
ai_usage:
|
|
169
|
+
intended:
|
|
170
|
+
primary: "{{INTENDED_PRIMARY_AI}}"
|
|
171
|
+
secondary: "{{INTENDED_SECONDARY_AI}}"
|
|
172
|
+
collaboration_mode: "{{INTENDED_COLLABORATION_MODE}}"
|
|
173
|
+
actual:
|
|
174
|
+
primary: "{{ACTUAL_PRIMARY_AI}}"
|
|
175
|
+
secondary: "{{ACTUAL_SECONDARY_AI}}"
|
|
176
|
+
collaboration_mode: "{{ACTUAL_COLLABORATION_MODE}}"
|
|
177
|
+
fallbacks: {{FALLBACK_COUNT}}
|
|
178
|
+
match_rate: "{{MATCH_RATE}}"
|
|
179
|
+
|
|
180
|
+
testing:
|
|
181
|
+
smoke_test_run: {{SMOKE_TEST_RUN}}
|
|
182
|
+
bugs_found: {{BUGS_FOUND_COUNT}}
|
|
183
|
+
bugs_fixed: {{BUGS_FIXED_COUNT}}
|
|
184
|
+
|
|
185
|
+
checkpoint_id: "{{LATEST_CP_ID}}"
|
|
186
|
+
files_modified: {{FILE_COUNT}}
|
|
187
|
+
```
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# 작업 상태 저장 - {{TIMESTAMP}}
|
|
2
|
+
|
|
3
|
+
## 컨텍스트 상태
|
|
4
|
+
- **남은 컨텍스트**: {{REMAINING_PERCENT}}%
|
|
5
|
+
- **저장 트리거**: {{TRIGGER_REASON}}
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 현재 스테이지
|
|
10
|
+
**{{STAGE_ID}}**: {{STAGE_NAME}}
|
|
11
|
+
|
|
12
|
+
## 스테이지 진행률
|
|
13
|
+
- 전체 태스크: {{TOTAL_TASKS}}
|
|
14
|
+
- 완료: {{COMPLETED_TASKS}}
|
|
15
|
+
- 진행률: {{PROGRESS_PERCENT}}%
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 완료된 태스크
|
|
20
|
+
{{#each COMPLETED_ITEMS}}
|
|
21
|
+
- [x] {{this.name}} ({{this.completed_at}})
|
|
22
|
+
{{/each}}
|
|
23
|
+
|
|
24
|
+
## 진행 중인 태스크
|
|
25
|
+
{{#each IN_PROGRESS_ITEMS}}
|
|
26
|
+
- [ ] **{{this.name}}**
|
|
27
|
+
- 시작: {{this.started_at}}
|
|
28
|
+
- 상태: {{this.status_detail}}
|
|
29
|
+
{{/each}}
|
|
30
|
+
|
|
31
|
+
## 대기 중인 태스크
|
|
32
|
+
{{#each PENDING_ITEMS}}
|
|
33
|
+
- [ ] {{this.name}}
|
|
34
|
+
{{/each}}
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## 핵심 컨텍스트
|
|
39
|
+
|
|
40
|
+
### 주요 결정사항
|
|
41
|
+
{{#each KEY_DECISIONS}}
|
|
42
|
+
- **{{this.topic}}**: {{this.decision}}
|
|
43
|
+
- 이유: {{this.rationale}}
|
|
44
|
+
{{/each}}
|
|
45
|
+
|
|
46
|
+
### 수정된 파일
|
|
47
|
+
{{#each MODIFIED_FILES}}
|
|
48
|
+
- `{{this.path}}` - {{this.change_type}} ({{this.lines_changed}} lines)
|
|
49
|
+
{{/each}}
|
|
50
|
+
|
|
51
|
+
### 활성 이슈/버그
|
|
52
|
+
{{#each ACTIVE_ISSUES}}
|
|
53
|
+
- {{this.description}}
|
|
54
|
+
- 상태: {{this.status}}
|
|
55
|
+
{{/each}}
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## AI 호출 기록
|
|
60
|
+
| AI | 시간 | 프롬프트 파일 | 결과 파일 |
|
|
61
|
+
|----|------|--------------|----------|
|
|
62
|
+
{{#each AI_CALLS}}
|
|
63
|
+
| {{this.model}} | {{this.timestamp}} | {{this.prompt_file}} | {{this.output_file}} |
|
|
64
|
+
{{/each}}
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## 복구 지침
|
|
69
|
+
|
|
70
|
+
### 즉시 실행 (세션 복구 시)
|
|
71
|
+
1. 이 파일 읽기: `state/context/{{FILENAME}}`
|
|
72
|
+
2. 현재 HANDOFF 참조: `{{HANDOFF_FILE}}`
|
|
73
|
+
3. 다음 태스크부터 재개: **{{NEXT_TASK}}**
|
|
74
|
+
|
|
75
|
+
### 컨텍스트 복원 우선순위
|
|
76
|
+
1. 현재 스테이지 `CLAUDE.md` 로드
|
|
77
|
+
2. 이전 스테이지 `HANDOFF.md` 참조
|
|
78
|
+
3. 활성 태스크 상태 확인
|
|
79
|
+
4. 수정 중인 파일 열기
|
|
80
|
+
|
|
81
|
+
### 추가 참조 파일
|
|
82
|
+
{{#each REFERENCE_FILES}}
|
|
83
|
+
- `{{this}}`
|
|
84
|
+
{{/each}}
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## 메타데이터
|
|
89
|
+
```json
|
|
90
|
+
{
|
|
91
|
+
"created_at": "{{TIMESTAMP}}",
|
|
92
|
+
"stage_id": "{{STAGE_ID}}",
|
|
93
|
+
"remaining_context_percent": {{REMAINING_PERCENT}},
|
|
94
|
+
"trigger": "{{TRIGGER_REASON}}",
|
|
95
|
+
"recovery_priority": "{{RECOVERY_PRIORITY}}"
|
|
96
|
+
}
|
|
97
|
+
```
|