viepilot 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/CHANGELOG.md +230 -0
- package/LICENSE +23 -0
- package/README.md +550 -0
- package/bin/viepilot.cjs +222 -0
- package/bin/vp-tools.cjs +912 -0
- package/dev-install.sh +109 -0
- package/docs/README.md +125 -0
- package/docs/advanced-usage.md +366 -0
- package/docs/api/README.md +12 -0
- package/docs/api/graphql-schema.md +5 -0
- package/docs/api/kafka-events.md +5 -0
- package/docs/api/rest-api.md +19 -0
- package/docs/api/websocket-api.md +5 -0
- package/docs/dev/architecture.md +226 -0
- package/docs/dev/cli-reference.md +324 -0
- package/docs/dev/contributing.md +195 -0
- package/docs/dev/deployment.md +204 -0
- package/docs/dev/getting-started.md +16 -0
- package/docs/dev/testing.md +171 -0
- package/docs/dev/ui-components-library.md +36 -0
- package/docs/getting-started.md +163 -0
- package/docs/skills-reference.md +399 -0
- package/docs/troubleshooting.md +297 -0
- package/docs/user/faq.md +117 -0
- package/docs/user/features/autonomous-mode.md +111 -0
- package/docs/user/features/checkpoint-recovery.md +76 -0
- package/docs/user/features/debug-mode.md +77 -0
- package/docs/user/features/ui-direction.md +29 -0
- package/docs/user/quick-start.md +157 -0
- package/docs/videos/01-installation.md +113 -0
- package/docs/videos/02-first-project.md +132 -0
- package/docs/videos/03-autonomous-mode.md +147 -0
- package/install.sh +144 -0
- package/lib/cli-shared.cjs +108 -0
- package/package.json +78 -0
- package/skills/vp-audit/SKILL.md +140 -0
- package/skills/vp-auto/SKILL.md +204 -0
- package/skills/vp-brainstorm/SKILL.md +75 -0
- package/skills/vp-crystallize/SKILL.md +175 -0
- package/skills/vp-debug/SKILL.md +96 -0
- package/skills/vp-docs/SKILL.md +258 -0
- package/skills/vp-evolve/SKILL.md +165 -0
- package/skills/vp-pause/SKILL.md +150 -0
- package/skills/vp-request/SKILL.md +250 -0
- package/skills/vp-resume/SKILL.md +141 -0
- package/skills/vp-rollback/SKILL.md +116 -0
- package/skills/vp-status/SKILL.md +137 -0
- package/skills/vp-task/SKILL.md +139 -0
- package/skills/vp-ui-components/SKILL.md +64 -0
- package/templates/phase/PHASE-STATE.md +35 -0
- package/templates/phase/SPEC.md +40 -0
- package/templates/phase/SUMMARY.md +67 -0
- package/templates/phase/TASK.md +101 -0
- package/templates/phase/VERIFICATION.md +49 -0
- package/templates/project/AI-GUIDE.md +114 -0
- package/templates/project/ARCHITECTURE.md +70 -0
- package/templates/project/CHANGELOG.md +36 -0
- package/templates/project/CONTRIBUTING.md +154 -0
- package/templates/project/CONTRIBUTORS.md +41 -0
- package/templates/project/PROJECT-CONTEXT.md +74 -0
- package/templates/project/PROJECT-META.md +133 -0
- package/templates/project/README.md +197 -0
- package/templates/project/ROADMAP.md +56 -0
- package/templates/project/SYSTEM-RULES.md +368 -0
- package/templates/project/TRACKER.md +50 -0
- package/ui-components/INDEX.md +9 -0
- package/ui-components/base/button/README.md +8 -0
- package/ui-components/base/button/metadata.json +8 -0
- package/ui-components/base/card/README.md +8 -0
- package/ui-components/base/card/metadata.json +8 -0
- package/ui-components/base/input/README.md +8 -0
- package/ui-components/base/input/metadata.json +8 -0
- package/workflows/audit.md +549 -0
- package/workflows/autonomous.md +425 -0
- package/workflows/brainstorm.md +257 -0
- package/workflows/crystallize.md +418 -0
- package/workflows/debug.md +241 -0
- package/workflows/documentation.md +587 -0
- package/workflows/evolve.md +258 -0
- package/workflows/pause-work.md +255 -0
- package/workflows/request.md +534 -0
- package/workflows/resume-work.md +226 -0
- package/workflows/rollback.md +202 -0
- package/workflows/ui-components.md +109 -0
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Nâng cấp hoặc mở rộng dự án: thêm features, bắt đầu milestone mới, hoặc refactor.
|
|
3
|
+
</purpose>
|
|
4
|
+
|
|
5
|
+
<process>
|
|
6
|
+
|
|
7
|
+
<step name="detect_state">
|
|
8
|
+
## 1. Detect Current State
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
cat .viepilot/TRACKER.md
|
|
12
|
+
cat .viepilot/ROADMAP.md
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Determine:
|
|
16
|
+
- Current milestone progress
|
|
17
|
+
- Is milestone complete?
|
|
18
|
+
- Current version
|
|
19
|
+
</step>
|
|
20
|
+
|
|
21
|
+
<step name="ask_intent">
|
|
22
|
+
## 2. Ask User Intent
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
26
|
+
VIEPILOT ► EVOLVE
|
|
27
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
28
|
+
|
|
29
|
+
Current: {milestone_name}
|
|
30
|
+
Progress: {percent}%
|
|
31
|
+
Version: {version}
|
|
32
|
+
|
|
33
|
+
How would you like to evolve the project?
|
|
34
|
+
|
|
35
|
+
1. Add Feature - Add new feature to current milestone
|
|
36
|
+
2. New Milestone - Start a new milestone (archive current)
|
|
37
|
+
3. Refactor - Improve existing code without new features
|
|
38
|
+
```
|
|
39
|
+
</step>
|
|
40
|
+
|
|
41
|
+
<step name="add_feature">
|
|
42
|
+
## 3A. Add Feature Mode
|
|
43
|
+
|
|
44
|
+
### Gather Feature Info
|
|
45
|
+
```
|
|
46
|
+
Describe the new feature:
|
|
47
|
+
|
|
48
|
+
1. Feature name?
|
|
49
|
+
2. What does it do? (1-2 sentences)
|
|
50
|
+
3. Which services/modules affected?
|
|
51
|
+
4. Dependencies on existing code?
|
|
52
|
+
5. Estimated complexity? (S/M/L/XL)
|
|
53
|
+
6. Có cần brainstorm chuyên sâu không? (landing page / UX / growth ideas / research-heavy)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Check Architecture Compatibility
|
|
57
|
+
```bash
|
|
58
|
+
cat .viepilot/ARCHITECTURE.md
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Questions:
|
|
62
|
+
- Does it fit existing architecture?
|
|
63
|
+
- Need new services?
|
|
64
|
+
- Database changes needed?
|
|
65
|
+
- Breaking changes?
|
|
66
|
+
|
|
67
|
+
If incompatible → suggest refactor first or discuss alternative.
|
|
68
|
+
|
|
69
|
+
### Smart Route to Brainstorm (khi phù hợp)
|
|
70
|
+
Nếu feature có nội dung thiên về product discovery, UX, hoặc landing page:
|
|
71
|
+
- Route qua brainstorm nâng cao thay vì chốt phase ngay:
|
|
72
|
+
- `/vp-brainstorm --new --landing --research` (nếu có landing page)
|
|
73
|
+
- `/vp-brainstorm --new --research` (nếu cần research decision)
|
|
74
|
+
- Sau khi brainstorm xong, quay lại `/vp-evolve` để crystallize phase/tasks.
|
|
75
|
+
|
|
76
|
+
### Generate Phase
|
|
77
|
+
Create new phase in ROADMAP.md:
|
|
78
|
+
```markdown
|
|
79
|
+
### Phase {N+1}: {Feature Name}
|
|
80
|
+
**Goal**: {description}
|
|
81
|
+
**Estimated Tasks**: {count}
|
|
82
|
+
**Dependencies**: Phase {N}
|
|
83
|
+
|
|
84
|
+
| Task | Description | Acceptance Criteria |
|
|
85
|
+
|------|-------------|---------------------|
|
|
86
|
+
| {N+1}.1 | ... | ... |
|
|
87
|
+
| {N+1}.2 | ... | ... |
|
|
88
|
+
|
|
89
|
+
**Verification**:
|
|
90
|
+
- [ ] {criteria}
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Create Phase Directory
|
|
94
|
+
```bash
|
|
95
|
+
mkdir -p .viepilot/phases/{NN}-{feature-slug}/tasks/
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Create:
|
|
99
|
+
- SPEC.md
|
|
100
|
+
- PHASE-STATE.md
|
|
101
|
+
- Task files
|
|
102
|
+
|
|
103
|
+
### Update State
|
|
104
|
+
- Update ROADMAP.md
|
|
105
|
+
- Update TRACKER.md
|
|
106
|
+
- Suggest version bump (MINOR)
|
|
107
|
+
</step>
|
|
108
|
+
|
|
109
|
+
<step name="new_milestone">
|
|
110
|
+
## 3B. New Milestone Mode
|
|
111
|
+
|
|
112
|
+
### Archive Current Milestone
|
|
113
|
+
```bash
|
|
114
|
+
mkdir -p .viepilot/milestones/v{current}/
|
|
115
|
+
mv .viepilot/ROADMAP.md .viepilot/milestones/v{current}/
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
Create MILESTONE-SUMMARY.md:
|
|
119
|
+
```markdown
|
|
120
|
+
# Milestone {version} - {name} Summary
|
|
121
|
+
|
|
122
|
+
## Completed: {date}
|
|
123
|
+
|
|
124
|
+
## Phases
|
|
125
|
+
{list phases with status}
|
|
126
|
+
|
|
127
|
+
## Key Achievements
|
|
128
|
+
- {achievement}
|
|
129
|
+
|
|
130
|
+
## Decisions Made
|
|
131
|
+
{from TRACKER.md}
|
|
132
|
+
|
|
133
|
+
## Metrics
|
|
134
|
+
- Total tasks: {count}
|
|
135
|
+
- Completed: {count}
|
|
136
|
+
- Skipped: {count}
|
|
137
|
+
|
|
138
|
+
## Lessons Learned
|
|
139
|
+
- {lesson}
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Create git tag:
|
|
143
|
+
```bash
|
|
144
|
+
git tag -a v{version} -m "Release v{version} - {milestone_name}"
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### Start New Milestone
|
|
148
|
+
```
|
|
149
|
+
New milestone details:
|
|
150
|
+
|
|
151
|
+
1. Milestone name?
|
|
152
|
+
2. Milestone goal? (1-2 sentences)
|
|
153
|
+
3. Target features?
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
Options:
|
|
157
|
+
- Route to `/vp-brainstorm --new` for full brainstorm
|
|
158
|
+
- Nếu milestone có landing page focus: `/vp-brainstorm --new --landing --research`
|
|
159
|
+
- Quick setup with minimal questions
|
|
160
|
+
|
|
161
|
+
### Generate New ROADMAP.md
|
|
162
|
+
Either from brainstorm or quick setup.
|
|
163
|
+
|
|
164
|
+
### Update Version
|
|
165
|
+
- Bump MAJOR (breaking) or MINOR (features)
|
|
166
|
+
- Update all version references
|
|
167
|
+
</step>
|
|
168
|
+
|
|
169
|
+
<step name="refactor">
|
|
170
|
+
## 3C. Refactor Mode
|
|
171
|
+
|
|
172
|
+
### Analyze Code
|
|
173
|
+
```
|
|
174
|
+
What would you like to refactor?
|
|
175
|
+
|
|
176
|
+
1. Auto-detect - Analyze code for improvement areas
|
|
177
|
+
2. Specific area - Tell me what to refactor
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
**Auto-detect checks:**
|
|
181
|
+
- Code duplication
|
|
182
|
+
- Long methods/classes
|
|
183
|
+
- Architecture violations
|
|
184
|
+
- Performance issues
|
|
185
|
+
- Technical debt markers (TODO, FIXME, HACK)
|
|
186
|
+
|
|
187
|
+
### Create Refactor Tasks
|
|
188
|
+
For each improvement:
|
|
189
|
+
```markdown
|
|
190
|
+
| Task | Description | Impact |
|
|
191
|
+
|------|-------------|--------|
|
|
192
|
+
| R.1 | Extract {X} to separate class | Maintainability |
|
|
193
|
+
| R.2 | Optimize {Y} query | Performance |
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### Ensure Backward Compatibility
|
|
197
|
+
- List any breaking changes
|
|
198
|
+
- Document migration steps if needed
|
|
199
|
+
- Update ARCHITECTURE.md if structure changes
|
|
200
|
+
|
|
201
|
+
### Generate Refactor Phase
|
|
202
|
+
Add to ROADMAP.md as phase {N+0.5} or insert between phases.
|
|
203
|
+
</step>
|
|
204
|
+
|
|
205
|
+
<step name="update_version">
|
|
206
|
+
## 4. Update Version
|
|
207
|
+
|
|
208
|
+
Based on changes:
|
|
209
|
+
|
|
210
|
+
| Mode | Version Bump |
|
|
211
|
+
|------|--------------|
|
|
212
|
+
| Add Feature | MINOR (x.Y.z) |
|
|
213
|
+
| New Milestone | MAJOR or MINOR |
|
|
214
|
+
| Refactor | PATCH (x.y.Z) |
|
|
215
|
+
|
|
216
|
+
Update in:
|
|
217
|
+
- TRACKER.md
|
|
218
|
+
- pom.xml / package.json / version file
|
|
219
|
+
- CHANGELOG.md [Unreleased] section
|
|
220
|
+
</step>
|
|
221
|
+
|
|
222
|
+
<step name="confirm">
|
|
223
|
+
## 5. Confirm & Suggest Next
|
|
224
|
+
|
|
225
|
+
```
|
|
226
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
227
|
+
VIEPILOT ► EVOLVE COMPLETE ✓
|
|
228
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
229
|
+
|
|
230
|
+
Mode: {Add Feature | New Milestone | Refactor}
|
|
231
|
+
|
|
232
|
+
Changes:
|
|
233
|
+
- {change 1}
|
|
234
|
+
- {change 2}
|
|
235
|
+
|
|
236
|
+
Version: {old} → {new}
|
|
237
|
+
|
|
238
|
+
New Phases:
|
|
239
|
+
- Phase {N}: {name}
|
|
240
|
+
|
|
241
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
242
|
+
Next: /vp-auto --from {new_phase}
|
|
243
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
244
|
+
```
|
|
245
|
+
</step>
|
|
246
|
+
|
|
247
|
+
</process>
|
|
248
|
+
|
|
249
|
+
<success_criteria>
|
|
250
|
+
- [ ] User intent identified
|
|
251
|
+
- [ ] Architecture compatibility checked
|
|
252
|
+
- [ ] New phases added to ROADMAP.md
|
|
253
|
+
- [ ] Phase directories created
|
|
254
|
+
- [ ] TRACKER.md updated
|
|
255
|
+
- [ ] Version bumped appropriately
|
|
256
|
+
- [ ] CHANGELOG.md updated
|
|
257
|
+
- [ ] Ready for execution
|
|
258
|
+
</success_criteria>
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Save complete work state để có thể resume từ bất kỳ context nào.
|
|
3
|
+
Creates HANDOFF.json và .continue-here.md cho recovery.
|
|
4
|
+
</purpose>
|
|
5
|
+
|
|
6
|
+
<process>
|
|
7
|
+
|
|
8
|
+
<step name="detect">
|
|
9
|
+
## 1. Detect Current Position
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
# Read current state
|
|
13
|
+
cat .viepilot/TRACKER.md
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Extract: current_phase, current_task
|
|
17
|
+
|
|
18
|
+
If unclear, find from recent files:
|
|
19
|
+
```bash
|
|
20
|
+
ls -lt .viepilot/phases/*/PHASE-STATE.md | head -1
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
If still unclear, ask user which phase/task they're on.
|
|
24
|
+
</step>
|
|
25
|
+
|
|
26
|
+
<step name="gather">
|
|
27
|
+
## 2. Gather State
|
|
28
|
+
|
|
29
|
+
Collect complete state:
|
|
30
|
+
|
|
31
|
+
### 1. Current Position
|
|
32
|
+
- Phase number and name
|
|
33
|
+
- Task number and name
|
|
34
|
+
- Line/function if applicable
|
|
35
|
+
|
|
36
|
+
### 2. Work Completed (this session)
|
|
37
|
+
```bash
|
|
38
|
+
git log --oneline --since="8 hours ago"
|
|
39
|
+
```
|
|
40
|
+
- List commits made
|
|
41
|
+
- Summarize changes
|
|
42
|
+
|
|
43
|
+
### 3. Work Remaining
|
|
44
|
+
- Read PHASE-STATE.md
|
|
45
|
+
- List incomplete tasks
|
|
46
|
+
- Estimate remaining effort
|
|
47
|
+
|
|
48
|
+
### 4. Decisions Made
|
|
49
|
+
- Check git commits for decisions
|
|
50
|
+
- Ask user for any unlisted decisions
|
|
51
|
+
|
|
52
|
+
### 5. Blockers/Issues
|
|
53
|
+
- Any errors encountered?
|
|
54
|
+
- Anything stuck?
|
|
55
|
+
|
|
56
|
+
### 6. Human Actions Pending
|
|
57
|
+
- Manual setup needed?
|
|
58
|
+
- API keys/credentials?
|
|
59
|
+
- External approvals?
|
|
60
|
+
|
|
61
|
+
### 7. Background Processes
|
|
62
|
+
- Dev servers running?
|
|
63
|
+
- Watchers active?
|
|
64
|
+
|
|
65
|
+
### 8. Uncommitted Files
|
|
66
|
+
```bash
|
|
67
|
+
git status --porcelain
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Ask user for clarifications if needed.
|
|
71
|
+
</step>
|
|
72
|
+
|
|
73
|
+
<step name="write_handoff_json">
|
|
74
|
+
## 3. Write HANDOFF.json
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
timestamp=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Create `.viepilot/HANDOFF.json`:
|
|
81
|
+
```json
|
|
82
|
+
{
|
|
83
|
+
"version": "1.0",
|
|
84
|
+
"timestamp": "{timestamp}",
|
|
85
|
+
"phase": "{phase_number}",
|
|
86
|
+
"phase_name": "{phase_name}",
|
|
87
|
+
"phase_dir": ".viepilot/phases/{phase_slug}",
|
|
88
|
+
"task": {task_number},
|
|
89
|
+
"task_name": "{task_name}",
|
|
90
|
+
"total_tasks": {total},
|
|
91
|
+
"status": "paused",
|
|
92
|
+
"completed_tasks": [
|
|
93
|
+
{
|
|
94
|
+
"id": 1,
|
|
95
|
+
"name": "{name}",
|
|
96
|
+
"status": "done",
|
|
97
|
+
"commit": "{short_hash}"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"remaining_tasks": [
|
|
101
|
+
{
|
|
102
|
+
"id": 3,
|
|
103
|
+
"name": "{name}",
|
|
104
|
+
"status": "not_started"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"blockers": [
|
|
108
|
+
{
|
|
109
|
+
"description": "{description}",
|
|
110
|
+
"type": "technical|human_action|external",
|
|
111
|
+
"workaround": "{if any}"
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"human_actions_pending": [
|
|
115
|
+
{
|
|
116
|
+
"action": "{what}",
|
|
117
|
+
"context": "{why}",
|
|
118
|
+
"blocking": true
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"decisions": [
|
|
122
|
+
{
|
|
123
|
+
"decision": "{what}",
|
|
124
|
+
"rationale": "{why}",
|
|
125
|
+
"phase": "{phase}"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"uncommitted_files": ["{file1}", "{file2}"],
|
|
129
|
+
"next_action": "{specific first action when resuming}",
|
|
130
|
+
"context_notes": "{mental state, approach, what you were thinking}"
|
|
131
|
+
}
|
|
132
|
+
```
|
|
133
|
+
</step>
|
|
134
|
+
|
|
135
|
+
<step name="write_continue_here">
|
|
136
|
+
## 4. Write .continue-here.md
|
|
137
|
+
|
|
138
|
+
Create `.viepilot/phases/{phase}/.continue-here.md`:
|
|
139
|
+
|
|
140
|
+
```markdown
|
|
141
|
+
---
|
|
142
|
+
phase: {phase_slug}
|
|
143
|
+
task: {task_number}
|
|
144
|
+
total_tasks: {total}
|
|
145
|
+
status: in_progress
|
|
146
|
+
last_updated: {timestamp}
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
<current_state>
|
|
150
|
+
Phase {N}: {Phase Name}
|
|
151
|
+
Task {T}: {Task Name}
|
|
152
|
+
|
|
153
|
+
Currently working on: {specific detail}
|
|
154
|
+
</current_state>
|
|
155
|
+
|
|
156
|
+
<completed_work>
|
|
157
|
+
- Task 1: {name} - Done ✅
|
|
158
|
+
- Task 2: {name} - Done ✅
|
|
159
|
+
- Task 3: {name} - In progress (60%)
|
|
160
|
+
- Completed: {what's done}
|
|
161
|
+
- Remaining: {what's left}
|
|
162
|
+
</completed_work>
|
|
163
|
+
|
|
164
|
+
<remaining_work>
|
|
165
|
+
- Task 3: {what's left to do}
|
|
166
|
+
- Task 4: {name} - Not started
|
|
167
|
+
- Task 5: {name} - Not started
|
|
168
|
+
</remaining_work>
|
|
169
|
+
|
|
170
|
+
<decisions_made>
|
|
171
|
+
- Decided to use {X} because {reason}
|
|
172
|
+
- Chose {approach} over {alternative} because {reason}
|
|
173
|
+
</decisions_made>
|
|
174
|
+
|
|
175
|
+
<blockers>
|
|
176
|
+
- {Blocker 1}: {status/workaround}
|
|
177
|
+
- None currently
|
|
178
|
+
</blockers>
|
|
179
|
+
|
|
180
|
+
<human_actions>
|
|
181
|
+
- {Action needed}: {context}
|
|
182
|
+
- None pending
|
|
183
|
+
</human_actions>
|
|
184
|
+
|
|
185
|
+
<context>
|
|
186
|
+
Mental state: {what you were thinking}
|
|
187
|
+
Approach: {the plan you were following}
|
|
188
|
+
Notes: {any important notes}
|
|
189
|
+
</context>
|
|
190
|
+
|
|
191
|
+
<next_action>
|
|
192
|
+
Start with: {specific first action when resuming}
|
|
193
|
+
|
|
194
|
+
Commands to run:
|
|
195
|
+
1. {command}
|
|
196
|
+
2. {command}
|
|
197
|
+
</next_action>
|
|
198
|
+
```
|
|
199
|
+
</step>
|
|
200
|
+
|
|
201
|
+
<step name="commit">
|
|
202
|
+
## 5. Git Commit
|
|
203
|
+
|
|
204
|
+
```bash
|
|
205
|
+
git add -A
|
|
206
|
+
git commit -m "wip({phase}): paused at task {task}/{total}
|
|
207
|
+
|
|
208
|
+
State saved for resume:
|
|
209
|
+
- Phase: {phase_name}
|
|
210
|
+
- Task: {task_name}
|
|
211
|
+
- Status: {status}
|
|
212
|
+
|
|
213
|
+
Resume with: /vp-resume"
|
|
214
|
+
git push
|
|
215
|
+
```
|
|
216
|
+
</step>
|
|
217
|
+
|
|
218
|
+
<step name="confirm">
|
|
219
|
+
## 6. Confirm
|
|
220
|
+
|
|
221
|
+
```
|
|
222
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
223
|
+
VIEPILOT ► PAUSED ✓
|
|
224
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
225
|
+
|
|
226
|
+
Work paused successfully.
|
|
227
|
+
|
|
228
|
+
Current State:
|
|
229
|
+
├── Phase: {phase_name}
|
|
230
|
+
├── Task: {task} of {total}
|
|
231
|
+
├── Status: {status}
|
|
232
|
+
└── Blockers: {count}
|
|
233
|
+
|
|
234
|
+
Files Saved:
|
|
235
|
+
├── .viepilot/HANDOFF.json
|
|
236
|
+
└── .viepilot/phases/{phase}/.continue-here.md
|
|
237
|
+
|
|
238
|
+
Committed as WIP.
|
|
239
|
+
|
|
240
|
+
─────────────────────────────────────────────────
|
|
241
|
+
To resume: /vp-resume
|
|
242
|
+
─────────────────────────────────────────────────
|
|
243
|
+
```
|
|
244
|
+
</step>
|
|
245
|
+
|
|
246
|
+
</process>
|
|
247
|
+
|
|
248
|
+
<success_criteria>
|
|
249
|
+
- [ ] HANDOFF.json created with complete state
|
|
250
|
+
- [ ] .continue-here.md created with human-readable context
|
|
251
|
+
- [ ] All sections filled with specific content
|
|
252
|
+
- [ ] Uncommitted changes identified
|
|
253
|
+
- [ ] Git WIP commit created
|
|
254
|
+
- [ ] User knows how to resume
|
|
255
|
+
</success_criteria>
|