viepilot 2.12.0 → 2.22.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +203 -0
  2. package/README.md +11 -9
  3. package/docs/dev/agents.md +131 -0
  4. package/docs/skills-reference.md +12 -0
  5. package/docs/user/features/adapters.md +51 -0
  6. package/docs/user/features/interactive-prompts.md +83 -0
  7. package/lib/adapters/antigravity.cjs +2 -1
  8. package/lib/adapters/claude-code.cjs +2 -1
  9. package/lib/adapters/codex.cjs +2 -1
  10. package/lib/adapters/copilot.cjs +44 -0
  11. package/lib/adapters/cursor.cjs +2 -1
  12. package/lib/adapters/index.cjs +1 -0
  13. package/lib/viepilot-install.cjs +9 -0
  14. package/package.json +1 -1
  15. package/skills/vp-audit/SKILL.md +15 -0
  16. package/skills/vp-auto/SKILL.md +12 -0
  17. package/skills/vp-brainstorm/SKILL.md +34 -0
  18. package/skills/vp-crystallize/SKILL.md +51 -1
  19. package/skills/vp-debug/SKILL.md +12 -0
  20. package/skills/vp-docs/SKILL.md +28 -6
  21. package/skills/vp-evolve/SKILL.md +32 -0
  22. package/skills/vp-info/SKILL.md +12 -0
  23. package/skills/vp-pause/SKILL.md +12 -0
  24. package/skills/vp-proposal/SKILL.md +12 -0
  25. package/skills/vp-request/SKILL.md +36 -0
  26. package/skills/vp-resume/SKILL.md +12 -0
  27. package/skills/vp-rollback/SKILL.md +12 -0
  28. package/skills/vp-status/SKILL.md +12 -0
  29. package/skills/vp-task/SKILL.md +12 -0
  30. package/skills/vp-ui-components/SKILL.md +12 -0
  31. package/skills/vp-update/SKILL.md +12 -0
  32. package/templates/proposal/docx/project-detail.docx +0 -0
  33. package/templates/proposal/pptx/general.pptx +0 -0
  34. package/templates/proposal/pptx/product-pitch.pptx +0 -0
  35. package/templates/proposal/pptx/tech-architecture.pptx +0 -0
  36. package/workflows/audit.md +72 -37
  37. package/workflows/autonomous.md +138 -9
  38. package/workflows/brainstorm.md +61 -0
  39. package/workflows/crystallize.md +219 -8
  40. package/workflows/documentation.md +26 -11
  41. package/workflows/evolve.md +76 -7
  42. package/workflows/request.md +99 -7
  43. package/workflows/rollback.md +39 -7
@@ -8,7 +8,8 @@ Safe rollback to any ViePilot checkpoint with backup and state preservation.
8
8
  ## 1. List Available Checkpoints
9
9
 
10
10
  ```bash
11
- git tag --sort=-creatordate | rg "(^vp-p|^-*vp-backup|^[a-z0-9-]+-vp-p|^[a-z0-9-]+-vp-backup)" | head -20
11
+ git tag --sort=-creatordate | rg "(^vp-p|^-*vp-backup|^[a-z0-9._-]+-vp-p|^[a-z0-9._-]+-vp-backup)" | head -20
12
+ # [a-z0-9._-]+ matches both legacy and enriched (prefix-branch-version-vp-p*) formats (ENH-050)
12
13
  ```
13
14
 
14
15
  For each tag, get info:
@@ -127,13 +128,44 @@ git log -1 --oneline
127
128
  <step name="update_state">
128
129
  ## 7. Update State Files
129
130
 
130
- Parse tag to determine phase/task (support both legacy and project-scoped):
131
- - `vp-p{N}-t{M}` or `{project}-vp-p{N}-t{M}` → Phase N, Task M, status: in_progress
132
- - `vp-p{N}-t{M}-done` or `{project}-vp-p{N}-t{M}-done` → Phase N, Task M+1, status: not_started
133
- - `vp-p{N}-complete` or `{project}-vp-p{N}-complete` → Phase N+1, Task 1, status: not_started
131
+ Parse tag to determine phase/task 3 supported formats (ENH-050):
134
132
 
135
- Update HANDOFF.json accordingly.
136
- Update TRACKER.md progress.
133
+ - **Format A** (legacy): `vp-p{N}-t{M}[-done]` or `vp-p{N}-complete`
134
+ - **Format B** (project-scoped): `{project}-vp-p{N}-t{M}[-done]` or `{project}-vp-p{N}-complete`
135
+ - **Format C** (enriched): `{project}-{branch}-{version}-vp-p{N}-t{M}[-done|-complete]`
136
+
137
+ For all formats, extract N and M by matching the terminal segments:
138
+
139
+ ```bash
140
+ TAG="{selected_tag}"
141
+
142
+ # Extract phase number — works for all 3 formats
143
+ PHASE_NUM=$(echo "$TAG" | grep -oE 'vp-p[0-9]+' | grep -oE '[0-9]+$')
144
+
145
+ # Extract task number if present
146
+ TASK_NUM=$(echo "$TAG" | grep -oE '\-t[0-9]+' | tail -1 | grep -oE '[0-9]+$')
147
+
148
+ # Determine restore intent
149
+ if echo "$TAG" | grep -q '\-complete$'; then
150
+ # Phase complete tag → restore to start of next phase
151
+ RESTORE_PHASE=$((PHASE_NUM + 1))
152
+ RESTORE_TASK=1
153
+ RESTORE_STATUS="not_started"
154
+ elif echo "$TAG" | grep -q '\-done$'; then
155
+ # Task done tag → restore to start of next task
156
+ RESTORE_PHASE=$PHASE_NUM
157
+ RESTORE_TASK=$((TASK_NUM + 1))
158
+ RESTORE_STATUS="not_started"
159
+ else
160
+ # Task start tag → restore to in-progress state
161
+ RESTORE_PHASE=$PHASE_NUM
162
+ RESTORE_TASK=${TASK_NUM:-1}
163
+ RESTORE_STATUS="in_progress"
164
+ fi
165
+ ```
166
+
167
+ Update HANDOFF.json with `RESTORE_PHASE`, `RESTORE_TASK`, `RESTORE_STATUS`.
168
+ Update TRACKER.md progress accordingly.
137
169
  </step>
138
170
 
139
171
  <step name="confirm_success">