@guanlin4924/devflow-pi 0.1.20 → 0.1.22

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 (37) hide show
  1. package/README.md +7 -4
  2. package/package.json +1 -2
  3. package/plugins/devflow-core/extensions/devflow-core.ts +11 -4
  4. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/init_workflow.rb +1 -1
  5. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/validate_state.rb +9 -10
  6. package/plugins/devflow-core/skills/workflow-orchestrator/templates/acceptance-remediation.yaml +87 -0
  7. package/plugins/devflow-core/skills/workflow-orchestrator/templates/feature-development.yaml +29 -98
  8. package/plugins/devflow-core/skills/workflow-pipeline/SKILL.md +1 -1
  9. package/plugins/devflow-core/skills/workflow-pipeline/references/pipeline-flow.md +9 -22
  10. package/plugins/devflow-core/skills/workflow-pipeline/references/slice-safety-guide.md +1 -1
  11. package/plugins/devflow-core/skills/workflow-project-context/SKILL.md +17 -0
  12. package/plugins/devflow-implementation/skills/workflow-change-plan/references/output-template.md +2 -2
  13. package/plugins/devflow-implementation/skills/workflow-execute-phase/references/execute-phase.md +52 -1221
  14. package/plugins/devflow-intel/skills/workflow-context-sync/SKILL.md +1 -1
  15. package/plugins/devflow-intel/skills/workflow-update-navigation/SKILL.md +1 -1
  16. package/plugins/devflow-quality/agents/verification-runner.md +1 -1
  17. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/SKILL.md +1 -1
  18. package/plugins/devflow-quality/skills/workflow-release-closeout/SKILL.md +48 -0
  19. package/plugins/devflow-quality/skills/workflow-run-acceptance-tests/SKILL.md +2 -2
  20. package/src/constants.ts +1 -1
  21. package/src/doctor.ts +6 -2
  22. package/src/project-context.ts +11 -1
  23. package/src/runtime.ts +7 -0
  24. package/src/usage-stats.ts +3 -3
  25. package/templates/commands/start.md +2 -2
  26. package/templates/omp/config.yml +1 -3
  27. package/docs/OMP-NATIVE-ARCHITECTURE.md +0 -104
  28. package/plugins/devflow-core/skills/workflow-orchestrator/templates/uat-remediation.yaml +0 -176
  29. package/plugins/devflow-quality/skills/workflow-audit-milestone/SKILL.md +0 -31
  30. package/plugins/devflow-quality/skills/workflow-audit-milestone/references/audit-milestone.md +0 -328
  31. package/plugins/devflow-quality/skills/workflow-complete-milestone/SKILL.md +0 -132
  32. package/plugins/devflow-quality/skills/workflow-complete-milestone/assets/milestone-archive.md +0 -123
  33. package/plugins/devflow-quality/skills/workflow-complete-milestone/references/complete-milestone.md +0 -775
  34. package/plugins/devflow-quality/skills/workflow-complete-milestone/references/milestone-archive.md +0 -123
  35. package/plugins/devflow-quality/skills/workflow-verify-work/SKILL.md +0 -112
  36. package/plugins/devflow-quality/skills/workflow-verify-work/assets/UAT.md +0 -265
  37. package/plugins/devflow-quality/skills/workflow-verify-work/references/verify-work.md +0 -759
@@ -1,328 +0,0 @@
1
- <purpose>
2
- Verify milestone achieved its definition of done by aggregating phase verifications, checking cross-phase integration, and assessing requirements coverage. Reads existing VERIFICATION.md files (phases already verified during execute-phase), aggregates tech debt and deferred gaps, then spawns integration checker for cross-phase wiring.
3
- </purpose>
4
-
5
- <code_index_policy>
6
- When `.planning/code-index/` exists, use it as the first machine fact source for cross-phase entrypoints, routes, calls, imports, data/resource reads and writes, and tested_by relationships. Integration findings that depend on source behavior must read `evidence_path:evidence_line` before being reported. If code-index is missing, stale, or incomplete, record the fallback to phase summaries, verification reports, navigation, and targeted source reads.
7
- </code_index_policy>
8
-
9
- <required_reading>
10
- Read all files referenced by the invoking prompt's execution_context before starting.
11
- </required_reading>
12
-
13
- <process>
14
-
15
- ## 0. Initialize Milestone Context
16
-
17
- ```bash
18
- MILESTONE_VERSION="${1:-v1.0}"
19
- MILESTONE_NAME=$(head -5 .planning/ROADMAP.md 2>/dev/null | grep "v[0-9]" | head -1 | sed 's/^.*v[0-9.]* //')
20
- PHASE_COUNT=$(ls -d .planning/phases/*/ 2>/dev/null | wc -l | tr -d ' ')
21
- COMPLETED_PHASES=$(ls .planning/phases/*/*-VERIFICATION.md 2>/dev/null | wc -l | tr -d ' ')
22
- COMMIT_DOCS=$(python3 -c "import json; d=json.load(open('.planning/config.json')); print(str(d.get('commit_docs','true')).lower())" 2>/dev/null || echo "true")
23
- INTEGRATION_CHECKER_MODEL=$(python3 -c "import json; d=json.load(open('.planning/config.json')); print(d.get('models',{}).get('integration_checker',''))" 2>/dev/null || echo "")
24
- ```
25
-
26
- Key values: `milestone_version`, `milestone_name`, `phase_count`, `completed_phases`, `commit_docs`, `integration_checker_model`.
27
-
28
- ## 1. Determine Milestone Scope
29
-
30
- ```bash
31
- ls -d .planning/phases/*/ | sed 's|\.planning/phases/||;s|/$||'
32
- ```
33
-
34
- - Parse version from arguments or detect current from ROADMAP.md
35
- - Identify all phase directories in scope
36
- - Extract milestone definition of done from ROADMAP.md
37
- - Extract requirements mapped to this milestone from REQUIREMENTS.md
38
-
39
- ## 2. Read All Phase Verifications
40
-
41
- For each phase directory, read the VERIFICATION.md:
42
-
43
- ```bash
44
- # For each phase, resolve directory directly
45
- PHASE_DIR=$(ls -d .planning/phases/01-*/ 2>/dev/null | head -1)
46
- # Read VERIFICATION.md from that directory
47
- # Repeat for each phase number from ROADMAP.md
48
- ```
49
-
50
- From each VERIFICATION.md, extract:
51
- - **Status:** passed | gaps_found
52
- - **Critical gaps:** (if any — these are blockers)
53
- - **Non-critical gaps:** tech debt, deferred items, warnings
54
- - **Anti-patterns found:** TODOs, stubs, placeholders
55
- - **Requirements coverage:** which requirements satisfied/blocked
56
-
57
- If a phase is missing VERIFICATION.md, flag it as "unverified phase" — this is a blocker.
58
-
59
- ## 3. Spawn Integration Checker
60
-
61
- With phase context collected:
62
-
63
- Extract `MILESTONE_REQ_IDS` from REQUIREMENTS.md traceability table — all REQ-IDs assigned to phases in this milestone.
64
-
65
- ```
66
- Task(
67
- prompt="Check cross-phase integration and E2E flows.
68
-
69
- Phases: {phase_dirs}
70
- Phase exports: {from SUMMARYs}
71
- API routes: {routes created}
72
- Code index: use .planning/code-index/ symbols/relations when present; read evidence_path:evidence_line before making source-level wiring claims.
73
-
74
- Milestone Requirements:
75
- {MILESTONE_REQ_IDS — list each REQ-ID with description and assigned phase}
76
-
77
- MUST map each integration finding to affected requirement IDs where applicable.
78
-
79
- Verify cross-phase wiring and E2E user flows.
80
- ",
81
- model="{integration_checker_model}"
82
- )
83
- ```
84
-
85
- ## 4. Collect Results
86
-
87
- Combine:
88
- - Phase-level gaps and tech debt (from step 2)
89
- - Integration checker's report (wiring gaps, broken flows)
90
-
91
- ## 5. Check Requirements Coverage (3-Source Cross-Reference)
92
-
93
- MUST cross-reference three independent sources for each requirement:
94
-
95
- ### 5a. Parse REQUIREMENTS.md Traceability Table
96
-
97
- Extract all REQ-IDs mapped to milestone phases from the traceability table:
98
- - Requirement ID, description, assigned phase, current status, checked-off state (`[x]` vs `[ ]`)
99
-
100
- ### 5b. Parse Phase VERIFICATION.md Requirements Tables
101
-
102
- For each phase's VERIFICATION.md, extract the expanded requirements table:
103
- - Requirement | Source Plan | Description | Status | Evidence
104
- - Map each entry back to its REQ-ID
105
-
106
- ### 5c. Extract SUMMARY.md Frontmatter Cross-Check
107
-
108
- For each phase's SUMMARY.md, extract `requirements-completed` from YAML frontmatter:
109
- ```bash
110
- for summary in .planning/phases/*-*/*-SUMMARY.md; do
111
- [ -e "$summary" ] || continue
112
- sed -n '/^---$/,/^---$/p' "$summary" | grep "requirements-completed:" | cut -d: -f2- | sed 's/^ *//'
113
- done
114
- ```
115
-
116
- ### 5d. Status Determination Matrix
117
-
118
- For each REQ-ID, determine status using all three sources:
119
-
120
- | VERIFICATION.md Status | SUMMARY Frontmatter | REQUIREMENTS.md | → Final Status |
121
- |------------------------|---------------------|-----------------|----------------|
122
- | passed | listed | `[x]` | **satisfied** |
123
- | passed | listed | `[ ]` | **satisfied** (update checkbox) |
124
- | passed | missing | any | **partial** (verify manually) |
125
- | gaps_found | any | any | **unsatisfied** |
126
- | missing | listed | any | **partial** (verification gap) |
127
- | missing | missing | any | **unsatisfied** |
128
-
129
- ### 5e. FAIL Gate and Orphan Detection
130
-
131
- **REQUIRED:** Any `unsatisfied` requirement MUST force `gaps_found` status on the milestone audit.
132
-
133
- **Orphan detection:** Requirements present in REQUIREMENTS.md traceability table but absent from ALL phase VERIFICATION.md files MUST be flagged as orphaned. Orphaned requirements are treated as `unsatisfied` — they were assigned but never verified by any phase.
134
-
135
- ## 5.5. Nyquist Compliance Discovery
136
-
137
- Skip if `workflow.nyquist_validation` is explicitly `false` (absent = enabled).
138
-
139
- ```bash
140
- NYQUIST_CONFIG=$(python3 -c "import json; d=json.load(open('.planning/config.json')); print(str(d.get('workflow',{}).get('nyquist_validation','true')).lower())" 2>/dev/null || echo "true")
141
- ```
142
-
143
- If `false`: skip entirely.
144
-
145
- For each phase directory, check `*-VALIDATION.md`. If exists, parse frontmatter (`nyquist_compliant`, `wave_0_complete`).
146
-
147
- Classify per phase:
148
-
149
- | Status | Condition |
150
- |--------|-----------|
151
- | COMPLIANT | `nyquist_compliant: true` and all tasks green |
152
- | PARTIAL | VALIDATION.md exists, `nyquist_compliant: false` or red/pending |
153
- | MISSING | No VALIDATION.md |
154
-
155
- Add to audit YAML: `nyquist: { compliant_phases, partial_phases, missing_phases, overall }`
156
-
157
- Discovery only — never auto-calls Nyquist validation.
158
-
159
- ## 6. Aggregate into v{version}-MILESTONE-AUDIT.md
160
-
161
- Create `.planning/v{version}-v{version}-MILESTONE-AUDIT.md` with:
162
-
163
- ```yaml
164
- ---
165
- milestone: {version}
166
- audited: {timestamp}
167
- status: passed | gaps_found | tech_debt
168
- scores:
169
- requirements: N/M
170
- phases: N/M
171
- integration: N/M
172
- flows: N/M
173
- gaps: # Critical blockers
174
- requirements:
175
- - id: "{REQ-ID}"
176
- status: "unsatisfied | partial | orphaned"
177
- phase: "{assigned phase}"
178
- claimed_by_plans: ["{plan files that reference this requirement}"]
179
- completed_by_plans: ["{plan files whose SUMMARY marks it complete}"]
180
- verification_status: "passed | gaps_found | missing | orphaned"
181
- evidence: "{specific evidence or lack thereof}"
182
- integration: [...]
183
- flows: [...]
184
- tech_debt: # Non-critical, deferred
185
- - phase: 01-auth
186
- items:
187
- - "TODO: add rate limiting"
188
- - "Warning: no password strength validation"
189
- - phase: 03-dashboard
190
- items:
191
- - "Deferred: mobile responsive layout"
192
- ---
193
- ```
194
-
195
- Plus full markdown report with tables for requirements, phases, integration, tech debt.
196
-
197
- **Status values:**
198
- - `passed` — all requirements met, no critical gaps, minimal tech debt
199
- - `gaps_found` — critical blockers exist
200
- - `tech_debt` — no blockers but accumulated deferred items need review
201
-
202
- ## 7. Present Results
203
-
204
- Route by status (see `<offer_next>`).
205
-
206
- </process>
207
-
208
- <offer_next>
209
- Output this markdown directly (not as a code block). Route based on status:
210
-
211
- ---
212
-
213
- **If passed:**
214
-
215
- ## ✓ Milestone {version} — Audit Passed
216
-
217
- **Score:** {N}/{M} requirements satisfied
218
- **Report:** .planning/v{version}-MILESTONE-AUDIT.md
219
-
220
- All requirements covered. Cross-phase integration verified. E2E flows complete.
221
-
222
- ───────────────────────────────────────────────────────────────
223
-
224
- ## ▶ Next Up
225
-
226
- **Complete milestone** — archive and tag
227
-
228
- /clear then:
229
-
230
- /workflow-complete-milestone {version}
231
-
232
- ───────────────────────────────────────────────────────────────
233
-
234
- ---
235
-
236
- **If gaps_found:**
237
-
238
- ## ⚠ Milestone {version} — Gaps Found
239
-
240
- **Score:** {N}/{M} requirements satisfied
241
- **Report:** .planning/v{version}-MILESTONE-AUDIT.md
242
-
243
- ### Unsatisfied Requirements
244
-
245
- {For each unsatisfied requirement:}
246
- - **{REQ-ID}: {description}** (Phase {X})
247
- - {reason}
248
-
249
- ### Cross-Phase Issues
250
-
251
- {For each integration gap:}
252
- - **{from} → {to}:** {issue}
253
-
254
- ### Broken Flows
255
-
256
- {For each flow gap:}
257
- - **{flow name}:** breaks at {step}
258
-
259
- ### Nyquist Coverage
260
-
261
- | Phase | VALIDATION.md | Compliant | Action |
262
- |-------|---------------|-----------|--------|
263
- | {phase} | exists/missing | true/false/partial | `(run Nyquist validation if available) {N}` (run validation separately) |
264
-
265
- Phases needing validation: run `(run Nyquist validation if available) {N}` (run validation separately) for each flagged phase.
266
-
267
- ───────────────────────────────────────────────────────────────
268
-
269
- ## ▶ Next Up
270
-
271
- **Remediate gaps** — use `workflow-bug-fix` for actionable defects, or record an explicitly approved tech-debt decision before archive
272
-
273
- ───────────────────────────────────────────────────────────────
274
-
275
- **Also available:**
276
- - cat .planning/v{version}-MILESTONE-AUDIT.md — see full report
277
- - /workflow-complete-milestone {version} — proceed anyway (accept tech debt)
278
-
279
- ───────────────────────────────────────────────────────────────
280
-
281
- ---
282
-
283
- **If tech_debt (no blockers but accumulated debt):**
284
-
285
- ## ⚡ Milestone {version} — Tech Debt Review
286
-
287
- **Score:** {N}/{M} requirements satisfied
288
- **Report:** .planning/v{version}-MILESTONE-AUDIT.md
289
-
290
- All requirements met. No critical blockers. Accumulated tech debt needs review.
291
-
292
- ### Tech Debt by Phase
293
-
294
- {For each phase with debt:}
295
- **Phase {X}: {name}**
296
- - {item 1}
297
- - {item 2}
298
-
299
- ### Total: {N} items across {M} phases
300
-
301
- ───────────────────────────────────────────────────────────────
302
-
303
- ## ▶ Options
304
-
305
- **A. Complete milestone** — accept debt, track in backlog
306
-
307
- /workflow-complete-milestone {version}
308
-
309
- **B. Address gaps before completing** — run `workflow-bug-fix` for actionable defects, then rerun the milestone audit
310
-
311
- ───────────────────────────────────────────────────────────────
312
- </offer_next>
313
-
314
- <success_criteria>
315
- - [ ] Milestone scope identified
316
- - [ ] All phase VERIFICATION.md files read
317
- - [ ] SUMMARY.md `requirements-completed` frontmatter extracted for each phase
318
- - [ ] REQUIREMENTS.md traceability table parsed for all milestone REQ-IDs
319
- - [ ] 3-source cross-reference completed (VERIFICATION + SUMMARY + traceability)
320
- - [ ] Orphaned requirements detected (in traceability but absent from all VERIFICATIONs)
321
- - [ ] Tech debt and deferred gaps aggregated
322
- - [ ] Integration checker spawned with milestone requirement IDs
323
- - [ ] v{version}-MILESTONE-AUDIT.md created with structured requirement gap objects
324
- - [ ] FAIL gate enforced — any unsatisfied requirement forces gaps_found status
325
- - [ ] Nyquist compliance scanned for all milestone phases (if enabled)
326
- - [ ] Missing VALIDATION.md phases flagged with validate-phase suggestion
327
- - [ ] Results presented with actionable next steps
328
- </success_criteria>
@@ -1,132 +0,0 @@
1
- ---
2
- name: workflow-complete-milestone
3
- description: "Use when a .planning milestone is ready to be archived, release-tagged, and prepared for the next version."
4
- ---
5
-
6
-
7
- <objective>
8
- Mark milestone {{version}} complete, archive to milestones/, and update ROADMAP.md and REQUIREMENTS.md.
9
-
10
- Purpose: Create historical record of shipped version, archive milestone artifacts (roadmap + requirements), and prepare for next milestone.
11
- Output: Milestone archived (roadmap + requirements), PROJECT.md evolved, git tagged.
12
- </objective>
13
-
14
- <execution_context>
15
- **Load these files NOW (before proceeding):**
16
-
17
- - references/complete-milestone.md (main workflow)
18
- - references/milestone-archive.md (archive template)
19
- </execution_context>
20
-
21
- <context>
22
- **Project files:**
23
- - `.planning/ROADMAP.md`
24
- - `.planning/REQUIREMENTS.md`
25
- - `.planning/STATE.md`
26
- - `.planning/PROJECT.md`
27
-
28
- **User input:**
29
-
30
- - Version: {{version}} (e.g., "1.0", "1.1", "2.0")
31
- </context>
32
-
33
- <process>
34
-
35
- **Follow complete-milestone.md workflow:**
36
-
37
- 0. **Check for audit:**
38
-
39
- - Look for `.planning/v{{version}}-MILESTONE-AUDIT.md`
40
- - If missing or stale: recommend `/workflow-audit-milestone` first
41
- - If audit status is `gaps_found`: require remediation through `workflow-bug-fix` or an explicit tech-debt acceptance decision
42
- - If audit status is `passed`: proceed to step 1
43
-
44
- ```markdown
45
- ## Pre-flight Check
46
-
47
- {If no v{{version}}-MILESTONE-AUDIT.md:}
48
- ⚠ No milestone audit found. Run `/workflow-audit-milestone` first to verify
49
- requirements coverage, cross-phase integration, and E2E flows.
50
-
51
- {If audit has gaps:}
52
- ⚠ Milestone audit found gaps. Remediate actionable defects with
53
- `workflow-bug-fix`, then rerun the audit; otherwise explicitly accept the
54
- remaining items as tech debt before proceeding.
55
-
56
- {If audit passed:}
57
- ✓ Milestone audit passed. Proceeding with completion.
58
- ```
59
-
60
- 1. **Verify readiness:**
61
-
62
- - Check all phases in milestone have completed plans (SUMMARY.md exists)
63
- - Present milestone scope and stats
64
- - Wait for confirmation
65
-
66
- 2. **Gather stats:**
67
-
68
- - Count phases, plans, tasks
69
- - Calculate git range, file changes, LOC
70
- - Extract timeline from git log
71
- - Present summary, confirm
72
-
73
- 3. **Extract accomplishments:**
74
-
75
- - Read all phase SUMMARY.md files in milestone range
76
- - Extract 4-6 key accomplishments
77
- - Present for approval
78
-
79
- 4. **Archive milestone:**
80
-
81
- - Create `.planning/milestones/v{{version}}-ROADMAP.md`
82
- - Extract full phase details from ROADMAP.md
83
- - Fill milestone-archive.md template
84
- - Update ROADMAP.md to one-line summary with link
85
-
86
- 5. **Archive requirements:**
87
-
88
- - Create `.planning/milestones/v{{version}}-REQUIREMENTS.md`
89
- - Mark all v1 requirements as complete (checkboxes checked)
90
- - Note requirement outcomes (validated, adjusted, dropped)
91
- - Delete `.planning/REQUIREMENTS.md` (fresh one created for next milestone)
92
-
93
- 6. **Update PROJECT.md:**
94
-
95
- - Add "Current State" section with shipped version
96
- - Add "Next Milestone Goals" section
97
- - Archive previous content in `<details>` (if v1.1+)
98
-
99
- 7. **Commit and tag:**
100
-
101
- - Stage: MILESTONES.md, PROJECT.md, ROADMAP.md, STATE.md, archive files
102
- - Commit: `chore: archive v{{version}} milestone`
103
- - Tag: `git tag -a v{{version}} -m "[milestone summary]"`
104
- - Ask about pushing tag
105
-
106
- 8. **Offer next steps:**
107
- - `/workflow-new-milestone` — start next milestone (questioning → research → requirements → roadmap)
108
-
109
- </process>
110
-
111
- <success_criteria>
112
-
113
- - Milestone archived to `.planning/milestones/v{{version}}-ROADMAP.md`
114
- - Requirements archived to `.planning/milestones/v{{version}}-REQUIREMENTS.md`
115
- - `.planning/REQUIREMENTS.md` deleted (fresh for next milestone)
116
- - ROADMAP.md collapsed to one-line entry
117
- - PROJECT.md updated with current state
118
- - Git tag v{{version}} created
119
- - Commit successful
120
- - User knows next steps (including need for fresh requirements)
121
- </success_criteria>
122
-
123
- <critical_rules>
124
-
125
- - **Load workflow first:** Read complete-milestone.md before executing
126
- - **Verify completion:** All phases must have SUMMARY.md files
127
- - **User confirmation:** Wait for approval at verification gates
128
- - **Archive before deleting:** Always create archive files before updating/deleting originals
129
- - **One-line summary:** Collapsed milestone in ROADMAP.md should be single line with link
130
- - **Context efficiency:** Archive keeps ROADMAP.md and REQUIREMENTS.md constant size per milestone
131
- - **Fresh requirements:** Next milestone starts with `/workflow-new-milestone` which includes requirements definition
132
- </critical_rules>
@@ -1,123 +0,0 @@
1
- # Milestone Archive Template
2
-
3
- This template is used by the complete-milestone workflow to create archive files in `.planning/milestones/`.
4
-
5
- ---
6
-
7
- ## File Template
8
-
9
- # Milestone v{{VERSION}}: {{MILESTONE_NAME}}
10
-
11
- **Status:** ✅ SHIPPED {{DATE}}
12
- **Phases:** {{PHASE_START}}-{{PHASE_END}}
13
- **Total Plans:** {{TOTAL_PLANS}}
14
-
15
- ## Overview
16
-
17
- {{MILESTONE_DESCRIPTION}}
18
-
19
- ## Phases
20
-
21
- {{PHASES_SECTION}}
22
-
23
- [For each phase in this milestone, include:]
24
-
25
- ### Phase {{PHASE_NUM}}: {{PHASE_NAME}}
26
-
27
- **Goal**: {{PHASE_GOAL}}
28
- **Depends on**: {{DEPENDS_ON}}
29
- **Plans**: {{PLAN_COUNT}} plans
30
-
31
- Plans:
32
-
33
- - [x] {{PHASE}}-01: {{PLAN_DESCRIPTION}}
34
- - [x] {{PHASE}}-02: {{PLAN_DESCRIPTION}}
35
- [... all plans ...]
36
-
37
- **Details:**
38
- {{PHASE_DETAILS_FROM_ROADMAP}}
39
-
40
- **For decimal phases, include (INSERTED) marker:**
41
-
42
- ### Phase 2.1: Critical Security Patch (INSERTED)
43
-
44
- **Goal**: Fix authentication bypass vulnerability
45
- **Depends on**: Phase 2
46
- **Plans**: 1 plan
47
-
48
- Plans:
49
-
50
- - [x] 02.1-01: Patch auth vulnerability
51
-
52
- **Details:**
53
- {{PHASE_DETAILS_FROM_ROADMAP}}
54
-
55
- ---
56
-
57
- ## Milestone Summary
58
-
59
- **Decimal Phases:**
60
-
61
- - Phase 2.1: Critical Security Patch (inserted after Phase 2 for urgent fix)
62
- - Phase 5.1: Performance Hotfix (inserted after Phase 5 for production issue)
63
-
64
- **Key Decisions:**
65
- {{DECISIONS_FROM_PROJECT_STATE}}
66
- [Example:]
67
-
68
- - Decision: Use ROADMAP.md split (Rationale: Constant context cost)
69
- - Decision: Decimal phase numbering (Rationale: Clear insertion semantics)
70
-
71
- **Issues Resolved:**
72
- {{ISSUES_RESOLVED_DURING_MILESTONE}}
73
- [Example:]
74
-
75
- - Fixed context overflow at 100+ phases
76
- - Resolved phase insertion confusion
77
-
78
- **Issues Deferred:**
79
- {{ISSUES_DEFERRED_TO_LATER}}
80
- [Example:]
81
-
82
- - PROJECT-STATE.md tiering (deferred until decisions > 300)
83
-
84
- **Technical Debt Incurred:**
85
- {{SHORTCUTS_NEEDING_FUTURE_WORK}}
86
- [Example:]
87
-
88
- - Some workflows still have hardcoded paths (fix in Phase 5)
89
-
90
- ---
91
-
92
- _For current project status, see .planning/ROADMAP.md_
93
-
94
- ---
95
-
96
- ## Usage Guidelines
97
-
98
- <guidelines>
99
- **When to create milestone archives:**
100
- - After completing all phases in a milestone (v1.0, v1.1, v2.0, etc.)
101
- - Triggered by complete-milestone workflow
102
- - Before planning next milestone work
103
-
104
- **How to fill template:**
105
-
106
- - Replace {{PLACEHOLDERS}} with actual values
107
- - Extract phase details from ROADMAP.md
108
- - Document decimal phases with (INSERTED) marker
109
- - Include key decisions from PROJECT-STATE.md or SUMMARY files
110
- - List issues resolved vs deferred
111
- - Capture technical debt for future reference
112
-
113
- **Archive location:**
114
-
115
- - Save to `.planning/milestones/v{VERSION}-{NAME}.md`
116
- - Example: `.planning/milestones/v1.0-mvp.md`
117
-
118
- **After archiving:**
119
-
120
- - Update ROADMAP.md to collapse completed milestone in `<details>` tag
121
- - Update PROJECT.md to brownfield format with Current State section
122
- - Continue phase numbering in next milestone (never restart at 01)
123
- </guidelines>