gsd-vscode-copilot 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/LICENSE +21 -0
- package/README.md +93 -0
- package/bin/init.js +184 -0
- package/package.json +32 -0
- package/templates/gsd-workflow.instructions.md +75 -0
- package/templates/planning-stubs/PROJECT.md +31 -0
- package/templates/planning-stubs/README.md +28 -0
- package/templates/planning-stubs/REQUIREMENTS.md +21 -0
- package/templates/planning-stubs/ROADMAP.md +43 -0
- package/templates/planning-stubs/STATE.md +33 -0
- package/templates/prompts/gsd-bootstrap-planning.prompt.md +52 -0
- package/templates/prompts/gsd-execute-plan.prompt.md +96 -0
- package/templates/prompts/gsd-plan-slice.prompt.md +105 -0
- package/templates/prompts/gsd-progress.prompt.md +50 -0
- package/templates/prompts/gsd-verify-work.prompt.md +60 -0
- package/templates/vendor/references/checkpoints.md +123 -0
- package/templates/vendor/templates/phase-prompt.md +242 -0
- package/templates/vendor/templates/summary.md +155 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# Summary Template
|
|
2
|
+
|
|
3
|
+
Template for `.planning/phases/XX-name/{phase}-{plan}-SUMMARY.md` — plan completion documentation.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## File Template
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
---
|
|
11
|
+
phase: XX-name
|
|
12
|
+
plan: YY
|
|
13
|
+
subsystem: [primary category: auth, api, ui, database, infra, testing, etc.]
|
|
14
|
+
tags: [searchable tech keywords]
|
|
15
|
+
duration: Xmin
|
|
16
|
+
completed: YYYY-MM-DD
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Phase [X] Plan [Y]: [Name] Summary
|
|
20
|
+
|
|
21
|
+
**[Substantive one-liner describing outcome — NOT "plan complete"]**
|
|
22
|
+
|
|
23
|
+
## Performance
|
|
24
|
+
|
|
25
|
+
- **Duration:** [time] (e.g., 23 min, 1h 15m)
|
|
26
|
+
- **Started:** [timestamp]
|
|
27
|
+
- **Completed:** [timestamp]
|
|
28
|
+
- **Tasks:** [count completed]
|
|
29
|
+
- **Files modified:** [count]
|
|
30
|
+
|
|
31
|
+
## Accomplishments
|
|
32
|
+
|
|
33
|
+
- [Most important outcome]
|
|
34
|
+
- [Second key accomplishment]
|
|
35
|
+
- [Third if applicable]
|
|
36
|
+
|
|
37
|
+
## Files Created/Modified
|
|
38
|
+
|
|
39
|
+
- `path/to/file.ts` — What it does
|
|
40
|
+
- `path/to/another.ts` — What it does
|
|
41
|
+
|
|
42
|
+
## Decisions Made
|
|
43
|
+
|
|
44
|
+
[Key decisions with brief rationale, or "None — followed plan as specified"]
|
|
45
|
+
|
|
46
|
+
## Deviations from Plan
|
|
47
|
+
|
|
48
|
+
[If no deviations: "None — plan executed exactly as written"]
|
|
49
|
+
|
|
50
|
+
[If deviations occurred:]
|
|
51
|
+
- **[Category]** Brief description
|
|
52
|
+
- Found during: Task [N]
|
|
53
|
+
- Issue: What was wrong
|
|
54
|
+
- Fix: What was done
|
|
55
|
+
|
|
56
|
+
## Issues Encountered
|
|
57
|
+
|
|
58
|
+
[Problems and how they were resolved, or "None"]
|
|
59
|
+
|
|
60
|
+
## Next Phase Readiness
|
|
61
|
+
|
|
62
|
+
[What's ready for next phase]
|
|
63
|
+
[Any blockers or concerns carried forward]
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
*Phase: XX-name*
|
|
67
|
+
*Completed: [date]*
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## One-Liner Rules
|
|
73
|
+
|
|
74
|
+
The one-liner MUST be substantive:
|
|
75
|
+
|
|
76
|
+
**Good:**
|
|
77
|
+
- "JWT auth with refresh rotation using jose library"
|
|
78
|
+
- "Prisma schema with User, Session, and Product models"
|
|
79
|
+
- "Dashboard with real-time metrics via Server-Sent Events"
|
|
80
|
+
|
|
81
|
+
**Bad:**
|
|
82
|
+
- "Plan complete"
|
|
83
|
+
- "Authentication implemented"
|
|
84
|
+
- "Foundation finished"
|
|
85
|
+
- "All tasks done"
|
|
86
|
+
|
|
87
|
+
The one-liner should tell someone **what actually shipped**.
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## When to Create
|
|
92
|
+
|
|
93
|
+
- After completing each plan via `gsd-execute-plan`
|
|
94
|
+
- Documents what actually happened vs what was planned
|
|
95
|
+
- Becomes historical record for future context
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Example Summary
|
|
100
|
+
|
|
101
|
+
```markdown
|
|
102
|
+
---
|
|
103
|
+
phase: 02-auth
|
|
104
|
+
plan: 01
|
|
105
|
+
subsystem: auth
|
|
106
|
+
tags: [jwt, login, jose]
|
|
107
|
+
duration: 28min
|
|
108
|
+
completed: 2025-01-26
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
# Phase 2 Plan 1: Login Endpoint Summary
|
|
112
|
+
|
|
113
|
+
**JWT login endpoint with password validation and comprehensive test coverage**
|
|
114
|
+
|
|
115
|
+
## Performance
|
|
116
|
+
|
|
117
|
+
- **Duration:** 28 min
|
|
118
|
+
- **Started:** 2025-01-26T14:22:10Z
|
|
119
|
+
- **Completed:** 2025-01-26T14:50:33Z
|
|
120
|
+
- **Tasks:** 2
|
|
121
|
+
- **Files modified:** 2
|
|
122
|
+
|
|
123
|
+
## Accomplishments
|
|
124
|
+
|
|
125
|
+
- Login endpoint validates credentials against database
|
|
126
|
+
- Returns signed JWT token on success
|
|
127
|
+
- Comprehensive test coverage for all scenarios
|
|
128
|
+
|
|
129
|
+
## Files Created/Modified
|
|
130
|
+
|
|
131
|
+
- `src/auth/login.ts` — POST /auth/login endpoint
|
|
132
|
+
- `src/auth/login.test.ts` — Login endpoint tests
|
|
133
|
+
|
|
134
|
+
## Decisions Made
|
|
135
|
+
|
|
136
|
+
- Used jose instead of jsonwebtoken (ESM-native, Edge-compatible)
|
|
137
|
+
- Token expiry set to 1 hour (will add refresh tokens in Phase 2 Plan 2)
|
|
138
|
+
|
|
139
|
+
## Deviations from Plan
|
|
140
|
+
|
|
141
|
+
None — plan executed exactly as written
|
|
142
|
+
|
|
143
|
+
## Issues Encountered
|
|
144
|
+
|
|
145
|
+
None
|
|
146
|
+
|
|
147
|
+
## Next Phase Readiness
|
|
148
|
+
|
|
149
|
+
- Login endpoint complete, ready for protected route middleware
|
|
150
|
+
- Refresh token flow planned for 02-02
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
*Phase: 02-auth*
|
|
154
|
+
*Completed: 2025-01-26*
|
|
155
|
+
```
|