@girardmedia/bootspring 2.0.12 → 2.0.13
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.
|
@@ -25,38 +25,57 @@ function generate(config) {
|
|
|
25
25
|
sections.push('---');
|
|
26
26
|
sections.push('');
|
|
27
27
|
|
|
28
|
-
// CRITICAL:
|
|
29
|
-
sections.push('##
|
|
28
|
+
// CRITICAL: Planning is the single source of truth
|
|
29
|
+
sections.push('## IMPORTANT: Planning First');
|
|
30
30
|
sections.push('');
|
|
31
|
-
sections.push('**
|
|
31
|
+
sections.push('**The `/planning` folder is the SINGLE SOURCE OF TRUTH for all implementation.**');
|
|
32
32
|
sections.push('');
|
|
33
|
-
sections.push('###
|
|
34
|
-
sections.push('
|
|
35
|
-
sections.push('planning/CURRENT_TASK.md
|
|
36
|
-
sections.push('
|
|
33
|
+
sections.push('### Before Writing ANY Code');
|
|
34
|
+
sections.push('1. Read `planning/MASTER_PLAN.md` - Overall vision and phases');
|
|
35
|
+
sections.push('2. Read `planning/CURRENT_TASK.md` - Your specific task');
|
|
36
|
+
sections.push('3. Read `planning/CONTEXT.md` - Current build context');
|
|
37
|
+
sections.push('4. Understand the acceptance criteria before implementing');
|
|
37
38
|
sections.push('');
|
|
38
|
-
sections.push('###
|
|
39
|
-
sections.push('
|
|
40
|
-
sections.push('.bootspring
|
|
41
|
-
sections.push('.
|
|
42
|
-
sections.push('.bootspring/preseed/MARKET.md # Market analysis, TAM/SAM/SOM');
|
|
43
|
-
sections.push('.bootspring/preseed/COMPETITORS.md # Competitive landscape, differentiation');
|
|
44
|
-
sections.push('.bootspring/preseed/BUSINESS_MODEL.md # Revenue model, pricing, unit economics');
|
|
45
|
-
sections.push('```');
|
|
39
|
+
sections.push('### After Completing ANY Task');
|
|
40
|
+
sections.push('1. Update `planning/TODO.md` - Check off completed items');
|
|
41
|
+
sections.push('2. Run `bootspring build done` - Updates BUILD_STATE.json automatically');
|
|
42
|
+
sections.push('3. Document any architectural decisions or deviations');
|
|
46
43
|
sections.push('');
|
|
47
|
-
sections.push('
|
|
48
|
-
sections.push('```');
|
|
49
|
-
sections.push('.bootspring/preseed/PRD.md # Product requirements, features, user stories');
|
|
50
|
-
sections.push('.bootspring/preseed/TECHNICAL_SPEC.md # Architecture, stack, data model, APIs');
|
|
51
|
-
sections.push('.bootspring/preseed/ROADMAP.md # Implementation phases, milestones');
|
|
52
|
-
sections.push('```');
|
|
44
|
+
sections.push('**DO NOT skip reading planning docs. DO NOT skip updating them.**');
|
|
53
45
|
sections.push('');
|
|
54
|
-
sections.push('
|
|
55
|
-
sections.push('
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
sections.push('
|
|
59
|
-
sections.push('
|
|
46
|
+
sections.push('---');
|
|
47
|
+
sections.push('');
|
|
48
|
+
|
|
49
|
+
// Planning folder contents
|
|
50
|
+
sections.push('## Planning Folder (`/planning`)');
|
|
51
|
+
sections.push('');
|
|
52
|
+
sections.push('| File | Purpose | When to Read |');
|
|
53
|
+
sections.push('|------|---------|--------------|');
|
|
54
|
+
sections.push('| `MASTER_PLAN.md` | Overall vision, phases, success criteria | **Always read first** |');
|
|
55
|
+
sections.push('| `CURRENT_TASK.md` | Your immediate task with acceptance criteria | **Before each task** |');
|
|
56
|
+
sections.push('| `CONTEXT.md` | Current build context and decisions | Before each task |');
|
|
57
|
+
sections.push('| `IMPLEMENTATION_QUEUE.md` | Ordered list of all tasks | To understand scope |');
|
|
58
|
+
sections.push('| `TODO.md` | Checkbox task list | Update after completing |');
|
|
59
|
+
sections.push('| `BUILD_STATE.json` | Machine state (auto-managed) | Do not edit manually |');
|
|
60
|
+
sections.push('');
|
|
61
|
+
sections.push('---');
|
|
62
|
+
sections.push('');
|
|
63
|
+
|
|
64
|
+
// Preseed docs - the source material
|
|
65
|
+
sections.push('## Source Documents (`.bootspring/preseed/`)');
|
|
66
|
+
sections.push('');
|
|
67
|
+
sections.push('These are the original specifications the planning was derived from:');
|
|
68
|
+
sections.push('');
|
|
69
|
+
sections.push('| File | Contains |');
|
|
70
|
+
sections.push('|------|----------|');
|
|
71
|
+
sections.push('| `VISION.md` | Product vision, problem/solution, goals |');
|
|
72
|
+
sections.push('| `AUDIENCE.md` | Target users, personas, ICP |');
|
|
73
|
+
sections.push('| `MARKET.md` | Market analysis, TAM/SAM/SOM |');
|
|
74
|
+
sections.push('| `COMPETITORS.md` | Competitive landscape, differentiation |');
|
|
75
|
+
sections.push('| `BUSINESS_MODEL.md` | Revenue model, pricing, unit economics |');
|
|
76
|
+
sections.push('| `PRD.md` | Product requirements, features, user stories |');
|
|
77
|
+
sections.push('| `TECHNICAL_SPEC.md` | Architecture, stack, data model, APIs |');
|
|
78
|
+
sections.push('| `ROADMAP.md` | Implementation phases, milestones |');
|
|
60
79
|
sections.push('');
|
|
61
80
|
sections.push('---');
|
|
62
81
|
sections.push('');
|
|
@@ -196,46 +215,43 @@ function generate(config) {
|
|
|
196
215
|
}
|
|
197
216
|
|
|
198
217
|
// Autonomous Build System
|
|
199
|
-
sections.push('##
|
|
200
|
-
sections.push('');
|
|
201
|
-
sections.push('### When You Start');
|
|
202
|
-
sections.push('1. Check if `planning/CURRENT_TASK.md` exists');
|
|
203
|
-
sections.push('2. If yes → Read it and implement the task');
|
|
204
|
-
sections.push('3. If no → Run `bootspring build next` to get the next task');
|
|
218
|
+
sections.push('## Task Workflow');
|
|
205
219
|
sections.push('');
|
|
206
|
-
sections.push('
|
|
207
|
-
sections.push('
|
|
208
|
-
sections.push('
|
|
220
|
+
sections.push('```');
|
|
221
|
+
sections.push('┌─────────────────────────────────────────────────────────────┐');
|
|
222
|
+
sections.push('│ 1. READ planning/MASTER_PLAN.md (understand context) │');
|
|
223
|
+
sections.push('│ planning/CURRENT_TASK.md (your task) │');
|
|
224
|
+
sections.push('│ ↓ │');
|
|
225
|
+
sections.push('│ 2. IMPLEMENT Write code to meet acceptance criteria │');
|
|
226
|
+
sections.push('│ ↓ │');
|
|
227
|
+
sections.push('│ 3. UPDATE planning/TODO.md (check off items) │');
|
|
228
|
+
sections.push('│ Run: bootspring build done │');
|
|
229
|
+
sections.push('│ ↓ │');
|
|
230
|
+
sections.push('│ 4. REPEAT Next task auto-loaded to CURRENT_TASK.md │');
|
|
231
|
+
sections.push('└─────────────────────────────────────────────────────────────┘');
|
|
232
|
+
sections.push('```');
|
|
209
233
|
sections.push('');
|
|
210
234
|
sections.push('### Commands');
|
|
211
235
|
sections.push('');
|
|
212
236
|
sections.push('| Command | What it does |');
|
|
213
237
|
sections.push('|---------|--------------|');
|
|
214
238
|
sections.push('| `bootspring build` | Interactive menu |');
|
|
215
|
-
sections.push('| `bootspring build next` |
|
|
216
|
-
sections.push('| `bootspring build done` | Mark complete,
|
|
239
|
+
sections.push('| `bootspring build next` | Load next task → `planning/CURRENT_TASK.md` |');
|
|
240
|
+
sections.push('| `bootspring build done` | Mark complete, update state, load next |');
|
|
217
241
|
sections.push('| `bootspring build status` | View progress |');
|
|
218
242
|
sections.push('| `bootspring build skip` | Skip current task |');
|
|
219
243
|
sections.push('');
|
|
220
244
|
sections.push('---');
|
|
221
245
|
sections.push('');
|
|
222
246
|
|
|
223
|
-
//
|
|
224
|
-
sections.push('##
|
|
247
|
+
// Rules
|
|
248
|
+
sections.push('## Rules');
|
|
225
249
|
sections.push('');
|
|
226
|
-
sections.push('
|
|
227
|
-
sections.push('
|
|
228
|
-
sections.push('
|
|
229
|
-
sections.push('
|
|
230
|
-
sections.push('
|
|
231
|
-
sections.push('| `.bootspring/preseed/MARKET.md` | Market size, trends |');
|
|
232
|
-
sections.push('| `.bootspring/preseed/COMPETITORS.md` | Competition, differentiation |');
|
|
233
|
-
sections.push('| `.bootspring/preseed/BUSINESS_MODEL.md` | Revenue, pricing |');
|
|
234
|
-
sections.push('| `.bootspring/preseed/PRD.md` | Features, requirements |');
|
|
235
|
-
sections.push('| `.bootspring/preseed/TECHNICAL_SPEC.md` | Architecture, data model |');
|
|
236
|
-
sections.push('| `.bootspring/preseed/ROADMAP.md` | Phases, milestones |');
|
|
237
|
-
sections.push('| `planning/BUILD_STATE.json` | Progress tracking (auto-managed) |');
|
|
238
|
-
sections.push('| `SEED.md` | Config summary |');
|
|
250
|
+
sections.push('1. **Always read before coding** - No implementation without reading MASTER_PLAN.md and CURRENT_TASK.md');
|
|
251
|
+
sections.push('2. **Follow acceptance criteria exactly** - The task is not done until all criteria are met');
|
|
252
|
+
sections.push('3. **Update planning docs** - Check off TODO.md items, run `bootspring build done`');
|
|
253
|
+
sections.push('4. **One task at a time** - Complete current task before starting next');
|
|
254
|
+
sections.push('5. **Document decisions** - If you deviate from the plan, document why');
|
|
239
255
|
sections.push('');
|
|
240
256
|
sections.push('---');
|
|
241
257
|
sections.push('');
|
package/package.json
CHANGED